Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • FFMPEG Failed to Connect to UDP Stream in Kubernetes Pod [closed]

    22 mars, par Nimrod

    I have a pod inside my kubernetes (openshift) cluster. The pod tries to connect to a remote UDP video livestream to read frames to be processed. I find that the first 2-4 attempts that the programs makes to connect to the stream fail (timeout) but after around 4 attempts the stream can be connected.

    It is even more strange to me because there are multiple stream IPs:ports. So there are times when connecting to a IP/Port fails a couple of times at the beginning but afterwards the program has no issue connecting to a various number of stream sources.

    My question is does anyone know why this may be happening and if not, I'd appreciate any suggestions as to how to debug the situation and understand better ffmpeg's behaviour.

  • Install ffmpeg in to virtual environment

    22 mars, par ldg

    I am trying to install ffmpeg in order to use it on OpenAI to record videos. I have installed it using brew install ffmpeg but somehow when I compile my code I get the same error, it is like the package is not recognized by my virtualenv 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 gl

    Unity 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 Banjevic

    I 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 Roy

    I 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