FORUMS: list search recent posts

What is the transcoding unit for FFMPEG

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
atish kathpal
What is the transcoding unit for FFMPEG
on Sep 12, 2011 at 4:48:01 am

Hi friends

What is the transcoding unit for FFMEG? Is it a file or can we transcode a single file as user defined chunks of equal/variable size?

Eg: Given a video: Austral.mpeg (10mins). Can I divide it into 10 chunks of 1 min each while transcoding, such that each 1min chunk is accessible once transcoding for it is over?

Thanks and regards.


Return to posts index

Michael Rampe
Re: What is the transcoding unit for FFMPEG
on Sep 22, 2011 at 8:15:00 pm

[atish kathpal] " can we transcode a single file as user defined chunks of equal/variable size?"

yes but you will have to run one command for each chunk.

-t is a time offset
specified seconds or hh:mm:ss[.xxx]

-ss is the length to encode
specified seconds or hh:mm:ss[.xxx]
This option behaves differently if put before or after the -i [input]
Before:seeks to nearest I frame before converting (fast but inaccurate)
After:seeks through every frame until target is reached (slow but accurate)

So:
first chunk: -t 0 -ss 60
second chunk: -t 60 -ss 60
third chunk: -t 120 -ss 60
.....etc.

Michael


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]