Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques What is the transcoding unit for FFMPEG

  • What is the transcoding unit for FFMPEG

    Posted by Atish Kathpal on September 12, 2011 at 4:48 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.

    Michael Rampe replied 14 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Michael Rampe

    September 22, 2011 at 8:15 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

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