Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Subtitles Get Spread
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
sdfa
Posted: Mar 20 2004, 10:47 PM


Unregistered









When i'm trying to add subtitles they get spread
user posted image
When i'm saving the file with other compression(not divx) i don't have this problem.
 
  Top
Cyberman
Posted: Mar 20 2004, 11:00 PM


Advanced Member


Group: Members
Posts: 2035
Member No.: 3477
Joined: 3-April 03



Probably not enough bitrate. Especially since it´s white on black - I can hear the codec screaming, in it´s pain. ;-)

Try to give it more bitrate - you´re using 2-pass already, right? If not, do so.
Also, it might be worth a try to run a smoothing filter over it first. Not enough to blurr, but enough to make the edge not as razor-sharp as it is now. That should help the codec.

--------------------
Matroska/MKV ?
 
    Top
sdfa
Posted: Mar 20 2004, 11:23 PM


Unregistered









which one i need to choose?
multipass 1stpass or multipass nth pass?
 
  Top
Cyberman
Posted: Mar 20 2004, 11:30 PM


Advanced Member


Group: Members
Posts: 2035
Member No.: 3477
Joined: 3-April 03



Both.
First 1st pass, then n-th pass. The second pass(n-th pass) can be repeated. I´d recommend two times.
You´ll have to save the avi again to do that, so if you´re filtering, you might want to save the filtering first, use HuffYuv for that, so you don´t lose quality, otherwise it´d take longer than necessary, as the filters would have to do the work each time, even if the video´s "just" being examined(first pass).

--------------------
Matroska/MKV ?
 
    Top
sdfa
Posted: Mar 20 2004, 11:40 PM


Unregistered









what do you meen both?
and what is HuffYuv ?
write me exactly what to do please
 
  Top
stephanV
Posted: Mar 21 2004, 01:48 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



huffyuv is a lossless codec (that means you wont lose any quality using this codec, unlike DivX which is a 'loosy' codec)
you can find huffyuv on this page
HuffYuv is a good codec if youre using filters coz it wont mess up the quality of your file and you only need to use filters once with this codec (what you see is what you get)

afterwards you can encode the file using multipassing with DivX (make sure youve disabled all filters used before), first select 'multipass, 1st pass', afterwards use multifpass nth pass with logfile created... you can choose either to rewrite the logfile or not depending on how much passes you wanna do

id suggest to not rewrite the logfile and see how the second pass works out,
this way you can repeat the second pass and adjust bitrate accordingly (higher bitrate for more quality, lower bitrate for smaller filesize)

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
sdfa
Posted: Mar 25 2004, 12:08 PM


Unregistered









when i'm usung the huffyuv i don't have the problem but when i'm encoding the huffyuv with divx it's doing problems again
 
  Top
stephanV
Posted: Mar 25 2004, 12:41 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



i think you might have misinterpret what we've said rolleyes.gif

DivX is having problems with sharp edges or transitions, in this case the transition from white (the subtitles) to black (the bar)
so what Cyberman suggested was: give it more bitrate, use 2 passes and a smoothening filter to make the transition a little bit more easy for DivX
the problem with smoothenin is that your are smudging the subtitles, so they might become a bit vague or blurry

anyway, the reason for using huffyuv was to put this smoothening filter on, because its a lossless codec. the effect of the filter isnt messed up by DivX that way, which as you can see is already blurring the subtitles by itself (in other words: do one thing at a time)

if you used the smoothening filter already and still get bad results there are some other options depending on what it is you want with the video:

- if you only want to play the video on your computer the best option would be using soft-subs, you just keep your subtitle-textfile the way it is, well, read this
you could also go for the matroska format in which you can keep your subtitle track as seperate stream and turn it on and off to your liking, but its a little more complicated and doesnt really add to the above (i do it though tongue.gif)

both options, require no re-encoding at all, which is what you actually want in most cases

- if you want to watch on your DVD player you could try frameserving to TMPGEnc, heres a tutorial for that, it will transfer your files to MPEG1 and will give you about 60 to 70 minutes on a VCD

its not an as good compression as DivX (in filesize i mean), but in my experience it has less problems with subtitles
first i tried to encode subtitles with DivX too, but gave up on that. so far, i havent had any subtitle problems with MPEG1

anyway, most of your movies will occupy 2 CD's that way, but hey, thats a small price to pay i think biggrin.gif (you can cut MPEG's in TMPGEnc too)

of course, you could also try a different MPEG4-codec if your DVD-player will support that... although i doubt it will give better results

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
fccHandler
Posted: Mar 25 2004, 04:43 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



Umm, I think you are all clueless. tongue.gif

To me, the artifacts circled in the screen shot look exactly like the deblocking bug which affects the DivX 5.1.1 decoder. If so, the smeared blocks are not present in the encoded file and it will not help to reencode it! The deblocking bug has been discussed several times on the DivX forums:

Pixelation along vertical surfaces
XviD decoding artifacts
Deblocking bug remains

The good news is, a fix for the DirectShow decoder was released last month:

New installers & DivX decoder deblocking fix!

AFAIK the VFW decoder (which VirtualDub uses for playback) still has the bug, but the above link describes how to disable its post-processing in the registry.

--------------------
May the FOURCC be with you...
 
     Top
ChristianHJW
Posted: Mar 25 2004, 08:31 PM


Advanced Member


Group: Moderators
Posts: 1768
Member No.: 2
Joined: 7-July 02



... hardcoded subs should be legally forbidden biggrin.gif ......

--------------------
Visit the unofficial Virtualdub support forum on http://forums.virtualdub.org - help to reduce the big number of emails Avery Lee is getting every day !!
Support matroska as container and Gstreamer as the only truely open, x-platform multimedia platform ....
 
       Top
stephanV
Posted: Mar 25 2004, 09:00 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (fccHandler @ Mar 25 2004, 05:43 PM)
Umm, I think you are all clueless. tongue.gif


well, we cant know everything biggrin.gif

QUOTE

AFAIK the VFW decoder (which VirtualDub uses for playback) still has the bug, but the above link describes how to disable its post-processing in the registry.


i recently re-installed DivX 5.1.1 (2 weeks ago i think) and the post-processing value was set standard at 0, so they have fixed that too, well, they got around it so to speak laugh.gif

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
Cyberman
Posted: Mar 25 2004, 09:07 PM


Advanced Member


Group: Members
Posts: 2035
Member No.: 3477
Joined: 3-April 03



QUOTE (ChristianHJW @ Mar 25 2004, 09:31 PM)
... hardcoded subs should be legally forbidden biggrin.gif ......

There are by far worse things...
(Like encoding a video without smoothing it first, although there are blocks SCREAMING at you - every time I watch it, I can hear the codec writhe in agony...)

--------------------
Matroska/MKV ?
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
11 replies since Mar 20 2004, 10:47 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion