Ubuntu-Mantic-Arm64 ffplay Segmentation Fault with mp4 videos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ffmpeg (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
sg3-utils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ubuntu-Mantic 23.10
Desktop Environement: Gnome-45
Device: Arm64
ffmpeg/mantic,now 7:6.0-6ubuntu1 arm64 [installed,
Encounter Segmentation Fault when using ffplay to play a mp4 video
jfl@jfl-mantic:~$ ffplay -vcodec h264_v4l2m2m -i '/media/
ffplay version 6.0-6ubuntu1 Copyright (c) 2003-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-2ubuntu1)
configuration: --prefix=/usr --extra-
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, mov,mp4,
Metadata:
major_brand : dash
minor_version : 0
compatible_
creation_time : 2022-09-
Duration: 00:10:34.57, start: 0.000000, bitrate: 3819 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 9 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
Metadata:
creation_time : 2022-09-
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
[h264_v4l2m2m @ 0xffff8c0084d0] Using device /dev/video0
[h264_v4l2m2m @ 0xffff8c0084d0] driver 'meson-vdec' on card 'Amlogic Video Decoder' in mplane mode
[h264_v4l2m2m @ 0xffff8c0084d0] requesting formats: output=H264/none capture=
Segmentation fault (core dumped) 0KB vq= 131KB sq= 0B f=0/0
jfl@jfl-mantic:~$ ffplay -vcodec h264_v4l2m2m -i '/media/
ffplay version 6.0-6ubuntu1 Copyright (c) 2003-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-2ubuntu1)
configuration: --prefix=/usr --extra-
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, mov,mp4,
Metadata:
major_brand : isom
minor_version : 512
compatible_
encoder : Lavf58.45.100
Duration: 00:05:41.50, start: 0.000000, bitrate: 5698 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 5559 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
Metadata:
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
[h264_v4l2m2m @ 0xffff74020d80] Using device /dev/video0
[h264_v4l2m2m @ 0xffff74020d80] driver 'meson-vdec' on card 'Amlogic Video Decoder' in mplane mode
[h264_v4l2m2m @ 0xffff74020d80] requesting formats: output=H264/none capture=
Segmentation fault (core dumped) 5KB vq= 288KB sq= 0B f=0/0
jfl@jfl-mantic
Whereas on Ubuntu-Jammy, the same mp4 videos can be played on ffplay:
jfl@odroidn2:~$ ffplay -vcodec h264_v4l2m2m -i '/media/
ffplay version 4.4.2-0ubuntu0.
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,
Metadata:
major_brand : isom
minor_version : 512
compatible_
encoder : Lavf58.45.100
Duration: 00:05:41.50, start: 0.000000, bitrate: 5698 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5559 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
Metadata:
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
[h264_v4l2m2m @ 0xffff40097a90] Using device /dev/video0
[h264_v4l2m2m @ 0xffff40097a90] driver 'meson-vdec' on card 'Amlogic Video Decoder' in mplane mode
[h264_v4l2m2m @ 0xffff40097a90] requesting formats: output=H264 capture=NM12
jfl@odroidn2:~$
Changed in ffmpeg (Ubuntu): | |
status: | New → Incomplete |
AFAIU this is an issue you faced when running the ffplay executable. The ffplay is provided by the ffmpeg binary package, so marking sg3-utils as affected is wrong.