`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
10 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 ...
0
votes
0answers
9 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 ...
1
vote
1answer
19 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
59 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
32 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 ...
0
votes
1answer
82 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
36 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
19 views

FFMPEG stream won't show up on Justin.tv

INRES="1366x768" # input resolution OUTRES="1366x768" # Output resolution FPS="35" ...
2
votes
1answer
77 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
152 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 ...
0
votes
0answers
41 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: ...
1
vote
0answers
228 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
65 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
177 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
113 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
87 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
191 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
72 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
61 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
268 views

How to input a network file using scp 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 ...
0
votes
0answers
67 views

How can I use codecs etc. from one file to encode another with avconv?

I'm trying to use my camcorder as a portable TV, so I would like to use files from the camcorder (a Sony Handycam HDR-CX280) to encode my other video files in a format it will play. Here's the output ...
3
votes
0answers
45 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
58 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
833 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
583 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 ...
-2
votes
1answer
399 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
81 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
938 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
622 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 ...
1
vote
0answers
97 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
497 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
1answer
774 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
448 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
200 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 ...
0
votes
2answers
1k 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
482 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
990 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
414 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 {} \; ...
0
votes
0answers
20 views

avconv with negative audio quality value

Is it possible to set the -q:a parameter to a negative value? For example, the value of -1 is a valid quality level for the Vorbis codec.
1
vote
1answer
42 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 ...
6
votes
2answers
4k 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
107 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
250 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
208 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
1k 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
317 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 ...
2
votes
0answers
184 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
0answers
138 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
689 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
374 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 ...