Keith fogarty | 23 May 2013 11:33
Picon
Picon

Streaming with MKV

Hi All,

I'm attempting to use mkv for broadcasting a live video and audio stream.
It appears that either a single segment of an unknown size can be used or numerous segments of some discreet size can be concatenated together.
However it is not clear how the segment(s) should be generated with regard to safely updating the mkv file on the server side as it's being simultaneously read by the client.
Any help with this would be greatly appreciated.

Thanks,
Keith
_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
vasya | 11 Apr 2013 18:18
Picon

Matroska http live streaming

Hi all,
I just read your streaming guide http://matroska.org/technical/streaming/index.html and its not clear how to stream matroska files segmentally (1s as it said) over http? What programm should segment my mkv file? Can you have examples segmented mkv streaming?

I'm asking because I use apple HLS (http live streaming) protocol to do such thing: segmented video with different qualities streamed to clients. Can I do this with mkv?

Thank you!
_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
Róbert Kohányi | 12 Mar 2013 18:24
Picon
Gravatar

Extract untouched audio track from mkv/webm programatically

Hi,

I would like to extract an .ogg file from an .mkv file programatically (maybe from a .webm, but I care more about the .mkv at this point). By this I mean without mkvtoolnix/ffmpeg or such tools or libraries. (The only third party application that I could use to achieve what I want is an EBML parser, and that's it.)

I understand that the contents of every .mkv file is described using the EBML format. I use an EBML parser to extract information from .mkv files and this part works great: I can successfully navigate my way through the EBML and find the Tracks element and the TrackEntry for the audio track that I want (which is an ogg vorbis audio track).

Now, this is the point where I'm stuck. I've read the manual/specification for EBML but I'm not sure if I got it right. As I understood it the actual data (video and/or audio) are located *inside* the Cluster element, which could contain a lot of Block/SimpleBlock elements. I can find these, *all of them*, but I guess I don't need all of them (only the ones which belong to the TrackEntry I'm interested in).

Given these, my first question is as follows.

How can I identify the Block/SimpleBlock elements belonging to a particular TrackEntry? (My guess is that by a TrackUID, but I couldn't figure where does a Block/SimpleBlock contains which TrackEntry/TrackUID it belongs to.)

But, let's say I've found all the Block/SimpleBlock elements that belong to a single audio ogg vorbis audio track. Can I just *append* these after each other and be done with it? (My guess is *no way*, because that would be too simple.) So, after I found all the Block/SimpleBlock elements I need, how can I make an ogg vorbis audio file from them?

If someone could give me heads up/some pointers on these questions that would be nice.

I'm not looking for working code snippets or stuff like that, but if anyone knows of a *test case* that is lurking around in some ebml/mkv/whatever code repository which tests mkv audio extraction methods or something like that, than a link pointing to it would be nice too.

I did checkout the libebml/libmatroska repositories, but the first didn't seem to be interested in what I would like to achieve and the second one didn't have any useful tests - and the code was a bit overwhelming for me, I didn't know where to start looking. (So, if someone could tell me which classes/methods are responsible to extract audio from an mkv in some code repository, that would be nice too.)

Heads up in general are nice too!

So, I guess that's it... thanks for any information in advance!

Regards,
Kohányi Róbert






_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
lumoko@movistar.cl | 1 Feb 2013 02:20
Picon
Favicon

Change Profile

Dears Sir:

How I can convert MKV profile 5.0 to Profile 4.0., to play in my blue ray

Thanks 

Luis morgenstern e-mail: lumoko <at> movistar.cl

_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
rohit panchal | 30 Jan 2013 07:33
Picon
Favicon

mkv to avi xvid convter

i convter mkv to avi xvid code 
 
i try all convter but not picture qulity not good
 
 
 
i have avi picture quality same as mkv picture qulity
 
i use mkvmerge GUI  no convter to avi xvid
 
i use AVI-Mux_GUI-1.17.8.3   avi convter to mkv, but not convter mkv to avi
 
 
please send me replay
 
 
for  rohit panchal
 
 
 
 
 
 
_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
Dan Hinsley | 11 Jan 2013 17:51
Picon

Duration

it's indeed a 4 byte float. Simply dumped from the memory as it is.

Standard IEEE numeric format. See e.g.

http://msdn.microsoft.com/en-us/library/0b34tf65.aspx for the

interpretation.

 

In C you would simply do something like

 

float value;

fread(file, &value, 1, 4);

 

or something like that...

 

 

It appears that I have to turn 0x48185800 into 0x00581848 (switching the halfwords, then the bytes within the half words)  to get the right answer.  So this must be some type of Big Endian, Little Endian issue, but I haven’t run into it before.  Anyway, I should be able to make it work now.

 

Dan

 

 

_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
Dan Hinsley | 10 Jan 2013 17:57

Re: Matroska-users Digest, Vol 114, Issue 2

> I have a file with one segment, and no TimecodeScale in the Info segment.
> In the info segment there is a Duration element with a value of
0x48185800.
> When I run mkvinfo on the file, I get a duration of 156 seconds (which is
> correct).  Now the way that I read the spec is that the duration (with a
> default TimecodeScale of 1,000,000) should be the duration in msecs.  So I
> can?t figure out how to get from 1,209,554,944 to 156.

>>The segment duration is a floating point value, not an integer. Read
>>it into a IEEE 8bit floating point variable ("double" in C/C++, don't
>>know the equivalents in other languages).

I'm still floundering.  This appears to be a 4 byte floating point, which in
C appears to be of type Single.  But when I try ReadSingle, it comes up with
a bizarre number.  I looked at trying to decode it myself, but using the
first bit as a sign bit, the next 8 as the exponent and the rest as the
mantissa, doesn't make sense either.  Does 0x48185800 look correct for
decimal 156?  Any other tips on what I need to do to decode this value?

I appreciate the help,

Dan

_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user

Dan Hinsley | 10 Jan 2013 01:17
Picon

Question about duration

I’ve tried to figure this out, but I’m getting nowhere.  Turns out a freeware tool out there (MakeMKV) doesn’t include the endtimes for chapters.  So I’m trying to handle that and thought it would be easy, just use the start of the next chapter and when I get to the last chapter use the duration.  However, for the life of me I can’t figure out how to decode duration.

 

I have a file with one segment, and no TimecodeScale in the Info segment.  In the info segment there is a Duration element with a value of 0x48185800.  When I run mkvinfo on the file, I get a duration of 156 seconds (which is correct).  Now the way that I read the spec is that the duration (with a default TimecodeScale of 1,000,000) should be the duration in msecs.  So I can’t figure out how to get from 1,209,554,944 to 156.

 

I know I’m missing something basic, but after beating my head against a wall all morning, I’m no closer.  Can you give me a hint as to what I’m missing?

 

Thanks,

 

Dan

 

 

A politician thinks of the next election, a statesman, of the next generation.

– James Freeman Clarke

 

_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
Javier de PC | 3 Jan 2013 00:33
Picon
Favicon

Looking for help as I get no audio after merging MP4, .srt & H.264

Hi there, a newby here.

On my windows xp (sp3) I am using the (great) mkvmergeGUI to merge .mp4 (encoded in h.264) with .srt file. I am getting a great output, although with no video. The starting .mp4 file can be played along with the subs in VLC and WM while the output .mkv file only shows video and subs with no audio.

I cannot get the soundtrack to merge, getting this message in the log:

----------------------
mkvmerge v5.9.0 ('On The Loose') built on Dec  9 2012 15:37:01


'C:\Documents and Settings\user\Mis documentos\VIDEO dashboard-dailyroads\Videos BICI\20121228165722_40.43480_
-3.71905_1000000.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.


Warning: Quicktime/MP4 reader: Unknown/unsupported FourCC 'samr' for track 0.


'C:\Documents and Settings\user\Mis documentos\VIDEO dashboard-dailyroads\Videos BICI\20121228165722_40.43480_
-3.71905_1000000.srt': Using the demultiplexer for the format 'SRT subtitles'.


Warning: 'C:\Documents and Settings\user\Mis documentos\VIDEO dashboard-dailyroads\Videos BICI\20121228165722_
40.43480_-3.71905_1000000.mp4' track 1: The AVC video track is missing the 'CTTS' atom for frame timecode offsets.
 However, AVC/h.264 allows frames to have more than the traditional one (for P frames) or two (for B frames)
references to other frames. The timecodes for such frames will be out-of-order, and the 'CTTS' atom is needed
for getting the timecodes right. As it is missing the timecodes for this track might be wrong. You should watch
the resulting file and make sure that it looks like you expected it to.


'C:\Documents and Settings\user\Mis documentos\VIDEO dashboard-dailyroads\Videos BICI\20121228165722_40.43480_-3.71905_1000000.mp4' track 1: Using the output module for the format 'AVC/h.264'.


'C:\Documents and Settings\user\Mis documentos\VIDEO dashboard-dailyroads\Videos BICI\20121228165722_40.43480_-3.71905_1000000.srt' track 0: Using the output module for the format 'text subtitles'.


The file 'C:\Documents and Settings\user\Mis documentos\VIDEO dashboard-dailyroads\Videos BICI\20121228165722_40.43480_-3.71905_1000000.mkv' has been opened for writing.


Progress: 0%
Progress: 21%
Progress: 42%
Progress: 62%
Progress: 83%
Progress: 100%
Progress: 100%



The cue entries (the index) are being written...


Muxing took 3 seconds.
--------

Even me, I can see that there is an issue (may be not supported?) with the audio codec FourCC 'samr'...Is it any work around for this? What about the 'CTTS' atom thingy? I reviewed the threads back to 2009 and found nothing; did googling until got my eyelids burnt and nooothing...

Anyhow, I would like to solve this issue before going and trying other similar software...But it will be great to make it work, love the programe already. It is for personal use, so i can keep a library of my road incursions, and hoping to get a worth to watch traffic event and posted in the net, hehehe (BTW, any way to make a -modest- donation?)

If this was not the right channel, please let me know!

Cheers and happy new year,

Javier (aka RiverPatrol)



> From: matroska-users-request <at> lists.matroska.org
> To: javierpcarrera <at> hotmail.com
> Subject: confirm ed735145153e33e63c95ef96fdfe3aa6ff84143e
> Date: Thu, 3 Jan 2013 00:10:25 +0100
>
> Mailing list subscription confirmation notice for mailing list
> Matroska-users
>
> We have received a request from 87.219.235.160 for subscription of
> your email address, "javierpcarrera <at> hotmail.com", to the
> matroska-users <at> lists.matroska.org mailing list. To confirm that you
> want to be added to this mailing list, simply reply to this message,
> keeping the Subject: header intact. Or visit this web page:
>
> http://lists.matroska.org/cgi-bin/mailman/confirm/matroska-users/ed735145153e33e63c95ef96fdfe3aa6ff84143e
>
>
> Or include the following line -- and only the following line -- in a
> message to matroska-users-request <at> lists.matroska.org:
>
> confirm ed735145153e33e63c95ef96fdfe3aa6ff84143e
>
> Note that simply sending a `reply' to this message should work from
> most mail readers, since that usually leaves the Subject: line in the
> right form (additional "Re:" text in the Subject: is okay).
>
> If you do not wish to be subscribed to this list, please simply
> disregard this message. If you think you are being maliciously
> subscribed to the list, or have any other questions, send them to
> matroska-users-owner <at> lists.matroska.org.
_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
Junaid@afriticket.co.za | 17 Dec 2012 16:40
Picon

Haali Media Splitter playrate support

Hi

I am not sure if this is the right place for this but any 
assistance/comments would be appreciated.

I noticed that Haali Media Splitter does not play matroska files at high 
play rates on Windows.

I investigated for months before finding lav splitter fixes this issue. 
I develop security applications that require fast play and seeking 
during playback of lengthy security footage. Is haali splitter meant 
only for entertainment video purposes or should they also support 
variable speed playback ? or maybe this is a windows limitation.

I think not may people are using multimedia for business purposes as the 
play rate issue seems to be a common issue amongst splitters, for 
example MP4 Media Foundation splitters don't play greater than 2 times 
speed.

Thank you.

Regards
Junaid
_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user

Steve Lhomme | 16 Dec 2012 11:49
Favicon

mkvalidator 0.4.2

I just updated mkvalidator to fix issues with files created with mkvmerge 5.9.0 which are fine.

http://www.matroska.org/downloads/mkvalidator.html

--
Steve Lhomme
Matroska association Chairman

_______________________________________________
Matroska-users mailing list
Matroska-users <at> lists.matroska.org
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user

Gmane