0

I'm trying to convert OVG to MP4 H.264 valid format for use in HTML5 video. I tryid this:

ffmpeg -i video_source_file.ogv -vcodec libx264 -vpre ipod640 -b 250k -bt 50k -acodec libfaac -ab 56k -ac 2 -s 480x320 video_out_file.mp4 

But the generated format is invalid for Internet Explorer 9 and 10. Other H.264 videos works fine. VLC says that the generated video is H.264.

It only happens when I try to convert ogv/ogg valid videos to mp4 H.264.

I also tried many options in ffmpeg2theora, but it appears only to convert files to theora. I thought this might help, but I could not generate a valid H.264.

How to make it work?

1
  • Complete ffmpeg console output is missing. Commented Jan 5, 2013 at 21:04

1 Answer 1

1

It appears to work:

ffmpeg.exe -y -i in.ogv -vcodec libx264 -vpre libx264-lossless_max out.mp4

Sign up to request clarification or add additional context in comments.

1 Comment

,any suggestions about how to do this in reverse? From an h.264 file that is suitable for streaming from Wowza to iOS devices?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.