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

learn more… | top users | synonyms

1
vote
0answers
518 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 ...
0
votes
0answers
217 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
509 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
386 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
174 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 ...
4
votes
2answers
623 views

How to remove silence part from mp3 that is extracted from tv drama

I hear a mp3 that is extracted from some tv dramas as a English exercise. So in that mp3 there are lot of "silence part" in which no one speaks and there is no background music. Is there a way to ...
0
votes
1answer
114 views

Can I get the ffmpeg command-line from an existing video?

I want to generate a video with the exact same settings as an existing video. I can run: ffmpeg -i original.mp4 To get human-readable info about the contents: Duration: 00:05:32.32, start: ...
0
votes
0answers
223 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 ...
5
votes
2answers
453 views

How to input a network file to ffmpeg

My problem is this. I have access to a server that hosts many video files, most of them are very large and not well compressed. I intend to make a reduced quality smaller size copy of these on my ...
3
votes
1answer
85 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 ...
1
vote
0answers
118 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, ...
0
votes
3answers
2k views

Alsa Pulse Audio cannot open audio device pulse (No such file or directory) pulse: Input/output error

I'm trying to stream my Gnome Desktop I installed on my OpenVZ VPS Server, and I'm not trying to run this from SSH, but the terminal inside the GNOME desktop, I know it probably doesn't have a sound ...
2
votes
1answer
1k views

unrecognized option 'vf'

I'm trying to add SRT subs to an flv video with following code but says unrecognized option 'vf'. Am I missing something or is there a workaround? I read somewhere you need at least ffmpeg version 7 ...
-1
votes
1answer
629 views

ffmpeg not found [closed]

As I had to install my system from scratch I decided to play it safe this time around and follow the documentation for compiling ffmpeg on Centos via the ffmpeg.org site. I followed every command line ...
0
votes
1answer
206 views

Linux re install order of events to include ffmpeg

Before I go ahead and wipe my whole system and start from scratch, is there a way I can avoid what just happened on trying to install ffmpeg? I still don't actually know the correct way to install it ...
1
vote
1answer
3k 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 ...
1
vote
2answers
1k views

ffmpeg installation on Linux REHEL/CentOs 6.X

I had a static installation of ffmpeg but was running into trouble with config files not found so I have since just deleted it. Then I tried re-installing a more current static version just to see if ...
2
votes
0answers
160 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 ...
0
votes
1answer
3k 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 ...
2
votes
2answers
2k views

How to enable libass on Linux?

I tried to enable libass for ffmpeg with this --enable-libass in command but it didn't recognise the command. Does anyone know how to enable libass on Linux?
3
votes
2answers
3k views

Interactively concatenate video files

Problem : How to concatenate (join) multiple MP4 video files into one file interactively? There are a lot of programs that do this for two files from the command line. For instance : ffmpeg, ...
2
votes
0answers
307 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 ...
3
votes
4answers
7k 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
1answer
842 views

/root/bin/ffmpeg: error while loading shared libraries: libtheoraenc.so.1: cannot open shared object file: No such file or directory

My ffmpeg command gives error when I try to convert video format. I have installed ffmpeg manually following this guide. For above issue I checked ffmpeg: error while loading shared libraries: ...
0
votes
1answer
3k 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 ...
3
votes
2answers
2k views

Save find -exec output to text file

I have a set of videos in the folder. I would like to get the info about this videos using ffmpeg -i command and save the output to file. So I wrote the line: find . -type f -exec ffmpeg -i {} \; ...
1
vote
1answer
69 views

WMA conversion for playitslowly

I need to transcribe some audio files. The original format is .WMA. I've tried using both: ffmpeg -i some.WMA some.wav and pacpl -to wav some.WMA some.wav as well as exporting with Audacity ...
9
votes
2answers
8k views

How to convert a VOB file to avi?

I am trying to convert a VOB file copied from a DVD into an avi in Ubuntu 13.10. I tried dvdrip, which failed due to a frame count error or something. I tried acidrip as well, but it always choose an ...
2
votes
0answers
150 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 ...
2
votes
1answer
513 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 ...
0
votes
1answer
508 views

FFMPEG Conversion Fails

Bad file? I'm very new to FFMPEG so how can I better debug and trace these issues? ffmpeg -i /home/videospace/public_html/labo/lion.3gp new_video.flv ffmpeg version N-57647-g1880294 Copyright (c) ...
1
vote
1answer
3k views

Batch Convert .mp4 to .avi with ffmpeg

Running Ubuntu 13.10 with a fully compiled ffmpeg. I know the code for the actual conversion is ffmpeg -i video.mp4 -codec copy video.avi I just need a plain and simple Bash script to do that for, ...
2
votes
1answer
502 views

Piping Sox and FFMPEG together

I'm processing a variety of audio files in a bunch of different formats and I'd like to unify their format and configuration using FFMPEG and SoX. There are two steps to my process: Convert the ...
3
votes
0answers
247 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
2answers
321 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/ ...
2
votes
4answers
877 views

how to convert number to time format in shell script?

I want to cut a video into about 10 minute parts like this. ffmpeg -i video.mp4 -ss 00:00:00 -t 00:10:00 -c copy 01.mp4 ffmpeg -i video.mp4 -ss 00:10:00 -t 00:10:00 -c copy 02.mp4 ffmpeg -i video.mp4 ...
1
vote
1answer
1k views

2pass encoding by ffmpeg at once

I encode a video file by using ffmpeg like this. $ ffmpeg -i input.avi -pass 1 -an output.mp4 $ ffmpeg -i input.avi -pass 2 -ab 128k -y output.mp4 So I typing always 2 times, is there way to encode ...
2
votes
2answers
493 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
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: ...
2
votes
2answers
2k views

Using FFMPEG to stream to Twitch.tv with desktop audio?

I've been trying for the last hour or so to stream to Twitch.tv with desktop audio in the stream. Currently, I'm able to use this to get a video to display on Twitch: #! /bin/bash INRES="1280x800" ...
2
votes
1answer
954 views

ffmpeg webcam to device driver , output 8 bit grayscale

With the following command i'm trying to capture 10fps and send them the device driver. Now i want 8 bit gray raw frames (640x480= 307200 bytes per frame) to be send to the device driver. I can't ...
1
vote
0answers
492 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
446 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
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: ...
2
votes
0answers
118 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 ...
7
votes
1answer
650 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 \ ...
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 ...
1
vote
1answer
180 views

Tell ffserver which track to use

I want to stream videos via ffserver. My videos are in container formats like mkv and avi and sometimes have multiple audio/video tracks. How can I tell ffserver which track to use? It seems to always ...
3
votes
1answer
264 views

Need script: latest JPEGs to video, then delete old JPEGs

I have an IP cam which uploads JPEG pictures to an FTP folder on my Arch Linux box whenever it detects movement in the room it is looking in. It uploads a JPEG every second until all motion activity ...
4
votes
0answers
581 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 ...