[FFmpeg-user] split output to predefined size while transcoding?
tim.nicholson at bbc.co.uk
Wed Dec 21 11:19:17 CET 2011
On 21/12/11 09:37, Boštjan Strojan wrote:
> right, is it possible to make a list of I frame positions using ffmpeg?
Yes, use the select filter chained into the showinfo filter:-
ffmpeg -i in.mp4 -vf "select='eqpict_type\,I)', showinfo" -f mp4 -y
> On Wed, Dec 21, 2011 at 10:06 AM, Tim Nicholson<tim.nicholson at bbc.co.uk>wrote:
>> On 21/12/11 08:34, Boštjan Strojan wrote:
>>> Say i have a long AVC.mp4 file as input and i'am converting this to some
>>> editing format (like prores). Is it possible to make the output split into
>>> several files, based on size maybe (or maybe based on position of original
>>> I frames?), so i get:
>>> file3< still transcoding
>>> and i can use file1 and 2 at once for editing, while the rest is still
>> I think you would need a batch file and make use of the "-ss" and "-t"
>> options to iterate over parts of the source file.
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
More information about the ffmpeg-user