[FFmpeg-devel] [PATCH] recognize .mts as MPEG Transport Stream (encoding)
michaelni at gmx.at
Thu Dec 8 18:37:17 CET 2011
On Thu, Dec 08, 2011 at 03:16:48PM +0100, jb wrote:
> Currently, many consumer camcorder produce mpegts files with the .mts
> extension. FFmpeg does not recognize this extension when encoding.
> For example if you want to extract the first 30 seconds of a clip:
> ffmpeg -i 0001.mts -acodec copy -vcodec copy -t 00:00:30 result.mts
> fails with:
> [NULL @ 0x8fb2f80] Unable to find a suitable output format for 'result.mts'
> We need to explicitly add the format with -f mpegts. The patch below fixes the
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel