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
0 votes
1 answer
36 views

Two processes have different behavior while running with the same command and same binary file

There's an app in Ubuntu server, which runs a FFMPEG instance. That instance keeps working fine. But when I run the same command with the same binary executable in terminal, it exits after 3 or 4 ...
james hofer's user avatar
0 votes
1 answer
348 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
  • 107
2 votes
0 answers
138 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
0 votes
1 answer
111 views

Cannot get FFMPEG in SNAP to convert videos to MP4

I recently installed FFMPEG with SNAP. For some reason, the regular ffmpeg install isn't working on this particular server. The file path that I have been using with my previous ffmpeg installation is ...
Charlie's user avatar
0 votes
1 answer
3k views

Why can push mp4 into a rtmp stream instead of rtsp stream?

I build stream server with nginx, and can push the MP4 into a rtmp stream with : ffmpeg -re -i /mnt/hls/m7.mp4 -vcodec libx264 -vprofile baseline -g 30 -acodec aac -strict -2 -f flv rtmp://127.0.0.1/...
showkey's user avatar
  • 115
0 votes
1 answer
522 views

How to convert any video to mp4 with php, ffmpeg and CentOS [closed]

I have been converting videos for about a year working in localhost on a Mac. The path is, '/usr/local/bin/ffmpeg' and it has always worked fine. Recently, I installed ffmpeg on my server, with a ...
margie's user avatar
  • 1
0 votes
1 answer
2k views

ffmpeg rtsp server not stopping when peer disconnect

There is an ffmpeg instance running as a server on a VPS, that converts RTSP video to HLS and serves it to the web (using Apache). The RTSP video comes from a computer somewhere else (in another town ...
Emil Avramov's 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
0 votes
1 answer
2k views

Best AWS option for occasional video encoding with FFMPEG? [closed]

I have an app which receives a video file and a text from a front-end form, creates a video intro with text, merges this intro with 1 to 2 hour video. Everything is being encoded using ffmpeg, after ...
Mike's user avatar
  • 13
0 votes
0 answers
215 views

Cannot run bash script via php possible permissions

I have ffmpeg installed on a CentOS 7 machine running a standard LAMP stack. I can run ffmpeg fine by itself in a terminal, like so: ffmpeg -i "rtsp://admin:[email protected]/play2.sdp" ...
Dustin's user avatar
  • 1
0 votes
1 answer
408 views

Video Encoding/Trans coding Conversion Dedicated Server [closed]

I am looking to buy a dedicated server for my video project, I have multiple video upload at the same time each video I upload is about 2-3 GB in size and about 2-3 hours in length (TV Series/Movies). ...
Brajman's user avatar
  • 103
1 vote
0 answers
1k 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
0 votes
2 answers
522 views

I cannot add Centos 7 repository to install FFMPEG

When trying to use this command to add ffmpeg repository in Centos 7, I tried to add the repository using this command: yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-...
jstuardo's user avatar
  • 155
0 votes
0 answers
324 views

Command FFMPEG works if runned from terminal but not from NGINX

i have a code like this /home/ubuntu/bin/ffmpeg -re -v verbose -i rtmp://localhost:1935/live/title_event \ -http_persistent 1 -http_user_agent Custom-agent -vf scale=w=640:h=360:...
tidpe's user avatar
  • 201
1 vote
0 answers
89 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
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
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
  • 415
0 votes
1 answer
448 views

Bash script ffmpeg pic to video not working but does in command line

This works in command line for a sequence of jpg to convert to a video. cat *.jpg | ffmpeg -f image2pipe -framerate 5 -i - -s 1280x720 ./HD720_out.mp4 but doesn't work (except for first jpg) ...
Richard L's user avatar
0 votes
1 answer
944 views

Diagnosing ffmpeg high server load

Would anyone be able to help with info on why I have such a high server load but total CPU usage is under 50% and loads of free RAM? I'm running 60 instances of ffmpeg on a Ryzen 1700X. Here's a ...
Paul 's user avatar
  • 11
3 votes
3 answers
16k 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
1 vote
1 answer
460 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
4 votes
2 answers
8k 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
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
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
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
0 votes
2 answers
1k views

FFMPEG works on Console but doesn't work in PHP script on Ubuntu

I have this aplication where I need to convert video files to MP4 and then compress it. I'm trying to use FFMPEG to get this to work. Tried the command lines in the console and it works great ...
Victor Ferreira'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
415 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
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
-1 votes
1 answer
131 views

How can I access comand line like cmd.exe on my dedicated linux server? [closed]

I have installed the ffmpeg by composer in my local server(windows7) and everything is working good now the site is live on internet (server CENTOS 6.7 x86_64 kvm) and I need to install it to the ...
Sonali shamra's user avatar
1 vote
1 answer
623 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
1 vote
0 answers
1k 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 ...
Hitesh's user avatar
  • 111
0 votes
1 answer
974 views

ffmpeg mp4 and webm files save to standard folder but only webm to mounted folder

So i am running an ffmpeg command on my linux server using the php exec command : exec("(nohup nice -n 19 " . $ffmpegPath . " -y -i " . $srcFile . " -f mp4 -pass 1 -passlogfile " . $video_pass_log . "...
Jizbo Jonez's user avatar
1 vote
1 answer
1k 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
2k 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 ...
egekhter's user avatar
  • 113
1 vote
1 answer
870 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
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
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
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

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 votes
1 answer
827 views

Ubuntu 12.04 upgrade php 5.4 missing php5-ffmpeg [closed]

I updated php to version 5.4, through the repository ppa:ondrej/php5, but now I can not install the package php5-ffmpeg because it gives me this error: php5-ffmpeg: Depends: phpapi-20090626 also if I ...
Lughino's user avatar
  • 113
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
3 votes
2 answers
911 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
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
  • 123
-1 votes
1 answer
2k views

Starting ffserver on macos - Permission Denied [closed]

I am trying to start ffserver on Snow leopard. dev:~ Shashank$ ffserver -d -f /usr/etc/ffserver.config I get this in my terminal. ffserver version 1.1.3 Copyright (c) 2000-2013 the FFmpeg ...
Shashank Shekhar's user avatar
1 vote
1 answer
917 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 ...
mike brentlinger's user avatar
1 vote
1 answer
501 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, ...
marue's user avatar
  • 111
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