kshawkeye
24th March 2010, 04:29
Hi, I encoded a .MP4 video into a .AVI video with FFmpeg, and got a noticeable quality loss. Does anyone know why this might be?
I included the two "MediaInfo" findings, and as you can see, the drop in quality doesn't make much sense. Thanks for any help!
This is the input video info
General
Complete name : C:\MP4 Input.mp4
Format : MPEG-4
Format profile : JVT
Codec ID : avc1
File size : 9.36 MiB
Duration : 1mn 31s
Overall bit rate : 861 Kbps
Encoded date : UTC 2010-03-05 20:59:24
Tagged date : UTC 2010-03-05 20:59:24
Video
ID : 3
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 31s
Duration_LastFrame : -33ms
Bit rate mode : Variable
Bit rate : 728 Kbps
Maximum bit rate : 975 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.105
Stream size : 7.98 MiB (85%)
Language : English
Encoded date : UTC 2010-03-05 20:59:24
Tagged date : UTC 2010-03-05 20:59:24
Audio
ID : 5
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Format settings, PS : Yes
Codec ID : 40
Duration : 1mn 31s
Bit rate mode : Variable
Bit rate : 63.9 Kbps
Nominal bit rate : 63.4 Kbps
Maximum bit rate : 65.5 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Stream size : 712 KiB (7%)
Language : English
Encoded date : UTC 2010-03-05 20:59:24
Tagged date : UTC 2010-03-05 20:59:24
This is my .AVI encoded output video
General
Complete name : C:\AVI Output.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 12.6 MiB
Duration : 1mn 31s
Overall bit rate : 1 159 Kbps
Writing application : Lavf52.57.1
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L1
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1mn 31s
Bit rate : 1 017 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.147
Stream size : 11.1 MiB (88%)
Writing library : Lavc52.60.0
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1mn 31s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Stream size : 1.39 MiB (11%)
Alignment : Aligned on interleaves
Interleave, duration : 26 ms (0.78 video frame)
Interleave, preload duration : 78 ms
Writing library : LAME3.98
I included the two "MediaInfo" findings, and as you can see, the drop in quality doesn't make much sense. Thanks for any help!
This is the input video info
General
Complete name : C:\MP4 Input.mp4
Format : MPEG-4
Format profile : JVT
Codec ID : avc1
File size : 9.36 MiB
Duration : 1mn 31s
Overall bit rate : 861 Kbps
Encoded date : UTC 2010-03-05 20:59:24
Tagged date : UTC 2010-03-05 20:59:24
Video
ID : 3
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 31s
Duration_LastFrame : -33ms
Bit rate mode : Variable
Bit rate : 728 Kbps
Maximum bit rate : 975 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.105
Stream size : 7.98 MiB (85%)
Language : English
Encoded date : UTC 2010-03-05 20:59:24
Tagged date : UTC 2010-03-05 20:59:24
Audio
ID : 5
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Format settings, PS : Yes
Codec ID : 40
Duration : 1mn 31s
Bit rate mode : Variable
Bit rate : 63.9 Kbps
Nominal bit rate : 63.4 Kbps
Maximum bit rate : 65.5 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Stream size : 712 KiB (7%)
Language : English
Encoded date : UTC 2010-03-05 20:59:24
Tagged date : UTC 2010-03-05 20:59:24
This is my .AVI encoded output video
General
Complete name : C:\AVI Output.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 12.6 MiB
Duration : 1mn 31s
Overall bit rate : 1 159 Kbps
Writing application : Lavf52.57.1
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L1
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1mn 31s
Bit rate : 1 017 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.147
Stream size : 11.1 MiB (88%)
Writing library : Lavc52.60.0
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1mn 31s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Stream size : 1.39 MiB (11%)
Alignment : Aligned on interleaves
Interleave, duration : 26 ms (0.78 video frame)
Interleave, preload duration : 78 ms
Writing library : LAME3.98