[FFmpeg-trac] #9618(undetermined:open): Trimming Error on MXF H264 All-Intra High422

FFmpeg trac at avcodec.org
Sat Jan 29 19:44:11 EET 2022


#9618: Trimming Error on MXF H264 All-Intra High422
-------------------------------------+-------------------------------------
             Reporter:  Nicolas      |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  Trim MXF     |               Blocked By:
  H264 Intra 422                     |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Nicolas):

 I didn't know Ffmpeg could not accept pcm_s24le audio for muxing MXF. It
 seems to work well for demuxing.

 I also tried by converting to pcm_s16le and I reproduced what you said.

 Is it an official behavior of ffmpeg or a bug ? Where can I find a list of
 available and working Audio Codecs for Muxing on MXF (or other container)
 ?

 I didn't manage to find on the internet. Also on the libavformat/mxfenc.c
 I didn't see any restriction for pcm_s24le, I found that :

 {{{
 if (st->codecpar->codec_id != AV_CODEC_ID_PCM_S16LE &&
                     st->codecpar->codec_id != AV_CODEC_ID_PCM_S24LE) {
                     av_log(s, AV_LOG_ERROR, "Only pcm_s16le and pcm_s24le
 audio codecs are implemented\n");
                     return AVERROR_PATCHWELCOME;
                 }
 }}}

 Anyway, I also tried to change the extension to mov and it seems to work
 indeed. But this command works also (just changing from 6.74s to 6s) so
 I'm not sure it is something with supported or not codec ?

 {{{
 ffmpeg.exe -loglevel debug -ss 6 -i
 Canon_Trimming_Error_H264_422_Intra_10bits.MXF -vcodec copy -map 0:v
 -acodec copy -map 0:a Canon_Trimming_Error_H264_422_Intra_10bits_OUT.MXF
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9618#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list