Hello everyone!
I hope someone can help me, please!
I need to convert a .flv file into a .m4v file using mencoder.
I'm trying this line:
mencoder input_file.flv -ovc x264 -oac mp3lame -o output_file.m4v
The video works fine on my computer (Quicktime, etc) but it does not work online (streaming).
I've been looking for a solution but nothing found
Can anyone help me??
Thank you very much!
+ Reply to Thread
Results 1 to 7 of 7
-
-
Use aac audio instead of mp3.
But what exactly do you mean by online streaming? Play with a flash video player?
-
Hello Baldrick,
Thank you for answering so fast!
I've tried this one:
mencoder input_file.flv -ovc x264 -oac faac -o output_file.m4v
But it didn't workNow I got this.
- When I play it in my comuter (Quicktime) There's video but no sound.
- When I play it online (using Kaltura HTML5 player) it does not play.
However, this player can play other m4v videos with no problem. So I think the problem comes when I convert the video. -
whats the flv "made of"? if its h263+mp3 i dont think you can wrap and stream it in m4v, if its h264+aac you can:
1- demux flv
2-mux it into mp4 using My MP4Box GUI, your m4v doesnt stream because you need to move the moov atom to the beggining of the file in order to stram it online, check that option in the program when muxing/creating the mp4
http://www.adobe.com/devnet/video/articles/mp4_movie_atom.html
why convert it to m4v? all flash players used to stream video play flvI love it when a plan comes together! -
I will try what you say and post here the results!
Thank you very much for your answer!
The reason to use m4v is because its a webside for Ipad.
Now we have all the videos in flv format but Ipad cannot play flv. So we need to convert them. -
Hello, I solved!
Finally I talked to the hosting staff and they installed the last version of the ffmpeg's libx264.
And it worked fine using just this line:
ffmpeg -i input_file.flv -vcodec libx264 -acodec libfaac outputfile.mp4
The videos works fine on streaming and can be played on Ipad and Iphone.
Thank you very much for your help!
Similar Threads
-
I want to make a streaming server for streaming into a PHP/HTML site
By cassiell2085 in forum Video Streaming DownloadingReplies: 0Last Post: 31st Jan 2012, 09:23 -
Changing .php files
By rotuts in forum MacReplies: 3Last Post: 28th Dec 2008, 14:35 -
SSI to execute ASP or PHP?
By lordsmurf in forum ComputerReplies: 0Last Post: 19th Jun 2008, 05:14 -
php error - viewforumlatest.php?topicdays=1&start=100
By offline in forum FeedbackReplies: 9Last Post: 29th May 2008, 22:52 -
Mencoder doesn't work when called from PHP
By ApplePro in forum Video ConversionReplies: 0Last Post: 18th Jan 2008, 18:01