Okay, so I'm using WinAVI to convert a .mp4 video file to a .rm file. As you may know, this doesn't work because WinAVI won't recognize the file.
So in order for the conversion to work, I used AviSynth:
I open WinAVI, and selected the file with the above code and converted it to a .RM file. The conversion works and I can see video working fine, but there's absolutely no audio.Code:DirectShowSource("[Saizen]_Eyeshield_21_-_54_[DVD][FD881893].mp4")![]()
Can someone help me solve this problem?
+ Reply to Thread
Results 1 to 15 of 15
-
-
Download YAMB
http://yamb.unite-video.com/Yamb-1.6.exe
The above program should allow you to demux your audio from the video
or
Convert the audio to WAV with ffmpeg.exe http://ffdshow.faireal.net/mirror/ffmpeg/
ffmpeg.exe -i "[Saizen]_Eyeshield_21_-_54_[DVD][FD881893].mp4" -vn -y audio.wav
video=DirectShowSource("[Saizen]_Eyeshield_21_-_54_[DVD][FD881893].mp4")
audio=Wavsource("audio.wav")
convertAudiotofloat()
normalize()
return audiodub(audio,video)
The unknown part - I dunno what format your audio is in - AAC perhaps ? ffmpeg should convert directly to wav. -
I doubt you'll need YAMB, now that I think about it.
Download this app to make your life easier -
http://www.roggel.com/cgi-bin/DLCounter/load.cgi?NGNeer/BackgroundCMD/BC_Setup.exe
Once you've installed it, go to the folder where your mp4 file is located. RIGHT CLICK anywhere in that folder and you'll see a choice called "CMD Prompt".
That should give you something that looks like:
C:\>
make sure ffmpeg.exe is in the SAME folder as [Saizen]_Eyeshield_21_-_54_[DVD][FD881893].mp4
so, you'd type in:
C:\>ffmpeg.exe -i "[Saizen]_Eyeshield_21_-_54_[DVD][FD881893].mp4" -vn -y audio.wav
Press ENTER to execute the above command.
That will/should give you a standard WAV audio file called AUDIO.WAV
Look at the modified AVisynth script in my first post to see how to incorporate AUDIO.WAV into the script. -
Same folder as your MP4
BTW - If it all works and you get a RealMedia file with sound, donate the $5 to videohelp.com
https://www.videohelp.com/donate -
I have the same problem as these do:
https://forum.videohelp.com/viewtopic.php?p=1459509#1459509
https://forum.videohelp.com/viewtopic.php?p=1502653#1502653
And they were answered with:
Would that way be easier?
P.S. I edited my above post with the error message I get after typing the command in. -
Originally Posted by Soopafresh
-
OK, no problemo
http://sourceware.mirrors.tds.net/pub/sourceware.org/pthreads-win32/dll-latest/lib/pthreadGC2.dll
Put it in the same folder as ffmpeg.exe -
felguard - yeah, that'll be plan B if it doesn't work. BTW, I have to step out for a bit, so folks, if you'd be so kind the help the guy out in case of no workeee....
I'll check this post in an hour or so.
-
Okay, thanks.
I've got the audio file seperated, but when I insert the following to the AviSynth code with WinAVI to convert...
Code:video=DirectShowSource("[Saizen]_Eyeshield_21_-_54_[DVD][FD881893].mp4") audio=Wavsource("audio.wav") convertAudiotofloat() normalize() return audiodub(audio,video)
-
Nevermind, got the problem solved. Thanks for the help. I will donate $5 to videohelp as you request, thanks again.
Similar Threads
-
TMPGenc Video Mastering Works 5 - MP4 Encoding
By Anakin in forum Video ConversionReplies: 6Last Post: 18th Feb 2012, 09:56 -
Audio/video out of sync after converting (avi to mp4)
By Foxy Gogo in forum Video ConversionReplies: 1Last Post: 10th May 2010, 12:13 -
Converting Divx-AVI to MP4 - Output size option doesn't work
By tomzero in forum ffmpegX general discussionReplies: 6Last Post: 20th Mar 2010, 07:30 -
Converting .rmvb to .mp4 (Audio not synced w/ video)
By mikeeeeyy in forum Video ConversionReplies: 3Last Post: 14th Jan 2009, 23:44 -
Video doesn't show while playing .mp4 files
By shiningwizard in forum Video ConversionReplies: 2Last Post: 17th Jul 2008, 01:16