[FFmpeg-user] MXF XAVC UHD video stream modified while using the -copy option

Ronan Ricou r.ricou at b-architech.com
Wed Feb 7 10:30:41 EET 2018


I know this because the size of the video stream isn't the same on the remuxed file. As its duration is the same as I can play it without any problem, I think some metadata were stripped off, but I don't know which and why. You can also see this in the MediaInfo report I included in my original message.
I even tried to do a full remux, with the command ffmpeg -i INPUT_FILE -c copy -map 0 OUTPUT_FILE, and the files size aren't the same at all, there is a 165MB difference on the 16GB file I used (duration: 4m30s). The source one is 17 245 128 240 Byte and the remuxed on is 17 072 370 871 Byte
Here is a pastebin to the full ffmpeg report of the remux process output: https://pastebin.com/1g7wy59u
Full report of the input file: https://pastebin.com/jF1VKWgM
Full report of the output file: https://pastebin.com/hn17PHKC

Note: for the report I used the -probesize 100M option as otherwise I didn't get all the file information because after some time I get the following error message " Probe buffer size limit of 5000000 bytes reached".

Best Regards,


-----Message d'origine-----
De : ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] De la part de Carl Eugen Hoyos
Envoyé : mercredi 7 février 2018 00:36
À : FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Objet : Re: [FFmpeg-user] MXF XAVC UHD video stream modified while using the -copy option

2018-02-06 18:09 GMT+01:00 Ronan Ricou <r.ricou at b-architech.com>:

> I'm trying to remux a MXF XAVC file with the exact same video but only 
> 2 out of the 4 audio tracks.
> For that I use this command:
> ffmpeg -i INPUT_FILE -c copy -map 0:v -map 0:a:0 -map 0:a:1 
> The thing is, some video data are lost during the remux as my file is 
> smaller than it should be.

How do you know this?

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output.

Carl Eugen
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list