ffmpeg

FFMpeg and Sequence Video

I understand that you can use ffmpeg to serve a sequence of images as video, while the images are being generated. Is this correct? Is there exists a way, where the ffserver can be used to serve a rtsp stream, using a list of mp4 files, which are getting generated sequentially (one at a time) ...

installing and using ffmpeg on mamp under mac snow leopard

hi i was wondering if anyone knew how to install ffmpeg on mac then how would i link it to mamp so that i can use it with php? thanks ...

how to link ffmpeg to php.ini

hi i am using mac osx with mamp and i was wondering how i can link ffmpeg to php.ini so that i can use it with php exec() ? the directory that ffmpeg got installed in is /users/sarmenhb/ffmpeg although i wish it didnt get installed here and got installed somewhere more appropriate, i sadly have no clue how to change the system to know w...

any idea what video encoding technology youtube is using?

i was wondering if anyone knew what video/audio encoding technology youtube is using. i heard they started with ffmpeg but am unsure ...

ffmpeg-php is generating blue thumbnails

For some reason ffmpeg-php has started generating blue tinted thumbnails when generating thumbnails for .flv files downloaded from youtube, since the site I'm working on moved servers. I have no idea why, or how to track this issue down - so any help you could provide would go a long way, since I have no experience with ffmpeg. The code ...

ffmpeg-php to create thumbnail of video problem!!!

Hi, I am trying to use this script to create thumbnail of a video using ffmpeg. At first I used phpinfo(); and I found ffmpeg is installed on my server. Then I copied ffmpeg-php onto my server and run the test file I got to know that many function are working on my server I got output like this Output:- Functions available in /usr/...

ffmpeg split avi into frames with known frame rate

I posted this as comments under this related thread. However, they seem to have gone unnoticed =( I've used 'ffmpeg -i myfile.avi -f image2 image-%05d.bmp' to split 'myfile.avi' into frames stored as .bmp files. It seemed to work except not quite. When recording my video, I recorded at a rate of 1000fps and the video turned out to be 2m...

Server-side video editing

This is what I need to do on a server. Let's say that I have 3 video files: video1.avi 2 minutes -> 640x320 video2.avi 1 minute -> 640x320 video3.avi 1 minute -> 640x320 I need to create video4.avi, that will be 2 minutes long and 1280x320, Containing the videos side by side (horizontally).I need video2 and video3 to be at the right s...

please guide me (FFMPEG and PHP) basics

Hi again everyone. i would like to ask you wonderful guys on how to encode videos using FFMPEG n PHP 5.3, so far i have gone through these following steps: Install FFMPEG Install PHP-FFMPEG extension for PHP 5.3, downloaded the extension over here install flvtool2 try to convert a video into .flv using these script i found here i go...

ffmpeg how do i know what audio rate to use?

say i have something like this ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320x240 video.flv -ar (Audio sampling rate in Hz) -ab (Audio bit rate in kbit/s) regarding the -ar and the -ab how do i know what rate to use? i got this ffmpeg command from a site somewhere and i was wondering how the person knew what values to put for...

Querying an audio/video file for information

I want a PHP function which receives the path to a file and returns an array of information about it. The PHP file can call FFmpeg. Returned data should be something like Array( [mime] => video/ogg [container] => Ogg [video] => Theora [audio] => Vorbis [duration] => 20.3 // in secon...

Rotating videos with FFmpeg

I have been trying to figure out how to rotate videos with FFmpeg for some time now. I am working with iPhone videos taken in portrait mode. I know how to determine the current degrees of rotation using MediaInfo (excellent library, btw) but I'm stuck on FFmpeg now. From what I've read, what you need to use is a vfilter option. Accordin...

FFMpeg with libfaac download

Where can I download ffmpeg with libfaac (for Windows)? ...

How to watermark a video with FFmpeg Libavfilter

I try to watermark movies with an PNG image. I read the documentation from http://ffmpeg.org/libavfilter.html but didn't get how using it. I tried ffmpeg -i video.mov -vf "movie=0:png:image.pngpad=1024:576:600:300:0x00000000 [watermark];[in][watermark]overlay=0:0:1[out]" -sameq video.mov And get this error FFmpeg version 0.6, Copyri...

Converting to YUV / YCbCr colour space - many versions

There are many different colour conversions to YUV but they all have different results! Which one is officially correct? This is the output from my test program. I have input R=128 G=50 B=50 (max value is 255). The table shows the converted YUV values, and the re-converted RGB values (which don't match the original). ./ColourConversion...

Saving H.264 RTP stream without re-encoding ?

My C++ application receives a H.264 RTP video stream. Right now it decodes the stream, saves it into a YUV file and later I use ffmpeg to re-ecode the file into something suitable to watch on a Windows PC (eg. Mpeg4 AVI). Shouldn't it be possible to save the H.264 stream into a AVI (or similar) container without having to decode and re...

ffmpeg conversion command to output to h.264 for iPad

I'm looking for a good (general) conversion command that will convert any input file to h.264 sized for the iPad. Currently I have this command that works, that was adapted from robert.swain With presets: /Applications/Miro.app/Contents/Helpers/ffmpeg -i INPUT -acodec aac -ab 160000 -s 1024x768 -vcodec libx264 -vpre slow -vpre ipod64...

Python ogg vorbis encoder on Windows

I want to use Python to convert a wav file to ogg vorbis format, so it can be streamed to a browser for playback. I've been able to use PyMedia 1.3.7.3 to encode to mp3 format, but when I set the output stream type to 'ogg', I get the error: oggvorbis_encode_init: init_encoder failed and the script dies. Perhaps I don't have the right ...

PHP FFmpeg video aspect ratio problem [SOLVED]

Hello Friends, i compiled the new version of FFMPEG and the padding commands have been deprecated. As i try to get familiar with the new -vf pad= commands, i want to ask, how can i convert a video without changing it's aspect ratio. I've checked numerous solutions from stackoverflow, nothing seemed to work. Can someone, please post ...

Using FFMpeg to determine video-type, converting afterwards?

Hello, I'm trying to determine the real type of a file programmatically. It seems I have to use for example FFMPeg for that. I want to determine if an uploaded file is in fact a MP4 or FLV (for flash videos) [or WebM (for HTML5)]. I know the -i operator in FFMPeg but I don't know what to check for. For example: Input #0, flv, from ...