[FFmpeg-trac] #2434(undetermined:new): -target pal-dvd incorrectly forces 704x576 to 720x576
FFmpeg
trac at avcodec.org
Fri Apr 5 10:49:29 CEST 2013
#2434: -target pal-dvd incorrectly forces 704x576 to 720x576
-------------------------------------+-------------------------------------
Reporter: | Type: defect
francois.visagie@… | Priority: normal
Status: new | Version: 1.2
Component: | Blocked By:
undetermined | Reproduced by developer: 0
Keywords: -target |
pal-dvd scales 704 720 |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
'''Summary of the bug:'''
The '-target pal-dvd' option incorrectly scales 704x576/480 to
720x576/480. For Rec.601-sourced video with 59:54 pixel aspect ratio a
horizontal resolution of 704 pixels is required to produce undistorted
output to 4:3 and 16:9 display aspect ratios. The DVD Video standard makes
provision for authoring in this resolution, e.g.
http://en.wikipedia.org/wiki/Dvd_video and http://www.videohelp.com/dvd.
However, this behaviour (of '-target pal-dvd' at least) makes it
impossible to produce undistorted output.
'''How to reproduce:'''
{{{
C:\Users\fvisagie\Videos\Home Videos\Testing\Sony DCR-TRV330E>ffmpeg -i
New.avs -target pal-dvd -aspect 4:3 New.avs.mpg
ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 1 2013 12:44:46 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-
amrnb --enable-libo
pencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
libtheora --enable-lib
twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
libavutil 52. 24.100 / 52. 24.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 1.100 / 55. 1.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avisynth, from 'New.avs':
Duration: 00:01:57.28, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 704x576, 25
fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Output #0, dvd, to 'New.avs.mpg':
Metadata:
encoder : Lavf55.1.100
Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 16:15 DAR 4:3],
q=2-31, 6000 kb/s, 90k tbn, 25 tbc
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
Stream #0:1 -> #0:1 (pcm_s16le -> ac3)
Press [q] to stop, [?] for help
frame= 2933 fps= 22 q=2.0 Lsize= 80944kB time=00:01:57.31
bitrate=5652.3kbits/s dup=1 drop=0
video:72936kB audio:6414kB subtitle:0 global headers:0kB muxing overhead
2.009441%
}}}
'''Work-around:'''
Omit -target pal-dvd and use other options to specify a DVD-compliant
encode on the command line, e.g. '-codec:a ac3 -b:a 128000 -vcodec
mpeg2video -g 15 -bf 2 -bufsize 1835000 -b:v 6090000 -maxrate 9800000
-muxrate 10080000'.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2434>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list