PDA

View Full Version : Converted mkv to mp4; some play, some don't




brian.leveille
Oct 8, 2010, 04:38 PM
I've used mkvtools to extract and re-mux some mkvs and mp4s. 2 out the 3 I've tried actually worked great and look good on the ipad.

The 3rd one won't sync over. Can someone take a look at this media info output and tell me the ipad is rejecting it?


General
Complete name : foorbar.m4v
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 557 MiB
Duration : 21mn 6s
Overall bit rate : 3 688 Kbps


Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Format settings, GOP : M=5, N=32
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 21mn 6s
Bit rate mode : Variable
Bit rate : 3 253 Kbps
Maximum bit rate : 26.9 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.147
Stream size : 491 MiB (88%)
Title : foobar.h264 - Imported with GPAC 0.4.6-DEV (internal rev. 5)
Writing library : x264 core 105 r1732 2b04482
Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=4 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=3253 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2010-10-07 17:53:40
Tagged date : UTC 2010-10-07 17:54:10

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 21mn 6s
Bit rate mode : Variable
Bit rate : 264.6 Kbps
Maximum bit rate : 752 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 40.3 MiB (7%)
Title : /foobar.tempAudio.t0.aac:lang=unknown - Imported with GPAC 0.4.6-DEV (internal rev. 5)
Encoded date : UTC 2010-10-07 17:54:02
Tagged date : UTC 2010-10-07 17:54:10

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 21mn 6s
Bit rate mode : Variable
Bit rate : 156 Kbps
Maximum bit rate : 302 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 23.5 MiB (4%)
Title : /foobar.mkv.tempAudio.t0.added.aac:lang=unknown - Imported with GPAC 0.4.6-DEV (internal rev. 5)
Encoded date : UTC 2010-10-07 17:54:07
Tagged date : UTC 2010-10-07 17:54:10



pruppert
Oct 8, 2010, 06:54 PM
You might check out the Zumocast app. It's free and streams a transcoded version to the iPad from your computer. I discovered it today and am liking it so far.

LinMac
Oct 8, 2010, 07:36 PM
Take a look at the Handbrake presets or http://forum.handbrake.fr/ for information on what the iPad can handle.

bassanoclapper
Oct 9, 2010, 11:52 AM
VLC for iPad
No conversion necessary

kris182
Oct 10, 2010, 12:32 PM
Format profile : High@L4.1

This is the problem. The iPad only supports up to Main profile 3.1.

I have yet to find a quick way around this so had to resort to converting with Air Video or Handbrake.

emmgunn
Oct 10, 2010, 12:57 PM
The High@L4.1 is indeed the problem. Which version of MKVtools are you using? The newest version does a better job of changing the profile level, which needs to be 3.1, so you might want to give it a try. BTW, MKVtools will work with mp4 videos, so you don't need to reprocess the original video. Just passthru the video and audio with the device set to iPad. It should be a fairly quick process.

brian.leveille
Oct 11, 2010, 02:17 PM
emmgunn,

Yes, I just upgraded to the lastest version of mkvtools and it's MUCH better than the old version I was using. The "add stereo audio track" checkbox rocks in that I will have a single file that'll play on both the ipad and soon to arrive in the mail AppleTV2.

I'll definitely be registering the product.

Thanks!

-BL

emmgunn
Oct 11, 2010, 03:30 PM
Hi Brian,
Just so you know, there is a bug with the dual audio that is preventing the ATV from seeing the second audio track. I've got the fix, I just need to code it. Hopefully there will be an update in a day or two.

emmgunn
Oct 11, 2010, 11:59 PM
FYI. Version 2.4.1 is now out, which hopefully fixes the dual audio track issue.

brian.leveille
Oct 15, 2010, 05:31 PM
FYI. Version 2.4.1 is now out, which hopefully fixes the dual audio track issue.

Emmgunn,

I just got my atv2 in the mail today. I ran a few mkv's through 2.4.1 and can't get 5.1 to work. Both tracks playback as 2.0.

My settings are:

video: passthrough
audio: aac5.1 (and add extra 2.0 track)
device: ipad


Should I select a different device type? I select ipad because I'm hoping that the same file will playback on both my new atv2 and my new ipad.

Thoughts?

brian.leveille
Oct 15, 2010, 05:52 PM
Emmgunn,

I just got my atv2 in the mail today. I ran a few mkv's through 2.4.1 and can't get 5.1 to work. Both tracks playback as 2.0.

My settings are:

video: passthrough
audio: aac5.1 (and add extra 2.0 track)
device: ipad


Should I select a different device type? I select ipad because I'm hoping that the same file will playback on both my new atv2 and my new ipad.

Thoughts?


I take that back. I just re-did one and select ac3 - 5.1 (and add 2nd audio track).

It plays back just fine in 5.1 on the new atv2!

Yay!

bwfc0907
Nov 29, 2010, 01:27 PM
Will this only Mux on a mac?