Questions tagged [ffmpeg]

FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.

Filter by
Sorted by
Tagged with
14
votes
3answers
2k views

How to install two packages that write the same file

I have two packages that each create /usr/bin/ffprobe. One of them is ffmpeg from the Deb Multimedia repository, while the other is ffmbc 0.7-rc5 built from source. The hand-rolled one is business-...
7
votes
3answers
20k views

How can I stop FFMPEG?

Someone setup a server and has FFMPEG is trying to encode a video and it has effectively killed the web server. I didn't set it up but have sudo access and need to kill FFMPEG so that the web server ...
5
votes
4answers
8k views

Ubuntu install php5-ffmpeg

When I try to install php5-ffmpeg: apt-get install php5-ffmpeg I get an error: The following packages have unmet dependencies: php5-ffmpeg : Depends: phpapi-20090626+lfs As I understand my php5-...
4
votes
6answers
5k views

How do I reduce RAM usage on my server?

I have recently launched a site that is very popular but I am having trouble with scalability. My site makes heavy use of FFmpeg and at peak times RAM usage hits the 2 GB point quickly and the swap ...
4
votes
3answers
7k views

FFMPEG AAC Encoder Vanished?

I'm running Ubuntu Server 10.04 LTS x64. I've been using ffmpeg on this machine to encode H.264 videos with AAC audio for over a year. There was an update to the ffmpeg packages this week that seems ...
4
votes
0answers
613 views

How do I make SMB faster on Windows?

My problem is the throughput of FFmpeg is severely limited by the speed of SMB performance. Using Wireshark I found out that FFmpeg writes are sent to my Synology SMB share in 500 byte packets with ...
3
votes
2answers
636 views

Using 'which' command in cron job

I have a cron job that runs once a day on a Linux server and in the script it executes there is a test: # Validate ffmpeg is installed if [ $(which ffmpeg | grep -c "ffmpeg") -eq 0 ]; then echo "...
3
votes
2answers
16k views

Save the stream to mp4 files

How can I keep the flow (protocol rtsp, codec h264) in file (container mp4)? That is, on input an endless stream (with CCTV camera), and the output files in mp4 format size of 5-10 minutes of ...
3
votes
3answers
5k views

FFMPEG Install on EC2 - Amazon Linux

Hello Serverfault friends, I am about two days into attempting to install FFMPEG with dependencies on an AWS EC2 instance running the Amazon Linux AMI. I've installed FFMPEG on Ubuntu and Fedora ...
2
votes
5answers
45k views

path to ffmpeg in linux hosting server

what will be the path to ffmpeg on linux server.......
2
votes
4answers
12k views

Is there anything better than FFMPEG? [closed]

Just wondering if I should go with FFMPEG or is there a better alternative for processing videos? Thanks !
2
votes
1answer
4k views

ffmpeg continue listen port

I'm trying to configure restream server, ffmpeg listen on rtmp://ip:port and output to few stream services(youtube, twitch...etc) the problem is when I stop OBS streaming(using this on local pc) ...
2
votes
2answers
5k views

Why I can't install ffmpeg on CentOS 7

I want to install ffmpeg to my CentOS 7 server but I can't, it say we missing some libs that I can't find where and how to install them. This is command i used and the error occured: [root@www13 ~]# ...
2
votes
1answer
3k views

How to save stream in mp4 format?

By default nginx rtmp module records video stream in .flv format if record option is enabled, but I need .mp4 I found that video can be converted to .mp4 when record has finished with ...
2
votes
1answer
3k views

Specify ubuntu repository from which a package is installed?

I want to install ffmpeg from mediubuntu. I've installed the repository per the instructions on: http://medibuntu.org/repository.php My conf.d repository listing: /etc/apt/sources.list.d# less ...
2
votes
3answers
483 views

ffmpeg on Ubuntu Intrepid (8.10) Server

I'm trying to get ffmpeg running on my server so I can use the PHP Video Toolkit successfully. I'm currently setting up my testing platform, which is a 32-bit Ubuntu 8.10 Intrepid Ibex Server. ...
2
votes
1answer
2k views

How to create a RTMP server on linux (Gentoo)

I am trying to create a RTMP server to stream video files from my Linux server to the internet/network. I have been able to successfully use ffmpeg to stream to other RTMP servers like youtube, but ...
2
votes
1answer
4k views

ffmpeg simple RTMP streaming

I am trying to launch up a rtmp transcoder server using ffmpeg; that receives udp MPEG-TS streams as input, transcodes it; and generates an rtmp output to a URL, that can be accessed by users to ...
2
votes
1answer
2k views

ffserver segmentationfault

This is my problem: viroos@plecak-transmisyjny:~/videotesty$ sudo ffserver -d -loglevel debug FFserver version SVN-r20420, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Oct 30 2009 21:56:...
2
votes
0answers
3k views

EC2 Linux AMI with ffmpeg (no yasm?)

I'm running a Basic 64-bit Amazon Linux AMI 2011.09 (AMI Id: ami-953b06e1) and I want to install ffmpeg into it so I can use it convert video. These are the commands I run after firing up a new ...
1
vote
2answers
2k views

CentOS 6.4 and Audio Conversion

I'm having issues with setting up a Centos 6.4 server to convert audio tracks needed for a project I'm currently involved in. So users of a site I've been working on can Upload tracks, but because ...
1
vote
3answers
8k views

%d in a Filename in Bash [closed]

I am using ffmpeg to convert a number of jpgs into an mp4 file and it seems to be working great, video.mp4 is created. this is the command I'm using: ffmpeg -r 0.1 -i uploads/image%d.jpg uploads/...
1
vote
2answers
2k views

install ffmpeg on 1and1 dedicated server

anyone know how to do this? have contacted the server company who will not help I have a dedicated server, running on centos parralells plesk panel thanks
1
vote
2answers
11k views

svn: Can't connect to host Connection refused [closed]

I'm trying to instal FFMPEG to my server but the command svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg Returns svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused I can ...
1
vote
2answers
3k views

Check if a RTMP-Stream is running and start ffmpeg to transcode the stream

I'm using ffmpeg to transcode a rtmp-stream and re-stream it with ffmpeg. I have 2 problems: how can I check if the remote rtmp-stream is running and then start ffmpeg sometimes ffmpeg breaks up ...
1
vote
1answer
643 views

Reduce outgoing bandwidth in ffmpeg

I have a server in Rackspace with some ffmpeg processes listening to audio streaming. Off course when listening to streamings the incoming network traffic is high, and this is ok. But I noticed that ...
1
vote
1answer
13k views

how to check ffmpeg if install on centos/php [closed]

hi there how can I be sure that ffmpeg is install in my server... I tried this php code to check: <?php $ffmpeg = trim(shell_exec('which ffmpeg')); // or better yet: $ffmpeg = trim(...
1
vote
3answers
405 views

Dependency problems with my custom build ffmpeg rpm [closed]

I'm having trouble installing custom build ffmpeg 0.9.1 rpm.When I try to install ,I get the following: error: Failed dependencies: libfaac.so.0 is needed by ffmpeg-0.9.1-1.i386 ...
1
vote
3answers
860 views

Video Hosting, Conversion, and Streaming Solution

I currently offer the option to my users to upload their own video and have it converted to FLV and MP4 on my website. Here are the logistics: 1) User uploads video onto website 2) Raw video is then ...
1
vote
2answers
3k views

FFMPEG Stream a Live Radio Streaming URL [closed]

How is it possible to stream from a live radio streaming URL? In other words, consider a site streaming something from http://www.domain.tld/liveRadioStreamingAddress, and I need to stream this ...
1
vote
1answer
1k views

Unable to install ffmpeg-php on Ubuntu

When I searched for this error, it seems to be more common in CentOS but I'm using Ubuntu 15.10. My issue is that I've followed this installation on ffmpeg-php's site and I've ran into an error when ...
1
vote
1answer
2k views

keepalive type and frequency in ffmpeg

My company has a bunch of IP cameras that we distribute - specifically Grandstream - and the manufacturer has changed their firmware. The normal keepalive that ffmpeg uses for the rtsp streams ( ...
1
vote
2answers
1k views

Need to install just libswresample.so.0 on Centos 6 - how? (for FFMPEG)

I'm trying to get ffmpeg running on a Centos 6 machine and it has been uphill the whole way. I thought I had got it but when I go to use ffmpeg I get the error: ffmpeg: error while loading shared ...
1
vote
1answer
2k views

ffmpeg fails inside PHP exec(); [closed]

I am trying to get info from a file with ffmpeg, if inside php I have this code: exec("ffmpeg -i ffmpeg_directory/4.flv"); Returns nothing, even tough same command inside SSH would print a large ...
1
vote
1answer
552 views

Server crashes when running shell script

I have a virtual machine running CentOS 5.5 that I use as a streaming server. If I open 4 terminals and do this: terminal 1: # mkfifo pipe1.avi # mkfifo pipe2.avi # ffserver & # ffmpeg -...
1
vote
2answers
4k views

What permissions are needed to run a system() command within a php script that writes to a folder?

I've got a php script which has the line: system("ffmpeg -i ......"); The output folder is set to be: drwxrwxr-x 5 apache apache 4096 Oct 19 07:40 in_upload If I run the exact text "ffmpeg -i .....
1
vote
4answers
1k views

How to install FFMPEG encoders on Linux CentOS 5 Server

I need to install LAME MP3 Encoder Libogg + Libvorbis Mencoder and also Mplayer FFMpeg-PHP For a script called PHPmotion. I do have root access so please does anyone have a step by step. I am ...
1
vote
0answers
625 views

FFMPEG-generated DASH Manifest for Livestream is invalid, but is still playable on some players

I am trying to embed an RTSP stream from an IP Camera into a website. I've found out, that embedding an RTSP directly is tricky and resourceful, also it requires the user to take some crucial actions (...
1
vote
2answers
642 views

How to save the converted file to another system by ffmpeg [closed]

i want to developing a service of online converter in local network by ffmpeg. the service receives address of file to converting and output address for put converted file to it. can ffmpeg do ...
1
vote
1answer
353 views

how to run 10 process and montring it

i have about 10-15 FFmpeg Process for streaming server like this: ffmpeg -i "http://ip/play/a03i" -vcodec copy -acodec copy -f flv "rtmp://ip:80/APP/Name" am use the Nginx-rtmp module to run it ...
1
vote
0answers
1k views

ffmpeg with x11grab results in black screen in vlc playback

I've installed ffmpeg on an AWS instance and have been unsuccessfuly trying to record an X session, to which I've connected over x11rdp, with the client being Microsoft Remote Desktop. Here's the ...
1
vote
1answer
1k views

configure nginx to autolaunch ffmpeg

I would like ffmpeg to be autolaunched from nginx when it starts and provide a converted dash stream for the users who visit my webserver. Right now I can go to: http://localhost:18080/dash/twitch....
1
vote
0answers
300 views

Using SoX for noise reduction on AAC in an MPEG-4 container

Here are my business needs: Server receives a noisy noisy.m4a file Server creates a noise-reduced noiseless.m4a file for further processing I want this noise-reduction to be as fast as possible; ...
1
vote
0answers
1k views

Restart ffmpeg process streaming rtmp video if it fails using shell script

We use ffmpeg to forward streams live. Often due to unknown reasons or due to the stream stopping temporarily the command stops running in the background. What's the best way to monitor and continue ...
1
vote
1answer
485 views

pyffmpeg installation on Ubuntu fails with Cython related errors

I'm failing in pyffmpeg installation on Ubuntu. Cython installation seems to be correct: $ sudo python setup.py install ... Adding Cython 0.22.1 to easy-install.pth file Installing cython script to /...
1
vote
0answers
751 views

How to enable ffmpeg php extention in Cent OS 6.5 server with php 5.5

I need to create a screenshot from a video. I have followed this tutorial to do the initial setup in Windows 8, php 5.3. I downloaded the ffmpeg from here for 64 bit operating system. I followed ...
1
vote
1answer
1k views

MySql stops running in combination with Laravel Queue, Supervisor, and FFMPEg

After setting up queue listener to process uploaded videos with FFMPEG, I've come back to the server several times to find that MySql has stopped running. I checked drive space and it's about 77% used ...
1
vote
1answer
520 views

how can i use ffmpeg to get encoding options of one file and then encode another in the exact same way

I need to encode 2 video files identically so they are guaranteed to play on some systems that i dont have to ability to modify I have 2 video files, one plays great for everyone, the other doesn't ...
1
vote
1answer
325 views

Is ffmpeg incorrectly interpreting .aif files?

Being on an Ubuntu 10.04 server i installed the ffmpeg packages with apt. ffmpeg is working afterwards, and doing as it should. Almost. For testing purposes i uploaded a few audiofiles. One of them, ...
1
vote
0answers
449 views

avconv - not working with movflags

With the Parameter "-movflags frag_custom" my avconv says [mp4 muxer @ 0x8d05f60] [Eval @ 0x7fffcc763f00] Undefined constant or missing '(' in 'frag_custom' [mp4 muxer @ 0x8d05f60] Unable to ...