FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video.
15
votes
5answers
15k views
How can I convert an ogv file to mp4?
I created a screencast using recordmydesktop which produed a .ogv file. I believe this is an OGG file encoded using the Theora codec. I'm wondering, how can I convert this to MPEG4/H.264? I've tried ...
12
votes
3answers
19k views
What packages do I install for ffmpeg and libmp3lame?
On my desktop Ubuntu 10.4 I use ffmpeg to convert videos to a format my dvd-player understands. On my laptop running 10.10 I can't get the same command to work, what package(s) are missing?
ffmpeg -i ...
10
votes
2answers
684 views
Can a server handle simultaneous shell commands?
I'm writing a very simple browser based MP3 player in PHP. Part of this project requires that every MP3 file is converted to a WAV file. There's a function in PHP called shell_exec that allows you to ...
9
votes
2answers
17k views
use ffmpeg to transform mp4 to same high-quality avi file?
I would like to use ffmpeg to transform an mp4 video file into avi but with the same quality, even if it takes up more space. If I simply do:
ffmpeg -i file.mp4 file.mp4.avi
The resulting avi file ...
9
votes
3answers
8k views
How do I use ffmpeg's “-vf” / “-vfilters” option without recompiling ffmpeg myself?
I have ffmpeg install from apt (version 4:0.5.1-1ubuntu1). I have a video that is up-side-down, so I want to flip it vertically. The ffmpeg documentation says to use the -vf option (which I see was ...
7
votes
1answer
3k views
How do I uninstall ffmpeg?
I am using ubuntu 12.04. I had installed ffmpeg a while ago (so don't clearly remember whether it was from source or repo). Now, I am unable to uninstall it. I have tried the followin:
$ sudo apt-get ...
6
votes
1answer
5k views
How do I use ffmpeg to take pictures with my web camera?
I want to use ffmpeg to store images taken by my USB web camera on my Ubuntu 11.10. lsusb outputs:
Bus 002 Device 003: ID 0c45:6028 Microdia Typhoon Easycam USB 330K (older)
The camera works fine ...
6
votes
1answer
4k views
How can I get ffserver to work?
I have a mp4 file which I wish to compress, resize and stream via RTSP.
My ffserver.conf file looks like this:
Port 9091
RTSPPort 5454
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
...
5
votes
3answers
3k views
How to download an MP3 track from a YouTube video [duplicate]
Possible Duplicate:
How to download a youtube video via terminal
There are several Q&A threads that explain how to download youtube videos using the terminal.
However, I would also ...
5
votes
4answers
1k views
What are the implications of the ffmpeg / libav fork for users?
The ffmpeg project got forked:
http://libav.org/
http://ffmpeg.org/
libav has already been added to the ubuntu repositories:
https://launchpad.net/ubuntu/+source/libav
What are the implications ...
5
votes
3answers
5k views
Add an audio file to and mkv video
I'm quite new to multimedia things, I'm trying to find a way to make nice screencasts, I've already been able to capture my desktop with ffmpeg:
$ ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 -s ...
5
votes
3answers
2k views
Good PPA for ffmpeg
Its annoying that the default ffmpeg in ubuntu's repositories is outdated and hobbled for legal reasons, however, there's a great page on the forums that walks you through building it from scratch: ...
5
votes
2answers
5k views
Why does ubuntu-restricted-extras want to remove some libav packages?
When I try to install "ubuntu restricted extras" in "ubuntu software center", it displays a warning dialog that says the following items must be removed:
libavcodec53
libavutil51
Why? And if I ...
4
votes
3answers
1k views
ffmpeg/avconv - the -psp option no longer works on Sony Walkman
Since the changeover from ffmpeg to avconv, the -psp option does not seem to render video correctly for Sony Walkman - "file format not supported", it was perfect before.
ffmpeg -i video.avi -f psp ...
4
votes
2answers
415 views
ffmpeg resize “could not find codec parameters”
I'm a newbee to ubuntu and need your help: (32bit ubuntu 12.10) my command:
ffmpeg -i ../output_images/particles%04d.png -r 30 -b 30000k final_movie.avi
works for my 800x800 *.png pictures ...
3
votes
4answers
17k views
Installing FFmpeg, libx264 and libavfilter
I trying to install this following these instructions:
sudo apt-get remove ffmpeg x264 libx264-dev
sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm ...
3
votes
1answer
422 views
Why can't I watch video after installing the original ffmpeg fork from Jon Severinson's PPA?
I just installed the Jon Severinsson ffmpeg PPA, and I cant watch any video and get audio only, I get a need extra plugins needed install? and then packaged dependencies could no be resolved . Here ...
3
votes
1answer
867 views
How do I record audio and video to a file from my webcam using ffmpeg?
This says to use /dev/dsp as the audio input. But I don't have a /dev/dsp I can find my webcam's mic in /dev/snd as /dev/snd/by-id/usb-Dynex_Dynex_1.3MP_Webcam-02
3
votes
1answer
621 views
FFmpeg or GStreamer for command line conversion of audio files?
I think I'm mixing up and I need some one to clarify things for me!
What is the differences between GStreamer and FFmpeg.
What I need is a command line to convert file(s) from one format to another.
...
3
votes
1answer
717 views
how can I batch extract audio from mp4 files with ffmpeg without decompression (automatic audio codec detection)?
I have 228 mp4 files (2.6GB) and would like to extract audio from them (mp3 or ogg). I want to batch extract them - preferably with bash. I'm not sure if all files use the same audio codec as they ...
3
votes
1answer
295 views
Difference between Medibuntu end Multiverse repository?
What are the differences of the Packages: libavcodec-extra-52, libavformat-extra-52, libavdevice-extra-52, libswscale-extra-0 in the Medibuntu and Multiverse repository?
3
votes
1answer
296 views
How to automatically graph the output of a shell function
I do a lot of video editing and processing, and spend a lot of time looking at the output of command line programs like ffmpeg. Ffmpeg produces a regular output of the form
frame=1234 fps=80 q=-1.0 ...
3
votes
1answer
733 views
ProRes encoding and decoding?
Is there a way to encode/decode prores mov files (mostly decode)? I've been playing around with ffmpeg and mencoder/mplayer from the ubuntu repos, but they both report that it's an unknown codec. ...
3
votes
1answer
86 views
Extracting images from video in 1 minute intervals
I would like to extract images from a video Exp01.avi, the video is 25 minutes long. I want the images to be extracted from the video after every 1 minute interval. Please someone tell me how to do ...
3
votes
2answers
2k views
How to add microphone audio into avconv's video in x11grab mode?
I want to create some screencast, I am using avconv (recent ffmpeg counterpart) for doing so.
This is the reference for command I used. I also referred the avconv manual pages. Due to some reason I ...
3
votes
2answers
3k views
How to convert an mpeg2 to a streamable or fragmented mp4?
I am trying to convert mythtv recorded mpg (mpeg2) files into streamable mp4 files. Converting to an mp4 is simple, however, the entire file must be converted first before it is usable. Even using ...
3
votes
3answers
1k views
ffmpeg unmet dependencies
I faced an issue recently when tried to install ffmpeg on my Ubuntu computer. I am running Ubuntu 11.10 64 bit, all latest updates are installed and system runs perfectly, however i feel need in ...
3
votes
1answer
1k views
ffmpeg options: -acodec libfaac -ab 192k produce 150kbit files?
When I use ffmpeg to convert an audiofile with the option
-acodec libfaac -ab 192k
and use
ffmpeg -i
on that file afterwards to get the audio file information, it tells me
bitrate: 152 ...
3
votes
0answers
672 views
How to stream a local video file over Internet using avconv/avserver?
As FFmpeg is going to be dropped from Ubuntu, it will be important to know how to broadcast videos over Intrnet using avconv. An official guide is available, but it doesn't give much information how ...
3
votes
0answers
144 views
5 seconds image intro with ffmpeg [closed]
I have one mp3 song song.mp3 and 2 jpg files 1.jpg 2.jpg
Now, I want to make video from mp3 with jpgs as a background, but in a way so that 1.jpg streams for first 5 seconds then 2.jpg till the rest ...
3
votes
2answers
870 views
Python/FFMPEG command line issues [closed]
I have a problem with running an FFMPEG command from within a Python script. When I run the following command from the terminal, I can stream video and audio from my attached webcam (Logitech C310) ...
3
votes
0answers
1k views
FFmpeg not recording audio during screen capture [closed]
I'm using the script below to run FFmpeg on Ubuntu 10.10. I followed these instructions to install FFmpeg & x264.
While ffmpeg does capture the screen it does not capture the mic audio. I've ...
2
votes
2answers
292 views
How to convert AC3 to Flac and apply a delay?
I have a MKV video file. The audio track is ac3. I extracted the AC3 and now want to convert it to Flac. But I need to add a delay/offset of 150ms. The offset should be permanent; the actual duration ...
2
votes
1answer
7k views
How can I convert a 1080p wmv video to a 720p video?
I have a 1080p wmv video that I'd like to convert to a lower quality (preferably 720p) video. I would like to keep the audio intact. How can I accomplish this in Ubuntu?
2
votes
1answer
171 views
Video Conversion using libav with libopus
i need to convert my video files with VP8 / Opus in Matroska(mkv) container using avconv in terminal
Can anyone give example usage of it?
2
votes
2answers
96 views
How to convert flv file(s) to mp3 from PCManFM's (Open with) context menu?
Opening a terminal in a folder that contains a flv file called "one" (one.flv) and running this command: ffmpeg -i one.flv one.mp3 the flv file is converted to mp3 with the same name and in the same ...
2
votes
1answer
155 views
FFMPEG not extracting part of the video
I used FFMPEG to extract portion (5 seconds) of a video like this:
ffmpeg -ss 00:30:00 -t 00:00:05 -i original.avi cut1.avi
and also like this:
ffmpeg -ss 1800 -t 5 -i original.avi cut1.avi
But ...
2
votes
1answer
1k views
How to make videos seekable with ffmpeg / mencoder
I'm using mencoder and ffmpeg to make videos with music playing over a single image. The videos play fine but I can't seek at all. I've tried generating them with -idx and even -forceidx and keyint ...
2
votes
1answer
90 views
Error while adding a watermark to mp4 with FFmpeg
I try to watermark an mp4 file with ffmpeg and the following command :
ffmpeg -i originalvideo.mp4 -vf « movie=watermark.png [wm];[in][wm] overlay=0:0:1 [out]« watermarkedvideo.mp4
after some ...
2
votes
2answers
542 views
How to fast convert mp4 to webm using ffmpeg?
Sorry to disturb you but I'm in a kind of a trouble.
I have to convert 76 mp4 files to webm for the purpose of a website that uses HTML5 videos. I'm talking about 10 Gb of mp4 files...
I know I can ...
2
votes
1answer
96 views
Is it possible to do a lossless conversion from m4v to webm?
I have several m4v files, which I need to convert to webm.
I am using ffmpeg for doing so and have used commands such as:
ffmpeg -i myfiletoconvert.m4v output.webm
The conversion works fine, and ...
2
votes
0answers
974 views
Can't capture video from usb-webcam with ffmpeg
i have a hama usb webcam which works fine with the fswebcam command to capture single frames but when i try to capture a video with ffmpeg i get an error:
sudo ffmpeg -f video4linux2 -i /dev/video0 ...
2
votes
1answer
238 views
Is there a way to convert cached webex files to some other format?
How can I convert webex files in the temp cache to generally usable media formats?
2
votes
1answer
416 views
Record and display Kinect audio and video via avconv
I'm trying to record audio and video from a Kinect using avconv but I seem to have trouble specifying the right options.
avconv -f video4linux2 -video_size 640x480 -c:v h264 -c:a ac3 -i /dev/video1 ...
2
votes
1answer
527 views
Rhythmbox import error in 12.04
Rhythmbox is not able to install the MPEG-4 plugin when I import mp4 files into it.
It identifies the plugin(Gstreamer), but fails to install it citing package dependency errors as following:
The ...
1
vote
2answers
366 views
How to convert a video from mp4/flv to mpeg/mpg
I download videos in mp4 or flv format but I need to convert them to mpeg 1/2/3 so that I can watch them on my special gadget.
I think I need a program.
any suggestion
thanks
1
vote
2answers
121 views
ffmpeg for 13.04
I have a question how to get ffmpeg with x264 support for ubuntu 13.04
I used to use this ppa https://launchpad.net/~jon-severinsson/+archive/ffmpeg
but as far as I understand 13.04 is not supported ...
1
vote
3answers
303 views
How to convert a raw video using ffmpeg
I have a raw video that has the following properties:
25 FPS
UYVY Codec
876 MBit/s
AVI Container
I want to convert this raw file to another container using ffmpeg. Right now the problem is that ...
1
vote
2answers
989 views
How can I determine which version of FFMPEG comes by default?
I am honestly confused beyond belief about my package that I have installed for FFMPEG. It is, according to Synaptic, version:
4:0.8.1-1really0u1
For some reason, I feel like this is not the ...
1
vote
4answers
1k views
video gets corrupt after converting ogv to any format using ffmpeg
I was trying to convert ogv video to avi using ffmpeg. It does convert without any error but the output video seems to be corrupt. Does not matter which format I convert it to, out put is same as ...
