[FFmpeg-user] Concatenation of 50-100 files

Paul B Mahol onemda at gmail.com
Wed Aug 21 21:40:43 CEST 2013


On 8/21/13, Dzung Nguyen <dzungng89 at gmail.com> wrote:
> I realized that concat demuxer is the way to go. But one thing is that it's
> very slow, to create a 40 min clip it would take hours. Anyway to improve
> the speed?

Do not top post.

You can improve speed if you do not transcode.

>
>
> On Wed, Aug 21, 2013 at 11:42 AM, Dzung Nguyen <dzungng89 at gmail.com> wrote:
>
>> You're right, it's the concat demuxer. So I guess concat protocol ( or
>> simply cat of files) would be more robust? I read that mpg files is
>> cattable, but after cat files the final video has no time information
>> (unseekable, can't play).
>>
>> This is how I create the subvideo:
>>
>> ffmpeg -loop 1 -f image2 -i image.png -q:v 0 out1.mpg
>>
>>
>>
>>
>> On Wed, Aug 21, 2013 at 10:46 AM, Paul B Mahol <onemda at gmail.com> wrote:
>>
>>> On 8/21/13, Dzung Nguyen <dzungng89 at gmail.com> wrote:
>>> > I'm using ffmpeg concat protocol to join many subvideo files. FFMPEG
>>> keeps
>>> > getting dropped packets and can't finish the process.
>>> >
>>> > ffmpeg -f concat -i list.txt -q:v 1 concated.mpg
>>>
>>> You are not using concat protocol but concat demuxer.
>>>
>>> Did you read documentation?
>>>
>>> >
>>> > Should I simply cat subvideo files, or concat in group of 10 and then
>>> > concat again? In the first case, which encoding can be catted as
>>> > files?
>>> > _______________________________________________
>>> > ffmpeg-user mailing list
>>> > ffmpeg-user at ffmpeg.org
>>> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>> >
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>
>>
>>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list