Description of problem: segmentation fault when encoding video using libxvidcore library. Version-Release number of selected component (if applicable): lib64xvidcore4-1.3.5-3.mga7.tainted Using lib64xvidcore4-1.3.4-3.mga6.tainted package solves the problem. How reproducible: Always Steps to Reproduce: 1.Try to encode video input.mp4 to output.mp4 with FFmpeg: ffmpeg -i input.mp4 -c:a copy -c:v libxvid output.mp4 Actual results: segmentation fault. Additional information: http://list.xvid.org/pipermail/xvid-devel/2019-January/006449.html Probable patch: https://github.com/rpmfusion/xvidcore/blob/master/xvidcore-check_cpu_features-crash.patch
Should be fixed with xvid-1.3.5-3.1.mga7 in Tainted/Updates_testing repo! Please test it, thanks in advance.
CC: (none) => geiger.david68210
Thank you Yuri for this error report. And once more to DavidG for responding immediately. Testing M7/x64 BEFORE the update: ffmpeg-4.1.4-1.mga7.tainted, lib64xvidcore4-1.3.5-3.mga7.tainted @David : it looks as if you cited the updated SRPM name, rather than the pkg: lib64xvidcore4-1.3.5-3.1.mga7.tainted This will need an advisory... Using Yuri's example: $ ffmpeg -i VID-20180410-WA0000.mp4 -c:a copy -c:v libxvid output.mp4 ffmpeg version 4.1.4 Copyright (c) 2000-2019 the FFmpeg developers ... [the library in question is not among those listed] Press [q] to stop, [?] for help Segmentation fault (core dumped) so the fault is confirmed. I could not yet see the updated package in tainted updates testing. Try later. Assigning to QA. Easy to test.
Assignee: bugsquad => qa-bugs
Tested on Mageia 7 64-bit system, works without any issues. I confirm that the bug is fixed.
Advisory: ======================== This update fixes a segmentation fault when encoding video using libxvidcore library. ======================== Packages in 7/core/updates_testing: ======================== libxvidcore4-1.3.5-3.1.mga7.tainted.i586.rpm libxvidcore-devel-1.3.5-3.1.mga7.tainted.i586.rpm lib64xvidcore4-1.3.5-3.1.mga7.tainted.x86_64.rpm lib64xvidcore-devel-1.3.5-3.1.mga7.tainted.x86_64.rpm Source RPM: ======================== xvid-1.3.5-3.1.mga7.src.rpm
Mageia 7, x86_64 Before update: $ ffmpeg -i HandelTrumpetConcerto_in_D.mkv -c:a copy -c:v libxvid output.mp4 ffmpeg version 4.1.4 Copyright (c) 2000-2019 the FFmpeg developers [...] Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (libxvid)) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help Segmentation fault (core dumped) After update: $ ffmpeg -i HandelTrumpetConcerto_in_D.mkv -c:a copy -c:v libxvid output.mp4 [...] [mp4 @ 0x1e89b40] track 1: codec frame size is not set [mp4 @ 0x1e89b40] opus in MP4 support is experimental, add '-strict -2' if you want to use it. Could not write header for output file #0 (incorrect codec parameters ?): Experimental feature Error initializing output stream 0:0 -- Conversion failed! $ ll output.mp4 -rw-r--r-- 1 lcl lcl 0 Oct 19 14:02 output.mp4 At least, the segfault is cured. The '-strict 2' option did not help. $ ffmpeg -i pangaea.mp4 -c:a copy -c:v libxvid output.mp4 <results in frame by frame conversion> video:149016kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.041241% output.mp4 reproduces the original anaglyphic video. This looks good from QA point of view.
CC: (none) => tarazed25Whiteboard: (none) => MGA7-64-OK
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Keywords: (none) => advisoryCC: (none) => tmb
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0178.html
Status: NEW => RESOLVEDResolution: (none) => FIXED