Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge AI Video commits into master #415

Merged
merged 5 commits into from
Aug 9, 2024
Merged

Conversation

j0sh
Copy link
Collaborator

@j0sh j0sh commented Jul 31, 2024

The FPS / duration tests seem to have been written against a newer ffmpeg than what the LPMS AI Video branch is compiled with, which is causing them to fail locally, and for some reason CI is not running so we did not catch this earlier ... so let's port over the AI Video changes to master and work directly off master, to minimize further drift.

Cherry-picked the following from the ai-video branch:

Also since LPMS owns install_ffmpeg.sh now there is an install_ffmpeg.sh update in as the first commit, using the diff of the go-livepeer ai-video branch against master as a reference:

@j0sh j0sh force-pushed the ja/master-rebased-aivideo branch from 4b7161a to 6651b6f Compare July 31, 2024 21:14
@j0sh
Copy link
Collaborator Author

j0sh commented Jul 31, 2024

Updated ffmpeg: Use helper to check for video metadata to correct some unit tests that had been failing all along - fixes in 5bfc051

Copy link
Contributor

@rickstaa rickstaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @j0sh I checked the code and tests and it all looks good. I also tested the code in production and I didn't run into problems. The only thing I noticed that on my machine as mentioned earlier several tests are still failing when using ./test.sh (see logs below). When I just use go test ./... more tests are succesfull and only the known test that is incompatible with Ubuntu 24 fails. Further the CI seems to fail as well.

 go test ./...
?       github.com/livepeer/lpms/cmd/example    [no test files]
?       github.com/livepeer/lpms/cmd/example/simple     [no test files]
?       github.com/livepeer/lpms/cmd/transcoding        [no test files]
ok      github.com/livepeer/lpms/core   0.010s
?       github.com/livepeer/lpms/ffmpeg/proto   [no test files]
?       github.com/livepeer/lpms/transcoder     [no test files]
ok      github.com/livepeer/lpms/ffmpeg 304.416s
ok      github.com/livepeer/lpms/segmenter      6.392s
ok      github.com/livepeer/lpms/stream 0.412s
ok      github.com/livepeer/lpms/vidlistener    1.511s
E0807 21:26:58.013982 2323481 player.go:67] Error getting stream: error
E0807 21:26:58.014317 2323481 player.go:67] Error getting stream: error
E0807 21:26:58.016411 2323481 player.go:163] Error getting segment /seg.ts: ErrNotFound
--- FAIL: TestHLS (0.00s)
    player_test.go:127: Got 'text/vnd.trolltech.linguist; charset=utf-8' instead of expected content type
FAIL
FAIL    github.com/livepeer/lpms/vidplayer      0.005s
FAIL
Test error logs
+ EXTRA_BUILD_TAGS=
+ DEVICE_FLAGS=sw
+ which clang
+ EXTRA_BUILD_TAGS=--tags=nvidia
+ DEVICE_FLAGS='nv 0'
+ go test --tags=nvidia -timeout 30m ./...
?       github.com/livepeer/lpms/cmd/example    [no test files]
?       github.com/livepeer/lpms/cmd/example/simple     [no test files]
?       github.com/livepeer/lpms/cmd/transcoding        [no test files]
ok      github.com/livepeer/lpms/core   (cached)
?       github.com/livepeer/lpms/ffmpeg/proto   [no test files]
ERROR: decoder.c:344] demuxer: Unable to open input : No such file or directory
E0807 20:47:08.015762 2179259 ffmpeg.go:1045] Transcoder Return : No such file or directory
ERROR: transcoder.c:181] Unable to reopen file : No such file or directory
E0807 20:47:08.033599 2179259 ffmpeg.go:1045] Transcoder Return : No such file or directory
ERROR: encoder.c:282] Error opening output file : No such file or directory
ERROR: transcoder.c:238] Unable to open output : No such file or directory
E0807 20:47:08.050465 2179259 ffmpeg.go:1045] Transcoder Return : No such file or directory
E0807 20:47:08.056105 2179259 ffmpeg.go:1045] Transcoder Return : Too many outputs
[mpegts @ 0x159ab80] frame size not set
[mpegts @ 0x15a0d00] frame size not set
[mpegts @ 0x15a0d00] frame size not set
[mpegts @ 0x15ccac0] frame size not set
[mpegts @ 0x364fd80] frame size not set
[mpegts @ 0x5c2c500] frame size not set
[mpegts @ 0x5c2c500] frame size not set
[mpegts @ 0x5c2c500] frame size not set
[mpegts @ 0x15c5b00] frame size not set
[mpegts @ 0x15c5b00] frame size not set
[mpegts @ 0x53afc00] frame size not set
[mpegts @ 0x5c3a940] frame size not set
[mpegts @ 0x4d49540] frame size not set
[mpegts @ 0x49708c0] frame size not set
[mpegts @ 0x49708c0] frame size not set
[mpegts @ 0x49708c0] frame size not set
[mpegts @ 0x4971140] frame size not set
[mpegts @ 0x3682d40] frame size not set
[mpegts @ 0x3682d40] frame size not set
[mpegts @ 0x3682d40] frame size not set
[mpegts @ 0x3612a00] frame size not set
[mpegts @ 0x888be00] frame size not set
[mpegts @ 0x888be00] frame size not set
[mpegts @ 0x888be00] frame size not set
[mpegts @ 0x78278b7bde40] start time for stream 0 is not set in estimate_timings_from_pts
[mpegts @ 0x78278b7bde40] stream 0 : no TS found at start of file, duration not set
[mpegts @ 0x78278b7bde40] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpegts @ 0x78278973f900] start time for stream 0 is not set in estimate_timings_from_pts
[mpegts @ 0x78278973f900] stream 0 : no TS found at start of file, duration not set
[mpegts @ 0x78278973f900] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374028000, dts=3374030970, size=8621
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374034030, dts=3374039970, size=221
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374039970, dts=3374042940, size=6945
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374046000, dts=3374051940, size=288
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374052030, dts=3374055000, size=3480
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374057970, dts=3374060940, size=737
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374064000, dts=3374069940, size=385
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374070030, dts=3374073000, size=3236
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374076060, dts=3374082000, size=374
[mpegts @ 0x78278a943f80] Invalid timestamps stream=0, pts=3374082000, dts=3374084970, size=1539
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374028000, dts=3374030970, size=8621
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374034030, dts=3374039970, size=221
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374039970, dts=3374042940, size=6945
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374046000, dts=3374051940, size=288
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374052030, dts=3374055000, size=3480
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374057970, dts=3374060940, size=737
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374064000, dts=3374069940, size=385
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374070030, dts=3374073000, size=3236
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374076060, dts=3374082000, size=374
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374082000, dts=3374084970, size=1539
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374028000, dts=3374030970, size=8621
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374034030, dts=3374039970, size=221
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374039970, dts=3374042940, size=6945
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374046000, dts=3374051940, size=288
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374052030, dts=3374055000, size=3480
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374057970, dts=3374060940, size=737
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374064000, dts=3374069940, size=385
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374070030, dts=3374073000, size=3236
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374076060, dts=3374082000, size=374
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374082000, dts=3374084970, size=1539
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374088030, dts=3374091000, size=3436
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374094060, dts=3374100000, size=294
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374100000, dts=3374102970, size=3206
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374106030, dts=3374111970, size=158
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374111970, dts=3374114940, size=3403
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374118000, dts=3374120970, size=3325
[mpegts @ 0x7827880026c0] Invalid timestamps stream=0, pts=3374124030, dts=3374127000, size=119
ERROR: transcoder.c:344] Could not decode; No keyframes in input : Error number -1179340361 occurred
E0807 20:48:37.486441 2179259 ffmpeg.go:1045] Transcoder Return : No keyframes in input
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[aac @ 0x782788f7b2c0] Queue input is backward in time
[in @ 0x782788dab240] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x782788dab240] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 12 csp: unknown range: pc pts_time: 1.055022
[swscaler @ 0x782789df1540] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x782789df1380] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x782789df1380] deprecated pixel format used, make sure you did set range correctly
Could not open the file /tmp/TestTranscoder_CompareVideo3029691407/out-4.ts
[mpegts @ 0x782844822580] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x782844822580] stream 1 : no TS found at start of file, duration not set
[mpegts @ 0x782844822580] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpegts @ 0x782838011400] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x782838011400] stream 1 : no TS found at start of file, duration not set
[mpegts @ 0x782838011400] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[mpegts @ 0x782838011400] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x782838011400] stream 1 : no TS found at start of file, duration not set
[mpegts @ 0x782838011400] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[flv @ 0x782839f90400] DTS 18833 < 18867 out of order
[mpegts @ 0x3611340] Packet corrupt (stream = 0, dts = 177000).
[mpegts @ 0x3611340] Packet corrupt (stream = 0, dts = 354000).
[mpegts @ 0x3611340] Packet corrupt (stream = 0, dts = 534000).
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.95  kb/s: 2436.24
x265 [info]: frame P:     10, Avg QP:13.55  kb/s: 1278.41
x265 [info]: frame B:     20, Avg QP:18.30  kb/s: 131.04
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 27.3% 9.1% 18.2% 45.5%

encoded 31 frames in 0.69s (44.79 fps), 575.52 kb/s, Avg QP:16.72
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.95  kb/s: 2436.24
x265 [info]: frame P:     10, Avg QP:13.55  kb/s: 1278.41
x265 [info]: frame B:     20, Avg QP:18.30  kb/s: 131.04
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 27.3% 9.1% 18.2% 45.5%

encoded 31 frames in 0.68s (45.32 fps), 575.52 kb/s, Avg QP:16.72
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-6000 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 6000 / 6000 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I:      1, Avg QP:13.13  kb/s: 23589.60
x265 [info]: frame P:     16, Avg QP:12.28  kb/s: 21548.94
x265 [info]: frame B:     44, Avg QP:18.22  kb/s: 1733.07
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.8% 0.0% 5.9% 82.4%

encoded 61 frames in 2.80s (21.82 fps), 7288.98 kb/s, Avg QP:16.58
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-6000 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 6000 / 6000 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I:      1, Avg QP:13.13  kb/s: 23589.60
x265 [info]: frame P:     16, Avg QP:12.28  kb/s: 21548.94
x265 [info]: frame B:     44, Avg QP:18.22  kb/s: 1733.07
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.8% 0.0% 5.9% 82.4%

encoded 61 frames in 2.73s (22.31 fps), 7288.98 kb/s, Avg QP:16.58
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.75  kb/s: 2456.88
x265 [info]: frame P:      8, Avg QP:13.28  kb/s: 1465.77
x265 [info]: frame B:     22, Avg QP:17.26  kb/s: 209.20
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.1% 11.1% 0.0% 77.8%

encoded 31 frames in 0.89s (34.97 fps), 605.98 kb/s, Avg QP:16.22
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.75  kb/s: 2456.88
x265 [info]: frame P:      8, Avg QP:13.30  kb/s: 1463.91
x265 [info]: frame B:     22, Avg QP:17.36  kb/s: 194.28
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.1% 11.1% 0.0% 77.8%

encoded 31 frames in 0.83s (37.43 fps), 594.91 kb/s, Avg QP:16.29
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-6000 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 6000 / 6000 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I:      1, Avg QP:13.13  kb/s: 23589.60
x265 [info]: frame P:     16, Avg QP:12.28  kb/s: 21548.94
x265 [info]: frame B:     44, Avg QP:18.22  kb/s: 1733.07
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.8% 0.0% 5.9% 82.4%

encoded 61 frames in 2.69s (22.70 fps), 7288.98 kb/s, Avg QP:16.58
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-6000 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 6000 / 6000 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I:      1, Avg QP:13.13  kb/s: 23589.60
x265 [info]: frame P:     16, Avg QP:12.28  kb/s: 21548.94
x265 [info]: frame B:     44, Avg QP:18.22  kb/s: 1733.07
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.8% 0.0% 5.9% 82.4%

encoded 61 frames in 2.74s (22.30 fps), 7288.98 kb/s, Avg QP:16.58
[in @ 0x7825f4499c80] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825f4499c80] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
[in @ 0x7825ecad2400] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825ecad2400] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
[in @ 0x7825edc2e200] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825edc2e200] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
x265 [info]: frame I:      1, Avg QP:17.10  kb/s: 2380.80
x265 [info]: frame P:     10, Avg QP:13.93  kb/s: 1108.63
x265 [info]: frame B:     20, Avg QP:17.75  kb/s: 153.05
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 18.2% 27.3% 9.1% 45.5%

encoded 31 frames in 0.71s (43.50 fps), 533.16 kb/s, Avg QP:16.50
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
[in @ 0x7825f47fc380] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825f47fc380] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
x265 [info]: frame I:      1, Avg QP:17.10  kb/s: 2380.80
x265 [info]: frame P:     10, Avg QP:13.91  kb/s: 1126.30
x265 [info]: frame B:     20, Avg QP:17.74  kb/s: 146.92
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 18.2% 27.3% 9.1% 45.5%

encoded 31 frames in 0.70s (44.12 fps), 534.91 kb/s, Avg QP:16.48
[in @ 0x7825f63651c0] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825f63651c0] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
[in @ 0x7825f7b30b80] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825f7b30b80] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
[in @ 0x7826e23155c0] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7826e23155c0] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
[in @ 0x7825f7f66380] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825f7f66380] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.15  kb/s: 2521.92
x265 [info]: frame P:      9, Avg QP:12.81  kb/s: 1421.44
x265 [info]: frame B:     21, Avg QP:17.56  kb/s: 196.46
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 30.0% 0.0% 0.0% 70.0%

encoded 31 frames in 0.78s (39.68 fps), 627.11 kb/s, Avg QP:16.14
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.15  kb/s: 2521.92
x265 [info]: frame P:      9, Avg QP:12.81  kb/s: 1421.44
x265 [info]: frame B:     21, Avg QP:17.56  kb/s: 196.46
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 30.0% 0.0% 0.0% 70.0%

encoded 31 frames in 0.81s (38.44 fps), 627.11 kb/s, Avg QP:16.14
[mpegts @ 0x7825ed7d9ac0] frame size not set
[mp4 @ 0x7825ed7d9ac0] No streams to mux were specified
ERROR: encoder.c:286] Error writing header : Invalid argument
ERROR: transcoder.c:238] Unable to open output : Invalid argument
E0807 20:51:24.019299 2179259 ffmpeg.go:1045] Transcoder Return : Invalid argument
[mpegts @ 0x7826e0020ec0] frame size not set
[mpegts @ 0x782847bd3000] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 0x7828445732c0] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 0x782844f4cac0] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x782844f4cac0] stream 1 : no TS found at start of file, duration not set
[mpegts @ 0x782844f4cac0] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
zero-frame.ts true aac h264 {-1} <nil>
[mpegts @ 0x782844f4cac0] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
zero-frame.ts true aac h264 {-1} <nil>
bunny.mp4 false aac h264 {0} <nil>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7827940010c0] stream 0, offset 0x30: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7827940010c0] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none(tv, smpte170m/smpte170m/bt709), 640x360, 418 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[aac @ 0x7827940010c0] Estimating duration from bitrate, this may be inaccurate
[mp3 @ 0x7827940010c0] Estimating duration from bitrate, this may be inaccurate
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.95  kb/s: 2436.24
x265 [info]: frame P:     10, Avg QP:13.55  kb/s: 1278.41<detail
x265 [info]: frame B:     20, Avg QP:18.30  kb/s: 131.04
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 27.3% 9.1% 18.2% 45.5%

encoded 31 frames in 0.67s (46.17 fps), 575.52 kb/s, Avg QP:16.72
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-6000 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 6000 / 6000 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I:      1, Avg QP:13.13  kb/s: 23589.60
x265 [info]: frame P:     16, Avg QP:12.28  kb/s: 21548.94
x265 [info]: frame B:     44, Avg QP:18.22  kb/s: 1733.07
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.8% 0.0% 5.9% 82.4%

encoded 61 frames in 2.71s (22.49 fps), 7288.98 kb/s, Avg QP:16.58
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-6000 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 6000 / 6000 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I:      1, Avg QP:13.13  kb/s: 23589.60
x265 [info]: frame P:     16, Avg QP:12.26  kb/s: 21557.37
x265 [info]: frame B:     44, Avg QP:18.28  kb/s: 1734.77
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.8% 0.0% 5.9% 82.4%

encoded 61 frames in 2.72s (22.46 fps), 7292.42 kb/s, Avg QP:16.61
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.74  kb/s: 2451.36
x265 [info]: frame P:      8, Avg QP:13.35  kb/s: 1437.84
x265 [info]: frame B:     22, Avg QP:17.22  kb/s: 194.63
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 11.1% 11.1% 0.0% 77.8%

encoded 31 frames in 0.90s (34.61 fps), 588.26 kb/s, Avg QP:16.21
[vp8_cuvid @ 0x78279428b200] ignoring invalid SAR: 0/0
[in @ 0x7825c02455c0] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825c02455c0] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
[vp8_cuvid @ 0x78279428b200] ignoring invalid SAR: 0/0
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
[in @ 0x7825b4013ac0] Changing video frame properties on the fly is not supported by all filters.
[in @ 0x7825b4013ac0] filter context - w: 1280 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 1280 h: 720 fmt: 0 csp: bt470bg range: tv pts_time: 1.433
x265 [info]: frame I:      1, Avg QP:17.10  kb/s: 2380.80
x265 [info]: frame P:     10, Avg QP:13.91  kb/s: 1122.07
x265 [info]: frame B:     20, Avg QP:17.74  kb/s: 155.15
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 18.2% 27.3% 9.1% 45.5%

encoded 31 frames in 0.71s (43.85 fps), 538.85 kb/s, Avg QP:16.48
x265 [info]: HEVC encoder version 3.5+20-17839cc0d
x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 1 / wpp(4 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 3 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-600 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 600 / 600 / 0.750
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing deblock
x265 [info]: tools: sao
x265 [info]: frame I:      1, Avg QP:16.15  kb/s: 2521.92
x265 [info]: frame P:      9, Avg QP:12.81  kb/s: 1421.44
x265 [info]: frame B:     21, Avg QP:17.56  kb/s: 196.46
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 30.0% 0.0% 0.0% 70.0%

encoded 31 frames in 0.79s (39.40 fps), 627.11 kb/s, Avg QP:16.14
ERROR: decoder.c:286] Input codec does not support hardware acceleration : Error number -1129336393 occurred
ERROR: decoder.c:352] Unable to open video decoder : Error number -1129336393 occurred
E0807 20:52:30.914349 2179259 ffmpeg.go:1045] Transcoder Return : Unsupported input codec
ERROR: decoder.c:295] Non 4:2:0 pixel format detected in input : Error number -1481657929 occurred
ERROR: decoder.c:352] Unable to open video decoder : Error number -1481657929 occurred
E0807 20:52:31.657562 2179259 ffmpeg.go:1045] Transcoder Return : Unsupported input pixel format
[h264_nvenc @ 0x782795947d00] Failed locking bitstream buffer: invalid param (8): :7k?A?
ERROR: encoder.c:354] Error sending frame to encoder : Invalid argument
[h264_nvenc @ 0x782795947d00] Failed locking bitstream buffer: invalid param (8): :7k?A?
ERROR: encoder.c:354] Error sending frame to encoder : Invalid argument
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
ERROR: encoder.c:354] Error sending frame to encoder : Resource temporarily unavailable
[mpegts @ 0x8bcff80] frame size not set
[mpegts @ 0x7b80000] frame size not set
[mpegts @ 0x7fa4fc0] frame size not set
[mpegts @ 0x8bcff80] frame size not set
[mpegts @ 0x9416d40] frame size not set
[mpegts @ 0x3f6ae80] frame size not set
[mpegts @ 0x2e35980] frame size not set
[mpegts @ 0x3f6ae80] frame size not set
[mpegts @ 0x78270f93d300] frame size not set
[mpegts @ 0x78270f93d300] frame size not set
[mpegts @ 0x78270f93d300] frame size not set
[mpegts @ 0x78270f93d300] frame size not set
[mpegts @ 0x7826e8539240] frame size not set
[mpegts @ 0x7826e8539240] frame size not set
[mpegts @ 0x7826e8539240] frame size not set
[mpegts @ 0x7826e8539240] frame size not set
[h264_nvenc @ 0x7826eb5f26c0] OpenEncodeSessionEx failed: incompatible client key (21): (no details)
ERROR: encoder.c:259] Error opening video encoder : Invalid argument
ERROR: transcoder.c:238] Unable to open output : Invalid argument
E0807 20:53:08.177149 2179259 ffmpeg.go:1045] Transcoder Return : Invalid argument
--- FAIL: TestNvidia_ShortSegments (7.88s)
    api_test.go:521: Invalid argument
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x667020]

goroutine 360 [running]:
testing.tRunner.func1.2({0x6ccf80, 0x974350})
        /usr/local/go/src/testing/testing.go:1631 +0x24a
testing.tRunner.func1()
        /usr/local/go/src/testing/testing.go:1634 +0x377
panic({0x6ccf80?, 0x974350?})
        /usr/local/go/src/runtime/panic.go:770 +0x132
github.com/livepeer/lpms/ffmpeg.shortSegments(0xc0003c44e0, 0x1, 0x6)
        /home/ricks/development/livepeer/ai/lpms/ffmpeg/api_test.go:523 +0x420
github.com/livepeer/lpms/ffmpeg.TestNvidia_ShortSegments(0xc0003c44e0)
        /home/ricks/development/livepeer/ai/lpms/ffmpeg/nvidia_test.go:686 +0x79
testing.tRunner(0xc0003c44e0, 0x75ec20)
        /usr/local/go/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1
        /usr/local/go/src/testing/testing.go:1742 +0x390
FAIL    github.com/livepeer/lpms/ffmpeg 362.423s
ok      github.com/livepeer/lpms/segmenter      (cached)
ok      github.com/livepeer/lpms/stream (cached)
ok      github.com/livepeer/lpms/transcoder     (cached)
ok      github.com/livepeer/lpms/vidlistener    (cached)
E0807 20:47:06.054795 2179260 player.go:67] Error getting stream: error
E0807 20:47:06.055165 2179260 player.go:67] Error getting stream: error
E0807 20:47:06.057289 2179260 player.go:163] Error getting segment /seg.ts: ErrNotFound
--- FAIL: TestHLS (0.00s)
    player_test.go:127: Got 'text/vnd.trolltech.linguist; charset=utf-8' instead of expected content type
FAIL
FAIL    github.com/livepeer/lpms/vidplayer      0.006s
FAIL

I will leave it to you to decide whether we can merge this already 👍🏻.

@j0sh
Copy link
Collaborator Author

j0sh commented Aug 8, 2024

This is passing for me locally, including with nvidia, however the failures in CI are consistent and a bit more concerning: it is always this one TestAPI_ConsecutiveMP4s

I would like to do a little more digging first before merging

Test cases passing locally:

josh@josh-gpu:~/aivideo-lpms$ time LD_LIBRARY_PATH=$HOME/compiled/ffmpeg-debug/lib PATH=$HOME/compiled/ffmpeg-debug/bin:$PATH PKG_CONFIG_PATH=$HOME/compiled/ffmpeg-debug/lib/pkgconfig go test -timeout 0 -tags nvidia ./...
?       github.com/livepeer/lpms/cmd/example    [no test files]
?       github.com/livepeer/lpms/cmd/example/simple     [no test files]
?       github.com/livepeer/lpms/cmd/transcoding        [no test files]
ok      github.com/livepeer/lpms/core   0.017s
?       github.com/livepeer/lpms/ffmpeg/proto   [no test files]
ok      github.com/livepeer/lpms/ffmpeg 1442.246s
ok      github.com/livepeer/lpms/segmenter      7.028s
ok      github.com/livepeer/lpms/stream 0.427s
ok      github.com/livepeer/lpms/transcoder     0.015s
ok      github.com/livepeer/lpms/vidlistener    1.587s
ok      github.com/livepeer/lpms/vidplayer      0.025s

real    24m11.747s
user    34m11.283s

only the known test that is incompatible with Ubuntu 24 fails

@rickstaa This should do the trick - from the test runner

echo '<?xml version="1.0" encoding="UTF-8"?><mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"><mime-type type="video/mp2t"><comment>ts</comment><glob pattern="*.ts"/></mime-type></mime-info>' >> /usr/share/mime/packages/custom_mime_type.xml && update-mime-database /usr/share/mime

@rickstaa
Copy link
Contributor

rickstaa commented Aug 9, 2024

This is passing for me locally, including with nvidia, however the failures in CI are consistent and a bit more concerning: it is always this one TestAPI_ConsecutiveMP4s

I would like to do a little more digging first before merging

Test cases passing locally:

josh@josh-gpu:~/aivideo-lpms$ time LD_LIBRARY_PATH=$HOME/compiled/ffmpeg-debug/lib PATH=$HOME/compiled/ffmpeg-debug/bin:$PATH PKG_CONFIG_PATH=$HOME/compiled/ffmpeg-debug/lib/pkgconfig go test -timeout 0 -tags nvidia ./...
?       github.com/livepeer/lpms/cmd/example    [no test files]
?       github.com/livepeer/lpms/cmd/example/simple     [no test files]
?       github.com/livepeer/lpms/cmd/transcoding        [no test files]
ok      github.com/livepeer/lpms/core   0.017s
?       github.com/livepeer/lpms/ffmpeg/proto   [no test files]
ok      github.com/livepeer/lpms/ffmpeg 1442.246s
ok      github.com/livepeer/lpms/segmenter      7.028s
ok      github.com/livepeer/lpms/stream 0.427s
ok      github.com/livepeer/lpms/transcoder     0.015s
ok      github.com/livepeer/lpms/vidlistener    1.587s
ok      github.com/livepeer/lpms/vidplayer      0.025s

real    24m11.747s
user    34m11.283s

only the known test that is incompatible with Ubuntu 24 fails

@rickstaa This should do the trick - from the test runner

echo '<?xml version="1.0" encoding="UTF-8"?><mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"><mime-type type="video/mp2t"><comment>ts</comment><glob pattern="*.ts"/></mime-type></mime-info>' >> /usr/share/mime/packages/custom_mime_type.xml && update-mime-database /usr/share/mime

Hey @j0sh take your time. I might merge this in the ai-video branch already to get a release out. I tested your command and it now works better but still gives an error:

--- FAIL: TestNvidia_ShortSegments (7.62s)
    api_test.go:521: Invalid argument
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x667020]

goroutine 341 [running]:
testing.tRunner.func1.2({0x6ccf80, 0x974350})
        /usr/local/go/src/testing/testing.go:1631 +0x24a
testing.tRunner.func1()
        /usr/local/go/src/testing/testing.go:1634 +0x377
panic({0x6ccf80?, 0x974350?})
        /usr/local/go/src/runtime/panic.go:770 +0x132
github.com/livepeer/lpms/ffmpeg.shortSegments(0xc0004ac340, 0x1, 0x6)
        /home/ricks/development/livepeer/ai/lpms/ffmpeg/api_test.go:523 +0x420
github.com/livepeer/lpms/ffmpeg.TestNvidia_ShortSegments(0xc0004ac340)
        /home/ricks/development/livepeer/ai/lpms/ffmpeg/nvidia_test.go:686 +0x79
testing.tRunner(0xc0004ac340, 0x75ec20)
        /usr/local/go/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1
        /usr/local/go/src/testing/testing.go:1742 +0x390
FAIL    github.com/livepeer/lpms/ffmpeg 363.530s

I think it is related to my system as I'm on Ubuntu 24 so don't worry to much about it. I was just curious if there was a way to get the tests to pass on my system.

@j0sh
Copy link
Collaborator Author

j0sh commented Aug 9, 2024

@rickstaa On the error you are getting - from your previous logs from this one line it does seem like something with your GPU / driver setup, maybe it is hitting the encoder session limit?

OpenEncodeSessionEx failed: incompatible client key (21): (no details)

I will merge this to unblock AI and debug CI separately.

@j0sh j0sh force-pushed the ja/master-rebased-aivideo branch from 6a3af6f to 6651b6f Compare August 9, 2024 19:28
@j0sh j0sh merged commit c333041 into master Aug 9, 2024
3 of 5 checks passed
@j0sh j0sh deleted the ja/master-rebased-aivideo branch August 9, 2024 19:43
@j0sh
Copy link
Collaborator Author

j0sh commented Aug 9, 2024

@rickstaa merged. Since LPMS install_ffmpeg.sh was updated, the install_ffmpeg.sh in the go-livepeer AI Video branch will need to be updated to point to this - https://raw.githubusercontent.com/livepeer/lpms/bd7f8b07600446f018eab6075c22601aa3301bf6/install_ffmpeg.sh

@rickstaa
Copy link
Contributor

rickstaa commented Aug 10, 2024

@rickstaa merged. Since LPMS install_ffmpeg.sh was updated, the install_ffmpeg.sh in the go-livepeer AI Video branch will need to be updated to point to this - https://raw.githubusercontent.com/livepeer/lpms/bd7f8b07600446f018eab6075c22601aa3301bf6/install_ffmpeg.sh

Hey @j0sh thanks for the update. I rebased our go-livepeer/ai-video branch so this should be done (see livepeer/go-livepeer@016259f) 👍🏻.

rickstaa added a commit to livepeer/go-livepeer that referenced this pull request Aug 10, 2024
This commit updates the lpms dependency to the master branch now the ai-video
related features are merged in (see livepeer/lpms#415).
rickstaa added a commit to livepeer/go-livepeer that referenced this pull request Aug 10, 2024
This commit updates the lpms dependency to the master branch now the ai-video
related features are merged in (see livepeer/lpms#415).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants