Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • libavcodec 56 not found even though it is installed

    3 janvier 2019, par hegerber

    I keep getting this error message when I try to compile an Intel OpenVino project in Ubuntu 18.04: warning: libavcodec-ffmpeg.so.56, needed by /opt/intel/computer_vision_sdk_2018.3.343/opencv/lib/libopencv_videoio.so.3.4.3, not found

    I also get similar error messages for: libavformat-ffmpeg.so.56, libavutil-ffmpeg.so.54, and libswscale-ffmpeg.so.3.

    However, when I type ffmpeg in the terminal, I get:

    ffmpeg version 2.7.7 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04) configuration:
        libavutil 54. 27.100 / 54. 27.100
        libavcodec 56. 41.100 / 56. 41.100
        libavformat 56. 36.100 / 56. 36.100
        libavdevice 56. 4.100 / 56. 4.100
        libavfilter 5. 16.101 / 5. 16.101
        libswscale 3. 1.101 / 3. 1.101
        libswresample 1. 2.100 / 1. 2.100 Hyper fast Audio and Video encoder
    

    I have all the correct versions. The ffmpeg is in /usr/local/bin. Why can't OpenVino see it? Any advice will be appreciated, thanks in advance!

    Here's the project I'm trying to compile: https://github.com/intel-iot-devkit/intruder-detector

  • ffmpeg, how to concat two streams, one with and one without audio

    3 janvier 2019, par chasep255

    I have one clip filmed at 240 FPS. I want to slow it down 8x and concat the slow motion version of it to the fast version. The fast version has audio but the slow does not. When I open the finished movie using totem in Ubuntu I get no sound. However, the sound appears to be correct when I use VLC. I think this is an issue with the sound not being the same length as the final movie. I think I somehow need to pad the sound to the length of the final movie. Anyone know how to pad the audio or a better way to do this?

    ffmpeg -hwaccel cuda -i GX010071_1.MP4 -filter_complex "[0:v]setpts=8*PTS[s];[0:v]framerate=30[f]; [f] [s] concat=n=2 [c]" -map '[c]' -map 0:a -c:v hevc_nvenc SLOW.MP4
    
  • How to make doppler effect on audio with ffmpeg [duplicate]

    3 janvier 2019, par Adam Estel

    This question already has an answer here:

    How can i make the doppler effect on audio with ffmpeg.I mean: Sound run from left to right and opposite, just like this video: https://www.youtube.com/watch?v=j35K4QC_9bM I research ffmpeg for a while but I can't firgure the audio filter i can start with Thank you for helping me Have a nice day.

  • How to stream Windows desktop audio as RTSP/HTTP with ffmpeg ?

    3 janvier 2019, par Valya

    I'd love to stream desktop audio so I could listen to it in AIMP Android app. The app understands "http" links and I could successfully stream it with VLC HTTP streaming, however I could not get latency lower than 3 seconds.

    How can I do the same thing with ffmpeg with lowest latency possible?

  • Where to store the .mpd file on django to play on a dash player ?

    3 janvier 2019, par enigmaVada

    I am trying to build a video player on django. I am using MPEG-DASH for adaptive streaming of the video file. I have chosen a sample video in the beginning. Then, using ffmpeg commands, I have encoded the video into 240p, 360p, 480p and 720p videos. Also have encoded audio separately.

    Then, using mp4box, I have generated the .mpd file. I have read that mpd files cannot be run from the local file system and need to be hosted on a server. I have a dash player setup as follows:

    
    
      
        
        
        <script src="https://cdn.dashjs.org/latest/dash.all.min.js"></script>
        
      
      
        

    The url in the src field is a random manifest file that i used to test the player out. It works fine.

    Then, on my django project, I have created a media folder which stores the media files uploaded via a form(root included in settings.py). My question is where do i store the video, audio and .mpd file so that i can play them using the html code which resides in the templates folder. I have tried using the media url of .mpd file in the source but I am unable to play the video.

    Here is the generated mpd file for reference:

    <?xml version="1.0"?>
    
    
     
      
     
    
     
      
       
        
        sample_audio_dashinit.mp4
        
          
        
       
      
      
       
        sample_video_240_dashinit.mp4
        
          
        
       
      
      
       
        sample_video_360_dashinit.mp4
        
          
        
       
       
        sample_video_480_dashinit.mp4
        
          
        
       
      
      
       
        sample_video_720_dashinit.mp4