User User name Password  
   
Tuesday 30.9.2025 / 16:46
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > consoles > ps3 - modding & hacking > need help with avisynth
Show topics
 
Forums
Forums
Need help with AviSynth
  Jump to:
 
Posted Message
KajNrig
Senior Member
_
5. August 2008 @ 02:40 _ Link to this message    Send private message to this user   
I'm not sure if this should go into the larger PS3 compatible video thread or not, but if it should, then by all means, close/move it.

Anyway.

What I'm doing is converting my ~300 MB .mkv file to a .m2ts file that can be played on my PS3.

The streams in the .mkv are:

Video - file.h264
Audio - file2.aac
Subtitles - file3.ass

What I did before was demux the audio and subs. I'd write a short avs script to hardsub the .ass into the video.

----

DirectShowSource("C:/file.mkv", 23.976)
LoadPlugin("C:/vsfilter.dll")
TextSub("C:/file3.ass")

----

I'd use MeGUI to do the encoding with an x264 encoder. The output was an .mkv file.

Then I'd convert the .aac to 640 kbps .ac3 (also using MeGUI). (This increases the audio's size from ~25 MB to ~100 MB.)

Lastly, I'd mux the new .mkv and .ac3 into a .m2ts file.

However, I've come across a new plugin for AviSynth (correct?) called "DGAVCDecoder.dll" (I found it over in Doom9).

So I followed what the directions said and wrote this new script:

----

LoadPlugin("DGAVCDecoder.dll")
video = AVCSource("C:/file.dga")
audio = DirectShowSource("C:/file2.ac3")
AudioDub(video, audio)
LoadPlugin("C:/vsfilter.dll")
TextSub("C:/file3.ass")

----

I loaded up this new script in VDM (VirtualDubMod), and everything was perfect.

However, I don't know what I should save this as. Specifically, I don't know which compressor I should use (Xvid, DivX, etc.).

Ideally, I'd like to use x264, since that's the only one I know of that is meant for HD files, but that's not an option in VDM.

Does anyone know of any programs that would work well with that script and be able to export it as an .mkv encoded with x264? I'd like to keep the video quality roughly the same (around 250-300 MB).

If there's a way to get VDM to recognize x264, that'd be great, too.

Or if anybody's got any general info on encoding this thing in general, that'd also be just as great.

Thanks for any and all help.
afterdawn.com > forums > consoles > ps3 - modding & hacking > need help with avisynth
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork