So I've downloaded some content off my tivo box, converted it to mpg using direct show dump, and now I want to dork around with it. Perhaps serve up some content to my xbox360 via media player, whatever, the details are about me learning what I'm doing, so answers along the lines of "poke around on this site", or "take a look at this tool", are exactly what I'm looking for. My first pothole is around using dgindex to create an avs script that I can use to load into VirtualDub. My script is simple enough: LoadPlugin("C:\Program Files\DGDecode\DGDecode.dll") MPEG2Source("Firefly.d2v") (love that show) I load it up into Virtual dub, and the aspect is stuck in 1:1 (480x480). I tried editing the d2v file, I tried tweaking it in VirtualDub. No joy. Any hints? The mpg looks and plays fine in media player so the source is ok I think, but curiously video inspector lists the AR as 1:1 (480x480), so perhaps my problem is in the source mpg itself? Any tips for modifying that? Or should I use avisynth to fix it??
Bad form to respond to my own post and all, but... Avisynth rocks. All kinds of very cool rezise functions in avisynth that fix the problem nicely. BilinearResize seemed to be the ideal one for my use case.
@dlindner Answer as many as you please and can you post the script that you used. BTW does it indicate the DAR as being 16:9 or 4:3? I ask because 480x480 is 2/3? of D1 and if the player sees the correct flag, it displays properly.
Sure, so here's the script (plus some extra tweaks), that produces some a nice output: # load video via dgindex LoadPlugin("C:\Program Files\DGDecode\DGDecode.dll") MPEG2Source("Firefly.d2v").BiLinearResize(640,480) # deinterlace LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\decomb.dll") # DoubleWeave FieldDeinterlace # resize to fix AR of original video = MPEG2Source("Firefly.d2v").BiLinearResize(640,480) # original audio vs. extracted wav file audio = MPASource("Firefly.mp2", normalize = false) # audio = WAVSource("Firefly.wav") # mux it up AudioDub(video, audio) # sync audio DelayAudio(0.4)
BTW I found no indication of DAR, but perhaps I was looking in the wrong place. The only thing video inspector shows is the AR which is listed as (1.00:1). Is there another tool that will analyze the mpeg stream and tell me more about it?
Thank you for the script. 'GSpot' generally used to verify codecs, displays aspect ratios and other information. http://www.afterdawn.com/software/video_software/video_tools/gspot.cfm