Log in

View Full Version : FFMPeg Transcode - How to keep all the original stream PID's ?


Nexin
11th July 2010, 12:38
FFMPEG Encoding how to keep all original stream PID's.

Original .ts file with the dvbsub will play in both vlc and ffplay.

PID's
0xb04 - video
0xb05 - audio
0xb06 - subs

How to keep them as origianl stream pid's after transcoding to .ts. Problem have right now is that ffmpeg sets them to.

0x100
0x101
0x102

While it plays with vlc, the subs aren't showing. VLC messages report.

ts warning; first packet for pid=258 cc=0x1
dvbsub debug; invalid subtitle stream id
dvbsub debug; invalid subtitle stream id
dvbsub debug; invalid subtitle stream id


How to keep all the original stream pid's to be carried over to the FFmpeg transcoded output file ?

I need the ffmpeg console command for this :)