You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my java program, which converts an ogg stream to mp3, i'm getting a Segmentation fault when using v3.4.0. if i replace the file in /tmp/jave/ffmpeg-amd64-3.4.0 with the native ffmpeg installation from /usr/bin/ffmpeg, then everything works fine. so it seems the binary executable packaged with this release is not compatible with Ubuntu 23.10?
the packaged ffmpeg which throws segmentation fault:
$ file ffmpeg-amd64-3.4.0
ffmpeg-amd64-3.4.0: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=7552be2c99e8df8f8f5a18b57168d9284c2fa889, stripped
the ffmpeg that i installed on the system which works:
ffmpeg version 6.0-6ubuntu1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-2ubuntu1)
$ file /usr/bin/ffmpeg
/usr/bin/ffmpeg: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=bfa28f49e5715f0387734757361c21a2dfa71218, for GNU/Linux 3.2.0, stripped
this is the command that causes the segmentation fault: (i turned on tracing to see exactly where it crashes):
$ /tmp/jave/ffmpeg-amd64-3.4.0 -i https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568 -acodec libmp3lame -ab 128000 -ac 2 -ar 44100 -f mp3 -y /tmp/09524821.mp3 -loglevel trace
ffmpeg version 4.4.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
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
Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libmp3lame'.
Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '128000'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '/tmp/09524821.mp3' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'trace'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument trace.
Successfully parsed a group of options.
Parsing a group of options: input url https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568.
Successfully parsed a group of options.
Opening an input file: https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568.
[NULL @ 0x6748d40] Opening 'https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568' for reading
[https @ 0x6749a40] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
Segmentation fault (core dumped)
here's the same command running with the ffmpeg that i installed which doesn't crash: (i turned off trace level):
in my java program, which converts an ogg stream to mp3, i'm getting a Segmentation fault when using v3.4.0. if i replace the file in /tmp/jave/ffmpeg-amd64-3.4.0 with the native ffmpeg installation from /usr/bin/ffmpeg, then everything works fine. so it seems the binary executable packaged with this release is not compatible with Ubuntu 23.10?
the packaged ffmpeg which throws segmentation fault:
$ file ffmpeg-amd64-3.4.0
ffmpeg-amd64-3.4.0: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=7552be2c99e8df8f8f5a18b57168d9284c2fa889, stripped
the ffmpeg that i installed on the system which works:
ffmpeg version 6.0-6ubuntu1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-2ubuntu1)
$ file /usr/bin/ffmpeg
/usr/bin/ffmpeg: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=bfa28f49e5715f0387734757361c21a2dfa71218, for GNU/Linux 3.2.0, stripped
this is the command that causes the segmentation fault: (i turned on tracing to see exactly where it crashes):
$ /tmp/jave/ffmpeg-amd64-3.4.0 -i https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568 -acodec libmp3lame -ab 128000 -ac 2 -ar 44100 -f mp3 -y /tmp/09524821.mp3 -loglevel trace
ffmpeg version 4.4.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
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
Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libmp3lame'.
Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '128000'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '/tmp/09524821.mp3' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'trace'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument trace.
Successfully parsed a group of options.
Parsing a group of options: input url https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568.
Successfully parsed a group of options.
Opening an input file: https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568.
[NULL @ 0x6748d40] Opening 'https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568' for reading
[https @ 0x6749a40] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
Segmentation fault (core dumped)
here's the same command running with the ffmpeg that i installed which doesn't crash: (i turned off trace level):
$ /usr/bin/ffmpeg -i https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568 -acodec libmp3lame -ab 128000 -ac 2 -ar 44100 -f mp3 -y /tmp/09524821.mp3
ffmpeg version 6.0-6ubuntu1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-2ubuntu1)
configuration: --prefix=/usr --extra-version=6ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
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
[mp3 @ 0x55dc1fc32380] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'https://api.twilio.com/2010-04-01/Accounts/AC24de1eaaa8814389d9f4eea11f74f98e/Messages/MM0a5755ac1b7460a878aab489c5c8283f/Media/ME442aa41d815a7d2ce1e229ce5bf70568':
Duration: 00:01:16.90, start: 0.000000, bitrate: 160 kb/s
Stream #0:0: Audio: mp3, 24000 Hz, mono, fltp, 160 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mp3 (mp3float) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '/tmp/09524821.mp3':
Metadata:
TSSE : Lavf60.3.100
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc60.3.100 libmp3lame
size= 1202kB time=00:01:16.87 bitrate= 128.1kbits/s speed=60.6x
video:0kB audio:1202kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.037453%
The text was updated successfully, but these errors were encountered: