Quote:
Originally Posted by Doom9
If I can load the AviSynth script (e.g. you get a working preview window), then I have to assume it can be read. But, do you get that? You should see the video in the preview.. the thing is.. AviSynth displays a short video with the error if there's an internal error that isn't fatal. MPEG2Source expects a DGIndex project file though..
I'm afraid that's how it work.. if the AviSynth scrip can be opened with the AviFile API it is up to the user to decide if what he sees in the preview makes sense, and if it doesn't, fix it.
Create a dgindex project from your mpg file and load that via mpeg2source and everything should be okay.
That's normal.. it never has and never will. You'll find me asking the same thing in this very forum (not the same thread though I think).
|
Well I fixed one careless mistake...turns out that MPEG2 file in the avs file didn't exist since I reinstalled Windows and moved the documents dir...so I changed that...
Yeah it wasn't showing in the preview. So now I use DirectShowSource and it works just fine.
Now the audio and video encode fine but I can't get MP4Box to run from the queue...nothing is logged in regard to MP4Box.
A command line like this worked for me:
PHP Code:
C:\tools\megui>mp4box -add "C:\Documents and Settings\unknown\Desktop\may31rawaudio.mp4" -add "C:\Documents and Settings\unknown\Desktop\may31raw.m4v" -new "C:\Documents and Settings\unknown\Desktop\may31.mp4"
IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels) - SBR AAC
IsoMedia import - track ID 2 - media type odsm sub-type MPEG
IsoMedia import - track ID 3 - media type sdsm sub-type MPEG
MPEG-4 Video import - 720 x 480 @ 25.0000 FPS
Indicated Profile: Simple Profile @ Level 3
Import results: 500 VOPs (14 Is - 486 Ps)
Converting to ISMA Audio-Video MP4 file...
Saving may31.mp4: 0.500 secs Interleaving
Then after all that I can't play the file but I guess that's a separate issue.
Also, should the FPS stay at 29.97 for NTSC video? Do I need to add fps=29.97 at the end of my DirectShowSource command?
Alright now the audio plays with mplayerc and video plays with Moonlight player...