ffmpeg
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ffmpeg [2017/08/15 18:13] – walkeradmin | ffmpeg [2019/11/20 21:42] (current) – walkeradmin | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ==== Contents ==== | ==== Contents ==== | ||
| *[[FFMPEG TS to MP4]]\\ | *[[FFMPEG TS to MP4]]\\ | ||
| + | *[[.MOV to .MP4]]\\ | ||
| + | *[[Interlaced to Progressive]]\\ | ||
| + | *[[Rescale Video]]\\ | ||
| *[[FFPlay]]\\ | *[[FFPlay]]\\ | ||
| *[[FFProbe]]\\ | *[[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). | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | |||
| - | |||
| - | However, the issue with UHD streams is that they are larger than most monitors, so it is generally necessary to either rescale the output, or force it to fullscreen. | ||
| - | \\ | ||
| - | \\ | ||
| - | To replay a video in a window. | ||
| - | \\ | ||
| - | ffplay -i video.mpg -vf scale=800x600 | ||
| - | | ||
| - | This will replay the selected file at a window size of 800x600. Remember, currently (End 2016) | ||
| - | UHD streams play very poorly and you will only get 1 or 2 frames per second. | ||
| - | \\ | ||
| - | To replay a video full screen. | ||
| - | \\ | ||
| - | ffplay -i video.mpg -vs | ||
| - | | ||
| - | This will replay the video at fullscreen resolution. | ||
| - | \\ | ||
| - | \\ | ||
| - | ==== FFPROBE ==== | ||
| - | FFPROBE allows the inspection of a file for some basic information. ffprobe is useful to analyse a .ts file before extraction to see what streams are present, the PIDs etc. | ||
| - | \\ | ||
| - | ffproble filename.ts | ||
| - | | ||
| - | Input #0, mpegts, from ' | ||
| - | Duration: 00: | ||
| - | Program 1 | ||
| - | Metadata: | ||
| - | service_name | ||
| - | service_provider: | ||
| - | Stream # | ||
| - | 0le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc | ||
| - | Stream # | ||
| - | \\ | ||
| - | \\ | ||
| - | In the above example we can see the following: | ||
| - | \\ | ||
| - | \\ | ||
| - | Duration: 00: | ||
| - | The <color red> | ||
| - | \\ | ||
| - | The <color red> | ||
| - | \\ | ||
| - | The <color red> | ||
| - | \\ | ||
| - | The <color red> | ||
| - | \\ | ||
| - | The <color red> | ||
| - | \\ | ||
| - | \\ | ||
| - | |||
ffmpeg.1502820813.txt.gz · Last modified: (external edit)
