ffmpeg

What transcoding services can people recommend?

A client of mine needs to accept a bunch of different video files and convert them to FLV. My experience with FFMEG on a previous project has highlighted that there will be some troublesome files. Depending on the price my client will pay for a professional service. What are people using and how are you finding the service? Thanks. ...

How to convert .flv file to .3gp using ffmpeg?

I have converted any video format to 3gp file format using ffmpeg on one server. But on another server it not works. Following is my script: exec("ffmpeg -i test.flv -sameq -acodec libmp3lame -ar 22050 -ab 96000 -deinterlace -nr 500 -s 320x240 -aspect 4:3 -r 20 -g 500 -me_range 20 -b 270k -deinterlace -f flv -y test.3gp "); C...

How to split flv file by size using FFmpeg or mencoder or smth else?

I need to split an flv file into chunks of the known size on linux server. For example my original file is 9Mb and the chunk size is 4Mb. So I should get 3 parts - 4Mb, 4Mb and 1 Mb. Seems that FFmpeg can split only by time. Mencoder can start by time (-ss TIME) and finish by size ( -endpos SIZE MB). But if start second of the first ch...

Extract RGB values from a AVFrame (FFMPEG) in C++

Hi all, I am currently trying to read in video frames by using FFMPEG. The format is PIX_FMT_RGB24; For each frame, the RGB values are all combined together in frame->data[0] (Where frame is of the type AVFrame). How do I extract the individual R, G and B values for each frame? This is for processing the video. I would think it would ...

Use FFMpeg to get middle frame of a video?

I'm wondering how to use FFMpeg to grap the middle frame of a video. I've already written the C# to grab a frame at a certain time (ie pull one frame at second 3). But I've yet to figure out how to find the middle of video using the FFMpeg commands. ...

HTTP Live Streaming, FFMPEG & FFSERVER, and iPhone OS 3

In iPhone OS 3, Apple has introduced HTTP Live Streaming which should allow live streaming of video from the internet. I am currently operating a webcam, which feeds into my server, and is then converted into a flv stream by ffmpeg, and streamed back out using ffserver. Does anyone know how to setup a video stream the iPhone can use us...

FFMPEG wmv conversion to flv

anyone using ffmpeg I have a fairly simple wmv exported by a user from movie maker with standard output and want to convert to .flv using C:>ffmpeg -i "E:\Jab Core 4 Recounters.wmv" -vcodec flv "C:\Net Projects\SVN\IntegratedAlgorithmics\src\MediaAdmin\MediaAdmin\bin\Debug\Movies\Jab Core 4 Recounters.flv" -ar 44100 the output / erro...

PHP and FFMPEG - Performing intelligent video conversion

I have an oddly difficult task to perform. I thought it would be easy, but all my efforts have been fruitless. I'm converting videos uploaded to a php script from various formats (.avi, .mpg, .wmv, .mov, etc.) to a single .flv format. The conversion is working great but what I'm having trouble with is the resolution of the videos. Th...

Capture FFMPEG output in PHP

I need to read the output from ffmpeg in order to even try the solution to my question from yesterday. This is a separate issue from my problem there, so I made a new question. How the heck do I get the output from an ffmpeg -i command in PHP? This is what I've been trying: <?PHP error_reporting(E_ALL); $src = "/var/videos/vi...

how to read a http video stream with libavcodec (ffmpeg)

hi all, I'm trying to read a real-time http video stream (I've set one up using VLC and my webcam) using libavcodec from ffmpeg. so far I've been able to read an mpeg file fine but when I pass a url instead of the file name it hangs (I assume it's waiting for the end of the file). anyone have experience/ideas on how to do this? I'm a...

FFMPeg Problem ( -bash: locate: command not found )

Hello Friends, Well, i tried the below mention way to check whether the FFMpeg extension exists or not for the Server: if(extension_loaded('ffmpeg')) echo 'FFMPeg Exists on server'; else echo 'No FFMPeg'; While FFMpeg is working file in my local computer, but still it shows the result "No FFMPeg" in my local system. Can a...

How to install FFMpeg in WampServer 2.0 (Windows XP)

I need to install the ffmpeg PHP extension on my localhost so I can test few of my scripts but I am having troubles figuring out how to do that. I have WampServer 2.0 with PHP 5.2.9-2, my OS is Windows XP. Please somebody give me step by step instructions. I have found some Windows builds here: http://sourceforge.net/projects/ffmpeg-ph...

Run a ffmpeg process in the background

I am wanting to use ffmpeg to convert video to .flv in php. Currently I have this working, but it hangs the browser until the file is uploaded and is finished. I have been looking at the php docs on how to run an exec() process in the background, while updating the process using the returned PID. Here is what I found: //Run linux com...

ffmpeg image creation

hi im using ffmpeg in my server and every thing is working fine except one that the image(thumbnail) creation im using this script /usr/bin/ffmpeg -i /var/www/test/test.flv -deinterlace -an -ss 13.45 -t 00:00:05 -r 0.01 -y -s 120x72 -vcodec mjpeg -f mjpeg /var/www/test/test.jpg is there any problem...

Concatenation of files using ffmpeg does not work as I expected. Why?

I execute the following command line for ffmpeg.exe -i C:\Beema\video-source\DO_U_BEEMA176x144short.avi -i C:\Beema\video-source\DO_U_BEEMA176x144short.avi -i C:\Beema\temp\9016730-51056331-stitcheds.avi -i C:\Beema\video-source\GOTTA_BEEMA176x144short.avi -y -ac 1 -r 24 -b 25K C:\Beema\video-out\9a062fb6-d448...

ffmpeg + PHP + Zend Framework

Here's the situation. While uploading a video, I want to capture a screenshot of that video and save it as a video thumbnail. I currently can't install ffmpeg on my local machine (it will be installed on the production server of course) so I cannot test the following controller action helper I wrote for this purpose: <?php /** * FlvThu...

C++/CLI -- 0xc000007b (INVALID_IMAGE_FORMAT) with /clr option on

Hi; I'm trying to build a C++/CLI executable to which I statically link ffmpeg (libavcodec, libavformat, libavutil & swscale). It works fine if I build it normally (without /clr, so no CLR support), it works. However, when I add CLR support, it won't start up with a 0xc000007b. A "Hello World" C++/CLI app runs fine, though. Supposedly t...

Java: cross-platform .flv playback

Hi, I'm looking for a way to playback .flv files using java. This means I will need a ffmpeg lib that is cross-platform. I've been toying with jmf and fobs4jmf, but I cannot playback in linux because I need a native library (maybe fobs4jmf.so?). Is there any java lib that allows me to playback .flv besides fobs4jmf? Or fobs4jmf can be ...

ffmpeg image generation in equal interval

hi plz help im using ffmpeg in Ubuntu for the image creation and video conversion my problem is i want to generate image(thumbnail) at different intervals. suppose that i upload a video then it calculate the video time and generate 5 images(thumbnail) at equal intervals.(e.g. suppose that the time period of the video is 50 minutes then...

ffmpeg licensing is not clear

Hello all its not directly programming question but i need to implement ffmpeg functionality in my application that is commercial. what is my restrictions when using this lib/app ? i was confused from reading there web page . ...