[FFmpeg-devel] [PATCH] avformat/rawenc: check stream type

Gyan Doshi gyandoshi at gmail.com
Sun Apr 8 08:09:25 EEST 2018



On 4/8/2018 1:19 AM, Carl Eugen Hoyos wrote:
> 2018-04-07 13:32 GMT+02:00, Gyan Doshi <gyandoshi at gmail.com>:

>> Had an user on SE sometime back extract a video stream to a .h264 (in
>> order to retime PTS).
> 
> Does this work at all?

With input -r, yes. For streams with b-pyramid, mp4box does.

> A warning would be sufficient.

That won't be useful in batch mode, or good when a raw muxer does 
something besides just a packet dump. Besides, why allow ffmpeg to 
produce files with mismatched extensions, when input probing can't 
obviate the issue?

Gyan


More information about the ffmpeg-devel mailing list