View Full Version : Encode using mp4 as the input file?
enchant1
25th January 2010, 18:10
The only encoding I've done thus far is by using a .avi as the raw source image. I create a script using AVSEdit, specifying the .avi and a .ass files to create the final encoded mp4 video with subtitles.
Now I only have a .mp4 as a source video. Can I still use Megui to encode in the subtitles?
Thanks for any help.
stax76
25th January 2010, 18:17
There is a better editor called avsp, it's hard to guess what exactly you try to achieve so more details would be helpful.
enchant1
25th January 2010, 18:59
I'm not sure what other details you need. I normally get a .avi video and a .ass file with subtitles. The final objective is a .mp4 video with subtitles. Using VirtualDub, I can extract a .wav file to use with Megui for encoding
But now I've got a .mp4. Along with other incompatibilities, VirtualDub doesn't recognize .mp4 files, so I can't extract the .wav file.
sneaker_ger
25th January 2010, 19:08
Don't really see the problem here. :confused: You should be able to use the following script and MeGUI (or any other GUIs using AviSynth) if you write this script:
video=FFVideoSource("video.mp4")
audio=FFAudioSource("video.mp4")
AudioDub(video, audio)
textsub("subtitle.ass")
Install FFmpegSource (https://forum.doom9.org/showthread.php?goto=newpost&t=127037) and VSFilter.dll (http://xvidvideo.ru/2009-10-22-10-49-14/doc_download/2972-standalonefilters-svn1557x86.html) beforehand.
stax76
25th January 2010, 19:10
From where do you have the AVI, MP4 would be a start and if you aren't aware of rule six it might as well be the end I'm afraid.
enchant1
25th January 2010, 20:23
Don't really see the problem here. :confused: You should be able to use the following script and MeGUI (or any other GUIs using AviSynth) if you write this script:
video=FFVideoSource("video.mp4")
audio=FFAudioSource("audio.mp4")
AudioDub(video, audio)
textsub("subtitle.ass")
Install FFmpegSource (https://forum.doom9.org/showthread.php?goto=newpost&t=127037) and VSFilter.dll (http://xvidvideo.ru/2009-10-22-10-49-14/doc_download/2972-standalonefilters-svn1557x86.html) beforehand.
There may indeed not be a problem, and perhaps your script will work fine.
Can I use the single mp4 as my audio and video source?
One other side question...
I used to use Virtualdub to take a large .avi file and just save a couple minute segment of it for testing purposes. Is there a way I can do this with an mp4?
sneaker_ger
25th January 2010, 20:26
Can I use the single mp4 as my audio and video source?
Yes. I mistyped it in my post. Corrected now.
enchant1
25th January 2010, 22:12
Install FFmpegSource (https://forum.doom9.org/showthread.php?goto=newpost&t=127037) and VSFilter.dll (http://xvidvideo.ru/2009-10-22-10-49-14/doc_download/2972-standalonefilters-svn1557x86.html) beforehand.
Are you sure about those links? One is a forum post by someone complaining about a problem, and the other is a Russian website. That is, unless I have some sort of virus that's altering browser links.
sneaker_ger
25th January 2010, 22:20
The first link was supposed to link the thread, not that specific post. And yes, the link to that russian website is correct. It's a site of a doom9 forum member and is virus free.
enchant1
25th January 2010, 22:43
Thanks. I wasn't suggesting that the site was infected. But a few months back, I got a virus that would take links on a page and change them to go to a different site.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.