ffmpeg

FFmpeg Encoding(cli example) for Wowza Workflow and Source Formats

Hi, I have looked quite a bit for some guidance on this topic, but here is my question (several parts)... What is the best workflow, utilizing ffmpeg, to encode video for video-on-demand streaming for Wowza Media server? More specifically... Part 1: I have source videos of approx. 2 minutes each, that are 720p. I would like these to...

ffmpeg duration start

Hi Folks, When I run ffmpeg -i 115050295.wmv, I get the following data. Input #0, asf, from '115050295.wmv': Duration: 00:02:22.53, start: 3.100000, bitrate: 1462 kb/s Stream #0.0: Video: wmv2, yuv420p, 640x360, 29.92 tbr, 1k tbn, 1k tbc Stream #0.1: Audio: wmav2, 44100 Hz, stereo, s16, 96 kb/s The duration mentioned here i...

ffmpeg-how to convert an .MTS file to a vob for dvd burning

how do I convert an .MTS file using ffmpeg into a .vob file? ...

ffmpeg to capture screenshot from a video file in a fine time unit

I use ffmpeg to capture screenshot from video. Here is the command code: ffmpeg -i /my_video_file_dir/video.flv -y -f image2 -ss 8 -sameq -t 0.001 -s 320*240 /image_dir/screenshot.jpg And I want to capture the screenshot at a fine time unit 8.344 for example But it does not output screenshot image by the above command In my test,...

Can I add support for MSS2 encoded videos to FFMPEG?

Hi, I'm trying to convert WMV files to FLV via FFMPEG for windows. FFMPEG is currently being run on a windows server 2003 system. The command line I'm trying to execute to convert the wmv file is as follows... C:\Documents and Settings\userx>"C:\ffmpeg\ffmpeg.exe" -i "D:\Inetpub\upload \demo_f_aedemo\video\5EF96920214D4372AB1DDEAE34FCD0...

Melt: generated mp4 is not playing properly in flash player

I created an mp4 using the melt command line player by mixing two videos. Following is the melt command used for the generation melt -blank 0 avformat:/var/www/html/myscenario/app/web/files/videos/1l_926.flv in=0 out=540 -track -blank 300 avformat:/var/www/html/myscenario/app/web/files/videos/1h_376.mp4 in=300 out=900 -consumer avformat...

Live Video Encoding in ffmpeg

Hi, Actually i am trying to compress raw video to MPEG-4 AVC/H.264 BD-compatible High Profile / Level 4.1 video.I am using ffmpeg. ffmpeg -threads 2 -f rawvideo -pix_fmt bgr24 -re -s 720x576 -i - -threads 2 -vcodec libx264 -deinterlace -s 720x576 -coder 1 -flags +loop -cmp +chroma -partitions -parti8x8-parti4x4-partp8x8-partb8x8 -me_me...

Very low quality gifs with ffmpeg ¿Its possible better quality?

Hi all, Im using ffmpeg.exe to generate Gifs from video files. I use this code: "C:\\ffmpeg\\ffmpeg.exe" -ss 455 -i "C:\\ffmpeg\\movie.avi" -pix_fmt rgb24 -r 0.05 -loop_output 0 -t 100 -s 720x400 -f gif "C:\\ffmpeg\\animation.gif" But the quality is really bad, I found in the web similar cases: http://ffmpeg-users.933282.n4.nabble.co...

Dump same network stream to multiple (identical) files

Hi all, The project we're working on requires a stream to be recorded for a defined amount of time and dumped to multiple copies (1 for each user). This process must be done at the time of recording (ie, we can't record a single stream and then duplicate it out for each required copy) and cannot be achieved through access restrictions a...

How to extract the bitrate and other statistics of a video file with Python

I am trying to extract the prevailing bitrate of a video file (e.g. .mkv file containing a movie) at a regular sampling interval of between 1-10 seconds under conditions of normal playback. Kind of like you may see in vlc, during playback of the file in the statistics window. Can anyone suggest the best way to bootstrap the coding of s...

ffmpeg (libavcodec) warning: encoded frame too large

Hi, I'm trying to use libavcodec (ffmpeg) to encode raw pixel data to mp4 format. Every thing goes well and I'm getting .avi file with decent quality but some times the codec gives "encoded frame too large" warning. And when ever it does that, a part of some frames (usually bottom portion of the frame) look garbled or all mixed up. Can ...

How do I convert time in the format '00:04:13.67' to seconds?

basically i have a variable that holds a time value, in this format '00:04:13.67'. I need a short and simple php function to convert that to seconds. What i'm ultimately tring to do is get the duration of videos i have stored on a amazon cloud front using ffmpeg, but ffmpeg returns duration in unwanted format "hours:minutes:seconds.dec...

How can I extract audio from FLV?

Hi, I need to extract the audio from a FLV file recorded using FMS. I used the SPEEX coded in my flash application that streams the audio and video to FMS. I have tried using FFMPEG, with no luck. This is the -i outputs of my FLV: FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gp...

Add SPEEX code support to FFMPEG

How can I add SPEEX support to my FFMPEG installation? I need to extract the audio from a FLV created by FMS. I just installed it using: app-get install ffmpeg. ffmpeg -version FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --ena...

ffmpeg: execute with more options.

I installed FFMPEG using apt-get. It comes by default compiled with some options: configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr How can I execute it and add mo...

What Is the simplest way to compile FFMPEG on an Ubuntu Server

Hi, I need to execute FFMPEG with some options that are not included when I install using apt-get, so I need to re-compile it. What is the best/easiest way to do it? I'm using a Ubuntu 8.04 Server. The option I need to add is --enable libspeex1. Thanks in advance. ...

asp.net ffmpeg video encoding hangs

I have below methods to encode videos uploaded to a web site with ffmpeg. It works fine for videos up to 8-9 MB but, if video size is larger than 8-9 MB it hangs web site. Only way to recover it is restarting iis. When i watch the process i can see that ffmpeg encodes video and exits. Resulted video is just fine. Problem starts as soon ...

How to isolate server disaster script in PHP?

Oh my goodness. I never thought that I will need to ask you this. But unfortunately yes, I need to! I have a PHP written script of my own that uses ffmpeg-php. And ffmpeg-php is a bastard. For some input it works ok, but for some it crashes my whole PHP and server throws Internal Server Error 500. I've tried several times to update ffm...

Help with the logic of an script for composing multiple videos.

Hi All, I'm working on a Video Application and would like to hear some opinionenter code here of other developer about the logic for this section of the application. The application I'm working on will allow two live video streams to be recorded, and combined into a single FLV file. The application will have two "channels", I will hav...

Load video file and select individual frames

We are developing an app to take video files in various formats, perform some simple editing to the files, and output them to a specific format. I can handle everything except for the editing part through FFMPEG, as the editing requires a user to specify certain things. I need a user to specific any frame ranges that need to be trimmed...