This same issue occurs with ffmpeg, but I'm hoping you can fix it in x262.
The "static" or "bad" video (it is supposed to represent the loss of video signal) causes buffer underflows. I'm limited to a video bit rate of 10.5 Mbps.
Here are the source files:
http://digispotdub.chartermedia.com/badvideo/
The MOV is the original, the M2V is made with ffmpeg - it does ok with it at VERY high bit rates, unfortunately, that doesn't help much.
I've tried using both sources, to no avail.
Any help you can provide is very much appreciated.
Thanks!
D:>x262 --bitrate 10500 --vbv-maxrate 10500 --vbv-bufsize 4000 --force-cfr --fp
s 30000/1001 --nal-hrd cbr -o BVX.m2v BVF.m2v
[mpegvideo @ 01512CA0] Estimating duration from bitrate, this may be inaccurate
lavf [info]: 1920x1080p 1:1 @ 25/1 fps (cfr)
x262 [info]: using SAR=1/1
x262 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
x262 [info]: Main profile @ High level
x262 [warning]: VBV underflow (frame 304, -590974 bits)
x262 [warning]: VBV underflow (frame 305, -1062682 bits)
x262 [warning]: VBV underflow (frame 306, -1124794 bits)
x262 [warning]: VBV underflow (frame 307, -982506 bits)
x262 [warning]: VBV underflow (frame 308, -1007698 bits)
x262 [warning]: VBV underflow (frame 309, -999490 bits)
x262 [warning]: VBV underflow (frame 310, -971506 bits)
x262 [warning]: VBV underflow (frame 311, -973570 bits)
x262 [warning]: VBV underflow (frame 312, -980674 bits)
x262 [warning]: VBV underflow (frame 313, -978426 bits)
x262 [warning]: VBV underflow (frame 314, -936850 bits)
x262 [warning]: VBV underflow (frame 315, -953570 bits)
x262 [warning]: VBV underflow (frame 316, -46714 bits)
x262 [warning]: VBV underflow (frame 1018, -360134 bits)
x262 [warning]: VBV underflow (frame 1019, -945346 bits)
x262 [warning]: VBV underflow (frame 1020, -1003538 bits)
x262 [warning]: VBV underflow (frame 1021, -964130 bits)
x262 [warning]: VBV underflow (frame 1022, -978538 bits)
x262 [warning]: VBV underflow (frame 1023, -964114 bits)
x262 [warning]: VBV underflow (frame 1024, -932618 bits)
x262 [warning]: VBV underflow (frame 1025, -936258 bits)
x262 [warning]: VBV underflow (frame 1026, -946002 bits)
x262 [warning]: VBV underflow (frame 1027, -951282 bits)
x262 [warning]: VBV underflow (frame 1028, -44218 bits)
x262 [info]: frame I:19 Avg QP: 8.96 size:109380
x262 [info]: frame P:396 Avg QP: 9.48 size: 38896
x262 [info]: frame B:785 Avg QP: 8.58 size: 26403
x262 [info]: consecutive B-frames: 12.0% 2.0% 1.0% 85.0%
x262 [info]: mb I I16..4: 100.0% 0.0% 0.0%
x262 [info]: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 48.2% 0.0% 0.0% 0.0% 0
.0% skip:51.8%
x262 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 24.8% 0.0% 0.0% direct:
0.0% skip:75.2% L0:48.3% L1:39.5% BI:12.2%
x262 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 14.9% 8.0% 5.9
%
x262 [info]: kb/s:7633.88
encoded 1200 frames, 7.59 fps, 7633.88 kb/s
This same issue occurs with ffmpeg, but I'm hoping you can fix it in x262.
The "static" or "bad" video (it is supposed to represent the loss of video signal) causes buffer underflows. I'm limited to a video bit rate of 10.5 Mbps.
Here are the source files:
http://digispotdub.chartermedia.com/badvideo/
The MOV is the original, the M2V is made with ffmpeg - it does ok with it at VERY high bit rates, unfortunately, that doesn't help much.
I've tried using both sources, to no avail.
Any help you can provide is very much appreciated.
Thanks!
D:>x262 --bitrate 10500 --vbv-maxrate 10500 --vbv-bufsize 4000 --force-cfr --fp
s 30000/1001 --nal-hrd cbr -o BVX.m2v BVF.m2v
[mpegvideo @ 01512CA0] Estimating duration from bitrate, this may be inaccurate
lavf [info]: 1920x1080p 1:1 @ 25/1 fps (cfr)
x262 [info]: using SAR=1/1
x262 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
x262 [info]: Main profile @ High level
x262 [warning]: VBV underflow (frame 304, -590974 bits)
x262 [warning]: VBV underflow (frame 305, -1062682 bits)
x262 [warning]: VBV underflow (frame 306, -1124794 bits)
x262 [warning]: VBV underflow (frame 307, -982506 bits)
x262 [warning]: VBV underflow (frame 308, -1007698 bits)
x262 [warning]: VBV underflow (frame 309, -999490 bits)
x262 [warning]: VBV underflow (frame 310, -971506 bits)
x262 [warning]: VBV underflow (frame 311, -973570 bits)
x262 [warning]: VBV underflow (frame 312, -980674 bits)
x262 [warning]: VBV underflow (frame 313, -978426 bits)
x262 [warning]: VBV underflow (frame 314, -936850 bits)
x262 [warning]: VBV underflow (frame 315, -953570 bits)
x262 [warning]: VBV underflow (frame 316, -46714 bits)
x262 [warning]: VBV underflow (frame 1018, -360134 bits)
x262 [warning]: VBV underflow (frame 1019, -945346 bits)
x262 [warning]: VBV underflow (frame 1020, -1003538 bits)
x262 [warning]: VBV underflow (frame 1021, -964130 bits)
x262 [warning]: VBV underflow (frame 1022, -978538 bits)
x262 [warning]: VBV underflow (frame 1023, -964114 bits)
x262 [warning]: VBV underflow (frame 1024, -932618 bits)
x262 [warning]: VBV underflow (frame 1025, -936258 bits)
x262 [warning]: VBV underflow (frame 1026, -946002 bits)
x262 [warning]: VBV underflow (frame 1027, -951282 bits)
x262 [warning]: VBV underflow (frame 1028, -44218 bits)
x262 [info]: frame I:19 Avg QP: 8.96 size:109380
x262 [info]: frame P:396 Avg QP: 9.48 size: 38896
x262 [info]: frame B:785 Avg QP: 8.58 size: 26403
x262 [info]: consecutive B-frames: 12.0% 2.0% 1.0% 85.0%
x262 [info]: mb I I16..4: 100.0% 0.0% 0.0%
x262 [info]: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 48.2% 0.0% 0.0% 0.0% 0
.0% skip:51.8%
x262 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 24.8% 0.0% 0.0% direct:
0.0% skip:75.2% L0:48.3% L1:39.5% BI:12.2%
x262 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 14.9% 8.0% 5.9
%
x262 [info]: kb/s:7633.88
encoded 1200 frames, 7.59 fps, 7633.88 kb/s