Log in

View Full Version : MP4 to AVI Quality Loss


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

Dark Shikari
24th March 2010, 11:56
What doesn't make sense about it? You encoded from a modern video format (H.264) to an old and crappy one with worse compression.

kshawkeye
24th March 2010, 19:42
I thought maybe with the higher bit-rate it would be better quality? So what is a good video format for quality (not size of the file, whats a good bit-rate effective video format)?

Dark Shikari
24th March 2010, 19:56
I thought maybe with the higher bit-rate it would be better quality? So what is a good video format for quality (not size of the file, whats a good bit-rate effective video format)?Why are you re-encoding the file to begin with?

kshawkeye
24th March 2010, 20:22
Lets say it was anything else, it doesn't really matter, I just wanna know what a good video format to encode to for good bit-rate effective, high quality encode?

Guest
24th March 2010, 21:09
@kshawkeye

Stop asking for "best" per rule 12 or strikes will come.

kshawkeye
24th March 2010, 21:54
I'm not asking for the best, I'm simply asking for a good bit rate effective, high quality encode video format. I really don't consider that being too much to ask for?

per rule 12 or strikes will come.
I apologize but what does that mean?

Inspector.Gadget
24th March 2010, 22:23
Just use x264 --crf 18 --tune $$$$ --preset $$$$. Of course, you really should skip re-encoding altogether. What you did above makes zero sense.

Guest
25th March 2010, 00:24
I'm not asking for the best I edited two of your posts, both of which asked for best twice.

Everything will be clear if you read our forum rules, which you agreed to follow when you signed up here.

Linked at the top of every page:

http://forum.doom9.org/forum-rules.htm