[FFmpeg-devel] [PATCH] lavf/concatdec: allow to match streams by id.
Nicolas George
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
their id.
> I think it would be better if (additionally) the code tried to match
> streams automatically based on codec id, resolution, language, channel
> layout
> (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:
possibly "exact_id".
> 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.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140302/d66c97ee/attachment.asc>
More information about the ffmpeg-devel
mailing list