`ffmpeg` is a free software project aimed at producing tools (libraries and programs) for handling multimedia data.

learn more… | top users | synonyms

7
votes
1answer
712 views

Merge two audio sources with x11grab, possible?

Currently I'm running with the following setup. ffmpeg \ -i http://pub1.di.fm:80/di_vocaltrance \ -f x11grab -s 1920x1080 -r 25 -i :0.0 \ -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 \ ...
5
votes
1answer
6k views

How to splice sections of a video with avconv?

I have figured out so far that you can cut a section from a video with avconv with a command like this (cuts from 1:00-3:00): avconv -ss 00:01:00 -i "input.avi" -t 00:02:00 -c:v libx264 -crf 23 ...
4
votes
0answers
649 views

How can I prevent ffmpeg intermmittent faulure with `AVC: nal size` error?

I am trying to open the NASA HDTV video stream from ustream.tv directly in vlc. The problem that I have is that it only works sometimes. The command I am using is below: ffmpeg -i ...
3
votes
0answers
159 views

Libav: Find out the exact time that the first frame coming from an RTSP stream was dumped into a file

I am dumping an RSTP stream from a web camera into a file using avconv: avconv -f rtsp -rtsp_transport tcp -i rtsp://user@password/ 192.168.1.4/stream.cgi -t 100 -c:v libx264 -s 1024x768 -an ...
3
votes
0answers
260 views

Anyone gotten the switch '-segment_times' working with ffmpeg?

While searching through U&L I noticed a fair amount of questions asking how to script the generation of ffmpeg command lines like these: ffmpeg -i video.mp4 -ss 00:00:00 -t 00:10:00 -c copy ...
3
votes
0answers
899 views

Generating a slideshow under linux

Under Windows, one is able to generate a nice slideshow (crossfading between images, applying the Ken Burns effect on each image) on Windows using (Windows) Movie Maker. When I create a slideshow ...
2
votes
0answers
34 views

Encoding a video from Unix Timestamps + ms

I have a sequence of images that were taken from a camera that have been saved in a naming convention that contains the unix timestamp as well as milliseconds. For instance, 1333351808430.jpg (I typed ...
2
votes
0answers
431 views

FFMPEG - Interpolate frames or add motion blur

I just watched the trailer for the hobbit, and a trailer for the avengers which both feature an increased framerate. A lot of the comments state that this isn't "true" 60fps since it was not shot at ...
2
votes
0answers
169 views

ffmpeg hardcode subs on flv

Giving up on trying to use videosub.js, I am now trying to hard code subtitles to the video file using ffmpeg. Have run into trouble with configuration files not found, when trying to hard code the ...
2
votes
0answers
352 views

Is there a way to mix between two RTMP streams (depending on which is up) using something like FFMPEG?

(Apologies about the question title, not quite sure how to word it) So I'm working on a turnkey streaming solution / server for a local LAN party, using the fantastic nginx-rtmp to handle incoming ...
2
votes
0answers
128 views

Is there any remote GUI for ffmpeg?

I'm looking for some software with both Linux and Windows versions that can remotely run FFMPEG commands on my Linux server. Just like what transmisson-remote-gui does for Transmission. In summary, I ...
2
votes
0answers
1k views

Rotating a video (ubuntu 12.04)

I have a video, shot on my android phone, which I want to rotate 90 degrees clockwise for computer viewing. Here's what I expect should work: ffmpeg -i infile.mp4 -vf "transpose=1" -an -vcodec mpeg4 ...
2
votes
0answers
423 views

avconv/ffmpeg output through /dev/ttyAMA0

I tried to pipe streaming video from video4linux2 webcam connected to a Raspberry Pi through /dev/ttyAMA0 to a computer using an Arduino as a intermediary. First of all, is it possible? Because I was ...
2
votes
0answers
1k views

Determining media format/encoding for DLNA system

How do you determine what parameters are needed by a DLNA renderer and server? I have a Samsung TV that is a DLNA renderer. I also have a Western Digital NAS running Debian and have Twonky and ...
2
votes
0answers
1k views

No way to record a live stream to WebM using ffmpeg?

I'm streaming from an mp4 source and so far I've managed to save clips as ogg (video: libtheora, audio: flac), but I'd like to save them in the WebM format. Unfortunately, WebM demands libvorbis for ...
1
vote
0answers
19 views

compile ffmpeg centos

I used this Guide http://trac.ffmpeg.org/wiki/CompilationGuide/Centos To install ffmpeg in my VPS with CentOS 6 64. But it was installed in /root/bin/ and I need to install it in usr/bin/ to run ...
1
vote
0answers
112 views

How to use sox or ffmpeg to detect silence intervals in a long audio file and replace them by zeros (aka suppress background noise)?

I have a long audio file that was created by concatenating many short files. I would like to detect silence between the speech segments (just a threshold is enough for my purposes) and replace them by ...
1
vote
0answers
87 views

Playback and simultaneous recording through external USB sound card

I've an external USB sound card (in my case it's a TerraTec Aureon 7.1 USB). I've looped the earphone-out to the line-in using a 3.5mm jack cable. I'm interested in starting the playback of a MP2 ...
1
vote
0answers
31 views

extracting codec information from rpt stream

I got a list of rtp streams in a list, those are tv channels from my internet provider. I would like to get information about the codec and get the channel names instead of ip addresses, precisely ...
1
vote
0answers
26 views

How to define ffmpeg's path during compilation of another software?

I'm trying to compile an opensource software that needs bleeding-edge ffmpeg, so I successfully compiled ffmpeg, but I don't want to run make install as it's not easy to be removed after my tests. ...
1
vote
0answers
138 views

Centos web camera, fast application for snapshot?

I'm using ffmpeg for taking snapshots / still images with web cameras. I'm going to use several web cameras to take photos at the same time or one after the other (timelapse). It's important for me ...
1
vote
0answers
244 views

Convert images and animated gifs to video

I use the following FFMpeg command to convert images to video. for file in %N; do ffmpeg -framerate 15 -pattern_type glob -i '*.jpg' -vf ...
1
vote
0answers
468 views

How to record vfl webcam with ffmpeg? Cannot find a proper format for codec 'none'

Goal is to capture video from my old usb webcam (device 0733:0430). Trying to save video gives this error. (I've tried both ffmpeg and avconv.) Command ffmpeg -f v4l2 -i /dev/video2 -s 160x120 ...
1
vote
0answers
58 views

FFMPEG stream won't show up on Justin.tv

INRES="1366x768" # input resolution OUTRES="1366x768" # Output resolution FPS="35" ...
1
vote
0answers
588 views

avconv stops streaming after some time

I am using raspberry-pi board and a usb camera attached with it. i use avconv tool to capture live video from camera and streaming it on network using rtp protocol. My command on server(raspberry-pi ...
1
vote
0answers
446 views

mplayer not sending the correct user-agent

I am trying to play a stream through mplayer. Here is the command I execute: mplayer -user-agent "PS4 libhttp/1.60" -cache 8192 -v ffmpeg://http://the_stream_url.m3u8 The stream does not play due ...
1
vote
0answers
182 views

how to install avxsynth on centos?

i am using centos 6 x86_64 and i am trying to install avxsynth for centos, but it always failed from link page i found that i have to install automake libtool MPlayer sudo apt-get install ...
1
vote
0answers
125 views

screen capturing fails when trying second time by using ffmpeg

I'm trying to capture screen by using ffmpeg. ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.flv It worked at first, but after I end the first capture by Ctrl + C, ...
1
vote
0answers
523 views

FFmpeg-php installation error on CentOS 6 x64 bit

I'm trying to install ffmpeg and ffmpeg-php. FFMpeg installed perfectly. When I try to install ffmpeg-php, I'm running ./configure and it's configured fine. However, when I run make it gives me the ...
1
vote
0answers
474 views

Compiling PHP-FFMPEG Extension

cd ffmpeg-php* phpize ./configure --with-ffmpeg=/usr/local/cpffmpeg make Then I end up with the following issues on my make: ... ... ... /usr/src/ffmpeg-php-0.6.0/ffmpeg-php.c:86: warning: ...
1
vote
0answers
230 views

unable to segment theora vorbis video file with ffmpeg

i am trying to split ogg video into 10 sec ogg video segments with ffmpeg segmenter. ffmpeg -i www/VideoPlayer/Videos/wr3libvorbis.ogg -map 0 -f segment -segment_time 10 -segment_list ...
1
vote
0answers
335 views

ffmpeg: error while running with libx264

Main code: ffmpeg -i 2269801.avi -threads 0 -vcodec libx264 -b 900k -acodec libfaac -ar 44100 -ab 96k -ac 2 earthgirlsareeasy1.mp4 [libx264 @ 0x16cdde10]broken ffmpeg default settings detected ...
0
votes
0answers
2 views

Fix flv file with small errors

I have a couple of flv files downloaded with youtube-dl. When they are played they fail after a few minutes with: Unsupported video codec (X) where X is e, 9, or b. My guess is that one block is ...
0
votes
0answers
64 views

ffprobe or avprobe not found. Please install one

I want to add tags to mp3 converted with youtube-dl & ffmpeg in CentOS 6: command line : youtube-dl -o '/Output/qpgTC9MDx1o.mp3' qpgTC9MDx1o -f bestaudio --extract-audio --metadata-from-title ...
0
votes
0answers
10 views

VLC exporting video frames uncontrollably, can't figure out how to stop it (possibly related to ffmpeg)

I have a very peculiar problem. Every time I open a video in VLC, in any format, it immediately begins exporting frames to my Pictures folder I tried deleting VLC and reinstalled a newer version but ...
0
votes
0answers
30 views

Running FFmpeg in While Loop

Here is my problem. I want to run many different multiple ffmpeg instances all in background and all in while true loop. I tried the following command but does not even work: (while true; do ...
0
votes
0answers
22 views

check media resolution if resolution is big ffmpeg it, if output is smaller than original delete the original else delete the output

I have my storage VPS filled with videos, and hoping I can free up some space, their resolution is pretty big so I decided to re encode them with ffmpeg to a smaller resolution, I am doing every thing ...
0
votes
0answers
197 views

Cygwin compilation error in ffmpeg: gcc is unable to create an executable file

While i am executing the below command in cygwin in ffmpeg source directory ./build_android.sh Here is the for ffmpeg in android I am getting this error message ...
0
votes
0answers
29 views

timout command is not timing out

I have a timeout command that is not timing out. user@db:~$ ps aux | grep 'timeout' user 4979 0.0 0.0 4440 628 pts/144 S+ 18:52 0:00 sh -c timeout 16 mycommand user 4980 0.0 ...
0
votes
0answers
326 views

How to record video from an old webcam using ffmpeg on Linux?

After couple of hours I'm finally ready to accept my absolute lack of knowledge in that topic and decided to post this question here. I've been trying to record video from an old external USB webcam ...
0
votes
0answers
63 views

error with Transcoding with ffmpeg activated by inotify

I’m trying to automatically transcode videos, that are begin uploaded constantly to a server. That is why I have came up with the idea of using inotify, by checking every moment for new files on the ...
0
votes
0answers
10 views

Any m2ts trimmer under Linux?

My goal is to trim out m2ts generated by ffmpeg for HLS because the generated m2ts has some overhead. The below is an example of the result analyzed by Apple Media Stream Validator: Average segment ...
0
votes
0answers
87 views

FFmpeg Way to check the pid if it is hanged or not

I'm using FFmpeg to do restreaming in some streams via HLS. I use many different type of streams rtmp,rtsp,http,mmsh. The problem is that sometimes (actually all the time) the ffmpeg hangs in some ...
0
votes
0answers
298 views

How to use a wildcard in FFMPEG?

Lets say I want every .mp4 file in a folder as an input file. How does one do that? It only reads it literal.
0
votes
0answers
132 views

How to stream MPEG video using RTP using VLC command line

I'm attempting to convert the following vlc command line which is streaming an MPEG video over UDP ( no RTP ): cvlc -vvv /vlc/attract.mpg :norm=ntsc :v4l2-width=320 :v4l2-height=240 ...
0
votes
0answers
35 views

Black screen when splitting media files

When I run for i in $(ls *mp4); do ffmpeg -i $i -ss 0 -t 720.0 -vcodec copy -acodec copy $i-part1.mp4; ffmpeg -i $i -ss 720.0 -vcodec copy -acodec copy $i-part2.mp4; done; in a directory of ...
0
votes
0answers
240 views

Grab from a webcam

On Linux it is easy to use an audio or video grabbing device as input to FFmpeg: ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 out.flv Today someone in kirupa forums said they ...
0
votes
0answers
147 views

To which audio format can I convert aac lost-free with ffmpeg?

Since I did not manage to get the audio work with ffmpeg -i video.mp4 -acodec copy -vcodec copy out.avi I'm searching for an audio format to which I can convert aac lost-free. Does such an ...
0
votes
0answers
709 views

ffmpeg: problems when copying the audio

When I run this ffmpeg -i video.mp4 -codec copy video.avi I get a broken audio: a crackling like a stuck LP. The input-audio is aac When I re-encode the audio like this ffmpeg -i video.mp4 -codec:v:0 ...
-1
votes
0answers
16 views

FFmpeg - Delete unwanted section on video without re-encoding?

Using ffmpeg to copy (extract) part of video without re-encoding audio/video, this is what I did: ffmpeg -i video-in -vcodec copy -acodec copy -ss 00:10:00 -t 00:02:30 video-out How to ...