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?
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 work Now 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
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!