Forum Replies Created

  • Luana Black

    January 5, 2012 at 4:39 am in reply to: Split DirectShow Capture

    Thanks for your reply. I cant get it to work, i am probably doing something wrong.

    ffmpeg.exe -f dshow -s 352×288 -i video=”Video WebCam”:audio=”Micr¢fono (Realtek High Definit” -r 10 -f segment out%03d.avi
    ffmpeg version N-36088-gdd1fb65, Copyright (c) 2000-2011 the FFmpeg developers
    built on Dec 22 2011 12:39:23 with gcc 4.6.2
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 51. 32.100 / 51. 32.100
    libavcodec 53. 47.100 / 53. 47.100
    libavformat 53. 28.100 / 53. 28.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 53. 0 / 2. 53. 0
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 5.100 / 0. 0.100
    libpostproc 51. 2.100 / 51. 2.100
    [dshow @ 003D8920] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 10000000.00 (10000000/1) -> 15.00 (15/1)
    Input #0, dshow, from 'video=Video WebCam:audio=Micrófono (Realtek High Definit':
    Duration: N/A, start: 140270.327000, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 352x288, 15 tbr, 10000k tbn, 10000k tbc
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Output #0, segment, to 'out%03d.avi':
    Output file #0 does not contain any stream

    I also tried this:
    ffmpeg.exe -f dshow -s 352×288 -i video=”Video WebCam”:audio=”Micr¢fono (Realtek High Definit” -r 10 -f segment -time 10 out%03d.avi
    ffmpeg version N-36088-gdd1fb65, Copyright (c) 2000-2011 the FFmpeg developers
    built on Dec 22 2011 12:39:23 with gcc 4.6.2
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 51. 32.100 / 51. 32.100
    libavcodec 53. 47.100 / 53. 47.100
    libavformat 53. 28.100 / 53. 28.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 53. 0 / 2. 53. 0
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 5.100 / 0. 0.100
    libpostproc 51. 2.100 / 51. 2.100
    [dshow @ 00268960] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 10000000.00 (10000000/1) -> 15.08 (181/12)
    Input #0, dshow, from 'video=Video WebCam:audio=Micrófono (Realtek High Definit':
    Duration: N/A, start: 139833.164000, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 352x288, 15.08 tbr, 10000k tbn, 10000k tbc
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Unrecognized option 'time'
    Failed to set value '10' for option 'time'

    I put this just to show and compare how it works without segmenting.
    ffmpeg.exe” -f dshow -s 352×288 -i video=”Video WebCam”:audio=”Micr¢fono (Realtek High Definit” -r 10 out.avi
    ffmpeg version N-36088-gdd1fb65, Copyright (c) 2000-2011 the FFmpeg developers
    built on Dec 22 2011 12:39:23 with gcc 4.6.2
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 51. 32.100 / 51. 32.100
    libavcodec 53. 47.100 / 53. 47.100
    libavformat 53. 28.100 / 53. 28.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 53. 0 / 2. 53. 0
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 5.100 / 0. 0.100
    libpostproc 51. 2.100 / 51. 2.100
    [dshow @ 01F28880] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 10000000.00 (10000000/1) -> 15.00 (15/1)
    Input #0, dshow, from 'video=Video WebCam:audio=Micrófono (Realtek High Definit':
    Duration: N/A, start: 139364.511000, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 352x288, 15 tbr, 10000k tbn, 10000k tbc
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Incompatible pixel format 'yuyv422' for codec 'mpeg4', auto-selecting format 'yuv420p'
    [buffer @ 02F7FD00] w:352 h:288 pixfmt:yuyv422 tb:1/1000000 sar:0/1 sws_param:
    [buffersink @ 02FE4560] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
    [scale @ 02F083E0] w:352 h:288 fmt:yuyv422 -> w:352 h:288 fmt:yuv420p flags:0x4
    Output #0, avi, to 'out.avi':
    Metadata:
    ISFT : Lavf53.28.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 10 tbn, 10 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2 channels, s16, 128 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
    Stream #0:1 -> #0:1 (pcm_s16le -> libmp3lame)
    Press [q] to stop, [?] for help
    frame= 20 fps= 0 q=1.6 size= 90kB time=00:00:02.40 bitrate= 306.0kbits/s dup=0 drop=10
    frame= 25 fps= 23 q=1.6 size= 111kB time=00:00:02.89 bitrate= 313.2kbits/s dup=0 drop=13
    frame= 31 fps= 19 q=1.6 size= 132kB time=00:00:03.39 bitrate= 319.4kbits/s dup=0 drop=15
    frame= 36 fps= 17 q=1.6 size= 154kB time=00:00:03.91 bitrate= 322.5kbits/s dup=0 drop=18
    frame= 41 fps= 15 q=1.6 size= 176kB time=00:00:04.41 bitrate= 325.8kbits/s dup=0 drop=21

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy