Re: [FFmpeg-user] how to remove useless nalu from video stream

2018-09-26 Thread Moritz Barsnick
On Wed, Sep 26, 2018 at 22:09:08 +0800, qw wrote: > If there is one nalu with zero size, and ffmpeg converts ts into mp4 > with the option of -codec copy, then vlc can't play video stream > correctly. Is there any way to remove useless nalu, i.e. its size is > 0? I don't know my way around NALs, b

Re: [FFmpeg-user] how to remove useless nalu from video stream

2018-09-26 Thread Carl Eugen Hoyos
2018-09-26 16:09 GMT+02:00, qw : > If there is one nalu with zero size, and ffmpeg converts ts into mp4 with > the option of -codec copy, then vlc can't play video stream correctly. Is > there any way to remove useless nalu, i.e. its size is 0? Please provide the command line you tested together

[FFmpeg-user] how to remove useless nalu from video stream

2018-09-26 Thread qw
Hi, I have encountered the following problem: If there is one nalu with zero size, and ffmpeg converts ts into mp4 with the option of -codec copy, then vlc can't play video stream correctly. Is there any way to remove useless nalu, i.e. its size is 0? Thanks! Regards Andrew