ffmpeg

ffmpeg problem in ubuntu (libavcodec.so)

I run Ubuntu and try to use the ffmpeg wrapper in Java from here: http://code.google.com/p/javacv/ It seems to work fine on other systems, but in Ubuntu the project crashes with the following mistake: Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'avcodec_decode_video2': /usr/lib/i686/cmov/libavcod...

Iphone sdk code to capture images at 15 FPS on 3g mobile and sending to ffmpeg server .

I'm writing an app code to do video recording on iPhone much like all the available apps :) ... All im trying to do is capture screen from iPhone camera on 3g mobile and sending them to server .. but want some time efficient approach for sending to server and capturing image sequences ... its like i want to send 15 images / second to s...

How to map frame number to time in ffmpeg output

Is it possible to get the ffmpeg output in multiple lines? I am trying to map the frame number to the time, but ffmpeg overwrites the output on the same line. frame= 638 fps=160 q=0.0 Lsize= -0kB time=26.61 bitrate= -0.0kbits/s Or is there a quicker way to get the time on the video timeline given the frame number? ...

Is there a way to force a native thread to exit through JNI?

I have a program that's using the FFMPEG binary libraries via JNI. There is a call to open a URL which is blocking in native code, and I need to allow the user to manually cancel this connection. Sometimes Thread.interrupt() works just like it's supposed to (if the url I'm connecting to is "udp://{whatever}"). If my URL is "rtp://{wha...

SharpFFmpeg dll references

Looking at SharpFFmpeg project (c# interop library for ffmpeg) I noticed it references avcodec.dll and avformat.dll. What I have are libavcodec.dll and libavformat.dll. Are these the same and if not where do the non-lib versions come from? ...

Render out to video format using the iPhone

I'm trying to record the contents of the iPhone screen to video , in the app I'm working I want the user to be able to create a little animation but I'm just not sure how to encode the screen contents/animation to video when their finished? The problem with using something like ffmpeg is that its LGPL which can lead to licensing issues,...

how to convert mp4 to mp3 in java

Hi, I'm looking for a minimal way to convert mp4 file to mp3 file programmatically from Java. Ideally I also need an cutting of target file. Do Java libs support this or only 3th party ones? Like jmf, ffmpeg? Thanks! ...

problem: FFMPEG seeking with av_seek_frame using byte positions

Hi all, This is my first post on stack overflow, but i have visited this great site lots of times! I did a lot of googling before i posted this, I'm really desperate... The problem is that I am trying to get the av_seek_frame() function to go to a byte position I specify. I am implementing a frame accurate seeking mechanism for my appl...

split video (avi/h264) on keyframe

Hallo. I have a big video file. ffmpeg, tcprobe and other tool say, it is an h264-stream in an AVI-container. Now i'd like to cut out small chunks form the video. Problem: The index of the video seam corrupted/destroyed. I kind of fixed this via mplayer -forceidx -saveidx <IndexFile> <BigVideoFile>. The Problem here is, that I'm now ...

How to get the duration of the video uploaded ?

i'm using ffmpeg to convert videos to desired formats and to generate the thumbnails.. I want to find the total duration of the video to display in the main page along with the thumbnails.. Can i use ffmpeg to find the duration when its being uploaded and store them on the database.? Is storing the duration in db is necessary or else...

ffmpeg libxvid settings for optimal quality and preferably fast encoding

What ffmpeg settings should I use to convert a video into xvid with a mixed speed and quality ratio, using 2-passes, and alternativly 1 pass. Currently I use the following for just 1 pass, but I need a better sugestion. -acodec libmp3lame -ab 128 -ar 44100 -ac 2 -vcodec libxvid -qmin 3 -qmax 5 -mbd 2 -bf 2 -flags +4mv -trellis ...

streaming video using stream of images.

i have stream of images to make flv video. i can make video using those streams using ffmpeg but video is to be stream live simultaneously i have already installed red5 for streaming . ...

streming video generation ?

Hello first of all thank for viewing this code :) I've been trying to do live video broadcast from my iPhone :( which doesn't supports video recording :D ... wat i did is managed to write code to upload bunch of images captured at 10fps from iPhone plus some audio to my server ... At server end im using few commands which does the fol...

make live streaming flv using images

i am capturing screenshot of my desktop continuously and uploading it to my server in which red5 , ffserver , ffmpeg are installed. i can make video using ffmpeg image2 option but the count of image increase per second and i want to show that video live in browser . is there any another approcah to stream my images as live video . ...

How to convert a .flv file into .mp4/.ogg format for playing on smartphones with ffmpeg?

Simple like this is not enough: ffmpeg -i input.flv output.mp4 Anyone knows how youtube managed to convert arbitrary video files to the format acceptable by smartphones? ...

how mkfifo works with flv.

i googled for it but didnt got any thing i want to make a live streaming flv file using mkfifo. or there any another option to do so . ...

ffmpeg on windows mobile with C#

Hello, i need to work with FFmpeg for windows mobile with C#, in fact i want build player for .m4b,.m4a files. I know that the TCPMP is exist, but i want to make my own. So i want to use .Net, and i have some questions: If i use some C# FFmpeg wrappers, for example TaoFramework, will it work on windows mobile(in case if i use FFmpeg li...

Can ffmpeg process rtmp stream from FMS at all?

ffmpeg -i rtmp:/vid2/recordings -acodec copy -vcodec copy -y captured.flv or ffmpeg -i rtmp://localhost/vid2/recordings -acodec copy -vcodec copy -y captured.flv The above command only give me this error: rtmp://localhost/vid2/recordings: no such file or directory Isn't ffmpeg supposed to be able to handle rtmp streams? ...

Encode still image to avcC (h264) using FFMPEG with given sequence and picture param. sets?

I am working on a video streaming server. Now, I want to have the ability to stream my own frames before user stream starts (like adverts and such). Now the problem is, if I use this syntax: ffmpeg -s 640x480 -vframes 1 -intra -r 1 -b 250 -i image.jpg frame.m4v And then when extract it from the m4v file, and insert it into a user's s...

how to run and install phpize

Hi there, I have been meaning to install ffmpeg as an extension to my php setup. So before I can install it, I need to phpize it. I installed php5-dev by sudo apt-get install php5-dev But now when I run phpize I get the following error : phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source di...