Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Extracting more than one Video using ffmpeg ? [on hold]

    11 octobre 2013, par Sagar ghuge

    I have multivideo stream and i want to extract that both video that are encapsulated inside the container stream. Any idea how should i extract two video using ffmpeg?

  • ffmpeg error with spaces

    11 octobre 2013, par user2317720

    I have a video file in a directory, but there are spaces in the directory name so ffmpeg does process my input correctly. Is there a way to fix this or replace the space with something? Thanks for any help! I am using Runtime.exec() to execute ffmpeg.

  • Streaming and video simutaneosly using ffmpeg

    11 octobre 2013, par user2871193

    I have successfully stored streaming videos from my IP Camera using ffmpeg on my hard drive. I want to stream audio and video simultaneously with it. I wanted to know the commands for it so that the stored video contains audio and video without any lag. Thanks

  • ffmpeg encoding run a shell command

    11 octobre 2013, par user1503606

    How do i run this file

    infile ="video.avi"
    tmpfile="video_tmp.mp4"
    outfile="video.mp4"
    options="-vcodec libx264 -b 512k -flags +loop+mv4 -cmp 256 \
       -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 \
       -me_method hex -subq 7 -trellis 1 -refs 5 -bf 3 \
       -flags2 +bpyramid+wpred+mixed_refs+dct8x8 -coder 1 -me_range 16 \
             -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10\
       -qmax 51 -qdiff 4"
    
    ffmpeg -y -i "$infile" -an -pass 1 -threads 2 $options "$tmpfile"
    
    ffmpeg -y -i "$infile" -acodec libfaac -ar 44100 -ab 96k -pass 2 -threads 2 $options "$tmpfile"
    
    qt-faststart "$tmpfile" "$outfile"
    

    Taken from here https://gist.github.com/vadimii/4621929

    Shell commands is well out of my scope any help would be appreciated thanks

  • FFMPEG on Fedora but PHP Compilation confliction

    11 octobre 2013, par UMI

    I have running Xampp with PHP5.5 on Fedora from Apache Friend, with default settings what the installer package do on Linux.

    When I install FFMPEG successfully and try to load from php.ini it always says:

    *

    11-Oct-2013 14:05:51 Europe/Berlin] PHP Warning:  PHP Startup: ffmpeg: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20121212
    These options need to match
    in Unknown on line 0
    

    *

    The only thing which is confusing me is that when I did phpize even that I already installed xampp server which means I have PHP running. FFMPEG phpize did not work and I had to install php-devel. Does that mean that FFMPEG is configured with PHP, other than the installed with XAMPP? I am not sure what is happening. Whatever I do I always receive this error message in php_error_log file.

    It is amazing :) that I just run below command to see what version of PHP is, I have and below are the results which are shocking one because I am in a feeling that I have PHP 5.5 installed and running from XAMMP.

    [root@localhost ~]# php -v
    PHP 5.2.6 (cli) (built: May  8 2008 08:53:44)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    

    How can I get this covered that if I simple install XAMPP server on linux and want to install and configure FFMPEG along with?