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

ffmpeg banned on heroku #73

Open
developerkshitijs opened this issue Oct 22, 2023 · 1 comment
Open

ffmpeg banned on heroku #73

developerkshitijs opened this issue Oct 22, 2023 · 1 comment

Comments

@developerkshitijs
Copy link

please sir ffmpeg ban on heroku because one hour use ffmpeg account suspend on heroku please solving this problem

@Diego12996
Copy link

same problem here 🙌

>>> command = f"ffmpeg -y -loglevel debug -i {stream_url} -t {record_time} -acodec copy {filename}"
>>> import subprocess
>>> subprocess.run(command, shell=True)
ffmpeg version N-68798-g7d82daf31d-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2024 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      58. 39.100 / 58. 39.100
  libavcodec     60. 40.100 / 60. 40.100
  libavformat    60. 21.101 / 60. 21.101
  libavdevice    60.  4.100 / 60.  4.100
  libavfilter     9. 17.100 /  9. 17.100
  libswscale      7.  6.100 /  7.  6.100
  libswresample   4. 13.100 /  4. 13.100
  libpostproc    57.  4.100 / 57.  4.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as output url with argument 'https://stream-149.zeno.fm/z4xkhcavfu4uv?zs=EsUbEO-FS8Gb_Hxbr49tAQ'.
Reading option '-t' ... matched as option 't' (stop transcoding after specified duration) with argument '25'.
Reading option '-acodec' ... matched as option 'acodec' (alias for -c:a (select encoder/decoder for audio streams)) with argument 'copy'.
Reading option 'tmp/audio_637pm.mp3' ... matched as output url.
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 debug.
Successfully parsed a group of options.
Parsing a group of options: input url https://stream-149.zeno.fm/z4xkhcavfu4uv?zs=EsUbEO-FS8Gb_Hxbr49tAQ.
Successfully parsed a group of options.
Opening an input file: https://stream-149.zeno.fm/z4xkhcavfu4uv?zs=EsUbEO-FS8Gb_Hxbr49tAQ.
[AVFormatContext @ 0x6b85f00] Opening 'https://stream-149.zeno.fm/z4xkhcavfu4uv?zs=EsUbEO-FS8Gb_Hxbr49tAQ' for reading
[https @ 0x6b86780] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
Segmentation fault
CompletedProcess(args='ffmpeg -y -loglevel debug -i https://stream-149.zeno.fm/z4xkhcavfu4uv?zs=EsUbEO-FS8Gb_Hxbr49tAQ -t 25 -acodec copy tmp/audio_637pm.mp3', returncode=139)

python version 3.8.5

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

2 participants