digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Loading ogm files? (http://www.digitalfaq.com/archives/avisynth/13859-avisynth-loading-ogm.html)

shgr 10-05-2005 08:50 AM

Avisynth: Loading ogm files?
 
hello everyone

long time i have to deal with an ogm video. i remember having succeed but now i need help again.

when i load this script on tmpgenc, it starts encoding but just a black screen.

Code:

DirectshowSource("C:\video3divx5.ogm", fps=30.000)
BilinearResize(320, 190, 4, 0, 632, 352)
aSharp(2, 4)
AddBorders(16, 17, 16, 17)
TextSub("C:\video3.srt")

thank you so much :wink:

Dialhot 10-05-2005 12:00 PM

Are you sure you have the codec used for the video that is in the ogm ?
Let remember that ogm is just a container, not a codec. The video in the container can be xvid, divx or other thing.

Note: you can also open it into virtualdub mod and save it as avi. This will probably remove the audio but who cares ?

shgr 10-05-2005 12:22 PM

thank u, Dialhot

yes, i know that ogm its just a container and i think i have the exact codecs because i can play it in the windows media player with no problems.

Dialhot 10-05-2005 04:05 PM

Quote:

Originally Posted by shgr
yes, i know that ogm its just a container and i think i have the exact codecs because i can play it in the windows media player with no problems.

That's definitely not an answer. BTW this time I did a mistake, this is not a codec that you miss but a directshow filter. Open Graphedit, drag your OGM into it and look at how your file is rendered. You will probably have an error there.

shgr 10-05-2005 11:24 PM

well, i dont know what graphedit is for... but i loaded the file on it... and this is what i got

http://www.digitalfaq.com/archives/error.gif

Dialhot 10-06-2005 05:00 AM

No error in the rendering so you should have no problem.

1/ Try to go into the DirectVobSub configure panel, in the "General" tab, "Loading" section, select "Load when Needed".

2/ Go into the preview of tmpgenc (after load the avs, menu File -> Preview). Do you have a black screen there also ?

3/ Play the avs in a media player, what yo you have ?

4/ add a "Info()" at the end of the script and redo the point 2 and 3. What is the colorspace indicated on the video ?


All times are GMT -5. The time now is 08:13 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.