[FFmpeg-devel] [PATCH] lavf/concatdec: allow to match streams by id.
george at nsup.org
Sun Mar 2 15:34:20 CET 2014
Le duodi 12 ventôse, an CCXXII, Michael Niedermayer a écrit :
> Do i understand correctly that in such case the user has to
> specify the stream maping one by one ?
More precisely a list of all the streams wanted in the output file with
> I think it would be better if (additionally) the code tried to match
> streams automatically based on codec id, resolution, language, channel
> (possibly program name if its TS)
That is something I intend to implement at some point (unless someone does
it before me), but I believe this is a different use case, and both are
needed. See my recent patch "dvd2concat" for the use case of this feature.
Maybe a more explicit keyword than "id" would be better for this case:
> this leaves a stale pointer in cat->cur_file->stream_map
This is not a problem. Even if the caller ignores the error (it should not),
it will just return packets for a stream with unknown characteristics, just
like random binary data streams.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel