Skip to content

Instantly share code, notes, and snippets.

@dmoskovchenko
Created October 1, 2023 20:42
Show Gist options
  • Save dmoskovchenko/ce76407af830f24ef1257a18c123f64a to your computer and use it in GitHub Desktop.
Save dmoskovchenko/ce76407af830f24ef1257a18c123f64a to your computer and use it in GitHub Desktop.
Video Station Log 3
root@NAS:~# curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/issue-report.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2896 100 2896 0 0 9598 0 --:--:-- --:--:-- --:--:-- 9589
libva info: VA-API version 1.18.0
libva info: Trying to open /var/packages/ffmpeg/target/lib/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_18
libva info: va_openDriver() returns 0
================ ISSUE REPORT TOOL ================
https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher
System Details.....................................
DSM Version: 7.2 64570-3
Arch details: Linux NAS 4.4.302+ #64570 SMP Thu Jul 20 00:06:38 CST 2023 x86_64 GNU/Linux synology_geminilake_220+
Package Details....................................
VideoStation version: 3.1.0-3153
FFMPEG version (ffmpeg): 4.4.4-49
CodecPack version: 3.1.0-3005
Patch Details......................................
Is patched ? yes
Has gstreamer ? no
FFMPEG VAAPI.......................................
Trying display: drm
vainfo: VA-API version: 1.18 (libva 2.18.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.1.6 (3359d2df)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
CodecPack Details..................................
Has AAC ? no
Has HEVC ? yes
CodecPack target/bin content.......................
total 60
lrwxrwxrwx 1 CodecPack CodecPack 30 Mar 14 2023 ffmpeg33-for-audio -> ../pack/bin/ffmpeg33-for-audio
lrwxrwxrwx 1 CodecPack CodecPack 37 Mar 14 2023 ffmpeg33-for-surveillance -> ../pack/bin/ffmpeg33-for-surveillance
lrwxrwxrwx 1 CodecPack CodecPack 20 Mar 14 2023 ffmpeg41 -> ../pack/bin/ffmpeg41
-rwxr-xr-x 1 CodecPack CodecPack 46201 Mar 14 2023 synocodectool
CodecPack target/pack/bin content..................
total 820
-rwxr-xr-x 1 root root 267304 Mar 23 2023 ffmpeg33-for-surveillance
lrwxrwxrwx 1 root root 44 Oct 1 23:32 ffmpeg41 -> /var/packages/VideoStation/target/bin/ffmpeg
-rwxr-xr-x 1 root root 271320 Mar 23 2023 ffmpeg41-for-synoface
-rwxr-xr-x 1 root root 271320 Mar 23 2023 ffmpeg41.orig
-rwxr-xr-x 1 root root 14832 Mar 23 2023 vainfo
CodecPack status...................................
cat: /var/packages/CodecPack/var/codec_requirements.json: No such file or directory
file not exists
GSTInspect last stderr logs........................
tail: cannot open '/tmp/gstinspect*.stderr' for reading: No such file or directory
GSTInspect stderr.prev logs........................
cat: '/tmp/gstinspect*.stderr.prev': No such file or directory
GSTLaunch last stderr logs.........................
tail: cannot open '/tmp/gstlaunch*.stderr' for reading: No such file or directory
GSTLaunch stderr.prev logs.........................
cat: '/tmp/gstlaunch*.stderr.prev': No such file or directory
FFMPEG head logs...................................
head: cannot open '/tmp/ffmpeg*.stderr' for reading: No such file or directory
FFMPEG last stderr logs............................
tail: cannot open '/tmp/ffmpeg*.stderr' for reading: No such file or directory
FFMPEG prev logs...................................
[2023-10-01 23:39:36] [INFO] ========================================[start ffmpeg 2964]
[2023-10-01 23:39:36] [INFO] DEFAULT ARGS: -ss 0.000 -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i /volume1/VIDEO/Serials/Stranger.Things/S02/Stranger.Things.S02E01.avi -vcodec h264_vaapi -vf format=nv12|vaapi,hwupload,scale_vaapi=w=848:h=416,scale_vaapi=format=nv12 -vsync 2 -bf 0 -vb 2863291 -acodec libmp3lame -ab 96k -ac 2 -f ssegment -segment_format mpegts -segment_list_type m3u8 -hls_seek_time 0 -segment_time 5 -segment_time_delta 0.000 -segment_start_number 00000 -avoid_negative_ts 0 -break_non_keyframes 1 -max_muxing_queue_size 1024 -map 0:0 -map 0:1 /tmp/VideoStation/HLS/07929d4419d463be0dc7935883518838_y0YaBxv0/slice-%05d.ts
[2023-10-01 23:39:36] [INFO] UPDATED ARGS: -ss 0.000 -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i /volume1/VIDEO/Serials/Stranger.Things/S02/Stranger.Things.S02E01.avi -vcodec h264_vaapi -vf scale_vaapi=w=848:h=416:format=nv12,hwupload,setsar=sar=1 -vsync 2 -bf 0 -vb 2863291 -acodec libfdk_aac -ab 96k -ac 2 -f ssegment -segment_format mpegts -segment_list_type m3u8 -hls_seek_time 0 -segment_time 5 -segment_time_delta 0.000 -segment_start_number 00000 -avoid_negative_ts 0 -break_non_keyframes 1 -max_muxing_queue_size 1024 -map 0:0 -map 0:1 /tmp/VideoStation/HLS/07929d4419d463be0dc7935883518838_y0YaBxv0/slice-%05d.ts
ffmpeg version 4.4.4-49 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 8.5.0 (GCC)
configuration: --target-os=linux --cross-prefix=/home/spksrc/ffmpeg4-dsm6-fix/spksrc/toolchain/syno-x64-7.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --prefix=/var/packages/ffmpeg/target --extra-cflags=-I/home/spksrc/ffmpeg4-dsm6-fix/spksrc/spk/ffmpeg4/work-x64-7.1/install/var/packages/ffmpeg/target/include --extra-ldflags=-L/home/spksrc/ffmpeg4-dsm6-fix/spksrc/spk/ffmpeg4/work-x64-7.1/install/var/packages/ffmpeg/target/lib --extra-libs='-lxml2 -ldl -lm' --pkg-config=/usr/bin/pkg-config --ranlib=/home/spksrc/ffmpeg4-dsm6-fix/spksrc/toolchain/syno-x64-7.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ranlib --enable-cross-compile --enable-rpath --enable-pic --enable-shared --enable-gpl --enable-version3 --enable-avresample --disable-debug --disable-static --disable-doc --extra-version=49 --extra-cflags=-DSYNO_VIDEOSTATION --extra-cflags=-fno-if-conversion --extra-cflags=-O3 --extra-cflags=-Wno-deprecated-declarations --x86asmexe=nasm --enable-libcodec2 --enable-libxml2 --enable-demuxer=dash --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libopenjpeg --enable-libmp3lame --enable-libbluray --enable-libspeex --enable-libtheora --enable-libcaca --enable-libdc1394 --enable-libvorbis --enable-libwebp --enable-libzmq --enable-gnutls --enable-libopenh264 --enable-libopus --enable-libsoxr --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librabbitmq --enable-libtwolame --enable-libzvbi --enable-libx264 --enable-libx265 --enable-libvpx --enable-libshine --enable-chromaprint --enable-libdav1d --enable-librist --enable-libzimg --enable-libfdk-aac --enable-nonfree --enable-libaom --enable-libsvtav1 --enable-libsvthevc --arch=x86_64 --enable-vaapi --enable-libmfx --enable-libdrm --enable-libass --enable-frei0r
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
/volume1/VIDEO/Serials/Stranger.Things/S02/Stranger.Things.S02E01.avi: could not seek to position 0.000
Input #0, avi, from '/volume1/VIDEO/Serials/Stranger.Things/S02/Stranger.Things.S02E01.avi':
Metadata:
software : VirtualDubMod 1.5.10.3 (build 2550/release)
Duration: 00:46:56.82, start: 0.000000, bitrate: 1908 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 704x352 [SAR 1:1 DAR 2:1], 1576 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:2: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_vaapi))
Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[mpeg4 @ 0x563655135700] No support for codec mpeg4 profile 15.
[mpeg4 @ 0x563655135700] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
[mpeg4 @ 0x563655135700] warning: first frame is no keyframe
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0
[libfdk_aac @ 0x563655114dc0] 2 frames left in the queue on closing
Conversion failed!
[2023-10-01 23:39:36] [ERROR] An error occurred
[2023-10-01 23:39:36] [INFO] ========================================[end ffmpeg 2964]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment