mocham
16th December 2010, 08:02
I have a source AVC video as follows:
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 34mn
Bit rate : 2 460 Kbps
Width : 1 280 pixels
Height : 688 pixels
Display aspect ratio : 1.850
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.117
I want to convert this video to standard NTSC DVD using ffmpeg. I've done this many times before and the following is a fairly standard encoding line that I use:
ffmpeg -i INPUT.mp4 -f dvd -vcodec mpeg2video -s 720x462 -aspect 16:9 -vf "pad=720:480:0:9" -b 2800k -minrate 2800k -maxrate 3200k -bufsize 1835k -g 12 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -bf 2 -flags qprd -flags mv0 -flags2 skiprd OUTPUT.mpg
The above command produces a MPEG2 file with the following characteristics:
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=12
Duration : 1h 34mn
Bit rate mode : Variable
Bit rate : 3 200 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.386
I'm having a problem in that the output has large blocky artifacts in some of the scenes with high motion. I could be wrong, but I believe (from experience) that this is happening because the input video is a much higher resolution than the output. Most of the time I upconvert to MPEG2/DVD rather than downconvert as in this case. Can anyone give me some pointers to get a better result? Thanks.
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 34mn
Bit rate : 2 460 Kbps
Width : 1 280 pixels
Height : 688 pixels
Display aspect ratio : 1.850
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.117
I want to convert this video to standard NTSC DVD using ffmpeg. I've done this many times before and the following is a fairly standard encoding line that I use:
ffmpeg -i INPUT.mp4 -f dvd -vcodec mpeg2video -s 720x462 -aspect 16:9 -vf "pad=720:480:0:9" -b 2800k -minrate 2800k -maxrate 3200k -bufsize 1835k -g 12 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -bf 2 -flags qprd -flags mv0 -flags2 skiprd OUTPUT.mpg
The above command produces a MPEG2 file with the following characteristics:
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=12
Duration : 1h 34mn
Bit rate mode : Variable
Bit rate : 3 200 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.386
I'm having a problem in that the output has large blocky artifacts in some of the scenes with high motion. I could be wrong, but I believe (from experience) that this is happening because the input video is a much higher resolution than the output. Most of the time I upconvert to MPEG2/DVD rather than downconvert as in this case. Can anyone give me some pointers to get a better result? Thanks.