[FFmpeg-devel] [PATCH] avformat/mux: skip parameter and pts checks for data muxer

Nicolas George george at nsup.org
Sun Apr 28 13:45:24 EEST 2019


Gyan (12019-04-28):
> Corrupt streams in sufficiently intact containers (MP4, TS) so they can be
> demuxed but decoder context fields are incomplete/invalid, so ffmpeg won't
> streamcopy-mux them.
> 
> Depending on the exact situation, I would use a repair or analysis tool to
> check them or supply an alternate esds..etc

And you want to just dump the packets payload in a file? With the ffmpeg
command-line?

Then I suggest to implement that as a ffmpeg option:

	ffmpeg -dump_stream:0 stream0.bin -i damaged.mp4 -f null -

It is not efficient nor robust to have the packets go through all
ffmpeg's and libavformat processing only to have an option to disable
that processing.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190428/6d8e5a2d/attachment.sig>


More information about the ffmpeg-devel mailing list