Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • FFmpeg ios sample code for video streaming

    29 avril 2014, par iJose

    I have done with Video Encoding using AVFoundation framework in ios.

    Now i want to stream these video to a RTMP server using FFMPEG. IT would be great help if anyone of you post a link / sample Code for achieving this. Any other Solution other than this is also invited.

    Thanking you in advance.

  • OpenCV ffmpeg error on raspberry pi for image processing on a video [on hold]

    28 avril 2014, par user3410968

    I want to install opencv on the raspberry pi for image detection on a video I have followed [this tutorial] but the videos are not to be played or proccessd. I tried to install it again to make sure ffmpeg is enabled error appears during config.

    ffmpeg/avformat.h is not found

    I have searched and what I found this questionthe answer is to make sure that ffmpeg is installed on the pi before making the opencv so I installed the ffmpeg went through all the steps till make and sudo make install in the main directory of the pi but still when I

    ccmake ../ then press c

    to config same error appears I have tried to put the ffmpeg file inside the release file and put the avformat.h just in opencv/release/ffmpeg same error file not found how can I solve this problem.

  • FFMpeg Converting a video to 8 bit BMP frames

    28 avril 2014, par Myrda Sahyuti

    I have been having trouble converting a video to 8 bit BMP frames. How to convert it using FFmpeg? or have suggestion software to do that?

  • Streaming WebM with ffmpeg over UDP doesn't work with audio

    28 avril 2014, par omgodie

    I'm trying to stream a webcam video and audio as WebM via udp over the ffmpeg command line tool. (ffmpeg is build correctly and all libraries are included)

    The stream is initiated with:

    ffmpeg -f dshow -i video="Logitech HD Pro Webcam C910":audio="Mikrofon (USB-Audogerät)" -f webm udp://localhost:11100
    

    and i try to playback the file on the same computer with:

    ffplay udp://localhost:11100
    

    Streaming Video AND audio doesn't work. I get the following error message in ffplay:

    udp://localhost:11100: End of file 0KB vq=    0KB sq=    0B f=0/0
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
    

    If i just stream the video

    ffmpeg -f dshow -i video="Logitech HD Pro Webcam C910" -f webm udp://localhost:11100
    

    I receive the video with ffplay.

    What do i have to do to stream/receive audio correctly?

    I'm trying this way with the command line to reproduce a way with using libav in a C project if this is of interest...

  • run exe on 1and 1 hosted site

    28 avril 2014, par Paul Ledger

    I have a ffmpeg.exe file than runs on localhost but this doesn't work on my web server. As it is 1and1 I can't install ffmpeg as a extension. All this is supposed to do is create a thumbnail from the video in the same folder.

    <?php
      $output = 'robot.jpg';
      $input = 'robot.avi';
      $ffmpegpath = "ffmpeg.exe";
      if(file_exists($ffmpegpath)){
        echo 'found the file 
    '; } $size = '100x100'; $sec = '1'; $cmd = "ffmpeg.exe -i $input -an -ss $sec -s $size $output"; if(exec(escapeshellcmd($cmd))){ echo 'worked'; }else{ echo 'not worked'; } ?>

    Is there a way of getting this too work without having full control over the server. The site is hosted on a basic lunix package, this was set up by a friend. So there isn't much control.