[FFmpeg-trac] #9556(undetermined:new): Demux Error with AVC 422 Intra - Not supported ?

FFmpeg trac at avcodec.org
Fri Dec 17 18:33:52 EET 2021


#9556: Demux Error with AVC 422 Intra - Not supported ?
-------------------------------------+-------------------------------------
             Reporter:  Nicolas      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  AVC 422      |               Blocked By:
  Intra                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 Intra files from Canon EOS Mark II/III (video codec is AVC 422 Intra)
 seems to not be fully supported ? I have several files like this and all
 give me the same error : impossible to demux/remux with ffmpeg.exe and
 Color Issue if using my own application using ffmpeg libraries.

 Full Description :

 When trying to demuxing/remuxing such clip with ffmpeg.exe, it returns an
 error :

 Command :

 {{{
 ffmpeg -ss 0 -i in.MXF -t 1 -c copy out.MXF
 ffmpeg compiled from master branch the 17/12 - Commit 571e8ca2dd
 built on Win10
 }}}

 The error :

 {{{
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 [mxf @ 000002433EAFAE80] Received non-video packet before header has been
 written speed=0.996x
 Error writing trailer of out.MXF: Invalid data found when processing input

 }}}

 I also tried to demux/remux it with the ffmpeg libraries : I coded a
 program which trim files with ffmpeg, so demux/remux with in/out frames,
 like the ffmpeg command I provided above.

 With this program it kind of works, I manage to copy the frames and I get
 a readable file at the end, but the color slighlty changed (a bit like a
 change in exposure), maybe it could come from some a special ColorSpace
 option which changed or not detected when demuxing or an other things ?
 Note that the ColorShift is only visible when I open the resulting trimmed
 file in Premiere Pro. It is not visible when opening the file on VLC.

 I suppose this color Shift I get is related to the error I get when
 running ffmpeg.exe, that's why I didn't open 2 different issues here.

 File sample to reproduce :

 I don't have a lot of files example, and the ones I get are huge compared
 to the sample size accepted (from the bug report). I selected the most
 little one I get and it is 100Mo large. Here is a direct link to get/test
 it :
 https://www.dropbox.com/s/z9z9jdf1dm16o4e/Canon_ColorDemuxIssue_422HighIntra.MXF?dl=0

 (I will not remove the file from dropbox until the bug is fixed).

 Note : Sorry if it is the wrong category, it looks like a bug but could be
 a feature request maybe ?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9556>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list