IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Feature request: multiple streams per file
_m_
post Feb 5 2012, 21:21
Post #1





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



I'm about to move from 1 file / track to 1 file / disc scheme.
It works great with CDs, but not with DVDs (and I guess BDs too) because they often have separate stereo and multichannel streams, so I have to use 2 files anyway.
How about support for putting them together? (And maybe compressing together?)
Go to the top of the page
+Quote Post
bryant
post Feb 7 2012, 20:58
Post #2


WavPack Developer


Group: Developer (Donating)
Posts: 1291
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



Im not sure exactly how this would work with standard WavPack. Since the WAV file format has no support for this, I guess that the source would have to be two separate audio streams/files, and on decoding there would have to be some indication to only decode the desired sub-stream. This would require some API changes to the WavPack library and probably break compatibility with existing players.

However, it looks like RF64 supports having a separate stereo downmix, so if and when that format gets incorporated into WavPack, it should be possible (although it would still require players to be aware of it). I will definitely consider this when I implement those newer formats (I have only done CAF so far which does not have this feature).
Go to the top of the page
+Quote Post
Kohlrabi
post Feb 7 2012, 21:16
Post #3





Group: Super Moderator
Posts: 1048
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



I think it is out of the scope of WavPack to provide a general multimedia container format, so I recommend using the multimedia container format Matroska for something like this, since it is its intended purpose to allow multiplexing of multimedia streams. mkvtoolnix/mkvmerge(GUI) handles WavPack files just fine. Main problem is the playback of those files: While, for example, foobar2000 will play the main track just fine, I it is impossible to access the additional audio streams. You'd have to use a full-fledged multimedia (video) player for that. A solution for that problem would be to append all the input files, which can be done with mkvmerge(GUI), and create a chapter layout with a chapter for every track/stream. Then foobar2000 will be able to play every chapter, since it supports Matroska chapters. Shoot (PM) if you need any more pointers.


--------------------
Ceterum censeo Masterdiskem esse delendam.
Go to the top of the page
+Quote Post
_m_
post Feb 7 2012, 21:47
Post #4





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



Kohlrabi, you made me think...While I still think it would be useful to have it in wavpack, the need seems to be much lower than I thought.
In fact I didn't mention one of other problems that I have with DVD-As because it was clearly not Wavpack's business - bonus videos.

I'll explore the option of using video containers. Foobar compatibility is unnecessary. Amarok is more like it.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th September 2014 - 01:41