[FFmpeg-trac] #3887(undetermined:new): ffmpeg cant multiplex IMX video essence (m2v) with correct vbv into mov or mxf
FFmpeg
trac at avcodec.org
Sun Aug 24 08:53:30 CEST 2014
#3887: ffmpeg cant multiplex IMX video essence (m2v) with correct vbv into mov or
mxf
-------------------------------------+-------------------------------------
Reporter: ortoni | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffmpeg -i <file> -vcodec mpeg2video -pix_fmt yuv422p -b:v 30000k
-maxrate 30000k -minrate 30000k -g 1 -flags +ildct+low_delay -dc 10
-intra_vlc 1 -non_linear_quant 1 -qmin 1 -qmax 8 -q:v 1 -ps 1 -top 1
-aspect 16:9 -bufsize 9437184 -rc_init_occupancy 9437184
-rc_buf_aggressivity 0.25 -an <intermediate.m2v>
ffmpeg -i <intermediate.m2v> -i stereo.wav -vcodec copy -r 25 -acodec copy
-vtag mx3p <final.mov>
ffmpeg -i <intermediate.m2v> -i stereo.wav -vcodec copy -r 25 -acodec copy
-d10_channelcount 4 -f mxf_d10 <final.mxf>
mov file shows complete green field (like video error). mxf file shows
"[mxf_d10 @ 04714260] cannot fill d-10 video packet" errors during mpxing,
and final video has many video errors.
vbv = 9437184 is correct value for MPEG2 422P at ML, and e.g. Telestream
encoder will correctly generate mxf at least with this vbv.
Apple's own IMX.mov encoding shows vbv 1835008, which is actually MPEG2
MP at ML vbv, meant for max bitrate of 15Mbit/sec
Maximum vbv before error appears to be 1200000 for IMX30 and 2000000 for
IMX50, assuming -rc_init_occupancy is set to same value.
ffmpeg version git 1aa153d
built on … Aug 23rd 2014
}}}
Thanks you very much for looking at this.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3887>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list