2006-01-19, 21:41 | Link #1 |
Junior Member
Join Date: Jan 2006
|
Divx subtitle dilema
I have read most of the info containing stuff about how to fix files so that they play normal on a TV without losing the subtitles. What I can't find is if you can do this process with a divx .avi file and it still be playable in a divx DVD player.
All I want to do is be able to play the anime on TV being able to see the subtitles. I DO NOT WANT to have to make a DVD disc, i just want the files to stay divx and be able to be read by a DVD player that can play divx. Any help would be greatly appreciated. |
2006-01-23, 01:58 | Link #4 |
Translator, Producer
Join Date: Nov 2003
Location: Tokyo, Japan
Age: 44
|
Hmm, this raises an interesting question... Does divx have a built in pixel aspect ratio parameter like AVC video does? If that's the case, and the hardware player supports it, you might be able to change the PAR from default 1:1 to something a little squished vertically... then you squish the video a bit vertically when it's played and you probably don't chop off the subs. The advantage to this would be in not reencoding, but it would also screw up the AR a little on display...
This of course depends on 1. Whether such a paramter exists in divx files, and whether one could change it easily without reencoding (which I have no idea) and 2. Whether hardware players would even pay attention to such a parameter if it existed...
__________________
|
2006-01-26, 22:32 | Link #8 |
Senior Member
|
Download and install Avisynth. Then open notepad and save the following (replacing "g:\bla.avi" with the path to your AVI file) as bla.avs:
Code:
AVISource("g:\bla.avi") Lanczos4Resize(650,334) *for fullscreen, use (650,432) AddBorders(35,73,35,73) *for fullscreen, use (35,24,35,24) |
2006-01-28, 14:27 | Link #9 | |
Junior Member
Join Date: Jan 2006
|
Quote:
|
|
2006-01-28, 20:16 | Link #10 |
Junior Member
Join Date: Jan 2006
|
frad, I tried to use avisynth with virtualdubmod BUT it keeps giving me an error message that says the width is not divisble by 4??? what do I need to change the resize to (650,432 doesn't work) so that I can actually run it thru VDUB?
And to the latest post before this one, does lightalloy reencode the files so that the subtitles work properly, or is it just a media player |
2006-01-28, 20:52 | Link #11 | |
Senior Member
|
Quoted from here:
Quote:
|
|
2006-01-29, 10:05 | Link #12 |
Junior Member
Join Date: Jan 2006
|
Works BUT.... weird line
OK finally got it to go thru Vdub:
AVISource("myavi.avi") Lanczos4Resize(640,480) AddBorders(36,24,36,24) I had to use the original video size and just used borders to shrink it. BUT when i run it thru Vdub it comes out with a verticle line that is discolored on the right side of the picture and its not on the original file. How can I get rid of that line? |
2006-01-29, 14:29 | Link #13 |
King of Hosers
Join Date: Dec 2005
Age: 41
|
712x528 is not a proper res to encode anything at, which is why you have that line. Be sure after the borders that the width is at least mod16 (divisible by 16), that will make everything better. The height doesn't matter as much as long as it is mod2 the xvid/divx/lavc decoders will handle it fine, I don't know about a DivX Playback Device though. The ideal situation would be to make both of them mod32, guaranteed to have no funky lines then.
|
2006-01-29, 15:04 | Link #14 |
Junior Member
Join Date: Jan 2006
|
uhhhh...
I don't know where you got 712x528 but i left the original resolution of the file the same (640x480) and added the borders to shrink it down (which appears to have worked).
To make matters worse when i watch the output file thru VDUB i don't see the line at all. Its only when i play it back with something like WMplayer or Core Media Player that the line shows up. any ideas??? Also of interest if I try to play the file back thru VDub it gives me an error and crashes. Could it be because I am using DIvx 6.1 instead of 5.2.1? |
2006-01-29, 15:41 | Link #15 |
Junior Member
Join Date: Jan 2006
|
Sweeeeet
Ok i got rid of the line.
I don't know if it was because I switched back to Divx 5.2.1 OR if it is because I changed the border from 36,24,36,24 TO 32,24,36,24 Now I need to see if that fixes it and IF it will play on a DVD divx player I'll keep any interested posted |
2006-01-29, 20:21 | Link #16 |
Junior Member
Join Date: Jan 2006
|
It worked BUT
Yeah it worked and resized the file so I could see the subtitles. The quality of the new video is seriously lacking. Any fast movements and the picture become pixelated to where its almost blurry.
Is there a way to encode the with VDUBMOD so that little or no quality is lost. I even did it using "Full Processing Mode" without "Fast Recompression" and it is still that way. If i try and use "Direct Stream Copy" it gives me a file that is 17GB!!! WHat now?? Last edited by TaoMaster; 2006-01-29 at 21:11. |
2006-01-30, 08:32 | Link #17 |
King of Hosers
Join Date: Dec 2005
Age: 41
|
Unfortunately it seems you have no idea what you are doing at all ;-;
By the way adding borders does not shrink down the video. It adds bordrs to what you already have. That is how I counted 712x528 before. Unfortunately with your new values the video is now 708x528, also not really compliant. Though it may work on your computer as I said with very advanced hackery and good decoders the line may not be there, however your DivX Playback Device/Drive/whatever is likely going to freak out on it. Direct Stream Copy will copy the video directly to uncompressed RGB, the only difference between Fast Recompress and Full Processing is which colorspace is used to process the video. You don't want to use Full Processing unless you plan on using any VDub filters because you want to work in the native colorspace of the video, which is YV12, Full Processing works with the video in RGB32. Any re-encoding always devalues the quality of the video, I wouldn't expect much in the first place. However since I particularly think that DivX's new 6 version is extremely worse then ever before I would recommend using XviD and encode with the DivX certified parameters and simply change the FourCC to DX50 then. Encode with a low quantizer and you will theoretically preserve more quality. The less advanced options you use the second encoding around the better. Since you are more interested in preserving the already compressed video there are no special options that will make it look better, only compress it moreso. Which seems to me that you just want to add borders, not really compress more. Turn off the cool options, crank down the quantizer, and watch the filesize balloon (but it won't be anywhere near 17GB, maybe a little less then double filesize). |
2006-01-30, 13:35 | Link #18 |
Junior Member
Join Date: Jan 2006
|
You are correct. I have no idea what I am doing.
The only thing I did differently in the Avisynth script was add borders. I left the screen size the same as the file. When played on a DVD player the added borders made the video smaller so that I could see the subtitles. As far as: "Turn off the cool options, crank down the quantizer, and watch the filesize balloon (but it won't be anywhere near 17GB, maybe a little less then double filesize)." How do I do that using VDUB or is there another program to use instead. I just want to read the subtitles and not change any picture quality. Is there no easy way to resize the image without changing quality? |
2006-01-30, 15:26 | Link #20 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
__________________
|
|
|
|