VideoHelp Forum

+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Mar 2012
    Location
    United Kingdom
    Search PM
    I've been tearing my hair out trying to do this.


    I have an (interlaced) h264 stream that I've demuxed from an MKV file.

    I've tried with: `vid=DirectShowSource("video.h264", audio=false)` but I just get:
    Code:
    DirectShowSource: couldn't open file video.h264
    Cannot play back the file. The format is not supported.
    I've tried the latest release of FFmpeg2Source, however that seems to just hang as soon as it tries to open seemingly any file.

    What am I doing wrong?

    FFMPEG proper gives me this:
    Code:
    $ ffmpeg -i video.h264
    ffmpeg version 4.3.1-2020-10-01-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
      built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
      configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
      libavutil      56. 51.100 / 56. 51.100
      libavcodec     58. 91.100 / 58. 91.100
      libavformat    58. 45.100 / 58. 45.100
      libavdevice    58. 10.100 / 58. 10.100
      libavfilter     7. 85.100 /  7. 85.100
      libswscale      5.  7.100 /  5.  7.100
      libswresample   3.  7.100 /  3.  7.100
      libpostproc    55.  7.100 / 55.  7.100
    [h264 @ 0000022a4f7cdc40] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, h264, from 'video.h264':
      Duration: N/A, bitrate: N/A
        Stream #0:0: Video: h264 (High), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
    Last edited by bergqvistjl; 11th Aug 2022 at 14:30.
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I'm not sure if any of the source filters work with the h264 elementary stream.
    Any reason not to access it from the container?
    Quote Quote  
  3. lwlibavvideosource("your.h264")
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Thanks ProWo. Could have sworn I tried this earlier. I guess sometimes what we think we know is just phantoms ...
    Quote Quote  



Similar Threads