Forum Replies Created

  • Luana Black

    January 10, 2012 at 6:12 am in reply to: Split DirectShow Capture

    To close the issue, here can be seen the changes made to segment.c
    https://git.videolan.org/?p=ffmpeg.git;a=history;f=libavformat/segment.c;hb=HEAD

    On 2011-12-19 was when they changed the variable names to “segment_time”, “segment_format”…

    I am not using this last version because seems to work worse than 2011-10-17 version.
    I has a bug (or i am using it wrong) that if i want to encode a video segmented in 10 sec chunks, the first clip is 10 seconds long, the second 20 seconds long (only last 10 sec with video data), the third is 30 secs long (only last 10 sec with video data), and so on.

  • Luana Black

    January 8, 2012 at 10:07 pm in reply to: Split DirectShow Capture

    I have been trying with older ffmpeg builds and i found that with this build it works:
    ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
    built on Dec 12 2011 13:50:00 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. 0 / 51. 32. 0
    libavcodec 53. 43. 0 / 53. 43. 0
    libavformat 53. 24. 0 / 53. 24. 0
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 53. 0 / 2. 53. 0
    libswscale 2. 1. 0 / 2. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0

    I would like to use last build of ffmpeg if possible, but it says “Unrecognized option ‘container_format'”. Did the segmenting option names change? Is there any way to use segmenting with last build?

    Thanks for your replies, i can work with it now.

  • Luana Black

    January 8, 2012 at 6:23 am in reply to: Split DirectShow Capture

    Thanks. I tried what you said but it still isnt working:
    ffmpeg.exe” -f dshow -s 320×240 -i video=”Video WebCam”:audio=”Micr¢fono (Realtek High Definit” -vcodec ffv1 -acodec pcm_s16le -map 0 -r 5 -f segment -segment_time 10 -container_format avi -segment_pattern %03d -segment_basename output dummy_out.avi

    ffmpeg version N-36492-g7f83db3, Copyright (c) 2000-2012 the FFmpeg developers
    built on Jan 5 2012 01:57:12 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. 34.100 / 51. 34.100
    libavcodec 53. 53.100 / 53. 53.100
    libavformat 53. 29.100 / 53. 29.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 57.101 / 2. 57.101
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 5.100 / 0. 5.100
    libpostproc 51. 2.100 / 51. 2.100
    [dshow @ 02A51A60] Estimating duration from bitrate, this may be inaccurate
    Input #0, dshow, from 'video=Video WebCam:audio=Micrófono (Realtek High Definit':
    Duration: N/A, start: 13425.342000, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 25 tbr, 10000k tbn, 10000k tbc
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Unrecognized option 'container_format'
    Failed to set value 'avi' for option 'container_format'

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