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. |
6th April 2016, 19:02 | #1 | Link |
Registered User
Join Date: Oct 2015
Posts: 5
|
Stream size in MKVs
I see in some files, it shows video stream sizes of x264 tracks in mediainfo.
But in some, it does not show. I muxed some using MKVtoolnix GUI myself and they don't show it either. AC3 tracks show the size, but not in x264 track or AAC. Is there any way to mux them in a way that mediainfo shows the size of the x264 track (and AAC track, if can) using MKVToolnix GUI. Thank you! |
6th April 2016, 19:05 | #2 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Use newest MKVToolnix and newest MediaInfo and do not disable track statistic tags in MKVToolnix. Then it should show for all tracks.
For files without such tags it cannot always be calculated. For example AC3 is typically constant bitrate so it is easy to calculate. AAC is usually variable bitrate so it is not as simple. |
7th April 2016, 01:02 | #3 | Link |
Registered User
Join Date: Oct 2015
Posts: 5
|
Thanks.
MKVToolnix version I tried is 9.0.1, the latest. Mediainfo, not the latest. Like a month or 2 old. But does it matter here? The files I see those info, are opened with same mediainfo program. Mainly it is in x264 streams. I see them in some. If I mux same file again, or a different file, I dont see it. I just add and mux, never changed anything in settings. Where are settings for "track statistic tags"? I never changed anything! |
7th April 2016, 05:25 | #5 | Link | |
Registered User
Join Date: Feb 2009
Location: USA
Posts: 676
|
Quote:
|
|
7th April 2016, 08:25 | #6 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
I didn't say it cannot be calculated at all. But to do it you would have to deep probe the file as mkv does not have that information readily available in the headers (except for the new, completely optional statistic tags). If it's a CBR stream MediaInfo can just multiply bitrate and duration to come up with the stream size.
|
8th April 2016, 02:11 | #7 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Quote:
The problem with AAC streams is without track statistic tags being created the bitrate/duration info simply isn't there. Fully scanning a large MKV can take a while (try opening one with Bitrate Viewer). Information such as the encoder used to create the AAC is lost when remuxing to MKV, so I assume it's written to the container (M4A, MP4 etc) when the audio is encoded and not the audio stream itself. If you open a raw VBR AAC stream with MediaInfo, it doesn't even try to guess the bitrate or duration. Some programs give it a go so you can navigate. The AAC stream I opened with MPC-HC was 29 minutes long but MPC-HC displayed 28 minutes and 27 seconds. VLC updates the estimated duration as playback progresses. MP3DirectCut was out by about three and a half minutes. foobar2000 will play raw AAC but you can't navigate. Oddly enough, MP3Tag was the one program I tried that appeared to take the time to scan raw AAC and get it right.... to within about 2kbps. Last edited by hello_hello; 10th April 2016 at 10:21. Reason: spelling |
|
Tags |
mkv, mkvtoolnix gui, stream size |
|
|