A long standing issue has been the darkening of clips when encoding to MPEG-2 for DVD. Unfortunately the available filters do not seem to operate with the MPEG-2 encoder. Is there any work around to get appropriate brightness levels in the final encode? Since only ffmeg and mpeg2enc are available for conversion to MPEG-2, and neither of these allow brightness adjustment, am I stuck encoding to something else, then reencoding to MPEG-2?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 28 of 28
Thread
-
-
OK, sorry to appear dense!
Are you saying that if I select DVD mpeg2enc in the presets popup, and deselect both QT and mplayer in options, it will use ffmpeg to decode, and mpeg2enc to encode?
2) How will the quality compare to simply selecting the ffmpeg preset at sub 4000kps?
3) If I do this, would setting luminance to around 150 seem appropriate? -
Originally Posted by major
Just wondering if this "improved" decoder will also help the H264 encoding (iPod). Just a thought.
Thanks for all you do! -
Originally Posted by DeusExMachina
Originally Posted by DeusExMachina
Originally Posted by DeusExMachina -
Originally Posted by rumplestiltskin
-
In adjusting luminance and saturation values in the mpeg2enc encoder, all I ended up with is washed out video. Nothing was able to actually increase overall brightness.
-
I, for one, will welcome the improved QT decoder as I usually have video's that do not encode properly without using it. For example: The encoded video will become stark white about 15% through with the audio continuing just fine. Using the QT checkbox seems to prevent this problem.
-
Originally Posted by DeusExMachina
-
OK, so upon additional research, I am increasingly of the opinion that this is not a brightness issue at all, but rather one of gamma correction. Files originally encoded on a mac, or with Windows boxes with well calibrated gamma (I think there must be a few somewhere!) should appear just fine, but ones encoded on Windows or Linux boxes without gamma correction will re-encode dark.
First, is this correct?
Second, is there a way, possibly outside of ffmpegX, to adjust gamma of the clip prior to encoding so that the final output file appears correctly? Can I put the file in a quicktime envelope and edit the quicktime atoms, prehaps? -
Yes, but the problem is that you either have to re-encode, or only export to a file format other than mpeg2, since MPEG Streamclip is based on the Quicktime codecs, and Quicktime does NOT support MPEG2 encoding, and only does decoding grudgingly (like if you pay Apple to get their MPEG2 decoder, which I have.) Instead, Apple relies on Compressor (which I also have) which is so slow as to be useless, and which does NOT do a particularly good job at low bit rates.
-
Sometime avi (DiVX mostly), sometimes ogm (containing whatever) a variety really.
It is not just me; it is a common complaint about encoding to MPEG-2. And since none of the open source codecs appear to allow gamma adjustment (or brightness) there is little to be done about it.
While the paid compression engines, such as Compressor (which I do have), can adjust values, they are terrifically slow and burdensome on system resources.
Still it would be interesting to know if I am correct in my suspicions about it being a gamma problem, since a fix would only involve tweaking the decode side. -
Originally Posted by DeusExMachina
-
The low bitrates of my original files really preclude this, since the extra step in encoding will degrade video quality too much.
Gamma correction, anyone? -
So after yet more research, it appears the issue IS the gamma setting. In particular, the codec supplied by Apple assumes a gamma of 1.8, which is fine, and how it should be, except that most DV codecs decode in a gamma=2.2 space. Although this is technically incorrect for RGB monitors, things are the way they are. Apple, being Apple, has chosen to ignore that, and seems to refuse to write the codec so that it even looks at the gamma value, instead just assuming playback on an Apple monitor, and ignoring any indication to the contrary. Any work-arounds would be greatly appreciated.
-
it amazes me that this mac/pc issue is still ongoing.
how did mac video people ever get by for all these years? (since the vast majority of end users are viewing on PC)
it just boggles my mind.
i use Cleaner, and the gamma correction works ok on that, but it still doesn't look "right" on PC's, looks a little bit washed out.
most of my source files are DV that i shot myself, so i just try to capture things brighter than i normally would...
with all the other issues, especially for mpeg-2, this dark/gamma issue is the least of my worries... -
I ripped one of my DVDs to HD then tried something different. I used MPEG Streamclip to export the VOBs (all at one time) to MJPEG-B and AIFF but bumped the brightness by 20% and the saturation by 30%. I then took the resulting file and used ffmpegX to transcode it to H264 for iPod (with my usual +30% video kbps and a Qmin/max or 3/28 - which is probably excessive but it provides exceptional results). The resulting H264 file looks great, almost exactly like the original DVD. I'll have to try this with some of the AVIs I get to see if this process (yes, it's longer and a PITA) works for them, as well. I'll advise.
-
This is not really a mac vs. pc issue. If the workflow is kept entirely on the mac, there is no problem, since the mac (correctly) sets the gamma value at 1.8. The problem arises on the PC where video that is captured or encoded has a gamma which is set at a value above 2, which the mac (for whatever reason) ignores.
Similar Threads
-
Adjusting the INPUT video???
By pooksahib in forum Video ConversionReplies: 4Last Post: 10th Jan 2011, 00:55 -
Adjusting vobsubs for new AR?
By Xavier in forum SubtitleReplies: 1Last Post: 4th Mar 2009, 11:41 -
Adjusting amount of light
By ProducerHarley in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 1Last Post: 28th Jan 2009, 18:07 -
Adjusting Playback speed?
By Scav2003 in forum MacReplies: 3Last Post: 27th Feb 2008, 11:57 -
Need a SIMPLE editor for adjusting brightness, etc.
By coyotewrw in forum EditingReplies: 8Last Post: 19th Nov 2007, 11:49