ffmpeg

Converting to iPod formatted mp4 files with ffmpeg?

Im looking to convert videos uploaded to my site to a format that ipods will play. Can anyone suggest a good command that will let me achieve this? I haven't had much luck..... ...

SharpFFMpeg ffmpeg conversion tutoiral

Hello I am after a good tutorial or how to on using SharpFFMpeg or if there is an easy way to use ffmpeg in c# ... I would like to convert video.(x format) to video.flv taking screenshots and saving them as i go. If there is a good tutorial out there or you know an easy way to do please post it here. Thanks, Kieran ...

How do you convert audio files (on the fly) to the browser?

I would like to be able to convert audio files to MP3 to the users browser on the fly. The software I am using is: Apache, PHP & FFMPEG on an ubuntu system. Here is the code I have so far: <?php header("Content-Transfer-Encoding: binary"); header("Content-Type: audio/mpeg, audio/x-mpeg, audio/x-mpeg-3, audio/mpeg3"); pas...

Building ffmpeg for Windows with MSYS and MinGW

Hello All, I am trying to build ffmpeg for windows (Xp - SP2) as given here. ./configure -–extra-cflags=”-mno-cygwin -mms-bitfields” -–extra-ldflags=”-Wl, -add-stdcall-alias” -–enable-memalign-hack -–enable-shared -–disable-static -–target-os=mingw32 The above command is placed in a myconfig file as instructed and when i run ./mycon...

Adding new CODEC to ffmpeg

Hello All, Is it possible to add new codec's to ffmepg? i searched a bit and was not able to find any concrete answer about this. If possible, Can i know the steps? ...

Load an extern C-library into an existing C++-Project (f.e. ffmpeg/libavcodec - step by step)

I really have big problems with importing an extern C-Library to my existing C++-Project. I want to import libavcodec from the FFmpeg-Project, so I downloaded the latest source-code-release. What do I have to do now? Do I have to compile FFmpeg first or can I import it just like that? A really simple step-by-step manual would be awesome!...

Why does FFMpeg stop after five seconds when run from a Perl daemon?

I wrote a little daemon in Perl that calls up FFMpeg to encode a video but the encoding stops after 5 or so seconds. I use this piece of code to start it: my $t = `echo '$ffmpeg_command' >>$self->{FFMPEG_OUTPUT}`; my $log_data = `$ffmpeg_command 2>>$self->{FFMPEG_OUTPUT}`; Any ideas? If I start the FFMpeg command myself it works fin...

Can you splice a 1 min clip out of a larger file, without transcoding it?

I have a site that allows people to upload large video files in various formats (avi, mp4, mkv and flv). I need to generate a 1 minute "sample" from the larger file that has been uploaded, and the sample needs to be in the same format, have the same frame dimensions and bit-rate as the original file. Is there a way to simply cut out a se...

Problem of adding a logo to decoded video data.

This is a code snippet to add a logo to decoded YUV picture (by ffmpeg). http://pastebin.com/md6c16c5 It almost works. Only one problem : sometimes the logo's board is heavily messed up with the surrounding part. The most strange thing is that sometimes it works OK but sometimes it doesn't. The code would modify the AVFrame allocate...

On-the-fly conversion of MPEG files on MonoTouch

I have an iPhone application that uses small MPEG movies showing hand signs in the Dutch Sign Language. I get the movies from the Gebarencentrum, with their permission. But they are all in the old MPEG-1 format, and the iPhone won't play that. The allowed me to convert a couple of hunderd of the movies in batch and put them on my own web...

iphone 3.1.2 sdk UIImagePicker for type movie not copying a thumbnail.

I have seen this question pop up a few times but the authors see to be satisfied with the wrong answer, so I will ask again. When picking a movie out of the user's gallery, I am given a MOV in the tmp directory but I am not given the thumbnail for the movie now in the 3.1+ sdk. In sdk 3.0, you get a jpg in the tmp folder but this beha...

How put a caption in flv converted by ffmpeg

I want to make such flv like in this video example How do I do this? Environment: Fedora release 8 (Werewolf) FFmpeg version SVN-r20412 ...

Using FFMPEG library with iPhone SDK for video encoding

Hi, I need to encode several pictures shot by the iphone camera into a mp4 video file and I know FFMPEG can do this (the application TimeLapser and ReelMoments do it already). I plan to use this in my app iMotion (available in the appstore). I successfully install and compile the ffmpeg for the iphone SDK with this link : http://lists....

Commands for making a photo movie

Are there any commands similar to FFMPEG commands which can be used to make a photo movie? ...

convert movie file to bitmap files with DirectShow

I want to convert movie files like AVI, MOV etc. to Bitmap-Files, like JPEG, JPEG2000, TIFF etc. Is it possible to realize that with DirectX / DirectShow? Is AVCodec from ffmpeg the much more better choice? Is it well documented? Are there any other possibilities to realize this problem (f.e. with Qt)? ...

C# and FFmpeg preferably without shell commands?

I'd like to be able to use FFmpeg to convert a video file from within my C# program. I know I can just call a shell command, but is there a better way? The issue with invoking a command via the shell, is I'm not sure you could do things like a progress bar, etc... or could you? If there isn't a way, can anyone suggest the best way to ...

Combine multiple videos into one.

I have three videos: a lecture that was filmed with a video camera a video of the desktop capture of the computer used in the lecture and the video of the whiteboard I want to create a final video with those three components taking up a certain region of the screen. Is open-source software that would allow me to do this (mencoder, f...

Convert video file to TIFF with ffmpeg.dll or avcodec.dll? Is "on-the-fly" possible?

I want to create a program, which gets a video-file from Qt, converts that video file to TIFF-files and sends them to an algorithm which handles these TIFF-Files. My questions: is it possible with ffmpeg or avcodec not to convert a video-file to TIFF-files first on harddrive and send them to the algorithm after that, but to convert f...

Linux application that bundles multiple incoming audio and video streams into one container file?

I've been assigned to implement a video on-demand service for a local university. Different aspects of the lectures (video, audio, screen cast, white board) will be recorded. During a lecture all these data streams arrive at one Linux server. This server should transcode and bundle all these streams into one container (Matroska) file. M...

ffmpeg-php - avi to flv, video length and audio

Hey. I'm trying to convert an .avi file to .flv using ffmpeg-php on a centos 5.4 server. This is my code: exec("ffmpeg -y -i " . $srcFile . " -ab 32 -ar 22050 -b " . $newBitrate . "k -vframes 2500 -qscale 7 -f flv -s " . $newWidth . "x" . $newHeight ." " . $destFile); For some reason the video length in the new .flv file is corrupt ...