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
17 votes
3 answers
3k 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-...
Joel E Salas's user avatar
  • 5,612
7 votes
3 answers
39k 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 ...
gokujou's user avatar
  • 265
5 votes
2 answers
29k 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 ...
Ruslan Sharipov's user avatar
5 votes
4 answers
9k 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-...
Victor's user avatar
  • 149
4 votes
5 answers
75k views

path to ffmpeg in linux hosting server

what will be the path to ffmpeg on linux server.......
user31055's user avatar
  • 151
4 votes
6 answers
7k 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 ...
Abs's user avatar
  • 1,629
4 votes
2 answers
949 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 "...
Neal Bailey's user avatar
4 votes
2 answers
9k 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) ...
Shadowraze's user avatar
4 votes
3 answers
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 ...
Andrew Ensley's user avatar
4 votes
4 answers
23k 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 !
dallasclark's user avatar
4 votes
0 answers
1k 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 ...
jamaicahest's user avatar
4 votes
0 answers
2k 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 ...
zealoushacker's user avatar
3 votes
3 answers
17k 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 ~]# ...
Thinh Phan's user avatar
3 votes
4 answers
10k 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 ...
Oliver Holmberg's user avatar
3 votes
1 answer
6k 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 ...
Mike Bohoslavskyi's user avatar
3 votes
0 answers
2k 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 (...
Emil Avramov's user avatar
2 votes
3 answers
13k 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/...
Doug Molineux's user avatar
2 votes
1 answer
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 ...
Gray Race's user avatar
  • 903
2 votes
3 answers
505 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. ...
simonhamp's user avatar
  • 465
2 votes
1 answer
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 ...
user221359's user avatar
2 votes
1 answer
5k 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 ...
sajad's user avatar
  • 133
2 votes
1 answer
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:...
Maciek Sawicki's user avatar
2 votes
0 answers
175 views

How to avoid critical security issues introduced by ffmpeg? which seems to be a dependency of DeepFace for running opencv in linux environment

I was trying to run DeepFace in docker and when I ran the container I got an error related to OpenCV. Following online suggestions, I downloaded the FFmpeg package and it resolved the OpenCV error and ...
Shubham Patel's user avatar
2 votes
0 answers
2k 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 ...
Ben's user avatar
  • 121
2 votes
0 answers
4k 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 ...
deadlyhifi's user avatar
1 vote
2 answers
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 ...
Simon Nicholls's user avatar
1 vote
2 answers
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
user avatar
1 vote
2 answers
16k 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 ...
Souljacker's user avatar
1 vote
2 answers
4k 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 ...
funkdoobiest's user avatar
1 vote
1 answer
1k views

AlmaLinux cannot install ffmpeg

New install of AlmaLinux 8 (r8.7 (Stone Smilodon)). I ran the following in preparation to install ffmpeg: sudo dnf -y install https://download.fedoraproject.org/pub/epel/epel-release-latest-8.noarch....
WhiteRau's user avatar
  • 117
1 vote
1 answer
898 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 ...
Daniel Cukier's user avatar
1 vote
1 answer
16k 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(...
user2726957's user avatar
1 vote
3 answers
533 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 ...
dezhi's user avatar
  • 113
1 vote
3 answers
955 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 ...
user avatar
1 vote
1 answer
2k 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 ...
Cameron Swyft's user avatar
1 vote
1 answer
2k views

Sox pipe to wav2png: FFMpeg equivalent?

I have this command I need to run as a background task on my server: sox some-audio-file.foo -c 1 -t wav - | wav2png -w -o some-audio-file.png /dev/stdin But I already have ffmpeg custom-compiled ...
curtisdf's user avatar
  • 251
1 vote
1 answer
3k 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 ( ...
Jack Simth's user avatar
1 vote
2 answers
2k 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 ...
sprise's user avatar
  • 113
1 vote
1 answer
3k 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 ...
adrianTNT's user avatar
  • 1,149
1 vote
1 answer
761 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 -...
zozo's user avatar
  • 823
1 vote
4 answers
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 ...
user avatar
1 vote
1 answer
2k views

Nginx with rtmp module and ffmpeg adaptive stream is not creating master dash manifest

I have a working setup of nginx with the rtmp module working like a charm creating live streams with both dash and hsl. No problem so far. When I try to enable ffmpeg transcoding for adaptive ...
Luis Falcón's user avatar
1 vote
2 answers
1k views

ffmpeg not able to yum

I am on CentOS8. I am facing similar situation as in this question, tried everything suggest in answers but could not solve. Why I can't install ffmpeg on CentOS 7 I am trying to install ffmpeg-...
BB23850's user avatar
  • 13
1 vote
0 answers
2k views

ffmpeg rtsp to hls streaming choppy and stops automatically

I use ffmpeg + nginx/rtmp to restream video from ip cam to web page. The command I use is: ffmpeg -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i rtsp://admin:[email protected]/ -f flv -c:v ...
xrfang's user avatar
  • 195
1 vote
0 answers
102 views

Streaming audio using switchable sources without killing streaming uplink (Poor Man's Barix Extreamer?)

Okay, so I'm the lone IT staff in a radio station and I've got a headscratcher (for me). We had a pair of PCs streaming our audio (received back from over-the-air, output through a monitor into the ...
March Hare's user avatar
1 vote
2 answers
3k 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 ...
soroush's user avatar
  • 455
1 vote
1 answer
477 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 ...
Mohammed's user avatar
1 vote
1 answer
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....
defiler's user avatar
  • 11
1 vote
0 answers
429 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; ...
Angad's user avatar
  • 111
1 vote
1 answer
639 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 /...
boardrider's user avatar