Selur's Little Message Board
Hybrid creates video Stream size 0 Byte - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Hybrid creates video Stream size 0 Byte (/thread-1860.html)

Pages: 1 2


Hybrid creates video Stream size 0 Byte - kingcrimsonster - 15.05.2021

Hybrid creates the file with video Stream size : 0.00 Byte (0%) in "Passthrough" video mode.


RE: Hybrid creates video Stream size 0 Byte - Selur - 15.05.2021

According to the debug output Hybrid uses:
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -analyzeduration 200M -probesize 200M -i "H:\!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).ts" -map 0:0 -vcodec copy -an -sn -map_metadata -1 -metadata encoding_tool="Hybrid 2021.05.02.1" -r 50/1 -bsf:v h264_mp4toannexb,filter_units=remove_types=6 "C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410_10.264"
to extract the video stream.
The extraction doe snot show any errors:
ffmpeg version N-101660-ge4753b731e-g288ca1c667+4 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev9, Built by MSYS2 project)
  configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-chromaprint --enable-frei0r --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfribidi --enable-libgme --enable-libilbc --enable-libsvthevc --enable-libsvtvp9 --enable-libkvazaar --enable-libmodplug --enable-librtmp --enable-librubberband --enable-libtesseract --enable-libxavs --enable-libzmq --enable-libzvbi --enable-openal --enable-libcodec2 --enable-ladspa --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libxavs2 --enable-libuavs3d --enable-mbedtls --extra-cflags=-fopenmp --extra-libs=-lgomp --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DCACA_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-libs=-lpsapi --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags='-II:/media-autobuild_suite/local64/include/AL'
  libavutil      56. 71.100 / 56. 71.100
  libavcodec     58.135.100 / 58.135.100
  libavformat    58. 77.100 / 58. 77.100
  libavdevice    58. 14.100 / 58. 14.100
  libavfilter     7.111.100 /  7.111.100
  libswscale      5. 10.100 /  5. 10.100
  libswresample   3. 10.100 /  3. 10.100
  libpostproc    55. 10.100 / 55. 10.100

[h264 @ 000001e5a8035c00] Increasing reorder buffer to 2
[h264 @ 000001e5a8035c00] co located POCs unavailable
[h264 @ 000001e5a8035c00] Increasing reorder buffer to 3
Input #0, mpegts, from 'H:\!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).ts':
  Duration: 00:03:32.16, start: 48429.454000, bitrate: 15567 kb/s
  Program 10350
  Stream #0:0[0x14bf]: 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[0x14c4](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 384 kb/s
  Stream #0:2[0x14c0](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s

Output #0, h264, to 'C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410_10.264':
  Metadata:
    encoding_tool   : "Hybrid 2021.05.02.1"
    encoder         : Lavf58.77.100
  Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 50 tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-1.0 size=     137kB time=-00:00:00.18 bitrate=N/A speed=N/A    
frame= 3919 fps=0.0 q=-1.0 size=  139008kB time=00:01:18.32 bitrate=14539.8kbits/s speed= 157x    
frame= 7990 fps=7989 q=-1.0 size=  284928kB time=00:02:39.74 bitrate=14612.1kbits/s speed= 160x    
frame=10609 fps=8047 q=-1.0 Lsize=  377982kB time=00:03:32.12 bitrate=14597.5kbits/s speed= 161x    
video:377982kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
finished after 00:00:02.060 and created C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410_10.264 (369.123 MB)

For the muxing call Hybrid uses the following inputs:
  • C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410_10.264 (369.123 MB)
  • C:\Windows\Temp\iId_3_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_00_56_2410_08.flac (16.054 MB)
  • C:\Windows\Temp\iId_1_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_00_56_2410_02.flac (16.054 MB)
  • C:\Windows\Temp\iId_2_aid_5316_lang_de_DELAY_4ms_2021-05-15@23_00_56_2410_05.flac (14.9338 MB)
  • C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410__11.xml
and:
"C:\Program Files\Hybrid\64bit\mkvmerge.exe" --ui-language en -o "H:\!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).mkv" --global-tags "C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410__11.xml" -d 0 --default-track 0:yes --default-duration "0:50/1fps" --aspect-ratio-factor 0:1 --fourcc 0:MP4V --no-chapters --compression -1:none --forced-track 0:yes --no-audio --no-subtitles "C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410_10.264" --language 0:de --default-track 0:yes --sync 0:100 --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\Windows\Temp\iId_1_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_00_56_2410_02.flac" --language 0:de --default-track 0:no --sync 0:4 --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\Windows\Temp\iId_2_aid_5316_lang_de_DELAY_4ms_2021-05-15@23_00_56_2410_05.flac" --language 0:de --default-track 0:no --sync 0:100 --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\Windows\Temp\iId_3_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_00_56_2410_08.flac"

to multiplex those files into an mkv container.

Mkvmerge does report that it parses the input files and that it opens the files:
'C:\Windows\Temp\iId_3_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_00_56_2410_08.flac': Using the demultiplexer for the format 'FLAC'.
'C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_00_56_2410_10.264' track 0: Using the output module for the format 'AVC/H.264 (unframed)'.
'C:\Windows\Temp\iId_1_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_00_56_2410_02.flac' track 0: Using the output module for the format 'FLAC'.
'C:\Windows\Temp\iId_2_aid_5316_lang_de_DELAY_4ms_2021-05-15@23_00_56_2410_05.flac' track 0: Using the output module for the format 'FLAC'.
'C:\Windows\Temp\iId_3_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_00_56_2410_08.flac' track 0: Using the output module for the format 'FLAC'.
The file 'H:\!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).mkv' has been opened for writing.
It also reports that it is finished after ~2 seconds and no error is reported.
Hybrid checks that the output files \!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).mkv (47.0674 MB) was created and since mkvmerge doesn't report any issues.
From the looks of it, it seems like mkvmerge simply ignores the video stream, but doesn't seem to report that it skipped the video.
Sadly without any info from mkvmerge what is happening I can't really do anything about it.

-> You can try whether enabling Config->Containers.>FFmpeg for .mkv muxing helps with the issue.

Cu Selur


RE: Hybrid creates video Stream size 0 Byte - kingcrimsonster - 15.05.2021

Quote:You can try whether enabling Config->Containers.>FFmpeg for .mkv muxing helps with the issue.
Well, I enable it.
Quote:Adding additional muxing calls, since ffmpeg can't handle raw H.264 video properly.
Quote:muxing crashed: ERROR: H:\!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).mkv was not created!



RE: Hybrid creates video Stream size 0 Byte - kingcrimsonster - 15.05.2021

If set audio and video both "Passthrough", Hybrid converts input audio in to PCM.


RE: Hybrid creates video Stream size 0 Byte - Selur - 16.05.2021

About the crash:
Hybrid calls:
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y  -r 50/1 -itsoffset 00:00:00.100 -i "C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_47_24_2910_10.mkv" -i "C:\Windows\Temp\iId_1_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_47_24_2910_02.flac" -i "C:\Windows\Temp\iId_2_aid_5316_lang_de_DELAY_4ms_2021-05-15@23_47_24_2910_05.flac" -i "C:\Windows\Temp\iId_3_aid_5312_lang_de_DELAY_100ms_2021-05-15@23_47_24_2910_08.flac" -vcodec copy -acodec copy -metadata encoding_tool="Hybrid 2021.05.02.1" -map 0:0 -map 1:0 -map 2:0 -map 3:0  -aspect 177778:100000 -r 50/1 "H:\!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).mkv"
and aborts with:
ffmpeg version N-101660-ge4753b731e-g288ca1c667+4 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev9, Built by MSYS2 project)
  configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-chromaprint --enable-frei0r --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfribidi --enable-libgme --enable-libilbc --enable-libsvthevc --enable-libsvtvp9 --enable-libkvazaar --enable-libmodplug --enable-librtmp --enable-librubberband --enable-libtesseract --enable-libxavs --enable-libzmq --enable-libzvbi --enable-openal --enable-libcodec2 --enable-ladspa --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libxavs2 --enable-libuavs3d --enable-mbedtls --extra-cflags=-fopenmp --extra-libs=-lgomp --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DCACA_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-libs=-lpsapi --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags='-II:/media-autobuild_suite/local64/include/AL'
  libavutil      56. 71.100 / 56. 71.100
  libavcodec     58.135.100 / 58.135.100
  libavformat    58. 77.100 / 58. 77.100
  libavdevice    58. 14.100 / 58. 14.100
  libavfilter     7.111.100 /  7.111.100
  libswscale      5. 10.100 /  5. 10.100
  libswresample   3. 10.100 /  3. 10.100
  libpostproc    55. 10.100 / 55. 10.100

[matroska,webm @ 000001e9f5f2fd40] Duplicate element
[matroska,webm @ 000001e9f5f2fd40] Element at 0x45 ending at 0x34e05 exceeds containing master element ending at 0x13f1
[matroska,webm @ 000001e9f5f2fd40] Duplicate element
[matroska,webm @ 000001e9f5f2fd40] Element at 0x54 ending at 0x844e14 exceeds containing master element ending at 0x1400
[matroska,webm @ 000001e9f5f2fd40] Element at 0x63 ending at 0x508ecb7 exceeds containing master element ending at 0x140f

C:\Windows\Temp\25 Lovers (ARD. Musikladen. 03.05.1984)_2021-05-15@23_47_24_2910_10.mkv: End of file
no clue why, call itself looks fine to me and I can't reproduce this here.
-> Are you sure your source file isn't damaged somehow?


About "Hybrid converts input audio in to PCM.":
According to the debug output "Config->Input->Extraction->Always extract audio to wav" is enabled.

Cu Selur


RE: Hybrid creates video Stream size 0 Byte - kingcrimsonster - 16.05.2021

Quote:About "Hybrid converts input audio in to PCM.":
According to the debug output "Config->Input->Extraction->Always extract audio to wav" is enabled.

Thank you, this is was enabled.

Quote:Are you sure your source file isn't damaged somehow?

This file is normally played on software and hardware players.
How can I check this file?


RE: Hybrid creates video Stream size 0 Byte - Selur - 16.05.2021

Play it for example with ffplay in a command line and see whether it reports any issues.
In case you enabled 'Config->Input->Decoding->Fix positive delay through ffmpeg' try whether it helps disabling it.

Cu Selur


RE: Hybrid creates video Stream size 0 Byte - kingcrimsonster - 16.05.2021

(16.05.2021, 19:27)Selur Wrote: Play it for example with ffplay in a command line and see whether it reports any issues.
In case you enabled 'Config->Input->Decoding->Fix positive delay through ffmpeg' try whether it helps disabling it.

Cu Selur

Please explain step by step how to do it.


RE: Hybrid creates video Stream size 0 Byte - Selur - 16.05.2021

1. download ffplay (comes usually with ffmpeg) and extract it
2. open a Windows Command Prompt, change into the folder where you extracted ffplay to
3. call "ffplay PATH_TO_FILE"


RE: Hybrid creates video Stream size 0 Byte - kingcrimsonster - 16.05.2021

(16.05.2021, 19:40)Selur Wrote: 1. download ffplay (comes usually with ffmpeg) and extract it
2. open a Windows Command Prompt, change into the folder where you extracted ffplay to
3. call "ffplay PATH_TO_FILE"

[h264 @ 0000027cd1c50940] Increasing reorder buffer to 2 0B f=0/0
[h264 @ 0000027cd1c50940] co located POCs unavailable
[h264 @ 0000027cd1c50940] Increasing reorder buffer to 3
Input #0, mpegts, from 'h:\!_Video\Video_Mus\Jennifer Rush\25 Lovers (ARD. Musikladen. 03.05.1984).ts':
Duration: 00:03:32.16, start: 48429.454000, bitrate: 15567 kb/s
Program 10350
Stream #0:0[0x14bf]: 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[0x14c4](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 384 kb/s
Stream #0:2[0x14c0](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s
[h264 @ 0000027cd1c897c0] co located POCs unavailable 0B f=0/0
48467.13 A-V: 0.015 fd= 1 aq= 51KB vq= 3460KB sq= 0B f=0/0