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

learn more… | top users | synonyms

4
votes
0answers
954 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 "rtmp://...
3
votes
0answers
228 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 /home/...
3
votes
0answers
1k 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
81 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
81 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. ...
2
votes
0answers
465 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 "scale=min(1920/iw\,1920/ih)*iw:min(1920/iw\,1920/ih)*ih,pad=...
2
votes
0answers
286 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 ...
2
votes
0answers
206 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
556 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
162 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
564 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
2k 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
24 views

Record video and audio from an X windows application

I want to script the following scenario, from a server which I access using SSH. Create a screen at an arbitrary resolution, for example 1280x720. Start an application, that will fill this entire ...
1
vote
0answers
28 views

Record fullscreen program with avconv/ffmpeg?

I'm trying to record a fullscreen program (snes9x) with avconv, aka ffmpeg. I have avconv set up to use my whole screen, but it doesn't capture snes9x when I run it. #!/bin/bash avconv \ -f ...
1
vote
0answers
34 views

ffmpeg - generate video with more then 2 images and 2 audio

I have n images (2 < images < n) and 2 audio files I generate a video like below and it works: $ffmpeg -f image2 -pattern_type glob -framerate 1/10 \ -i '*.jpg' -i "concat:Q.mp3|R.mp3" -...
1
vote
0answers
26 views

What's the canonical way to get individual stream size in a video file?

I have a video file. It contains a video stream, and a couple of audio and subtitle streams. I want to get the size of each of these streams. I've already looked at ffprobe/avprobe and mediainfo, ...
1
vote
0answers
102 views

How to set default subtitle with ffmpeg

I created a mp4 file from video, audio and .srt file. ffmpeg -i video.mp4 -i audio.m4a -i sub.srt -map 0:0 -metadata:s:v:0:0 language=eng -map 1:0 -metadata:s:a:0:0 language=eng -map 2:0 -metadata:...
1
vote
0answers
26 views

Miro player doesn't recognize subtitle from video encoded by ffmpeg

It was the first time I encoded a video on Ubuntu. I used ffmpeg to extract the video/audio, encode them and join with a subtitle to a new file. All these steps were fine. I used the following ...
1
vote
0answers
123 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
350 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
99 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
414 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
755 views

How to record v4l 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 tmp....
1
vote
0answers
73 views

FFMPEG stream won't show up on Justin.tv

INRES="1366x768" # input resolution OUTRES="1366x768" # Output resolution FPS="35" ...
1
vote
0answers
837 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
166 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
789 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
613 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
276 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 www/VideoPlayer/...
1
vote
0answers
381 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
26 views

How to make Intel QSV FFmpeg to run on GPU in ubuntu 14.04?

In ubuntu 14.04, my ffmpeg configurations are, ffmpeg version ebe0fa0 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --enable-...
0
votes
0answers
24 views

ffmpeg-php is showing in phpinfo but not working

Php info result ffmpeg-php version 0.7.0 ffmpeg-php built on Jul 13 2016 22:27:57 ffmpeg-php gd support enabled ffmpeg libavcodec version Lavc57.50.100 ffmpeg libavcodec license nonfree and ...
0
votes
0answers
16 views

not able to install ffmpeg php

I have installed this ffmpeg in CentOS server using ffmpeg auto installer version N-80962-g70d418c. After that I downloaded ffmpeg-php-0.6.2 and tried to configure and I got this error: configure:...
0
votes
0answers
48 views

ffmpeg won't upgrade or uninstall on centos 6.8

I'm trying to upgrade ffmpeg on CentOS 6 but everything I try doesn't work. I've tried re-installing to overwrite it but no luck. This is the version and when it was installed. It installed 2 weeks ...
0
votes
0answers
35 views

ffmpeg issues producing an HLS live stream that works in quicktime

I am trying to produce an HLS live stream that can be consumed by quicktime. Using the command below, the resulting stream (when served by a python SimpleHTTPServer) is playable by VLC and also by ...
0
votes
0answers
33 views

How to create a gamma cross-fade of two pictures using ImageMagick?

I want to make a gamma composite image, as is common with making cross-fades between two video tracks. The composite frames of the cross-fade are made by cross-fading the gamma values of one picture ...
0
votes
0answers
105 views

How to restart script or reboot if FFMPEG / AVCONV get stuck?

I am using AVCONV to stream my webcam on Dailymotion, here is the command : avconv -f video4linux2 -s 853x480 -i /dev/video0 -f flv -b 800k -r 14 rtmp://publish.dailymotion.com/publish-dm/xxx I run ...
0
votes
0answers
177 views

How to re-encode file A.mp4 with the same settings as B.mp4?

I have a MP4 file with AAC audio and H264 video, let's call it B.mp4. I also have file A.mp4 with the same picture resolution, but: different FPS possibly different audio/video bitrate different ...
0
votes
0answers
33 views

gcc on debian - Matlab interferes with ffmpeg?

This is a quite confusing problem. I wanted to use youtube-dl and it stops with the following error message from ffprobe (ffmpeg): ffprobe: /path-to-matlab/matlab-compiler-runtime/v717/sys/os/glnxa64/...
0
votes
0answers
322 views

allow non-root user to run programs compiled by root in /root/bin

I just finished and installed ffmpeg installation on a centOS box via the guide made by ffmpeg themselves https://trac.ffmpeg.org/wiki/CompilationGuide/Centos As it turns out, ffmpeg was installed at /...
0
votes
0answers
110 views

ffmpeg configuration error

I downloaded ffmpeg and followed the README. First thing, ffmpeg needs to be configured. But executing configure (./configure) says ~/Downloads/ffmpeg-2.7.2 $ ./configure gcc is unable to create an ...
0
votes
0answers
683 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 C:/cygwin64/home/SureshKumar/android-...
0
votes
0answers
43 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
1k 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
132 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
79 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
314 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 used ...
0
votes
0answers
154 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 audio-...