ffmpeg

ffmpeg php image creation

hi im using this script link text but im not able to create the image my file is http://sahu.vipin.googlepages.com/thumb.php plz help ...

Decode WMA with FFMpeg to PCM

Hello, I want to decode a WMA stream to 16 Bit PCM. Now i have a Question concerning FFMpeg- what is the output format of .. len = avcodec_decode_audio2(c, (int16_t *)outbuf, &outbuf_used, inbuf_ptr, size); is this the right function for this task? Thank you ...

Error while invoking FFMPEG to create thumbnail image from flash movie

I am using the below C# code to create a thumbnail image from a flv file.I am using FFMPEG to extract a thumbnail image from the flash movie string inputfile = "D:\\Shyju\\mpgg\\WebSite1\\lss_section3.flv"; string thumbname = "D:\\Shyju\\mpgg\\WebSite1\\test123.jpg"; Process process = new Process(); string thumbargs = "-...

use java-ffmpeg wrapper, or simply use java runtime to execute ffmpeg?

I'm pretty new to Java, need to write a program that listen to video conversion instructions and convert the video once an new instruction arrives (instructions is stored in Amazon SQS, but it's irrelevant to my question) I'm facing a choice, either use Java RunTime to exec 'ffmpeg' conversion (like from command line), or I can use a ff...

JMF, FOBS, and MPEG-4 Subtitles

I would like to be able to read subtitles from a MPEG-4 video stream using JMF. Pages such as MPEG user data indicate that subtitles can be embedded directly in an MPEG-4 video stream as "picture user data" associated with a frame. Assuming I am able to produce such a video stream, is it possible to consume them with JMF? JMF can consu...

How to write frames to a video file?

I am currently writing an application that read frames from camera, modify them, and save them into a video file. I'm planing to do it with ffmpeg. There's rarely a documentation about ffmpeg. I can't find a way. Does any know how to do it? I need it to be done on unix, and in C or C++. Does any can provide some instructions? Thanks. ...

FFmpeg video problem

Hello. I am using FFmpeg for the video conversion and thumbnail generations on my php site, but the main problem is that if I upload any file it is directly converted to flv. And thumbnail genration: how how can I do this? Please help me. ...

How can I add audio (mp3) to a flv (just video) with ffmpeg?

Hi :) How can I add sound from a mp3-file to a flv file that has no audio? (With ffmpeg) When I use ffmpeg -i video.flv -i audio.mp3 -acodec copy -vcodec copy -ab 128k -ar 44100 output.flv I get this output: FFmpeg version SVN-r12758, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --enable-shared --prefix=/usr ...

SoundManager + FFMPEG causing loud popping sound when streaming MP3s?

Hi there, I built an application that plays both uploaded original mp3 files, and copies that have been converted with FFMPEG. I am finding that in some cases the FFMPEG files have a horrible popping/clicking/screeching sound for a split second at startup (hear below). But when I analyze the file in an audio editor there is nothing ther...

FFMPEG: PowerPoint Web Presentation to HQ Video

I am building a recording script for PowerPoint presentations on the web( during a web meeting). I am looking to build a demuxer which will be easier to work with for the rest of the ffmpeg code as we query the timeline and return the current slide image and let ffmpeg handle the encoding of the frame in the output video. I want output...

why a ASF file converted by ffmpeg could not be played by media player?

Hi ALL, I get an ASF file with cmd: ./ffmpeg -i rtsp://.... -vcodec copy -an test.asf test.asf can be played by VLC player, but media player can not recognize it? ...

Can I use libavcodec (LGPL) in a commercial product

Hi, I am considering using libavcodec in my project, I know it is under LGPL license, but I don't quite understand about licenses. My project is not a open source projcet, and I don't change the code in libavcodec. I can only use link method to use libavcodec. With these conditions, I would like to ask : Can I use libavcodec in my p...

Save bitmap to video (libavcodec ffmpeg)

Hello, I'd like to convert a HBitmap to a video stream using libavcodec. I get my HBitmap using: HBITMAP hCaptureBitmap =CreateCompatibleBitmap(hDesktopDC, nScreenWidth, nScreenHeight); SelectObject(hCaptureDC,hCaptureBitmap); BitBlt(hCaptureDC,0,0,nScreenWidth,nScreenHeight,hDesktopDC,0,0,SRCCOPY); And I'd like to convert it to YU...

Convert streaming MPEG-4 raw data to H.264

I've got a Sony network camera (SNC-RZ25N) that I am trying desperately to get data from in some meaningful format. The documentation says it sends MPEG-4 raw data, but is not more specific than than. I can capture a segment of the stream using curl ( http://techhead.biz/media/tsv.m4v ) and it will play using VLC and ffplay (though it pl...

video format with minimal decode time.

Hi Friends, I am working on embedded device with 266 Mhz processor and 32 Bit bus and 480x272 screen. we want to play fullscreen video with 1024 kbps Bitrate and 24 fps. Is there any video file format which is bigger in size but fast to decode than H263 and H264. Thanks, Sunny. ADDED I am using processor version ARM926EJS, Arch is...

libavcodec save encoded video to avi file ?

Hello, I manage to encode frames using libavcodec but after calling avcodec_encode_video how do I do to save my encoded frames to an avi file ? Thanks. ...

How to crop a mp3 from x to x+n using ffmpeg?

Following this question I decided to use ffmpeg to crop MP3s. On another question I found this way of doing it: ffmpeg -t 30 -acodec copy -i inputfile.mp3 outputfile.mp3 The problem is that I don't want to crop the first 30 seconds, I want to crop from x to x+n, like from 30s to 100s. How would I go and do this? I'm reading the man f...

ffmpeg corrupt file

hi what is an easy way detect corrupt movie file during or before using ffmpeg to encode them? is there a command I can use to check if the file is not corrupt and then pipe it ffmpeg or standard input? thanks ...

ffmpeg: same compilations behaving differently across different machines

I am using ffmpeg on two of my Ubuntu hardy boxes. Both of them have same version of pre-compiled binaries of FFMPEG from Medibuntu. When I convert 3GP to FLV, on one machine ffmpeg distorts sound while on the other it works fine. I have checked the version and formats options and they are all identical across the machines. The only d...

Creating a sample mp3 with fade

I need to know if it is possible to create a 30 second sample MP3 from a WAV file. The generated MP3 file must feature a fade at the start and end. Currently using ffmpeg, but can not find any documentation that would support being able to do such a thing. Could someone please provide me the name of software (CLI, *nix only) that could...