You are not logged in.

#1 2009-03-03 00:37:21

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Converting MKV to MP4 for use on Xbox 360

Ive tried this a few times and windows and it never worked correctly, so I figured I'd give it a shot in linux. I found this on the ubuntu forums and adapted it to arch and made sure I had everything installed. I have everything except libgsm which I cant find and '--enable-liba52' isnt recognized by configure.

I configured ffmpeg with this:

./configure --enable-gpl --enable-pp --enable-libvorbis --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-libxvid --enable-libx264 --enable-pthreads --enable-nonfree

then made and installed it.

I  ran it with this command:

ffmpeg -y -i Underworld.mkv -vcodec libx264 -b 2250 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -me umh -subq 5 -trellis 1 -refs 5 -bf 3 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt "$vbitrate" -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 41 -acodec libfaac -ac 2 -ar 48000 -ab "$abitrate" -f mov underworld.mp4

and this is what I get:

  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52.10. 0 / 52.10. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jan  9 2009 05:22:27, gcc: 4.3.2
Input #0, matroska, from 'Underworld.mkv':
  Duration: 02:01:07.48, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 23.98 tb(r)
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16
    Stream #0.2(eng): Subtitle: 0x0000
    Stream #0.3: Attachment: 0x0000
ffmpeg: unrecognized option '-me'

I keep on trying to mess with it but everytime I fix something theres another problem can someone help me?

Last edited by brando56894 (2009-03-03 00:52:56)

Offline

#2 2009-03-03 01:03:19

ogronom
Member
From: Toronto, Canada
Registered: 2008-05-06
Posts: 123

Re: Converting MKV to MP4 for use on Xbox 360

He says that '-me' is not a known option. (And I didn't find anything about it in the man page)
Did you tried without it?

By the way your video stream is already h264, you don't need to recode it again. "-vcodec copy" should be fine.

Try to write options to ffmpeg yourself. I don't know the application of almost every parameter. sad

Last edited by ogronom (2009-03-03 01:07:27)

Offline

#3 2009-03-03 01:08:58

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Converting MKV to MP4 for use on Xbox 360

It's -me_method.

Offline

#4 2009-03-03 03:36:10

rsambuca
Member
From: Calgary, Canada
Registered: 2008-07-21
Posts: 143

Re: Converting MKV to MP4 for use on Xbox 360

For converting the high def mkv files to mp4 for the 360, I just use Avidemux.  For the video, I just select "copy", and for audio, I have it convert to aac.  You then just have to save it with the .mov extension and it plays and streams perfectly using ushare.

Offline

#5 2009-03-03 03:39:55

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Converting MKV to MP4 for use on Xbox 360

MP4 and MKV are media containers. They contain video and audio streams. You can easily go between them with mp4box and mkvtoolnix, respectively.

It's also possible the audio and video streams you had in the MKV are not compatible with the 360, but deal with this only if you have to. The tool MediaInfo is excellent for finding details on media and discovering if it will play on standalone players.

Offline

Board footer

Powered by FluxBB