Opened 10 months ago

Last modified 10 months ago

#11654 new defect

addtional sps/pps gets added when remuxing mxf files

Reported by: Andy Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: mp4 avc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -i <sourcefile>.mxf -c:v copy -c:a copy -movflags +faststart <destfile>.mp4
ffmpeg version 2025-06-02-git-688f3944ce-full_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers

TestFiles:
1920x1080i25
AVCI1080i25.mxf (original File)
AVCI1080i25.mp4 (ffmpeg remux)
AVCI1080i25.h264 (bitstream dump)

1920x1080p25
AVCI1080p25.mxf (original File)
AVCI1080p25.mp4 (ffmpeg remux)
AVCI1080p25.h264 (bitstream dump)

960x540p25
LowRes.mxf (original File)
LowRes.mp4 (ffmpeg remux)
LowRes.h264 (bitstream dump)

Issue:
In the orignal mxf files, there are sps/pps in every frame.
When i remux these avc-files, ffmpeg always adds an additional sps/pps to the first frame of the file.

In the 1920x1080 files, it containes the same profile and level indication but in the "lowres" file, the behaviour is even different. It adds an sps/pps with different profile and level which causes most players to not play the file.

I just wanted to clear, if this is a bug or intended and maybe to prevent this by using a cmdline switch while remuxing.

Thank you

Change History (1)

comment:1 by Andy, 10 months ago

i uploaded sample files to streams.videolan.org/upload/ with the ticket reference

Note: See TracTickets for help on using tickets.