Opened 6 years ago

Closed 6 years ago

#3144 closed defect (fixed)

Assertion failure with XVMC removal

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

Description

Summary of the bug:
Compiling with FF_API_XVMC == 0 results in an assertain failure.
"Assertion CODEC_ID_CLLC == AV_CODEC_ID_CLLC failed at libavcodec/utils.c:2849"

This was introduced with commit 19e30a58fc8ee6187a0bc14aff7f566a13c81421

Attachments (2)

no-xvmc-2.diff (1.3 KB) - added by vallimar 6 years ago.
no-xvmc-1.diff (2.1 KB) - added by vallimar 6 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 6 years ago by cehoyos

  • Component changed from FFmpeg to undetermined

How can this be triggered?

Changed 6 years ago by vallimar

Changed 6 years ago by vallimar

comment:2 Changed 6 years ago by vallimar

Using no-xvmc-1 patch, which forces FF_API_XVMC to equal 0 and also provides a couple corrections to allow compilation of MPlayer with this setting. I play my files through UMS (http://www.universalmediaserver.com) using mencoder to transcode files, it passes them through to ffmpeg using an -oac and -ovc value of "lavc". I did a fresh checkout and compile of both sources just now also.

With only the -1 patch applied:

DEBUG 2013-11-16 23:10:39.029 [mencoder-76] Starting mencoder -ss 0 "/srv/torrent/Anime/Gurren Lagann/[CBM]_Gurren_Lagann_-_01_-_Bust_Through_the_Heavens_With_Your_Drill!_[720p]_[D2E69407].mkv" -msglevel statusline=2 -oac lavc -of mpeg -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=4:keyint=15:vqscale=2:vqmin=2:vrc_maxrate=499000:vrc_buf_size=7000 -ass -fontconfig -aid 0 -noautosub -sid 1 -ofps 24000/1001 -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o /tmp/universalmediaserver/mencoder1384661439027

DEBUG 2013-11-16 23:10:39.048 [Thread-284] Assertion CODEC_ID_CLLC == AV_CODEC_ID_CLLC failed at libavcodec/utils.c:2851

When adding the -2 patch, the error goes away.

comment:3 Changed 6 years ago by cehoyos

Do I understand you correctly that you had to modify FFmpeg source code to trigger a problem, ie that current FFmpeg git head does not allow to reproduce this ticket?

comment:4 Changed 6 years ago by vallimar

Correct. Though this failure is scheduled to kick in when the avutil major version number gets incremented next. I should have made it clearer that this is a more of a time bomb and not currently able to be triggered normally.

comment:5 Changed 6 years ago by vallimar

Unless that commit is reverted at some point, this will need to be fixed eventually if not now.

comment:6 Changed 6 years ago by cehoyos

Can you reproduce the problem if you - instead of changing the definition of FF_API_XVMC - change the libavutil major version in libavutil/version.h to 53?

comment:7 Changed 6 years ago by vallimar

This is proving hard to test as I keep running into compilation failures with all the other deprecation defines getting triggered also. I've been fixing up things, but it's getting tiring as there appears to be a lot of internally out-of-date API usage.

comment:8 Changed 6 years ago by michael

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

patches applied

Note: See TracTickets for help on using tickets.