Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Install ffmpeg in to virtual environment
22 mars, par ldgI am trying to install
ffmpeg
in order to use it on OpenAI to record videos. I have installed it usingbrew install ffmpeg
but somehow when I compile my code I get the same error, it is like the package is not recognized by myvirtualenv
where I am working.Error on Python console:
raise error.DependencyNotInstalled("""Found neither the ffmpeg nor avconv executables. On OS X, you can install ffmpeg via `brew install ffmpeg`. On most Ubuntu variants, `sudo apt-get install ffmpeg` should do it. On Ubuntu 14.04, however, you'll need to install avconv with `sudo apt-get install libav-tools`.""")
However, when I execute which
ffmpeg
I got the following path/usr/local/bin/ffmpeg
.It seems like that Anaconda for example needs a specific command to install this package into its environment, it is the same for virtualenv?
Thanks in advance.
-
Unity webgl build Video recording and sharing error in android [closed]
21 mars, par Rithika glUnity webgl build Video recording and sharing error.I have been facing issues with the sharing & saving option in all web browsers , in unity webgl build in android but everything works on iOS and the desktop . Used ffmpeg but causes several errors , also used conversion techniques like mp4 format and webm as well.
-
Alexa developer console gives me "The audio is not of a supported MPEG version" Error
20 mars, par Boban BoBo BanjevicI am trying to make an Alexa skill, and I am using audio mp3 files stored is S3, lambda function has access to my DynamoDb and ultimately S3. But I have an issue with my audio files. I keep on getting "The audio is not of a supported MPEG version" when I test alexa skill. I tried multiple
ffmpeg -i
file conversions.When I type
ffprobe -v quiet -print_format json -show_format -show_streams "Piano.mf.A1.audio10.mp3"
this is what i have for my file down below:Input #0, mp3, from 'Piano.mf.A1.audio10.mp3': Metadata: encoder : Lavf61.9.107 Duration: 00:00:07.00, start: 0.025057, bitrate: 129 kb/s Stream #0:0: Audio: mp3 (mp3float), 44100 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc61.33 PS C:\Users\boban\OneDrive\Desktop\newBob2> ffprobe -v quiet -print_format json -show_format -show_streams "Piano.mf.A1.audio10.mp3" { "streams": [ { "index": 0, "codec_name": "mp3", "codec_long_name": "MP3 (MPEG audio layer 3)", "codec_type": "audio", "codec_tag_string": "[0][0][0][0]", "codec_tag": "0x0000", "sample_fmt": "fltp", "sample_rate": "44100", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "initial_padding": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/14112000", "start_pts": 353600, "start_time": "0.025057", "duration_ts": 98795520, "duration": "7.000816", "bit_rate": "128000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0, "non_diegetic": 0, "captions": 0, "descriptions": 0, "metadata": 0, "dependent": 0, "still_image": 0, "multilayer": 0 }, "tags": { "encoder": "Lavc61.33" } } ], "format": { "filename": "Piano.mf.A1.audio10.mp3", "nb_streams": 1, "nb_programs": 0, "nb_stream_groups": 0, "format_name": "mp3", "format_long_name": "MP2/3 (MPEG audio layer 2/3)", "start_time": "0.025057", "duration": "7.000816", "size": "112892", "bit_rate": "129004", "probe_score": 51, "tags": { "encoder": "Lavf61.9.107" } } }
It should be everything that is required, am I doing something wrong, this is the only thing stopping me from finishing the skill. Asking ChatGPT said it could be because of the mp3float, and after many conversions it still doesn't work.
-
laptop screen recorder built using python & ffmpeg can generate only video file in AVI format succesfully,generating corrupted MP4 file as output ? [closed]
19 mars, par Rupashree RoyI have build laptop screen recorder with internal and external audio using python and ffmpeg,but it couldn't store output file in Other video formats,excepts AVI,if I try to store it in MP4 format,ut's showing file is corrupted,what to do/
Here's the code, enter link description here
-
FFMPEG : preset not found in Windows Vista
18 mars, par StackOverflowNewbieI download FFMPEG from http://www.videohelp.com/tools/ffmpeg#download and saved it in my c:\program files\ffmpeg (Windows Vista). My
Path
's first 2 entries are:c:\program files\ffmpeg\bin;c:\program files\ffmpeg\presets;
I found the following command on the net (http://paulrouget.com/e/converttohtml5video/)
ffmpeg -i input.avi -acodec libvorbis -ab 96k -vcodec libx264 -vpre main -level 21 -refs 2 -b 345k -bt 345k -threads 0 -s 320x240 output.mp4
When I run this on command line, I get the following error:
File for preset main not found
Any ideas what might be wrong?