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

Test failure with ffmpeg 6.1 #948

Open
antonio-rojas opened this issue Jan 6, 2024 · 2 comments
Open

Test failure with ffmpeg 6.1 #948

antonio-rojas opened this issue Jan 6, 2024 · 2 comments

Comments

@antonio-rojas
Copy link

The FFmpegWriter:Options_Overloads test fails with FFmpeg 6.1:

 68/189 Test  #68: FFmpegWriter:Options_Overloads .................................***Failed    0.71 sec
[libx264 @ 0x55689a5c4300] using SAR=1/1
[libx264 @ 0x55689a5c4300] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55689a5c4300] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x55689a5c4300] 264 - core 164 r3108 31e19f9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=8 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=12 rc=abr mbtree=1 bitrate=5000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x55689a5c4300] lookahead thread is already stopped
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
Frame AVERROR_EOF
[libx264 @ 0x55689a5c4300] frame I:1     Avg QP:11.69  size:  5379
[libx264 @ 0x55689a5c4300] mb I  I16..4: 24.4% 71.2%  4.4%
[libx264 @ 0x55689a5c4300] final ratefactor: 16.01
[libx264 @ 0x55689a5c4300] 8x8 transform intra:71.2%
[libx264 @ 0x55689a5c4300] coded y,uvDC,uvAC intra: 10.7% 0.8% 0.0%
[libx264 @ 0x55689a5c4300] i16 v,h,dc,p: 57% 29% 12%  2%
[libx264 @ 0x55689a5c4300] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 57% 28%  7%  2%  1%  1%  1%  1%  1%
[libx264 @ 0x55689a5c4300] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 54% 21%  7%  4%  4%  3%  2%  3%  2%
[libx264 @ 0x55689a5c4300] i8c dc,h,v,p: 99%  1%  0%  0%
[libx264 @ 0x55689a5c4300] kb/s:1290.96
[aac @ 0x55689a5c5580] Qavg: 193.536
[aac @ 0x55689a5c5580] 1 frames left in the queue on closing
Filters: "Options_Overloads"
Randomness seeded to: 1508310400

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
openshot-FFmpegWriter-test is a Catch2 v3.5.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
Options_Overloads
-------------------------------------------------------------------------------
/usr/src/debug/libopenshot/libopenshot-0.3.2/tests/FFmpegWriter.cpp:75
...............................................................................

/usr/src/debug/libopenshot/libopenshot-0.3.2/tests/FFmpegWriter.cpp:105: FAILED:
  CHECK( r1.info.has_video == true )
with expansion:
  false == true

===============================================================================
test cases: 1 | 1 failed
assertions: 8 | 7 passed | 1 failed
@cpuccino
Copy link

cpuccino commented May 31, 2024

I upgraded to Ubuntu 24 LTS and noticed that FFMPEG 6 is the default version. I'm encountering the same issues with libopenshot not working with the default version. Current workaround is to manually build FFMPEG 4, then configure the paths and linkers.

However, this isn't really an ideal solution. Would be great to have this fixed. Thanks :D

@bdrung
Copy link

bdrung commented Jun 30, 2024

I see the same error messages on Ubuntu 24.04 with the openshot packages shipped in Ubuntu 24.04: https://bugs.launchpad.net/ubuntu/+source/libopenshot/+bug/2069763

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

No branches or pull requests

3 participants