Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Dec 2003
Location: Brookline, MA
Posts: 76
|
miniDV compressibility
Background
I am trying to encode my NTSC DV videos to xvid. I render to huffYUV (YUY2 mode) after editing as an intermediate step. My Avisynth script merely runs tomsmocomp to deinterlace the file. If the shoot took place indoors I use some form of noise reduction. I have a separate MPEG-2 encode for T.V. viewing, so I want the MPEG-4 encode for P.C. viewing to be deinterlaced. The camcorder is a Panasonic PV-DV953. The xvid encoding options are: 2Mbps with two passes, qpel, gmc, default B-frame and quantizer options (but Soulhunters V5 matrix), VHS6, MSP6, VHQ1, chroma motion, turbo;-), chroma optimizer ... basically everything you need for a decent encode. The source is full frame. Problem Why do I have to go to bitrates as high as 2Mbps before I can get something barely acceptable? DVDs look great at half that bitrate. My hypothesis is that camera shake is throwing off motion estimation. My work is hand held -- consider this is a constraint -- and I am using optical image stabilization as it is. Moreover, I suspect the camcorder is applying excess sharpening. P.S. Is it better use huffYUV in RGB mode in this case? Last edited by adoniscik; 15th June 2004 at 04:28. |
|
|
|
|
|
#2 | Link | |
|
Senior Member
Join Date: Apr 2004
Posts: 1,055
|
Quote:
Remember that DVDs are IVTC when encoded to XVID, so thats progressive 24fps. That is 20% less frames to encode then DV 29.97fps. DVDs are also letterboxed or widescreen so you really don't have to encode the full frame because most people clip them out when encoding. For the Xvid encodes for the PC, instead of encoding at full frame 720x480 (I'm using NTSC for the example), you should resize to 640x480. This will adjust the aspect ratio to 4:3 and you will save some bits. Also DV in general is known to require more bits when encoding. Last edited by Video Dude; 16th June 2004 at 22:08. |
|
|
|
|
|
|
#3 | Link | ||
|
Banned
Join Date: Apr 2004
Posts: 1,706
|
Re: miniDV compressibility
Quote:
i think a lot of people wont believe you when you say an MPEG2 encoding at half the bitrate looks better than MPEG4, with all other constants (frame rate, frame size, etc.) the same. It is said that on noisy sources XviD is not the best of the (MPEG4-)codecs, but i doubt it would make that much a difference, but who knows.. ![]() doing a *very rough* estimate with bpp = 0.2 you would end up with a bitrate of 0.2*29.97*720*480 = 2072 kbps, so your not that far of actually. Quote:
maybe you should look for a deshaker filter then... |
||
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Dec 2003
Location: Brookline, MA
Posts: 76
|
I know it was not clearly worded. I meant DVDs converted to MPEG-4 vs. miniDV converted to MPEG-4.
Do deshakers automatically detect scene transitions, and pans? What other drawbacks do they bring? Last edited by adoniscik; 17th June 2004 at 17:25. |
|
|
|
|
|
#5 | Link | |
|
Piper at theGates of Dawn
Join Date: Nov 2001
Posts: 2,136
|
I experienced the same with PAL DV - MPEG4 compressibility is horrible compared to DVD to MPEG4 compressibility.
One reason has already been mentioned: DVDs are usually letterboxed, not 4:3 fullscreen. A second reason is that movie DVD sources are already filtered before encoded to MPEG2. Both the pre-processing and the MPEG 2-encoding make the video much more compressible for your MPEG4 codec. (I guess an uncompressed HD movie source would be most horrible to compress to MPEG4) btw. using blend deinterlacing instead of interpolated deinterlacing increases DV compressibility (and mostly doesn't look worse - sometimes even better). I once did some test runs with tomsmocomp and Fielddeinterlace (Decomb) and as far as I can remember tomsmocomp was better (in terms of compressibility) than fielddeinterlace(blend=false) but fielddeinterlace(blend=true) compressed best. Quote:
__________________
"Under a government which imprisons unjustly, the true place for a just man is also a prison" Henry David Thoreau, On the duty of civil disobedience, 1849 Last edited by theReal; 24th June 2004 at 23:41. |
|
|
|
|
|
|
#6 | Link | |
|
Registered User
Join Date: Dec 2003
Location: Brookline, MA
Posts: 76
|
Quote:
|
|
|
|
|
|
|
#7 | Link |
|
Piper at theGates of Dawn
Join Date: Nov 2001
Posts: 2,136
|
Ok, you meant "DVDs look great at half that bitrate (when compressed to MPEG4)"
Then you're absolutely right, of course! ![]() What I understood was "DVDs (=MPEG2 Videos) look great at half that bitrate"
__________________
"Under a government which imprisons unjustly, the true place for a just man is also a prison" Henry David Thoreau, On the duty of civil disobedience, 1849 |
|
|
|
![]() |
|
|