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 13th May 2011, 18:31   #1  |  Link
gigirex
Registered User
 
Join Date: Jun 2010
Posts: 2
Lossless MKV to MP4

Hello everybody!

I need a (simple) method to transform a mkv container format (video, audio tracks, subtitles, ecc) into a mp4 container format without loss of quality and eventually without become crazy.

Last edited by gigirex; 15th May 2011 at 12:15.
gigirex is offline   Reply With Quote
Old 13th May 2011, 18:56   #2  |  Link
Brazil2
Registered User
 
Join Date: Jul 2008
Posts: 478
ffmpeg -i input.mkv -vcodec copy -acodec copy -scodec copy output.mp4

However the MP4 container only allows Timed Text subtitle format AFAIK.
Brazil2 is offline   Reply With Quote
Old 15th May 2011, 14:31   #3  |  Link
gigirex
Registered User
 
Join Date: Jun 2010
Posts: 2
Get crazy!!

Thanks, Brazil2, but this is exactly what I means when I say "get crazy!":

C:\>ffmpeg -i in.mkv -vcodec copy -acodec copy -scodec copy output.mp4
FFmpeg version git-c9e16a9-Sherpya, Copyright (c) 2000-2011 the FFmpeg developers
built on Feb 4 2011 07:04:01 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
libavutil 50. 37. 0 / 50. 37. 0
libavcore 0. 16. 1 / 0. 16. 1
libavcodec 52.109. 0 / 52.109. 0
libavformat 52. 95. 0 / 52. 95. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1. 74. 0 / 1. 74. 0
libswscale 0. 12. 0 / 0. 12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 01a6c1d0] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 24.00 (24/1)
Input #0, matroska,webm, from 'in.mkv':
Duration: 00:40:03.77, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s [mp4 @ 03fa5260] track 1: could not find tag, codec not currently supported in container
Output #0, mp4, to 'output.mp4':
Metadata:
encoder: Lavf52.95.0
Stream #0.0(eng): Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2 -31, 10000k tbn, 23.98 tbc
Stream #0.1(eng): Audio: [0][0][0][0] / 0x0000, 48000 Hz, 5.1, 1536 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)

Please, I need a SIMPLE method for transcoding losslessly!

Last edited by gigirex; 15th May 2011 at 14:34.
gigirex is offline   Reply With Quote
Old 15th May 2011, 20:24   #4  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 959
Simple, you can't put DTS in mp4
> [mp4 @ 03fa5260] track 1: could not find tag, codec not currently supported in container
__________________
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.

Last edited by J_Darnley; 15th May 2011 at 20:26.
J_Darnley is offline   Reply With Quote
Old 15th August 2011, 02:48   #5  |  Link
cliffadamson83
Registered User
 
Join Date: Aug 2011
Posts: 1
Hi gigirex, I once have the same requirements as you and I call some customer service center for help, and most of them tell me that any conversion need to recode, so the quality loss is unavoidable anyway, you should also remember that if the output bit rate is smaller than your input bit rate, the quality would be bad. So a suitable bit rate is a must while converting. And I used ojosoft MKV to MP4 converter to settle my problem at last. You can freely set your bit rate, frame size and frequency range by an edit button. Maybe it is suitable for you, too. http://www.ojosoft.com/how-to-conver...converter.html
cliffadamson83 is offline   Reply With Quote
Old 15th August 2011, 03:26   #6  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 3,428
Quote:
Originally Posted by gigirex View Post
I need a (simple) method to transform a mkv container format (video, audio tracks, subtitles, ecc) into a mp4 container format without loss of quality and eventually without become crazy.
YAMB is a MP4Box GUI which will open MKVs and remux any supported streams into an MP4 without re-encoding.
The various supported input formats/streams are listed on this page:
http://yamb.unite-video.com/features.html

Last edited by hello_hello; 15th August 2011 at 03:29.
hello_hello is offline   Reply With Quote
Reply

Tags
container, lossless, mkv, mp4

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 20:01.


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