Converting MP4

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Converting MP4

Postby [Mike of the Desert] » Mon Aug 27, 2007 10:03 am

Hi Guys, I need your help, I can't find a way to convert a Mp4 file to any other. :?
I don't mind too much about quality this time, I just need it fast, and since Avisynth gives me a lot of errors if I try to DirectShow it, I really don't know what to do. ;\

Any idea?
ImageImage
Image
User avatar
[Mike of the Desert]
 
Joined: 25 Jul 2003
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Status: Lonely

Re: Converting MP4

Postby Rapture** » Mon Aug 27, 2007 10:30 am

Michele wrote:since Avisynth gives me a lot of errors if I try to DirectShow it, I really don't know what to do. ;\

Any idea?


I don't really know any other way around it,but about AviSynth errors... Can you please discribe those errors? (inserting here those lines would really help...) I've had quite a lot problems myself when I was trying out AviSynth,but I've learned to fix 'em,so maybe I'll be able to help you with yours too.
:D I like laughter ;DD
ImageImage
User avatar
Rapture**
 
Joined: 23 Nov 2006
Location: Vilnius , Lithuania

Postby [Mike of the Desert] » Mon Aug 27, 2007 10:44 am

It would be great.. The problem is that when I try to run the scrypt (done by one single line of text) it says 'Evaluate: Unrecognized Exception!'
ImageImage
Image
User avatar
[Mike of the Desert]
 
Joined: 25 Jul 2003
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Status: Lonely

Postby Rapture** » Mon Aug 27, 2007 10:58 am

Michele wrote:'Evaluate: Unrecognized Exception!'


Hmm.. That looks familiar.. :?

Script please?
:D I like laughter ;DD
ImageImage
User avatar
Rapture**
 
Joined: 23 Nov 2006
Location: Vilnius , Lithuania

Postby Rapture** » Mon Aug 27, 2007 11:00 am

Damn,I just keep forgetting there is no edit button here :x

AviSynth,VDubMod and AMVApp versions?
:D I like laughter ;DD
ImageImage
User avatar
Rapture**
 
Joined: 23 Nov 2006
Location: Vilnius , Lithuania

Postby [Mike of the Desert] » Mon Aug 27, 2007 11:04 am

Scrypt:

Directshowsource('Video.mp4')

Versions:

AmvApp's
ImageImage
Image
User avatar
[Mike of the Desert]
 
Joined: 25 Jul 2003
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Status: Lonely

Postby Qyot27 » Mon Aug 27, 2007 12:30 pm

You could always try FFmpegSource (you'll want version 1.9 in order to avoid the stack overflow error):
http://forum.doom9.org/showthread.php?t=127037
(put FFmpegSource.dll in AviSynth's plugins folder, and everything else in C:\WINDOWS\system32, overwriting any duplicates that occur)

It seems to work perfectly fine with MP4 files, and according to the thread, it's frame accurate - something DirectShow can't claim (plus it doesn't produce those grey frames at the end of the video like DirectShowSource does). Audio is turned off by default, so you'll need to write the script like this if you want audio:
Code: Select all
FFmpegSource("video.mp4",atrack=-1)

Just hope that the file doesn't have a variable frame rate, as there's nothing in the development thread to suggest that it maintains audio sync with VFR (only that it uses average framerate, but that means shit when trying to convert the thing to CFR and maintain absolute sync - for that, DirectShowSource's convertfps function still excels). Note I'm basing this on assumption due to what was actually said there - I have very few VFR files, and all the ones I'm aware of that were VFR were WMVs, not MP4s.
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby [Mike of the Desert] » Mon Aug 27, 2007 1:05 pm

Thanks. ^^
So.. I have to disinstall AviSynth and go searching the older version? :o
k, I'll try that. :idea:
ImageImage
Image
User avatar
[Mike of the Desert]
 
Joined: 25 Jul 2003
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Status: Lonely

Postby Qyot27 » Mon Aug 27, 2007 1:30 pm

Michele wrote:Thanks. ^^
So.. I have to disinstall AviSynth and go searching the older version? :o
k, I'll try that. :idea:

No, that's version 1.9 of FFmpegSource, not AviSynth. It's meant for the current version of AviSynth (the 2.5 series, which is included in the AMVapp).
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby [Mike of the Desert] » Mon Aug 27, 2007 2:45 pm

Qyot27 wrote:
Michele wrote:Thanks. ^^
So.. I have to disinstall AviSynth and go searching the older version? :o
k, I'll try that. :idea:

No, that's version 1.9 of FFmpegSource, not AviSynth. It's meant for the current version of AviSynth (the 2.5 series, which is included in the AMVapp).


:oops: Got it, thanks. ^-^''
ImageImage
Image
User avatar
[Mike of the Desert]
 
Joined: 25 Jul 2003
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Status: Lonely

Postby Rapture** » Mon Aug 27, 2007 5:17 pm

Qyot27 wrote:
Michele wrote:Thanks. ^^
So.. I have to disinstall AviSynth and go searching the older version? :o
k, I'll try that. :idea:

No, that's version 1.9 of FFmpegSource, not AviSynth. It's meant for the current version of AviSynth (the 2.5 series, which is included in the AMVapp).


It's in the AMVApp 3 beta... >.>

Anyway - seems that I didn't get here by time.. Will add this to my problem-solving list :D
:D I like laughter ;DD
ImageImage
User avatar
Rapture**
 
Joined: 23 Nov 2006
Location: Vilnius , Lithuania

Postby Qyot27 » Mon Aug 27, 2007 8:04 pm

Rapture** wrote:
Qyot27 wrote:
Michele wrote:Thanks. ^^
So.. I have to disinstall AviSynth and go searching the older version? :o
k, I'll try that. :idea:

No, that's version 1.9 of FFmpegSource, not AviSynth. It's meant for the current version of AviSynth (the 2.5 series, which is included in the AMVapp).


It's in the AMVApp 3 beta... >.>

Which is? AviSynth is a given, are you referring to the FFmpegSource plugin? Even if that plugin is in there, it'd have to have been revised fairly recently to have v1.9, since that was only released a couple days ago. Versions of the plugin before 1.9 have a stack overflow error that occurs for some files, notably MKVs, although I think it would happen on others as well. Version 1.9 fixes that and adds some other functionality which make it better suited even though it's marked as a FLAC audio cache testing build.
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby Rapture** » Mon Aug 27, 2007 11:51 pm

Qyot27 wrote:Which is? AviSynth is a given, are you referring to the FFmpegSource plugin? Even if that plugin is in there, it'd have to have been revised fairly recently to have v1.9, since that was only released a couple days ago. Versions of the plugin before 1.9 have a stack overflow error that occurs for some files, notably MKVs, although I think it would happen on others as well. Version 1.9 fixes that and adds some other functionality which make it better suited even though it's marked as a FLAC audio cache testing build.


Oops,I've misread a bit,pardon,I haven't slept all night lol ^^
:D I like laughter ;DD
ImageImage
User avatar
Rapture**
 
Joined: 23 Nov 2006
Location: Vilnius , Lithuania

Postby [Mike of the Desert] » Tue Aug 28, 2007 5:29 am

Serious Thanks guys. :*
ImageImage
Image
User avatar
[Mike of the Desert]
 
Joined: 25 Jul 2003
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Status: Lonely

Postby Tab. » Wed Aug 29, 2007 1:21 am

You need to enter a framerate for directshowsource.
◔ ◡ ◔
User avatar
Tab.
 
Joined: 13 May 2003
Location: gayville
Status: SLP

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest