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

learn more… | top users | synonyms

0
votes
0answers
10 views

I can't install aubio pakage , libavcodec doesn't work [on hold]

I've install ffmpeg, but when I start ./waf, aubio can't end the compiling. If I start ./waf configure all parameters are ok I have installed every version of libav and ffmpeg, but the problem ...
4
votes
1answer
49 views

Burning a video file with non-standard aspect ratio to DVD

A standard Unixy command line approach to burning a video file to DVD is as follows (assuming) # 1. First use ffmpeg to convert to an mpg file. ffmpeg -i input.m4v -target ntsc-dvd output.mpg # 2. ...
2
votes
1answer
2k views

Trying to compress avi file using ffmpeg

I used the command below to compress an avi file(using ubuntu) ffmpeg -i input.avi -vcodec msmpeg4v2 output.avi but I am getting these errors Incompatible sample format 's16' for codec 'ac3', ...
0
votes
1answer
2k views

No rule to make target `install'

I am following these instructions https://trac.ffmpeg.org/wiki/CentosCompilationGuide But when I try the code: cd ~/ffmpeg_sources curl -O ...
6
votes
1answer
572 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 \ ...
1
vote
1answer
2k views

Error: File contains parsing errors: file://///etc/yum.repos.d/dag.repo

I read you have to be careful with repo files for security with third party ones added. Anyway I have simply been trying to install ffmpeg and I am stuck because yum doesn't like what it is reading ...
2
votes
1answer
351 views

Trying to record a screencast using ffmpeg but my mouse pointer is invisible

I'm trying to record a screencast using ffmpeg but my mouse pointer is invisible. What am I doing wrong? This is the command: ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 ...
16
votes
4answers
19k views

How can I use ffmpeg to split MPEG video into 10 minute chunks?

There is often a need in the open source or active developer community to publish large video segments online. (Meet-up videos, campouts, tech talks...) Being that I am a developer and not a ...
1
vote
1answer
232 views

FFServer streaming H.264 from Logitech C920

I'm having some trouble trying to implement a web live stream from my Logitech C920 webcam w/ H.264 encoding using ffmpeg/ffserver. Here is the configuration file I'm using for the ffserver: # Port ...
1
vote
1answer
1k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
1
vote
1answer
34 views

Application specific DNS problem?

I'm working on a live stream transcoder application using nginx + ffmpeg. Everything works fine when I use avconv to transcode, but if I use ffmpeg, I get this error: [tcp @ 0xb4e9da0] Failed to ...
3
votes
0answers
217 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 ...
2
votes
1answer
130 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 ...
3
votes
1answer
644 views

Can't install 32 bit gstreamer-ffmpeg normally, library can't find other 32 bit libs

I'm on Ubuntu 12.04 64 bits and I'm trying to get a game (GTA SA) working in wine, but it keeps crashing. After reading error logs it seems I needed some 32 bit versions of gstreamer, probably to play ...
2
votes
2answers
28 views

Convert video to exactly the same format as another video

Suppose I have two video files A and B. Now I want to convert A to the same format (i.e. same container, same audio and video codec), same bitrate, size etc. as B. Is there a way to do this ...
6
votes
4answers
19k views

How can I embed subtitles into videos with ffmpeg?

I'm told it's possible to embed subtitles (.srt) into video files (.avi) using ffmpeg, but I can't find any mention of it in the man page. Is this possible? What command do I use?
-1
votes
1answer
1k views

Ffmpeg-php will not compile

FFMPEG: ffmpeg version N-54768-g8d9c1b3-syslint Copyright (c) 2000-2013 the FFmpeg developers built on Jul 16 2013 14:40:49 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3) configuration: ...
1
vote
0answers
26 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
1answer
39 views

x11grab flickers in OpenGL draw areas

I'm using ffmpeg's x11grab to do some screencasting. It works pretty well except on 3D stuff. In particular it seems like 3D draw areas flicker in and out. You can see an example of it here. The ...
1
vote
3answers
3k views

Bash script to convert all *flac to *.mp3 with FFmpeg?

I want to convert all *.flac to *.mp3 in the specific folder. This is what I've tried, but not works: # change to the home directory cd ~/music # convert all *.flac files ffmpeg -i *.flac -acodec ...
2
votes
2answers
194 views

Desktop audio falls behind when recording microphone + desktop audio + screen using ffmpeg

I have put together this script for recording the microphone, the desktop audio and the screen using ffmpeg: DATE=`which date` RESO=2560x1440 FPS=30 PRESET=ultrafast DIRECTORY=$HOME/Video/ ...
3
votes
1answer
62 views

How to tape a video running on the screen? (screen capture)

I am trying to capture video and audio from the screen, loudspeakers and microphone. I would like to do that with a command-line command. So far, ffmpeg -f x11grab -r 25 -s 800x600 -i :0.0 ...
0
votes
0answers
144 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 ...
2
votes
2answers
358 views

Remove nth frames of a gif (remove a frame every n frames)

I've recorded a .gif of the screen with ffmpeg. I've used gifsicle and imagemagick to compress it a bit, but it's still to big. My intent is making it small by removing, say, a frame every 2 frames, ...
1
vote
1answer
43 views

Convert video changing only bitrate

I have a mediaplayer program which lags playing one specific file. My assumption is that it is because of too high video bitrate (41.3 Mbps) and too slow CPU (it is embedded system). So, I want to be ...
1
vote
1answer
62 views

How to create a timed video from still images with specific time between each image?

I want to create a video from still images. My images are: 1.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg 7.jpg 8.jpg 9.jpg Each of them I want to show for a specific duration, between 1-10 seconds: 1.jpg: ...
1
vote
0answers
127 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 ...
0
votes
0answers
81 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
1answer
2k views

prores 444 output using ffmpeg

Instead of prores_ks ( as in image ), I need to get prores444. How is it possible? I tried the following and felt that I am limited to this. Is prores_ks an alternative to prores444? Can you explain ...
5
votes
2answers
3k views

Strange errors when using ffmpeg in a loop

I have a bash script looping through the results of a find and performing an ffmpeg encoding of some FLV files. Whilst the script is running the ffmpeg output seems to be interupted and is outputting ...
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 ...
5
votes
1answer
300 views

Batch conversion of Module files with XMP

I have the following script to convert a big bunch of .MOD and .XM files into Wave format: #!/bin/bash for f in ./XM.* ./MOD.* do xmp $f -d wav -o - | ffmpeg -i - -acodec libmp3lame -ab 320k ...
0
votes
0answers
25 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 ...
2
votes
3answers
2k views

installing ffmpeg-php on centos

With the help of this guide, I am trying to install ffmpeg using these commands: # cd ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1/ # replace 'PIX_FMT_RGBA32' 'PIX_FMT_RGB32' -- * # phpize # ...
6
votes
2answers
2k views

Converting PNG frames to video at 1 FPS

I have video frames in PNG format at 1 FPS and I'm trying to convert them into a video using ffmpeg. If I do something like this: ffmpeg -i data/input-%4d.png data/output.mp4 I get a video at 25FPS ...
1
vote
1answer
50 views

x11grab from another display server

I have ffmpeg with x11grab on my local machine, but I want to capture the screen of an X server on 12.34.56.78. How can I do that? The following doesn't work: ffmpeg -f x11grab -r 25 -s 800x600 -i ...
1
vote
0answers
225 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
1answer
50 views

How to add aac and libx264 to FFmpeg installation?

I've already installed FFmpeg according to the ffmpeg Ubuntu compile guide. I can't use aac audio encoding and libx264, which I need. How do I install FFmpeg so that all the option below are enabled ...
1
vote
0answers
342 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
1answer
1k views

FFmpeg - Split video multiple parts

I read the following thread, and the solution works if I want to split a video into pieces every two minutes: Split video file into pieces with ffmpeg The problem is that I want to split a video into ...
0
votes
1answer
73 views

Slow down mp3 audio

I love VLC's option of slowing down audio playback. Now I want to take my mp3-files to a portable player and play them there. Unfortunately the player does not have a slow down option. How can I ...
1
vote
0answers
26 views

FFMPEG stream won't show up on Justin.tv

INRES="1366x768" # input resolution OUTRES="1366x768" # Output resolution FPS="35" ...
2
votes
1answer
177 views

FFmpeg doesn't recognize my audio sources

I want to record my screen with audio for practice. I saw recommendations to use this command line: ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 25 -s 800x600 -i :0.0+200,100 -c:a pcm_s16le -c:v ...
2
votes
2answers
410 views

Is there any equivalent to the atempo ffmpeg audio filter but for avconv to speed up video(and audio)?

As noted here, we could speedup audio with ffmpeg using ffmpeg -i input.mkv -filter:a "atempo=2.0" -vn output.mkv But on Ubuntu, ffmpeg is replaced by avconv, and the atempo filter is not available ...
1
vote
1answer
1k views

ZoneMinder compiling error: “missing binary operator before token ”(“”

When installing ZoneMinder 1.25.0 in CentOS 6.4 (64-bit) the following error pops up when executing make: zm_ffmpeg_camera.cpp:105:44: error: missing binary operator before token "(" Full log: ...
0
votes
0answers
73 views

Solaris - calling app from java - no such file or library

I call ffmpeg from a java application on Solaris. If I run ffmpeg with the same parameters from command line, then it works fine, but calling it from Java app results the following error message: ...
7
votes
2answers
13k views

How get the best quality when converting from mp4 to avi with ffmpeg?

When I use this, the quality doesn't look bad. ffmpeg -same_quant -i video.mp4 video.avi In the ffmpeg documentation is written: "Note that this is NOT SAME QUALITY. Do not use this option unless ...
0
votes
0answers
124 views

Apply fadeout effect to video at multiple places

I have a video of 12 seconds, frame rate is 30 frames per second. I want to apply fade out effect to video on multiple places, for example from second 3rd to 4th and from second 7th to 8th. Have a ...
1
vote
0answers
325 views

Distributed video encoding with ffmpeg

I'm in a process of giving form to a very old dream of mine - to create an efficient and cheap video encoding platform. And following the great examples such as SETI@home, BitTorrent and BitCoin, ...
1
vote
0answers
237 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 ...