Opened 5 years ago

Closed 5 years ago

Last modified 2 years ago

#533 closed defect (invalid)

Transcoding Astra DVBS video to x264 produces errors & poor-quality video

Reported by: hoodzinger Owned by:
Priority: normal Component: undetermined
Version: git Keywords: mpegts x264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When I transcode DVBS streams to x264 from the Astra 2A/2B/2D satellites, I get a continuous band of distortion along the bottom edge of the picture, and occasional blocky breakup of other parts of the picture.

This problem does not happen on the UK-Channel-4 "family" of channels, but happens on every other channel on those satellites.

The problem happens both if I am transcoding a live TS stream or if I first capture the live stream to a TS file with Multicat, and then transcode the captured file.

I have tried using both DVBlast and MuMuDVB and an Anevia Flamingo IRD device to capture the DVBS signal, and the problem happens in all 3 cases. I have also tried 2 different models of DVBS card (with different chipsets) and 2 separate sets of satellite dish equipment (at 2 different locations).

The problem has occurred on several different versions of Ubuntu. The latest tests I have done are on Oneiric Beta 2 Server.

My ffmpeg command line is:

ffmpeg -y -er 4 -v 9 -loglevel 99 -i /home/administrator/dvblast2-output.ts -threads 0 -f mpegts -acodec libmp3lame -ar 48000 -ab 128k -s 720x480 -vcodec libx264 -vprofile main -preset fast -deinterlace -b 1900k -bt 200k -maxrate 1900k -bufsize 1900k -aspect 16:9 -g 30 -r 30 -async 2 /home/administrator/testff2.ts 2> /home/administrator/ff-log.txt

Some files that can be used to recreate this bug:

Video TS file & AUX file captured from DVBlast using Multicat:
http://78.158.111.44/dvblast2-output.zip

Video TS file produced by ffmpeg after it transcoded the above DVBlast file:
http://78.158.111.44/testff2.ts

Complete (large) log from ffmpeg:
http://78.158.111.44/ff-log.txt

Here's some snippets from the ffmpeg log:

ffmpeg version N-32962-gcbf914c, Copyright (c) 2000-2011 the FFmpeg developers

built on Sep 26 2011 10:39:17 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 17. 0 / 51. 17. 0
libavcodec 53. 17. 0 / 53. 17. 0
libavformat 53. 13. 0 / 53. 13. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 5 / 2. 43. 5
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

[mpegts @ 0x147e900] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x147e900] stream=0 stream_type=2 pid=d04 prog_reg_desc=
[mpegts @ 0x147e900] stream=1 stream_type=4 pid=d05 prog_reg_desc=
[mpegts @ 0x147e900] stream=2 stream_type=4 pid=d06 prog_reg_desc=
[mpegts @ 0x147e900] stream=3 stream_type=6 pid=93f prog_reg_desc=
[mpegts @ 0x147e900] stream=4 stream_type=6 pid=940 prog_reg_desc=
[mpegts @ 0x147e900] parser not found for codec dvb_teletext, packets or times may be invalid.
[mp3 @ 0x1483440] Header missing
[mp3 @ 0x1483da0] Header missing
[mpeg2video @ 0x1482ae0] Unsupported bit depth: 0
[mpeg2video @ 0x1482ae0] end mismatch left=20 0
[mpeg2video @ 0x1482ae0] Warning MVs not available
[mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors
[mpegts @ 0x147e900] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x147e900] PES packet size mismatch

Last message repeated 1 times

Input #0, mpegts, from '/home/administrator/dvblast2-output.ts':

Duration: 00:00:17.00, start: 40553.856722, bitrate: 5129 kb/s
Program 10070

Metadata:

service_name : ITV2
service_provider: BSkyB

Stream #0:0[0xd04], 119, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 1/50, 10000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0xd05](eng), 211, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s
Stream #0:2[0xd06](NAR), 204, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 128 kb/s
Stream #0:3[0x93f](eng), 258, 1/90000: Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x940](eng), 3, 1/90000: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)

[buffer @ 0x1482480] w:704 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/11 sws_param:
[scale @ 0x1485de0] w:704 h:576 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
[libx264 @ 0x14792c0] using mv_range_thread = 24
[libx264 @ 0x14792c0] using SAR=32/27
[libx264 @ 0x14792c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle? SSE4.2
[libx264 @ 0x14792c0] profile Main, level 3.0
[mpegts @ 0x1485e60] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/home/administrator/testff2.ts':

Metadata:

encoder : Lavf53.13.0
Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1/30, q=-1--1, 1900 kb/s, 90k tbn, 30 tbc
Stream #0:1(eng), 0, 1/90000: Audio: mp3, 48000 Hz, stereo, s16, 1900 kb/s

Stream mapping:

Stream #0.0 -> #0.0 (mpeg2video -> libx264)
Stream #0.1 -> #0.1 (mp2 -> libmp3lame)

Press [q] to stop, ? for help
[mp2 @ 0x1483440] Header missing
Error while decoding stream #0.1
adding 1152 audio samples of silence
[mpeg2video @ 0x1482ae0] Unsupported bit depth: 0
[mpeg2video @ 0x1482ae0] end mismatch left=20 0
[mpeg2video @ 0x1482ae0] Warning MVs not available
[mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] end mismatch left=25 0
[mpeg2video @ 0x1482ae0] Warning MVs not available
[mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors
* 20 dup!
[mpeg2video @ 0x1482ae0] end mismatch left=23 0
[mpeg2video @ 0x1482ae0] Warning MVs not available
[mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors
[mpeg2video @ 0x1482ae0] end mismatch left=28 0
[mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (341 562)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (631 563)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (325 562)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (357 562)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561)

Last message repeated 3 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (647 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (646 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (646 562)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (646 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (309 562)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (341 562)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (339 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (341 562)

Last message repeated 2 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (598 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (630 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (631 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (628 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (630 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (631 563)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (694 559)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (292 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (325 562)

Last message repeated 2 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (612 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561)

Last message repeated 2 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (309 562)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (598 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (613 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561)

Last message repeated 2 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 564)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (293 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (615 563)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (613 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (614 561)

Last message repeated 2 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (679 561)
[mpeg2video @ 0x1482ae0] end mismatch left=25 0
[mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors
* 1 dup!

--- [snip] ---

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (61 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (448 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (542 561)

Last message repeated 2 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (577 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (79 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (111 560)

Last message repeated 4 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (526 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (527 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (527 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (527 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (689 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (688 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (-1 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (0 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (0 560)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (31 560)

Last message repeated 6 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (61 561)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (63 560)

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (448 560)
[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (542 561)

Last message repeated 2 times

[mpeg2video @ 0x1482ae0] MPEG motion vector out of boundary (577 560)
* 1 dup!
[libx264 @ 0x14792c0] frame= 362 QP=21.51 NAL=2 Slice:P Poc:56 I:96 P:1096 SKIP:158 size=9498 bytes
[libx264 @ 0x14792c0] frame= 363 QP=25.79 NAL=2 Slice:B Poc:54 I:47 P:532 SKIP:760 size=1984 bytes
[mpeg2video @ 0x1482ae0] end mismatch left=12 0
[mpeg2video @ 0x1482ae0] concealing 44 DC, 44 AC, 44 MV errors
[libx264 @ 0x14792c0] frame= 364 QP=26.41 NAL=0 Slice:B Poc:52 I:23 P:568 SKIP:751 size=1696 bytes
[mpegts @ 0x147e900] PES packet size mismatch

Last message repeated 1 times

[mpeg2video @ 0x1482ae0] invalid mb type in B Frame at 15 20
[mpeg2video @ 0x1482ae0] concealing 704 DC, 704 AC, 704 MV errors
[libx264 @ 0x14792c0] frame= 365 QP=22.67 NAL=2 Slice:P Poc:58 I:32 P:900 SKIP:418 size=4252 bytes
[mp2 @ 0x1483440] incomplete frame
Error while decoding stream #0.1
[libx264 @ 0x14792c0] frame= 366 QP=17.30 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=42509 bytes
[libx264 @ 0x14792c0] frame= 367 QP=18.17 NAL=2 Slice:P Poc:2 I:0 P:117 SKIP:1233 size=255 bytes
[libx264 @ 0x14792c0] frame= 368 QP=21.93 NAL=2 Slice:P Poc:6 I:122 P:1010 SKIP:218 size=8837 bytes
[libx264 @ 0x14792c0] frame= 369 QP=23.15 NAL=0 Slice:B Poc:4 I:64 P:581 SKIP:698 size=2376 bytes
[libx264 @ 0x14792c0] frame= 370 QP=22.18 NAL=2 Slice:P Poc:10 I:245 P:880 SKIP:225 size=8071 bytes
[libx264 @ 0x14792c0] frame= 371 QP=25.69 NAL=0 Slice:B Poc:8 I:65 P:560 SKIP:716 size=1932 bytes
[libx264 @ 0x14792c0] frame= 372 QP=21.63 NAL=2 Slice:P Poc:12 I:48 P:1122 SKIP:180 size=6753 bytes
[libx264 @ 0x14792c0] frame= 373 QP=20.71 NAL=2 Slice:P Poc:14 I:4 P:155 SKIP:1191 size=496 bytes
[libx264 @ 0x14792c0] frame= 374 QP=23.92 NAL=2 Slice:P Poc:18 I:318 P:809 SKIP:223 size=7249 bytes
[libx264 @ 0x14792c0] frame= 375 QP=28.13 NAL=0 Slice:B Poc:16 I:144 P:437 SKIP:765 size=1918 bytes
[libx264 @ 0x14792c0] frame= 376 QP=24.67 NAL=2 Slice:P Poc:22 I:468 P:663 SKIP:219 size=7136 bytes
[libx264 @ 0x14792c0] frame= 377 QP=26.50 NAL=0 Slice:B Poc:20 I:185 P:514 SKIP:644 size=2701 bytes
[libx264 @ 0x14792c0] frame= 378 QP=23.27 NAL=2 Slice:P Poc:24 I:265 P:925 SKIP:160 size=6979 bytes
[libx264 @ 0x14792c0] frame= 379 QP=20.63 NAL=2 Slice:P Poc:26 I:3 P:143 SKIP:1204 size=395 bytes
[libx264 @ 0x14792c0] frame= 380 QP=24.07 NAL=2 Slice:P Poc:30 I:332 P:851 SKIP:167 size=7810 bytes
[libx264 @ 0x14792c0] frame= 381 QP=27.45 NAL=0 Slice:B Poc:28 I:116 P:647 SKIP:576 size=2438 bytes
[libx264 @ 0x14792c0] frame= 382 QP=23.34 NAL=2 Slice:P Poc:34 I:195 P:908 SKIP:247 size=7514 bytes
[libx264 @ 0x14792c0] frame= 383 QP=25.44 NAL=0 Slice:B Poc:32 I:87 P:600 SKIP:655 size=2029 bytes
[libx264 @ 0x14792c0] frame= 384 QP=22.73 NAL=2 Slice:P Poc:36 I:102 P:983 SKIP:265 size=6351 bytes
[libx264 @ 0x14792c0] frame= 385 QP=24.78 NAL=2 Slice:P Poc:38 I:5 P:176 SKIP:1169 size=531 bytes
[libx264 @ 0x14792c0] frame= 386 QP=23.75 NAL=2 Slice:P Poc:42 I:159 P:838 SKIP:353 size=6530 bytes
[libx264 @ 0x14792c0] frame= 387 QP=25.31 NAL=0 Slice:B Poc:40 I:101 P:585 SKIP:652 size=2193 bytes
[libx264 @ 0x14792c0] frame= 388 QP=24.34 NAL=2 Slice:P Poc:44 I:125 P:863 SKIP:362 size=4121 bytes
[libx264 @ 0x14792c0] frame= 389 QP=20.77 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=33292 bytes
[libx264 @ 0x14792c0] frame= 390 QP=23.11 NAL=2 Slice:P Poc:2 I:271 P:825 SKIP:254 size=9585 bytes
[libx264 @ 0x14792c0] frame= 391 QP=21.55 NAL=2 Slice:P Poc:4 I:3 P:162 SKIP:1185 size=516 bytes
[libx264 @ 0x14792c0] frame= 392 QP=23.83 NAL=2 Slice:P Poc:8 I:444 P:814 SKIP:92 size=10444 bytes
[libx264 @ 0x14792c0] frame= 393 QP=27.22 NAL=0 Slice:B Poc:6 I:164 P:612 SKIP:553 size=2934 bytes
[libx264 @ 0x14792c0] frame= 394 QP=24.09 NAL=2 Slice:P Poc:10 I:338 P:863 SKIP:149 size=9521 bytes
[libx264 @ 0x14792c0] frame= 395 QP=24.52 NAL=2 Slice:P Poc:12 I:284 P:899 SKIP:167 size=9610 bytes
[libx264 @ 0x14792c0] frame= 396 QP=23.85 NAL=2 Slice:P Poc:14 I:265 P:1001 SKIP:84 size=11038 bytes
[libx264 @ 0x14792c0] frame= 397 QP=23.36 NAL=2 Slice:P Poc:16 I:0 P:94 SKIP:1256 size=330 bytes
[libx264 @ 0x14792c0] frame= 398 QP=25.08 NAL=2 Slice:P Poc:18 I:209 P:1028 SKIP:113 size=9999 bytes
[libx264 @ 0x14792c0] frame= 399 QP=24.23 NAL=2 Slice:P Poc:22 I:458 P:862 SKIP:30 size=14825 bytes
[libx264 @ 0x14792c0] frame= 400 QP=27.77 NAL=0 Slice:B Poc:20 I:171 P:646 SKIP:500 size=3681 bytes
[libx264 @ 0x14792c0] frame= 401 QP=23.60 NAL=2 Slice:P Poc:26 I:452 P:858 SKIP:40 size=16239 bytes
[libx264 @ 0x14792c0] frame= 402 QP=26.91 NAL=0 Slice:B Poc:24 I:117 P:664 SKIP:530 size=3496 bytes
[libx264 @ 0x14792c0] frame= 403 QP=21.93 NAL=2 Slice:P Poc:28 I:0 P:108 SKIP:1242 size=476 bytes
[libx264 @ 0x14792c0] frame= 404 QP=24.28 NAL=2 Slice:P Poc:30 I:161 P:1030 SKIP:159 size=10273 bytes
[libx264 @ 0x14792c0] frame= 405 QP=24.12 NAL=2 Slice:P Poc:34 I:321 P:970 SKIP:59 size=15877 bytes
[libx264 @ 0x14792c0] frame= 406 QP=27.90 NAL=0 Slice:B Poc:32 I:64 P:639 SKIP:611 size=3253 bytes
[libx264 @ 0x14792c0] frame= 407 QP=23.65 NAL=2 Slice:P Poc:38 I:259 P:1003 SKIP:88 size=14918 bytes
[libx264 @ 0x14792c0] frame= 408 QP=28.06 NAL=0 Slice:B Poc:36 I:36 P:502 SKIP:782 size=2201 bytes
[libx264 @ 0x14792c0] frame= 409 QP=22.35 NAL=2 Slice:P Poc:40 I:1 P:103 SKIP:1246 size=426 bytes
[libx264 @ 0x14792c0] frame= 410 QP=23.92 NAL=2 Slice:P Poc:44 I:144 P:1004 SKIP:202 size=10742 bytes
[libx264 @ 0x14792c0] frame= 411 QP=28.91 NAL=0 Slice:B Poc:42 I:25 P:280 SKIP:1027 size=1241 bytes
[libx264 @ 0x14792c0] frame= 412 QP=23.83 NAL=2 Slice:P Poc:48 I:78 P:1018 SKIP:254 size=9288 bytes
[libx264 @ 0x14792c0] frame= 413 QP=27.40 NAL=0 Slice:B Poc:46 I:19 P:264 SKIP:1050 size=973 bytes
[libx264 @ 0x14792c0] frame= 414 QP=22.87 NAL=2 Slice:P Poc:50 I:32 P:1013 SKIP:305 size=6771 bytes
[libx264 @ 0x14792c0] frame= 415 QP=22.63 NAL=2 Slice:P Poc:52 I:0 P:121 SKIP:1229 size=454 bytes
[libx264 @ 0x14792c0] frame= 416 QP=23.10 NAL=2 Slice:P Poc:58 I:66 P:988 SKIP:296 size=8122 bytes
[libx264 @ 0x14792c0] frame= 417 QP=28.51 NAL=2 Slice:B Poc:56 I:11 P:151 SKIP:1187 size=426 bytes
[libx264 @ 0x14792c0] frame= 418 QP=29.58 NAL=0 Slice:B Poc:54 I:5 P:102 SKIP:1241 size=270 bytes
[libx264 @ 0x14792c0] frame= 419 QP=20.35 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=46368 bytes
[libx264 @ 0x14792c0] frame= 420 QP=22.10 NAL=2 Slice:P Poc:2 I:44 P:819 SKIP:487 size=6029 bytes
[libx264 @ 0x14792c0] frame= 421 QP=20.22 NAL=2 Slice:P Poc:4 I:0 P:115 SKIP:1235 size=348 bytes
[libx264 @ 0x14792c0] frame= 422 QP=25.61 NAL=2 Slice:P Poc:8 I:57 P:968 SKIP:325 size=7776 bytes
[libx264 @ 0x14792c0] frame= 423 QP=29.87 NAL=0 Slice:B Poc:6 I:15 P:270 SKIP:1052 size=945 bytes
[libx264 @ 0x14792c0] frame= 424 QP=25.95 NAL=2 Slice:P Poc:12 I:80 P:970 SKIP:300 size=8160 bytes
[libx264 @ 0x14792c0] frame= 425 QP=29.17 NAL=0 Slice:B Poc:10 I:29 P:312 SKIP:994 size=1522 bytes
[libx264 @ 0x14792c0] frame= 426 QP=25.55 NAL=2 Slice:P Poc:14 I:49 P:860 SKIP:441 size=6702 bytes
[libx264 @ 0x14792c0] frame= 427 QP=24.13 NAL=2 Slice:P Poc:16 I:0 P:75 SKIP:1275 size=226 bytes
[libx264 @ 0x14792c0] frame= 428 QP=26.52 NAL=2 Slice:P Poc:20 I:110 P:927 SKIP:313 size=8434 bytes
[libx264 @ 0x14792c0] frame= 429 QP=30.01 NAL=0 Slice:B Poc:18 I:27 P:348 SKIP:956 size=1351 bytes
[libx264 @ 0x14792c0] frame= 430 QP=26.45 NAL=2 Slice:P Poc:24 I:146 P:928 SKIP:276 size=9057 bytes
[libx264 @ 0x14792c0] frame= 431 QP=29.65 NAL=0 Slice:B Poc:22 I:28 P:400 SKIP:899 size=1645 bytes
[libx264 @ 0x14792c0] frame= 432 QP=25.51 NAL=2 Slice:P Poc:26 I:69 P:980 SKIP:301 size=7688 bytes
[libx264 @ 0x14792c0] frame= 433 QP=25.07 NAL=2 Slice:P Poc:28 I:2 P:83 SKIP:1265 size=301 bytes
[libx264 @ 0x14792c0] frame= 434 QP=26.20 NAL=2 Slice:P Poc:32 I:188 P:940 SKIP:222 size=10675 bytes
[libx264 @ 0x14792c0] frame= 435 QP=29.67 NAL=0 Slice:B Poc:30 I:39 P:451 SKIP:832 size=2096 bytes
[libx264 @ 0x14792c0] frame= 436 QP=26.08 NAL=2 Slice:P Poc:36 I:246 P:919 SKIP:185 size=10745 bytes
[libx264 @ 0x14792c0] frame= 437 QP=30.09 NAL=0 Slice:B Poc:34 I:50 P:473 SKIP:783 size=2762 bytes
[libx264 @ 0x14792c0] frame= 438 QP=25.10 NAL=2 Slice:P Poc:38 I:129 P:928 SKIP:293 size=9079 bytes
[libx264 @ 0x14792c0] frame= 439 QP=24.86 NAL=2 Slice:P Poc:40 I:0 P:126 SKIP:1224 size=536 bytes
[libx264 @ 0x14792c0] frame= 440 QP=25.58 NAL=2 Slice:P Poc:44 I:194 P:892 SKIP:264 size=10890 bytes
[libx264 @ 0x14792c0] frame= 441 QP=32.01 NAL=0 Slice:B Poc:42 I:51 P:459 SKIP:809 size=2743 bytes
[libx264 @ 0x14792c0] frame= 442 QP=25.43 NAL=2 Slice:P Poc:48 I:186 P:899 SKIP:265 size=10668 bytes
[libx264 @ 0x14792c0] frame= 443 QP=28.87 NAL=0 Slice:B Poc:46 I:63 P:508 SKIP:744 size=2890 bytes
[libx264 @ 0x14792c0] frame= 444 QP=23.91 NAL=2 Slice:P Poc:50 I:84 P:1051 SKIP:215 size=9928 bytes
[libx264 @ 0x14792c0] frame= 445 QP=23.68 NAL=2 Slice:P Poc:52 I:0 P:145 SKIP:1205 size=658 bytes
[libx264 @ 0x14792c0] frame= 446 QP=24.78 NAL=2 Slice:P Poc:56 I:114 P:1001 SKIP:235 size=10721 bytes
[libx264 @ 0x14792c0] frame= 447 QP=27.98 NAL=0 Slice:B Poc:54 I:45 P:482 SKIP:795 size=2260 bytes
[libx264 @ 0x14792c0] frame= 448 QP=24.13 NAL=2 Slice:P Poc:58 I:74 P:1031 SKIP:245 size=9179 bytes
[libx264 @ 0x14792c0] frame= 449 QP=20.20 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=37881 bytes
[libx264 @ 0x14792c0] frame= 450 QP=22.09 NAL=2 Slice:P Poc:2 I:59 P:1141 SKIP:150 size=11285 bytes
[libx264 @ 0x14792c0] frame= 451 QP=21.84 NAL=2 Slice:P Poc:4 I:2 P:95 SKIP:1253 size=316 bytes
[libx264 @ 0x14792c0] frame= 452 QP=22.60 NAL=2 Slice:P Poc:8 I:85 P:1140 SKIP:125 size=11872 bytes
[libx264 @ 0x14792c0] frame= 453 QP=25.09 NAL=0 Slice:B Poc:6 I:20 P:652 SKIP:651 size=2710 bytes
[libx264 @ 0x14792c0] frame= 454 QP=22.71 NAL=2 Slice:P Poc:12 I:59 P:1133 SKIP:158 size=10781 bytes
[libx264 @ 0x14792c0] frame= 455 QP=26.26 NAL=0 Slice:B Poc:10 I:28 P:534 SKIP:769 size=2249 bytes
[libx264 @ 0x14792c0] frame= 456 QP=22.54 NAL=2 Slice:P Poc:14 I:48 P:878 SKIP:424 size=7902 bytes
[libx264 @ 0x14792c0] frame= 457 QP=21.04 NAL=2 Slice:P Poc:16 I:1 P:155 SKIP:1194 size=661 bytes
[libx264 @ 0x14792c0] frame= 458 QP=24.17 NAL=2 Slice:P Poc:18 I:26 P:789 SKIP:535 size=5735 bytes
[libx264 @ 0x14792c0] frame= 459 QP=20.11 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=43131 bytes
[libx264 @ 0x14792c0] frame= 460 QP=21.59 NAL=2 Slice:P Poc:4 I:31 P:1225 SKIP:94 size=14526 bytes
[libx264 @ 0x14792c0] frame= 461 QP=25.01 NAL=0 Slice:B Poc:2 I:7 P:704 SKIP:619 size=2443 bytes
[libx264 @ 0x14792c0] frame= 462 QP=21.38 NAL=2 Slice:P Poc:6 I:13 P:1246 SKIP:91 size=11692 bytes
[libx264 @ 0x14792c0] frame= 463 QP=20.80 NAL=2 Slice:P Poc:8 I:0 P:141 SKIP:1209 size=472 bytes
[libx264 @ 0x14792c0] frame= 464 QP=22.24 NAL=2 Slice:P Poc:12 I:31 P:1205 SKIP:114 size=11822 bytes
[libx264 @ 0x14792c0] frame= 465 QP=25.64 NAL=0 Slice:B Poc:10 I:8 P:706 SKIP:621 size=2025 bytes
[libx264 @ 0x14792c0] frame= 466 QP=22.11 NAL=2 Slice:P Poc:16 I:43 P:1240 SKIP:67 size=12605 bytes
[libx264 @ 0x14792c0] frame= 467 QP=25.53 NAL=0 Slice:B Poc:14 I:11 P:604 SKIP:710 size=1949 bytes
[libx264 @ 0x14792c0] frame= 468 QP=20.88 NAL=2 Slice:P Poc:18 I:48 P:1209 SKIP:93 size=13242 bytes
[libx264 @ 0x14792c0] frame= 469 QP=20.89 NAL=2 Slice:P Poc:20 I:0 P:96 SKIP:1254 size=327 bytes
[libx264 @ 0x14792c0] frame= 470 QP=21.88 NAL=2 Slice:P Poc:24 I:72 P:1175 SKIP:103 size=13220 bytes
[libx264 @ 0x14792c0] frame= 471 QP=25.86 NAL=0 Slice:B Poc:22 I:15 P:610 SKIP:710 size=2000 bytes
[libx264 @ 0x14792c0] frame= 472 QP=21.16 NAL=2 Slice:P Poc:30 I:52 P:1243 SKIP:55 size=13467 bytes
[libx264 @ 0x14792c0] frame= 473 QP=25.50 NAL=2 Slice:B Poc:28 I:13 P:619 SKIP:708 size=1952 bytes
[libx264 @ 0x14792c0] frame= 474 QP=25.38 NAL=0 Slice:B Poc:26 I:7 P:670 SKIP:670 size=1643 bytes
[libx264 @ 0x14792c0] frame= 475 QP=20.68 NAL=2 Slice:P Poc:32 I:0 P:154 SKIP:1196 size=540 bytes
[libx264 @ 0x14792c0] frame= 476 QP=21.67 NAL=2 Slice:P Poc:38 I:61 P:1201 SKIP:88 size=12452 bytes
[libx264 @ 0x14792c0] frame= 477 QP=25.19 NAL=2 Slice:B Poc:36 I:13 P:472 SKIP:854 size=1447 bytes
[libx264 @ 0x14792c0] frame= 478 QP=28.76 NAL=0 Slice:B Poc:34 I:5 P:391 SKIP:946 size=1082 bytes
[libx264 @ 0x14792c0] frame= 479 QP=21.77 NAL=2 Slice:P Poc:44 I:51 P:1189 SKIP:110 size=11386 bytes
[libx264 @ 0x14792c0] frame= 480 QP=21.77 NAL=2 Slice:B Poc:42 I:4 P:144 SKIP:1202 size=209 bytes
[libx264 @ 0x14792c0] frame= 481 QP=25.95 NAL=0 Slice:B Poc:40 I:20 P:667 SKIP:653 size=1953 bytes
[libx264 @ 0x14792c0] frame= 482 QP=21.70 NAL=2 Slice:P Poc:50 I:34 P:1237 SKIP:79 size=12405 bytes
[libx264 @ 0x14792c0] frame= 483 QP=25.49 NAL=2 Slice:B Poc:48 I:21 P:574 SKIP:745 size=1799 bytes
[libx264 @ 0x14792c0] frame= 484 QP=25.73 NAL=0 Slice:B Poc:46 I:11 P:658 SKIP:674 size=1718 bytes
[libx264 @ 0x14792c0] frame= 485 QP=22.11 NAL=2 Slice:P Poc:56 I:31 P:1141 SKIP:178 size=9658 bytes
[libx264 @ 0x14792c0] frame= 486 QP=22.35 NAL=2 Slice:B Poc:54 I:4 P:190 SKIP:1156 size=256 bytes
[libx264 @ 0x14792c0] frame= 487 QP=25.71 NAL=0 Slice:B Poc:52 I:15 P:573 SKIP:750 size=1687 bytes
[libx264 @ 0x14792c0] frame= 488 QP=22.99 NAL=2 Slice:P Poc:58 I:8 P:1021 SKIP:321 size=5578 bytes
[libx264 @ 0x14792c0] frame= 489 QP=17.62 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=50542 bytes
[libx264 @ 0x14792c0] frame= 490 QP=21.14 NAL=2 Slice:P Poc:4 I:37 P:1168 SKIP:145 size=12415 bytes
[libx264 @ 0x14792c0] frame= 491 QP=24.75 NAL=0 Slice:B Poc:2 I:15 P:634 SKIP:680 size=2350 bytes
[libx264 @ 0x14792c0] frame= 492 QP=20.71 NAL=2 Slice:P Poc:6 I:21 P:1241 SKIP:88 size=11697 bytes
[libx264 @ 0x14792c0] frame= 493 QP=22.57 NAL=2 Slice:P Poc:8 I:0 P:62 SKIP:1288 size=479 bytes
[libx264 @ 0x14792c0] frame= 494 QP=21.41 NAL=2 Slice:P Poc:14 I:66 P:1141 SKIP:143 size=12054 bytes
[libx264 @ 0x14792c0] frame= 495 QP=32.63 NAL=2 Slice:B Poc:12 I:10 P:188 SKIP:1152 size=576 bytes
[libx264 @ 0x14792c0] frame= 496 QP=25.95 NAL=0 Slice:B Poc:10 I:8 P:218 SKIP:1124 size=539 bytes
[libx264 @ 0x14792c0] frame= 497 QP=21.83 NAL=2 Slice:P Poc:22 I:20 P:1208 SKIP:122 size=9141 bytes
[libx264 @ 0x14792c0] frame= 498 QP=23.40 NAL=2 Slice:B Poc:18 I:26 P:859 SKIP:461 size=2558 bytes
[libx264 @ 0x14792c0] frame= 499 QP=25.27 NAL=0 Slice:B Poc:16 I:11 P:536 SKIP:802 size=1154 bytes
[libx264 @ 0x14792c0] frame= 500 QP=22.45 NAL=0 Slice:B Poc:20 I:1 P:262 SKIP:1087 size=290 bytes
[libx264 @ 0x14792c0] frame= 501 QP=21.63 NAL=2 Slice:P Poc:28 I:13 P:1196 SKIP:141 size=9003 bytes
[libx264 @ 0x14792c0] frame= 502 QP=25.45 NAL=2 Slice:B Poc:26 I:12 P:510 SKIP:823 size=1290 bytes
[libx264 @ 0x14792c0] frame= 503 QP=25.01 NAL=0 Slice:B Poc:24 I:10 P:589 SKIP:749 size=1189 bytes
[libx264 @ 0x14792c0] frame= 504 QP=21.03 NAL=2 Slice:P Poc:30 I:6 P:1175 SKIP:169 size=7795 bytes
[libx264 @ 0x14792c0] frame= 505 QP=22.78 NAL=2 Slice:P Poc:32 I:0 P:61 SKIP:1289 size=454 bytes
[libx264 @ 0x14792c0] frame= 506 QP=21.73 NAL=2 Slice:P Poc:38 I:26 P:1180 SKIP:144 size=8990 bytes
[libx264 @ 0x14792c0] frame= 507 QP=29.66 NAL=2 Slice:B Poc:36 I:5 P:154 SKIP:1191 size=353 bytes
[libx264 @ 0x14792c0] frame= 508 QP=27.63 NAL=0 Slice:B Poc:34 I:9 P:225 SKIP:1114 size=610 bytes
[libx264 @ 0x14792c0] frame= 509 QP=22.00 NAL=2 Slice:P Poc:46 I:14 P:1178 SKIP:158 size=7700 bytes
[libx264 @ 0x14792c0] frame= 510 QP=23.47 NAL=2 Slice:B Poc:42 I:29 P:890 SKIP:422 size=3060 bytes
[libx264 @ 0x14792c0] frame= 511 QP=25.42 NAL=0 Slice:B Poc:40 I:13 P:461 SKIP:874 size=1022 bytes
[libx264 @ 0x14792c0] frame= 512 QP=22.00 NAL=0 Slice:B Poc:44 I:2 P:237 SKIP:1111 size=262 bytes
[libx264 @ 0x14792c0] frame= 513 QP=22.22 NAL=2 Slice:P Poc:52 I:40 P:1179 SKIP:131 size=9468 bytes
[libx264 @ 0x14792c0] frame= 514 QP=25.42 NAL=2 Slice:B Poc:50 I:25 P:604 SKIP:711 size=1751 bytes
[libx264 @ 0x14792c0] frame= 515 QP=24.90 NAL=0 Slice:B Poc:48 I:14 P:617 SKIP:713 size=1686 bytes
[libx264 @ 0x14792c0] frame= 516 QP=21.11 NAL=2 Slice:P Poc:54 I:8 P:1262 SKIP:80 size=9741 bytes
[libx264 @ 0x14792c0] frame= 517 QP=20.65 NAL=2 Slice:P Poc:56 I:0 P:111 SKIP:1239 size=313 bytes
[libx264 @ 0x14792c0] frame= 518 QP=23.54 NAL=2 Slice:P Poc:58 I:8 P:791 SKIP:551 size=2974 bytes
[libx264 @ 0x14792c0] frame= 519 QP=21.49 NAL=3 Slice:I Poc:0 I:1350 P:0 SKIP:0 size=32189 bytes
[libx264 @ 0x14792c0] frame= 520 QP=22.92 NAL=2 Slice:P Poc:2 I:36 P:1008 SKIP:306 size=6387 bytes
frame= 521 fps= 75 q=-1.0 Lsize= 3788kB time=00:00:16.99 bitrate=1826.2kbits/s dup=103 drop=0
video:2773kB audio:664kB global headers:0kB muxing overhead 10.222319%
frame I:21 Avg QP:18.97 size: 39922
[libx264 @ 0x14792c0] frame P:264 Avg QP:23.84 size: 6363
[libx264 @ 0x14792c0] frame B:236 Avg QP:27.16 size: 1361
[libx264 @ 0x14792c0] consecutive B-frames: 26.7% 28.0% 32.2% 13.1%
[libx264 @ 0x14792c0] mb I I16..4: 19.4% 0.0% 80.6%
[libx264 @ 0x14792c0] mb P I16..4: 3.5% 0.0% 4.3% P16..4: 34.0% 14.6% 6.9% 0.0% 0.0% skip:36.7%
[libx264 @ 0x14792c0] mb B I16..4: 2.4% 0.0% 0.3% B16..8: 20.3% 4.7% 0.3% direct: 6.7% skip:65.4% L0:32.1% L1:55.4% BI:12.5%
[libx264 @ 0x14792c0] coded y,uvDC,uvAC intra: 60.2% 67.4% 35.7% inter: 14.8% 17.4% 0.5%
[libx264 @ 0x14792c0] i16 v,h,dc,p: 33% 27% 14% 25%
[libx264 @ 0x14792c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 23% 14% 6% 7% 7% 8% 6% 7%
[libx264 @ 0x14792c0] i8c dc,h,v,p: 53% 23% 18% 6%
[libx264 @ 0x14792c0] Weighted P-Frames: Y:4.2% UV:1.1%
[libx264 @ 0x14792c0] ref P L0: 79.7% 20.3%
[libx264 @ 0x14792c0] ref B L0: 79.5% 20.5%
[libx264 @ 0x14792c0] ref B L1: 92.8% 7.2%
[libx264 @ 0x14792c0] kb/s:1307.98

Change History (6)

comment:1 Changed 5 years ago by cehoyos

Is libx264 required to reproduce your problem? (And is it intended to mux mp3 into ts?)
Is ffmpeg -i dvblast2-output.ts -qscale 2 test.ts sufficient to reproduce the corruption? If not, which option makes the difference?

comment:2 follow-up: Changed 5 years ago by hoodzinger

Starting with your minimal command line above, I have gradually added options in and retested. The problem is being caused by the error resilience setting -er 4. I've been using this because I expect a live DVBS broadcast would have some errors in it. However I'll run without it for a while to see if we can get by without it.

comment:3 Changed 5 years ago by reimar

-er 4 will break things as soon as the encoder does even the slightest questionable thing.
For example (by my code understanding) the H.264 decoder will consider it an error if there are any unused bits in a slice.
There are a lot of encoders that will fail such a test (though I am not completely sure there's not an FFmpeg bug either).

comment:4 in reply to: ↑ 2 Changed 5 years ago by cehoyos

Replying to hoodzinger:

The problem is being caused by the error resilience setting -er 4. I've been using this because I expect a live DVBS broadcast would have some errors in it.

I believe the default value for -er is what you need, but please reopen this ticket if needed.

comment:5 Changed 5 years ago by cehoyos

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

comment:6 Changed 2 years ago by cehoyos

  • Keywords mpegts added; TS removed
Note: See TracTickets for help on using tickets.