Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8472 closed defect (invalid)

MPEG-TS Muxer: Bug when output multiple files

Reported by: Andreas Håkon Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: Multiple MPEG-TS output files are incorrect

How to reproduce:

ffmpeg -f lavfi -i testsrc -t 20 \
 -map "0:v" -program title=prog1:st=0 -f mpegts prog1.ts \
 -map "0:v" -program title=prog2:st=1 -f mpegts prog2.ts
  • In the file prog1.ts all is OK.
  • But in the file prog2.ts the PMT is incomplete (not includes any stream) and the video stream doesn’t have PCR marks. Then the file can’t be played.

Please, fix this problem.
Thank you!

Change History (2)

comment:1 by Andreas Håkon, 4 years ago

Resolution: invalid
Status: newclosed

Sorry, the correct syntax is:

ffmpeg -f lavfi -i testsrc -t 20 \
 -map "0:v" -program title=prog1:st=0 -f mpegts prog1.ts \
 -map "0:v" -program title=prog2:st=0 -f mpegts prog2.ts

The key point is that after the "-map" parameter the "st" values are reseted.

So I close this ticket.

comment:2 by Carl Eugen Hoyos, 4 years ago

Component: avformatundetermined
Keywords: mpegtsenc removed
Note: See TracTickets for help on using tickets.