Yep, looks like I was falling victim to insert_missing, both in my original
issue and in the testing code I posted earlier. I can't believe I didn't see
it before (doh!). I still don't completely understand why add_smooth would
cause a track change (and thus trigger map_metadata to call if
using insert_missing), but regardless, it works now, and that's all that
matters :).

Thank you so much to everyone at and involved in savonet. Liquidsoap is the
best thing since sliced bread, and it rescued me from weeks of pain and
suffering with sc_trans and ices.

-- SS

On Sat, Oct 8, 2011 at 5:25 AM, David Baelde <david.bae...@ens-lyon.org>wrote:

> Hi,
>
> In liquidsoap a new track can start without a metadata packet attached
> to it. Conversely, a metadata packet may occur in the middle of the
> track.
>
> Encoded outputs treat metadata and tracks according to what their
> codecs allow. For example, in Ogg it's impossible to insert metadata
> without starting a new track.
>
> But I don't think that any output drops empty metadata packets.
> However, and this is probably what's happening to you, map_metadata
> has an "insert_missing" parameter, set to true by default, which
> inserts empty metadata at beginnings of tracks that do not have
> metadata. The idea was to hide this surprising case, so that people
> can edit metadata at the beginning of tracks even if there is none.
>
> In short, you may be able to solve you problem by passing
> insert_missing=false to your map_metadata.
>
> Now, I still don't get why you end up with a new track without
> metadata. In my (simple) test I don't see anything like that.
>
> Cheers,
> --
> David
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to