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
169 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/...
user avatar
  • 85
0 votes
1 answer
189 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 ...
user avatar
  • 1
0 votes
0 answers
703 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 ...
user avatar
1 vote
1 answer
793 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 ...
user avatar
1 vote
2 answers
569 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-...
user avatar
  • 13
0 votes
1 answer
1k 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 ...
user avatar
  • 13
0 votes
0 answers
55 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:password@10.0.0.152/play2.sdp" ...
user avatar
  • 1
0 votes
1 answer
330 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). ...
user avatar
1 vote
0 answers
955 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:admin@192.168.28.120/ -f flv -c:v ...
user avatar
  • 173
0 votes
2 answers
294 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-...
user avatar
  • 155
0 votes
0 answers
123 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:...
user avatar
  • 201
1 vote
0 answers
48 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 ...
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 (...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
  • 335
0 votes
1 answer
397 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) ...
user avatar
0 votes
1 answer
822 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 ...
user avatar
  • 11
3 votes
3 answers
12k 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 ~]# ...
user avatar
1 vote
1 answer
432 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 ...
user avatar
4 votes
1 answer
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) ...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
user avatar
  • 11
1 vote
0 answers
379 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; ...
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 ...
user avatar
  • 121
-1 votes
1 answer
127 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 ...
user avatar
1 vote
1 answer
605 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 /...
user avatar
1 vote
0 answers
934 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 ...
user avatar
  • 111
0 votes
1 answer
918 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 . "...
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 ...
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 ...
user avatar
  • 113
1 vote
1 answer
808 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 ...
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 ...
user avatar
1 vote
1 answer
15k 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(...
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 ( ...
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 ...
user avatar
-1 votes
1 answer
824 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 ...
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-...
user avatar
  • 149
3 votes
2 answers
817 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 "...
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 ...
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 ...
user avatar
1 vote
1 answer
747 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 ...
user avatar
1 vote
1 answer
474 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, ...
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 ...
user avatar
  • 113
16 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-...
user avatar
  • 5,562
0 votes
3 answers
409 views

ffmpeg fully html 5 converion supported [closed]

I need to know about library that required for ffmpeg for convert any format of audio and video for supported following format to have best configuration to convert audio and video files for html5 ...
user avatar
  • 451
1 vote
0 answers
482 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 ...
user avatar
  • 21
4 votes
2 answers
28k 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 ...
user avatar