View Full Version : SubRip, AviSynth, and Divx 3.11
Xagest
9th November 2005, 07:21
I'm kinda in a bind here. I can't seem to get Subrip with work with AviSynth on a Divx 3.11 video. When I load the video into Subrip, I just get black frames. The script is fairly simple (load up avi, then resize it in an insane resolution to make letters more readable). The script works fine on any other video, just not Divx 3.11 vids. It's driving me nuts XP
I also want to apologize in advance on asking a question as my first post on this forum. It's not good netiquet (in my book, at least), but I hope you'll look past that and lend me a hand ^_^;
ai4spam
9th November 2005, 19:53
Hmm, the resizing didn't occur to me - good job! You may also want to do some cropping if you want SubRip to finish a movie in less than a day ;). Don't make the characters larger than 80x40 pixels or so, SubRip won't recognize them if you do. There may also be some maximum size that SubRip may accept (should be around 2000 pixels on a side), so that may be a reason for not getting anything.
Your problem may also be due to your AviSynth install. Do the scripts play with a media player? Try some other codec pack, or even register ffdShow to play DivX 3.11.
Xagest
10th November 2005, 00:40
The scripts play fine in WMP and BSPlayer, just not in SubRip. I've tried reinstalling AviSynth to no avail, and not completely sure how to get ffdshow to play Divx 3.11 (took me forever to find a codec that could play 3.11 in the first place XP).
ai4spam
11th November 2005, 02:02
What's the final size? Do DivX3.11 movies work without the resizing? Better yet, can you copy&paste the script here? Again, try cropping as well.
If anyone else is having this problem, there may be some compatibility issue in image formats, similar to the "transparent window" bug. Maybe your decoder doesn't know how to give RGB (you should have gotten a warning) or says it does, but gives black instead.
Xagest
12th November 2005, 22:03
AviSource("g1.avi")
BicubicResize(960,720,0,.75)
That's pretty much it. And the video doesn't work without the bicubic resize either. If I changed the avi to a different video with a different codec, it works just fine. It just does not want to work with this particular set of videos.
ai4spam
14th November 2005, 07:52
Yet the exact same script works fine with any video player? Let me know if it does, and I'll try to investigate further.
Also, try the ConvertToRGB24 and ConvertToRGB32 filters as well, and let me know if they change anything.
Xagest
15th November 2005, 00:07
Sweet, ConvertToRGB24() worked perfectly. Much thanks ^_^
ai4spam
15th November 2005, 00:36
Hmm, thanks for the feedback. I'll include it in the default script so people won't get this problem again (the filter is supposed to be pass-through if the source is already RGB24).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.