[ 
http://dev.sourcefabric.org/browse/LS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19044#action_19044
 ] 

Romain Beauxis commented on LS-591:
-----------------------------------

I totally agree that we should look at it and I am interested in taking part of 
it.

As for the technicalities, as detailed in my previous email, I believe that we 
should start with a lazy decompression strategy based on tracks. 

Basically, a stream would not get decompressed until it reaches an operator 
that requires it, for instance a crossfade.

Scope for compressed data should be the tracks. If we only consider encoded 
tracks, then all the complicated issues related to encoded data overlapping a 
frame size and concatenating compressed data go away.

When reaching an output for which the given source has not been decoded and if 
the requested encoder matches encoded data from the source, then we should be 
able to not decompress/recompress the stream at all.

What we need in order to achieve this is the ability to keep track of the 
current position in an encoded stream. Then we should be able to pass encoded 
data and update streaming loop according to the corresponding position.

Of course, it would still be possible to get a better encoded scope later, but 
I think this plan is the most reasonable to get something working and start 
understanding the challenges raised by supporting encoded data.

> Support RAW sources
> -------------------
>
>                 Key: LS-591
>                 URL: http://dev.sourcefabric.org/browse/LS-591
>             Project: Liquidsoap
>          Issue Type: New Feature
>            Reporter: Samuel Mimram
>            Priority: Major
>             Fix For: LONG TERM
>
>
> We should try to have RAW sources (i.e. sources that can contain mp3 / ogg / 
> any compressed data). And add some operators for on-demand decoding. Of 
> course, this is long-term work, but we could first make a branch with support 
> for non-processed raw source (e.g. a playlist of mp3 without transitions) and 
> elaborate from there. Do you forsee any big technical difficulty (apart from 
> having to bind low-level functions to access compressed streams)?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à