Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#6310 closed defect (invalid)

Parallel MPEGTS Encoding - Muxrate Bug

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

Description

Hello,

It seems that in parallel mpegts encoding outputting to udp stream, muxrate does not apply to each defined encoding process.

./ffmpeg -loglevel verbose -re -i record.ts -aspect 16:9 -s 1920x1080 -c:v:0 libx264 -preset superfast -vb 4000k -minrate 4000k -maxrate 4000k -bufsize 4000k -r 25 -c:a:0 aac -b:a:0 128k -f mpegts -muxrate 5000k 'udp://233.33.33.1:5001?pkt_size=1316&bitrate=5000000&fifo_size=10000000' -aspect 4:3 -s 720x576 -c:v:0 mpeg2video -vb 2200k -minrate 2200k -maxrate 2200k -bufsize 2200k -r 25 -c:a:0 mp2 -b:a:0 384k -f mpegts -muxrate 3500k 'udp://233.33.33.1:5002?pkt_size=1316&bitrate=3500000&fifo_size=10000000'

Log:

[mpegts @ 0x1d30180] dts < pcr, TS is invalidkB time=00:00:01.86 bitrate= 563.8kbits/s speed=1.78x

Last message repeated 3 times

[mpegts @ 0x1d30180] dts < pcr, TS is invalidkB time=00:00:02.38 bitrate=1366.2kbits/s speed=1.53x

Last message repeated 13 times

[mpegts @ 0x1d29060] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d30180] dts < pcr, TS is invalid
[mpegts @ 0x1d29060] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d30180] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d29060] dts < pcr, TS is invalidkB time=00:00:02.89 bitrate=1893.8kbits/s speed=1.39x
[mpegts @ 0x1d30180] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d29060] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d30180] dts < pcr, TS is invalid
[mpegts @ 0x1d29060] dts < pcr, TS is invalid
[mpegts @ 0x1d30180] dts < pcr, TS is invalid
[mpegts @ 0x1d29060] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d30180] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d29060] dts < pcr, TS is invalid

Last message repeated 1 times

[mpegts @ 0x1d30180] dts < pcr, TS is invalid
[mpegts @ 0x1d29060] dts < pcr, TS is invalid
[mpegts @ 0x1d30180] dts < pcr, TS is invalid
[mpegts @ 0x1d29060] dts < pcr, TS is invalid

Last message repeated 1 times

UDP outputs does not reach to 5000k and 3500k target mux bitrate in analysis.

If any muxrate is removed, the defined UDP output reaches to its target mux bitrate.

It seems, muxrate parameter only applies once.

Change History (2)

comment:1 Changed 8 months ago by smallishzulu

  • Resolution set to invalid
  • Status changed from new to closed

Sorry, I was testing with an very early release of ffmpeg. My mistake.

comment:2 Changed 8 months ago by cehoyos

  • Keywords udp mpegtsenc muxrate removed
Note: See TracTickets for help on using tickets.