[FFmpeg-devel] [PATCH] ffmpeg: Add -copystreamid
Tomas Härdin
git at haerdin.se
Thu Apr 11 21:28:04 EEST 2024
tor 2024-04-11 klockan 17:41 +0200 skrev Tomas Härdin:
> Hi
>
> Patch attached allows preserving PIDs when remuxing MPEG-TS. James
> suggested we could generalize this to allow copying from specific
> streams, but I think if we want to handle a more general case then it
> would be better to handle streamid via metadata.
>
> Passes FATE.
Come to think of it, I may need the ability to copy PID from a specific
stream after all. Or more correctly, to replace the audio in an MPEG-TS
stream but keep all the other streams the same, and keeping the PIDs.
I'll see what I can come up with..
/Tomas
More information about the ffmpeg-devel
mailing list