Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th September 2010, 14:05   #1  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 756
MKV to MP4 Questions

I must be utterly stupid, it seems Googling around finds either no one in the world wants to convert MKV to MP4 for iphone uses or everyone knows how to do it themself.

But can someone just point me to a Simple to use Program / method to do so?

I have MKV files with H.264 Main Profile Video and AAC Audio, all i need is a different container. NO Re-encoding.

I try GOTSent, it hasn't been updated and i dont understand why it is trying to re-encode my audio again. Not to mention it is slow. I have nearly 100 files and i dont have all day....

I thought taking the "Meat" out of an container to another container would be a simple procedure, but it seems not so.
iwod is offline   Reply With Quote
Old 14th September 2010, 14:13   #2  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by iwod View Post
I thought taking the "Meat" out of an container to another container would be a simple procedure, but it seems not so.
YAMB should do what you require.
rack04 is offline   Reply With Quote
Old 14th September 2010, 14:16   #3  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Get this ffmpeg build.
Usage:
ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4 (IIRC)
sneaker_ger is offline   Reply With Quote
Old 14th September 2010, 15:03   #4  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 756
Quote:
Originally Posted by sneaker_ger View Post
Get this ffmpeg build.
Usage:
ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4 (IIRC)
I was about to post my new finding and i saw this, Why do i have to use this specific build?
iwod is offline   Reply With Quote
Old 14th September 2010, 16:11   #5  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Vanilla ffmpeg is bugged in a way that the output file would be broken and work only in some players. The conversion might even fail completely. Roozhou fixed that in his own build.
At least that was the case in/until July - maybe the devs have fixed this in the meantime. I don't know.
sneaker_ger is offline   Reply With Quote
Old 14th September 2010, 17:36   #6  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 756
Well at least the current FFmpeg 0.6 didn't work with that command line.

However out of the 5 file i tried 4 of them dont play at all on my iPhone. But all of them played on my Computer. Which is very annoying.

35 played, but 33 dont. And i cant spot a single difference....

P.S - I meant iTunes doesn't allow me to copy the file over,

Code:
General
Complete name                    : G:\Ch\Ch33.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 646 MiB
Duration                         : 49mn 59s
Overall bit rate                 : 1 807 Kbps
Writing application              : Lavf52.78.3

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L3.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 6 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 49mn 59s
Bit rate mode                    : Variable
Bit rate                         : 1 641 Kbps
Width                            : 848 pixels
Height                           : 480 pixels
Display aspect ratio             : 16:9
Original display aspect ratio    : 16:9
Frame rate mode                  : Variable
Frame rate                       : 25.000 fps
Minimum frame rate               : 25.000 fps
Maximum frame rate               : 76.923 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.161
Stream size                      : 587 MiB (91%)
Language                         : English
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 49mn 59s
Bit rate mode                    : Variable
Bit rate                         : 160 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 57.1 MiB (9%)
Code:
General
Complete name                    : G:\Ch\Ch35.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 654 MiB
Duration                         : 49mn 6s
Overall bit rate                 : 1 861 Kbps
Writing application              : Lavf52.78.3

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L3.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 6 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 49mn 6s
Bit rate mode                    : Variable
Bit rate                         : 1 693 Kbps
Width                            : 848 pixels
Height                           : 480 pixels
Display aspect ratio             : 16:9
Original display aspect ratio    : 16:9
Frame rate mode                  : Variable
Frame rate                       : 25.000 fps
Minimum frame rate               : 24.998 fps
Maximum frame rate               : 76.930 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.166
Stream size                      : 595 MiB (91%)
Language                         : English
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 49mn 6s
Bit rate mode                    : Variable
Bit rate                         : 160 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 56.1 MiB (9%)
iwod is offline   Reply With Quote
Old 14th September 2010, 18:18   #7  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I'm not an expert on iPhone/iTunes so I can't really help here. Especially as I don't see any difference between 35 and 35 either. You could try to workaround the problem by bypassing iTunes or using YAMB to remux as suggested by rack04.
sneaker_ger is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.