[FFmpeg-devel] [PATCH] avformat/asfenc: write group_mutual_exclusion_objects on multiple languages

Michael Niedermayer michael at niedermayer.cc
Sun Feb 14 20:30:58 CET 2016


On Sun, Feb 14, 2016 at 05:03:26AM +0100, Marton Balint wrote:
> 
> On Sun, 14 Feb 2016, Michael Niedermayer wrote:
> 
> >On Sun, Feb 07, 2016 at 11:02:56PM +0100, Marton Balint wrote:
> >>Improves streaming compatibility with Windows Media Services. Also tested for
> >>compatilbility in Windows Media Player, Windows Media ASF Viewer and VLC.
> >>
> 
> [..]
> 
> >would this make a subtitle and a audio track exclude each other ?
> >one can want a subtitle ad audio stream of the same language as well
> >as different languages play at teh same time
> 
> You're right, on the other hand probably there won't be a proper
> default excusion policy which suits every use case.
> 
> There is another way to exclude streams, using the advanced mutual
> exclusion object which define groups from which only one of the
> streams can be selected.
> 
> I can put all audio streams into such a group, but in this case the
> exclusion type (language based) may not reflect the reality in case
> of multiple bitrates of the same language. Also AFAIK ASF can have
> multiple streams of the same type as well for fancy multi-video
> streams.
> 
> Obviously I can create an option "exclusion_policy" which controls
> the behaviour, the reason why I did not do that is because I thought
> subtitles in ASF are very rare anyway and writing language
> exclusions is usually what the user wants.
> 
> So which approach do you prefer? Adding an option for this? What
> would be the default? Or writing advanced mutual exclusion objects
> based on some other logic?

i dont know, ill leave this to you and anyone else interrested

but i think a user option cannot be the primary solution, it might
be usefull t be able to override the default though

i think this could become quite complex in involved if one tries to do
it perfectly so i also withdraw my objection to this patch

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160214/2a36a62a/attachment.sig>


More information about the ffmpeg-devel mailing list