ffmpeg

insallation of ffmpeg and extensions problem

when I tried to install lamp I am getting this error in "make install" [dometome]$ make install Making install in mpglib make[1]: Entering directory `/home/username/ffmpeg/lame-3.97/mpglib' make[2]: Entering directory `/home/username/ffmpeg/lame-3.97/mpglib' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done ...

Can't Stream Ogg From ffmpeg Through stdout

To get the the crux of it, why does the first command work, but the second command does not. They produce slightly differently sized files with different contents: ffmpeg -i test.wav -f ogg -acodec libvorbis test.a.ogg ffmpeg -i test.wav -f ogg -acodec libvorbis - > test.b.ogg test.a.ogg will play properly and has no problems. test.b...

Is there a way to use the CPU of a remote machine to convert in ffmpeg?

My site is built in PHP. I have a WWW server, where all the uploads end up for processing, and then they get rsynced to one of the 4 media servers. If there is a slow and steady stream of uploads, the WWW server converts them all reasonably quickly, but if a bunch of people upload something at the same time, they queue up, and it may tak...

Android OpenGL video capture

Does anyone knows some convinient method to capture video to file or stream from OpenGL app on Android device? For example, can we capture video from a view, opengl view? I just found out the following: 1) We can get frames using glReadPixels. (No video on this step?) 2) MediaRecorder can encode video, but how can we provide it our r...

FFMPEG - Not finding codec parameters

Hello, I'm trying to convert a sequence of images into a mpeg movie via FFMPEG, although I keep getting an error saying that it could not find the code parameters (Video: mjpeg). A Google search did not bring much up that was useful. ffmpeg -f image2 -i /tmp/img%03d.jpg video.mpgFFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c...

Duration of an amr audio file

Hi to all i want to find the duration of an audio file of type "amr" without converting it to other audio formats with any way? AK ...

Where is a binary file once it's been built (for ffmpeg)?

I need to build ffmpeg for Mac for converting MOV to FLV in a Java application. I made and installed LAME and then FFMPEG, but I'm confused as to what file I should grab to include with the Java application. What is the binary file? The previous version that I grabbed from the source of ffmpegX was 10mb in size, but the file that's in my...

mp4 converted video not playing on iphone & Android phones.

Hi There, I am facing problem in properly converting the video for iphone & Android phones. I have converted the video to mp4 using following command: ffmpeg -i Chili.wmv -s 432x320 -b 384k -vcodec libx264 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -bf 0 -flags2 +mixe...

ffmpeg run from command line executes, from mod_fcgi truncates after completion

The ffmpeg from command line generates preview files and two separate two-pass conversion that when run from a shell script, execute successfully. Running the commands via php's exec(/usr/bin/ffmpeg) or through exec(name_of_shell_script) generates preview files successfully. THe strange behavior is that the movies will generate, then ...

uploadify video encode with ffmpeg and encoding progress

want to know how to encode uploaded video files through the uploadify I do tried a lot. I call the uploaded file and use the encode script using ffmpeg in uploadify.php file in the uploadify but its not doing nothing. Also I need to show he progress of encoding in the front-end interface The ffmpeg script is working correctly in ssh pu...

ffmpeg reencoding of flv files from MAC

I've recorded a video from a webcam on mac and now i'm trying to reencode it, but ffmpeg does not recognize audio stream: FFmpeg version git-120610e, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 21 2010 15:56:57 with gcc 4.4.1 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-lib...

ffmpeg video encoding progress bar

When I run the conversion in the browser it simply shows the white blank space. Only after the conversion process page will load. Please suggest how to implement a progress bar which shows the progress to the user when the video conversion takes place. I have this in my php script exec("ffmpeg -i filename.flv -sameq -ab 128 -s 640x480...

FFMPEG av_interleaved_write_frame(): Operation not permitted

Ok I receiving a 'av_interleaved_write_frame(): Operation not permitted' error while trying to encode an MOV file. Firstly I need to outline the conditions behind it. I am encoding 12 different files of different resolution sizes and format types via a PHP script that runs on cron. Basically it grabs a 250mb HD MOV file and encodes it i...

java Runtime.exec() programm and pass character to getch()

Hello. I want to run ffmpeg from java as external process. After several minutes I want to stop it. It asks me to click 'q', and it works in console, but when I try to write 'q' to its stdin (process.getOutputStream() using java -- it does not work. I just take "c", convert it to byte using ASCII charset, write it to the stream, flush ...

Is there a set of working P/Invoke declarations for FFMpeg, libavutil, libavformat and libavcodec in .NET?

I'm currently looking to access libavutil, libavformat and libavcodec (all part of FFMpeg) from .NET. Currently, I'm getting the libraries from the automated builds of the shared FFMpeg package performed every night for Windows 32-bit. I am also using the code from the ffmpeg-sharp project. In that project, I have removed a number of ...

Python: How to use os.spawnv with a lot of arguments ?

Im working in a Python plugin for XBMC (xbmc.org) and I want to execute a program (ffmpeg.exe) from my plugin without the cmd window appears. If I use os.system() to call ffmpeg.exe works fine but the xbmc minimizes because os.system open a cmd window a few seconds. So, I try to use os.spawnv() that I think its possible that allow me to ...

Overlaying short video files on Linux? (ffmpeg)

Does ffmpeg or any other tool support merging/overlaying (not concatenating) of video files? I am trying to avoid frame-by-frame image merge into final video. ...

ffmpeg vstats problems, Missing frames and misleading information!

The Problem I have is when using ffmpeg to encode a YUV using libx264 I don't get all the frame information in -vstats output. It raises the question of how reliable ffmpeg is, and therefore can any 'codec benchmark' review based on ffmpeg be trusted? I am analysing codec's to determine how they perform. I am using ffmpeg and its -vstat...

how to insert the play button in the video thumbnail?

I'm creating thumbnails from videos using ffmpeg and it's working fine. But now I want to add a play button image at the center of the thumbnail image and store them. I've used CSS to get that, but I want to know whether there is any method to create thumbnails with the given image at the center. ...

how to convert high quality .wmv file using ffmpeg

Please guide me how to solve this issue. Below is what I got when try to convert wmv format file to .flv. ffmpeg -i full.wmv -ar 48000 -ab 192000 -b 293000 -r 15 -s 640x480 full.flv FFmpeg version SVN-r13582, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib -...