frank@stube:/srv/vdr/video/@Die_Macht_der_Emotionen_Manipulation/2022-06-01.17.08.3-0.rec$ vt -o mp4 --trace /usr/local/bin/vt: Zeile 848: trace.log: Keine Berechtigung + '[' - == - -a - '!=' - ']' + parameter_log=' -o mp4\n --trace\n' + parameter_auto=' -o mp4| --trace|' + shift + '[' '' ']' + '[' -e vt.conf ']' + IFS=, + del= + unset IFS + case "$INPUT" in + input_vdr + '[' '!' -e 00001.ts ']' + ls_iso +++ which ls ++ readlink /usr/bin/ls + e= + '[' '' == '' ']' + '[' '' '!=' '' ']' + ls -lL --time-style long-iso ++ du -L + s='308944 .' ++ echo 308944 . ++ cut -d ' ' -f 1 + oldsize=308944 + echo oldsize=308944 + input=00001.ts + w='0*.ts' ++ echo 00001.ts ++ wc -w + nw=1 + '[' 1 -eq 1 ']' ++ echo 00001.ts + w=00001.ts + ffmpeg_i='-i 00001.ts' ++ basename /srv/vdr/video/@Die_Macht_der_Emotionen_Manipulation/2022-06-01.17.08.3-0.rec + d1=2022-06-01.17.08.3-0.rec ++ dirname /srv/vdr/video/@Die_Macht_der_Emotionen_Manipulation/2022-06-01.17.08.3-0.rec + d2=/srv/vdr/video/@Die_Macht_der_Emotionen_Manipulation ++ basename /srv/vdr/video/@Die_Macht_der_Emotionen_Manipulation + name=@Die_Macht_der_Emotionen_Manipulation + dd1=2022-06-01 + dd=2022-06-01.17.08 + dh=17 + dm=08 ++ date +%s -u -d '2022-06-01 17:08' + rec_time=1654103280 + '[' '' '!=' '' ']' ++ echo 2022-06-01.17.08.3-0.rec ++ cut -d . -f 4- + d3=3-0.rec + dp=.. + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' ++ echo 3-0.rec ++ cut -d . -f 1 + d30=3-0 + IFS=- + read d31 d32 ++ ffprobe -i 00001.ts ++ grep service_name ++ cut -d : -f 2 + s= ++ echo + service_name= + d32=1 + dest=../2022-06-01.17.08.3-1.rec + '[' -e ../2022-06-01.17.08.3-1.rec ']' + '[' @ == % ']' + '[' @Die_Macht_der_Emotionen_Manipulation == _ ']' + '[' '' '!=' '' ']' + name=../@Die_Macht_der_Emotionen_Manipulation + ifmt=vdr + set_hwacc + case "$hwaccel" in + '[' '' '!=' '' ']' ++ date +%s + start=1654101469 + case $TODO in + copy + '[' -e /home/frank/vdr-transcode/vt.pid ']' + echo 30186 + rm -f /tmp/vt + case $OUTPUT in + copy_file mp4 + fmt=mp4 + out=../@Die_Macht_der_Emotionen_Manipulation.mp4 + '[' '' '!=' '' ']' + i=1 + '[' -e ../@Die_Macht_der_Emotionen_Manipulation.mp4 ']' + log_c=../@Die_Macht_der_Emotionen_Manipulation.mp4.log + echo /srv/vdr/video/@Die_Macht_der_Emotionen_Manipulation/2022-06-01.17.08.3-0.rec/../@Die_Macht_der_Emotionen_Manipulation.mp4.log /usr/local/bin/vt: Zeile 3420: /tmp/vt-log: Keine Berechtigung + header + read _ _ fuser _ ++ ls -l /tmp/vt-log + '[' vdr == frank ']' ++ date '+%F %T' + d='2022-06-01 18:37:49' ++ ffmpeg -version + v='ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100' ++ cut -d ' ' -f 3 ++ echo ffmpeg version 4.2.4-1ubuntu0.1 Copyright '(c)' 2000-2020 the FFmpeg developers built with gcc 9 '(Ubuntu' '9.3.0-10ubuntu2)' configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 + v=4.2.4-1ubuntu0.1 + echo 'Start 2022-06-01 18:37:49 vdr-transcode ffmpeg Version 4.2.4-1ubuntu0.1' /usr/local/bin/vt: Zeile 3163: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung ++ date '+%F %T' -r /usr/local/bin/vt + sd='2022-05-30 20:09:40' + echo 'script date' 2022-05-30 20:09:40 /usr/local/bin/vt: Zeile 3165: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung ++ uname -n + echo stube frank /usr/local/bin/vt: Zeile 3168: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung ++ uname -p + proc=x86_64 + '[' x86_64 == unknown ']' + echo x86_64 /usr/local/bin/vt: Zeile 3171: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + which lspci /usr/bin/lspci + '[' 0 -eq 0 ']' + lspci + grep VGA /usr/local/bin/vt: Zeile 3173: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + '[' -e /proc/asound/NVidia ']' + xlog=/var/log/Xorg.0.log + '[' -e /var/log/Xorg.0.log ']' + grep 'NVIDIA GPU ' /var/log/Xorg.0.log /usr/local/bin/vt: Zeile 3177: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + wsln=/usr/lib/wsl/lib/nvidia-smi + '[' -e /usr/lib/wsl/lib/nvidia-smi ']' + log_conf /etc/vdr-transcode.conf + '[' -e /etc/vdr-transcode.conf ']' + echo ==================================== /usr/local/bin/vt: Zeile 3146: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + echo /etc/vdr-transcode.conf /usr/local/bin/vt: Zeile 3147: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' '#' '!=' '#' ']' + read line + '[' - '!=' '#' ']' + echo -o mp4 /usr/local/bin/vt: Zeile 3151: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + read line + echo ==================================== /usr/local/bin/vt: Zeile 3153: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + log_conf /usr/local/bin/vdr-transcode.conf + '[' -e /usr/local/bin/vdr-transcode.conf ']' + echo -e -n 'Parameter:\n' -o 'mp4\n' '--trace\n' /usr/local/bin/vt: Zeile 3186: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + log_conf vt.conf + '[' -e vt.conf ']' + echo PWD: /srv/vdr/video/@Die_Macht_der_Emotionen_Manipulation/2022-06-01.17.08.3-0.rec /usr/local/bin/vt: Zeile 3188: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + cat /tmp/vt-old /usr/local/bin/vt: Zeile 3189: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + analyze -i 00001.ts + '[' s == '"' ']' + '[' '' '!=' '' ']' + '[' vdr == vdr -a 10 -gt 0 ']' + set_pid ++ ffprobe -hide_banner -i 00001.ts ++ grep Video: + v=' Stream #0:0[0x1a36]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc' + IFS='[]' + read pre pidx post + PID=6710 + pids='-mpegts_start_pid 6710' + ffmpeg -hide_banner -ss 10 -i 00001.ts -c copy -map 0 -mpegts_start_pid 6710 -f mpegts - + ffprobe -hide_banner -i - + grep Stream + '[' '' '!=' '' ']' + echo Analyze: /usr/local/bin/vt: Zeile 2414: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + which mediainfo + '[' 1 -eq 0 ']' + echo 'mediainfo missing, trying ffmpeg' /usr/local/bin/vt: Zeile 2427: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung ++ grep Video: /tmp/vt + s1= ++ echo ++ cut -d ' ' -f 4 + codec= + codec= + [[ '' == *\t\o\p\ \f\i\r\s\t* ]] + scantype=Progressive + echo scantype=Progressive /usr/local/bin/vt: Zeile 2444: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + '[' Progressive == Progressive -o Progressive == '' ']' + deinterlace= + '[' mp4 == mpg ']' + '[' mp4 == avi ']' + echo deinterlace= /usr/local/bin/vt: Zeile 2454: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + '[' '' '!=' vaapi ']' + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + '[' '' == eac3 ']' + map='-map 0:v:0' + stro1=1 + bras=0 + read line + '[' '' == vaapi ']' + '[' '' '!=' copy ']' + video=' ' ++ date +%FT%T -d @1654103280 + OPT=' -metadata creation_time=2022-06-01T19:08:00' ++ basename ../@Die_Macht_der_Emotionen_Manipulation + nameb=@Die_Macht_der_Emotionen_Manipulation + sw=0 + [[ @Die_Macht_der_Emotionen_Manipulation == *\ * ]] + [[ @Die_Macht_der_Emotionen_Manipulation == *\(* ]] + '[' 0 -eq 1 ']' + OPT=' -metadata creation_time=2022-06-01T19:08:00 -metadata title=@Die_Macht_der_Emotionen_Manipulation' + '[' mp4 == mp4 ']' + OPT=' -metadata creation_time=2022-06-01T19:08:00 -metadata title=@Die_Macht_der_Emotionen_Manipulation -movflags faststart' + transcode ../@Die_Macht_der_Emotionen_Manipulation.mp4 + name=../@Die_Macht_der_Emotionen_Manipulation.mp4 + '[' '' == 1 ']' + '[' mp4 == vdr -a '' '!=' '' ']' + '[' '' == vdr-transcode ']' + OPT=' -metadata creation_time=2022-06-01T19:08:00 -metadata title=@Die_Macht_der_Emotionen_Manipulation -movflags faststart -metadata service_name=vdr-transcode' + '[' mp4 == mp4 ']' + OPT=' -metadata creation_time=2022-06-01T19:08:00 -metadata title=@Die_Macht_der_Emotionen_Manipulation -movflags faststart -metadata service_name=vdr-transcode -metadata comment=vdr-transcode' + '[' -e ffmetadata ']' + '[' s == '"' ']' + opt='-hide_banner -i 00001.ts -map 0:v:0 -metadata creation_time=2022-06-01T19:08:00 -metadata title=@Die_Macht_der_Emotionen_Manipulation -movflags faststart -metadata service_name=vdr-transcode -metadata comment=vdr-transcode ../@Die_Macht_der_Emotionen_Manipulation.mp4' + '[' '' == 1 ']' + echo ffmpeg -hide_banner -i 00001.ts -map 0:v:0 -metadata creation_time=2022-06-01T19:08:00 -metadata title=@Die_Macht_der_Emotionen_Manipulation -movflags faststart -metadata service_name=vdr-transcode -metadata comment=vdr-transcode ../@Die_Macht_der_Emotionen_Manipulation.mp4 /usr/local/bin/vt: Zeile 3094: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + '[' '' '!=' '' ']' + '[' '' == 1 ']' + '[' s == '"' ']' + nice ffmpeg -hide_banner -i 00001.ts -map 0:v:0 -metadata creation_time=2022-06-01T19:08:00 -metadata title=@Die_Macht_der_Emotionen_Manipulation -movflags faststart -metadata service_name=vdr-transcode -metadata comment=vdr-transcode ../@Die_Macht_der_Emotionen_Manipulation.mp4 + tee -a ../@Die_Macht_der_Emotionen_Manipulation.mp4.log tee: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung [mpegts @ 0x560219997840] PES packet size mismatch Last message repeated 3 times Input #0, mpegts, from '00001.ts': Duration: 00:03:16.53, start: 55032.886456, bitrate: 12873 kb/s Program 132 Stream #0:0[0x1a36]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc Stream #0:1[0x1a40](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 256 kb/s Stream #0:2[0x1a41](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:3[0x1a43](mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:4[0x1a42](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s Stream #0:5[0x1a4b](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired) ../@Die_Macht_der_Emotionen_Manipulation.mp4: Permission denied + rm -f ffmetadata + echo =========================================================== /usr/local/bin/vt: Zeile 3112: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + eval ffprobe -hide_banner -i ../@Die_Macht_der_Emotionen_Manipulation.mp4 + cat /tmp/vt /usr/local/bin/vt: Zeile 3132: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung ++ grep Video: /tmp/vt + line= + '[' '' '!=' '' ']' ++ ls -l ../@Die_Macht_der_Emotionen_Manipulation.mp4 ++ cut -d ' ' -f 5 ls: Zugriff auf '../@Die_Macht_der_Emotionen_Manipulation.mp4' nicht möglich: Datei oder Verzeichnis nicht gefunden + newsize= /usr/local/bin/vt: Zeile 3441: /1024: Syntaxfehler: Operator erwartet (fehlerverursachendes Zeichen ist "/1024") ++ date +%s + ende=1654101470 + sek=1 + '[' -e vt.conf ']' + cp -p ../@Die_Macht_der_Emotionen_Manipulation.mp4.log /tmp/vt cp: Aufruf von stat für '../@Die_Macht_der_Emotionen_Manipulation.mp4.log' nicht möglich: Datei oder Verzeichnis nicht gefunden ++ id -g -n frank + g=frank + chown frank:frank /tmp/vt ++ grep '^video:' /tmp/vt + r= ++ echo ++ cut -d ' ' -f 1 + videos= ++ echo ++ cut -d : -f 2 + videos= /usr/local/bin/vt: Zeile 3931: ${#videos}-2: Teilstring-Ausdruck < 0. ++ echo ++ cut -d ' ' -f 2 + audios= ++ echo ++ cut -d : -f 2 + audios= /usr/local/bin/vt: Zeile 3934: ${#audios}-2: Teilstring-Ausdruck < 0. ++ grep Duration: /tmp/vt ++ head -n 1 + dur= ++ echo ++ cut -d ' ' -f 2 + dur= + '[' '' '!=' N/A, ']' ++ date -u +%s -d '1970-01-01 ' + durs1=0 /usr/local/bin/vt: Zeile 3940: *8/0: Syntaxfehler: Operator erwartet (fehlerverursachendes Zeichen ist "*8/0") + echo =========================================================== /usr/local/bin/vt: Zeile 3941: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + echo Video: 'kb/s Audio:' kb/s /usr/local/bin/vt: Zeile 3942: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + grep Video: /tmp/vt /usr/local/bin/vt: Zeile 3943: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + grep Duration: /tmp/vt /usr/local/bin/vt: Zeile 3944: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + '[' '' '!=' N/A, ']' + durs1ms=0 ++ grep Duration: /tmp/vt ++ tail -n 1 + dur= ++ echo ++ cut -d ' ' -f 2 + dur= ++ date -u +%s -d '1970-01-01 ' + durs2=0 + durs2ms=0 + echo Diff: 0cs /usr/local/bin/vt: Zeile 3952: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + '[' 308944 -gt 1 ']' + echo 'Alt ' 308944 /usr/local/bin/vt: Zeile 3957: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung /usr/local/bin/vt: Zeile 3958: *100/308944: Syntaxfehler: Operator erwartet (fehlerverursachendes Zeichen ist "*100/308944") + echo -n 'Dauer: ' /usr/local/bin/vt: Zeile 3959: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + date -u -d @1 +%T /usr/local/bin/vt: Zeile 3960: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung ++ date '+%F %T' + d='2022-06-01 18:37:50' + echo Ende 2022-06-01 18:37:50 /usr/local/bin/vt: Zeile 3962: ../@Die_Macht_der_Emotionen_Manipulation.mp4.log: Keine Berechtigung + rm -f vt.lck + rm /home/frank/vdr-transcode/vt.pid + rm /tmp/vt + rm -f /tmp/vt-old frank@stube:~$