From mailinglist at koshigaya.de Mon Nov 16 12:16:57 2009 From: mailinglist at koshigaya.de (Aya Koshigaya) Date: Mon, 16 Nov 2009 12:16:57 +0100 Subject: [Matroska-devel] Consecutive order of timecodes in SimpleBlocks? Message-ID: <724B0AF7-AA62-4608-ACE1-9C97E45F1238@koshigaya.de> Hi, I have a question about mkv-file format. When I read the ebml-structure I get some clusters and inside these clusters a lot of SimpleBlocks So far no problem.. But, when I then read the SimpleBlocks the timecode of each block isn't consecutive.. (but only in the last two clusters..) The First block has a timecode value of "42".. the next one "0", then "126", followed by "84", "209", "167" ... Shouldn't they be ascending like they are in all other clusters? I mean.. if I want to extract the stream to play it back.. do I realy need to sort the blocks first? (Run trough them to find the correct one is the same as sorting them.. ^^) Thanks, Aya From seelie at faireal.net Mon Nov 16 14:31:40 2009 From: seelie at faireal.net (Liisachan) Date: Mon, 16 Nov 2009 13:31:40 +0000 Subject: [Matroska-devel] Consecutive order of timecodes in SimpleBlocks? In-Reply-To: <724B0AF7-AA62-4608-ACE1-9C97E45F1238@koshigaya.de> References: <724B0AF7-AA62-4608-ACE1-9C97E45F1238@koshigaya.de> Message-ID: <4B01543C.2020000@faireal.net> I don't really know but that sounds to me like Decode Order vs Playback Order of b-frames. The numbers 42 84 126... sound like typical 24000/1001-fps frame time stamps (as always rounded-up). 0:00:00.041 708 333 0:00:00.083 416 667 0:00:00.125 125 000 ... > I mean.. if I want to extract the stream to play it back.. do I realy *If* I'm guessing right you can play back your stream in that 'strange' order; that's the order the decoder expects, and re-ordering would probably just confuse your decoder. Liisachan Aya Koshigaya wrote: > Hi, > > I have a question about mkv-file format. > When I read the ebml-structure I get some clusters and inside these > clusters a lot of SimpleBlocks > So far no problem.. > > But, when I then read the SimpleBlocks the timecode of each block > isn't consecutive.. (but only in the last two clusters..) > > The First block has a timecode value of "42".. the next one "0", then > "126", followed by "84", "209", "167" ... > Shouldn't they be ascending like they are in all other clusters? > > I mean.. if I want to extract the stream to play it back.. do I realy > need to sort the blocks first? (Run trough them to find the correct > one is the same as sorting them.. ^^) > > Thanks, > Aya > _______________________________________________ > Matroska-devel mailing list > Matroska-devel at lists.matroska.org > http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel > Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel > From edalex86 at gmail.com Wed Nov 18 22:56:22 2009 From: edalex86 at gmail.com (Edalex) Date: Wed, 18 Nov 2009 21:56:22 +0000 (UTC) Subject: [Matroska-devel] External tracks Message-ID: Is it possible to make haali splitter to handle external audio and subtitles? The only filter that can do this for audio is mpc-hc internal audio switcher if external stream has the same name as main file. It can switch between internal audio and external one but if i want to choose another internal stream i had to do this thru haali splitter's menu cause it's the best splitter for mkv. It will be awesome to do this from one place - haali splitter And it is also important to me not to break dxva. Thanks! From mailinglist at koshigaya.de Thu Nov 19 00:35:07 2009 From: mailinglist at koshigaya.de (Aya Koshigaya) Date: Thu, 19 Nov 2009 00:35:07 +0100 Subject: [Matroska-devel] raw h264 file format In-Reply-To: <724B0AF7-AA62-4608-ACE1-9C97E45F1238@koshigaya.de> References: <724B0AF7-AA62-4608-ACE1-9C97E45F1238@koshigaya.de> Message-ID: Hi, I know this isn't realy a matroska-question.. but I don't know where to ask else.. :) Does anyone know the specs of the raw h264 format? (The one that MKVTools creates when I extract a video stream of a mkv.) Thanks~ Aya From dlmcpaul at gmail.com Thu Nov 19 05:04:34 2009 From: dlmcpaul at gmail.com (David McPaul) Date: Thu, 19 Nov 2009 15:04:34 +1100 Subject: [Matroska-devel] raw h264 file format In-Reply-To: References: <724B0AF7-AA62-4608-ACE1-9C97E45F1238@koshigaya.de> Message-ID: 2009/11/19 Aya Koshigaya : > Hi, > > I know this isn't realy a matroska-question.. but I don't know where > to ask else.. :) > Does anyone know the specs of the raw h264 format? (The one that > MKVTools creates when I extract a video stream of a mkv.) >From the MKVEXTRACT documentation: http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvextract.html H.264 / AVC video tracks are written to H.264 elementary streams which can be processed further with e.g. MP4Box from the GPAC package. So I expect it writes it out with NAL start codes, check the result for 0x000001 markers to confirm. The H264 elementary stream format is available from ISO at www.iso.org -- Cheers David From mailinglist at koshigaya.de Thu Nov 19 13:17:22 2009 From: mailinglist at koshigaya.de (Aya Koshigaya) Date: Thu, 19 Nov 2009 13:17:22 +0100 Subject: [Matroska-devel] raw h264 file format In-Reply-To: References: <724B0AF7-AA62-4608-ACE1-9C97E45F1238@koshigaya.de> Message-ID: <1DF2FE0A-3349-41E5-992F-B26A6B9A0ED9@koshigaya.de> Hi, > From the MKVEXTRACT documentation: > http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvextract.html > H.264 / AVC video tracks are written to H.264 elementary streams which > can be processed further with e.g. MP4Box from the GPAC package. Yep, I think that's what I am searching for :) > So I expect it writes it out with NAL start codes, check the result > for 0x000001 markers to confirm. The extracte *.h264 starts with 0x00000001, yes. > The H264 elementary stream format is available from ISO at www.iso.org Mhh.. are you sure? Can't find it there :( Thanks~ Aya On 19.11.2009, at 05:04, David McPaul wrote: > 2009/11/19 Aya Koshigaya : >> Hi, >> >> I know this isn't realy a matroska-question.. but I don't know where >> to ask else.. :) >> Does anyone know the specs of the raw h264 format? (The one that >> MKVTools creates when I extract a video stream of a mkv.) > > From the MKVEXTRACT documentation: > http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvextract.html > > H.264 / AVC video tracks are written to H.264 elementary streams which > can be processed further with e.g. MP4Box from the GPAC package. > > So I expect it writes it out with NAL start codes, check the result > for 0x000001 markers to confirm. > > The H264 elementary stream format is available from ISO at www.iso.org > > -- > Cheers > David > _______________________________________________ > Matroska-devel mailing list > Matroska-devel at lists.matroska.org > http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel > Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel From danlun76 at yahoo.se Wed Nov 25 07:31:52 2009 From: danlun76 at yahoo.se (Daniel Lundberg) Date: Wed, 25 Nov 2009 06:31:52 +0000 (GMT) Subject: [Matroska-devel] Interesting interaction between Haali Media Splitter and Radeon 4870 Message-ID: <357762.11691.qm@web27505.mail.ukl.yahoo.com> I've recently been investigating an annoying issue with my GPU and while I'm not entirely sure what my findings mean I felt it appropriate to bring it to your attention. In short my Radeon 4870 clocks itself up to the BIOS default clocks of 750/900MHz as soon as I play any video that relies on GPU-supported decoding, regardless of what my actual user settings for the card specify. While testing various videos and players to try and isolate the issue I've since learned that while the card always clocks up it only refuses to clock down under specific circumstances. For example I can play Quicktime-, Windows Media- or MP4-contained video with GPU-supported decoding and the card will clock back down after stopping playback. I can also play Matroska-contained video with GPU-supported decoding through Media Player Classic - Home Cinema, using that programs internal decoder, and have the card clock back down upon stopping playback. However, if I install the Haali Media Splitter and play a Matroska-contained video in WMP12 or in MPC-HC, when replacing the internal splitter, the card flat out refuses to budge from the 750/900MHz clocks, either up or down, by any means short of a reboot. I'm trying to sort out the reasons as to why the card clocks up to speeds that disregard my user settings in the first place with Sapphire but since my findings points toward some interaction with the Haali Media Splitter that ends up locking the clocks down hard in 3D mode I thought that might be worthwhile to mention here as well. If there's any interest in examining the issue further I'd be happy to provide further details as best I can. Thanks for reading! /Daniel Lundberg __________________________________________________________ Ta semester! - s?k efter resor hos Kelkoo. J?mf?r pris p? flygbiljetter och hotellrum h?r: http://www.kelkoo.se/c-169901-resor-biljetter.html?partnerId=96914052 From mailinglist at koshigaya.de Sat Nov 28 01:14:37 2009 From: mailinglist at koshigaya.de (Aya Koshigaya) Date: Sat, 28 Nov 2009 01:14:37 +0100 Subject: [Matroska-devel] Use libavcodec to decode mkv files..? Message-ID: <883C717B-1714-4E58-B33A-5BCF5F19038F@koshigaya.de> Hi, I have written a mkv-library to read mkv files and would like to use libavcodec to decode the frames. To test things I first exportet my h264 stream to a raw-h264 file (like mkvtoolnix does) - it's working and playing fine in VLC. So, next I did was setting up libavcodec to decode my frames.. but, whenever I pass my frame-data to avcodec_decode_video2(), I get this error: [h264 @ 0x4011000]no frame! I used "CODEC_ID_H264" as codec for libavcodec.. the codec of my mkv file is "V_MPEG4/ISO/AVC".. so I think this is correct. Do I have to do something with the data I read from the SimpleBlocks before I pass them to the decoder..? (I also parsed the SimpleBlock... got the timecode offset, flags etc) Thanks, Aya From estecorreopara-googlegroups at yahoo.es Sat Nov 28 01:07:30 2009 From: estecorreopara-googlegroups at yahoo.es (Sherkan) Date: Sat, 28 Nov 2009 01:07:30 +0100 Subject: [Matroska-devel] BsPlayer and MP4 support from 1.6.400.11 Message-ID: First of all, I'm not going to request a fix or any other thing, just get some information on why this happens, beyond the player version I use (BsPlayer 0.86), that I don't need to explain why I use it, it's just my decision and I live with that ;) Going to the topic, time ago, I was disappointed about the lost of functionality/ability by BsPlayer to open MP4 files. I didn't give much attention to it as I did blame on an updated codec (that had integrated the Haali splitter). Well I assumed that updates, sometimes, have these collateral damages even if I ended unhappy with this. Recently, in other system, I have seen how, with the updated codec, BsPlayer was able to open MP4 files and I started a path of testing. After test with different versions I have discovered that the lost of functionality began with the 28/12/2006 version, aka 1.6.400.11. The 1.6.338.23 was/is the latest version compatible with BsPlayer 0.86. Quoted from webpage the functionalities/fixes added from this version: > [DXR] Moving window to the secondary monitor is properly handled now. > Added an option to show frame timestamps (d3dx v29 is needed for > that). Fixed video frame size returns (Zoom player problems > eliminated). Improved video shrinking. Startup delays on UP systems > eliminated. Added an option to limit max number of frames buffered. > Fixed seeking problems with WM files. Fixed an unwanted phase shift > in YUV to RGB conversion. [dsmux] Allows setting some track > parameters now (AR, title, etc). [Matroska] Muxer improvements. [MP4] > Better support for 3gp subtitles. [General] Added a shell property > page (right click on attachments to extract them). Disabled an > annoying error message when it shouldn't have been shown. Shell > integration dll is now unicode only. At this point, as I said at the beginning of this text, I don't request a fix or anything else, but I would like to know, or, better, to understand, what could be the cause of the lost of functionality, because, as I have tested, no one of the options of this version of BsPlayer can fix (or I didn't tune correctly), so it's not internal by BsPlayer, beyond the un-updated version. What was "broken" in the 1.6.400.11 version to make stop working with players such as BsPlayer 0.86? What can't handle that version of BsPlayer with these versions of the splitter? Thanks for your time and for the reply you give :) A curious user :) -- PGP | /"\ ASCII ribbon campaign (Pretty Good Privacy) | \ / against HTML mail and UserID Sherkan | X postings. KeyID 0x52C4F55C | / \ (c) Black Dragon From estecorreopara-googlegroups at yahoo.es Sat Nov 28 01:30:56 2009 From: estecorreopara-googlegroups at yahoo.es (Sherkan) Date: Sat, 28 Nov 2009 01:30:56 +0100 Subject: [Matroska-devel] BsPlayer and MP4 support from 1.6.400.11 References: Message-ID: Sorry to post in the devel list. My fault I clicked from the web and I noticed after post that in the news server there were more accurate newsgroups. I hope you understand my mistake.