[FFmpeg-user] Multiple Video Recording

suresh kumar ch.sureshkumar.24 at gmail.com
Fri Jun 15 09:22:15 CEST 2012


width = 160 height = 120 frame_rate =15 audio_buffer=4000 video_buffer=30000

On Fri, Jun 15, 2012 at 11:23 AM, suresh kumar
<ch.sureshkumar.24 at gmail.com>wrote:

> Hi,
>     First of all thanks for your reply.
> When video stops audio also stop but duration is keep on ticking.
> Below shows my build library using Mingw.
> ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
>   built on Mar 10 2012 15:53:47 with gcc 4.6.1
>   configuration: --prefix=ffmpeg/ --enable-static --enable-shared
> --enable-gpl -
> -enable-version3 --disable-w32threads --enable-runtime-cpudetect
> --disable-netwo
> rk --disable-debug --disable-yasm --enable-decoder=h264
> --enable-encoder=libx264
>  --enable-libx264 --extra-cflags='-I /local/include' --extra-ldflags='-L
> /local/
> lib'
>   libavutil    51. 32. 0 / 51. 32. 0
>   libavcodec   53. 42. 4 / 53. 42. 4
>   libavformat  53. 24. 2 / 53. 24. 2
>   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 not using ffmpeg.exe . Parameters are
> Audio related
> c->codec_type = AVMEDIA_TYPE_AUDIO;
> c->sample_fmt = AV_SAMPLE_FMT_S16;
>     c->audio bit_rate = 16000;
>     c->sample_rate = 8000;
>     c->channels = 2;
>      if (oc->oformat->flags &       AVFMT_GLOBALHEADER)
>         c->flags |=  CODEC_FLAG_GLOBAL_HEADER;
>
> Video related
>    c->bit_rate = 400000;
>     c->width = width;
>     c->height = height;
>     c->time_base.den = 15;
>     c->time_base.num = 1;
>     c->gop_size = 12;
> c->pix_fmt = PIX_FMT_YUV420P;
>     if (c->codec_id == CODEC_ID_MPEG2VIDEO)
> {
>         c->max_b_frames = 2;
>     }
>     if (c->codec_id == CODEC_ID_MPEG1VIDEO)
> {
>         c->mb_decision=2;
>     }
>     if (oc->oformat->flags & AVFMT_GLOBALHEADER)
>         c->flags |= CODEC_FLAG_GLOBAL_HEADER;
>
> Yeah I am using shared library in Visual Studio 2010. I am working this in
> code wise and not using command line.
>
>
>
> On Thu, Jun 14, 2012 at 9:33 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:
>
>> >     I am trying to record multiple files with single video. If I do
>> > separate video and audio for multiple recording it happens but if both
>> in a
>> > time means video get freeze at some point for long duration(15mins).
>> > Whether is it possible to make multiple recording using single video. I
>> am
>> > developing this using Visual Studio 2010. Thanks for your soon Reply and
>> > Answer .
>>
>> What are your command lines?  Are you calling out to ffmpeg.exe? Are
>> you using the shared builds of ffmpeg here, or what?
>> -roger-
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list