[FFmpeg-trac] #5155(undetermined:new): MXF Muxer: -aspect option ignored by muxer
FFmpeg
trac at avcodec.org
Tue Jan 12 21:20:57 CET 2016
#5155: MXF Muxer: -aspect option ignored by muxer
-------------------------------------+-------------------------------------
Reporter: danousea | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: mxf muxer | Blocked By:
aspect | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When mixing into MXF, the -aspect option does not translate into the final
result.
The tool shows "DAR 16:9", but the resulting file shows 4:3
How to reproduce:
{{{
ffmpeg -framerate 23.973 -i 2007_04_22-17_48_50_2000%1d.jp2 -c:v copy
-aspect 16:9 -loglevel verbose test.mxf
ffmpeg version N-77693-gc5b3c4c-tessus Copyright (c) 2000-2015 the FFmpeg
developers
built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM
3.5svn)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm
--extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopus --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-
ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
libavutil 55. 11.100 / 55. 11.100
libavcodec 57. 20.100 / 57. 20.100
libavformat 57. 20.100 / 57. 20.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 22.100 / 6. 22.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[jpeg2000 @ 0x7fe15900be00] Progression order RPCL
Last message repeated 3 times
Input #0, image2, from '2007_04_22-17_48_50_2000%1d.jp2':
Duration: 00:00:00.13, start: 0.000000, bitrate: N/A
Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), 1
reference frame, rgb24, 1440x1080 (0x0), 23.98 fps, 23.97 tbr, 23.97 tbn,
23.97 tbc
Overriding aspect ratio with stream copy may produce invalid files
[mxf @ 0x7fe159801400] 1000/23973 input time base matched 1001/24000
container time base
Output #0, mxf, to 'test.mxf':
Metadata:
encoder : Lavf57.20.100
Stream #0:0: Video: jpeg2000, 1 reference frame, rgb24, 1440x1080
(0x0) [SAR 4:3 DAR 16:9], q=2-31, 23.98 fps, 23.97 tbr, 23.98 tbn, 23.97
tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
frame= 3 fps=0.0 q=-1.0 Lsize= 406kB time=00:00:00.12
bitrate=26551.9kbits/s speed= 157x
video:397kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 2.135734%
Input file #0 (2007_04_22-17_48_50_2000%1d.jp2):
Input stream #0:0 (video): 3 packets read (406605 bytes);
Total: 3 packets (406605 bytes) demuxed
Output file #0 (test.mxf):
Output stream #0:0 (video): 3 packets muxed (406605 bytes);
Total: 3 packets (406605 bytes) muxed
}}}
RESULT:
{{{
Container
Format : MXF
Format version : 1.2
Format profile : OP-1a
Format settings : Closed / Complete
Duration : 125ms
Overall bit rate : 26.6 Mbps
Encoded date : 0-00-00 00:00:00.000
Writing application : FFmpeg OP1a Muxer 57.20.100
Video
ID : 2
Format : JPEG 2000
Format settings, wrapping mode : Frame
Codec ID : 0D010301020C0100-0401020203010100
Duration : 125ms
Width : 1 440 pixels
Height : 1 080 pixels
Original height : 1 088 pixels
Pixel aspect ratio : 1.000
Display aspect ratio : 4:3
Frame rate : 23.976 fps
Frame count : 3
Color space : YUV
Bit depth : 8 bits
Scan type : Progressive
Other #1
ID : 1-Material
Type : Time code
Format : MXF TC
Time code of first frame : 00:00:00:00
Time code settings : Material Package
Time code, striped : Yes
Other #2
ID : 1-Source
Type : Time code
Format : MXF TC
Time code of first frame : 00:00:00:00
Time code settings : Source Package
Time code, striped : Yes
Other #3
Type : Time code
Format : SMPTE TC
Muxing mode : SDTI
Time code of first frame : 00:00:00:00
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5155>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list