ffmpeg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ffmpeg [2016/11/23 11:05] – walkeradmin | ffmpeg [2017/08/15 19:16] – walkeradmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== FFMEPG | + | ===== FFMPEG |
==== and FFPLay ==== | ==== and FFPLay ==== | ||
\\ | \\ | ||
Line 6: | Line 6: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | ==== Contents ==== | ||
+ | *[[FFMPEG TS to MP4]]\\ | ||
+ | *[[.MOV to .MP4]]\\ | ||
+ | *[[FFPlay]]\\ | ||
+ | *[[FFProbe]]\\ | ||
+ | |||
Chris Duxbury has worked out a simple syntax we can use to extract our .ts files to .mp4 files (.mp4 is a valid container for both h.264 and HEVC steams). | Chris Duxbury has worked out a simple syntax we can use to extract our .ts files to .mp4 files (.mp4 is a valid container for both h.264 and HEVC steams). | ||
- | \\ | ||
- | \\ | ||
- | ==== FFMEPG ==== | ||
- | \\ | ||
- | The following syntax will work for SPTS files (not sure about MPTS) | ||
- | \\ | ||
- | -probesize 50000000 -i source.ts -map 0:0 -map 0:1 -map 0:2 -c copy destination.mp4 | ||
- | \\ | ||
- | \\ | ||
- | The “probesize” bit tells ffmpeg to look over lots of file for the I picture, otherwise on long GOP it seems to give up sometimes. (like most decoders, ffmpeg can't start to decode until it finds an I frame) | ||
- | \\ | ||
- | \\ | ||
- | Using "-map 0:0 -map 0:1 -map 0:1 -map 0:2" tells ffmpeg to select/map specified input streams to output in that order. | ||
- | \\ | ||
- | \\ | ||
- | Using “-c copy” mark all the streams to be just copied to the output | ||
\\ | \\ | ||
\\ | \\ |
ffmpeg.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1