From onealbluce at yahoo.com Sun Apr 1 07:24:32 2012 From: onealbluce at yahoo.com (Oneal Bluce) Date: Sat, 31 Mar 2012 22:24:32 -0700 (PDT) Subject: [FFmpeg-user] Dose the dxva2 work fine in ffmpeg-v0.7 version Message-ID: <1333257872.55388.YahooMailNeo@web121202.mail.ne1.yahoo.com> ?hello, ? ?I use the hardware decoding(dxva2) function in the ffmpeg(ffmpeg-v0.7-) to decoding mpeg2 video in my application. but the result is not correctly and there is defferent when I using software decoder and using dxva2 decoder . I want to know whether this feature(using dxva2 to decode a mpeg2 video) can be correctly in this version(ffmpeg-v0.7). ? Thanks Oneal From cehoyos at ag.or.at Sun Apr 1 13:00:03 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 1 Apr 2012 11:00:03 +0000 (UTC) Subject: [FFmpeg-user] Oddity decoding DVCProHD and XDCAM References: <879C5526-21D2-4F68-9658-471BF8ED8829@gmail.com> <178B20FC-6CCA-41EE-A6DF-C46F9E6B4A95@gmail.com> Message-ID: Mike Szumlinski gmail.com> writes: > I've put the output into pastebin as to not clog up > everyone's email with excessive output For future reports, please always post the complete, uncut console output here on the mailing list, external resources may disappear. > DVCProHD Output > [libx264 @ 0x288eb40] profile High 4:2:2, level 4.0, 4:2:2 8-bit > XDCam Output > [libx264 @ 0x38223e0] profile High 4:2:2, level 3.2, 4:2:2 8-bit WMP and QuickTime do not support 4:2:2 in H264 (I am not sure about HTML5, but at least IE and Safari certainly do not support it), use -pix_fmt yuv420p to force 4:2:0. Please do not top-post here, it is considered rude, Carl Eugen From ebisumartin at gmail.com Sun Apr 1 15:23:34 2012 From: ebisumartin at gmail.com (Martin G) Date: Sun, 1 Apr 2012 22:23:34 +0900 Subject: [FFmpeg-user] -t option is ignored In-Reply-To: <20120328130729.GJ5169@leki> References: <201203270028.38628.rodney.baker@iinet.net.au> <4F707D9F.6000905@yahoo.com> <4F713631.5050502@gmail.com> <20120328092325.GI5169@leki> <20120328130729.GJ5169@leki> Message-ID: > Could you try moving the -ss and -t after the -i now? :) Thank you for your continued assistance. I tried this, and it has unfortunately not made any difference. The output still contains about 4 minutes of additional time, which consists of no sound and frozen frame. f$ ffmpeg -i input.avi -ss 01:05:16 -t 120 -c:v copy -c:a copy output.avi ffmpeg version 0.10.2-4:0.10.2-0ubuntu0jon1~oneiric1 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 18 2012 11:07:55 with gcc 4.6.1 configuration: --extra-version='4:0.10.2-0ubuntu0jon1~oneiric1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-frei0r --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static avutil configuration: --extra-version='4:0.10.2.0jon1~oneiric1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-frei0r --enable-libopenjpeg --enable-gpl --enable-postproc --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static avcodec configuration: --extra-version='4:0.10.2.0jon1~oneiric1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-frei0r --enable-libopenjpeg --enable-gpl --enable-postproc --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [mpeg4 @ 0x1433a40] Invalid and inefficient vfw-avi packed B frames detected Input #0, avi, from 'input.avi': Metadata: title : input encoder : VirtualDubMod 1.4.13 Duration: 01:50:30.50, start: 0.000000, bitrate: 886 kb/s Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 512x400 [SAR 1:1 DAR 32:25], 23.98 fps, 23.98 tbr, 23.98 tbn, 30k tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16, 32 kb/s File 'output.avi' already exists. Overwrite ? [y/N] y Output #0, avi, to 'output.avi': Metadata: INAM : input ILNG : Undefined ICMT : xxxxx ISFT : Lavf53.32.100 Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 512x400 [SAR 1:1 DAR 32:25], q=2-31, 23.98 fps, 23.98 tbn, 23.98 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, 32 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 0 fps= 0 q=-1.0 size= 10kB time=00:00:00.00 bitrate= 0.0kbits/frame= 2324 fps=230 q=-1.0 size= 10169kB time=00:01:38.13 bitrate= 848.8kbits/frame= 2849 fps=278 q=-1.0 Lsize= 13437kB time=00:02:00.03 bitrate= 917.1kbits/s video:11868kB audio:1379kB global headers:0kB muxing overhead 1.435638% From 103730258b at gmail.com Sun Apr 1 21:24:16 2012 From: 103730258b at gmail.com (maujhsn) Date: Sun, 1 Apr 2012 19:24:16 +0000 Subject: [FFmpeg-user] converting from drm protected videos In-Reply-To: References: Message-ID: Phil This is an interesting topic I am all ears for suggestions as well! Any Takers? On Sat, Mar 31, 2012 at 11:57 AM, Phil Rhodes wrote: > If there's a pushbutton approach to this, I'm all ears. > > Historically it has been quite tricky because there's no obvious way to > discover which of the several chunks of video on a DVD is the main feature, > and there are often problems with audio sync. > > P > > > > On Sat, 31 Mar 2012 02:25:36 +0100, Rick C. wrote: > > Hi, >> >> If I'm not allowed to discuss this my apologies but how to convert a >> video that has drm protection? I know some apps make use of certain >> installed components to do this but I haven't figured it out yet. This can >> be very useful for let's say taking my own dvd and putting it on my iPod. >> thanks, >> >> rc >> ______________________________**_________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user >> > ______________________________**_________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/**listinfo/ffmpeg-user > From bostjan.strojan at gmail.com Sun Apr 1 21:42:48 2012 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Sun, 1 Apr 2012 21:42:48 +0200 Subject: [FFmpeg-user] using flac parameters in ffmpeg In-Reply-To: References: Message-ID: >> Is it possible to use flac's --keep-foreign-metadata >> feature in ffmpeg when decoding or encoding flac files? > > (Command line and complete, uncut console output missing.) > > Isn't this the default? > Or do I misunderstand? It is not FLAC default, no idea about ffmpeg. b. From brendan.brewster at gmail.com Mon Apr 2 00:06:37 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Sun, 1 Apr 2012 18:06:37 -0400 Subject: [FFmpeg-user] Compressibility Check In-Reply-To: References: <4F7139CF.1080209@gmail.com> <4F7273EF.5020503@gmail.com> Message-ID: On Wed, Mar 28, 2012 at 11:42 AM, Brendan Brewster < brendan.brewster at gmail.com> wrote: > On Tue, Mar 27, 2012 at 10:14 PM, dE . wrote: > >> On 03/27/12 21:34, Brendan Brewster wrote: >> >>> On Mon, Mar 26, 2012 at 11:53 PM, dE . wrote: >>> >>> On 03/27/12 04:52, Brendan Brewster wrote: >>>> >>>> Hi, >>>>> >>>>> I am trying to implement a compressibility check via ffmpeg to >>>>> determine >>>>> an >>>>> appropriate resolution for the full encode. >>>>> >>>>> Can you please be more clear about what you're trying to do? What do >>>> you >>>> mean by 'compressibility'. Changing resolution is just one of changing >>>> compression level. >>>> >>>> The idea is to take some percentage of the input, say 5%, at various >>> points >>> throughout and encode this with the default (input) resolution and >>> bitrate. >>> I have a specific file size to meet, such as DVD5, and therefore know the >>> bitrate cap in order to fit my output onto the destination media (given a >>> certain audio bitrate). I can then determine the number of bits per pixel >>> for the default encode and prepare ratios with regard to lesser >>> resolutions >>> with the enforced bitrate. We choose a lower resolution if the ratio is >>> poor. This is what I mean by a compressibility check. Similar >>> functionality >>> was implemented by the legacy Gordian Knot as well as within Tuxrip. >>> >>> I would just like to speed up my analysis by avoiding the majority of the >>> seek time incurred especially in passes that pinpoint points later in the >>> input video stream. I was really hoping that there might be a way to >>> achieve the same end via one pass. >>> >>> Thanks, >>> Brendan >>> ______________________________**_________________ >>> ffmpeg-user mailing list >>> ffmpeg-user at ffmpeg.org >>> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user >>> >> >> From what I understand, you're asking for CBR, but that can be done using >> a combination of -maxrate and -minrate. That will reduce on the quality not >> resolution. This way you can keep the resolution constant. >> >> ______________________________**_________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user >> > > I appreciate your response but no, I'm not looking for guidance on > achieving CBR. My intent is to pick an appropriate resolution for the given > bitrate. I have no issues staying within my target output size during the > full encode no matter the resolution. All I'm trying to do is optimize my > current solution for the initial analysis prior to the actual full encode. > > Maybe someone else has some thoughts for me :) > > Thanks, > Brendan > Just putting this out there in case it's helpful for anyone else since I found a solution that works for me per my initial requirements. Basically, the following command will encode approximately 5%, 15 seconds every 5 min segment except the latter dependent on its size, of the input source (knowing the source frame rate is as indicated). This is a much more efficient solution and affords the same analysis I was looking for. ffmpeg -i 'VTS_01_PGC_01_1.VOB -filter:v 'select=lt(mod(t\,300)\,15), setpts=N/(29.97*TB), yadif' -target ntsc-dvd -f mpeg2video -q 1 -mbd rd -trellis 1 -cmp 2 -subcmp 2 -g 15 -an - 2>/dev/null | wc -c -Brendan From brendan.brewster at gmail.com Mon Apr 2 00:08:20 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Sun, 1 Apr 2012 18:08:20 -0400 Subject: [FFmpeg-user] Compressibility Check In-Reply-To: References: <4F7139CF.1080209@gmail.com> <4F7273EF.5020503@gmail.com> Message-ID: On Sun, Apr 1, 2012 at 6:06 PM, Brendan Brewster wrote: > On Wed, Mar 28, 2012 at 11:42 AM, Brendan Brewster < > brendan.brewster at gmail.com> wrote: > >> On Tue, Mar 27, 2012 at 10:14 PM, dE . wrote: >> >>> On 03/27/12 21:34, Brendan Brewster wrote: >>> >>>> On Mon, Mar 26, 2012 at 11:53 PM, dE . wrote: >>>> >>>> On 03/27/12 04:52, Brendan Brewster wrote: >>>>> >>>>> Hi, >>>>>> >>>>>> I am trying to implement a compressibility check via ffmpeg to >>>>>> determine >>>>>> an >>>>>> appropriate resolution for the full encode. >>>>>> >>>>>> Can you please be more clear about what you're trying to do? What do >>>>> you >>>>> mean by 'compressibility'. Changing resolution is just one of changing >>>>> compression level. >>>>> >>>>> The idea is to take some percentage of the input, say 5%, at various >>>> points >>>> throughout and encode this with the default (input) resolution and >>>> bitrate. >>>> I have a specific file size to meet, such as DVD5, and therefore know >>>> the >>>> bitrate cap in order to fit my output onto the destination media (given >>>> a >>>> certain audio bitrate). I can then determine the number of bits per >>>> pixel >>>> for the default encode and prepare ratios with regard to lesser >>>> resolutions >>>> with the enforced bitrate. We choose a lower resolution if the ratio is >>>> poor. This is what I mean by a compressibility check. Similar >>>> functionality >>>> was implemented by the legacy Gordian Knot as well as within Tuxrip. >>>> >>>> I would just like to speed up my analysis by avoiding the majority of >>>> the >>>> seek time incurred especially in passes that pinpoint points later in >>>> the >>>> input video stream. I was really hoping that there might be a way to >>>> achieve the same end via one pass. >>>> >>>> Thanks, >>>> Brendan >>>> ______________________________**_________________ >>>> ffmpeg-user mailing list >>>> ffmpeg-user at ffmpeg.org >>>> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user >>>> >>> >>> From what I understand, you're asking for CBR, but that can be done >>> using a combination of -maxrate and -minrate. That will reduce on the >>> quality not resolution. This way you can keep the resolution constant. >>> >>> ______________________________**_________________ >>> ffmpeg-user mailing list >>> ffmpeg-user at ffmpeg.org >>> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user >>> >> >> I appreciate your response but no, I'm not looking for guidance on >> achieving CBR. My intent is to pick an appropriate resolution for the given >> bitrate. I have no issues staying within my target output size during the >> full encode no matter the resolution. All I'm trying to do is optimize my >> current solution for the initial analysis prior to the actual full encode. >> >> Maybe someone else has some thoughts for me :) >> >> Thanks, >> Brendan >> > > Just putting this out there in case it's helpful for anyone else since I > found a solution that works for me per my initial requirements. > > Basically, the following command will encode approximately 5%, 15 seconds > every 5 min segment except the latter dependent on its size, of the input > source (knowing the source frame rate is as indicated). This is a much more > efficient solution and affords the same analysis I was looking for. > > ffmpeg -i 'VTS_01_PGC_01_1.VOB -filter:v 'select=lt(mod(t\,300)\,15), > setpts=N/(29.97*TB), yadif' -target ntsc-dvd -f mpeg2video -q 1 -mbd rd > -trellis 1 -cmp 2 -subcmp 2 -g 15 -an - 2>/dev/null | wc -c > > -Brendan > > Sorry, I had a single quote floating in front of VTS that shouldn't have been there. Corrected: ffmpeg -i VTS_01_PGC_01_1.VOB -filter:v 'select=lt(mod(t\,300)\,15), setpts=N/(29.97*TB), yadif' -target ntsc-dvd -f mpeg2video -q 1 -mbd rd -trellis 1 -cmp 2 -subcmp 2 -g 15 -an - 2>/dev/null | wc -c -Brendan From stozher at gmail.com Mon Apr 2 02:45:57 2012 From: stozher at gmail.com (John Saturday) Date: Mon, 2 Apr 2012 03:45:57 +0300 Subject: [FFmpeg-user] problem buffering m4v movies In-Reply-To: References: Message-ID: The short answer is a http://multimedia.cx/eggs/improving-qt-faststart/ . This is a MPEG-4 container problem... On Sat, Mar 31, 2012 at 11:34 PM, Marcel Kraan wrote: > Hello, > When i convert my movies to .m4v jwplayer is not playing my movies until the entire movie is loaded. > Is this a convert option? > > sample of a movie: > http://eengoedidee.nl/videoz/download.cgi?mem_id=32&fil_unique=ui5gf9TM228AAH7KxTMAAABJ > > > syntax of my convert. > ffmpeg -i 'file.flv' -y -acodec libfaac -ab 96k -ac 2 -vcodec libx264 -bufsize 5000K -vpre hq -vpre ipod640 -threads 0 -crf 22 'file.m4v' > > i like to start the file after a few seconds or a few percents of loading. > > Is this the problem of ffmpeg of jwplayer? > > i don't know where to start. > > Marcel Kraan > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From daverice at mac.com Mon Apr 2 04:44:00 2012 From: daverice at mac.com (David Rice) Date: Sun, 01 Apr 2012 22:44:00 -0400 Subject: [FFmpeg-user] using flac parameters in ffmpeg In-Reply-To: References: Message-ID: <96EFDD35-2A04-49E6-811E-D7F2DBD107FE@mac.com> Hi Carl, On Mar 31, 2012, at 12:51 PM, Carl Eugen Hoyos wrote: > David Rice mac.com> writes: > >> Is it possible to use flac's --keep-foreign-metadata >> feature in ffmpeg when decoding or encoding flac files? > > (Command line and complete, uncut console output missing.) I placed this at https://ffmpeg.org/trac/ffmpeg/ticket/1158. > Isn't this the default? I see some of the bext tags are mapped to flac tags which is great, but is not entirely what --keep-foreign-metadata does in the flac utility. For instance, this sample http://www.gallery.co.uk/ixml/examples/usesEntireiXMLSpec.WAV has an iXML chunk. With "flac --keep-foreign-metadata usesEntireiXMLSpec.WAV" the output would contain a copy of the iXML chunk. Dave > Or do I misunderstand? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From oussama.stiti at gmail.com Mon Apr 2 05:16:14 2012 From: oussama.stiti at gmail.com (Oussama Stiti) Date: Mon, 2 Apr 2012 12:16:14 +0900 Subject: [FFmpeg-user] Referenced frames In-Reply-To: References: Message-ID: Hi, Thank you for your response, actually i've tried your command line, it gives me pretty good result on the frame analysis, but not all the informations that i need. Could you please explain me, the options of the command line, for a better understanding of the filter in ffmpeg. Regards. O. Stiti From oussama.stiti at gmail.com Mon Apr 2 05:16:40 2012 From: oussama.stiti at gmail.com (Oussama Stiti) Date: Mon, 2 Apr 2012 12:16:40 +0900 Subject: [FFmpeg-user] Fwd: input rtp stream In-Reply-To: References: Message-ID: ---------- Message transf?r? ---------- De : Oussama Stiti Date : 30 mars 2012 15:35 Objet : Fwd: input rtp stream ? : FFmpeg user questions and RTFMs ---------- Forwarded message ---------- From: Oussama Stiti Date: 2012/3/29 Subject: input rtp stream To: FFmpeg user questions and RTFMs Hello, I'm broadcasting a video with vlc on rtp://127.0.0.1:5004. When i try the command : ffmpeg -report -loglevel warning -i rtp:// 127.0.0.1:5004 -stats -f null - It gives me the following result: [h264 @ 0x9cbe0a0] non-existing PPS referenced [h264 @ 0x9cbe0a0] non-existing PPS 0 referenced [h264 @ 0x9cbe0a0] decode_slice_header error [h264 @ 0x9cbe0a0] no frame! [h264 @ 0x9cbe0a0] non-existing PPS referenced [h264 @ 0x9cbe0a0] non-existing PPS 0 referenced [h264 @ 0x9cbe0a0] decode_slice_header error [h264 @ 0x9cbe0a0] no frame! [h264 @ 0x9cbe0a0] non-existing PPS referenced [h264 @ 0x9cbe0a0] non-existing PPS 0 referenced [h264 @ 0x9cbe0a0] decode_slice_header error [h264 @ 0x9cbe0a0] no frame! [...] DTS 4519, next:92863 st:0 invalid droping DTS 6609, next:116082 st:0 invalid droping DTS 8698, next:139301 st:0 invalid droping DTS 10788, next:162520 st:0 invalid droping DTS 9039, next:185739 st:0 invalid droping DTS 11128, next:208958 st:0 invalid droping DTS 13558, next:232177 st:0 invalid droping DTS 15648, next:255396 st:0 invalid droping DTS 17737, next:278615 st:0 invalid droping DTS 15988, next:301834 st:0 invalid droping DTS 18078, next:325053 st:0 invalid droping DTS 20167, next:348272 st:0 invalid droping What's wrong ? Regards -- *Oussama Stiti* -- *Oussama Stiti* ?l?ve ing?nieur en t?l?communications ? Sup'com (?cole sup?rieure des communications de Tunis) T?l: +21652363164 E-mail: oussama.stiti at gmail.com -- *Oussama Stiti* ?l?ve ing?nieur en t?l?communications ? Sup'com (?cole sup?rieure des communications de Tunis) T?l: +21652363164 E-mail: oussama.stiti at gmail.com From danielcalegari at yahoo.com Sun Apr 1 03:21:55 2012 From: danielcalegari at yahoo.com (Daniel C.) Date: Sat, 31 Mar 2012 18:21:55 -0700 (PDT) Subject: [FFmpeg-user] Video + Dual audio Message-ID: <1333243315.55427.YahooMailClassic@web130104.mail.mud.yahoo.com> It would be nice to have a example like this one, titled "how to convert a video with dual audio to a new one, with dual audio, doing some conversion" : ffmpeg.exe -i "source.avi" -map 0:0 -map 0:1 -map 0:2 -vcodec mpeg4 -vtag DIVX -b 680k -acodec libmp3lame -ab 64k output.avi -acodec libmp3lame -ab 64k -newaudio Get the original video, do something Get the 1st audio, do something Get the 2nd audio, do something and add to output Output everything to "output.avi" I lost some hours to find how to do this! yours, danielcalegari at yahoo.com from Brazil From bostjan.strojan at gmail.com Mon Apr 2 09:40:08 2012 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Mon, 2 Apr 2012 09:40:08 +0200 Subject: [FFmpeg-user] using flac parameters in ffmpeg In-Reply-To: <96EFDD35-2A04-49E6-811E-D7F2DBD107FE@mac.com> References: <96EFDD35-2A04-49E6-811E-D7F2DBD107FE@mac.com> Message-ID: On Mon, Apr 2, 2012 at 4:44 AM, David Rice wrote: > I see some of the bext tags are mapped to flac tags which is great, but is not entirely what --keep-foreign-metadata does in the flac utility. For instance, this sample http://www.gallery.co.uk/ixml/examples/usesEntireiXMLSpec.WAV has an iXML chunk. With "flac --keep-foreign-metadata usesEntireiXMLSpec.WAV" the output would contain a copy of the iXML chunk. I think the original idea with FLAC was that the input and output are byte-identical (like zip). b. From nichot20 at yahoo.com Mon Apr 2 10:12:26 2012 From: nichot20 at yahoo.com (Tim Nicholson) Date: Mon, 02 Apr 2012 09:12:26 +0100 Subject: [FFmpeg-user] -flags2 +ivlc+non_linear_q issues In-Reply-To: References: <4F75DA04.3040200@yahoo.com> Message-ID: <4F795F6A.1010706@yahoo.com> On 31/03/12 00:42, Carl Eugen Hoyos wrote: > Tim Nicholson yahoo.com> writes: > >> ffmpeg ... -flags2 +ivlc+non_linear_q > > Please try "-intra_vlc -non_linear_quant" instead. > Thanks Carl > (And please consider searching ffmpeg -h) Actually I did, but failed to spot that these had changed since my last invocation of ffmoeg -h > ffmpeg-help.txt :( and a number of web sites still have the old format listed.... for i= 1 to 100; write "I will pay more attention in class; next -- Tim From james.darnley at gmail.com Mon Apr 2 12:37:04 2012 From: james.darnley at gmail.com (James Darnley) Date: Mon, 02 Apr 2012 12:37:04 +0200 Subject: [FFmpeg-user] using flac parameters in ffmpeg In-Reply-To: <96EFDD35-2A04-49E6-811E-D7F2DBD107FE@mac.com> References: <96EFDD35-2A04-49E6-811E-D7F2DBD107FE@mac.com> Message-ID: <4F798150.20102@gmail.com> On 2012-04-02 04:44, David Rice wrote: > Hi Carl, > > On Mar 31, 2012, at 12:51 PM, Carl Eugen Hoyos wrote: > >> David Rice mac.com> writes: >> >>> Is it possible to use flac's --keep-foreign-metadata >>> feature in ffmpeg when decoding or encoding flac files? >> >> (Command line and complete, uncut console output missing.) > > I placed this at https://ffmpeg.org/trac/ffmpeg/ticket/1158. > >> Isn't this the default? > > I see some of the bext tags are mapped to flac tags which is great, but is not entirely what --keep-foreign-metadata does in the flac utility. For instance, this sample http://www.gallery.co.uk/ixml/examples/usesEntireiXMLSpec.WAV has an iXML chunk. With "flac --keep-foreign-metadata usesEntireiXMLSpec.WAV" the output would contain a copy of the iXML chunk. > Dave This sounds like a problem of reading metadata from the input wave file. The flac writer of libavformat will write all the metadata tags that are given to it into the VorbisComment block. I will add that flac.exe doesn't even understand that wave file you linked to. The error is: > usesEntireiXMLSpec.WAV: ERROR reading foreign metadata: invalid WAVE file: unexpected EOF (010) From salmjuh at hotmail.com Mon Apr 2 13:39:44 2012 From: salmjuh at hotmail.com (juha s.) Date: Mon, 2 Apr 2012 11:39:44 +0000 Subject: [FFmpeg-user] YouTube Settings In-Reply-To: References: Message-ID: Hi and thanks for quic reply. I know that they use MP4 and that's where I would like to have more information. So do you know that what settings I should use for LIVE capturing for YouTube quolity ? Something like this: ffmpeg -i rtsp://192.168.234.22:8554 -aspect 16:9 -s 640x360-copyts -vcodec libx264 -bf 16 -coder 1 -refs 6 -flags +loop -debl -b:v 1200kockalpha 0 -deblockbeta 0 -deinterlace -flags2 +wpred -me_method full -flags2 +mixed_refs -flags2 +dct8x8 -trellis 2 -crf 17 -y " Or something else ? Any help woul be nice. BR, Jiiii > On 03/30/12 11:45, juha s. wrote: > > Hi > > > > What settings I need to use if I like to produce same quolity > > videos than youtube are using ? > > > > > > Br, > > jiii > > They use h264. > _______________________________________________ They have 3 formats(webm, flv, mp4) and several resolutions(1028, 720, 480, 360, 240?). You can use "ffmpeg -i filename" or "mediainfo filename" to analyze it's acodec, vcodec, container, fps, bit rate, etc.. Then use the same setting to convert your videos. littlebat From: salmjuh at hotmail.com To: ffmpeg-user at ffmpeg.org Subject: YouTube Settings Date: Fri, 30 Mar 2012 06:15:02 +0000 Hi What settings I need to use if I like to produce same quolity videos than youtube are using ? Br, jiii From matthew.salisbury at autonomy.com Mon Apr 2 14:24:14 2012 From: matthew.salisbury at autonomy.com (Matthew Salisbury) Date: Mon, 2 Apr 2012 13:24:14 +0100 Subject: [FFmpeg-user] Mapping multiple audio streams Message-ID: <001601cd10cb$84a36a40$8dea3ec0$@salisbury@autonomy.com> Hello, Suppose I have an input with n audio streams. If I want to generate a separate output file for each stream is there a way of doing this via a single command? Bearing in mind the number of audio streams in the input is unknown. Would I need to interrogate the input first and determine how many streams it contains? Thanks, Matt From cehoyos at ag.or.at Mon Apr 2 15:32:39 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 2 Apr 2012 13:32:39 +0000 (UTC) Subject: [FFmpeg-user] Mapping multiple audio streams References: <44957.7503059574$1333369505@news.gmane.org> Message-ID: Matthew Salisbury autonomy.com> writes: > Suppose I have an input with n audio streams. If I want to > generate a separate output file for each stream is there a > way of doing this via a single command? I wonder how such a command line would look like... > Bearing in mind the number of audio streams in the input is > unknown. Would I need to interrogate the input first and > determine how many streams it contains? Yes, you need to specify the mapping and the file name for all output files on the command line. Carl Eugen From zammargu at marvell.com Mon Apr 2 15:33:49 2012 From: zammargu at marvell.com (Zahira Ammarguellat) Date: Mon, 2 Apr 2012 06:33:49 -0700 Subject: [FFmpeg-user] Buildin ffmpeg on QNX/ARM In-Reply-To: References: Message-ID: Carl, This is the configuration I used. I do have the SDL QNX/ARM library available in the path indicated in the configure command: ====================== #!/bin/sh export CFLAGS="-I /zammargu/WIFI_Display/SDL-1.2.13_qnx/build/include/SDL" export LDFLAGS="-L/zammargu/WIFI_Display/SDL-1.2.13_qnx/build/.libs -lSDL" ./configure \ --prefix=/zammargu/WIFI_Display/ffmpeg_org_qnx/build \ --cross-prefix=arm-unknown-nto-qnx6.5.0- \ --enable-cross-compile \ --arch=arm \ --target-os=qnx \ --enable-gpl \ --enable-version3 \ --enable-nonfree \ --enable-postproc \ --enable-pic \ --enable-shared \ --extra-libs=-lSDL \ --disable-doc \ --disable-stripping \ --enable-ffplay ===================== Anything else? Thanks, -Zahira >-----Original Message----- >From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user- >bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos >Sent: Saturday, March 31, 2012 12:54 PM >To: ffmpeg-user at ffmpeg.org >Subject: Re: [FFmpeg-user] Buildin ffmpeg on QNX/ARM > >Zahira Ammarguellat marvell.com> writes: > >> I have been trying to build the ffmeg library with ffplay enabled >> (I have built it without ffplay) but I don't seem to find the >> right configuration (ffplay is always disabled) > >Without looking at the attachment (shouldn't it be plain/text?), >I suspect you have to provide SDL library, this is the only >requirement for ffplay that I remember atm. > >Carl Eugen > >_______________________________________________ >ffmpeg-user mailing list >ffmpeg-user at ffmpeg.org >http://ffmpeg.org/mailman/listinfo/ffmpeg-user From cehoyos at ag.or.at Mon Apr 2 18:01:41 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 2 Apr 2012 16:01:41 +0000 (UTC) Subject: [FFmpeg-user] Buildin ffmpeg on QNX/ARM References: Message-ID: Zahira Ammarguellat marvell.com> writes: > export CFLAGS="-I /zammargu/WIFI_Display/SDL-1.2.13_qnx/build/include/SDL" > export LDFLAGS="-L/zammargu/WIFI_Display/SDL-1.2.13_qnx/build/.libs -lSDL" configure expects --extra-cflags and --extra-ldflags, if you believe this is not sufficiently documented by ./configure --help, please tell. > --extra-libs=-lSDL \ > --enable-ffplay These should not be necessary. Carl Eugen From beveryhappy99 at yahoo.com Mon Apr 2 18:54:06 2012 From: beveryhappy99 at yahoo.com (Carlos Duran) Date: Mon, 2 Apr 2012 09:54:06 -0700 (PDT) Subject: [FFmpeg-user] ffmpeg configure issue on iOS 5.1 Message-ID: <1333385646.49186.YahooMailNeo@web113502.mail.gq1.yahoo.com> Hi, I am trying configure a fresh install of ffmpeg to use in my apps, but I am getting an error message when I try to run ./configure, I am using iOS 5.1. ?I am including both the command and the error message: ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk' --enable-pic Unknown C compiler /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc is unable to create an executable file. C compiler test failed. Your help is appreciated. Thanks, Carlos From daverice at mac.com Mon Apr 2 20:33:24 2012 From: daverice at mac.com (Dave Rice) Date: Mon, 02 Apr 2012 14:33:24 -0400 Subject: [FFmpeg-user] using flac parameters in ffmpeg In-Reply-To: <4F798150.20102@gmail.com> References: <96EFDD35-2A04-49E6-811E-D7F2DBD107FE@mac.com> <4F798150.20102@gmail.com> Message-ID: <42DD6B4B-8E20-41D9-B736-7FD0C3FD0793@mac.com> On Apr 2, 2012, at 6:37 AM, James Darnley wrote: > On 2012-04-02 04:44, David Rice wrote: >> Hi Carl, >> >> On Mar 31, 2012, at 12:51 PM, Carl Eugen Hoyos wrote: >> >>> David Rice mac.com> writes: >>> >>>> Is it possible to use flac's --keep-foreign-metadata >>>> feature in ffmpeg when decoding or encoding flac files? >>> >>> (Command line and complete, uncut console output missing.) >> >> I placed this at https://ffmpeg.org/trac/ffmpeg/ticket/1158. >> >>> Isn't this the default? >> >> I see some of the bext tags are mapped to flac tags which is great, but is not entirely what --keep-foreign-metadata does in the flac utility. For instance, this sample http://www.gallery.co.uk/ixml/examples/usesEntireiXMLSpec.WAV has an iXML chunk. With "flac --keep-foreign-metadata usesEntireiXMLSpec.WAV" the output would contain a copy of the iXML chunk. >> Dave > > This sounds like a problem of reading metadata from the input wave file. > The flac writer of libavformat will write all the metadata tags that > are given to it into the VorbisComment block. > > I will add that flac.exe doesn't even understand that wave file you > linked to. The error is: >> usesEntireiXMLSpec.WAV: ERROR reading foreign metadata: invalid WAVE file: unexpected EOF (010) Argh. I chose a bad WAV sample as the authors of the iXML spec made an invalid WAVE file as their sample file. At any rate, flac's --keep-foreign-metadata doesn't have anything to do with the iXML chunk specifically. As Bo?tjan notes the goal of using --keep-foreign-metadata for encoding and decoding flac is that the original WAV or AIFF file could be recreated as a byte-exact output of a compressed flac file. If the source WAV file contains XMP, aXML, iXML, LIST-INFO, FLLR, JUNK, cart, fact, DISP, SyLP, IDAV, SNDM, SMED, or dozens of other non-standardized or rare WAV chunks then with --keep-foreign-metadata it will at least be stored in the flac file. Dave From wtfux.dev at googlemail.com Mon Apr 2 23:28:21 2012 From: wtfux.dev at googlemail.com (wtfux) Date: Mon, 2 Apr 2012 23:28:21 +0200 Subject: [FFmpeg-user] h264 looks bad in Flash Player Message-ID: Hey! I got a problem with x264 and Flash Player. I need to convert video clips for embedding (progressive download) using Flash Player. It works fine but Flash shows the video in a quite bad quality (wrong colors and pixelated). The same file played back with VLC looks much better. I searched for known problems with Flash Player but didn't find any. Is there a way to increase the quality in Flash Player? I tried different players, VideoJS and jwplayer -> same result except on Chrome where VideoJS uses HTML5 embedding (the video looks right). I also tried using different x264 profiles/levels but everything from baseline3.1 to high4.1 got the same problems. ReFrames is quite high (due to the video being a 2d animation), but setting refs=3 doesn't solve this either. Example image: http://i.imgur.com/IRJdu.png (top: flash player (latest version), bottom: VLC 2.0) Command: ffmpeg -i file.mp4 -codec:a libfaac -b:a 150k -codec:v libx264 -preset slow -profile:v high -tune:v animation -level:v 4.1 -refs:v 9 -crf:v 21 -threads 8 -f mp4 ~/test.mp4 MediaInfo: http://pastebin.com/rRxtrQ5z Anyone got an idea? Thanks! From anjo at krank.net Mon Apr 2 23:53:23 2012 From: anjo at krank.net (Anjo Krank) Date: Mon, 2 Apr 2012 23:53:23 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? Message-ID: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> Hi, I have a customer in the TV biz that requires MPEG2-TS with 4000kbit CBR. Currently, I create files with: bandwidth=4000 bandwidth="-b:v #{bandwidth}k -minrate:v #{bandwidth}k -maxrate:v #{bandwidth}k -bufsize #{bandwidth/4}k" extra="-g 12 -bf 2 -flags +cgop -flags2 sgop -sc_threshold 1000000000 -streamid:v 0:480 -streamid:a 1:481 -packetsize 188 " video="-c:v mpeg2video -pix_fmt yuv420p -ec +deblock -vf yadif -r 25 -s 720x576 #{bandwidth} #{extra}" audio_flags="-c:a mp2 -ar 48000 -b:a 192k" audio="#{audio_flags}" cmd="#{mapping} #{video} #{audio} -f #{type} -y #{outfile(file,type,ext)}" which Igot from the ffmpeg docs on how to create CBR streams (with fixed GOP). The customer has an unknown check program that rejects some (but not all, sigh) files I create with the message "MPEGError[Target bitrate too low]". I have no idea what this means but looking at the file with a stream checker indeed shows a drop to ~3.5mbit around 90 secs in, however overall bitrate is pretty much at 4 mbit with little variation. From a lot of searching on the web I get the impression that "real" CBR isn't really possible with ffmpeg or mpeg2 in general. Does anyone has a suggestion to create a broadcast TV stream with 4 mbit CBR that (hopefully) wouldn't fail? Or at least tell me what number -bufsize #{bandwidth/4}k should really be for that kind of stream? Or if how I could play around with -muxrate setting to match my requirements? Thanks in advance, Anjo From spider_man4978 at yahoo.com Tue Apr 3 06:12:42 2012 From: spider_man4978 at yahoo.com (endpoint122@yahoo.com) Date: Mon, 2 Apr 2012 21:12:42 -0700 (PDT) Subject: [FFmpeg-user] i can't see http://ffmpeg-users.933282.n4.nabble.com/ Message-ID: <1333426362077-4527763.post@n4.nabble.com> x264 --fullhelp or x264 --help i can't see any -preset -tune -profile i just got this error Unrecognized option 'x264' Failed to set value '--fullhelp' for option 'x264' is there anyway i can see the preset -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/i-can-t-see-http-ffmpeg-users-933282-n4-nabble-com-tp4527763p4527763.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From redshield5375 at gmail.com Mon Apr 2 21:34:18 2012 From: redshield5375 at gmail.com (strings001) Date: Mon, 2 Apr 2012 12:34:18 -0700 (PDT) Subject: [FFmpeg-user] How to treat multiple RTMP streams ? Message-ID: <1333395258558-4526997.post@n4.nabble.com> I've trying to treat multiple RTMP publishing with ffmpeg command like below. ffmpeg -rtbufsize 100000000 -threads 8 -f dshow -s 640x480 -i video="dshow_filter" -f dshow -i audio="Stereo Mix (Realtek High Defini" -r 60 -vcodec libx264 -crf 31 -qmax 51-qmin 11 -maxrate 300k -bufsize 1200k -acodec libmp3lame -f rtmp://some_ustream/key -f flv rtmp://some_justin/app/key As a result, I can publish but FPS of live is very low and unstable. I can smoothly publish multiple RTMP stream with multiple processes of ffmpegs. Can I publish multiple RTMP streams with one ffmpeg process ? -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-to-treat-multiple-RTMP-streams-tp4526997p4526997.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From roko98 at yahoo.com Tue Apr 3 09:12:58 2012 From: roko98 at yahoo.com (roko) Date: Tue, 3 Apr 2012 00:12:58 -0700 (PDT) Subject: [FFmpeg-user] (no subject) Message-ID: <1333437178.7392.YahooMailMobile@web162003.mail.bf1.yahoo.com> http://avidadobebe.com/wp-content/plugins/extended-comment-options/02efpk.html From james.darnley at gmail.com Tue Apr 3 09:55:51 2012 From: james.darnley at gmail.com (James Darnley) Date: Tue, 03 Apr 2012 09:55:51 +0200 Subject: [FFmpeg-user] i can't see http://ffmpeg-users.933282.n4.nabble.com/ In-Reply-To: <1333426362077-4527763.post@n4.nabble.com> References: <1333426362077-4527763.post@n4.nabble.com> Message-ID: <4F7AAD07.7000206@gmail.com> On 2012-04-03 06:12, endpoint122 at yahoo.com wrote: > x264 --fullhelp > or > x264 --help > > i can't see > any > -preset > -tune > -profile > > > i just got this error > > Unrecognized option 'x264' > Failed to set value '--fullhelp' for option 'x264' What are you doing? That looks like an error message from ffmpeg. The settings used for the different presets, tunings and profiles are documented in x264's command line encoder under the --fullhelp option. So you should be running: > x264 --fullhelp From james.darnley at gmail.com Tue Apr 3 10:11:08 2012 From: james.darnley at gmail.com (James Darnley) Date: Tue, 03 Apr 2012 10:11:08 +0200 Subject: [FFmpeg-user] using flac parameters in ffmpeg In-Reply-To: <42DD6B4B-8E20-41D9-B736-7FD0C3FD0793@mac.com> References: <96EFDD35-2A04-49E6-811E-D7F2DBD107FE@mac.com> <4F798150.20102@gmail.com> <42DD6B4B-8E20-41D9-B736-7FD0C3FD0793@mac.com> Message-ID: <4F7AB09C.8020709@gmail.com> On 2012-04-02 20:33, Dave Rice wrote: > > On Apr 2, 2012, at 6:37 AM, James Darnley wrote: >> This sounds like a problem of reading metadata from the input wave file. >> The flac writer of libavformat will write all the metadata tags that >> are given to it into the VorbisComment block. >> >> I will add that flac.exe doesn't even understand that wave file you >> linked to. The error is: >>> usesEntireiXMLSpec.WAV: ERROR reading foreign metadata: invalid WAVE file: unexpected EOF (010) > > Argh. I chose a bad WAV sample as the authors of the iXML spec made an invalid WAVE file as their sample file. > At any rate, flac's --keep-foreign-metadata doesn't have anything to do with the iXML chunk specifically. As Bo?tjan notes the goal of using --keep-foreign-metadata for encoding and decoding flac is that the original WAV or AIFF file could be recreated as a byte-exact output of a compressed flac file. If the source WAV file contains XMP, aXML, iXML, LIST-INFO, FLLR, JUNK, cart, fact, DISP, SyLP, IDAV, SNDM, SMED, or dozens of other non-standardized or rare WAV chunks then with --keep-foreign-metadata it will at least be stored in the flac file. > Dave I was intending to use the sample you provided to see how flac stores the foreign metadata. Instead I searched through their source code. For reference, flac stores these extra sections in Application data blocks. See the flac source: src/flac/foreign_metadata.c:419 It should be simple to write these blocks if the contents or at least the size are known at the start of encoding. It would be more difficult if you have to rewrite the entire file. From cehoyos at ag.or.at Tue Apr 3 10:13:22 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 3 Apr 2012 08:13:22 +0000 (UTC) Subject: [FFmpeg-user] h264 looks bad in Flash Player References: Message-ID: wtfux googlemail.com> writes: > Example image: http://i.imgur.com/IRJdu.png (top: flash player > (latest version), bottom: VLC 2.0) Is the problem also reproducible if you use x264 (the executable) instead of FFmpeg? Did you try the reference decoder? > Command: ffmpeg -i file.mp4 -codec:a libfaac -b:a 150k -codec:v > libx264 -preset slow -profile:v high -tune:v animation -level:v 4.1 > -refs:v 9 -crf:v 21 -threads 8 -f mp4 ~/test.mp4 > MediaInfo: http://pastebin.com/rRxtrQ5z While I cannot comment on x264 encoding options, whoever can would probably want to see the complete, uncut console output of above command. (I don't remember a problem report where MediaInfo output was useful.) Carl Eugen From cehoyos at ag.or.at Tue Apr 3 10:19:48 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 3 Apr 2012 08:19:48 +0000 (UTC) Subject: [FFmpeg-user] Video + Dual audio References: <1333243315.55427.YahooMailClassic@web130104.mail.mud.yahoo.com> Message-ID: Daniel C. yahoo.com> writes: > It would be nice to have a example like this one, > -newaudio Given that -newaudio does not exist anymore, it would be a bad idea. Carl Eugen From cehoyos at ag.or.at Tue Apr 3 10:16:41 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 3 Apr 2012 08:16:41 +0000 (UTC) Subject: [FFmpeg-user] MPEG-TS CBR? References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> Message-ID: Anjo Krank krank.net> writes: > From a lot of searching on the web I get the impression that > "real" CBR isn't really possible with ffmpeg or mpeg2 in general. Constant frame size does not exist for MPEG-2. If you need support here, please post a "real" command line (one that can be copy-pasted into a terminal and works if the input file exists) together with complete, uncut console output. Did you try if it works with a program stream? Carl Eugen From sven at nablet.com Tue Apr 3 11:42:29 2012 From: sven at nablet.com (Sven Dueking) Date: Tue, 3 Apr 2012 11:42:29 +0200 Subject: [FFmpeg-user] h264 looks bad in Flash Player In-Reply-To: References: Message-ID: <038e01cd117e$16754cb0$435fe610$@com> -----Urspr?ngliche Nachricht----- Von: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] Im Auftrag von Carl Eugen Hoyos Gesendet: Dienstag, 3. April 2012 10:13 An: ffmpeg-user at ffmpeg.org Betreff: Re: [FFmpeg-user] h264 looks bad in Flash Player wtfux googlemail.com> writes: > Example image: http://i.imgur.com/IRJdu.png (top: flash player (latest > version), bottom: VLC 2.0) Is the problem also reproducible if you use x264 (the executable) instead of FFmpeg? Did you try the reference decoder? > Command: ffmpeg -i file.mp4 -codec:a libfaac -b:a 150k -codec:v > libx264 -preset slow -profile:v high -tune:v animation -level:v 4.1 > -refs:v 9 -crf:v 21 -threads 8 -f mp4 ~/test.mp4 > MediaInfo: http://pastebin.com/rRxtrQ5z While I cannot comment on x264 encoding options, whoever can would probably want to see the complete, uncut console output of above command. (I don't remember a problem report where MediaInfo output was useful.) Hi Carl, Just a guess, I remember an issue with a huge number of reference frames in flash (and media info reports : ReFrames : 9 frames) Sven Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From wtfux.dev at googlemail.com Tue Apr 3 13:31:04 2012 From: wtfux.dev at googlemail.com (wtfux) Date: Tue, 3 Apr 2012 13:31:04 +0200 Subject: [FFmpeg-user] h264 looks bad in Flash Player In-Reply-To: <038e01cd117e$16754cb0$435fe610$@com> References: <038e01cd117e$16754cb0$435fe610$@com> Message-ID: > Is the problem also reproducible if you use x264 (the executable) instead of > FFmpeg? Did you try the reference decoder? I didn't try this but the input file is created with x264, too, but they didn't use ffmpeg. It's much larger (1 886 Kbps, 350mb) but when embedded using Flash it got the exact same problems. I tried different players. VLC and MPC show the video correct but Quicktime shows the video wrong, just like Flash. > Just a guess, I remember an issue with a huge number of reference frames in > flash (and media info reports : ReFrames : 9 frames) I already tried encoding with "-refs 1". MedaInfo then reports Reframes: 5 frames but that doesn't resolve this issue. Here's the full console output: ffmpeg -i ~/file.mp4 -codec:a libfaac -b:a 150k -codec:v libx264 -preset slow -profile:v high -tune:v animation -level:v 4.1 -refs:v 1 -crf:v 21 -threads 8 -f mp4 ~/test.mp4 ffmpeg version git-2012-02-03-d77294c Copyright (c) 2000-2012 the FFmpeg developers built on Apr 2 2012 03:13:34 with gcc 4.4.5 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab --enable-avfilter --enable-libass --enable-libvpx --enable-libfreetype libavutil 51. 37.100 / 51. 37.100 libavcodec 54. 0.102 / 54. 0.102 libavformat 54. 0.100 / 54. 0.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/file.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 creation_time : 2012-02-16 12:22:26 Duration: 00:23:51.12, start: 0.000000, bitrate: 2051 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1885 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc Metadata: creation_time : 2012-02-16 12:22:26 handler_name : Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 162 kb/s Metadata: creation_time : 2012-02-16 12:22:29 handler_name : GPAC ISO Audio Handler File '/root/test.mp4' already exists. Overwrite ? [y/N] y w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [libx264 @ 0x1b67440] using SAR=1/1 [libx264 @ 0x1b67440] using cpu capabilities: MMX2 SSE2 SSE3 Cache64 [libx264 @ 0x1b67440] profile High, level 4.1 [libx264 @ 0x1b67440] 264 - core 120 r2146 bcd41db - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:1:1 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=0.40:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=5 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:0.60 Output #0, mp4, to '/root/test.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 creation_time : 2012-02-16 12:22:26 encoder : Lavf54.0.100 Stream #0:0(und): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc Metadata: creation_time : 2012-02-16 12:22:26 handler_name : Stream #0:1(und): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, stereo, s16, 150 kb/s Metadata: creation_time : 2012-02-16 12:22:29 handler_name : GPAC ISO Audio Handler Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (aac -> libfaac) Press [q] to stop, [?] for help frame=34313 fps= 37 q=-1.0 Lsize= 227365kB time=00:23:51.05 bitrate=1301.5kbits/s dup=2 drop=0 video:200233kB audio:26184kB global headers:0kB muxing overhead 0.418960% [libx264 @ 0x1b67440] frame I:296 Avg QP:15.03 size:120534 [libx264 @ 0x1b67440] frame P:9942 Avg QP:18.42 size: 12732 [libx264 @ 0x1b67440] frame B:24075 Avg QP:23.93 size: 1777 [libx264 @ 0x1b67440] consecutive B-frames: 5.4% 6.6% 5.6% 63.6% 6.5% 12.3% [libx264 @ 0x1b67440] mb I I16..4: 19.0% 49.2% 31.8% [libx264 @ 0x1b67440] mb P I16..4: 5.3% 5.5% 2.2% P16..4: 24.1% 6.3% 3.1% 0.0% 0.0% skip:53.5% [libx264 @ 0x1b67440] mb B I16..4: 0.3% 0.3% 0.1% B16..8: 13.8% 1.1% 0.4% direct: 0.6% skip:83.4% L0:38.6% L1:58.7% BI: 2.8% [libx264 @ 0x1b67440] 8x8 transform intra:43.5% inter:71.7% [libx264 @ 0x1b67440] direct mvs spatial:100.0% temporal:0.0% [libx264 @ 0x1b67440] coded y,uvDC,uvAC intra: 44.4% 68.8% 37.6% inter: 4.5% 7.9% 0.9% [libx264 @ 0x1b67440] i16 v,h,dc,p: 45% 27% 10% 18% [libx264 @ 0x1b67440] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 15% 23% 6% 6% 7% 8% 8% 10% [libx264 @ 0x1b67440] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 14% 17% 7% 8% 8% 6% 8% 8% [libx264 @ 0x1b67440] i8c dc,h,v,p: 44% 25% 22% 9% [libx264 @ 0x1b67440] Weighted P-Frames: Y:0.8% UV:0.5% [libx264 @ 0x1b67440] kb/s:1146.15 From bostjan.strojan at gmail.com Tue Apr 3 13:42:52 2012 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Tue, 3 Apr 2012 13:42:52 +0200 Subject: [FFmpeg-user] alac and avc in mp4? Message-ID: Shouldn't alac sit happily in mp4 container (with some video)? thanks, b. ------------ more here: ffmpeg -i /Users/smoke/Desktop/test.mp4 -acodec alac -pix_fmt yuv422p10le -vcodec libx264 -preset medium -tune film -crf 184 -threads 0 -x264opts keyint=1 /Users/smoke/Desktop/test.xCRF18tenbit_INTRAmp4.1333453143.mp4 ffmpeg version N-37571-gbb9c8d9 Copyright (c) 2000-2012 the FFmpeg developers built on Feb 5 2012 21:30:41 with clang 3.0 (tags/Apple/clang-211.12) configuration: --prefix=/Volumes/tempdisk/sw --enable-gpl --enable-libx264 --cc=clang --enable-runtime-cpudetect libavutil 51. 37.100 / 51. 37.100 libavcodec 54. 1.100 / 54. 1.100 libavformat 54. 0.100 / 54. 0.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/smoke/Desktop/test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 2012-03-27 10:12:59 encoder : Lavf54.0.100 Duration: 00:00:25.08, start: 0.000000, bitrate: 7421 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 7310 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 2012-03-27 10:12:59 handler_name : VideoHandler Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 119 kb/s Metadata: creation_time : 2012-03-27 10:12:59 handler_name : [buffer @ 0x7fd75a4161a0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [buffersink @ 0x7fd75a4159a0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x7fd75a4170a0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p10le flags:0x4 [libx264 @ 0x7fd75a825c00] using SAR=1/1 [libx264 @ 0x7fd75a825c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x7fd75a825c00] profile High 4:2:2 Intra, level 4.0, 4:2:2 10-bit [libx264 @ 0x7fd75a825c00] 264 - core 120 r2164 da19765 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:-1:-1 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=36 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=1 keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=51.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 aq=1:1.00 [mp4 @ 0x7fd75a842600] track 1: could not find tag, codec not currently supported in container Output #0, mp4, to '/Users/smoke/Desktop/test.xCRF18tenbit_INTRAmp4.1333453143.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 2012-03-27 10:12:59 encoder : Lavf54.0.100 Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc Metadata: creation_time : 2012-03-27 10:12:59 handler_name : VideoHandler Stream #0:1(eng): Audio: alac, 48000 Hz, stereo, s16, 128 kb/s Metadata: creation_time : 2012-03-27 10:12:59 handler_name : Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (aac -> alac) Could not write header for output file #0 (incorrect codec parameters ?) From cehoyos at ag.or.at Tue Apr 3 15:48:41 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 3 Apr 2012 13:48:41 +0000 (UTC) Subject: [FFmpeg-user] alac and avc in mp4? References: Message-ID: Bo?tjan Strojan gmail.com> writes: > Shouldn't alac sit happily in mp4 container (with some video)? No. (Only in mov) Carl Eugen From anjo at krank.net Tue Apr 3 16:37:58 2012 From: anjo at krank.net (Anjo Krank) Date: Tue, 3 Apr 2012 16:37:58 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> Message-ID: <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> Hi Carl, thanks for your reply! Here's a complete line and the resulting output. There is nothing noteworthy in there, AFAICS. No error messages during running whatsoever. ffmpeg -i /mvl/412/Office.sd.mpg -c:v mpeg2video -pix_fmt yuv420p -ec +deblock -vf yadif -r 25 -s 720x576 -b:v 4000k -minrate:v 4000k -maxrate:v 4000k -bufsize 1000k -g 12 -bf 2 -flags +cgop -flags2 sgop -sc_threshold 1000000000 -streamid:v 0:480 -streamid:a 1:481 -c:a mp2 -ar 48000 -b:a 192k -packetsize 188 -f mpegts -y tst.mpg ffmpeg version git-2011-09-16-0f692db Copyright (c) 2000-2012 the FFmpeg developers built on Feb 15 2012 13:56:35 with gcc 4.0.1 (Apple Inc. build 5493) configuration: --prefix=/Users/ak/sffmpeg/build --datadir=/Users/ak/sffmpeg/build/etc --arch=x86_64 --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --disable-doc --disable-debug --disable-ffplay --disable-ffserver --disable-avdevice --disable-indevs --disable-outdevs --enable-runtime-cpudetect --enable-memalign-hack --extra-cflags=-I/Users/ak/sffmpeg/build/include --extra-cflags=--static --extra-cflags=-m64 --extra-ldflags=-L/Users/ak/sffmpeg/build/lib --extra-ldflags=-m64 --extra-ldflags=-arch --extra-ldflags=x86_64 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --disable-libspeex --enable-libx264 --disable-libxvid --disable-librtmp libavutil 51. 39.100 / 51. 39.100 libavcodec 54. 1.100 / 54. 1.100 libavformat 54. 0.100 / 54. 0.100 libavfilter 2. 62.100 / 2. 62.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mpeg, from '/mvl/412/Office.sd.mpg': Duration: 02:08:29.54, start: 0.357978, bitrate: 31158 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 30000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s [buffer @ 0x101100600] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27 sws_param: [yadif @ 0x1011023e0] mode:0 parity:-1 auto_enable:0 [scale @ 0x101101040] w:720 h:480 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4 [mpegts @ 0x101810220] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'tst.mpg': Metadata: encoder : Lavf54.0.100 Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 4000 kb/s, 90k tbn, 25 tbc Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video) Stream #0:1 -> #0:1 (mp2 -> mp2) Press [q] to stop, [?] for help frame=192740 fps= 28 q=2.0 Lsize= 4281847kB time=02:08:29.56 bitrate=4549.8kbits/s dup=0 drop=38315 video:3764423kB audio:180694kB global headers:0kB muxing overhead 8.535395% It's frustrating that I can't give more info about what "rate too low" is actually supposed to mean. The client has a system set up where this is simply an error message and no one can give me any more info :/ The only thing I found was a drop at around 50 secs in: It's the tiny white line at the left, where throughput drops to 3.5m. The resulting movie files looks totally normal at this location. From mucho googling I had the impression that it could maybe be a wrong setting for the -bufsize 1000k. Is this on any way calculable or are they simply a bunch of legal settings? The other thing would have been to set -muxrate to around 4000+128*1.05, which is just low enough to not produce error messages due to underruns. My impression was that this would fill up the stream with NULL packets. But I haven't really tried that yet because turnaround is ~4 days and I thought maybe someone would have a general idea what might be wrong. Thanks again, Anjo Am 03.04.2012 um 10:16 schrieb Carl Eugen Hoyos: > Anjo Krank krank.net> writes: > >> From a lot of searching on the web I get the impression that >> "real" CBR isn't really possible with ffmpeg or mpeg2 in general. > > Constant frame size does not exist for MPEG-2. > > If you need support here, please post a "real" command line > (one that can be copy-pasted into a terminal and works if the > input file exists) together with complete, uncut console output. > > Did you try if it works with a program stream? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From kimjensen at kj-infinity.com Tue Apr 3 17:53:31 2012 From: kimjensen at kj-infinity.com (Kim Jensen) Date: Tue, 3 Apr 2012 11:53:31 -0400 Subject: [FFmpeg-user] Porting FFMPEG Message-ID: <004501cd11b1$ec2195c0$c464c140$@com> Hello, I would like to port the ffmpeg to a Blackfin DSP platform not using any OS. I'm not sure this is the right place to ask for "How to/what to do" porting the ffmpeg? Is there a white paper describing this? Best Regards, Kim Jensen. KJ-INFINITY ENTERPRISE INC. Phone: +1 678-373-8289 Email: KimJensen at KJ_INFINITY.com This communication (including any attachments) is intended for the use of the intended recipient(s) only and may contain information that is confidential, privileged or legally protected. Any unauthorized use or dissemination of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender by return e-mail message and delete all copies of the original communication. Thank you for your cooperation. _____ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1913 / Virus Database: 2114/4911 - Release Date: 04/02/12 From cehoyos at ag.or.at Tue Apr 3 20:10:41 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 3 Apr 2012 18:10:41 +0000 (UTC) Subject: [FFmpeg-user] Porting FFMPEG References: <004501cd11b1$ec2195c0$c464c140$@com> Message-ID: Kim Jensen kj-infinity.com> writes: > I would like to port the ffmpeg to a Blackfin DSP platform > not using any OS. To build FFmpeg, you need at least a C99 compiler and a C library. Is that the answer you were looking for? Carl Eugen From michaelni at gmx.at Tue Apr 3 20:28:01 2012 From: michaelni at gmx.at (Michael Niedermayer) Date: Tue, 3 Apr 2012 20:28:01 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> Message-ID: <20120403182801.GA9030@kiste2> On Tue, Apr 03, 2012 at 04:37:58PM +0200, Anjo Krank wrote: > Hi Carl, > > thanks for your reply! Here's a complete line and the resulting output. There is nothing noteworthy in there, AFAICS. No error messages during running whatsoever. > > ffmpeg -i /mvl/412/Office.sd.mpg -c:v mpeg2video -pix_fmt yuv420p -ec +deblock -vf yadif -r 25 -s 720x576 -b:v 4000k -minrate:v 4000k -maxrate:v 4000k -bufsize 1000k -g 12 -bf 2 -flags +cgop -flags2 sgop -sc_threshold 1000000000 -streamid:v 0:480 -streamid:a 1:481 -c:a mp2 -ar 48000 -b:a 192k -packetsize 188 -f mpegts -y tst.mpg > > ffmpeg version git-2011-09-16-0f692db Copyright (c) 2000-2012 the FFmpeg developers > built on Feb 15 2012 13:56:35 with gcc 4.0.1 (Apple Inc. build 5493) > configuration: --prefix=/Users/ak/sffmpeg/build --datadir=/Users/ak/sffmpeg/build/etc --arch=x86_64 --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --disable-doc --disable-debug --disable-ffplay --disable-ffserver --disable-avdevice --disable-indevs --disable-outdevs --enable-runtime-cpudetect --enable-memalign-hack --extra-cflags=-I/Users/ak/sffmpeg/build/include --extra-cflags=--static --extra-cflags=-m64 --extra-ldflags=-L/Users/ak/sffmpeg/build/lib --extra-ldflags=-m64 --extra-ldflags=-arch --extra-ldflags=x86_64 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --disable-libspeex --enable-libx264 --disable-libxvid --disable-librtmp > libavutil 51. 39.100 / 51. 39.100 > libavcodec 54. 1.100 / 54. 1.100 > libavformat 54. 0.100 / 54. 0.100 > libavfilter 2. 62.100 / 2. 62.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 6.100 / 0. 6.100 > libpostproc 52. 0.100 / 52. 0.100 > Input #0, mpeg, from '/mvl/412/Office.sd.mpg': > Duration: 02:08:29.54, start: 0.357978, bitrate: 31158 kb/s > Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 30000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc > Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s > [buffer @ 0x101100600] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27 sws_param: > [yadif @ 0x1011023e0] mode:0 parity:-1 auto_enable:0 > [scale @ 0x101101040] w:720 h:480 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4 > [mpegts @ 0x101810220] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts > Output #0, mpegts, to 'tst.mpg': > Metadata: > encoder : Lavf54.0.100 > Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 4000 kb/s, 90k tbn, 25 tbc > Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s > Stream mapping: > Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video) > Stream #0:1 -> #0:1 (mp2 -> mp2) > Press [q] to stop, [?] for help > frame=192740 fps= 28 q=2.0 Lsize= 4281847kB time=02:08:29.56 bitrate=4549.8kbits/s dup=0 drop=38315 > video:3764423kB audio:180694kB global headers:0kB muxing overhead 8.535395% > > It's frustrating that I can't give more info about what "rate too low" is actually supposed to mean. The client has a system set up where this is simply an error message and no one can give me any more info :/ > > The only thing I found was a drop at around 50 secs in: > > > > It's the tiny white line at the left, where throughput drops to 3.5m. The resulting movie files looks totally normal at this location. From mucho googling I had the impression that it could maybe be a wrong setting for the -bufsize 1000k. Is this on any way calculable or are they simply a bunch of legal settings? there are simply a bunch of legal settings, try a smaller bufsize and see if this fixes the issue > > The other thing would have been to set -muxrate to around 4000+128*1.05, which is just low enough to not produce error messages due to underruns. My impression was that this would fill up the stream with NULL packets. > > But I haven't really tried that yet because turnaround is ~4 days and I thought maybe someone would have a general idea what might be wrong. sorry, i also can only guess what "rate too low" might mean [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User questions about the command line tools should be sent to the ffmpeg-user ML. And questions about how to use libav* should be sent to the libav-user ML. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From rickcorteza at gmail.com Wed Apr 4 04:13:03 2012 From: rickcorteza at gmail.com (Rick C.) Date: Wed, 4 Apr 2012 10:13:03 +0800 Subject: [FFmpeg-user] aac encoding coming from .mkv Message-ID: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> Hi, If I want to use -acodec aac -strict experimental -ab192k coming from .mkv containing 6 channel dts/ac-3 audio it seems to create a variable bit rate with low quality. What would be the recommended way to use the aac encoder for a video like this? Thanks, rc From funkyirish at gmail.com Wed Apr 4 07:04:56 2012 From: funkyirish at gmail.com (Josh long) Date: Wed, 4 Apr 2012 00:04:56 -0500 Subject: [FFmpeg-user] bgra to yuv In-Reply-To: References: <1330634734197-4436338.post@n4.nabble.com> Message-ID: On Fri, Mar 30, 2012 at 8:49 PM, Josh long wrote: > On Fri, Mar 30, 2012 at 6:44 PM, Carl Eugen Hoyos wrote: > >> Josh long gmail.com> writes: >> >> > ffmpeg -i 0_10_sec.avi -vcodec rawvideo -pix_fmt rgb24 0_10_secrgb..avi >> >> rawvideo in avi does not allow rgb24, only bgr24 is >> supported for that combination. >> >> Carl Eugen >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > > ah I see. Again I suppose I need to do more homework on this. So I > suppose it's just a fluke that it plays the correct colors when I first go > to rgba and then rgb24? > > Also why is it that yuv444p ends up so distorted, is it because I used > rawvideo? > > Thanks again for all of your help. > > Joshua > I would like to rephrase my original question; What's the best route to take (with quality preservation being the metric) to get to yuv444p from bgra? Thanks From budiw_1 at yahoo.com Wed Apr 4 08:39:20 2012 From: budiw_1 at yahoo.com (Budiwijaya) Date: Tue, 3 Apr 2012 23:39:20 -0700 (PDT) Subject: [FFmpeg-user] (no subject) Message-ID: <1333521560.38757.YahooMailNeo@web130106.mail.mud.yahoo.com> ? -- - UNIX is user friendly. It's just selective about who its friends are. - Of course I use Microsoft. Setting up a stable unix network is no challenge ;p From cehoyos at ag.or.at Wed Apr 4 09:40:42 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 4 Apr 2012 07:40:42 +0000 (UTC) Subject: [FFmpeg-user] aac encoding coming from .mkv References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> Message-ID: Rick C. gmail.com> writes: > If I want to use -acodec aac -strict experimental -ab192k > coming from .mkv containing 6 channel dts/ac-3 > audio it seems to create a variable bit rate with low quality. "experimental" should give you the answer, but since it worked here when I tested last time, please provide the command line you used together with the complete, uncut console output. Carl Eugen From anjo at krank.net Wed Apr 4 09:43:54 2012 From: anjo at krank.net (Anjo Krank) Date: Wed, 4 Apr 2012 09:43:54 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: <20120403182801.GA9030@kiste2> References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> Message-ID: <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> Am 03.04.2012 um 20:28 schrieb Michael Niedermayer: >> It's the tiny white line at the left, where throughput drops to 3.5m. The resulting movie files looks totally normal at this location. From mucho googling I had the impression that it could maybe be a wrong setting for the -bufsize 1000k. Is this on any way calculable or are they simply a bunch of legal settings? > > there are simply a bunch of legal settings, try a smaller bufsize and > see if this fixes the issue Can you tell me where to find those legal settings? Are they dependent on the target (TV vs DVD)? I searched high and low on google but found only very contradictory info, which is why I came up with the bufsize=bandwidth/4 scheme in the first place... Cheers, Anjo From cehoyos at ag.or.at Wed Apr 4 09:44:20 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 4 Apr 2012 07:44:20 +0000 (UTC) Subject: [FFmpeg-user] bgra to yuv References: <1330634734197-4436338.post@n4.nabble.com> Message-ID: Josh long gmail.com> writes: > I would like to rephrase my original question; What's the > best route to take (with quality preservation being the > metric) to get to yuv444p from bgra? Since this is a long thread: Please explain what you are trying to do (you do that above), why you are trying it, what command line you are using, the complete, uncut console output and what goes wrong. And because I'd like to understand the whole process: How are you receiving the bgra frames? (I ask because I have troubles believing anything produces raw bgra frames.) Thank you, Carl Eugen From beveryhappy99 at yahoo.com Wed Apr 4 20:32:51 2012 From: beveryhappy99 at yahoo.com (Carlos Duran) Date: Wed, 4 Apr 2012 11:32:51 -0700 (PDT) Subject: [FFmpeg-user] =?iso-8859-1?q?Cross_compiling_FFmpeg_libraries_for?= =?iso-8859-1?q?_ios=A05=2E1_=28armv6/armv7/i386=29?= Message-ID: <1333564371.56931.YahooMailNeo@web113516.mail.gq1.yahoo.com> Hi, Does anybody have experience cross compiling fmpeg for iOS5.1?, I have had many issues trying to create a static library for iOS5.1 and would appreciate some ideas. Thanks in advanced for your assistance. Carlos From Cecil at decebal.nl Wed Apr 4 22:13:56 2012 From: Cecil at decebal.nl (Cecil Westerhof) Date: Wed, 04 Apr 2012 22:13:56 +0200 Subject: [FFmpeg-user] Strange result with qscale Message-ID: <87pqbnqmpn.fsf@Compaq.site> To upload video's to FaceBook I want to make the video's smaller, without degrading the quality too much. I my case that became '-qscale?4'. The filesize has then gone from 61 MB to 16 and the file quality is still good. With 5 I start to see blocking. But the strange thing is the following. With the different values for qscale, I get the following file sizes (my input-file was 61 MB): |--------+-----| | qscale | MB | |--------+-----| | 1 | 45 | | 2 | 45 | | 3 | 23 | | 4 | 16 | | 5 | 12 | | 6 | 11 | | 7 | 8.8 | | 8 | 7.8 | | 9 | 6.8 | | 10 | 6.0 | | 11 | 5.6 | | 12 | 5.3 | | 13 | 5.1 | |--------+-----| Why give 1 and 2 the same file sizes? For people that use ffmpeg and BASH: In my BASH-group I am posting about a script to fetch video through your webcam: http://tinyurl.com/BashNederlands -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof From jsd at cluttered.com Wed Apr 4 23:42:38 2012 From: jsd at cluttered.com (Jon Drukman) Date: Wed, 4 Apr 2012 14:42:38 -0700 Subject: [FFmpeg-user] Transcode wmv->mp4 fails with latest version Message-ID: I am attempting to upgrade an older ffmpeg system I have to the latest and greatest. However, I am unable to get certain files to transcode with the latest version. test file: http://tmeast.s3.amazonaws.com/demo/paristest.wmv old command line (works correctly): $ ffmpeg -y -i paristest.wmv -s 480x352 -sample_fmt s16 -acodec libfaac -ab 64k -ac 2 -ar 44100 -async 0 -vcodec libx264 -vpre fast -b 300k -bt 300k -threads 0 -vsync 1 test.mp4 ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers built on May 25 2011 22:23:12 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-pthreads --enable-static --disable-shared --disable-network --enable-nonfree libavutil 51. 2. 2 / 51. 2. 2 libavcodec 53. 6. 0 / 53. 6. 0 libavformat 53. 2. 0 / 53. 2. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 11. 0 / 2. 11. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 [wmv3 @ 0x9a79e80] Extra data: 8 bits left, value: 0 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from 'ParisTravelVideo.wmv': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 00:03:21.00, start: 0.000000, bitrate: 7403 kb/s Stream #0.0(eng): Audio: wmav2, 48000 Hz, 2 channels, s16, 192 kb/s Stream #0.1(eng): Video: wmv3 (Main), yuv420p, 1440x1080, 8196 kb/s, PAR 4:3 DAR 16:9, 29.97 tbr, 1k tbn, 1k tbc [buffer @ 0x9a79be0] w:1440 h:1080 pixfmt:yuv420p tb:1/1000000 sar:4/3 sws_param: [scale @ 0x9a79960] w:1440 h:1080 fmt:yuv420p -> w:480 h:352 fmt:yuv420p flags:0x4 [libx264 @ 0x9a772c0] using SAR=4/3 [libx264 @ 0x9a772c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x9a772c0] profile High, level 2.1 [libx264 @ 0x9a772c0] 264 - core 115 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=1 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=300 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [wmv3 @ 0x9a79e80] Extra data: 8 bits left, value: 0 Output #0, mp4, to 'test.mp4': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 encoder : Lavf53.2.0 Stream #0.0(eng): Video: libx264, yuv420p, 480x352 [PAR 4:3 DAR 20:11], q=2-31, 300 kb/s, 30k tbn, 29.97 tbc Stream #0.1(eng): Audio: libfaac, 44100 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1$ ffmpeg -y -i ParisTravelVideo.wmv -s 480x352 -sample_fmt s16 -acodec libfaac -ab 64k -ac 2 -ar 44100 -async 0 -vcodec libx264 -vpre fast -b 300k -bt 300k -threads 0 -vsync 1 test.mp4 ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers built on May 25 2011 22:23:12 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-pthreads --enable-static --disable-shared --disable-network --enable-nonfree libavutil 51. 2. 2 / 51. 2. 2 libavcodec 53. 6. 0 / 53. 6. 0 libavformat 53. 2. 0 / 53. 2. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 11. 0 / 2. 11. 0 libswscale 0. 14. 0 / 0. 14. 0 libpostproc 51. 2. 0 / 51. 2. 0 [wmv3 @ 0x9a79e80] Extra data: 8 bits left, value: 0 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from 'ParisTravelVideo.wmv': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 00:03:21.00, start: 0.000000, bitrate: 7403 kb/s Stream #0.0(eng): Audio: wmav2, 48000 Hz, 2 channels, s16, 192 kb/s Stream #0.1(eng): Video: wmv3 (Main), yuv420p, 1440x1080, 8196 kb/s, PAR 4:3 DAR 16:9, 29.97 tbr, 1k tbn, 1k tbc [buffer @ 0x9a79be0] w:1440 h:1080 pixfmt:yuv420p tb:1/1000000 sar:4/3 sws_param: [scale @ 0x9a79960] w:1440 h:1080 fmt:yuv420p -> w:480 h:352 fmt:yuv420p flags:0x4 [libx264 @ 0x9a772c0] using SAR=4/3 [libx264 @ 0x9a772c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x9a772c0] profile High, level 2.1 [libx264 @ 0x9a772c0] 264 - core 115 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=1 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=300 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [wmv3 @ 0x9a79e80] Extra data: 8 bits left, value: 0 Output #0, mp4, to 'test.mp4': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 encoder : Lavf53.2.0 Stream #0.0(eng): Video: libx264, yuv420p, 480x352 [PAR 4:3 DAR 20:11], q=2-31, 300 kb/s, 30k tbn, 29.97 tbc Stream #0.1(eng): Audio: libfaac, 44100 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 frame= 6024 fps= 39 q=-1.0 Lsize= 8627kB time=200.93 bitrate= 351.7kbits/s /s video:6932kB audio:1536kB global headers:0kB muxing overhead 1.879083% frame I:76 Avg QP:24.53 size: 10024 [libx264 @ 0x9a772c0] frame P:2517 Avg QP:28.82 size: 2119 [libx264 @ 0x9a772c0] frame B:3431 Avg QP:31.86 size: 292 [libx264 @ 0x9a772c0] consecutive B-frames: 13.9% 27.3% 9.3% 49.5% [libx264 @ 0x9a772c0] mb I I16..4: 21.9% 60.0% 18.1% [libx264 @ 0x9a772c0] mb P I16..4: 3.0% 5.6% 1.0% P16..4: 31.3% 7.6% 4.1% 0.0% 0.0% skip:47.4% [libx264 @ 0x9a772c0] mb B I16..4: 0.5% 0.7% 0.0% B16..8: 10.4% 1.4% 0.1% direct: 3.9% skip:83.0% L0:35.7% L1:57.0% BI: 7.3% [libx264 @ 0x9a772c0] final ratefactor: 26.26 [libx264 @ 0x9a772c0] 8x8 transform intra:58.1% inter:72.8% [libx264 @ 0x9a772c0] coded y,uvDC,uvAC intra: 46.1% 44.7% 16.4% inter: 8.9% 7.6% 0.5% [libx264 @ 0x9a772c0] i16 v,h,dc,p: 53% 20% 10% 17% [libx264 @ 0x9a772c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 14% 25% 5% 7% 8% 7% 7% 6% [libx264 @ 0x9a772c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 13% 17% 6% 8% 9% 7% 6% 4% [libx264 @ 0x9a772c0] i8c dc,h,v,p: 61% 18% 17% 4% [libx264 @ 0x9a772c0] Weighted P-Frames: Y:21.3% UV:14.5% [libx264 @ 0x9a772c0] ref P L0: 74.9% 25.1% [libx264 @ 0x9a772c0] ref B L0: 84.1% 15.9% [libx264 @ 0x9a772c0] ref B L1: 95.9% 4.1% [libx264 @ 0x9a772c0] kb/s:282.51 With the latest and greatest ffmpeg (checked out and built today), the same command fails like so: $ ffmpeg -y -i paristest.wmv -s 480x352 -sample_fmt s16 -acodec libfaac -ab 64k -ac 2 -ar 44100 -async 0 -vcodec libx264 -preset fast -b:v 300k -bt 300k -threads 0 -vsync 1 test.mp4 ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Apr 4 2012 17:47:11 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-pthreads --enable-static --disable-shared --disable-network --enable-nonfree libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [wmv3 @ 0x9984a60] Extra data: 8 bits left, value: 0 Input #0, asf, from 'ParisTravelVideo.wmv': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 00:03:21.00, start: 0.000000, bitrate: 7403 kb/s Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, 2 channels, s16, 192 kb/s Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1440x1080, 8196 kb/s, SAR 4:3 DAR 16:9, 29.97 tbr, 1k tbn, 1k tbc [buffer @ 0x9986020] w:1440 h:1080 pixfmt:yuv420p tb:1/1000000 sar:4/3 sws_param:flags=2 [scale @ 0x99a8680] w:1440 h:1080 fmt:yuv420p sar:4/3 -> w:480 h:352 fmt:yuv420p sar:176/135 flags:0x4 [libx264 @ 0x999a580] using SAR=176/135 [libx264 @ 0x999a580] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x999a580] profile High, level 2.1 [libx264 @ 0x999a580] 264 - core 122 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=300 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [wmv3 @ 0x9984a60] Extra data: 8 bits left, value: 0 Output #0, mp4, to 'test.mp4': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 encoder : Lavf54.3.100 Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 480x352 [SAR 176:135 DAR 16:9], q=-1--1, 300 kb/s, 30k tbn, 29.97 tbc Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0:1 -> #0:0 (wmv3 -> libx264) Stream #0:0 -> #0:1 (wmav2 -> libfaac) Press [q] to stop, [?] for help Application provided invalid, non monotonically increasing dts to muxer in stream 1: 6144 >= 5296 av_interleaved_write_frame(): Invalid argument Is there a workaround? From cehoyos at ag.or.at Thu Apr 5 00:08:31 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 4 Apr 2012 22:08:31 +0000 (UTC) Subject: [FFmpeg-user] Transcode wmv->mp4 fails with latest version References: Message-ID: Jon Drukman cluttered.com> writes: > I am attempting to upgrade an older ffmpeg system I have to > the latest and greatest. However, I am unable to get > certain files to transcode with the latest version. > > test file: http://tmeast.s3.amazonaws.com/demo/paristest.wmv I suspect this is ticket #1167, consider adding yourself to CC: https://ffmpeg.org/trac/ffmpeg/ticket/1167 Minimal command line is: ffmpeg -i paristest.wmv -vn out.avi Carl Eugen From rickcorteza at gmail.com Thu Apr 5 03:29:09 2012 From: rickcorteza at gmail.com (Rick C.) Date: Thu, 5 Apr 2012 09:29:09 +0800 Subject: [FFmpeg-user] aac encoding coming from .mkv In-Reply-To: References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> Message-ID: <7696548B-85DC-4348-9833-EA821B4EE0B2@gmail.com> On Apr 4, 2012, at 3:40 PM, Carl Eugen Hoyos wrote: > Rick C. gmail.com> writes: > >> If I want to use -acodec aac -strict experimental -ab192k >> coming from .mkv containing 6 channel dts/ac-3 >> audio it seems to create a variable bit rate with low quality. > > "experimental" should give you the answer, but since it worked > here when I tested last time, please provide the command line > you used together with the complete, uncut console output. > > Carl Eugen > Thanks Carl yes I'll put together the specifics and get back to you... From de.techno at gmail.com Thu Apr 5 03:55:39 2012 From: de.techno at gmail.com (dE .) Date: Thu, 05 Apr 2012 07:25:39 +0530 Subject: [FFmpeg-user] Mapping multiple audio streams In-Reply-To: References: <44957.7503059574$1333369505@news.gmane.org> Message-ID: <4F7CFB9B.3040004@gmail.com> On 04/02/12 19:02, Carl Eugen Hoyos wrote: > Matthew Salisbury autonomy.com> writes: > >> Suppose I have an input with n audio streams. If I want to >> generate a separate output file for each stream is there a >> way of doing this via a single command? > I wonder how such a command line would look like... > >> Bearing in mind the number of audio streams in the input is >> unknown. Would I need to interrogate the input first and >> determine how many streams it contains? > Yes, you need to specify the mapping and the file name for > all output files on the command line. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user All this's possible via shell scripting. From rickcorteza at gmail.com Thu Apr 5 04:34:35 2012 From: rickcorteza at gmail.com (Rick C.) Date: Thu, 5 Apr 2012 10:34:35 +0800 Subject: [FFmpeg-user] aac encoding coming from .mkv In-Reply-To: References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> Message-ID: <0CF38950-5CD4-4DE6-939C-9CBFB4E9D775@gmail.com> On Apr 4, 2012, at 3:40 PM, Carl Eugen Hoyos wrote: > Rick C. gmail.com> writes: > >> If I want to use -acodec aac -strict experimental -ab192k >> coming from .mkv containing 6 channel dts/ac-3 >> audio it seems to create a variable bit rate with low quality. > > "experimental" should give you the answer, but since it worked > here when I tested last time, please provide the command line > you used together with the complete, uncut console output. > > Carl Eugen > Here I just ran a sample converting both audio streams: Last login: Thu Apr 5 10:21:14 on ttys004 mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Movies/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv -acodec aac -strict experimental -ab 192k -map 0:v:0 -map 0:a -t 120 /Users/mahalko/Desktop/test.mp4 ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, matroska,webm, from '/Users/mahalko/Movies/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv': Duration: 01:26:32.03, start: 0.000000, bitrate: 11481 kb/s Chapter #0.0: start 0.000000, end 213.547000 Metadata: title : 00:00:00.000 Chapter #0.1: start 213.547000, end 524.274000 Metadata: title : 00:03:33.547 Chapter #0.2: start 524.274000, end 938.938000 Metadata: title : 00:08:44.274 Chapter #0.3: start 938.938000, end 1368.158000 Metadata: title : 00:15:38.938 Chapter #0.4: start 1368.158000, end 1908.323000 Metadata: title : 00:22:48.158 Chapter #0.5: start 1908.323000, end 2194.401000 Metadata: title : 00:31:48.323 Chapter #0.6: start 2194.401000, end 2828.159000 Metadata: title : 00:36:34.401 Chapter #0.7: start 2828.159000, end 3360.315000 Metadata: title : 00:47:08.159 Chapter #0.8: start 3360.315000, end 3459.581000 Metadata: title : 00:56:00.315 Chapter #0.9: start 3459.581000, end 3865.111000 Metadata: title : 00:57:39.581 Chapter #0.10: start 3865.111000, end 4228.850000 Metadata: title : 01:04:25.111 Chapter #0.11: start 4228.850000, end 4473.469000 Metadata: title : 01:10:28.850 Chapter #0.12: start 4473.469000, end 4586.582000 Metadata: title : 01:14:33.469 Chapter #0.13: start 4586.582000, end 5192.032000 Metadata: title : 01:16:26.582 Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default) Metadata: title : DTS Stream #0:2: Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s Metadata: title : AC3 Stream #0:3(eng): Subtitle: text (default) Metadata: title : English Stream #0:4(dut): Subtitle: text Metadata: title : Nederlands [buffer @ 0x1015197e0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt' Last message repeated 1 times [libx264 @ 0x101847a00] using SAR=1/1 [libx264 @ 0x101847a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 0x101847a00] profile High, level 4.0 [libx264 @ 0x101847a00] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/Users/mahalko/Desktop/test.mp4': Metadata: encoder : Lavf53.32.100 Chapter #0.0: start 0.000000, end 120.000000 Metadata: title : 00:00:00.000 Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc (default) Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), flt, 192 kb/s (default) Metadata: title : DTS Stream #0:2: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), flt, 192 kb/s Metadata: title : AC3 Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (dca -> aac) Stream #0:2 -> #0:2 (ac3 -> aac) Press [q] to stop, [?] for help frame= 2878 fps= 19 q=-1.0 Lsize= 79879kB time=00:01:59.95 bitrate=5455.2kbits/s video:76623kB audio:3129kB global headers:0kB muxing overhead 0.159208% [libx264 @ 0x101847a00] frame I:129 Avg QP:21.15 size:112341 [libx264 @ 0x101847a00] frame P:1639 Avg QP:23.78 size: 32999 [libx264 @ 0x101847a00] frame B:1110 Avg QP:27.23 size: 8905 [libx264 @ 0x101847a00] consecutive B-frames: 38.4% 29.5% 2.7% 29.3% [libx264 @ 0x101847a00] mb I I16..4: 23.4% 71.9% 4.6% [libx264 @ 0x101847a00] mb P I16..4: 2.5% 13.5% 0.8% P16..4: 29.1% 8.1% 2.8% 0.0% 0.0% skip:43.2% [libx264 @ 0x101847a00] mb B I16..4: 0.1% 1.1% 0.0% B16..8: 16.3% 3.4% 0.5% direct: 1.7% skip:76.8% L0:49.1% L1:46.7% BI: 4.2% [libx264 @ 0x101847a00] 8x8 transform intra:78.2% inter:83.9% [libx264 @ 0x101847a00] coded y,uvDC,uvAC intra: 70.8% 62.8% 26.7% inter: 17.1% 12.5% 0.1% [libx264 @ 0x101847a00] i16 v,h,dc,p: 79% 8% 5% 8% [libx264 @ 0x101847a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 13% 20% 7% 10% 9% 9% 8% 9% [libx264 @ 0x101847a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 12% 8% 12% 10% 9% 7% 7% [libx264 @ 0x101847a00] i8c dc,h,v,p: 62% 16% 18% 5% [libx264 @ 0x101847a00] Weighted P-Frames: Y:10.0% UV:7.4% [libx264 @ 0x101847a00] ref P L0: 55.9% 13.5% 19.1% 11.2% 0.3% [libx264 @ 0x101847a00] ref B L0: 71.5% 27.1% 1.4% [libx264 @ 0x101847a00] ref B L1: 97.8% 2.2% [libx264 @ 0x101847a00] kb/s:5229.17 mahalkos-iMac:~ mahalko$ And the resulting info: Last login: Thu Apr 5 10:25:31 on ttys005 mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Desktop/test.mp4 ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mahalko/Desktop/test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf53.32.100 Duration: 00:02:00.03, start: 0.000000, bitrate: 5451 kb/s Chapter #0.0: start 0.000000, end 120.037000 Metadata: title : 00:00:00.000 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5229 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 107 kb/s Metadata: handler_name : SoundHandler Stream #0:2(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 106 kb/s Metadata: handler_name : At least one output file must be specified mahalkos-iMac:~ mahalko$ From babyboy-8686 at 163.com Thu Apr 5 03:35:54 2012 From: babyboy-8686 at 163.com (=?GBK?B?uqvI8MvJ?=) Date: Thu, 5 Apr 2012 09:35:54 +0800 (CST) Subject: [FFmpeg-user] questions of -vf yadif Message-ID: <62b6e188.3960.1368024c169.Coremail.babyboy-8686@163.com> Hi,all! When I put my usual frame-rate video transcoding into it is suitable in computer play FLV format, the results appeared jagged. I can use the option -deinterlace to eliminate the jagged,But this option is deprecated since the deinterlacing is very low quality,and the documentation suggests me use the yadif filter with -filter:v yadif instand . I tried all the parameters combination of -vf yadif,but i did not get a satisfactory results ? How to use the option -vf yadif? | | | -------------- next part -------------- A non-text attachment was scrubbed... Name: ??.vcf Type: text/x-vcard Size: 323 bytes Desc: not available URL: From salmjuh at hotmail.com Wed Apr 4 12:27:00 2012 From: salmjuh at hotmail.com (juha s.) Date: Wed, 4 Apr 2012 10:27:00 +0000 Subject: [FFmpeg-user] FW: Recording RTSP stream / av_interleaved_write_frame(): Invalid argument In-Reply-To: References: , , Message-ID: Hi I capture RTSPstream but get some files broken as below I have copy-paste logs here and send it to the developers. But now I'm thinking, that do I have some option wrong and should I change command which I use for recording: ffmpeg -i rtsp://192.168.12.23:8554 -aspect 16:9 -copyts -vcodec libx264 -preset fast -b:v 900k -y /videos/Lives/18928653.mp4 Any ideas ? BR, jiiii From: salmjuh at hotmail.com To: ffmpeg-devel at ffmpeg.org Subject: FW: Recording RTSP stream / av_interleaved_write_frame(): Invalid argument Date: Wed, 4 Apr 2012 10:24:10 +0000 Hi I updated to new version, but still this problem occurs time to time. Hope some one find these log of invalid files useful for solving the problem. Here is one invalid files log: root at CVod1:~# cat /DVB/Log/18984340.log ffmpeg version N-34954-ga4e359a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 4 2012 10:03:00 with gcc 4.6.1 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --en able-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [rtsp @ 0x28553e0] SDP: v=0 o=1333368378841000 1 IN IP4 10.71.31.231 s=-- i=-- Media t=0 0 a=tool:Digital Rapids Corp Streaming2005.05.26 a=type:broadcast a=control:* a=source-filter: incl IN IP4 * 10.71.31.231 a=rtcp:unicast reflection a=range:npt=0- a=x-qt-text-nam:-- a=x-qt-text-inf:-- Media m=audio 0 RTP/AVP 96 c=IN IP4 0.0.0.0 a=rtpmap:96 MPEG4-GENERIC/90000 a=fmtp:96 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;bitrate=2;config=1390 a=control:trackID=1 m=video 0 RTP/AVP 97 c=IN IP4 0.0.0.0 a=rtpmap:97 H264/90000 a=fmtp:97 packetization-mode=1;profile-level-id=4D4020;sprop-parameter-sets=Z01AIJZWBQF/ywgAAAMACAAAAwGUIA==,aO8GDMg= a=control:trackID=2 [rtsp @ 0x28553e0] audio codec set to: aac [rtsp @ 0x28553e0] audio samplerate set to: 90000 [rtsp @ 0x28553e0] audio channels set to: 1 [rtsp @ 0x28553e0] video codec set to: h264 [NULL @ 0x2864040] RTP Packetization Mode: 1 [NULL @ 0x2864040] RTP Profile IDC: 4d Profile IOP: 40 Level: 20 [NULL @ 0x2864040] Extradata set to 0x2864600 (size: 35)!hello state=0 [h264 @ 0x2864040] Missing reference picture [h264 @ 0x2864040] decode_slice_header error [h264 @ 0x2864040] concealing 920 DC, 920 AC, 920 MV errors [h264 @ 0x2864040] Current profile doesn't provide more RBSP data in PPS, skipping Last message repeated 2 times [rtsp @ 0x28553e0] All info found [rtsp @ 0x28553e0] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://10.71.31.231:8555': Metadata: title : -- comment : -- Media Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0, 20, 1/90000: Audio: aac, 44100 Hz, stereo, s16 Stream #0:1, 22, 1/90000: Video: h264 (Main), yuv420p, 640x360, 1/50, 25 fps, 25 tbr, 90k tbn, 50 tbc [buffer @ 0x28b5b20] w:640 h:360 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:flags=2 [libx264 @ 0x28ad7e0] using mv_range_thread = 24 [libx264 @ 0x28ad7e0] using SAR=1/1 [libx264 @ 0x28ad7e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x28ad7e0] profile High, level 3.0 [libx264 @ 0x28ad7e0] 264 - core 122 r2184 5c85e0a - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblo ck=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp _offset=-2 threads=24 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpst ep=4 ip_ratio=1.40 aq=1:1.00 [h264 @ 0x2864040] detected 16 logical cores Output #0, mp4, to '/DVB/Videot/--/18984340.mp4': Metadata: title : -- comment : -- Media encoder : Lavf54.3.100 Stream #0:0, 0, 1/25: Video: h264 (![0][0][0] / 0x0021), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/25, q=-1--1, 900 kb/s, 25 tbn, 25 tbc Stream #0:1, 0, 1/44100: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0:1 -> #0:0 (h264 -> libx264) Stream #0:0 -> #0:1 (aac -> libfaac) Press [q] to stop, [?] for help [h264 @ 0x486b880] Missing reference picture [h264 @ 0x486b880] decode_slice_header error [h264 @ 0x486b880] concealing 920 DC, 920 AC, 920 MV errors [h264 @ 0x4c6cec0] Increasing reorder buffer to 1 [h264 @ 0x4c6cec0] no picture *** 1 dup! [libx264 @ 0x28ad7e0] using mv_range_thread = 24 [h264 @ 0x2864040] Current profile doesn't provide more RBSP data in PPS, skipping Current profile doesn't provide more RBSP data in PPS, skippingate= 0.0kbits/s dup=1 drop=0 [h264 @ 0x2864040] Current profile doesn't provide more RBSP data in PPS, skipping Current profile doesn't provide more RBSP data in PPS, skippingate= 0.0kbits/s dup=1 drop=0 [mp4 @ 0x28ad2a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 103424 >= 101444 av_interleaved_write_frame(): Invalid argument root at CVod1:~# From: salmjuh at hotmail.com To: ffmpeg-devel at ffmpeg.org Subject: Recording RTSP stream / av_interleaved_write_frame(): Invalid argument Date: Thu, 29 Mar 2012 09:57:50 +0000 Hi I have captured RTSP stream and everything is worked quit nice. Now I have upraged latest version and about 75 % of captured recoding are failed because "moov atom not found" and "av_interleaved_write_frame(): Invalid argument". So is there somethin broken or ?m'I doing something wrong ? Im using this line for recording: ffmpeg -i rtsp://192.168.12.23:8554 -aspect 16:9 -copyts -vcodec libx264 -preset fast -b:v 900k -y /videos/Lives/18928653.mp4 Any help would be greatly appriciated ! --------- Here is debug information about one file that is broken. Please, can somebody help me with this one ? root at CVod1:/DVB# ffmpeg -i /videos/Lives/18928653.mp4 ffmpeg version N-34813-g96d0494 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 28 2012 08:37:13 with gcc 4.6.1 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.100 / 2. 66.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x30aa3e0] moov atom not found /videos/Lives/18928653.mp4: Invalid data found when processing input root at CVod1:/DVB# root at CVod1:/DVB# cat /DVB/Log/18928653.Lives ffmpeg version N-34813-g96d0494 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 28 2012 08:37:13 with gcc 4.6.1 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.100 / 2. 66.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [rtsp @ 0x27b13e0] SDP: v=0 o=1332932278761000 1 IN IP4 10.71.31.232 s=Lives i=--- t=0 0 a=tool:--- Streaming a=type:broadcast a=control:* a=source-filter: incl IN IP4 * 10.71.31.232 a=rtcp:unicast reflection a=range:npt=0- a=x-qt-text-nam:Lives a=x-qt-text-inf:--- m=audio 0 RTP/AVP 96 c=IN IP4 0.0.0.0 a=rtpmap:96 MPEG4-GENERIC/90000 a=fmtp:96 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;bitrate=2;config=1390 a=control:trackID=1 m=video 0 RTP/AVP 97 c=IN IP4 0.0.0.0 a=rtpmap:97 H264/90000 a=fmtp:97 packetization-mode=1;profile-level-id=4D4020;sprop-parameter-sets=Z01AIJZWBQF/y/+AAYACCAAAAwAIAAADAZQg,aO8GDMg= a=control:trackID=2 [rtsp @ 0x27b13e0] audio codec set to: aac [rtsp @ 0x27b13e0] audio samplerate set to: 90000 [rtsp @ 0x27b13e0] audio channels set to: 1 [rtsp @ 0x27b13e0] video codec set to: h264 [NULL @ 0x27bffe0] RTP Packetization Mode: 1 [NULL @ 0x27bffe0] RTP Profile IDC: 4d Profile IOP: 40 Level: 20 [NULL @ 0x27bffe0] Extradata set to 0x27c05a0 (size: 40)!hello state=0 [h264 @ 0x27bffe0] Missing reference picture [h264 @ 0x27bffe0] decode_slice_header error [h264 @ 0x27bffe0] concealing 920 DC, 920 AC, 920 MV errors [h264 @ 0x27bffe0] Current profile doesn't provide more RBSP data in PPS, skipping Last message repeated 1 times [rtsp @ 0x27b13e0] All info found [rtsp @ 0x27b13e0] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://10.71.31.232:8554': Metadata: title : Lives comment : --- Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0, 19, 1/90000: Audio: aac, 44100 Hz, stereo, s16 Stream #0:1, 22, 1/90000: Video: h264 (Main), yuv420p, 640x360 [SAR 3:4 DAR 4:3], 1/50, 25 fps, 25 tbr, 90k tbn, 50 tbc [buffer @ 0x280ad60] w:640 h:360 pixfmt:yuv420p tb:1/1000000 sar:3/4 sws_param: [libx264 @ 0x2809780] using mv_range_thread = 24 [libx264 @ 0x2809780] using SAR=1/1 [libx264 @ 0x2809780] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x2809780] profile High, level 3.0 [libx264 @ 0x2809780] 264 - core 122 r2184 5c85e0a - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=900 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [h264 @ 0x27bffe0] detected 16 logical cores Output #0, mp4, to '/videos/Lives/18928653.mp4': Metadata: title : Lives comment : --- encoder : Lavf54.3.100 Stream #0:0, 0, 1/25: Video: h264 (![0][0][0] / 0x0021), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/25, q=-1--1, 900 kb/s, 25 tbn, 25 tbc Stream #0:1, 0, 1/44100: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0:1 -> #0:0 (h264 -> libx264) Stream #0:0 -> #0:1 (aac -> libfaac) Press [q] to stop, [?] for help [h264 @ 0x401af80] Missing reference picture [h264 @ 0x401af80] decode_slice_header error [h264 @ 0x401af80] concealing 920 DC, 920 AC, 920 MV errors [h264 @ 0x441c640] Increasing reorder buffer to 1 [h264 @ 0x441c640] no picture *** 1 dup! [libx264 @ 0x2809780] using mv_range_thread = 24 [h264 @ 0x27bffe0] Current profile doesn't provide more RBSP data in PPS, skipping Current profile doesn't provide more RBSP data in PPS, skippingate= 0.0kbits/s dup=1 drop=0 Current profile doesn't provide more RBSP data in PPS, skippingate= 0.0kbits/s dup=1 drop=0 [libx264 @ 0x2809780] scene cut at 10 Icost:192175 Pcost:192175 ratio:0.0000 bias:0.0400 gop:10 (imb:798 pmb:0) [h264 @ 0x27bffe0] Current profile doesn't provide more RBSP data in PPS, skipping Current profile doesn't provide more RBSP data in PPS, skippingate= 0.0kbits/s dup=1 drop=0 [libx264 @ 0x2809780] frame= 0 QP=10.00 NAL=3 Slice:I Poc:0 I:920 P:0 SKIP:0 size=87 bytes [libx264 @ 0x2809780] frame= 1 QP=29.00 NAL=2 Slice:P Poc:8 I:0 P:0 SKIP:920 size=19 bytes [libx264 @ 0x2809780] frame= 2 QP=29.00 NAL=2 Slice:B Poc:4 I:0 P:0 SKIP:920 size=17 bytes [libx264 @ 0x2809780] frame= 3 QP=29.00 NAL=0 Slice:B Poc:2 I:0 P:0 SKIP:920 size=17 bytes frame= 4 QP=29.00 NAL=0 Slice:B Poc:6 I:0 P:0 SKIP:920 size=16 bytes/s dup=1 drop=0 [libx264 @ 0x2809780] frame= 5 QP=29.00 NAL=2 Slice:P Poc:16 I:0 P:0 SKIP:920 size=20 bytes [libx264 @ 0x2809780] frame= 6 QP=29.00 NAL=2 Slice:B Poc:12 I:0 P:0 SKIP:920 size=18 bytes [libx264 @ 0x2809780] frame= 7 QP=29.00 NAL=0 Slice:B Poc:10 I:0 P:0 SKIP:920 size=17 bytes [libx264 @ 0x2809780] frame= 8 QP=29.00 NAL=0 Slice:B Poc:14 I:0 P:0 SKIP:920 size=16 bytes [libx264 @ 0x2809780] frame= 9 QP=29.00 NAL=2 Slice:P Poc:18 I:0 P:0 SKIP:920 size=20 bytes [libx264 @ 0x2809780] frame= 10 QP=19.54 NAL=2 Slice:I Poc:20 I:920 P:0 SKIP:0 size=11958 bytes [libx264 @ 0x2809780] frame= 11 QP=22.51 NAL=2 Slice:P Poc:28 I:17 P:651 SKIP:252 size=2099 bytes [libx264 @ 0x2809780] frame= 12 QP=24.66 NAL=2 Slice:B Poc:24 I:3 P:414 SKIP:503 size=690 bytes [h264 @ 0x27bffe0] Current profile doesn't provide more RBSP data in PPS, skipping [libx264 @ 0x2809780] frame= 13 QP=26.27 NAL=0 Slice:B Poc:22 I:1 P:280 SKIP:639 size=397 bytes [libx264 @ 0x2809780] frame= 14 QP=25.29 NAL=0 Slice:B Poc:26 I:2 P:359 SKIP:559 size=499 bytes [libx264 @ 0x2809780] frame= 15 QP=22.92 NAL=2 Slice:P Poc:36 I:16 P:622 SKIP:282 size=2078 bytes frame= 16 QP=24.69 NAL=2 Slice:B Poc:32 I:14 P:452 SKIP:454 size=863 bytess dup=1 drop=0 [libx264 @ 0x2809780] frame= 17 QP=25.94 NAL=0 Slice:B Poc:30 I:1 P:232 SKIP:687 size=393 bytes [libx264 @ 0x2809780] frame= 18 QP=25.30 NAL=0 Slice:B Poc:34 I:1 P:218 SKIP:701 size=324 bytes [libx264 @ 0x2809780] frame= 19 QP=23.44 NAL=2 Slice:P Poc:44 I:34 P:683 SKIP:203 size=2630 bytes [libx264 @ 0x2809780] frame= 20 QP=24.34 NAL=2 Slice:B Poc:40 I:10 P:379 SKIP:531 size=753 bytes [libx264 @ 0x2809780] frame= 21 QP=26.11 NAL=0 Slice:B Poc:38 I:15 P:356 SKIP:549 size=584 bytes [libx264 @ 0x2809780] frame= 22 QP=25.70 NAL=0 Slice:B Poc:42 I:2 P:192 SKIP:726 size=304 bytes [libx264 @ 0x2809780] frame= 23 QP=22.63 NAL=2 Slice:P Poc:52 I:52 P:721 SKIP:147 size=3692 bytes [libx264 @ 0x2809780] frame= 24 QP=24.73 NAL=2 Slice:B Poc:48 I:10 P:472 SKIP:435 size=1066 bytes [libx264 @ 0x2809780] frame= 25 QP=26.20 NAL=0 Slice:B Poc:46 I:14 P:391 SKIP:515 size=704 bytes [h264 @ 0x27bffe0] Current profile doesn't provide more RBSP data in PPS, skipping [libx264 @ 0x2809780] frame= 26 QP=26.35 NAL=0 Slice:B Poc:50 I:6 P:200 SKIP:713 size=389 bytes [libx264 @ 0x2809780] frame= 27 QP=18.93 NAL=2 Slice:P Poc:60 I:87 P:785 SKIP:48 size=7833 bytes [libx264 @ 0x2809780] frame= 28 QP=22.92 NAL=2 Slice:B Poc:56 I:13 P:541 SKIP:362 size=1405 bytes [libx264 @ 0x2809780] frame= 29 QP=24.92 NAL=0 Slice:B Poc:54 I:2 P:321 SKIP:597 size=627 bytes [libx264 @ 0x2809780] frame= 30 QP=23.25 NAL=0 Slice:B Poc:58 I:9 P:500 SKIP:409 size=1057 bytes frame= 31 QP=11.36 NAL=2 Slice:P Poc:68 I:223 P:697 SKIP:0 size=25242 bytesdup=1 drop=0 [libx264 @ 0x2809780] frame= 32 QP=17.26 NAL=2 Slice:B Poc:64 I:23 P:778 SKIP:93 size=4188 bytes [libx264 @ 0x2809780] frame= 33 QP=20.60 NAL=0 Slice:B Poc:62 I:6 P:591 SKIP:320 size=1399 bytes [libx264 @ 0x2809780] frame= 34 QP=16.77 NAL=0 Slice:B Poc:66 I:5 P:635 SKIP:262 size=2147 bytes [libx264 @ 0x2809780] scene cut at 61 Icost:143962 Pcost:141511 ratio:0.0170 bias:0.1480 gop:61 (imb:769 pmb:29) [libx264 @ 0x2809780] frame= 35 QP=9.76 NAL=2 Slice:P Poc:76 I:651 P:269 SKIP:0 size=39634 bytes [libx264 @ 0x2809780] frame= 36 QP=13.43 NAL=2 Slice:B Poc:72 I:77 P:739 SKIP:40 size=12781 bytes [libx264 @ 0x2809780] frame= 37 QP=14.42 NAL=0 Slice:B Poc:70 I:50 P:771 SKIP:63 size=6841 bytes [libx264 @ 0x2809780] frame= 38 QP=13.95 NAL=0 Slice:B Poc:74 I:6 P:698 SKIP:189 size=3218 bytes [h264 @ 0x27bffe0] Current profile doesn't provide more RBSP data in PPS, skipping [libx264 @ 0x2809780] frame= 39 QP=8.53 NAL=2 Slice:P Poc:84 I:197 P:723 SKIP:0 size=29804 bytes [mp4 @ 0x2809240] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 199680 >= 199212 av_interleaved_write_frame(): Invalid argument root at CVod1:/DVB# From andrey.krieger.utkin at gmail.com Thu Apr 5 11:00:18 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Thu, 5 Apr 2012 12:00:18 +0300 Subject: [FFmpeg-user] Cross compiling FFmpeg libraries for ios 5.1 (armv6/armv7/i386) In-Reply-To: <1333564371.56931.YahooMailNeo@web113516.mail.gq1.yahoo.com> References: <1333564371.56931.YahooMailNeo@web113516.mail.gq1.yahoo.com> Message-ID: 2012/4/4 Carlos Duran : > Hi, > > Does anybody have experience cross compiling fmpeg for iOS5.1?, Yes. Look at this thread http://ffmpeg.org/pipermail/libav-user/2012-March/001621.html I have succeed building it yesterday following the principle described there. -- Andrey Utkin From jeanpaul at i-serve.nl Thu Apr 5 11:31:41 2012 From: jeanpaul at i-serve.nl (Jean-Paul van de Plasse) Date: Thu, 5 Apr 2012 11:31:41 +0200 Subject: [FFmpeg-user] Problem with mpeg copy and start position Message-ID: <9E3E07B1-B749-4B8C-9725-F73F8D084329@i-serve.nl> Hello, Recently updated my ffmpeg install and now I have a problem, before this worked correctly. I trim video's for later processing with other software, so i use -ss and -t to give the startpoint and duration. But the resulting file seems to mis a correct header. ffmpeg -i input.mpg ffmpeg version N-39538-gfa1f92a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 11:09:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mpeg, from 'input.mpg': Duration: 00:03:14.47, start: 0.164600, bitrate: 15634 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s At least one output file must be specified ffmpeg -i input.mpg -ss 1 -acodec copy -vcodec copy -t 182 output-with-ss.mpg ffmpeg version N-39538-gfa1f92a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 11:09:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mpeg, from 'input.mpg': Duration: 00:03:14.47, start: 0.164600, bitrate: 15634 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s Output #0, mpeg, to 'output-with-ss.mpg': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 15000 kb/s, 25 fps, 90k tbn, 25 tbc Stream #0:1: Audio: mp2, 48000 Hz, stereo, 384 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 4546 fps= 73 q=-1.0 Lsize= 342798kB time=00:03:02.00 bitrate=15429.7kbits/s video:332959kB audio:8531kB global headers:0kB muxing overhead 0.383069% ffmpeg -i output-with-ss.mpg ffmpeg version N-39538-gfa1f92a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 11:09:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [mp3 @ 0xae389e0] Header missing Last message repeated 952 times [mpeg @ 0xae325c0] decoding for stream 0 failed [mpeg @ 0xae325c0] Could not find codec parameters (Audio: mp1, 0 channels, s16) Input #0, mpeg, from 'output-with-ss.mpg': Duration: 00:03:01.99, start: 1.008000, bitrate: 15430 kb/s Stream #0:0[0x1e0]: Audio: mp1, 0 channels, s16 Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s At least one output file must be specified ffmpeg -i input.mpg -acodec copy -vcodec copy -t 182 output-without-ss.mpg ffmpeg version N-39538-gfa1f92a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 11:09:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mpeg, from 'input.mpg': Duration: 00:03:14.47, start: 0.164600, bitrate: 15634 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s Output #0, mpeg, to 'output-without-ss.mpg': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 15000 kb/s, 25 fps, 90k tbn, 25 tbc Stream #0:1: Audio: mp2, 48000 Hz, stereo, 384 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 4551 fps= 75 q=-1.0 Lsize= 343140kB time=00:03:02.00 bitrate=15445.1kbits/s video:333297kB audio:8532kB global headers:0kB muxing overhead 0.383468% ffmpeg -i output-without-ss.mpg ffmpeg version N-39538-gfa1f92a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 11:09:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mpeg, from 'output-without-ss.mpg': Duration: 00:03:02.04, start: 1.000000, bitrate: 15441 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s At least one output file must be specified Maybe something changed in the syntax that I should change my command line, but any help is appreciated. Regards, Jean-Paul van de Plasse From pinakee at vvidiacom.com Thu Apr 5 15:41:30 2012 From: pinakee at vvidiacom.com (Biswas, Pinakee) Date: Thu, 5 Apr 2012 19:11:30 +0530 Subject: [FFmpeg-user] Linking Error Message-ID: <01af01cd1331$d1bb2300$75316900$@vvidiacom.com> Hi, I am trying to use ffmpeg APIs and libraries in my application, and I am getting following linking error: The OS is CentOS 5.7. The application is written in C++. Compiler is g++. Ffmpeg version is 0.10. MediaServerMain.cpp:(.text+0x214): undefined reference to `av_get_random_seed()' MediaServerConfig.cpp:(.text+0x161): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0x184): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0xc84): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0xd18): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0xda6): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0x23c7): undefined reference to `av_parse_video_size(int*, int*, char const*)' MediaServerConfig.cpp:(.text+0x2414): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0x245a): undefined reference to `av_parse_video_rate(AVRational*, char const*)' MediaServerConfig.cpp:(.text+0x24b4): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0x250b): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0x2542): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0x2579): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServerConfig.cpp:(.text+0x25bf): undefined reference to `av_strcasecmp(char const*, char const*)' MediaServer.cpp:(.text+0x1f8): undefined reference to `av_read_packet(AVFormatContext*, AVPacket*)' MediaServer.cpp:(.text+0x25d): undefined reference to `av_freep(void*)' MediaServer.cpp:(.text+0x2cc): undefined reference to `av_malloc(unsigned long)' MediaServer.cpp:(.text+0x32f): undefined reference to `av_free_packet(AVPacket*)' I have linked the libraries as follows: -lavutil -lavformat -lavcodec -lz -lavutil -lm Could you please help me in resolving the above errors? Looking forward to your response and support. Thanks, Pinakee Biswas Description: Description: vvidialogo.jpg the next experience! yGSM Mobile (Voice & Data): +91-982-016-7979 (Tel: +91-22-26733737 I (Fax:+91-22-26732828 7E- Mail: pinakee at vvidiacom.com I 8Web: http://www.vvidiacom.com P Please don't print this e-mail unless you really need to, this will preserve trees on planet earth. ----------------------------Disclaimer-------------------------------------- ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- --------- The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Please note that e-mails are susceptible to change and malwares. VVIDIA COMMUNICATIONS PVT LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ---------------------------------------------------------------------------- ---------------------------------------------Disclaimer--------------------- ---------------------------------------------------------------------------- --------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 1901 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 168 bytes Desc: not available URL: From kk_konrad at gmx.at Thu Apr 5 17:30:24 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Thu, 5 Apr 2012 17:30:24 +0200 Subject: [FFmpeg-user] concatenating mp4 (non-h464) using mpegts Message-ID: <20120405153024.GA4926localhost> Hello, tried to concatenate several mp4 files w/o reencoding (they all come from kdenlive using the same export settings) using mpegts as intermediate format but I failed - see below. (in the meanytime I worked around using mkvmerge but I am looking for something pipe-able) The result from below command does not play at all in mplayer or ffplay (ffplay output at end of email) what options am I missing? Konrad PS: for H264 content in mp4 container the procedure works fine when using: ffmpeg -i tag2-1.mp4 -c copy -bsf h264_mp4toannexb zz.ts and the concat: protocol: ffmpeg -i concat:tag1-2.ts\|tag2-1.ts -c copy -absf aac_adtstoasc out.mp4 x264 gives much better quality but my WD TV live box does not like it so I have to use mpeg4 encoder for the moment... If somebody knows x264 settings (1080p50) which the WD can play properly, pls let me know. ============================================================================================================ kdenlive/20120405/bin/ffmpeg -i tag2-1.mp4 -c copy -f mpegts zz.ts ffmpeg version N-35138-gfa1f92a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 14:05:40 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2) configuration: --prefix=/home/ki/kdenlive/20120405 --disable-doc --disable-network --disable-ffserver --enable-gpl --enable-version3 --enable-shared --enable-debug --disable-stripping --enable-pthreads --enable-runtime-cpudetect --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libvpx libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tag2-1.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf54.2.100 Duration: 00:07:37.45, start: 0.000000, bitrate: 25132 kb/s Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 24810 kb/s, 50 fps, 50 tbr, 50 tbn, 50 tbc Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 319 kb/s Metadata: handler_name : [mpegts @ 0x1aec400] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'zz.ts': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf54.3.100 Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24810 kb/s, 50 fps, 90k tbn, 50 tbc Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, 319 kb/s Metadata: handler_name : Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 9321 fps=1220 q=-1.0 Lsize= 622889kB time=00:03:06.40 bitrate=27373.6kbits/s video:569048kB audio:7282kB global headers:0kB muxing overhead 8.078518% ======================================================================================================= kdenlive/20120405/bin/ffprobe zz.ts ffprobe version N-35138-gfa1f92a Copyright (c) 2007-2012 the FFmpeg developers built on Apr 5 2012 14:05:40 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2) configuration: --prefix=/home/ki/kdenlive/20120405 --disable-doc --disable-network --disable-ffserver --enable-gpl --enable-version3 --enable-shared --enable-debug --disable-stripping --enable-pthreads --enable-runtime-cpudetect --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libvpx libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [mpeg4 @ 0x1ec7600] hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x1ec7600] my guess is 6 bits ;) [mpeg4 @ 0x1ec7600] hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x1ec7600] my guess is 6 bits ;) [mpeg4 @ 0x1ec7600] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] Error, header damaged or not MPEG4 header (f_code=0) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) ..... ..... [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpeg4 @ 0x1ec7600] [IMGUTILS @ 0x7fff155390d0] Picture size 0x0 is invalid [mpeg4 @ 0x1ec7600] get_buffer() failed (-1 0 (nil)) [mpegts @ 0x1ec3520] decoding for stream 0 failed [mpegts @ 0x1ec3520] Could not find codec parameters (Video: mpeg4 ([16][0][0][0] / 0x0010), yuv420p) Input #0, mpegts, from 'zz.ts': Duration: 00:03:06.40, start: 1.400000, bitrate: 27375 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg4 ([16][0][0][0] / 0x0010), yuv420p, 50 tbr, 90k tbn, 90k tbc Stream #0:1[0x101](und): Audio: mp3 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s16, 320 kb/s From ianm at brick.net Thu Apr 5 17:36:26 2012 From: ianm at brick.net (ianm at brick.net) Date: Thu, 05 Apr 2012 10:36:26 -0500 Subject: [FFmpeg-user] Trouble Concatenating Video: "Application provided invalid, non monotonically increasing dts" Message-ID: I would like to join video clips. I'm using the latest Zeranoe 64-bit build on Windows 7. I was able to hammer something out for successive .MTS clips (H.264 video, AC-3 audio, in an MPEG-TS container) generated by an AVCHD camera, like so: 1) Transcode all clips to an identifical, approved format and identical codecs, with the same display size and whatnot: MPEG-1 2) Binary concatenation of all of the files into one file, concatenated.mpg 3) Reel out the streams in concatenated.mpg into a new container Having read the FAQ (http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f), I picked MPEG-1 for transcoding (Thanks, Carl, for letting me know that the container MPEG-1 System Format is the same as the container format MPEG-2 Program Stream, I was very confused) using the following command: 1) ffmpeg -i clip1.mts -y -fmpeg -codec:v mpeg1video -b:v 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k -r 20 -s hd720 -aspect 16:9 -pix_fmt yuv420p -filter:v yadif -codec:a mp2 -b:a 256k -ar 32000 -ac 2 clip1.mpg These look great. Upon joining the resulting MPEG-1 files with: 2) copy /y /b clip1.mpg+clip2.mpg+clip3.mpg concatenated.mpg the file appears to play in Windows Media Player but the duration is too short (about twenty-seven minutes), only half as long as it needs to be (fifty-five minutes). Windows Explorer says the same, as does RealProducer 14. FFProbe gives a duration of only nine minutes and change, with an unrealistically high bandwidth. I decided to "smooth out" the files with: 3) ffmpeg -i concatenated.mpg -f mpeg -codec:v copy -codec:a copy -y fixed.mpg The resulting fixed.mpg gives the correct duration in Windows Media Player, ffprobe, RealProducer 14, and whatnot. The video processes as expected. Good so far! WHERE IT ALL GOES WRONG: If I try this process on wildly disparate clips from different sources, in different formats, etc. (such as wanting to add in a default copyright notice), upon the final step "ffmpeg -i concatenated.mpg -f mpeg -codec:v copy -codec:a copy -y fixed.mpg" I get ... ffmpeg version N-39267-g4082198 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 25 2012 20:30:15 with gcc 4.6.2 configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 65.102 / 2. 65.102 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [mpeg @ 000000000050F3D0] max_analyze_duration 5000000 reached at 5004000 Input #0, mpeg, from 'L:\data\pipeline\intermediate\concatenated.mpg': Duration: 00:00:10.02, start: 0.985278, bitrate: 8688 kb/s Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 4000 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc Stream #0:1[0x1c0]: Audio: mp2, 32000 Hz, 2 channels, s16, 256 kb/s Output #0, mpeg, to 'L:\data\pipeline\intermediate\fixed.mpg': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: mpeg1video, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 4000 kb/s, 23.98 fps, 90k tbn, 23.98 tbc Stream #0:1: Audio: mp2, 32000 Hz, 2 channels, 256 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [mpeg @ 00000000006AAA90] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 900720 >= 900720 av_interleaved_write_frame(): Invalid argument How do I get around this? I thought the three-step process was the way to go, but evidently there are timestamp issues. Thanks! From jsd at cluttered.com Thu Apr 5 18:22:57 2012 From: jsd at cluttered.com (Jon Drukman) Date: Thu, 5 Apr 2012 09:22:57 -0700 Subject: [FFmpeg-user] Transcode wmv->mp4 fails with latest version In-Reply-To: References: Message-ID: On Wed, Apr 4, 2012 at 3:08 PM, Carl Eugen Hoyos wrote: > Jon Drukman cluttered.com> writes: > > > I am attempting to upgrade an older ffmpeg system I have to > > the latest and greatest. However, I am unable to get > > certain files to transcode with the latest version. > > > > test file: http://tmeast.s3.amazonaws.com/demo/paristest.wmv > > I suspect this is ticket #1167, consider adding yourself to CC: > https://ffmpeg.org/trac/ffmpeg/ticket/1167 > > Minimal command line is: > ffmpeg -i paristest.wmv -vn out.avi > > Thanks for the pointer. Do you happen to know what revision introduced the regression? I would like to check out an earlier version of the source and build a binary from before that happened. -jsd- From beveryhappy99 at yahoo.com Thu Apr 5 18:36:37 2012 From: beveryhappy99 at yahoo.com (Carlos Duran) Date: Thu, 5 Apr 2012 09:36:37 -0700 (PDT) Subject: [FFmpeg-user] Cross compiling FFmpeg libraries for ios 5.1 (armv6/armv7/i386) In-Reply-To: References: <1333564371.56931.YahooMailNeo@web113516.mail.gq1.yahoo.com> Message-ID: <1333643797.56675.YahooMailNeo@web113509.mail.gq1.yahoo.com> Hi Andrey, I was able to create the libraries with the script, copied the armv7 folder to my project, but I can't? select anything under Target Dependencies, although all the 5 .a files show in the Link Binary with Libraries section in black. Were you able to add them to the Target Dependencies section and statically link? Thanks a lot. Carlos ________________________________ From: Andrey Utkin To: FFmpeg user questions and RTFMs Sent: Thursday, April 5, 2012 5:00 AM Subject: Re: [FFmpeg-user] Cross compiling FFmpeg libraries for ios 5.1 (armv6/armv7/i386) 2012/4/4 Carlos Duran : > Hi, > > Does anybody have experience cross compiling fmpeg for iOS5.1?, Yes. Look at this thread http://ffmpeg.org/pipermail/libav-user/2012-March/001621.html I have succeed building it yesterday following the principle described there. -- Andrey Utkin _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From andrey.krieger.utkin at gmail.com Thu Apr 5 18:49:03 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Thu, 5 Apr 2012 19:49:03 +0300 Subject: [FFmpeg-user] Cross compiling FFmpeg libraries for ios 5.1 (armv6/armv7/i386) In-Reply-To: <1333643797.56675.YahooMailNeo@web113509.mail.gq1.yahoo.com> References: <1333564371.56931.YahooMailNeo@web113516.mail.gq1.yahoo.com> <1333643797.56675.YahooMailNeo@web113509.mail.gq1.yahoo.com> Message-ID: 2012/4/5 Carlos Duran : > Hi Andrey, > > I was able to create the libraries with the script, copied the armv7 folder > to my project, but I can't? select anything under Target Dependencies, > although all the 5 .a files show in the Link Binary with Libraries section > in black. > > Were you able to add them to the Target Dependencies section and statically > link? I did the following. In project files tree view, highlight "Frameworks" folder. File -> Add files -> Choose .a files of ffmpeg. They have shown up in Frameworks section, and also in Link Binary with Libraries. That's all (not mentioning headers inclusion). -- Andrey Utkin From cehoyos at ag.or.at Thu Apr 5 19:23:16 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 5 Apr 2012 17:23:16 +0000 (UTC) Subject: [FFmpeg-user] Trouble Concatenating Video: "Application provided invalid, non monotonically increasing dts" References: Message-ID: brick.net> writes: > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Stream #0:1 -> #0:1 (copy) > Press [q] to stop, [?] for help > [mpeg @ 00000000006AAA90] Application provided invalid, > non monotonically increasing dts to muxer in stream 1: > 900720 >= 900720 > av_interleaved_write_frame(): Invalid argument > > How do I get around this? It is possible that this was fixed in the last two days, if not, please try to provide a short (!) sample or try reencoding audio (stream 1 in above snippet is audio afaict). Carl Eugen PS: Did you try the concat:// protocol? From cehoyos at ag.or.at Thu Apr 5 19:29:04 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 5 Apr 2012 17:29:04 +0000 (UTC) Subject: [FFmpeg-user] Transcode wmv->mp4 fails with latest version References: Message-ID: Jon Drukman cluttered.com> writes: > > I suspect this is ticket #1167, consider adding yourself to CC: > > https://ffmpeg.org/trac/ffmpeg/ticket/1167 > > > > Minimal command line is: > > ffmpeg -i paristest.wmv -vn out.avi > > Thanks for the pointer. Do you happen to know what revision > introduced the regression? The commit message of the relevant change is "update to AVCodec.encode2()" Carl Eugen From cehoyos at ag.or.at Thu Apr 5 19:27:41 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 5 Apr 2012 17:27:41 +0000 (UTC) Subject: [FFmpeg-user] questions of -vf yadif References: <62b6e188.3960.1368024c169.Coremail.babyboy-8686@163.com> Message-ID: ??? 163.com> writes: > I tried all the parameters combination of -vf yadif, > but i did not get a satisfactory results ? Please provide the (minimal) command line you tried together with complete, uncut console output. Carl Eugen From cehoyos at ag.or.at Thu Apr 5 19:26:24 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 5 Apr 2012 17:26:24 +0000 (UTC) Subject: [FFmpeg-user] concatenating mp4 (non-h464) using mpegts References: <4282.27044544673$1333639832@news.gmane.org> Message-ID: Konrad Karl gmx.at> writes: > tried to concatenate several mp4 files w/o reencoding (they all come > from kdenlive using the same export settings) using mpegts as > intermediate format but I failed - see below. Stream copying ASP into a transport stream is not supported, this is a very old feature request. (And yes, it is a bug imo that FFmpeg does not show an error message if you try something unsupported.) Carl Eugen From vladaman at gmail.com Thu Apr 5 20:38:46 2012 From: vladaman at gmail.com (Vladimir Vlach) Date: Thu, 5 Apr 2012 11:38:46 -0700 Subject: [FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream Message-ID: Hi, I am trying to use ffmpeg and segment input file into chunks for iPhone streaming. Unfortunately every possible command line option gives me error. ./ffmpeg -v 9 -loglevel 99 ?-re -i test.flv -an -vcodec libx264 -b:v 128k -vpre ipod320 -f segment -segment_format mpegts -segment_time 10 -segment_list test.m3u8 'test%05d.ts' reports this: Output file #0 does not contain any stream ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 01:38:03 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) configuration: --enable-librtmp --enable-libx264 --libdir='../x264/:/usr/local/lib:../rtmpdump-2.3' --enable-gpl --enable-pthreads --enable-libvpx --disable-ffplay --disable-ffserver --disable-shared --enable-debug This works fine: ./ffmpeg -v 9 -loglevel 99 -re -i test.flv -an -vcodec libx264 -b:v 128k -vpre ipod320 -f mpegts -y test.ts I am not sure if there is a bug in segmenter but looks like it's not working at all. Thanks, Vlad From herve.flores at free.fr Thu Apr 5 21:58:57 2012 From: herve.flores at free.fr (Herve Flores) Date: Thu, 5 Apr 2012 21:58:57 +0200 Subject: [FFmpeg-user] Note to document maintainer In-Reply-To: <4F706B72.2000804@crc.ca> References: <4F6E0715.2010604@att.net> <4F706B72.2000804@crc.ca> Message-ID: <18FBED84-EC0E-478A-800D-EF7DC0AB90CD@free.fr> Le 26 mars 2012 ? 15:13, Donald McLachlan a ?crit : > > > On 24/03/2012 1:40 PM, Steve M. Fabac, Jr. wrote: >> As a newbie I tried the following example: >> >> The following example shows how to use ffmpeg for creating >> a sequence of files ?img-001.jpeg?, ?img-002.jpeg?, ..., >> taking one image every second from the input video: >> >> ffmpeg -i in.avi -vsync 1 -r 1 -f image2 'img-%03d.jpeg' >> >> So what's the change/addition to create an image every two seconds? >> Every three seconds? The needed switch may be buried in >> the overall documentation. Having it in the "section 9.3 image 2" >> would save newbie's a lot of searching. >> >> Also, the single quotes above fail under Windows XP and the correct >> command is: ffmpeg -i in.avi -vsync 1 -r 1 -f image2 img-%03d.jpeg >> >> > > I have recently used -f image2 to extract a video to a series of pegs and it works just fine. > > In the example you provided, "-r 1" sets the output frame rate to be 1 frame per second. Did you try "-r 0.5" for one frame every 2 seconds? ?or "-r 1/2" ;-) bye Herv? From manuel.concorsi at gmail.com Thu Apr 5 11:17:51 2012 From: manuel.concorsi at gmail.com (MrAsdomar) Date: Thu, 5 Apr 2012 02:17:51 -0700 (PDT) Subject: [FFmpeg-user] How can I convert raw H264 file to the MOV or MP4 format Message-ID: <1333617471851-4534327.post@n4.nabble.com> I've got a file containing a dump of H.264 stream, unpacked from RTMP. I'm trying convert it to a playable format as MP4, but I get some error. I'm using the command fmpeg -f h264 -i raw_video_h264 -vcodec copy -f mp4 ffm_raw_video_h264_recode.mp4 What I'm doing wrong ? This is the complete error report ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 3 2012 20:20:04 with gcc 4.6.2 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [h264 @ 0039A460] missing picture in access unit with size 13116 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 15621 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7590 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4341 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6304 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8070 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7868 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8565 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7440 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8262 [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 15783 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 12691 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 13640 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 11052 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4600 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 10677 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9048 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6701 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6920 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8204 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8983 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7789 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7692 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8352 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8186 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7052 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7818 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6299 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6662 [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] missing picture in access unit with size 11031 [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8486 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5618 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] too many reference frames [h264 @ 0039A460] missing picture in access unit with size 8010 [h264 @ 0039A460] too many reference frames Last message repeated 1 times [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 11036 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7758 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7651 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8216 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7965 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8210 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5188 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9538 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6134 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9134 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8930 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8143 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7609 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 10195 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7245 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8260 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8660 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5613 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6808 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7578 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6522 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7978 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7429 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7829 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9396 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5536 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6569 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9452 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6380 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8246 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7299 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6167 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 10388 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6458 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6708 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5550 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8898 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4682 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4303 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7575 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5830 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7402 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5657 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4048 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5165 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4040 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5881 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5927 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7342 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9886 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 10545 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6182 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 11731 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 12330 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 12208 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 10196 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6523 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9216 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9297 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7059 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6324 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6312 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7409 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6317 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8154 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7070 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7079 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6341 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7959 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6704 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] missing picture in access unit with size 8280 [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6653 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] missing picture in access unit with size 7203 [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] insane cropping not completely supported, this could look slightly wrong ... (left: 13, top: 1) [h264 @ 0039A460] missing picture in access unit with size 7403 [h264 @ 0039A460] insane cropping not completely supported, this could look slightly wrong ... (left: 13, top: 1) [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7202 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6887 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8527 [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] missing picture in access unit with size 8756 [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8307 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7407 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8736 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7790 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8480 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6880 [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8738 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7299 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] missing picture in access unit with size 8354 [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7701 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8899 [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7967 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6941 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8331 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9893 [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8206 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7377 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8501 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7473 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8822 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7814 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9107 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] insane cropping not completely supported, this could look slightly wrong ... (left: 6, top: 1) [h264 @ 0039A460] illegal aspect ratio [h264 @ 0039A460] missing picture in access unit with size 9788 [h264 @ 0039A460] insane cropping not completely supported, this could look slightly wrong ... (left: 6, top: 1) [h264 @ 0039A460] illegal aspect ratio [h264 @ 0039A460] insane cropping not completely supported, this could look slightly wrong ... (left: 6, top: 1) [h264 @ 0039A460] illegal aspect ratio [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9389 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9822 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9128 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8400 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7637 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8585 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8691 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8115 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8354 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8002 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8050 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8031 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8268 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8054 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7798 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8026 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8121 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8128 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7778 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8064 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8101 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] missing picture in access unit with size 7820 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8390 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7854 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8048 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8285 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7749 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7655 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7640 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] non-existing PPS referenced [h264 @ 0039A460] slice type too large (2) at 0 0 [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8310 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8063 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] missing picture in access unit with size 7780 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8387 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7814 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7803 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8394 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7857 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7850 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8279 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7949 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7771 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8327 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7825 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7927 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8407 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7751 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8193 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7798 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8560 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7828 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7811 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7899 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8361 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7807 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7677 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8182 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8490 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7953 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7794 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8245 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7809 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7848 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8363 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7861 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7859 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8315 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7886 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7837 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8579 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7749 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7833 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8481 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7867 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9627 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 9635 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7845 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8459 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8638 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7476 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8798 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6355 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7873 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8120 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4746 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6781 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8962 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4952 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7630 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 8236 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4771 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7537 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 6793 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 3944 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 10379 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5784 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 7467 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 3206 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 3223 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 5518 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4421 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 3866 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] missing picture in access unit with size 9602 [h264 @ 0039A460] sps_id out of range [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 4596 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 2171 [h264 @ 0039A460] non-existing PPS 0 referenced [h264 @ 0039A460] decode_slice_header error [h264 @ 0039A460] no frame! [h264 @ 0039A460] missing picture in access unit with size 3696 [h264 @ 00399BC0] max_analyze_duration 5000000 reached at 5000000 [h264 @ 00399BC0] decoding for stream 0 failed [h264 @ 00399BC0] Could not find codec parameters (Video: h264) [h264 @ 00399BC0] Estimating duration from bitrate, this may be inaccurate video_29208_6.raw: could not find codec parameters -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-can-I-convert-raw-H264-file-to-the-MOV-or-MP4-format-tp4534327p4534327.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From jsd at cluttered.com Thu Apr 5 22:24:27 2012 From: jsd at cluttered.com (Jon Drukman) Date: Thu, 5 Apr 2012 13:24:27 -0700 Subject: [FFmpeg-user] Transcode wmv->mp4 fails with latest version In-Reply-To: References: Message-ID: On Thu, Apr 5, 2012 at 10:29 AM, Carl Eugen Hoyos wrote: > Jon Drukman cluttered.com> writes: > > > > I suspect this is ticket #1167, consider adding yourself to CC: > > > https://ffmpeg.org/trac/ffmpeg/ticket/1167 > > > > > > Minimal command line is: > > > ffmpeg -i paristest.wmv -vn out.avi > > > > Thanks for the pointer. Do you happen to know what revision > > introduced the regression? > > The commit message of the relevant change is > "update to AVCodec.encode2()" > OK, so I found the previous revision, which is c9594fe0fb6dd123fa25cb27fe5bc976ff3a9051 I'm not a git expert though (barely a novice). I did the following: git clone git://source.ffmpeg.org/ffmpeg.git $ git checkout -b newBranch c9594fe0fb6dd123fa25cb27fe5bc976ff3a9051 Switched to a new branch 'newBranch' configure; make I don't have an ffmpeg binary. There are no errors in the Make. From cehoyos at ag.or.at Fri Apr 6 00:43:14 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 5 Apr 2012 22:43:14 +0000 (UTC) Subject: [FFmpeg-user] Transcode wmv->mp4 fails with latest version References: Message-ID: Jon Drukman cluttered.com> writes: > > The commit message of the relevant change is > > "update to AVCodec.encode2()" > > > > OK, so I found the previous revision, which > is c9594fe0fb6dd123fa25cb27fe5bc976ff3a9051 Try 745a33 instead. Carl Eugen From cehoyos at ag.or.at Fri Apr 6 00:46:34 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 5 Apr 2012 22:46:34 +0000 (UTC) Subject: [FFmpeg-user] How can I convert raw H264 file to the MOV or MP4 format References: <1333617471851-4534327.post@n4.nabble.com> Message-ID: MrAsdomar gmail.com> writes: > fmpeg -f h264 -i raw_video_h264 -vcodec copy -f mp4 > ffm_raw_video_h264_recode.mp4 > [h264 @ 00399BC0] Could not find codec parameters (Video: h264) > [h264 @ 00399BC0] Estimating duration from bitrate, this may be inaccurate > video_29208_6.raw: could not find codec parameters (The file names do not match.) ffmpeg does not recognize the file as "h264". Is there an application that plays your file? Does ffmpeg -i yourfile show anything useful? Carl Eugen From cehoyos at ag.or.at Fri Apr 6 00:48:47 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 5 Apr 2012 22:48:47 +0000 (UTC) Subject: [FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream References: Message-ID: Vladimir Vlach gmail.com> writes: > ./ffmpeg -v 9 -loglevel 99 ?-re -i test.flv -an -vcodec libx264 -b:v > 128k -vpre ipod320 -f segment -segment_format mpegts -segment_time 10 > -segment_list test.m3u8 'test%05d.ts' > > reports this: > Output file #0 does not contain any stream Complete, uncut console output missing. Is the problem also reproducible without x264? Carl Eugen From jsd at cluttered.com Fri Apr 6 01:00:51 2012 From: jsd at cluttered.com (Jon Drukman) Date: Thu, 5 Apr 2012 16:00:51 -0700 Subject: [FFmpeg-user] Transcode wmv->mp4 fails with latest version In-Reply-To: References: Message-ID: On Thu, Apr 5, 2012 at 3:43 PM, Carl Eugen Hoyos wrote: > Jon Drukman cluttered.com> writes: > > > > The commit message of the relevant change is > > > "update to AVCodec.encode2()" > > > > > > > OK, so I found the previous revision, which > > is c9594fe0fb6dd123fa25cb27fe5bc976ff3a9051 > > Try 745a33 instead. > > I ended up using the release version 0.10.2 "Freedom" and this is working fine. According to the website, it was snapshotted on 3/17 which is only 3 days before the bad commit, so this is fine for my purposes. Thanks. -jsd- From vladaman at gmail.com Fri Apr 6 02:55:55 2012 From: vladaman at gmail.com (Vladimir Vlach) Date: Thu, 5 Apr 2012 17:55:55 -0700 Subject: [FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream In-Reply-To: References: Message-ID: Complete uncut console - same behavior with vp6 or raw codec: http://pastebin.com/GAbBVq3c [ec2-user at s2-aws ffmpeg-10]$ ./ffmpeg -v 9 -loglevel 99 ?-re -i test.flv -an -vcodec vp6 -b:v 128k -f segment -segment_format mpegts -segment_time 10 -segment_list test.m3u8 'test%05d.ts' ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers ? built on Apr ?5 2012 01:38:03 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) ? configuration: --enable-librtmp --enable-libx264 --libdir='../x264/:/usr/local/lib:../rtmpdump-2.3' --enable-gpl --enable-pthreads --enable-libvpx --disable-ffplay --disable-ffserver --disable-shared --enable-debug ? libavutil ? ? ?51. 44.100 / 51. 44.100 ? libavcodec ? ? 54. 12.100 / 54. 12.100 ? libavformat ? ?54. ?3.100 / 54. ?3.100 ? libavdevice ? ?53. ?4.100 / 53. ?4.100 ? libavfilter ? ? 2. 66.101 / ?2. 66.101 ? libswscale ? ? ?2. ?1.100 / ?2. ?1.100 ? libswresample ? 0. 10.100 / ?0. 10.100 ? libpostproc ? ?52. ?0.100 / 52. ?0.100 [flv @ 0x22213a0] Format flv probed with size=2048 and score=100 rfps: 15.000000 0.000017 rfps: 30.000000 0.000067 rfps: 45.000000 0.000150 rfps: 14.985015 0.012730 rfps: 14.985015 0.015790 Input #0, flv, from 'test.flv': ? Metadata: ? ? author ? ? ? ? ?: ? ? copyright ? ? ? : ? ? description ? ? : ? ? keywords ? ? ? ?: ? ? rating ? ? ? ? ?: ? ? title ? ? ? ? ? : ? ? presetname ? ? ?: Custom ? ? creationdate ? ?: Thu Apr 05 18:20:23 2012 ? ? ? ? ? ? ? ? ? ? : ? ? videodevice ? ? : Logitech QuickCam Pro 9000 ? ? videokeyframe_frequency: 5 ? ? audiodevice ? ? : Microphone (USB Audio Device) ? ? audiochannels ? : 1 ? ? audioinputvolume: 75 ? ? encoder ? ? ? ? : Lavf54.3.100 ? Duration: 00:00:26.13, start: 0.000000, bitrate: 131 kb/s ? ? Stream #0:0, 392, 1/1000: Video: h264 (Constrained Baseline), yuv420p, 1000x574, 1/30, 128 kb/s, 15 tbr, 1k tbn, 30 tbc Output #0, segment, to 'test%05d.ts': ? Metadata: ? ? author ? ? ? ? ?: ? ? copyright ? ? ? : ? ? description ? ? : ? ? keywords ? ? ? ?: ? ? rating ? ? ? ? ?: ? ? title ? ? ? ? ? : ? ? presetname ? ? ?: Custom ? ? creationdate ? ?: Thu Apr 05 18:20:23 2012 ? ? ? ? ? ? ? ? ? ? : ? ? videodevice ? ? : Logitech QuickCam Pro 9000 ? ? videokeyframe_frequency: 5 ? ? audiodevice ? ? : Microphone (USB Audio Device) ? ? audiochannels ? : 1 ? ? audioinputvolume: 75 ? ? encoder ? ? ? ? : Lavf54.3.100 Output file #0 does not contain any stream On Thu, Apr 5, 2012 at 3:48 PM, Carl Eugen Hoyos wrote: > > Vladimir Vlach gmail.com> writes: > > > ./ffmpeg -v 9 -loglevel 99 ?-re -i test.flv -an -vcodec libx264 -b:v > > 128k -vpre ipod320 -f segment -segment_format mpegts -segment_time 10 > > -segment_list test.m3u8 'test%05d.ts' > > > > reports this: > > Output file #0 does not contain any stream > > Complete, uncut console output missing. > Is the problem also reproducible without x264? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From babyboy-8686 at 163.com Fri Apr 6 05:29:24 2012 From: babyboy-8686 at 163.com (=?GBK?B?uqvI8MvJ?=) Date: Fri, 6 Apr 2012 11:29:24 +0800 (CST) Subject: [FFmpeg-user] How to determine the video is interlaced Message-ID: <2dff2810.174df.13685b308ce.Coremail.babyboy-8686@163.com> Can I determine the video is interlaced by ffmpeg?if can ,how? | ???java????? babyboy-8686 at 163.com ??????????????????(CC??) ??????????????????229?????9?906 QQ ? 550399108 ???13811073415 | ????????????????????? ???? | -------------- next part -------------- A non-text attachment was scrubbed... Name: ??.vcf Type: text/x-vcard Size: 323 bytes Desc: not available URL: From iskilian at hotmail.com Fri Apr 6 06:01:15 2012 From: iskilian at hotmail.com (S Kilian) Date: Fri, 6 Apr 2012 00:01:15 -0400 Subject: [FFmpeg-user] Trying to create Transport Stream (mpegts) having multiple programs embedded Message-ID: FFMPEG: I can not find how to make a transport stream to contain multiple programs. I can make one program having 3 videos and 3 audios but this a standard TS file. I can't figure out how to make input file a separated programs with the TS file. Please advise. Thanks. Attachment: Simple shell script to create TS file from multiple MPEG files. - Steve ============================================================================ Command and output: bin/ffmpeg.exe -i ../video-input/Finding-Nemo-full.mpeg -i ../video-input/Shane.mpeg -i ../video-input/avatar-wide.mpeg -vcodec copy -acodec copy -map 0:v -map 0:6 -vcodec copy -acodec copy -map 1:v -map 1:1 -vcodec copy -acodec copy -map 2:v -map 2:9 -y -t 10 -f mpegts z-output.ts ffmpeg version N-35509-gfd36cbf-Sherpya, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 7 2011 06:17:11 with gcc 4.6.2 libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 41. 0 / 53. 41. 0 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 51. 0 / 2. 51. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 01dba180] max_analyze_duration 5000000 reached at 5021478 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Input #0, mpeg, from '../video-input/Finding-Nemo-full.mpeg': Duration: 00:07:28.57, start: 0.280633, bitrate: 74095 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 26.29 fps, 59.94 tbr, 9 0k tbn, 59.94 tbc Stream #0:1[0x20]: Subtitle: dvd_subtitle Stream #0:2[0x21]: Subtitle: dvd_subtitle Stream #0:3[0x22]: Subtitle: dvd_subtitle Stream #0:4[0x23]: Subtitle: dvd_subtitle Stream #0:5[0x24]: Subtitle: dvd_subtitle Stream #0:6[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:7[0x81]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s Stream #0:8[0x82]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Input #1, mpeg, from '../video-input/Shane.mpeg': Duration: 00:00:06.66, start: 0.196500, bitrate: -2147483 kb/s Stream #1:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 23.98 fps, 59.94 tbr, 9 0k tbn, 59.94 tbc Stream #1:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #1:2[0x81]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #1:3[0x82]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s [mpeg @ 01f01000] max_analyze_duration 5000000 reached at 5004667 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Input #2, mpeg, from '../video-input/avatar-wide.mpeg': Duration: 01:26:31.00, start: 0.199156, bitrate: 12074 kb/s Stream #2:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 9800 kb/s, 23.98 fps, 59.94 tbr , 90k tbn, 59.94 tbc Stream #2:1[0x20]: Subtitle: dvd_subtitle Stream #2:2[0x21]: Subtitle: dvd_subtitle Stream #2:3[0x22]: Subtitle: dvd_subtitle Stream #2:4[0x23]: Subtitle: dvd_subtitle Stream #2:5[0x24]: Subtitle: dvd_subtitle Stream #2:6[0x25]: Subtitle: dvd_subtitle Stream #2:7[0x26]: Subtitle: dvd_subtitle Stream #2:8[0x27]: Subtitle: dvd_subtitle Stream #2:9[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #2:10[0x81]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #2:11[0x82]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #2:12[0x83]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s [mpegts @ 021fdb00] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'z-output.ts': Metadata: encoder : Lavf53.24.0 Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 9800 kb/s, 26.29 fps, 90k tbn, 29.97 tbc Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s Stream #0:2: Video: mpeg2video, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 9800 kb/s, 23.98 fps, 90k tbn, 29.97 tbc Stream #0:3: Audio: ac3, 48000 Hz, stereo, 192 kb/s Stream #0:4: Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 9800 kb/s, 23.98 fps, 90k tbn, 29.97 tbc Stream #0:5: Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:6 -> #0:1 (copy) Stream #1:0 -> #0:2 (copy) Stream #1:1 -> #0:3 (copy) Stream #2:0 -> #0:4 (copy) Stream #2:9 -> #0:5 (copy) Press [q] to stop, [?] for help frame= 253 fps= 0 q=-1.0 Lq=-1.0 q=-1.0 size= 26945kB time=00:00:09.99 bitrate=22088.3kbits/s video:23553kB audio:1330kB global headers:0kB muxing overhead 8.287893% ============================================================================ ffmpeg version N-35509-gfd36cbf-Sherpya, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 7 2011 06:17:11 with gcc 4.6.2 libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 41. 0 / 53. 41. 0 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 51. 0 / 2. 51. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Seems stream 2 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Seems stream 4 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Input #0, mpegts, from 'z-output.ts': Duration: 00:00:09.98, start: 1.400000, bitrate: 22108 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 28.72 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:2[0x102]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 23.89 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:3[0x103]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, s16, 192 kb/s Stream #0:4[0x104]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 9800 kb /s, 24.06 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:5[0x105]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), s16, 448 kb/s At least one output file must be specified ============================================================================== ============================================================================== ============================================================================== Example of TS file having multiple programs: $ bin/ffmpeg.exe -i WUSF-11-16-2002-5pm.trp ffmpeg version N-35509-gfd36cbf-Sherpya, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 7 2011 06:17:11 with gcc 4.6.2 libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 41. 0 / 53. 41. 0 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 51. 0 / 2. 51. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mpegts, from 'WUSF-11-16-2002-5pm.trp': Duration: 00:04:13.46, start: 64449.029144, bitrate: 19353 kb/s Program 6 Stream #0:2[0x61]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 15000 kb/ s, 39.41 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:3[0x64](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:4[0x65](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, mono, s16, 64 kb/s (visual impaired) Program 5 Stream #0:0[0x51]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 15000 kb/ s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x54](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Program 4 Stream #0:9[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 15000 kb/ s, 36.51 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:6[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:8[0x45](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, mono, s16, 96 kb/s Program 3 Stream #0:7[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 15000 kb/ s, 35.96 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:5[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s No Program Stream #0:10[0x55]: Audio: ac3, 48000 Hz, mono, s16, 96 kb/s Stream #0:11[0x35]: Audio: ac3, 48000 Hz, mono, s16, 96 kb/s -------------- next part -------------- A non-text attachment was scrubbed... Name: 0-make-transport-stream.sh Type: application/octet-stream Size: 759 bytes Desc: not available URL: From andrey.krieger.utkin at gmail.com Fri Apr 6 10:46:30 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Fri, 6 Apr 2012 11:46:30 +0300 Subject: [FFmpeg-user] Trying to create Transport Stream (mpegts) having multiple programs embedded In-Reply-To: References: Message-ID: 2012/4/6 S Kilian : > > FFMPEG: > > I can not find how to make a transport stream to contain multiple programs. I can make one program having 3 videos and 3 audios but this a standard TS file. I can't figure out how to make input file a separated programs with the TS file. Please advise. Thanks. In AVFormatContext there's AVProgram* array for that. But it looks mpegts muxer does not use it, it is used only in demuxer. So IMO you can't do it with ffmpeg (both utility and API) currently. -- Andrey Utkin From kk_konrad at gmx.at Fri Apr 6 13:10:03 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Fri, 6 Apr 2012 13:10:03 +0200 Subject: [FFmpeg-user] concatenating mp4 (non-h464) using mpegts In-Reply-To: References: <4282.27044544673$1333639832@news.gmane.org> Message-ID: <20120406111003.GA13570localhost> On Thu, Apr 05, 2012 at 05:26:24PM +0000, Carl Eugen Hoyos wrote: > Konrad Karl gmx.at> writes: > > > tried to concatenate several mp4 files w/o reencoding (they all come > > from kdenlive using the same export settings) using mpegts as > > intermediate format but I failed - see below. > > Stream copying ASP into a transport stream is not supported, > this is a very old feature request. > (And yes, it is a bug imo that FFmpeg does not show an error message > if you try something unsupported.) Thanks for clarifying. Is this technically difficult or not allowed by some spec? So what procedure would you recommend? I am also worrying about keeping good A/V synchronization. All the files are 1080p50 and have been rendered by kdenlive. ------- When looking with MP4Box -info the audio and video durations are different. At the moment I cannot use MP4Box for joining because it fails for files > 2GB on my F16 x86_64 system. ~> MP4Box -info tag2-1.mp4 * Movie Info * Timescale 1000 - Duration 00:07:37.457 Fragmented File no - 2 track(s) File Brand isom - version 512 Created: UNKNOWN DATE File has no MPEG4 IOD/OD iTunes Info: Encoder Software: Lavf54.2.100 Track # 1 Info - TrackID 1 - TimeScale 50 - Duration 00:07:37.360 <=== Media Info: Language "Undetermined" - Type "vide:mp4v" - 22868 samples Visual Track layout: x=0 y=0 width=1920 height=1080 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20 MPEG-4 Visual Size 1920 x 1080 - Simple Profile @ Level 1 Pixel Aspect Ratio 1:1 - Indicated track size 1920 x 1080 Self-synchronized Track # 2 Info - TrackID 2 - TimeScale 44100 - Duration 00:07:37.456 <=== Media Info: Language "Undetermined" - Type "soun:mp4a" - 17512 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x6b MPEG-1 Audio - 2 Channel(s) - SampleRate 44100 - Layer 3 Synchronized on stream 1 Alternate Group ID 1 ----- another view of the same file: ~> kdenlive/20120405/bin/ffmpeg -i tag2-1.mp4 ffmpeg version N-35138-gfa1f92a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 5 2012 14:05:40 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2) configuration: --prefix=/home/ki/kdenlive/20120405 --disable-doc --disable-network --disable-ffserver --enable-gpl --enable-version3 --enable-shared --enable-debug --disable-stripping --enable-pthreads --enable-runtime-cpudetect --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libvpx libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tag2-1.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf54.2.100 Duration: 00:07:37.45, start: 0.000000, bitrate: 25132 kb/s Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 24810 kb/s, 50 fps, 50 tbr, 50 tbn, 50 tbc Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 319 kb/s Metadata: handler_name : ------- Now I am curious if the A and V streams are really of different length or MP4Box is playing games with me. At the moment I have 6 videos to join, each with similar A/V length differences. If those differences would accumulate it would be very noticeable I am afraid. Suggestions and explanations are very welcome, Konrad > Carl Eugen From cehoyos at ag.or.at Fri Apr 6 13:34:27 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 6 Apr 2012 11:34:27 +0000 (UTC) Subject: [FFmpeg-user] How to determine the video is interlaced References: <2dff2810.174df.13685b308ce.Coremail.babyboy-8686@163.com> Message-ID: ??? 163.com> writes: > Can I determine the video is interlaced by ffmpeg? Yes, there is a new filter, "idet", test reports are welcome. Carl Eugen From cehoyos at ag.or.at Fri Apr 6 13:35:43 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 6 Apr 2012 11:35:43 +0000 (UTC) Subject: [FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream References: Message-ID: Vladimir Vlach gmail.com> writes: > [ec2-user s2-aws ffmpeg-10]$ ./ffmpeg -v 9 -loglevel 99 ?-re -i > test.flv -an -vcodec vp6 -b:v 128k -f segment -segment_format mpegts > -segment_time 10 -segment_list test.m3u8 'test%05d.ts' Not only does FFmpeg not support vp6 encoding, I don't think vp6 in mpegts would be supported by any application. Carl Eugen From cehoyos at ag.or.at Fri Apr 6 13:38:05 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 6 Apr 2012 11:38:05 +0000 (UTC) Subject: [FFmpeg-user] concatenating mp4 (non-h464) using mpegts References: <4282.27044544673$1333639832@news.gmane.org> <36567.7465605133$1333711014@news.gmane.org> Message-ID: Konrad Karl gmx.at> writes: > > Stream copying ASP into a transport stream is not supported, > > this is a very old feature request. > > (And yes, it is a bug imo that FFmpeg does not show an error message > > if you try something unsupported.) > > Thanks for clarifying. Is this technically difficult or not allowed > by some spec? It seems highly unlikely that it is not allowed, given that ffmpeg -i input -vcodec mpeg4 -an out.ts works fine afair. > So what procedure would you recommend? Assuming you mean the missing feature, not the bug: Send a patch? (I will probably create an entry on trac myself, if I forget, please remind me in a few days.) Carl Eugen From belcampo at zonnet.nl Fri Apr 6 14:14:30 2012 From: belcampo at zonnet.nl (Henk Schoneveld) Date: Fri, 6 Apr 2012 14:14:30 +0200 Subject: [FFmpeg-user] Trying to create Transport Stream (mpegts) having multiple programs embedded In-Reply-To: References: Message-ID: This part: Stream #1:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 23.98 fps, 59.94 tbr, 9 0k tbn, 59.94 tbc Says it afaik. Your video-streams have different frame-rates and can't be in the same ts afaik. On Apr 6, 2012, at 6:01 AM, S Kilian wrote: > Stream #1:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 23.98 fps, 59.94 tbr, 9 > 0k tbn, 59.94 tbc From rberk2 at gmail.com Fri Apr 6 15:46:11 2012 From: rberk2 at gmail.com (Roger Berk) Date: Fri, 6 Apr 2012 09:46:11 -0400 Subject: [FFmpeg-user] Using the testsrc filter in older ffmpeg versions without the lavfi device Message-ID: Hello ! The testsrc filter ( and other video source filters ) predate the inclusion of the lavfi virtual input device. Could someone please tell me how to create a test pattern in ffmpeg WITHOUT using lavfi. There must have been a way to use testsrc before lavfi was available. My problem is that ffmpeg requires a -i (input file) parameter, and testsrc does not need or use any input file. Since earlier versions of ffmpeg did not have any -f lavfi option, how was testsrc used previously ? Thanks for any help you can offer ! From daverice at mac.com Fri Apr 6 15:53:19 2012 From: daverice at mac.com (Dave Rice) Date: Fri, 06 Apr 2012 09:53:19 -0400 Subject: [FFmpeg-user] Using the testsrc filter in older ffmpeg versions without the lavfi device In-Reply-To: References: Message-ID: <621CD9FB-22BC-4041-82E4-3D7CB0081605@mac.com> Hi, On Apr 6, 2012, at 9:46 AM, Roger Berk wrote: > Could someone please tell me how to create a test pattern in ffmpeg WITHOUT > using lavfi. > > There must have been a way to use testsrc before lavfi was available. > > My problem is that ffmpeg requires a -i (input file) parameter, and testsrc > does not need or use any input file. > > Since earlier versions of ffmpeg did not have any -f lavfi option, how was > testsrc used previously ? There may be more efficient ways, but you could use testsrc in an overlay filter and completely overlay the input video. ffmpeg -t 5 -i someVideoToBeCovered.mov -an -vf "testsrc=duration=5:size=200x200:rate=29.97 [overlay]; [in][overlay] overlay" testsrc_movie.mov Make sure the testsrc parameters match the input file to cover it. Dave Rice From iskilian at hotmail.com Fri Apr 6 16:27:10 2012 From: iskilian at hotmail.com (S Kilian) Date: Fri, 6 Apr 2012 10:27:10 -0400 Subject: [FFmpeg-user] Trying to create Transport Stream (mpegts) having multiple programs embedded In-Reply-To: References: , Message-ID: Henk, Oh thanks. I was to focused on the getting the service id to index. Change my -vcodec from "copy" to "mpeg2video -r 30000/1001" so the frame rates would be proper. I wonder how difficult it would be to index the service ID when it encounters a new video stream. - Steve Command: bin/ffmpeg.exe -i ../video-input/Finding-Nemo-full.mpeg -i ../video-input/Shane.mpeg -i ../video-input/avatar-wide.mpeg \ -vcodec mpeg2video -r 30000/1001 -acodec copy -map 0:v -map 0:6 \ -vcodec mpeg2video -r 30000/1001 -acodec copy -map 1:v -map 1:1 \ -vcodec mpeg2video -r 30000/1001 -acodec copy -map 2:v -map 2:9 \ -y -t 12 -mpegts_service_id 3 -muxrate 19392636 -f mpegts z-output.ts Result: bin/ffmpeg.exe -i z-output.ts Input #0, mpegts, from 'z-output.ts': Duration: 00:00:11.97, start: 1.400000, bitrate: 19379 kb/s Program 3 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 104857 kb/ s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), s16, 448 kb/s <<< this is where Program 4 should be >>> Stream #0:2[0x102]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 104857 kb/ s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:3[0x103]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, s16, 192 kb/s <<< this is where Program 5 should be >>> Stream #0:4[0x104]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:5[0x105]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), s16, 448 kb/s > > This part: > Stream #1:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 23.98 fps, 59.94 tbr, 9 > 0k tbn, 59.94 tbc > > Says it afaik. Your video-streams have different frame-rates and can't be in the same ts afaik. > > On Apr 6, 2012, at 6:01 AM, S Kilian wrote: > > > Stream #1:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 9800 kb/s, 23.98 fps, 59.94 tbr, 9 > > 0k tbn, 59.94 tbc > From kk_konrad at gmx.at Fri Apr 6 16:32:13 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Fri, 6 Apr 2012 16:32:13 +0200 Subject: [FFmpeg-user] concatenating mp4 (non-h464) using mpegts In-Reply-To: References: <4282.27044544673$1333639832@news.gmane.org> <36567.7465605133$1333711014@news.gmane.org> Message-ID: <20120406143213.GA11269localhost> On Fri, Apr 06, 2012 at 11:38:05AM +0000, Carl Eugen Hoyos wrote: > Konrad Karl gmx.at> writes: > > > > Stream copying ASP into a transport stream is not supported, > > > this is a very old feature request. > > > (And yes, it is a bug imo that FFmpeg does not show an error message > > > if you try something unsupported.) > > > > Thanks for clarifying. Is this technically difficult or not allowed > > by some spec? > > It seems highly unlikely that it is not allowed, given that > ffmpeg -i input -vcodec mpeg4 -an out.ts > works fine afair. OK, it took me a few seconds to realize that this will reencode... Concatenating mp4 files seems to be a minefield. My clips really have different video and audio track lengths. The values displayed by MP4Box (now recompiled and working also for > 2GB files) seem to be quite accurate. I am getting the same values when I extract video only or audio only and then look with ffmpeg -i. Because MP4Box seems to just blindly concatenate the video and audio without taking the different lengths into account the resulting video has quite severe A/V desync at the end. (sum_of_audio_lengths = sum_of_video_lengths + about 0.8 sec) The only method which works for me so far is ffmpeg remuxing into mkv then using mkvmerge and finally ffmpeg remuxing into mp4 again. grrr... > > So what procedure would you recommend? actually I was looking for a more convenient procedure to cat my movies w/o losing A/V sync and w/o re-encoding. > > Assuming you mean the missing feature, not the bug: > Send a patch? I feel I am too close to the beginning of my learning curve regarding mpeg and I guess I will have to google a lot before even beginning to think how to implement such a patch. The problem space seems to be interesting, though... > (I will probably create an entry on trac myself, if I forget, > please remind me in a few days.) Will remind you. Thanks, Carl Eugen, Konrad > Carl Eugen From vladaman at gmail.com Fri Apr 6 18:09:59 2012 From: vladaman at gmail.com (Vladimir Vlach) Date: Fri, 6 Apr 2012 09:09:59 -0700 Subject: [FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream In-Reply-To: References: Message-ID: Regardless of the codec, incl. libx264 I get same issue. Any other codec I could check? Thanks, Vlad On Fri, Apr 6, 2012 at 4:35 AM, Carl Eugen Hoyos wrote: > Vladimir Vlach gmail.com> writes: > >> [ec2-user s2-aws ffmpeg-10]$ ./ffmpeg -v 9 -loglevel 99 ?-re -i >> test.flv -an -vcodec vp6 -b:v 128k -f segment -segment_format mpegts >> -segment_time 10 -segment_list test.m3u8 'test%05d.ts' > > Not only does FFmpeg not support vp6 encoding, I don't think vp6 in > mpegts would be supported by any application. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From beveryhappy99 at yahoo.com Fri Apr 6 18:24:24 2012 From: beveryhappy99 at yahoo.com (Carlos Duran) Date: Fri, 6 Apr 2012 09:24:24 -0700 (PDT) Subject: [FFmpeg-user] Cross compiling FFmpeg libraries for ios 5.1 (armv6/armv7/i386) In-Reply-To: References: <1333564371.56931.YahooMailNeo@web113516.mail.gq1.yahoo.com> <1333643797.56675.YahooMailNeo@web113509.mail.gq1.yahoo.com> Message-ID: <1333729464.59999.YahooMailNeo@web113514.mail.gq1.yahoo.com> Thanks Andrey, it worked great! ________________________________ From: Andrey Utkin To: Carlos Duran Cc: FFmpeg user questions and RTFMs Sent: Thursday, April 5, 2012 12:49 PM Subject: Re: [FFmpeg-user] Cross compiling FFmpeg libraries for ios 5.1 (armv6/armv7/i386) 2012/4/5 Carlos Duran : > Hi Andrey, > > I was able to create the libraries with the script, copied the armv7 folder > to my project, but I can't? select anything under Target Dependencies, > although all the 5 .a files show in the Link Binary with Libraries section > in black. > > Were you able to add them to the Target Dependencies section and statically > link? I did the following. In project files tree view, highlight "Frameworks" folder. File -> Add files -> Choose .a files of ffmpeg. They have shown up in Frameworks section, and also in Link Binary with Libraries. That's all (not mentioning headers inclusion). -- Andrey Utkin _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From manuel.concorsi at gmail.com Fri Apr 6 19:03:09 2012 From: manuel.concorsi at gmail.com (MrAsdomar) Date: Fri, 6 Apr 2012 10:03:09 -0700 (PDT) Subject: [FFmpeg-user] How can I convert raw H264 file to the MOV or MP4 format In-Reply-To: References: <1333617471851-4534327.post@n4.nabble.com> Message-ID: <1333731789171-4537836.post@n4.nabble.com> Hi Carl, thanks for reply. I done my homework and I create an FLV container for H264 coming from RTMP. Now the video open and play some frames (the first frames), but after 2 second the video become all yellow, and ffplay give me a lot of error. Probably there is something wrong in my FLV container implementation (but I checked it tons of times), but please help me, I'm going out mad... You can download my video here http://www.4shared.com/file/3_YECuhZ/output_2667_6.html? http://www.4shared.com/file/3_YECuhZ/output_2667_6.html? (no audio in this file) This is FFplay output C:\ffmpeg\ffmpeg-git-41a097a-win64-static\bin>ffplay.exe -v debug -f flv -i outp ut_2667_6.raw ffplay version N-39494-g41a097a Copyright (c) 2003-2012 the FFmpeg developers built on Apr 3 2012 20:23:48 with gcc 4.6.2 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger - -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable- libxvid --enable-zlib libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [flv @ 0000000004B5C540] Could not find codec parameters (Audio: none, 0 channel s) rfps: 1.000000 0.014460 rfps: 1.000000 0.016565 rfps: 1.083333 0.017494 rfps: 1.083333 0.018575 rfps: 1.166667 0.017914 rfps: 1.250000 0.018238 rfps: 1.333333 0.019594 rfps: 1.416667 0.018712 Input #0, flv, from 'output_2667_6.raw': Duration: 00:00:00.00, start: 0.001000, bitrate: -2147483 kb/s Stream #0:0, 519, 1/1000: Video: h264 (Baseline), yuv420p, 264x198 [SAR 1:1 DAR 4:3], 1/16, 8 tbr, 1k tbn, 16 tbc Stream #0:1, 0, 1/1000: Audio: none, 0 channels [h264 @ 00000000002B9930] detected 8 logical cores [h264 @ 000000000536EA90] Width/height/bit depth/chroma idc changing with thread s is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not be en implemented. [h264 @ 000000000536EA90] decode_slice_header error [h264 @ 000000000536EA90] no frame! [h264 @ 0000000004C03F00] Width/height/bit depth/chroma idc changing with thread s is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not be en implemented. [h264 @ 0000000004C03F00] decode_slice_header error [h264 @ 0000000004C03F00] no frame! (last message repeated infinite times) -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-can-I-convert-raw-H264-file-to-the-MOV-or-MP4-format-tp4534327p4537836.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From tuyenphan2010 at gmail.com Fri Apr 6 18:09:24 2012 From: tuyenphan2010 at gmail.com (chappy) Date: Fri, 6 Apr 2012 09:09:24 -0700 (PDT) Subject: [FFmpeg-user] Audio is out of sync Message-ID: <1333728564607-4537705.post@n4.nabble.com> I use the following command to capture a 20 seconds video ffmpeg -f alsa -i hw:1,0 -vol 2048 -f video4linux2 -i /dev/video0 -vcodec libx264 -preset superfast output.mov The video quality is great, but audio is out of sync (issue 1) Also I imported this video in Final Cut Pro 7, made 1 minor edit and export it. It took nearly 30 minutes to export this 20 seconds video (issue 2). Why/how did it take so long? Anyone know the reasons for those 2 issues? thx in advance -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Audio-is-out-of-sync-tp4537705p4537705.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From vladaman at gmail.com Fri Apr 6 20:11:44 2012 From: vladaman at gmail.com (Vladimir Vlach) Date: Fri, 6 Apr 2012 11:11:44 -0700 Subject: [FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream In-Reply-To: References: Message-ID: I figured this out. I was missing -map 0 argument (not sure what for). This is working example: ./ffmpeg -v 9 -loglevel 99 -re -i sourcefile.avi -an \ -c:v libx264 -b:v 128k -vpre ipod320 \ -flags -global_header -map 0 -f segment -segment_time 4 \ -segment_list test.m3u8 -segment_format mpegts stream%05d.ts Vlad On Thu, Apr 5, 2012 at 11:38 AM, Vladimir Vlach wrote: > > Hi, > > I am trying to use ffmpeg and segment input file into chunks for > iPhone streaming. Unfortunately every possible command line option > gives me error. > > ./ffmpeg -v 9 -loglevel 99 ?-re -i test.flv -an -vcodec libx264 -b:v > 128k -vpre ipod320 -f segment -segment_format mpegts -segment_time 10 > -segment_list test.m3u8 'test%05d.ts' > > reports this: > Output file #0 does not contain any stream > > ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers > ?built on Apr ?5 2012 01:38:03 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) > ?configuration: --enable-librtmp --enable-libx264 > --libdir='../x264/:/usr/local/lib:../rtmpdump-2.3' --enable-gpl > --enable-pthreads --enable-libvpx --disable-ffplay --disable-ffserver > --disable-shared --enable-debug > > This works fine: > ./ffmpeg -v 9 -loglevel 99 ?-re -i test.flv -an ?-vcodec libx264 -b:v > 128k -vpre ipod320 -f mpegts -y test.ts > > I am not sure if there is a bug in segmenter but looks like it's not > working at all. > > Thanks, > Vlad From cehoyos at ag.or.at Sat Apr 7 01:50:05 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 6 Apr 2012 23:50:05 +0000 (UTC) Subject: [FFmpeg-user] Audio is out of sync References: <1333728564607-4537705.post@n4.nabble.com> Message-ID: chappy gmail.com> writes: > ffmpeg -f alsa -i hw:1,0 -vol 2048 -f video4linux2 > -i /dev/video0 -vcodec libx264 -preset superfast output.mov > The video quality is great, but audio is out of sync (issue 1) Please provide the complete, uncut console output together with the command line. Carl Eugen From cehoyos at ag.or.at Sat Apr 7 01:55:32 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 6 Apr 2012 23:55:32 +0000 (UTC) Subject: [FFmpeg-user] How can I convert raw H264 file to the MOV or MP4 format References: <1333617471851-4534327.post@n4.nabble.com> <1333731789171-4537836.post@n4.nabble.com> Message-ID: MrAsdomar gmail.com> writes: > I done my homework and I create an FLV container for > H264 coming from RTMP. Why? (If you don't want to store audio, h264 may be a useful container.) > Now the video open and play some frames (the first frames), > but after 2 second the video become > all yellow, and ffplay give me a lot of error. > > Probably there is something wrong in my FLV container > implementation (but I checked it tons of times), but > please help me, I'm going out mad... If Flash (or any other application) can read the files, this would be a (possible) bug in FFmpeg, if no application can read the files, I don't know how anybody here could help you... > You can download my video here > > http://www.4shared.com/file/3_YECuhZ/output_2667_6.html? > http://www.4shared.com/file/3_YECuhZ/output_2667_6.html? (This is considered extraordinarily rude here.) > (no audio in this file) > > This is FFplay output > > C:\ffmpeg\ffmpeg-git-41a097a-win64-static\bin>ffplay.exe > -v debug -f flv -i output_2667_6.raw Please do not post ffplay output except if your problem is not reproducible with ffmpeg, and I suspect it may be more interesting without -f flv. Carl Eugen From dflett at bigpond.net.au Sat Apr 7 04:41:50 2012 From: dflett at bigpond.net.au (Dan Flett) Date: Sat, 7 Apr 2012 12:41:50 +1000 Subject: [FFmpeg-user] Best format for arbitrary start/stop stream recording? Message-ID: <5AB931EE6E5845AB9970BEBDFB26FFD6@gtv.local> I am writing an application to record a live video stream from a capture card to multiple flash memory sticks simultaneously. This is to replace our current rack of domestic DVD recorders. We record live events and at the end of the event we stop the recording and want to give the media (DVD or memory stick) to the clients as soon as possible after the event finishes. DVD recorders are annoying in that the finalize process is fiddly and takes too long, and they machines themselves are unreliable - e.g. recordings often fail for no apparent reason and can't be finalized. So far what I've written works pretty well. I set up ffmpeg to record with the following command-line: ffmpeg -y -isync -i INPUT -vcodec copy -acodec copy -f mpegts pipe:1 | tee -a OUTPUT1 OUTPUT2 ... OUTPUTn > /dev/null Using mpegts allows me to start and stop at any time and the file is readable. Using "tee -a" allows me to append video to existing files - e.g. to restart a stopped recording, without creating new files. Also, I can play back the files as they are being written to, which is good for "confidence monitoring". The one major drawback that I can see so far is that the resulting files have no time index. They play in VLC, but there is no time indication at all. Is is possible to add time index metadata to a file after it has been written, without having to create a new file i.e. I want to modify the existing file "in place". Or, is there a transport-stream-compatible container that is able to write time index data as the video is being written? Some of the video files I am recording will be 3 or more hours in duration - when I stop recording I don't want to wait for the whole file to be rewritten to get a time index. From noufal at nibrahim.net.in Sun Apr 8 08:43:32 2012 From: noufal at nibrahim.net.in (Noufal Ibrahim) Date: Sun, 08 Apr 2012 12:13:32 +0530 Subject: [FFmpeg-user] Screencasting problem. Message-ID: <87zkamenaj.fsf@sanitarium.localdomain> Hello everyone, I've been trying to make screencasts using ffmpeg on a VM. The command line I'm using is as follows. ffmpeg -f x11grab -s 1280x800 -r 50 -i :0.0 -f alsa -i pulse -sameq screencast.mpg and I get the screencast but during recording, I keep seeing messages like this [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it [mpeg @ 0x7ca590]buffer underflow i=0 bufi=327057 size=341185 [mpeg @ 0x7ca590]buffer underflow i=0 bufi=329098 size=341185 [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it [mpeg @ 0x7ca590]buffer underflow i=0 bufi=329098 size=341185 [mpeg @ 0x7ca590]buffer underflow i=0 bufi=331139 size=341185 [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it [mpeg @ 0x7ca590]buffer underflow i=0 bufi=331139 size=341185 [mpeg @ 0x7ca590]buffer underflow i=0 bufi=333180 size=341185 [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it [mpeg @ 0x7ca590]buffer underflow i=0 bufi=333180 size=341185 [mpeg @ 0x7ca590]buffer underflow i=0 bufi=335221 size=341185 When I'm done with the screencast (which is about 8 minutes long), I hit `q` and get the video. If I try to watch it, the audio is perfectly fine without any choppiness but the video seems to have missing frames. This is a guess based on my observation that the mouse and text cursors suddenly disappear and appear later. I'm guessing that it's because of the problem I've pasted above so I tried blindly passing -bufsize to the command line try to increase the buffer size. Passing something like -bufsize 43000 makes the error go away but I can't quit ffmpeg. It doesn't respond to `q` and Ctrl-C it gives me a truncated video. I'd appreciate any pointers to fix the choppy video problem. Thanks. -- ~noufal http://nibrahim.net.in Why don't you pair `em up in threes? -Yogi Berra From 550399108 at qq.com Mon Apr 9 07:27:37 2012 From: 550399108 at qq.com (550399108 at qq.com) Date: Mon, 9 Apr 2012 13:27:37 +0800 (CST) Subject: [FFmpeg-user] questions of -vf yadif In-Reply-To: References: <62b6e188.3960.1368024c169.Coremail.babyboy-8686@163.com> Message-ID: I used the command line like "ffmpeg -y -i 7489696.mpg -vf yadif -analyzeduration 2G -vcodec libx264 -vpre normal -b 1024k -s 720x540 -aspect 720:540 -r 25 -psnr -acodec libfaac -ab 64k -ar 44100 -ac 2 -f flv -map_chapters -1:-1 -g 50 s20.flv" the console shows like FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 12 2011 18:37:10 with gcc 4.4.3 configuration: --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-libxvid --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-shared --enable-avfilter --enable-ffplay --enable-libtheora --enable-libvorbis --enable-libvpx libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 1 / 0.16. 1 libavcodec 52.108. 0 / 52.108. 0 libavformat 52.93. 0 / 52.93. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1.74. 0 / 1.74. 0 libswscale 0.12. 0 / 0.12. 0 [mpeg @ 0x8b3c4c0] max_analyze_duration reached Input #0, mpeg, from '7489696.mpg': Duration: 00:07:49.27, start: 0.477244, bitrate: 4459 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 4000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 384 kb/s [buffer @ 0x8b3f490] w:720 h:576 pixfmt:yuv420p [yadif @ 0x8b43c70] mode:0 parity:-1 [scale @ 0x8b438b0] w:720 h:576 fmt:yuv420p -> w:720 h:540 fmt:yuv420p flags:0xa0000004 [libx264 @ 0x8b3f540] --psnr used with psy on: results will be invalid! [libx264 @ 0x8b3f540] --tune psnr should be used if attempting to benchmark psnr! [libx264 @ 0x8b3f540] using SAR=1/1 [libx264 @ 0x8b3f540] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64 [libx264 @ 0x8b3f540] profile High, level 3.0 [libx264 @ 0x8b3f540] 264 - core 118 r2085 8a62835 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=50 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1024 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00 Output #0, flv, to 's20.flv': Metadata: encoder : Lavf52.93.0 Stream #0.0: Video: libx264, yuv420p, 720x540 [PAR 1:1 DAR 4:3], q=10-51, 1024 kb/s, 1k tbn, 25 tbc Stream #0.1: Audio: libfaac, 44100 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [mpeg2video @ 0x8b3eec0] warning: first frame is no keyframe Last message repeated 1 times:inf U:inf V:inf *:inf size= 63000kB time=467.52 bitrate=1103.9kbits/s frame=11731 fps= 30 q=-1.0 LPSNR=Y:inf U:inf V:inf *:inf size= 63172kB time=469.20 bitrate=1103.0kbits/s video:58942kB audio:3666kB global headers:0kB muxing overhead 0.902411% frame I:257 Avg QP:20.00 size: 49253 PSNR Mean Y:43.82 U:48.20 V:47.95 Avg:44.82 Global:44.49 [libx264 @ 0x8b3f540] frame P:4290 Avg QP:23.52 size: 9361 PSNR Mean Y:40.56 U:45.92 V:45.60 Avg:41.69 Global:41.37 [libx264 @ 0x8b3f540] frame B:7184 Avg QP:26.71 size: 1049 PSNR Mean Y:39.87 U:46.09 V:45.73 Avg:41.11 Global:40.81 [libx264 @ 0x8b3f540] consecutive B-frames: 6.9% 23.1% 34.0% 36.0% [libx264 @ 0x8b3f540] mb I I16..4: 8.0% 58.4% 33.5% [libx264 @ 0x8b3f540] mb P I16..4: 1.3% 4.5% 1.4% P16..4: 44.4% 13.7% 8.3% 0.0% 0.0% skip:26.4% [libx264 @ 0x8b3f540] mb B I16..4: 0.3% 0.8% 0.2% B16..8: 7.8% 3.5% 0.3% direct: 3.4% skip:83.7% L0:31.7% L1:49.7% BI:18.7% [libx264 @ 0x8b3f540] final ratefactor: 22.04 [libx264 @ 0x8b3f540] 8x8 transform intra:61.2% inter:49.4% [libx264 @ 0x8b3f540] direct mvs spatial:99.9% temporal:0.1% [libx264 @ 0x8b3f540] coded y,uvDC,uvAC intra: 74.7% 77.2% 43.2% inter: 9.5% 11.4% 1.0% [libx264 @ 0x8b3f540] i16 v,h,dc,p: 28% 32% 8% 32% [libx264 @ 0x8b3f540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 19% 15% 5% 6% 7% 6% 8% 7% [libx264 @ 0x8b3f540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 18% 9% 6% 8% 9% 8% 8% 6% [libx264 @ 0x8b3f540] i8c dc,h,v,p: 42% 22% 27% 9% [libx264 @ 0x8b3f540] Weighted P-Frames: Y:0.9% UV:0.7% [libx264 @ 0x8b3f540] ref P L0: 72.1% 11.8% 16.0% 0.0% [libx264 @ 0x8b3f540] PSNR Mean Y:40.211 U:46.074 V:45.730 Avg:41.401 Global:41.062 kb/s:1029.00 is this option should be used with other options together? Thank you! I used the command line like "ffmpeg -y -i 7489696.mpg -vf yadif -analyzeduration 2G -vcodec libx264 -vpre normal -b 1024k -s 720x540 -aspect 720:540 -r 25 -psnr -acodec libfaac -ab 64k -ar 44100 -ac 2 -f flv -map_chapters -1:-1 -g 50 s20.flv" the console shows like | ??? java????? babyboy-8686 at 163.com ??????????????????(CC??) ??????????????????229?????9?906 QQ ? 550399108 ???13811073415 | ????????????????????? ???? | From cehoyos at ag.or.at Mon Apr 9 10:23:27 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 9 Apr 2012 08:23:27 +0000 (UTC) Subject: [FFmpeg-user] Screencasting problem. References: <87zkamenaj.fsf@sanitarium.localdomain> Message-ID: Noufal Ibrahim nibrahim.net.in> writes: > ffmpeg -f x11grab -s 1280x800 -r 50 -i :0.0 -f alsa > -i pulse -sameq screencast.mpg Complete, uncut console output missing and I don't think -sameq makes any sense for -f x11grab. Carl Eugen From cehoyos at ag.or.at Mon Apr 9 10:24:27 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 9 Apr 2012 08:24:27 +0000 (UTC) Subject: [FFmpeg-user] questions of -vf yadif References: <62b6e188.3960.1368024c169.Coremail.babyboy-8686@163.com> Message-ID: <550399108 qq.com> writes: > FFmpeg version SVN-r26400, Copyright (c) 2000-2011 This is old, please test current git head. Carl Eugen From brendan.brewster at gmail.com Sun Apr 8 23:40:02 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Sun, 8 Apr 2012 17:40:02 -0400 Subject: [FFmpeg-user] Compiling on Cygwin Message-ID: Is there anything special I'm supposed to do to get a basic build to work on Cygwin? Thanks in advance :) ~/ffmpeg-20120408-git-N-39644-g5d6a40b $ ./configure install prefix /usr/local source path . C compiler gcc ARCH x86 (generic) big-endian no runtime cpu detection no yasm yes MMX enabled yes MMX2 enabled yes 3DNow! enabled yes 3DNow! extended enabled yes SSE enabled yes SSSE3 enabled yes AVX enabled yes CMOV enabled no CMOV is fast no EBX available yes EBP available no debug symbols yes strip symbols yes optimize for size no optimizations yes static yes shared no postprocessing support no new filter support yes network support yes threading support pthreads safe bitstream reader yes SDL support yes libdxva2 enabled no libva enabled no libvdpau enabled no AVISynth enabled no frei0r enabled no gnutls enabled no libaacplus enabled no libass enabled no libcdio support no libcelt enabled no libdc1394 support no libdirac enabled no libfaac enabled no libgsm enabled no libmodplug enabled no libmp3lame enabled no libnut enabled no libopencore-amrnb support no libopencore-amrwb support no libopencv support no libopenjpeg enabled no libpulse enabled no librtmp enabled no libschroedinger enabled no libspeex enabled no libstagefright-h264 enabled no libtheora enabled no libutvideo enabled no libv4l2 enabled no libvo-aacenc support no libvo-amrwbenc support no libvorbis enabled no libvpx enabled no libx264 enabled no libxavs enabled no libxvid enabled no openal enabled no openssl enabled no zlib enabled yes bzlib enabled yes Enabled decoders: aac cljr loco aac_latm cook mace3 aasc cscd mace6 ac3 cyuv mdec adpcm_4xm dca mimic adpcm_adx dfa mjpeg adpcm_ct dirac mjpegb adpcm_ea dnxhd mlp adpcm_ea_maxis_xa dpx mmvideo adpcm_ea_r1 dsicinaudio motionpixels adpcm_ea_r2 dsicinvideo mp1 adpcm_ea_r3 dvbsub mp1float adpcm_ea_xas dvdsub mp2 adpcm_g722 dvvideo mp2float adpcm_g726 dxa mp3 adpcm_ima_amv dxtory mp3adu adpcm_ima_apc eac3 mp3adufloat adpcm_ima_dk3 eacmv mp3float adpcm_ima_dk4 eamad mp3on4 adpcm_ima_ea_eacs eatgq mp3on4float adpcm_ima_ea_sead eatgv mpc7 adpcm_ima_iss eatqi mpc8 adpcm_ima_qt eightbps mpeg1video adpcm_ima_smjpeg eightsvx_exp mpeg2video adpcm_ima_wav eightsvx_fib mpeg4 adpcm_ima_ws escape124 mpegvideo adpcm_ms escape130 msmpeg4v1 adpcm_sbpro_2 exr msmpeg4v2 adpcm_sbpro_3 ffv1 msmpeg4v3 adpcm_sbpro_4 ffvhuff msrle adpcm_swf ffwavesynth msvideo1 adpcm_thp flac mszh adpcm_xa flashsv mxpeg adpcm_yamaha flashsv2 nellymoser alac flic nuv als flv pam amrnb fourxm pbm amrwb fraps pcm_alaw amv frwu pcm_bluray anm g723_1 pcm_dvd ansi g729 pcm_f32be ape gif pcm_f32le ass gsm pcm_f64be asv1 gsm_ms pcm_f64le asv2 h261 pcm_lxf atrac1 h263 pcm_mulaw atrac3 h263i pcm_s16be aura h264 pcm_s16le aura2 huffyuv pcm_s16le_planar avrp idcin pcm_s24be avs idf pcm_s24daud ayuv iff_byterun1 pcm_s24le bethsoftvid iff_ilbm pcm_s32be bfi imc pcm_s32le bink indeo2 pcm_s8 binkaudio_dct indeo3 pcm_s8_planar binkaudio_rdft indeo4 pcm_u16be bintext indeo5 pcm_u16le bmp interplay_dpcm pcm_u24be bmv_audio interplay_video pcm_u24le bmv_video jpeg2000 pcm_u32be c93 jpegls pcm_u32le cavs jv pcm_u8 cdgraphics kgv1 pcm_zork cdxl kmvc pcx cinepak lagarith pgm pgmyuv sol_dpcm vmnc pgssub sonic vorbis pictor sp5x vp3 png srt vp5 ppm sunrast vp6 prores svq1 vp6a prores_lgpl svq3 vp6f ptx targa vp8 qcelp theora vqa qdm2 thp wavpack qdraw tiertexseqvideo wmalossless qpeg tiff wmapro qtrle tmv wmav1 r10k truehd wmav2 r210 truemotion1 wmavoice ra_144 truemotion2 wmv1 ra_288 truespeech wmv2 ralf tscc wmv3 rawvideo tta wmv3image rl2 twinvq wnv1 roq txd ws_snd1 roq_dpcm ulti xan_dpcm rpza utvideo xan_wc3 rv10 v210 xan_wc4 rv20 v210x xbin rv30 v308 xbm rv40 v408 xl s302m v410 xsub sgi vb xwd shorten vble y41p sipr vc1 yop smackaud vc1image yuv4 smacker vcr1 zerocodec smc vmdaudio zlib snow vmdvideo zmbv Enabled encoders: a64multi huffyuv png a64multi5 jpeg2000 ppm aac jpegls prores ac3 ljpeg prores_anatoliy ac3_fixed mjpeg prores_kostya adpcm_adx mp2 qtrle adpcm_g722 mpeg1video r10k adpcm_g726 mpeg2video r210 adpcm_ima_qt mpeg4 ra_144 adpcm_ima_wav msmpeg4v2 rawvideo adpcm_ms msmpeg4v3 roq adpcm_swf msvideo1 roq_dpcm adpcm_yamaha nellymoser rv10 alac pam rv20 amv pbm sgi ass pcm_alaw snow asv1 pcm_f32be sonic asv2 pcm_f32le sonic_ls avrp pcm_f64be srt ayuv pcm_f64le sunrast bmp pcm_mulaw svq1 cljr pcm_s16be targa dca pcm_s16le tiff dnxhd pcm_s24be v210 dpx pcm_s24daud v308 dvbsub pcm_s24le v408 dvdsub pcm_s32be v410 dvvideo pcm_s32le vorbis eac3 pcm_s8 wmav1 ffv1 pcm_u16be wmav2 ffvhuff pcm_u16le wmv1 flac pcm_u24be wmv2 flashsv pcm_u24le xbm flashsv2 pcm_u32be xsub flv pcm_u32le xwd g723_1 pcm_u8 y41p gif pcx yuv4 h261 pgm zlib h263 pgmyuv zmbv h263p Enabled hwaccels: Enabled parsers: aac dvdsub mpegaudio aac_latm flac mpegvideo ac3 gsm pnm adx h261 rv30 cavsvideo h263 rv40 dca h264 vc1 dirac mjpeg vorbis dnxhd mlp vp3 dvbsub mpeg4video vp8 Enabled demuxers: aac idf pcm_u24be ac3 iff pcm_u24le act image2 pcm_u32be adf image2pipe pcm_u32le adx ingenient pcm_u8 aea ipmovie pmp aiff iss pva amr iv8 qcp anm ivf r3d apc jv rawvideo ape latm rl2 asf lmlm4 rm ass loas roq au lxf rpl avi m4v rso avs matroska rtp bethsoftvid mgsts rtsp bfi microdvd sap bink mjpeg sbg bintext mlp sdp bit mm segafilm bmv mmf shorten c93 mov siff caf mp3 smacker cavsvideo mpc smjpeg cdg mpc8 sol cdxl mpegps sox daud mpegts spdif dfa mpegtsraw srt dirac mpegvideo str dnxhd msnwc_tcp swf dsicin mtv thp dts mvi tiertexseq dv mxf tmv dxa mxg truehd ea nc tta ea_cdata nsv tty eac3 nut txd ffm nuv vc1 ffmetadata ogg vc1t filmstrip oma vmd flac pcm_alaw voc flic pcm_f32be vqf flv pcm_f32le w64 fourxm pcm_f64be wav g722 pcm_f64le wc3 g723_1 pcm_mulaw wsaud g729 pcm_s16be wsvqa gsm pcm_s16le wtv gxf pcm_s24be wv h261 pcm_s24le xa h263 pcm_s32be xbin h264 pcm_s32le xmv hls pcm_s8 xwma ico pcm_u16be yop idcin pcm_u16le yuv4mpegpipe Enabled muxers: a64 ipod pcm_s16be ac3 ismv pcm_s16le adts ivf pcm_s24be adx latm pcm_s24le aiff m4v pcm_s32be amr matroska pcm_s32le asf matroska_audio pcm_s8 asf_stream md5 pcm_u16be ass microdvd pcm_u16le au mjpeg pcm_u24be avi mkvtimestamp_v2 pcm_u24le avm2 mlp pcm_u32be bit mmf pcm_u32le caf mov pcm_u8 cavsvideo mp2 psp crc mp3 rawvideo daud mp4 rm dirac mpeg1system roq dnxhd mpeg1vcd rso dts mpeg1video rtp dv mpeg2dvd rtsp eac3 mpeg2svcd sap ffm mpeg2video segment ffmetadata mpeg2vob smjpeg filmstrip mpegts sox flac mpjpeg spdif flv mxf srt framecrc mxf_d10 swf framemd5 null tg2 g722 nut tgp g723_1 ogg truehd gif oma vc1t gxf pcm_alaw voc h261 pcm_f32be wav h263 pcm_f32le webm h264 pcm_f64be wtv image2 pcm_f64le yuv4mpegpipe image2pipe pcm_mulaw Enabled protocols: applehttp hls pipe cache http rtmp concat httpproxy rtp crypto md5 tcp file mmsh udp gopher mmst Enabled filters: abuffer earwax pixdesctest abuffersink fade removelogo aconvert fieldorder rgbtestsrc aevalsrc fifo scale aformat format select amerge gradfun setdar amovie hflip setfield anull idet setpts anullsink life setsar anullsrc lut settb aresample lutrgb showinfo ashowinfo lutyuv silencedetect asplit mandelbrot slicify astreamsync movie split bbox negate swapuv blackdetect noformat testsrc buffersink null thumbnail cellauto nullsink tile color nullsrc transpose copy overlay unsharp crop pad vflip deshake pan volume drawbox Enabled bsfs: aac_adtstoasc mjpeg2jpeg mp3_header_decompress chomp mjpega_dump_header noise dump_extradata mov2textsub remove_extradata h264_mp4toannexb mp3_header_compress text2movsub imx_dump_header Enabled indevs: lavfi vfwcap Enabled outdevs: sdl License: LGPL version 2.1 or later Creating config.mak and config.h... ~/ffmpeg-20120408-git-N-39644-g5d6a40b $ make CC libavdevice/alldevices.o CC libavdevice/avdevice.o CC libavdevice/lavfi.o CC libavdevice/sdl.o CC libavdevice/vfwcap.o libavdevice/vfwcap.c: In function `vfw_read_header': libavdevice/vfwcap.c:325: warning: passing arg 1 of `av_parse_video_size' from incompatible pointer type libavdevice/vfwcap.c:325: warning: passing arg 2 of `av_parse_video_size' from incompatible pointer type AR libavdevice/libavdevice.a CC libavfilter/af_aconvert.o CC libavfilter/af_aformat.o libavfilter/af_aformat.c: In function `init': libavfilter/af_aformat.c:67: warning: dereferencing type-punned pointer will break strict-aliasing rules libavfilter/af_aformat.c:69: warning: dereferencing type-punned pointer will break strict-aliasing rules CC libavfilter/af_amerge.o libavfilter/af_amerge.c: In function `config_output': libavfilter/af_amerge.c:125: warning: int format, different type arg (arg 4) libavfilter/af_amerge.c:125: warning: int format, different type arg (arg 5) CC libavfilter/af_anull.o CC libavfilter/af_aresample.o libavfilter/af_aresample.c: In function `config_output': libavfilter/af_aresample.c:85: warning: int format, different type arg (arg 4) libavfilter/af_aresample.c:85: warning: int format, different type arg (arg 5) CC libavfilter/af_ashowinfo.o In file included from libavfilter/af_ashowinfo.c:28: ./libavutil/timestamp.h: In function `av_ts_make_string': ./libavutil/timestamp.h:43: warning: int format, different type arg (arg 4) libavfilter/af_ashowinfo.c: In function `filter_samples': libavfilter/af_ashowinfo.c:79: warning: int format, different type arg (arg 7) CC libavfilter/af_asplit.o CC libavfilter/af_astreamsync.o CC libavfilter/af_earwax.o CC libavfilter/af_pan.o CC libavfilter/af_silencedetect.o In file included from libavfilter/af_silencedetect.c:27: ./libavutil/timestamp.h: In function `av_ts_make_string': ./libavutil/timestamp.h:43: warning: int format, different type arg (arg 4) CC libavfilter/af_volume.o CC libavfilter/allfilters.o CC libavfilter/asink_anullsink.o CC libavfilter/asrc_abuffer.o CC libavfilter/asrc_aevalsrc.o CC libavfilter/asrc_anullsrc.o CC libavfilter/avcodec.o CC libavfilter/avfilter.o libavfilter/avfilter.c: In function `ff_dlog_ref': libavfilter/avfilter.c:363: warning: int format, different type arg (arg 13) libavfilter/avfilter.c:363: warning: int format, different type arg (arg 14) libavfilter/avfilter.c:379: warning: int format, different type arg (arg 4) CC libavfilter/avfiltergraph.o CC libavfilter/bbox.o CC libavfilter/defaults.o CC libavfilter/drawutils.o CC libavfilter/formats.o CC libavfilter/graphdump.o CC libavfilter/graphparser.o CC libavfilter/lavfutils.o libavfilter/lavfutils.c: In function `ff_load_image': libavfilter/lavfutils.c:83: warning: passing arg 3 of `av_image_copy' from incompatible pointer type CC libavfilter/lswsutils.o libavfilter/lswsutils.c: In function `ff_scale_image': libavfilter/lswsutils.c:45: warning: passing arg 2 of `sws_scale' from incompatible pointer type CC libavfilter/sink_buffer.o CC libavfilter/src_movie.o libavfilter/src_movie.c: In function `movie_common_init': libavfilter/src_movie.c:138: warning: int format, different type arg (arg 5) libavfilter/src_movie.c:138: warning: int format, different type arg (arg 6) libavfilter/src_movie.c:145: warning: int format, different type arg (arg 5) libavfilter/src_movie.c:177: warning: int format, different type arg (arg 4) libavfilter/src_movie.c: In function `movie_get_frame': libavfilter/src_movie.c:292: warning: int format, different type arg (arg 5) libavfilter/src_movie.c:292: warning: int format, different type arg (arg 7) CC libavfilter/transform.o CC libavfilter/vf_aspect.o CC libavfilter/vf_bbox.o In file included from libavfilter/vf_bbox.c:27: ./libavutil/timestamp.h: In function `av_ts_make_string': ./libavutil/timestamp.h:43: warning: int format, different type arg (arg 4) CC libavfilter/vf_blackdetect.o In file included from libavfilter/vf_blackdetect.c:29: ./libavutil/timestamp.h: In function `av_ts_make_string': ./libavutil/timestamp.h:43: warning: int format, different type arg (arg 4) libavfilter/vf_blackdetect.c: In function `end_frame': libavfilter/vf_blackdetect.c:159: warning: int format, different type arg (arg 6) CC libavfilter/vf_copy.o CC libavfilter/vf_crop.o CC libavfilter/vf_deshake.o libavfilter/vf_deshake.c: In function `config_props': libavfilter/vf_deshake.c:409: warning: `dsputil_init' is deprecated (declared at ./libavcodec/dsputil.h:585) CC libavfilter/vf_drawbox.o CC libavfilter/vf_fade.o CC libavfilter/vf_fieldorder.o CC libavfilter/vf_fifo.o CC libavfilter/vf_format.o CC libavfilter/vf_gradfun.o CC libavfilter/vf_hflip.o CC libavfilter/vf_idet.o libavfilter/vf_idet.c: In function `filter': libavfilter/vf_idet.c:105: warning: unused variable `df' libavfilter/vf_idet.c: In function `init': libavfilter/vf_idet.c:310: warning: assignment from incompatible pointer type libavfilter/vf_idet.c:298: warning: unused variable `cpu_flags' CC libavfilter/vf_lut.o libavfilter/vf_lut.c: In function `draw_slice': libavfilter/vf_lut.c:304: warning: initialization from incompatible pointer type libavfilter/vf_lut.c:295: warning: unused variable `k' CC libavfilter/vf_null.o CC libavfilter/vf_overlay.o In file included from libavfilter/vf_overlay.c:37: ./libavutil/timestamp.h: In function `av_ts_make_string': ./libavutil/timestamp.h:43: warning: int format, different type arg (arg 4) CC libavfilter/vf_pad.o CC libavfilter/vf_pixdesctest.o libavfilter/vf_pixdesctest.c: In function `start_frame': libavfilter/vf_pixdesctest.c:77: warning: statement with no effect CC libavfilter/vf_removelogo.o CC libavfilter/vf_scale.o CC libavfilter/vf_select.o CC libavfilter/vf_setfield.o CC libavfilter/vf_setpts.o CC libavfilter/vf_settb.o libavfilter/vf_settb.c: In function `start_frame': libavfilter/vf_settb.c:108: warning: int format, different type arg (arg 6) libavfilter/vf_settb.c:108: warning: int format, different type arg (arg 9) CC libavfilter/vf_showinfo.o In file included from libavfilter/vf_showinfo.c:28: ./libavutil/timestamp.h: In function `av_ts_make_string': ./libavutil/timestamp.h:43: warning: int format, different type arg (arg 4) libavfilter/vf_showinfo.c: In function `end_frame': libavfilter/vf_showinfo.c:75: warning: int format, different type arg (arg 7) CC libavfilter/vf_slicify.o CC libavfilter/vf_split.o CC libavfilter/vf_swapuv.o CC libavfilter/vf_thumbnail.o CC libavfilter/vf_tile.o CC libavfilter/vf_transpose.o CC libavfilter/vf_unsharp.o CC libavfilter/vf_vflip.o CC libavfilter/vsink_nullsink.o CC libavfilter/vsrc_buffer.o CC libavfilter/vsrc_cellauto.o CC libavfilter/vsrc_color.o CC libavfilter/vsrc_life.o CC libavfilter/vsrc_mandelbrot.o CC libavfilter/vsrc_testsrc.o CC libavfilter/x86/gradfun.o AR libavfilter/libavfilter.a CC libavformat/4xm.o CC libavformat/a64.o CC libavformat/aacdec.o CC libavformat/ac3dec.o CC libavformat/act.o CC libavformat/adtsenc.o CC libavformat/adxdec.o CC libavformat/aea.o CC libavformat/aiffdec.o CC libavformat/aiffenc.o CC libavformat/allformats.o CC libavformat/amr.o CC libavformat/anm.o CC libavformat/apc.o CC libavformat/ape.o CC libavformat/apetag.o CC libavformat/asf.o CC libavformat/asfcrypt.o CC libavformat/asfdec.o libavformat/asfdec.c: In function `get_tag': libavformat/asfdec.c:185: warning: unsigned int format, different type arg (arg 4) libavformat/asfdec.c: In function `asf_read_header': libavformat/asfdec.c:593: warning: unknown conversion type character `I' in format libavformat/asfdec.c:593: warning: too many arguments for format libavformat/asfdec.c:595: warning: `I' flag used with `%x' printf format libavformat/asfdec.c:595: warning: unsigned int format, different type arg (arg 4) libavformat/asfdec.c:660: warning: unsigned int format, different type arg (arg 4) libavformat/asfdec.c:660: warning: unsigned int format, different type arg (arg 5) libavformat/asfdec.c: In function `ff_asf_get_packet': libavformat/asfdec.c:755: warning: int format, different type arg (arg 5) libavformat/asfdec.c:779: warning: int format, different type arg (arg 5) libavformat/asfdec.c:783: warning: int format, different type arg (arg 5) libavformat/asfdec.c:802: warning: int format, different type arg (arg 7) libavformat/asfdec.c: In function `asf_build_simple_index': libavformat/asfdec.c:1252: warning: `I' flag used with `%x' printf format libavformat/asfdec.c:1252: warning: unsigned int format, different type arg (arg 4) libavformat/asfdec.c:1261: warning: int format, different type arg (arg 6) libavformat/asfdec.c: In function `asf_read_seek': libavformat/asfdec.c:1298: warning: int format, different type arg (arg 4) CC libavformat/asfenc.o CC libavformat/assdec.o CC libavformat/assenc.o CC libavformat/au.o CC libavformat/audiointerleave.o CC libavformat/avc.o CC libavformat/avidec.o libavformat/avidec.c: In function `read_braindead_odml_indx': libavformat/avidec.c:168: warning: unknown conversion type character `I' in format libavformat/avidec.c:168: warning: too many arguments for format libavformat/avidec.c: In function `avi_read_header': libavformat/avidec.c:404: warning: `I' flag used with `%x' printf format libavformat/avidec.c:404: warning: unsigned int format, different type arg (arg 4) libavformat/avidec.c: In function `avi_read_idx1': libavformat/avidec.c:1277: warning: int format, different type arg (arg 5) libavformat/avidec.c: In function `avi_load_index': libavformat/avidec.c:1358: warning: `I' flag used with `%x' printf format libavformat/avidec.c:1358: warning: unsigned int format, different type arg (arg 4) libavformat/avidec.c: In function `avi_read_seek': libavformat/avidec.c:1420: warning: int format, different type arg (arg 4) libavformat/avidec.c:1420: warning: int format, different type arg (arg 5) libavformat/avidec.c:1420: warning: int format, different type arg (arg 6) CC libavformat/avienc.o libavformat/avienc.c: In function `avi_write_packet': libavformat/avienc.c:528: warning: int format, different type arg (arg 4) CC libavformat/avio.o In file included from libavformat/avio.c:30: libavformat/network.h:54:24: sys/socket.h: No such file or directory libavformat/network.h:55:24: netinet/in.h: No such file or directory libavformat/network.h:56:19: netdb.h: No such file or directory libavformat/network.h:62:23: arpa/inet.h: No such file or directory libavformat/network.h:66:18: poll.h: No such file or directory In file included from libavformat/avio.c:30: libavformat/network.h:80: warning: "struct in_addr" declared inside parameter list libavformat/network.h:80: warning: its scope is only this definition or declaration, which is probably not what you want libavformat/avio.c: In function `ffurl_write': libavformat/avio.c:305: warning: passing arg 2 of `retry_transfer_wrapper' discards qualifiers from pointer target type libavformat/avio.c: In function `url_alloc_for_protocol': libavformat/avio.c:117: warning: 'err' might be used uninitialized in this function libavformat/avio.c:146: warning: 'key' might be used uninitialized in this function make: *** [libavformat/avio.o] Error 1 -Brendan From shaker.doc at gmail.com Mon Apr 9 12:33:22 2012 From: shaker.doc at gmail.com (DEF) Date: Mon, 9 Apr 2012 11:33:22 +0100 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: On Apr 9, 2012 9:55 AM, "Brendan Brewster" wrote: > > Is there anything special I'm supposed to do to get a basic build to work > on Cygwin? Thanks in advance :) > > ~/ffmpeg-20120408-git-N-39644-g5d6a40b > $ ./configure > install prefix /usr/local > source path . > C compiler gcc gcc -version ?? cygwin1.dll version. ? From cehoyos at ag.or.at Mon Apr 9 12:54:21 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 9 Apr 2012 10:54:21 +0000 (UTC) Subject: [FFmpeg-user] Compiling on Cygwin References: Message-ID: Brendan Brewster gmail.com> writes: > $ ./configure > network support yes > CC libavformat/avio.o > In file included from libavformat/avio.c:30: > libavformat/network.h:54:24: sys/socket.h: No such file or directory > libavformat/network.h:55:24: netinet/in.h: No such file or directory > libavformat/network.h:56:19: netdb.h: No such file or directory > libavformat/network.h:62:23: arpa/inet.h: No such file or directory This is not expected: If there is no header arpa/inet.h, configure should test winsock2 and disable network if it is not available. Please confirm that you are using unpatched git head and please post an excerpt of config.log, beginning with "check_header arpa/inet.h" until "check_func nanosleep". (Work-around is --disable-network) Carl Eugen From ubitux at gmail.com Mon Apr 9 18:08:38 2012 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Mon, 9 Apr 2012 18:08:38 +0200 Subject: [FFmpeg-user] -t option is ignored In-Reply-To: References: <201203270028.38628.rodney.baker@iinet.net.au> <4F707D9F.6000905@yahoo.com> <4F713631.5050502@gmail.com> <20120328092325.GI5169@leki> <20120328130729.GJ5169@leki> Message-ID: <20120409160838.GA19676@leki> On Sun, Apr 01, 2012 at 10:23:34PM +0900, Martin G wrote: > > Could you try moving the -ss and -t after the -i now? :) > > Thank you for your continued assistance. > > I tried this, and it has unfortunately not made any difference. The > output still contains about 4 minutes of additional time, which > consists of no sound and frozen frame. > > f$ ffmpeg -i input.avi -ss 01:05:16 -t 120 -c:v copy -c:a copy output.avi > ffmpeg version 0.10.2-4:0.10.2-0ubuntu0jon1~oneiric1 Copyright (c) > 2000-2012 the FFmpeg developers Since I actually expected this issue quite often and wasn't able to find any similar or related issue (except maybe https://ffmpeg.org/trac/ffmpeg/ticket/977), I opened an issue which you can follow, comment, upvote or whatever: https://ffmpeg.org/trac/ffmpeg/ticket/1180. [...] -- Cl?ment B. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: not available URL: From mobilityrulezy3h at gmail.com Mon Apr 9 18:59:23 2012 From: mobilityrulezy3h at gmail.com (Mobility Lab) Date: Mon, 9 Apr 2012 12:59:23 -0400 Subject: [FFmpeg-user] ffmpeg unable to process settings when streaming to ffserver Message-ID: Hello, I have been having a problem where ffmpeg can't stream to ffserver. I now get an error where it states that the default settings are broken. Attached is the output of the following command line. ffmpeg -i 2005-SFSD-sample-mpeg1.mpg -an -vcodec libx264 -preset:v fast http://127.0.0.1:8090/feed1.ffm With the same settings, I have been able to convert the video into a .mp4 file, but not output to the .ffm file for ffserver. Any help with this would be greatly appreciated. I am using stable build 0.10.2, built on Ubuntu 11.04 using instructions found here: http://ubuntuforums.org/showthread.php?t=786095 Thanks for any help, Andrew -------------- next part -------------- ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 9 2012 09:27:41 with gcc 4.5.2 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [mpeg @ 0x1f483e0] max_analyze_duration 5000000 reached at 5005000 Input #0, mpeg, from '2005-SFSD-sample-mpeg1.mpg': Duration: 00:12:13.41, start: 0.213367, bitrate: 1388 kb/s Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 352x240 [SAR 200:219 DAR 880:657], 1150 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 224 kb/s [buffer @ 0x1f4f780] w:352 h:240 pixfmt:yuv420p tb:1/1000000 sar:200/219 sws_param: [libx264 @ 0x209cfa0] broken ffmpeg default settings detected [libx264 @ 0x209cfa0] use an encoding preset (e.g. -vpre medium) [libx264 @ 0x209cfa0] preset usage: -vpre -vpre [libx264 @ 0x209cfa0] speed presets are listed in x264 --help [libx264 @ 0x209cfa0] profile is optional; x264 defaults to high Output #0, ffm, to 'http://127.0.0.1:8090/feed1.ffm': Stream #0:0: Video: h264, yuv420p, 352x240 [SAR 200:219 DAR 880:657], q=2-31, 64 kb/s, 1000k tbn, 29.97 tbc Stream mapping: Stream #0:0 -> #0:0 (mpeg1video -> libx264) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height From tuyenphan2010 at gmail.com Mon Apr 9 17:03:34 2012 From: tuyenphan2010 at gmail.com (chappy) Date: Mon, 9 Apr 2012 08:03:34 -0700 (PDT) Subject: [FFmpeg-user] Audio is out of sync In-Reply-To: References: <1333728564607-4537705.post@n4.nabble.com> Message-ID: <1333983814137-4542995.post@n4.nabble.com> > Please provide the complete, uncut console output together > with the command line. localadmin at u11:~$ ffmpeg -f alsa -i hw:1,0 -vol 16000 -f video4linux2 -i /dev/video0 -vcodec libx264 -preset superfast -t 3 Test.mov ffmpeg version git-2012-03-30-3e1ff8e Copyright (c) 2000-2012 the FFmpeg developers built on Mar 29 2012 09:49:06 with gcc 4.6.1 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [alsa @ 0xae02b00] Estimating duration from bitrate, this may be inaccurate Input #0, alsa, from 'hw:1,0': Duration: N/A, start: 1333957510.389761, bitrate: 1024 kb/s Stream #0:0: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s [video4linux2,v4l2 @ 0xae129a0] Estimating duration from bitrate, this may be inaccurate Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1333957510.513805, bitrate: 124291 kb/s Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480, 124291 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc File 'Test.mov' already exists. Overwrite ? [y/N] y w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:flags=2 [libx264 @ 0xae13640] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0xae13640] profile High, level 3.0 [libx264 @ 0xae13640] 264 - core 122 r2184 5c85e0a - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00 Output #0, mov, to 'Test.mov': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x480, q=-1--1, 30k tbn, 29.97 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 32000 Hz, 2 channels, s16, 128 kb/s Stream mapping: Stream #1:0 -> #0:0 (rawvideo -> libx264) Stream #0:0 -> #0:1 (pcm_s16le -> libfaac) Press [q] to stop, [?] for help [alsa @ 0xae02b00] ALSA buffer xrun. DTS 2510245, next:2630138 st:0 invalid droping PTS 2510245, next:2630138 invalid droping st:0 DTS 2420166, next:2638138 st:0 invalid droping PTS 2420166, next:2638138 invalid droping st:0 DTS 2344076, next:2646138 st:0 invalid droping PTS 2344076, next:2646138 invalid droping st:0 DTS 2272773, next:2654138 st:0 invalid droping PTS 2272773, next:2654138 invalid droping st:0 DTS 2206240, next:2662138 st:0 invalid droping PTS 2206240, next:2662138 invalid droping st:0 DTS 2144402, next:2670138 st:0 invalid droping PTS 2144402, next:2670138 invalid droping st:0 DTS 2087178, next:2678138 st:0 invalid droping PTS 2087178, next:2678138 invalid droping st:0 DTS 2034474, next:2686138 st:0 invalid droping PTS 2034474, next:2686138 invalid droping st:0 [alsa @ 0xae02b00] ALSA buffer xrun. DTS 2867662, next:2881725 st:0 invalid droping PTS 2867662, next:2881725 invalid droping st:0 DTS 2862843, next:2889725 st:0 invalid droping PTS 2862843, next:2889725 invalid droping st:0 DTS 2858170, next:2897725 st:0 invalid droping PTS 2858170, next:2897725 invalid droping st:0 DTS 2851878, next:2905725 st:0 invalid droping PTS 2851878, next:2905725 invalid droping st:0 DTS 2846525, next:2913725 st:0 invalid droping PTS 2846525, next:2913725 invalid droping st:0 DTS 2842034, next:2921725 st:0 invalid droping PTS 2842034, next:2921725 invalid droping st:0 [alsa @ 0xae02b00] ALSA buffer xrun. DTS 2934146, next:2946711 st:0 invalid droping PTS 2934146, next:2946711 invalid droping st:0 DTS 2928980, next:2954711 st:0 invalid droping PTS 2928980, next:2954711 invalid droping st:0 DTS 2924398, next:2962711 st:0 invalid droping PTS 2924398, next:2962711 invalid droping st:0 DTS 2920384, next:2970711 st:0 invalid droping PTS 2920384, next:2970711 invalid droping st:0 DTS 2916950, next:2978711 st:0 invalid droping PTS 2916950, next:2978711 invalid droping st:0 DTS 2775795, next:2986711 st:0 invalid droping PTS 2775795, next:2986711 invalid droping st:0 DTS 2664544, next:2994711 st:0 invalid droping PTS 2664544, next:2994711 invalid droping st:0 DTS 2572903, next:3002711 st:0 invalid droping PTS 2572903, next:3002711 invalid droping st:0 frame= 89 fps=0.0 q=23.0 size= 390kB time=00:00:02.56 bitrate=1244.4kbits/frame= 90 fps=0.0 q=10343451.0 Lsize= 484kB time=00:00:02.93 bitrate=1349.4kbits/s dup=43 drop=0 video:477kB audio:4kB global headers:0kB muxing overhead 0.531188% [libx264 @ 0xae13640] frame I:1 Avg QP:19.37 size: 49004 [libx264 @ 0xae13640] frame P:23 Avg QP:17.42 size: 11639 [libx264 @ 0xae13640] frame B:66 Avg QP:19.44 size: 2590 [libx264 @ 0xae13640] consecutive B-frames: 2.2% 0.0% 0.0% 97.8% [libx264 @ 0xae13640] mb I I16..4: 21.0% 25.2% 53.9% [libx264 @ 0xae13640] mb P I16..4: 11.3% 0.9% 0.0% P16..4: 64.8% 0.0% 0.0% 0.0% 0.0% skip:23.0% [libx264 @ 0xae13640] mb B I16..4: 0.2% 0.1% 0.0% B16..8: 8.6% 0.0% 0.0% direct:28.9% skip:62.3% L0:21.9% L1:74.2% BI: 4.0% [libx264 @ 0xae13640] 8x8 transform intra:12.7% inter:54.4% [libx264 @ 0xae13640] coded y,uvDC,uvAC intra: 34.2% 96.4% 93.2% inter: 12.6% 33.6% 13.7% [libx264 @ 0xae13640] i16 v,h,dc,p: 89% 2% 6% 2% [libx264 @ 0xae13640] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 21% 32% 6% 4% 4% 6% 3% 13% [libx264 @ 0xae13640] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18% 13% 8% 7% 7% 8% 6% 12% [libx264 @ 0xae13640] i8c dc,h,v,p: 32% 39% 19% 10% [libx264 @ 0xae13640] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0xae13640] kb/s:1299.04 Thanks in advance -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Audio-is-out-of-sync-tp4537705p4542995.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From lovexue4ever at qq.com Mon Apr 9 11:08:28 2012 From: lovexue4ever at qq.com (=?gbk?B?aWVmdqPIo9Kj0w==?=) Date: Mon, 9 Apr 2012 17:08:28 +0800 Subject: [FFmpeg-user] questions of -vf yadif Message-ID: Thank you !I will try it! ------------------ Original ------------------ From: "Carl Eugen Hoyos"; Date: Mon, Apr 9, 2012 04:24 PM To: "ffmpeg-user"; Subject: Re: [FFmpeg-user] questions of -vf yadif <550399108 qq.com> writes: > FFmpeg version SVN-r26400, Copyright (c) 2000-2011 This is old, please test current git head. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From lovexue4ever at qq.com Mon Apr 9 11:10:35 2012 From: lovexue4ever at qq.com (=?gbk?B?aWVmdqPIo9Kj0w==?=) Date: Mon, 9 Apr 2012 17:10:35 +0800 Subject: [FFmpeg-user] =?gbk?q?=BB=D8=B8=B4=A3=BA__How_to_determine_the_vi?= =?gbk?q?deo_is_interlaced?= Message-ID: Hi Carl: I tried this filter.but the reports shown after encoding.How can I determine it before encoding? ------------------ ???? ------------------ ???: "Carl Eugen Hoyos"; ????: 2012?4?6?(???) ??7:34 ???: "ffmpeg-user"; ??: Re: [FFmpeg-user] How to determine the video is interlaced ??? 163.com> writes: > Can I determine the video is interlaced by ffmpeg? Yes, there is a new filter, "idet", test reports are welcome. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From iskilian at hotmail.com Mon Apr 9 22:28:20 2012 From: iskilian at hotmail.com (S Kilian) Date: Mon, 9 Apr 2012 16:28:20 -0400 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: , Message-ID: Brendan, I was able to compile FFmpeg (git version d76864d) under latest Cygwin installation (./configure; make; make install). However make sure you install YASM (eg: yasm-1.2.0.tar.gz) before compiling FFmpeg under Cygwin. - Steve From cehoyos at ag.or.at Mon Apr 9 23:24:18 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 9 Apr 2012 21:24:18 +0000 (UTC) Subject: [FFmpeg-user] Audio is out of sync References: <1333728564607-4537705.post@n4.nabble.com> <1333983814137-4542995.post@n4.nabble.com> Message-ID: chappy gmail.com> writes: > localadmin u11:~$ ffmpeg -f alsa -i hw:1,0 -vol 16000 > -f video4linux2 -i /dev/video0 -vcodec libx264 > -preset superfast -t 3 Test.mov I needed -async 1 to get A/V sync, it may make a difference if you put the video input before the audio input. Carl Eugen From cehoyos at ag.or.at Mon Apr 9 23:29:06 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 9 Apr 2012 21:29:06 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?b?5Zue5aSN77yaIEhvdyB0byBkZXRlcm1pbmUgdGhl?= =?utf-8?q?_video_is_interlaced?= References: Message-ID: iefv??? qq.com> writes: > I tried this filter.but the reports shown after encoding. > How can I determine it before encoding? Decoding is necessary to determine if the input is interlaced, if you you encode immediately or later is your decision... Carl Eugen From cehoyos at ag.or.at Mon Apr 9 23:25:53 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 9 Apr 2012 21:25:53 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg unable to process settings when streaming to ffserver References: Message-ID: Mobility Lab gmail.com> writes: > Any help with this would be greatly appreciated. I am using stable > build 0.10.2 There is absolutely nothing "stable" about a release. Carl Eugen From oussama.stiti at gmail.com Tue Apr 10 04:24:09 2012 From: oussama.stiti at gmail.com (Oussama Stiti) Date: Tue, 10 Apr 2012 11:24:09 +0900 Subject: [FFmpeg-user] Reference frame number Message-ID: Hi, I would like to display the frames number, which are referencing another frame. Any suggestion ? Thank you From brendan.brewster at gmail.com Tue Apr 10 05:32:50 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Mon, 9 Apr 2012 23:32:50 -0400 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: On Mon, Apr 9, 2012 at 6:33 AM, DEF wrote: > On Apr 9, 2012 9:55 AM, "Brendan Brewster" > wrote: > > > > Is there anything special I'm supposed to do to get a basic build to work > > on Cygwin? Thanks in advance :) > > > > ~/ffmpeg-20120408-git-N-39644-g5d6a40b > > $ ./configure > > install prefix /usr/local > > source path . > > C compiler gcc > > gcc -version ?? > cygwin1.dll version. ? > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > $ gcc -v Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) $ uname -r 1.5.25(0.156/4/2) -Brendan From brendan.brewster at gmail.com Tue Apr 10 05:35:21 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Mon, 9 Apr 2012 23:35:21 -0400 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: On Mon, Apr 9, 2012 at 4:28 PM, S Kilian wrote: > > > Brendan, > > I was able to compile FFmpeg (git version d76864d) under latest Cygwin > installation (./configure; make; make install). However make sure you > install YASM (eg: yasm-1.2.0.tar.gz) before compiling FFmpeg under Cygwin. > > - Steve > > > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Hi Steve, Thanks for you input however, I do already have yasm installed: $ yasm --version yasm 1.2.0 Compiled on Apr 8 2012. Copyright (c) 2001-2011 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. Also, note the output from configure that I provided previously: "yasm yes" -Brendan From brendan.brewster at gmail.com Tue Apr 10 05:43:24 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Mon, 9 Apr 2012 23:43:24 -0400 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: On Mon, Apr 9, 2012 at 6:54 AM, Carl Eugen Hoyos wrote: > Brendan Brewster gmail.com> writes: > > > $ ./configure > > > network support yes > > > CC libavformat/avio.o > > In file included from libavformat/avio.c:30: > > libavformat/network.h:54:24: sys/socket.h: No such file or directory > > libavformat/network.h:55:24: netinet/in.h: No such file or directory > > libavformat/network.h:56:19: netdb.h: No such file or directory > > > libavformat/network.h:62:23: arpa/inet.h: No such file or directory > > This is not expected: > If there is no header arpa/inet.h, configure should test winsock2 and > disable network if it is not available. > Please confirm that you are using unpatched git head and please post > an excerpt of config.log, beginning with "check_header arpa/inet.h" > until "check_func nanosleep". > > (Work-around is --disable-network) > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Hi Carl, Thanks for your feedback. Correct, no patches were applied and was the code revision noted in the path 20120408-git-N-39644-g5d6a40b at that point yesterday (no longer current I should imagine as of today). I should note that the code I was using was 'exported' via 'git archive' to that directory after a 'git pull' to get the most recent version. Here is the config.log excerpt as requested: check_header arpa/inet.h check_cpp BEGIN /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.5gegRvUB.c 1 #include 2 int x; END /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.5gegRvUB.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -std=c99 -fno-common -fomit-frame-pointer -E -o /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.Yr1BEv8j.o /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/f fconf.5gegRvUB.c check_func closesocket check_ld cc check_cc BEGIN /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.5gegRvUB.c 1 extern int closesocket(); 2 int main(void){ closesocket(); } END /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.5gegRvUB.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -std=c99 -fno-common -fomit-frame-pointer -c -o /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.Yr1BEv8j.o /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/f fconf.5gegRvUB.c gcc -Wl,--as-needed -o /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.rMroXX9z.exe /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.Yr1BEv8j.o /cygdrive/c/DOCUME~1/Br3wski3/LOCALS~1/Temp/ffconf.Yr1BEv8j.o:ffconf.5gegRvUB.c:(.text+0x2b): undefined reference to `_closesocket' collect2: ld returned 1 exit status check_func nanosleep Thanks, Brendan From help at nagashare.com Tue Apr 10 08:36:38 2012 From: help at nagashare.com (Bourne) Date: Tue, 10 Apr 2012 14:36:38 +0800 Subject: [FFmpeg-user] Transcode from wmv to flv problem Message-ID: <001401cd16e4$491a5730$db4f0590$@com> Hi All, It seems transcode from wmv to flv have many problems with the latest ffmpeg version. Here is the error information: [flv @ 00c490e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 616 >= 614 av_interleaved_write_frame(): Invalid argument I have tested many wmv file, most have that problem. Here is a sample wmv file: http://www.nagasoft.cn/download/hlm/hh.wmv And I found ?git-849f80f? version not have that problem, but the video and audio are not sync. Here is the command line: E:\ffmpeg>"C:\ffmpeg_new\bin\ffmpeg.exe" -i ?E:\media\wmv\hh.wmv? -y -vcodec libx 264 -preset veryfast -r 10 -b:v 400k -vf "movie=logo.png [movie];[in] [movie] overlay=main_w-overlay_w-10:10 [out]" -acodec libmp3lame -ar 44100 -b:a 6 4k -g 15 test.flv ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 9 2012 20:31:02 with gcc 4.6.3 configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzli b --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb -- enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lam e --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --en able-libxavs --enable-libxvid --enable-zlib libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, asf, from 'E:\media\wmv\hh.wmv': Metadata: WMFSDKVersion : 10.00.00.4072 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 00:01:18.81, start: 0.000000, bitrate: 280 kb/s Stream #0:0(chi): Audio: wmav2 (a[1][0][0] / 0x0161), 32000 Hz, 2 channels, s16, 32 kb/s Stream #0:1(chi): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 320x240, 241 kb/s, 23.98 tbr, 1k tbn, 1k tbc -deinterlace is deprecated, use -filter:v yadif instead [buffer @ 0003ba40] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:fl ags=2 [movie @ 00c14f60] seek_point:0 format_name:(null) file_name:bzntv.png stream_in dex:0 [overlay @ 00c67dc0] auto-inserting filter 'auto-inserted scale 0' between the f ilter 'Parsed_movie_0' and the filter 'Parsed_overlay_1' [scale @ 00be76a0] w:87 h:16 fmt:rgba sar:1/1 -> w:87 h:16 fmt:yuva420p sar:1/1 flags:0x4 [overlay @ 00c67dc0] main w:320 h:240 fmt:yuv420p overlay x:223 y:10 w:87 h:16 f mt:yuva420p [overlay @ 00c67dc0] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000 exact:1 [libx264 @ 00c77a40] using cpu capabilities: MMX2 SSE2Slow SlowCTZ [libx264 @ 00c77a40] profile High, level 1.3 [libx264 @ 00c77a40] 264 - core 120 r2164 da19765 - H.264/MPEG-4 AVC codec - Cop yleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deb lock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 m e_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro ma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_co mpat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 wei ghtb=1 open_gop=0 weightp=1 keyint=15 keyint_min=1 scenecut=40 intra_refresh=0 r c_lookahead=10 rc=abr mbtree=1 bitrate=400 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax= 69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, flv, to 'test.flv': Metadata: WMFSDKVersion : 10.00.00.4072 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 encoder : Lavf54.3.100 Stream #0:0(chi): Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 320x240, q=- 1--1, 400 kb/s, 1k tbn, 10 tbc Stream #0:1(chi): Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0:1 -> #0:0 (wmv3 -> libx264) Stream #0:0 -> #0:1 (wmav2 -> libmp3lame) Press [q] to stop, [?] for help [flv @ 00c490e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 616 >= 614 av_interleaved_write_frame(): Invalid argument Bourne From hlm at nagasoft.cn Tue Apr 10 08:29:50 2012 From: hlm at nagasoft.cn (=?gb2312?B?u8bA6MP3?=) Date: Tue, 10 Apr 2012 14:29:50 +0800 Subject: [FFmpeg-user] Transcode from wmv to flv problem Message-ID: <000e01cd16e3$55297520$ff7c5f60$@cn> Hi All, It seems transcode from wmv to flv have many problems with the latest ffmpeg version. Here is the error information: [flv @ 00c490e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 616 >= 614 av_interleaved_write_frame(): Invalid argument I have tested many wmv file, most have that problem. Here is a sample wmv file: http://www.nagasoft.cn/download/hlm/hh.wmv And I found ?git-849f80f? version not have that problem, but the video and audio are not sync. Here is the command line: E:\ffmpeg>"C:\ffmpeg_new\bin\ffmpeg.exe" -i ?E:\media\wmv\hh.wmv? -y -vcodec libx 264 -preset veryfast -r 10 -b:v 400k -vf "movie=logo.png [movie];[in] [movie] overlay=main_w-overlay_w-10:10 [out]" -acodec libmp3lame -ar 44100 -b:a 6 4k -g 15 test.flv ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 9 2012 20:31:02 with gcc 4.6.3 configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzli b --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb -- enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lam e --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --en able-libxavs --enable-libxvid --enable-zlib libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, asf, from 'E:\media\wmv\hh.wmv': Metadata: WMFSDKVersion : 10.00.00.4072 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 00:01:18.81, start: 0.000000, bitrate: 280 kb/s Stream #0:0(chi): Audio: wmav2 (a[1][0][0] / 0x0161), 32000 Hz, 2 channels, s16, 32 kb/s Stream #0:1(chi): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 320x240, 241 kb/s, 23.98 tbr, 1k tbn, 1k tbc -deinterlace is deprecated, use -filter:v yadif instead [buffer @ 0003ba40] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:fl ags=2 [movie @ 00c14f60] seek_point:0 format_name:(null) file_name:bzntv.png stream_in dex:0 [overlay @ 00c67dc0] auto-inserting filter 'auto-inserted scale 0' between the f ilter 'Parsed_movie_0' and the filter 'Parsed_overlay_1' [scale @ 00be76a0] w:87 h:16 fmt:rgba sar:1/1 -> w:87 h:16 fmt:yuva420p sar:1/1 flags:0x4 [overlay @ 00c67dc0] main w:320 h:240 fmt:yuv420p overlay x:223 y:10 w:87 h:16 f mt:yuva420p [overlay @ 00c67dc0] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000 exact:1 [libx264 @ 00c77a40] using cpu capabilities: MMX2 SSE2Slow SlowCTZ [libx264 @ 00c77a40] profile High, level 1.3 [libx264 @ 00c77a40] 264 - core 120 r2164 da19765 - H.264/MPEG-4 AVC codec - Cop yleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deb lock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 m e_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro ma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_co mpat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 wei ghtb=1 open_gop=0 weightp=1 keyint=15 keyint_min=1 scenecut=40 intra_refresh=0 r c_lookahead=10 rc=abr mbtree=1 bitrate=400 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax= 69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, flv, to 'test.flv': Metadata: WMFSDKVersion : 10.00.00.4072 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 encoder : Lavf54.3.100 Stream #0:0(chi): Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 320x240, q=- 1--1, 400 kb/s, 1k tbn, 10 tbc Stream #0:1(chi): Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0:1 -> #0:0 (wmv3 -> libx264) Stream #0:0 -> #0:1 (wmav2 -> libmp3lame) Press [q] to stop, [?] for help [flv @ 00c490e0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 616 >= 614 av_interleaved_write_frame(): Invalid argument Bourne From ch.sureshkumar.24 at gmail.com Tue Apr 10 14:46:17 2012 From: ch.sureshkumar.24 at gmail.com (suresh kumar) Date: Tue, 10 Apr 2012 18:16:17 +0530 Subject: [FFmpeg-user] Conversions Message-ID: Hi, Let me know is there any function name to convert from RGB to YUV .Can any one help me on this. I am using ffmpeg 0.9.1. From rbuteau at rgbnetworks.com Tue Apr 10 14:48:15 2012 From: rbuteau at rgbnetworks.com (Richard Buteau) Date: Tue, 10 Apr 2012 12:48:15 +0000 Subject: [FFmpeg-user] Reference frame number In-Reply-To: References: Message-ID: You can try media info (Format settings, ReFrames ) http://mediainfo.sourceforge.net/en Format : MPEG-4 Format profile : 3GPP Media Release 6 Basic Codec ID : 3gp6 File size : 1.39 MiB Duration : 30s 741ms Overall bit rate : 379 Kbps Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline at L2.1 Format settings, CABAC : No Format settings, ReFrames : 5 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 30s 720ms Bit rate mode : Variable -----Original Message----- From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Oussama Stiti Sent: Monday, April 09, 2012 9:24 PM To: FFmpeg user questions and RTFMs Subject: [FFmpeg-user] Reference frame number Hi, I would like to display the frames number, which are referencing another frame. Any suggestion ? Thank you _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From jshupert at pps-inc.com Tue Apr 10 15:31:40 2012 From: jshupert at pps-inc.com (Jim Shupert) Date: Tue, 10 Apr 2012 09:31:40 -0400 Subject: [FFmpeg-user] Conversions In-Reply-To: References: Message-ID: <4F84363C.2030607@pps-inc.com> > Hi, > Let me know is there any function name to convert from RGB to YUV .Can > any one help me on this. I am using ffmpeg 0.9.1. > _______________________________________________ maybe this might help get you started. if you have brg24 in an avi ffmpeg -i From oussama.stiti at gmail.com Tue Apr 10 16:30:26 2012 From: oussama.stiti at gmail.com (Oussama Stiti) Date: Tue, 10 Apr 2012 23:30:26 +0900 Subject: [FFmpeg-user] Reference frame number In-Reply-To: References: Message-ID: Hi, Is it possible to have the frame ID of the reference frames ? I need to build a tree, showing correlation, bitween H264 frames. Thank you. From ch.sureshkumar.24 at gmail.com Tue Apr 10 16:41:10 2012 From: ch.sureshkumar.24 at gmail.com (suresh kumar) Date: Tue, 10 Apr 2012 20:11:10 +0530 Subject: [FFmpeg-user] Conversions In-Reply-To: <4F84363C.2030607@pps-inc.com> References: <4F84363C.2030607@pps-inc.com> Message-ID: For windows please On Tue, Apr 10, 2012 at 7:01 PM, Jim Shupert wrote: > > > > Hi, >> Let me know is there any function name to convert from RGB to YUV .Can >> any one help me on this. I am using ffmpeg 0.9.1. >> ______________________________**_________________ >> > maybe this might help get you started. > if you have brg24 in an avi > ffmpeg -i -vtag 2vuy -f mov > ______________________________**_________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/**listinfo/ffmpeg-user > From ch.sureshkumar.24 at gmail.com Tue Apr 10 16:42:39 2012 From: ch.sureshkumar.24 at gmail.com (suresh kumar) Date: Tue, 10 Apr 2012 20:12:39 +0530 Subject: [FFmpeg-user] Conversions In-Reply-To: References: <4F84363C.2030607@pps-inc.com> Message-ID: For windows apart from sws_scale(); On Tue, Apr 10, 2012 at 8:11 PM, suresh kumar wrote: > For windows please > > > On Tue, Apr 10, 2012 at 7:01 PM, Jim Shupert wrote: > >> >> >> >> Hi, >>> Let me know is there any function name to convert from RGB to YUV >>> .Can >>> any one help me on this. I am using ffmpeg 0.9.1. >>> ______________________________**_________________ >>> >> maybe this might help get you started. >> if you have brg24 in an avi >> ffmpeg -i > -vtag 2vuy -f mov >> ______________________________**_________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user >> > > From funkyirish at gmail.com Tue Apr 10 19:35:57 2012 From: funkyirish at gmail.com (Josh long) Date: Tue, 10 Apr 2012 12:35:57 -0500 Subject: [FFmpeg-user] Conversions In-Reply-To: References: <4F84363C.2030607@pps-inc.com> Message-ID: On Tue, Apr 10, 2012 at 9:42 AM, suresh kumar wrote: > For windows apart from sws_scale(); > > On Tue, Apr 10, 2012 at 8:11 PM, suresh kumar > wrote: > > > For windows please > > > > > > On Tue, Apr 10, 2012 at 7:01 PM, Jim Shupert > wrote: > > > >> > >> > >> > >> Hi, > >>> Let me know is there any function name to convert from RGB to YUV > >>> .Can > >>> any one help me on this. I am using ffmpeg 0.9.1. > >>> ______________________________**_________________ > >>> > >> maybe this might help get you started. > >> if you have brg24 in an avi > >> ffmpeg -i >> -vtag 2vuy -f mov > >> ______________________________**_________________ > >> ffmpeg-user mailing list > >> ffmpeg-user at ffmpeg.org > >> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user< > http://ffmpeg.org/mailman/listinfo/ffmpeg-user> > >> > you should read the thread entitled 'bgra to yuv' closely, and post your experience here From mylaneza at gmail.com Tue Apr 10 23:01:51 2012 From: mylaneza at gmail.com (Ignacio Gonzalez) Date: Tue, 10 Apr 2012 16:01:51 -0500 Subject: [FFmpeg-user] command line for h264 rtp packetization-mode = 0 Message-ID: Hi all, which parameter do I have to use for packetization mode = 0 when using ffmpeg to send h264 video through a rtp? With my current command line the sdp message that ffmpeg print is: v=0 o=- 0 0 IN IP4 127.0.0.1 s=No Name c=IN IP4 10.168.123.201 t=0 0 a=tool:libavformat 54.3.100 m=video 8000 RTP/AVP 96 b=AS:186 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1 Thanks for your help and sorry for the english. From rickcorteza at gmail.com Wed Apr 11 04:05:06 2012 From: rickcorteza at gmail.com (Rick C.) Date: Wed, 11 Apr 2012 10:05:06 +0800 Subject: [FFmpeg-user] aac encoding coming from .mkv In-Reply-To: <0CF38950-5CD4-4DE6-939C-9CBFB4E9D775@gmail.com> References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> <0CF38950-5CD4-4DE6-939C-9CBFB4E9D775@gmail.com> Message-ID: <3AF34AD9-E569-4B42-AFCE-94047A4DEE27@gmail.com> On Apr 5, 2012, at 10:34 AM, Rick C. wrote: > > On Apr 4, 2012, at 3:40 PM, Carl Eugen Hoyos wrote: > >> Rick C. gmail.com> writes: >> >>> If I want to use -acodec aac -strict experimental -ab192k >>> coming from .mkv containing 6 channel dts/ac-3 >>> audio it seems to create a variable bit rate with low quality. >> >> "experimental" should give you the answer, but since it worked >> here when I tested last time, please provide the command line >> you used together with the complete, uncut console output. >> >> Carl Eugen >> > > > Here I just ran a sample converting both audio streams: > > Last login: Thu Apr 5 10:21:14 on ttys004 > mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Movies/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv -acodec aac -strict experimental -ab 192k -map 0:v:0 -map 0:a -t 120 /Users/mahalko/Desktop/test.mp4 > ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers > built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) > configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect > libavutil 51. 35.100 / 51. 35.100 > libavcodec 53. 61.100 / 53. 61.100 > libavformat 53. 32.100 / 53. 32.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 61.100 / 2. 61.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 6.100 / 0. 6.100 > libpostproc 52. 0.100 / 52. 0.100 > Input #0, matroska,webm, from '/Users/mahalko/Movies/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv': > Duration: 01:26:32.03, start: 0.000000, bitrate: 11481 kb/s > Chapter #0.0: start 0.000000, end 213.547000 > Metadata: > title : 00:00:00.000 > Chapter #0.1: start 213.547000, end 524.274000 > Metadata: > title : 00:03:33.547 > Chapter #0.2: start 524.274000, end 938.938000 > Metadata: > title : 00:08:44.274 > Chapter #0.3: start 938.938000, end 1368.158000 > Metadata: > title : 00:15:38.938 > Chapter #0.4: start 1368.158000, end 1908.323000 > Metadata: > title : 00:22:48.158 > Chapter #0.5: start 1908.323000, end 2194.401000 > Metadata: > title : 00:31:48.323 > Chapter #0.6: start 2194.401000, end 2828.159000 > Metadata: > title : 00:36:34.401 > Chapter #0.7: start 2828.159000, end 3360.315000 > Metadata: > title : 00:47:08.159 > Chapter #0.8: start 3360.315000, end 3459.581000 > Metadata: > title : 00:56:00.315 > Chapter #0.9: start 3459.581000, end 3865.111000 > Metadata: > title : 00:57:39.581 > Chapter #0.10: start 3865.111000, end 4228.850000 > Metadata: > title : 01:04:25.111 > Chapter #0.11: start 4228.850000, end 4473.469000 > Metadata: > title : 01:10:28.850 > Chapter #0.12: start 4473.469000, end 4586.582000 > Metadata: > title : 01:14:33.469 > Chapter #0.13: start 4586.582000, end 5192.032000 > Metadata: > title : 01:16:26.582 > Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) > Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default) > Metadata: > title : DTS > Stream #0:2: Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s > Metadata: > title : AC3 > Stream #0:3(eng): Subtitle: text (default) > Metadata: > title : English > Stream #0:4(dut): Subtitle: text > Metadata: > title : Nederlands > [buffer @ 0x1015197e0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: > Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt' > Last message repeated 1 times > [libx264 @ 0x101847a00] using SAR=1/1 > [libx264 @ 0x101847a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX > [libx264 @ 0x101847a00] profile High, level 4.0 > [libx264 @ 0x101847a00] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 > Output #0, mp4, to '/Users/mahalko/Desktop/test.mp4': > Metadata: > encoder : Lavf53.32.100 > Chapter #0.0: start 0.000000, end 120.000000 > Metadata: > title : 00:00:00.000 > Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc (default) > Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), flt, 192 kb/s (default) > Metadata: > title : DTS > Stream #0:2: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), flt, 192 kb/s > Metadata: > title : AC3 > Stream mapping: > Stream #0:0 -> #0:0 (h264 -> libx264) > Stream #0:1 -> #0:1 (dca -> aac) > Stream #0:2 -> #0:2 (ac3 -> aac) > Press [q] to stop, [?] for help > frame= 2878 fps= 19 q=-1.0 Lsize= 79879kB time=00:01:59.95 bitrate=5455.2kbits/s > video:76623kB audio:3129kB global headers:0kB muxing overhead 0.159208% > [libx264 @ 0x101847a00] frame I:129 Avg QP:21.15 size:112341 > [libx264 @ 0x101847a00] frame P:1639 Avg QP:23.78 size: 32999 > [libx264 @ 0x101847a00] frame B:1110 Avg QP:27.23 size: 8905 > [libx264 @ 0x101847a00] consecutive B-frames: 38.4% 29.5% 2.7% 29.3% > [libx264 @ 0x101847a00] mb I I16..4: 23.4% 71.9% 4.6% > [libx264 @ 0x101847a00] mb P I16..4: 2.5% 13.5% 0.8% P16..4: 29.1% 8.1% 2.8% 0.0% 0.0% skip:43.2% > [libx264 @ 0x101847a00] mb B I16..4: 0.1% 1.1% 0.0% B16..8: 16.3% 3.4% 0.5% direct: 1.7% skip:76.8% L0:49.1% L1:46.7% BI: 4.2% > [libx264 @ 0x101847a00] 8x8 transform intra:78.2% inter:83.9% > [libx264 @ 0x101847a00] coded y,uvDC,uvAC intra: 70.8% 62.8% 26.7% inter: 17.1% 12.5% 0.1% > [libx264 @ 0x101847a00] i16 v,h,dc,p: 79% 8% 5% 8% > [libx264 @ 0x101847a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 13% 20% 7% 10% 9% 9% 8% 9% > [libx264 @ 0x101847a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 12% 8% 12% 10% 9% 7% 7% > [libx264 @ 0x101847a00] i8c dc,h,v,p: 62% 16% 18% 5% > [libx264 @ 0x101847a00] Weighted P-Frames: Y:10.0% UV:7.4% > [libx264 @ 0x101847a00] ref P L0: 55.9% 13.5% 19.1% 11.2% 0.3% > [libx264 @ 0x101847a00] ref B L0: 71.5% 27.1% 1.4% > [libx264 @ 0x101847a00] ref B L1: 97.8% 2.2% > [libx264 @ 0x101847a00] kb/s:5229.17 > mahalkos-iMac:~ mahalko$ > > > And the resulting info: > > Last login: Thu Apr 5 10:25:31 on ttys005 > mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Desktop/test.mp4 > ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers > built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) > configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect > libavutil 51. 35.100 / 51. 35.100 > libavcodec 53. 61.100 / 53. 61.100 > libavformat 53. 32.100 / 53. 32.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 61.100 / 2. 61.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 6.100 / 0. 6.100 > libpostproc 52. 0.100 / 52. 0.100 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mahalko/Desktop/test.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf53.32.100 > Duration: 00:02:00.03, start: 0.000000, bitrate: 5451 kb/s > Chapter #0.0: start 0.000000, end 120.037000 > Metadata: > title : 00:00:00.000 > Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5229 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc > Metadata: > handler_name : VideoHandler > Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 107 kb/s > Metadata: > handler_name : SoundHandler > Stream #0:2(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 106 kb/s > Metadata: > handler_name : > At least one output file must be specified > mahalkos-iMac:~ mahalko$ > > Any thoughts on this Carl? Thanks, rc From funkyirish at gmail.com Wed Apr 11 04:12:46 2012 From: funkyirish at gmail.com (Josh long) Date: Tue, 10 Apr 2012 21:12:46 -0500 Subject: [FFmpeg-user] bgra to yuv In-Reply-To: References: <1330634734197-4436338.post@n4.nabble.com> Message-ID: On Wed, Apr 4, 2012 at 2:44 AM, Carl Eugen Hoyos wrote: > Josh long gmail.com> writes: > > > I would like to rephrase my original question; What's the > > best route to take (with quality preservation being the > > metric) to get to yuv444p from bgra? > > Since this is a long thread: > Please explain what you are trying to do (you do that above), > why you are trying it, what command line you are using, the > complete, uncut console output and what goes wrong. > > And because I'd like to understand the whole process: > How are you receiving the bgra frames? > (I ask because I have troubles believing anything produces > raw bgra frames.) > > Thank you, Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Here goes: I want to convert bgra 1920x1080 30fps video to yuv444p format for compression using straight dirac_encoder. This is for a school project, and the videos we have been given are recorded from some special camera that our client has. Here is what I've tried: ffmpeg -i 0_10_sec.avi -vcodec rawvideo -pix_fmt yuv444p yuv444.avi ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers built on Mar 16 2012 02:44:10 with gcc 4.6.1 configuration: --enable-libschroedinger libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 42. 4 / 53. 42. 4 libavformat 53. 24. 2 / 53. 24. 2 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 Input #0, avi, from '0_10_sec.avi': Duration: 00:00:10.00, start: 0.000000, bitrate: 1990665 kb/s Stream #0:0: Video: rawvideo, bgra, 1920x1080, 30 tbr, 30 tbn, 30 tbc [buffer @ 0x1e6cae0] w:1920 h:1080 pixfmt:bgra tb:1/1000000 sar:0/1 sws_param: [buffersink @ 0x1e652a0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x1e65aa0] w:1920 h:1080 fmt:bgra -> w:1920 h:1080 fmt:yuv444p flags:0x4 Output #0, avi, to 'yuv444.avi': Metadata: ISFT : Lavf53.24.2 Stream #0:0: Video: rawvideo, yuv444p, 1920x1080, q=2-31, 200 kb/s, 30 tbn, 30 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> rawvideo) Press [q] to stop, [?] for help frame= 5 fps= 0 q=0.0 size= 30381kB time=00:00:00.16 bitrate=1493263.2kbitframe= 10 fps= 10 q=0.0 size= 60756kB time=00:00:00.33 bitrate=1493131.5kbitframe= 15 fps= 9 q=0.0 size= 91131kB time=00:00:00.50 bitrate=1493084.7kbitframe= 19 fps= 9 q=0.0 size= 115431kB time=00:00:00.63 bitrate=1493066.4kbitframe= 24 fps= 9 q=0.0 size= 145806kB time=00:00:00.80 bitrate=1493050.6kbitframe= 28 fps= 9 q=0.0 size= 170106kB time=00:00:00.93 bitrate=1493043.1kbitframe= 31 fps= 8 q=0.0 size= 188331kB time=00:00:01.03 bitrate=1493038.3kbitframe= 34 fps= 7 q=0.0 size= 206556kB time=00:00:01.13 bitrate=1493034.4kbitframe= 37 fps= 7 q=0.0 size= 224781kB time=00:00:01.23 bitrate=1493031.1kbitframe= 40 fps= 7 q=0.0 size= 243006kB time=00:00:01.33 bitrate=1493028.3kbitframe= 43 fps= 7 q=0.0 size= 261231kB time=00:00:01.43 bitrate=1493025.9kbitframe= 46 fps= 7 q=0.0 size= 279456kB time=00:00:01.53 bitrate=1493023.8kbitframe= 48 fps= 6 q=0.0 size= 291606kB time=00:00:01.60 bitrate=1493022.3kbitframe= 50 fps= 6 q=0.0 size= 303756kB time=00:00:01.66 bitrate=1493020.8kbitframe= 53 fps= 6 q=0.0 size= 321981kB time=00:00:01.76 bitrate=1493019.3kbitframe= 56 fps= 6 q=0.0 size= 340206kB time=00:00:01.86 bitrate=1493018.0kbitframe= 59 fps= 6 q=0.0 size= 358431kB time=00:00:01.96 bitrate=1493016.7kbitframe= 62 fps= 6 q=0.0 size= 376656kB time=00:00:02.06 bitrate=1493015.6kbitframe= 64 fps= 5 q=0.0 size= 388806kB time=00:00:02.13 bitrate=1493015.4kbitframe= 66 fps= 5 q=0.0 size= 400956kB time=00:00:02.20 bitrate=1493014.5kbitframe= 68 fps= 5 q=0.0 size= 413106kB time=00:00:02.26 bitrate=1493013.7kbitframe= 70 fps= 5 q=0.0 size= 425256kB time=00:00:02.33 bitrate=1493013.6kbitframe= 72 fps= 5 q=0.0 size= 437406kB time=00:00:02.40 bitrate=1493012.8kbitframe= 74 fps= 5 q=0.0 size= 449556kB time=00:00:02.46 bitrate=1493012.1kbitframe= 76 fps= 5 q=0.0 size= 461706kB time=00:00:02.53 bitrate=1493012.0kbitframe= 78 fps= 5 q=0.0 size= 473856kB time=00:00:02.60 bitrate=1493011.4kbitframe= 81 fps= 5 q=0.0 size= 492081kB time=00:00:02.70 bitrate=1493010.7kbitframe= 84 fps= 5 q=0.0 size= 510306kB time=00:00:02.80 bitrate=1493010.1kbitframe= 87 fps= 5 q=0.0 size= 528531kB time=00:00:02.90 bitrate=1493009.6kbitframe= 90 fps= 5 q=0.0 size= 546756kB time=00:00:03.00 bitrate=1493009.0kbitframe= 92 fps= 5 q=0.0 size= 558906kB time=00:00:03.06 bitrate=1493008.6kbitframe= 95 fps= 5 q=0.0 size= 577131kB time=00:00:03.16 bitrate=1493008.1kbitframe= 98 fps= 5 q=0.0 size= 595356kB time=00:00:03.26 bitrate=1493007.7kbitframe= 101 fps= 5 q=0.0 size= 613581kB time=00:00:03.36 bitrate=1493007.3kbitframe= 104 fps= 5 q=0.0 size= 631806kB time=00:00:03.46 bitrate=1493006.9kbitframe= 107 fps= 5 q=0.0 size= 650031kB time=00:00:03.56 bitrate=1493006.5kbitframe= 110 fps= 5 q=0.0 size= 668256kB time=00:00:03.66 bitrate=1493006.2kbitframe= 112 fps= 5 q=0.0 size= 680406kB time=00:00:03.73 bitrate=1493006.2kbitframe= 116 fps= 5 q=0.0 size= 704706kB time=00:00:03.86 bitrate=1493005.5kbitframe= 119 fps= 5 q=0.0 size= 722931kB time=00:00:03.96 bitrate=1493005.2kbitframe= 122 fps= 5 q=0.0 size= 741156kB time=00:00:04.06 bitrate=1493005.0kbitframe= 125 fps= 5 q=0.0 size= 759382kB time=00:00:04.16 bitrate=1493004.7kbitframe= 128 fps= 5 q=0.0 size= 777607kB time=00:00:04.26 bitrate=1493004.4kbitframe= 131 fps= 5 q=0.0 size= 795832kB time=00:00:04.36 bitrate=1493004.2kbitframe= 134 fps= 5 q=0.0 size= 814057kB time=00:00:04.46 bitrate=1493004.0kbitframe= 137 fps= 5 q=0.0 size= 832282kB time=00:00:04.56 bitrate=1493003.7kbitframe= 140 fps= 5 q=0.0 size= 850507kB time=00:00:04.66 bitrate=1493003.5kbitframe= 143 fps= 5 q=0.0 size= 868732kB time=00:00:04.76 bitrate=1493003.3kbitframe= 145 fps= 5 q=0.0 size= 880882kB time=00:00:04.83 bitrate=1493003.4kbitframe= 148 fps= 5 q=0.0 size= 899107kB time=00:00:04.93 bitrate=1493003.2kbitframe= 151 fps= 5 q=0.0 size= 917332kB time=00:00:05.03 bitrate=1493003.0kbitframe= 154 fps= 5 q=0.0 size= 935557kB time=00:00:05.13 bitrate=1493002.9kbitframe= 155 fps= 5 q=0.0 size= 941632kB time=00:00:05.16 bitrate=1493002.6kbitframe= 156 fps= 5 q=0.0 size= 947707kB time=00:00:05.20 bitrate=1493002.6kbitframe= 157 fps= 5 q=0.0 size= 953782kB time=00:00:05.23 bitrate=1493002.7kbitframe= 159 fps= 5 q=0.0 size= 965932kB time=00:00:05.30 bitrate=1493002.5kbitframe= 161 fps= 5 q=0.0 size= 978082kB time=00:00:05.36 bitrate=1493002.3kbitframe= 164 fps= 5 q=0.0 size= 996307kB time=00:00:05.46 bitrate=1493002.1kbitframe= 167 fps= 5 q=0.0 size= 1014532kB time=00:00:05.56 bitrate=1493002.0kbitframe= 170 fps= 5 q=0.0 size= 1032757kB time=00:00:05.66 bitrate=1493001.8kbitframe= 173 fps= 5 q=0.0 size= 1050982kB time=00:00:05.76 bitrate=1493001.7kbitframe= 176 fps= 5 q=0.0 size= 1069211kB time=00:00:05.86 bitrate=1493007.3kbitframe= 180 fps= 5 q=0.0 size= 1093511kB time=00:00:06.00 bitrate=1493007.1kbitframe= 183 fps= 5 q=0.0 size= 1111736kB time=00:00:06.10 bitrate=1493006.9kbitframe= 186 fps= 5 q=0.0 size= 1129961kB time=00:00:06.20 bitrate=1493006.7kbitframe= 189 fps= 5 q=0.0 size= 1148186kB time=00:00:06.30 bitrate=1493006.5kbitframe= 192 fps= 5 q=0.0 size= 1166411kB time=00:00:06.40 bitrate=1493006.3kbitframe= 194 fps= 5 q=0.0 size= 1178561kB time=00:00:06.46 bitrate=1493006.1kbitframe= 198 fps= 5 q=0.0 size= 1202861kB time=00:00:06.60 bitrate=1493005.9kbitframe= 201 fps= 5 q=0.0 size= 1221086kB time=00:00:06.70 bitrate=1493005.7kbitframe= 204 fps= 5 q=0.0 size= 1239311kB time=00:00:06.80 bitrate=1493005.6kbitframe= 207 fps= 5 q=0.0 size= 1257536kB time=00:00:06.90 bitrate=1493005.4kbitframe= 209 fps= 5 q=0.0 size= 1269686kB time=00:00:06.96 bitrate=1493005.2kbitframe= 212 fps= 5 q=0.0 size= 1287911kB time=00:00:07.06 bitrate=1493005.0kbitframe= 215 fps= 5 q=0.0 size= 1306136kB time=00:00:07.16 bitrate=1493004.9kbitframe= 218 fps= 5 q=0.0 size= 1324361kB time=00:00:07.26 bitrate=1493004.7kbitframe= 222 fps= 5 q=0.0 size= 1348661kB time=00:00:07.40 bitrate=1493004.6kbitframe= 225 fps= 5 q=0.0 size= 1366886kB time=00:00:07.50 bitrate=1493004.5kbitframe= 227 fps= 5 q=0.0 size= 1379036kB time=00:00:07.56 bitrate=1493004.3kbitframe= 230 fps= 5 q=0.0 size= 1397261kB time=00:00:07.66 bitrate=1493004.2kbitframe= 233 fps= 5 q=0.0 size= 1415486kB time=00:00:07.76 bitrate=1493004.0kbitframe= 235 fps= 5 q=0.0 size= 1427636kB time=00:00:07.83 bitrate=1493004.1kbitframe= 238 fps= 5 q=0.0 size= 1445862kB time=00:00:07.93 bitrate=1493004.0kbitframe= 241 fps= 5 q=0.0 size= 1464087kB time=00:00:08.03 bitrate=1493003.8kbitframe= 245 fps= 5 q=0.0 size= 1488387kB time=00:00:08.16 bitrate=1493003.5kbitframe= 248 fps= 5 q=0.0 size= 1506612kB time=00:00:08.26 bitrate=1493003.4kbitframe= 251 fps= 5 q=0.0 size= 1524837kB time=00:00:08.36 bitrate=1493003.3kbitframe= 254 fps= 5 q=0.0 size= 1543062kB time=00:00:08.46 bitrate=1493003.2kbitframe= 256 fps= 5 q=0.0 size= 1555212kB time=00:00:08.53 bitrate=1493003.2kbitframe= 260 fps= 5 q=0.0 size= 1579512kB time=00:00:08.66 bitrate=1493003.0kbitframe= 262 fps= 5 q=0.0 size= 1591662kB time=00:00:08.73 bitrate=1493003.0kbitframe= 265 fps= 5 q=0.0 size= 1609887kB time=00:00:08.83 bitrate=1493002.9kbitframe= 268 fps= 5 q=0.0 size= 1628112kB time=00:00:08.93 bitrate=1493002.8kbitframe= 271 fps= 5 q=0.0 size= 1646337kB time=00:00:09.03 bitrate=1493002.7kbitframe= 274 fps= 5 q=0.0 size= 1664562kB time=00:00:09.13 bitrate=1493002.6kbitframe= 278 fps= 5 q=0.0 size= 1688862kB time=00:00:09.26 bitrate=1493002.4kbitframe= 281 fps= 5 q=0.0 size= 1707087kB time=00:00:09.36 bitrate=1493002.3kbitframe= 284 fps= 5 q=0.0 size= 1725312kB time=00:00:09.46 bitrate=1493002.2kbitframe= 288 fps= 5 q=0.0 size= 1749612kB time=00:00:09.60 bitrate=1493002.2kbitframe= 291 fps= 5 q=0.0 size= 1767837kB time=00:00:09.70 bitrate=1493002.1kbitframe= 293 fps= 5 q=0.0 size= 1779987kB time=00:00:09.76 bitrate=1493002.0kbitframe= 296 fps= 5 q=0.0 size= 1798212kB time=00:00:09.86 bitrate=1493001.9kbitframe= 299 fps= 5 q=0.0 size= 1816437kB time=00:00:09.96 bitrate=1493001.8kbitframe= 300 fps= 5 q=0.0 Lsize= 1822513kB time=00:00:10.00 bitrate=1493002.7kbits/s video:1822500kB audio:0kB global headers:0kB muxing overhead 0.000715% unfortunately the video ends up as nine segments in each frame, each some filter of the whole original frame, stacked in three rows and three columns. These are gray-scale, and it looks like they are components that could be added together in the right way to get the original video. Of course the project presentation is Thursday, so we're going to tell the client to use the x264 library. It's worth noting that the libschroedinger comand Carl recommended earlier in the thread will work, but not play in vlc (it will play in Gnome Mplayer). Thanks again, Blessings From de.techno at gmail.com Wed Apr 11 07:06:07 2012 From: de.techno at gmail.com (dE .) Date: Wed, 11 Apr 2012 10:36:07 +0530 Subject: [FFmpeg-user] Screencasting problem. In-Reply-To: <87zkamenaj.fsf@sanitarium.localdomain> References: <87zkamenaj.fsf@sanitarium.localdomain> Message-ID: <4F85113F.2010505@gmail.com> On 04/08/12 12:13, Noufal Ibrahim wrote: > Hello everyone, > I've been trying to make screencasts using ffmpeg on a VM. > > The command line I'm using is as follows. > > ffmpeg -f x11grab -s 1280x800 -r 50 -i :0.0 -f alsa -i pulse -sameq screencast.mpg > > > and I get the screencast but during recording, I keep seeing > messages like this > > [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=327057 size=341185 > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=329098 size=341185 > [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=329098 size=341185 > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=331139 size=341185 > [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=331139 size=341185 > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=333180 size=341185 > [mpeg @ 0x7ca590]packet too large, ignoring buffer limits to mux it > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=333180 size=341185 > [mpeg @ 0x7ca590]buffer underflow i=0 bufi=335221 size=341185 > > When I'm done with the screencast (which is about 8 minutes > long), I hit `q` and get the video. If I try to watch it, the audio is > perfectly fine without any choppiness but the video seems to have > missing frames. This is a guess based on my observation that the mouse > and text cursors suddenly disappear and appear later. > > I'm guessing that it's because of the problem I've pasted above > so I tried blindly passing -bufsize to the command line try to increase > the buffer size. Passing something like -bufsize 43000 makes the error > go away but I can't quit ffmpeg. It doesn't respond to `q` and Ctrl-C it > gives me a truncated video. > > I'd appreciate any pointers to fix the choppy video problem. > > Thanks. > IMO ffmpeg requires quiet a powerful CPU for real time encoding using any codec; thus for the purpose, I suggest you use recordmydesktop (it has a GTK interface too) which only captures the changed pixels and so is a LOT faster (you actually get 30 FPS). But notice, you wont be able to capture composting properly. In recordmydesktop, for the input audio device, I suggest you use pulse, you can do the same with ffmpeg too since pulseaudio can emulate ALSA devices. Using ALSA devices directly may cause a/v sync issues in both the programs. From shaily.athghara at gmail.com Wed Apr 11 08:14:58 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Wed, 11 Apr 2012 11:44:58 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe Message-ID: Hi, I am having this warning when encoding some videos to flv. Every time this warning appears, the first frames of the flv video seems to be wrong. The first frames of my flv becomes gray every time I get this warning. I am converting .raw and .wav file to generate the flv file. The command we are using is : ./ffmpeg -r 6.5 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv FFmpeg version SVN-r16573, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: libavutil 49.12. 0 / 49.12. 0 libavcodec 52.10. 0 / 52.10. 0 libavformat 52.23. 1 / 52.23. 1 libavdevice 52. 1. 0 / 52. 1. 0 built on Apr 3 2012 07:10:11, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) [h263 @ 0x164a5820]warning: first frame is no keyframe Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 6.50 (13/2) Input #0, h263, from '1.raw': Duration: N/A, bitrate: N/A Stream #0.0: Video: h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 6.50 tb(r) Input #1, wav, from '4.wav': Duration: 00:00:13.68, bitrate: 64 kb/s Stream #1.0: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Output #0, flv, to 'output.flv': Stream #0.0: Video: flv, yuv420p, 352x288 [PAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 6.50 tb(c) Stream #0.1: Audio: adpcm_swf, 11025 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press [q] to stop encoding [h263 @ 0x164a5820]warning: first frame is no keyframe [h263 @ 0x164a5820]concealing 308 DC, 308 AC, 308 MV errors frame= 189 fps= 0 q=3.4 Lsize= 916kB time=13.65 bitrate= 549.5kbits/s video:834kB audio:74kB global headers:0kB muxing overhead 0.860411% The video and audio all are in sysnc the only problem we are getting is the initial framed is not clear, and.After investigating it further,got to know that later version of ffmpeg has fixed this issue, So I have installed ffmpeg-0.10.2 and execute the same command ./ffmpeg -r 6.5 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 9 2012 12:55:03 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 [rawvideo @ 0xe6eaf40] Pixel format was not specified and cannot be detected Last message repeated 2 times [image2 @ 0xe6e4420] decoding for stream 0 failed [image2 @ 0xe6e4420] Could not find codec parameters (Video: rawvideo) 1.raw: could not find codec parameters The same command didn?t work in the ffmpeg 0.10.2 version, so execute the following command ./ffmpeg -s cif -r 30 -pix_fmt yuv420p -i 1.raw -vcodec flv -f flv output.flv ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 9 2012 12:55:03 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 Input #0, image2, from '1.raw': Duration: 00:00:00.03, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30 tbr, 30 tbn, 30 tbc [buffer @ 0x154eff80] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: Output #0, flv, to 'output.flv': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288, q=2-31, 200 kb/s, 1k tbn, 30 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> flv) Press [q] to stop, [?] for help frame= 1 fps= 0 q=7.6 Lsize= 125kB time=00:00:00.03 bitrate=31104.2kbits/s video:125kB audio:0kB global headers:0kB muxing overhead 0.178018% The command didn?t throw any exception but we didn?t get the desired video and audio.The video didn?t display any thing.Please suggest what I am doing wrong here. One more thing, in the above command ?frame = 1? where as when we execute the command using ffmpeg SVN-r16573 frame count is frame= 189.Please help me in solving this issue. Thanks, Shaily. From cehoyos at ag.or.at Wed Apr 11 08:33:23 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 11 Apr 2012 06:33:23 +0000 (UTC) Subject: [FFmpeg-user] aac encoding coming from .mkv References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> Message-ID: Rick C. gmail.com> writes: > If I want to use -acodec aac -strict experimental -ab192k > coming from .mkv containing 6 channel dts/ac-3 audio it > seems to create a variable bit rate with low quality. Please try with a significantly higher value for -ab (especially since the actual bitrate is lower than 192k in your example). Carl Eugen From cehoyos at ag.or.at Wed Apr 11 08:39:07 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 11 Apr 2012 06:39:07 +0000 (UTC) Subject: [FFmpeg-user] warning: first frame is no keyframe References: Message-ID: Shaily Athghara gmail.com> writes: > The first frames of my flv becomes gray every time I get this warning. > FFmpeg version SVN-r16573, Copyright (c) 2000-2009 This is ancient, please try current git head. Carl Eugen From shaily.athghara at gmail.com Wed Apr 11 08:45:14 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Wed, 11 Apr 2012 12:15:14 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe In-Reply-To: References: Message-ID: Could you please provide me the link for the same. I have downloaded ffmpeg 0.10.2 from http://ffmpeg.org/download.html#release_0.10. On Wed, Apr 11, 2012 at 12:09 PM, Carl Eugen Hoyos wrote: > Shaily Athghara gmail.com> writes: > > > The first frames of my flv becomes gray every time I get this warning. > > > FFmpeg version SVN-r16573, Copyright (c) 2000-2009 > > This is ancient, please try current git head. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From cehoyos at ag.or.at Wed Apr 11 08:49:07 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 11 Apr 2012 06:49:07 +0000 (UTC) Subject: [FFmpeg-user] bgra to yuv References: <1330634734197-4436338.post@n4.nabble.com> Message-ID: Josh long gmail.com> writes: > Here goes: I want to convert bgra 1920x1080 30fps video (I am still curious how / why you get bgra video: Is that ray-traced material containing transparency?) > to yuv444p format for compression using straight dirac_encoder. > ffmpeg -i 0_10_sec.avi -vcodec rawvideo -pix_fmt yuv444p yuv444.avi Why don't you use libschroedinger instead of rawvideo in this command line if your goal is to get dirac in avi? (The real question is why you want to use yuv444 dirac: dirac usually has no advantages over other codecs, if you need a lossless codec, try ffv1, it also supports RGB.) Concerning your command line: yuv444 is not defined in avi (if you have a counter-example, please share it!), use nut if you need to store raw yuv444p in a container (I do not think that is what you want to do). And please note that if you are a user, current git head is always recommended. Carl Eugen From cehoyos at ag.or.at Wed Apr 11 08:52:21 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 11 Apr 2012 06:52:21 +0000 (UTC) Subject: [FFmpeg-user] warning: first frame is no keyframe References: Message-ID: Shaily Athghara gmail.com> writes: > Could you please provide me the link for the same. > > I have downloaded ffmpeg 0.10.2 from > http://ffmpeg.org/download.html#release_0.10. Look for "FFmpeg Repository Snapshots" on the same page. Please do not top-post here, Carl Eugen From shaily.athghara at gmail.com Wed Apr 11 09:19:02 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Wed, 11 Apr 2012 12:49:02 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe Message-ID: As suggested I have downloaded git snapshot from FFmpeg Repository Snapshots "ffmpeg-snapshot-git.tar.bz2" and perform the following steps: 1. tar jxf ffmpeg-snapshot-git.tar.bz2 2. cd ffmpeg 3. ./configure && make 4. Make install 5. Execute the command ./ffmpeg -r 6.5 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 [rawvideo @ 0x1d48cf80]* Pixel format was not specified and cannot be detected* Last message repeated 1 times [image2 @ 0x1d486420] *Could not find codec parameters (Video: rawvideo)* 1.raw: could not find codec parameters *Got the same error* then execute the following command *./ffmpeg -s cif -r 6.5 -pix_fmt yuv420p -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv* ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 Input #0, image2, from '1.raw': Duration: 00:00:00.15, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 6.50 tbr, 6.50 tbn, 6.50 tbc [wav @ 0x108e39c0] max_analyze_duration 5000000 reached at 5120000 Input #1, wav, from '4.wav': Duration: 00:00:13.68, bitrate: 64 kb/s Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 channels, s16, 64 kb/s [buffer @ 0x108f1880] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:flags=2 Output #0, flv, to 'output.flv': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288, q=2-31, 200 kb/s, 1k tbn, 6.50 tbc Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 channels, s16, 44 kb/s Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> flv) Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) Press [q] to stop, [?] for help *frame= 1 fps=0.0 q=7.6 Lsize= 205kB time=00:00:00.15 bitrate=10885.1kbits/s video:125kB audio:75kB global headers:0kB muxing overhead 2.472589%* but still this generate video of 125 KB with frame=1,which is the corrupted one.Please suggest What should be the correct procedure/command. From cehoyos at ag.or.at Wed Apr 11 11:51:46 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 11 Apr 2012 09:51:46 +0000 (UTC) Subject: [FFmpeg-user] warning: first frame is no keyframe References: Message-ID: Shaily Athghara gmail.com> writes: > 4. Make install (Completely unrelated: You don't have to install FFmpeg to use it.) > 5. Execute the command > ./ffmpeg -r 6.5 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv If 1.raw is indeed h263 video (as your original mail implies), either rename it to 1.h263 or use ffmpeg -f h263 -i out.raw, .raw now implies rawvideo (does anybody think this was a bad idea?), I don't think it is typically likely that .raw is h263. Carl Eugen From shaily.athghara at gmail.com Wed Apr 11 12:41:25 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Wed, 11 Apr 2012 16:11:25 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe Message-ID: Thanks Carl, After executing the following command ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv It outputs the correct number of frames (frame=189) but started giving the same warning "warning: first frame is no keyframe" and the initial frame are grayed out. ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 [h263 @ 0x1cdac20] warning: first frame is no keyframe [h263 @ 0x1ccc4e0] max_analyze_duration 5000000 reached at 5005000 [h263 @ 0x1ccc4e0] Estimating duration from bitrate, this may be inaccurate Input #0, h263, from '1.raw': Duration: N/A, bitrate: N/A Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [wav @ 0x1e89be0] max_analyze_duration 5000000 reached at 5120000 Input #1, wav, from '4.wav': Duration: 00:00:13.68, bitrate: 64 kb/s Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 channels, s16, 64 kb/s [buffer @ 0x1cdb3e0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:flags=2 Output #0, flv, to 'output.flv': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288 [SAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 channels, s16, 44 kb/s Stream mapping: Stream #0:0 -> #0:0 (h263 -> flv) Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) Press [q] to stop, [?] for help [h263 @ 0x1cdac20] warning: first frame is no keyframe [h263 @ 0x1cdac20] concealing 308 DC, 308 AC, 308 MV errors frame= 189 fps=0.0 q=7.5 Lsize= 342kB time=00:00:06.43 bitrate= 434.6kbits/s video:259kB audio:75kB global headers:0kB muxing overhead 2.359965% I tried the next option as well renaming 1.raw to 1.h263 but this also gives the same output. Also notice some more messages like "max_analyze_duration 5000000 reached at 5005000" and " Estimating duration from bitrate, this may be inaccurate" not sure whether these are errors or just info messages. From akshar_tank at yahoo.com Wed Apr 11 12:47:29 2012 From: akshar_tank at yahoo.com (tank pranav) Date: Wed, 11 Apr 2012 03:47:29 -0700 (PDT) Subject: [FFmpeg-user] warning: first frame is no keyframe In-Reply-To: References: Message-ID: <1334141249.95739.YahooMailNeo@web122504.mail.ne1.yahoo.com> when ever any video you decode , if that video starts with partial GOP then its not possible to decode that kind of GOP. Take an example of let's say , if any video starts with B or P frame then this kind of frames are not possible to decode that is why ffmpeg is giving gray frames. Now what is the solution of that , you start decoding you video when u encounter first I frame. so from there after , you will get whole frames proper. ( thati s done by dvbcut software , if you are not aware about this software then try once by downloading it ). ________________________________ From: Shaily Athghara To: ffmpeg-user at ffmpeg.org Sent: Wednesday, April 11, 2012 4:11 PM Subject: [FFmpeg-user] warning: first frame is no keyframe Thanks Carl, After executing the following command ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv It outputs the correct number of frames (frame=189) but started giving the same warning "warning: first frame is no keyframe" and the initial frame are grayed out. ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers ? built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) ? configuration: ? libavutil? ? ? 51. 46.100 / 51. 46.100 ? libavcodec? ? 54. 14.101 / 54. 14.101 ? libavformat? ? 54.? 3.100 / 54.? 3.100 ? libavdevice? ? 53.? 4.100 / 53.? 4.100 ? libavfilter? ? 2. 67.101 /? 2. 67.101 ? libswscale? ? ? 2.? 1.100 /? 2.? 1.100 ? libswresample? 0. 10.100 /? 0. 10.100 [h263 @ 0x1cdac20] warning: first frame is no keyframe [h263 @ 0x1ccc4e0] max_analyze_duration 5000000 reached at 5005000 [h263 @ 0x1ccc4e0] Estimating duration from bitrate, this may be inaccurate Input #0, h263, from '1.raw': ? Duration: N/A, bitrate: N/A ? ? Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [wav @ 0x1e89be0] max_analyze_duration 5000000 reached at 5120000 Input #1, wav, from '4.wav': ? Duration: 00:00:13.68, bitrate: 64 kb/s ? ? Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 channels, s16, 64 kb/s [buffer @ 0x1cdb3e0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:flags=2 Output #0, flv, to 'output.flv': ? Metadata: ? ? encoder? ? ? ? : Lavf54.3.100 ? ? Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288 [SAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc ? ? Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 channels, s16, 44 kb/s Stream mapping: ? Stream #0:0 -> #0:0 (h263 -> flv) ? Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) Press [q] to stop, [?] for help [h263 @ 0x1cdac20] warning: first frame is no keyframe [h263 @ 0x1cdac20] concealing 308 DC, 308 AC, 308 MV errors frame=? 189 fps=0.0 q=7.5 Lsize=? ? 342kB time=00:00:06.43 bitrate= 434.6kbits/s video:259kB audio:75kB global headers:0kB muxing overhead 2.359965% I tried the next option as well renaming 1.raw to 1.h263 but this also gives the same output. Also notice some more messages like "max_analyze_duration 5000000 reached at 5005000" and " Estimating duration from bitrate, this may be inaccurate"? not sure whether these are errors or just info messages. _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From shaily.athghara at gmail.com Wed Apr 11 14:04:25 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Wed, 11 Apr 2012 17:34:25 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe In-Reply-To: <1334141249.95739.YahooMailNeo@web122504.mail.ne1.yahoo.com> References: <1334141249.95739.YahooMailNeo@web122504.mail.ne1.yahoo.com> Message-ID: But this issue seems to be fixed in the latest release of ffmpeg.Please suggest some ffmpeg command so that I can extract the I frames by using this . I have downloaded dvbcut-0.5.4 but when I am executing the command "make" its throwing the error dvbcut-0.5.4]# make scons \ make: scons: Command not found make: *** [build] Error 127 On Wed, Apr 11, 2012 at 4:17 PM, tank pranav wrote: > when ever any video you decode , if that video starts with partial GOP > then its not possible to decode that kind of GOP. Take an example of let's > say , if any video starts with B or P frame then this kind of frames are > not possible to decode that is why ffmpeg is giving gray frames. > > Now what is the solution of that , you start decoding you video when u > encounter first I frame. so from there after , you will get whole frames > proper. ( thati s done by dvbcut software , if you are not aware about this > software then try once by downloading it ). > > > > > ________________________________ > From: Shaily Athghara > To: ffmpeg-user at ffmpeg.org > Sent: Wednesday, April 11, 2012 4:11 PM > Subject: [FFmpeg-user] warning: first frame is no keyframe > > Thanks Carl, > > After executing the following command > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > > It outputs the correct number of frames (frame=189) but started giving the > same warning > > "warning: first frame is no keyframe" and the initial frame are grayed out. > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers > built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) > configuration: > libavutil 51. 46.100 / 51. 46.100 > libavcodec 54. 14.101 / 54. 14.101 > libavformat 54. 3.100 / 54. 3.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 67.101 / 2. 67.101 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 10.100 / 0. 10.100 > [h263 @ 0x1cdac20] warning: first frame is no keyframe > [h263 @ 0x1ccc4e0] max_analyze_duration 5000000 reached at 5005000 > [h263 @ 0x1ccc4e0] Estimating duration from bitrate, this may be inaccurate > Input #0, h263, from '1.raw': > Duration: N/A, bitrate: N/A > Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 > fps, 29.97 tbr, 1200k tbn, 29.97 tbc > [wav @ 0x1e89be0] max_analyze_duration 5000000 reached at 5120000 > Input #1, wav, from '4.wav': > Duration: 00:00:13.68, bitrate: 64 kb/s > Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 > channels, s16, 64 kb/s > [buffer @ 0x1cdb3e0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 > sws_param:flags=2 > Output #0, flv, to 'output.flv': > Metadata: > encoder : Lavf54.3.100 > Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288 [SAR > 12:11 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc > Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 > channels, s16, 44 kb/s > Stream mapping: > Stream #0:0 -> #0:0 (h263 -> flv) > Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) > Press [q] to stop, [?] for help > [h263 @ 0x1cdac20] warning: first frame is no keyframe > [h263 @ 0x1cdac20] concealing 308 DC, 308 AC, 308 MV errors > frame= 189 fps=0.0 q=7.5 Lsize= 342kB time=00:00:06.43 bitrate= > 434.6kbits/s > video:259kB audio:75kB global headers:0kB muxing overhead 2.359965% > > I tried the next option as well renaming 1.raw to 1.h263 but this also > gives the same output. > Also notice some more messages like "max_analyze_duration 5000000 reached > at 5005000" and " Estimating duration from bitrate, this may be > inaccurate" not sure whether these are errors or just info messages. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From akshar_tank at yahoo.com Wed Apr 11 14:22:44 2012 From: akshar_tank at yahoo.com (tank pranav) Date: Wed, 11 Apr 2012 05:22:44 -0700 (PDT) Subject: [FFmpeg-user] warning: first frame is no keyframe In-Reply-To: References: <1334141249.95739.YahooMailNeo@web122504.mail.ne1.yahoo.com> Message-ID: <1334146964.92197.YahooMailNeo@web122501.mail.ne1.yahoo.com> Well, I dont know about this has got fixed or not.............. but to get all I frames exist in the video this is the command. ffmpeg -i file.ts? -vf?? select="eq(pict_type\,PICT_TYPE_I)"? -f? image2?? images%05d.jpeg So, now what ever first frame you will get from above command , that will? be your first I frame. so you need to do some prgramming , so that ffmpeg should come to know that from first I frame it has to start decoding and generating pictures. Regards, pranav. ________________________________ From: Shaily Athghara To: FFmpeg user questions and RTFMs Sent: Wednesday, April 11, 2012 5:34 PM Subject: Re: [FFmpeg-user] warning: first frame is no keyframe But this issue seems to be fixed in the latest release of ffmpeg.Please suggest some ffmpeg command so that I can extract the I frames by using this . I have downloaded dvbcut-0.5.4 but when I am executing the command "make" its throwing the error dvbcut-0.5.4]# make scons? \ make: scons: Command not found make: *** [build] Error 127 On Wed, Apr 11, 2012 at 4:17 PM, tank pranav wrote: > when ever any video you decode , if that video starts with partial GOP > then its not possible to decode that kind of GOP. Take an example of let's > say , if any video starts with B or P frame then this kind of frames are > not possible to decode that is why ffmpeg is giving gray frames. > > Now what is the solution of that , you start decoding you video when u > encounter first I frame. so from there after , you will get whole frames > proper. ( thati s done by dvbcut software , if you are not aware about this > software then try once by downloading it ). > > > > > ________________________________ >? From: Shaily Athghara > To: ffmpeg-user at ffmpeg.org > Sent: Wednesday, April 11, 2012 4:11 PM > Subject: [FFmpeg-user] warning: first frame is no keyframe > > Thanks Carl, > > After executing the following command > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > > It outputs the correct number of frames (frame=189) but started giving the > same warning > > "warning: first frame is no keyframe" and the initial frame are grayed out. > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers >? built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) >? configuration: >? libavutil? ? ? 51. 46.100 / 51. 46.100 >? libavcodec? ? 54. 14.101 / 54. 14.101 >? libavformat? ? 54.? 3.100 / 54.? 3.100 >? libavdevice? ? 53.? 4.100 / 53.? 4.100 >? libavfilter? ? 2. 67.101 /? 2. 67.101 >? libswscale? ? ? 2.? 1.100 /? 2.? 1.100 >? libswresample? 0. 10.100 /? 0. 10.100 > [h263 @ 0x1cdac20] warning: first frame is no keyframe > [h263 @ 0x1ccc4e0] max_analyze_duration 5000000 reached at 5005000 > [h263 @ 0x1ccc4e0] Estimating duration from bitrate, this may be inaccurate > Input #0, h263, from '1.raw': >? Duration: N/A, bitrate: N/A >? ? Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 > fps, 29.97 tbr, 1200k tbn, 29.97 tbc > [wav @ 0x1e89be0] max_analyze_duration 5000000 reached at 5120000 > Input #1, wav, from '4.wav': >? Duration: 00:00:13.68, bitrate: 64 kb/s >? ? Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 > channels, s16, 64 kb/s > [buffer @ 0x1cdb3e0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 > sws_param:flags=2 > Output #0, flv, to 'output.flv': >? Metadata: >? ? encoder? ? ? ? : Lavf54.3.100 >? ? Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288 [SAR > 12:11 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc >? ? Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 > channels, s16, 44 kb/s > Stream mapping: >? Stream #0:0 -> #0:0 (h263 -> flv) >? Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) > Press [q] to stop, [?] for help > [h263 @ 0x1cdac20] warning: first frame is no keyframe > [h263 @ 0x1cdac20] concealing 308 DC, 308 AC, 308 MV errors > frame=? 189 fps=0.0 q=7.5 Lsize=? ? 342kB time=00:00:06.43 bitrate= > 434.6kbits/s > video:259kB audio:75kB global headers:0kB muxing overhead 2.359965% > > I tried the next option as well renaming 1.raw to 1.h263 but this also > gives the same output. > Also notice some more messages like "max_analyze_duration 5000000 reached > at 5005000" and " Estimating duration from bitrate, this may be > inaccurate"? not sure whether these are errors or just info messages. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From tomas at slax.org Wed Apr 11 14:23:30 2012 From: tomas at slax.org (Tomas M) Date: Wed, 11 Apr 2012 14:23:30 +0200 Subject: [FFmpeg-user] transcode mpeg2 changing aspect ratio mid-stream (WSS/AFD/DAR/whatever) Message-ID: I am trying to convert MPEG2 program stream files with ffmpeg. These often change aspect ratio mid-stream between 4:3 and 16:9 (for example on change of programming or ads). The video stream resolution is fixed, but each frame (probably) has some information whether the player should display it as 16:9 or downscale to 4:3. This is sometimes referred as WSS (WideScreen Signalling), sometimes AFD (Active Format Description), sometimes just as DAR (Display Aspect Ratio), but I believe it is even something else. All players which I tried (ffplay, mplayer, vlc) can automatically handle this just fine, eg: they automatically rescale according to current aspect ratio. The problem is that i can not get ffmpeg to encode such files and maintain automatically the right aspect ratio for each frame. Instead, it always seems to use the aspect ratio with which the mpeg2 file starts up, thus the output video plays using a constant aspect ratio only, and the image is stretched. I have tried latest builds of ffmpeg with no luck. Am I missing anything? Thank you Tomas M From batguano999 at hotmail.com Wed Apr 11 20:01:53 2012 From: batguano999 at hotmail.com (bat guano) Date: Wed, 11 Apr 2012 18:01:53 +0000 Subject: [FFmpeg-user] Transcode from wmv to flv problem In-Reply-To: <001401cd16e4$491a5730$db4f0590$@com> References: <001401cd16e4$491a5730$db4f0590$@com> Message-ID: > > Here is a sample wmv file: http://www.nagasoft.cn/download/hlm/hh.wmv > > That link won't load for me. From erkivph at gmail.com Wed Apr 11 00:31:40 2012 From: erkivph at gmail.com (youla) Date: Tue, 10 Apr 2012 15:31:40 -0700 (PDT) Subject: [FFmpeg-user] Invalid non monotonically increasing dts In-Reply-To: References: <1308138402.16160.2.camel@base-desktop> Message-ID: <1334097100445-4547246.post@n4.nabble.com> Hi, searching everywhere how to solved this "non monotonically increasing dts" on flv files, I finally retreive en EXE, trying to find the last time when all was always *everytime* ok, with every kind of files flv and others (I never had this problem before this date). >From most of my old flv and many of the new ones to any format (Audio or video, with 1 or 2 pass) etc ffmpeg-git-e01f478-win32-static.7z 19-Mar-2012 22:28 seems to work fine everytime Hope that's will help, because a simple ffmpeg copy also doesn't work no more yet ! I guess you will ask me my parms, I don't think they are importants, or I've missed a new specific one . I'm on windows with a static module. And my feeling is : it's an old bug comming up again (google's searches) Can anyone test and confirm this idea ? -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Invalid-non-monotonically-increasing-dts-tp3599164p4547246.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From ranuser99 at gmail.com Wed Apr 11 09:53:07 2012 From: ranuser99 at gmail.com (Ran User) Date: Wed, 11 Apr 2012 00:53:07 -0700 Subject: [FFmpeg-user] pipe ffplay to ffmpeg - or - loop input video in ffmpeg for rtmp broadcast stream ? Message-ID: The goal is to loop input video in ffmpeg, for a on-going rtmp broadcast. Unfortunately the -loop tag apparently only works for images (unless I've missed something): ffmpeg -re -i test.mp4 -loop 10 -acodec copy -vcodec copy -f flv rtmp://server/app/streamname Another approach would be to pipe ffplay into ffmpeg, any ideas on what the command line would look like? I tried: ffplay -i extremists-short.mp4 -loop 0 | ffmpeg -re -i pipe:0 -acodec copy -vcodec copy -f flv rtmp://server/app/streamname and cat ffplay -i extremists-short.mp4 -loop 0 | ffmpeg -re -i pipe:0 -acodec copy -vcodec copy -f flv rtmp://server/app/streamname to no avail.. thanks for any guidance! From tuyenphan2010 at gmail.com Tue Apr 10 18:54:20 2012 From: tuyenphan2010 at gmail.com (chappy) Date: Tue, 10 Apr 2012 09:54:20 -0700 (PDT) Subject: [FFmpeg-user] Working with ffmpeg videos in Final Cut Pro 7 issue Message-ID: <1334076860888-4546272.post@n4.nabble.com> I've tried many different codecs that ffmpeg has but none of my recorded videos work well in Final Cut Pro. The major issue that I am having is it takes FCP an hour to export a one minute video that captured via ffmpeg. FCP seems to encode and decode my video, I am not sure. When I imported my video into FCP I chose to match the sequence setting with the imported video. Does any one of you know how to solve this back breaking issue? Thx in advance -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Working-with-ffmpeg-videos-in-Final-Cut-Pro-7-issue-tp4546272p4546272.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From zammargu at marvell.com Wed Apr 11 21:03:47 2012 From: zammargu at marvell.com (Zahira Ammarguellat) Date: Wed, 11 Apr 2012 12:03:47 -0700 Subject: [FFmpeg-user] undefined symbols when linking with ffmpeg code Message-ID: Hello, I am calling the ffmpeg functionalities from some C++ application. It is compiling but I am getting some undefined references at link time. /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:365: undefined reference to `av_malloc(unsigned int)' client/sinks/ffplay/MarvellFfplay.o: In function `packet_queue_flush': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:403: undefined reference to `av_freep(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `packet_queue_get': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:449: undefined reference to `av_free(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `video_audio_display': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:884: undefined reference to `av_free(void*)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:887: undefined reference to `av_malloc(unsigned int)' client/sinks/ffplay/MarvellFfplay.o: In function `stream_close': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:960: undefined reference to `av_free(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `do_exit': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:987: undefined reference to `av_log(void*, int, char const*, ...)' client/sinks/ffplay/MarvellFfplay.o: In function `do_snapshot': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1517: undefined reference to `av_malloc(unsigned int)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1532: undefined reference to `av_free(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `input_get_buffer': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1621: undefined reference to `av_log(void*, int, char const*, ...)' client/sinks/ffplay/MarvellFfplay.o: In function `input_reget_buffer': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1697: undefined reference to `av_log(void*, int, char const*, ...)' client/sinks/ffplay/MarvellFfplay.o: In function `input_init': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1719: undefined reference to `av_log(void*, int, char const*, ...)' client/sinks/ffplay/MarvellFfplay.o: In function `input_uninit': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1734: undefined reference to `av_free(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `configure_video_filters': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1845: undefined reference to `av_strdup(char const*)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1859: undefined reference to `av_strdup(char const*)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1864: undefined reference to `av_strdup(char const*)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1872: undefined reference to `av_freep(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `video_thread': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1923: undefined reference to `av_rescale_q(long long, AVRational, AVRational)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:1955: undefined reference to `av_free(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `audio_decode_frame': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2150: undefined reference to `av_audio_convert_free(AVAudioConvert*)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2152: undefined reference to `av_audio_convert_alloc(AVSampleFormat, int, AVSampleFormat, int, float const*, int)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2171: undefined reference to `av_audio_convert(AVAudioConvert*, void* const*, int const*, void const* const*, int const*, int)' client/sinks/ffplay/MarvellFfplay.o: In function `stream_component_close': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2385: undefined reference to `av_audio_convert_free(AVAudioConvert*)' client/sinks/ffplay/MarvellFfplay.o: In function `read_thread': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2468: undefined reference to `avio_set_interrupt_cb(int (*)())' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2650: undefined reference to `url_feof(AVIOContext*)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2694: undefined reference to `avio_set_interrupt_cb(int (*)())' client/sinks/ffplay/MarvellFfplay.o: In function `stream_open': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2709: undefined reference to `av_mallocz(unsigned int)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2728: undefined reference to `av_free(void*)' client/sinks/ffplay/MarvellFfplay.o: In function `marvell_ffplay(void*)': /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2950: undefined reference to `av_log_set_flags(int)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/client/sinks/ffplay/MarvellFfplay.cpp:2960: undefined reference to `av_register_protocol2(URLProtocol*, int)' /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavformat//libavformat.a(oggparsedirac.o): In function `dirac_header': /zammargu/Libraries/ffmpeg_Marvell_qnx/libavformat/oggparsedirac.c:39: undefined reference to `ff_dirac_parse_sequence_header' This is the link command I am using: arm-unknown-nto-qnx6.5.0-g++ -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/UsageEnvironment/include -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/groupsock/include -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/liveMedia/include -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/BasicUsageEnvironment/include -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/testProgs -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavutil -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavformat -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavcodec -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libswscale -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavdevice -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavfilter -I/zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libpostproc -I /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../dbus-1.4.16_qnx/build/include/dbus-1.0 -I /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../dbus-1.4.16_qnx/build/lib/dbus-1.0/include -I /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../SDL-1.2.13_qnx/build/include -g -Wall -I /opt/qnx650/target/qnx6/usr/include -c -o common/i2c/I2CMessageReceiver.o common/i2c/I2CMessageReceiver.cpp arm-unknown-nto-qnx6.5.0-g++ -o MarvellWFDClient client/MarvellRTSPClient.o client/MarvellClientMediaSession.o client/ClientConfiguration.o client/MarvellClientMediaSubsession.o client/MPEG2TransportStreamDemux.o client/states/ClientState.o client/states/CapabilityNegotiationClientState.o client/states/ErrorClientState.o client/states/SessionEstablishmentClientState.o client/states/PlayClientState.o client/states/StoppedClientState.o client/states/StandbyClientState.o client/hdcp/Receiver.o client/hdcp/ReceiverManager.o client/sinks/ProgramPipeSink.o client/sinks/NamedPipeSink.o client/sinks/BufferedNamedPipeSink.o client/sinks/ProgramMemBufSink.o client/sinks/GstFfplaySink.o client/sinks/ffplay/MarvellFfplay.o client/sinks/ffplay/membuf_protocol.o client/sinks/ffplay/cmdutils.o client/sinks/ffplay/packet_ringbuf_ts.o client/dbus/ClientDBus.o client/dbus/dbus-introspect.o client/uibc/MarvellUibcClient.o client/i2c/MarvellI2CServer.o client/i2c/MarvellI2CCommunication.o getopt_long.o client/wfd_client.o common/utils.o common/MessageTypes.o common/State.o common/HDCPUtils.o common/buffers/ringbuf.o common/buffers/ringbuf_ts.o common/rtsp_messages/RTSPMessage.o common/rtsp_messages/h264Codec.o common/rtsp_messages/RTSPMessageUtils.o common/rtsp_messages/MessageWFDAudioFormats.o common/rtsp_messages/MessageWFDVideoFormats.o common/rtsp_messages/MessageWFD3DFormats.o common/rtsp_messages/MessageWFDContentProtection.o common/rtsp_messages/MessageWFDCoupledSink.o common/rtsp_messages/MessageWFDDisplayEdid.o common/rtsp_messages/MessageWFDTriggerMethod.o common/rtsp_messages/MessageWFDURLPresentation.o common/rtsp_messages/MessageWFDClientRTPPorts.o common/rtsp_messages/MessageWFDRoute.o common/rtsp_messages/MessageWFDI2C.o common/rtsp_messages/MessageWFDSetCEC.o common/rtsp_messages/MessageWFDGetCEC.o common/rtsp_messages/resolutions.o common/rtsp_messages/audio_modes.o common/rtsp_messages/MessageWFDIDRRequest.o common/rtsp_messages/MessageWFDStandby.o common/rtsp_messages/MessageWFDResume.o common/rtsp_messages/MessageWFDPreferredDisplayMode.o common/rtsp_messages/MessageWFDUIBCSetting.o common/rtsp_messages/input_category_val.o common/rtsp_messages/generic_capability_val.o common/rtsp_messages/hidc_capability_val.o common/rtsp_messages/MessageWFDUIBCCapability.o common/rtsp_messages/MessageWFDAVFormatChangeTiming.o common/rtsp_messages/MessageWFDStandbyResumeCapability.o common/rtsp_messages/MessageWFDConnectorType.o common/uibc/MarvellUibcError.o common/uibc/MarvellUibcMessage.o common/uibc/events/MarvellUibcEvent.o common/uibc/events/MarvellUibcMouseEvent.o common/uibc/events/MarvellUibcKeyEvent.o common/uibc/events/MarvellUibcZoomEvent.o common/uibc/events/MarvellUibcScrollEvent.o common/uibc/events/MarvellUibcRotationEvent.o common/i2c/MarvellI2CMessage.o common/i2c/MarvellI2CRdReplyAckMessage.o common/i2c/MarvellI2CRdReqMessage.o common/i2c/MarvellI2CReplyMessage.o common/i2c/MarvellI2CWrReqMessage.o common/i2c/MarvellI2CWriteTransacton.o common/i2c/I2CMessageReceiver.o -Wl -lssl -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../SDL-1.2.13_qnx/build/lib/ -lSDL -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/liveMedia/ -l liveMedia -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/groupsock/ -l groupsock -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/BasicUsageEnvironment/ -l BasicUsageEnvironment -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../live555_QNX/UsageEnvironment/ -l UsageEnvironment -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../dbus-1.4.16_qnx/build/lib/ -l dbus-1 -Wl -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libpostproc/ -l postproc -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libswscale/ -l swscale -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavfilter/ -l avfilter -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavdevice/ -l avdevice -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavcodec/ -l avcodec -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavformat/ -l avformat -L /zammargu/WIFI_Display/Ref_Code_QNX/snapshot-v1.6/marvell_wifi/../ffmpeg_Marvell_qnx/libavutil/ -l avutil -lz -lbz2 -lfaac -lm -lasound -dl -lph Any suggestions would be appreciated? Thanks, -Zahira From scottf at tvw.org Wed Apr 11 22:55:48 2012 From: scottf at tvw.org (Scott Freeman) Date: Wed, 11 Apr 2012 13:55:48 -0700 Subject: [FFmpeg-user] x264 baseline profile error Message-ID: I can't seem to get around a baseline profile error. I have tried to put the x264 baseline parameters in the command string but I dont think I was doing it correctly. I have tried several different capture cards and also used vfwcap and it does not seem to matter. I have tried presets that reference baseline with the same results. This is on windows xpsp3. Here is my string and debug: -------------- ffmpeg -f dshow -r 29.97 -i video="Digital Rapids DRC-500 Video":audio="Digital Rapids DRC-500 Audio" -s 400x300 -r 30000/1001 -b:v 350k -vcodec libx264 -vprofile baseline -acodec libmp3lame -ab 64k -threads 0 -f flv rtmp://myserver..../LiveVideo/test 2> debug.log --------------- ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 3 2012 20:20:04 with gcc 4.6.2 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 44.100 / 51. 44.100 libavcodec 54. 12.100 / 54. 12.100 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 66.101 / 2. 66.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 libpostproc 52. 0.100 / 52. 0.100 [dshow @ 0219A9A0] Estimating duration from bitrate, this may be inaccurate Input #0, dshow, from 'video=Digital Rapids DRC-500 Video:audio=Digital Rapids DRC-500 Audio': Duration: N/A, start: 2012.389000, bitrate: 1411 kb/s Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 480x360, 29.97 fps, 29.97 tbr, 10000k tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s Incompatible pixel format 'uyvy422' for codec 'libx264', auto-selecting format 'yuv422p' [buffer @ 025D35E0] w:480 h:360 pixfmt:uyvy422 tb:1/1000000 sar:0/1 sws_param:flags=2 [scale @ 02193D20] w:480 h:360 fmt:uyvy422 sar:0/1 -> w:400 h:300 fmt:yuv422p sar:0/1 flags:0x4 x264 [error]: baseline profile doesn't support 4:2:2 [libx264 @ 0268AE40] Error setting profile baseline. Output #0, flv, to 'rtmp://xxxxxx/LiveVideo/test': Stream #0:0: Video: h264, yuv422p, 400x300, q=-1--1, 350 kb/s, 90k tbn, 29.97 tbc Stream #0:1: Audio: none, 44100 Hz, 2 channels, s16 Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> libx264) Stream #0:1 -> #0:1 (pcm_s16le -> libmp3lame) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [dshow @ 0219A9A0] real-time buffer 102% full! frame dropped! ----------- Thanks for any help someone can provide. Cheers, Scott From lou at lrcd.com Wed Apr 11 23:01:14 2012 From: lou at lrcd.com (Lou) Date: Wed, 11 Apr 2012 13:01:14 -0800 Subject: [FFmpeg-user] x264 baseline profile error In-Reply-To: References: Message-ID: <20120411130114.26dc8d15@lrcd.com> On Wed, 11 Apr 2012 13:55:48 -0700 Scott Freeman wrote: > I can't seem to get around a baseline profile error. I have tried to > put the x264 baseline parameters in the command string but I dont > think I was doing it correctly. I have tried several different capture > cards and also used vfwcap and it does not seem to matter. I have > tried presets that reference baseline with the same results. This is > on windows xpsp3. > Here is my string and debug: > -------------- > ffmpeg -f dshow -r 29.97 -i video="Digital Rapids DRC-500 > Video":audio="Digital Rapids DRC-500 Audio" -s 400x300 -r 30000/1001 > -b:v 350k -vcodec libx264 -vprofile baseline -acodec libmp3lame -ab > 64k -threads 0 -f flv rtmp://myserver..../LiveVideo/test 2> debug.log > --------------- > ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers > built on Apr 3 2012 20:20:04 with gcc 4.6.2 > configuration: --enable-gpl --enable-version3 --disable-w32threads > --enable-runtime-cpudetect --enable-avisynth --enable-bzlib > --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libfreetype --enable-libgsm --enable-libmp3lame > --enable-libopenjpeg --enable-librtmp --enable-libschroedinger > --enable-libspeex --enable-libtheora --enable-libvo-aacenc > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx > --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib > libavutil 51. 44.100 / 51. 44.100 > libavcodec 54. 12.100 / 54. 12.100 > libavformat 54. 3.100 / 54. 3.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 66.101 / 2. 66.101 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 10.100 / 0. 10.100 > libpostproc 52. 0.100 / 52. 0.100 > [dshow @ 0219A9A0] Estimating duration from bitrate, this may be inaccurate > Input #0, dshow, from 'video=Digital Rapids DRC-500 > Video:audio=Digital Rapids DRC-500 Audio': > Duration: N/A, start: 2012.389000, bitrate: 1411 kb/s > Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, > 480x360, 29.97 fps, 29.97 tbr, 10000k tbn, 29.97 tbc > Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s > Incompatible pixel format 'uyvy422' for codec 'libx264', > auto-selecting format 'yuv422p' > [buffer @ 025D35E0] w:480 h:360 pixfmt:uyvy422 tb:1/1000000 sar:0/1 > sws_param:flags=2 > [scale @ 02193D20] w:480 h:360 fmt:uyvy422 sar:0/1 -> w:400 h:300 > fmt:yuv422p sar:0/1 flags:0x4 > x264 [error]: baseline profile doesn't support 4:2:2 ^ Here's the important message. Try adding "-pix_fmt yuv420p" as an output option. From scottf at tvw.org Wed Apr 11 23:25:11 2012 From: scottf at tvw.org (Scott Freeman) Date: Wed, 11 Apr 2012 14:25:11 -0700 Subject: [FFmpeg-user] x264 baseline profile error In-Reply-To: <20120411130114.26dc8d15@lrcd.com> References: <20120411130114.26dc8d15@lrcd.com> Message-ID: On Wed, Apr 11, 2012 at 2:01 PM, Lou wrote: > On Wed, 11 Apr 2012 13:55:48 -0700 > Scott Freeman wrote: > >> I can't seem to get around a baseline profile error. I have tried to >> put the x264 baseline parameters in the command string but I dont >> think I was doing it correctly. I have tried several different capture >> cards and also used vfwcap and it does not seem to matter. I have >> tried presets that reference baseline with the same results. This is >> on windows xpsp3. >> Here is my string and debug: >> -------------- >> ffmpeg -f dshow -r 29.97 ?-i video="Digital Rapids DRC-500 >> Video":audio="Digital Rapids DRC-500 Audio" -s 400x300 -r 30000/1001 >> -b:v 350k -vcodec libx264 -vprofile baseline -acodec libmp3lame -ab >> 64k -threads 0 -f flv rtmp://myserver..../LiveVideo/test 2> debug.log >> --------------- >> ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers >> ? built on Apr ?3 2012 20:20:04 with gcc 4.6.2 >> ? configuration: --enable-gpl --enable-version3 --disable-w32threads >> --enable-runtime-cpudetect --enable-avisynth --enable-bzlib >> --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb >> --enable-libfreetype --enable-libgsm --enable-libmp3lame >> --enable-libopenjpeg --enable-librtmp --enable-libschroedinger >> --enable-libspeex --enable-libtheora --enable-libvo-aacenc >> --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx >> --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib >> ? libavutil ? ? ?51. 44.100 / 51. 44.100 >> ? libavcodec ? ? 54. 12.100 / 54. 12.100 >> ? libavformat ? ?54. ?3.100 / 54. ?3.100 >> ? libavdevice ? ?53. ?4.100 / 53. ?4.100 >> ? libavfilter ? ? 2. 66.101 / ?2. 66.101 >> ? libswscale ? ? ?2. ?1.100 / ?2. ?1.100 >> ? libswresample ? 0. 10.100 / ?0. 10.100 >> ? libpostproc ? ?52. ?0.100 / 52. ?0.100 >> [dshow @ 0219A9A0] Estimating duration from bitrate, this may be inaccurate >> Input #0, dshow, from 'video=Digital Rapids DRC-500 >> Video:audio=Digital Rapids DRC-500 Audio': >> ? Duration: N/A, start: 2012.389000, bitrate: 1411 kb/s >> ? ? Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, >> 480x360, 29.97 fps, 29.97 tbr, 10000k tbn, 29.97 tbc >> ? ? Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s >> Incompatible pixel format 'uyvy422' for codec 'libx264', >> auto-selecting format 'yuv422p' >> [buffer @ 025D35E0] w:480 h:360 pixfmt:uyvy422 tb:1/1000000 sar:0/1 >> sws_param:flags=2 >> [scale @ 02193D20] w:480 h:360 fmt:uyvy422 sar:0/1 -> w:400 h:300 >> fmt:yuv422p sar:0/1 flags:0x4 >> x264 [error]: baseline profile doesn't support 4:2:2 > > ^ Here's the important message. Try adding "-pix_fmt yuv420p" as an > output option. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user BLESS YOU!! thanks, that worked! I saw the format issue but was just too green to figure out how to force it. more reading for me in the man page. Thanks again! From victorpaesa at googlemail.com Wed Apr 11 23:38:00 2012 From: victorpaesa at googlemail.com (=?UTF-8?Q?V=C3=ADctor_Paesa?=) Date: Wed, 11 Apr 2012 23:38:00 +0200 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: Hi, On Tue, Apr 10, 2012 at 05:32, Brendan Brewster wrote: > On Mon, Apr 9, 2012 at 6:33 AM, DEF wrote: > >> On Apr 9, 2012 9:55 AM, "Brendan Brewster" >> wrote: >> > >> > Is there anything special I'm supposed to do to get a basic build to work >> > on Cygwin? Thanks in advance :) >> > >> > ~/ffmpeg-20120408-git-N-39644-g5d6a40b >> > $ ./configure >> > install prefix ? ? ? ? ? ?/usr/local >> > source path ? ? ? ? ? ? ? . >> > C compiler ? ? ? ? ? ? ? ?gcc >> >> gcc ?-version ?? >> cygwin1.dll ?version. ? >> _______________________________________________ > > $ gcc -v > Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs > Configured with: > /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose > --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc > --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man > --infodir=/usr/share/info > --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls > --without-included-gettext --enable-version-specific-runtime-libs > --without-x --enable-libgcj --disable-java-awt --with-system-zlib > --enable-interpreter --disable-libgcj-debug --enable-threads=posix > --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions > --enable-hash-synchronization --enable-libstdcxx-debug > Thread model: posix > gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > > $ uname -r > 1.5.25(0.156/4/2) There are some Cygwin hints in doc/plaform.texi You should upgrade to gcc4/Cygwin 1.7x Regards, V?ctor From brendan.brewster at gmail.com Thu Apr 12 00:05:39 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Wed, 11 Apr 2012 18:05:39 -0400 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: 2012/4/11 V?ctor Paesa > Hi, > > On Tue, Apr 10, 2012 at 05:32, Brendan Brewster wrote: > > On Mon, Apr 9, 2012 at 6:33 AM, DEF wrote: > > > >> On Apr 9, 2012 9:55 AM, "Brendan Brewster" > >> wrote: > >> > > >> > Is there anything special I'm supposed to do to get a basic build to > work > >> > on Cygwin? Thanks in advance :) > >> > > >> > ~/ffmpeg-20120408-git-N-39644-g5d6a40b > >> > $ ./configure > >> > install prefix /usr/local > >> > source path . > >> > C compiler gcc > >> > >> gcc -version ?? > >> cygwin1.dll version. ? > >> _______________________________________________ > > > > $ gcc -v > > Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs > > Configured with: > > /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose > > --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc > > --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man > > --infodir=/usr/share/info > > --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls > > --without-included-gettext --enable-version-specific-runtime-libs > > --without-x --enable-libgcj --disable-java-awt --with-system-zlib > > --enable-interpreter --disable-libgcj-debug --enable-threads=posix > > --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions > > --enable-hash-synchronization --enable-libstdcxx-debug > > Thread model: posix > > gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > > > > $ uname -r > > 1.5.25(0.156/4/2) > > There are some Cygwin hints in doc/plaform.texi > You should upgrade to gcc4/Cygwin 1.7x > > Regards, > V?ctor > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Hi Victor, Thanks, I've been meaning to upgrade but just haven't gotten around to it and haven't had issues with other things. If there is something specific to 1.5.x that's causing the issue, that's one thing and I'd like to know about it, but I feel like something else is going wrong. I'll take a look at the doc you mentioned and may even try Carl's workaround. Thanks, Brendan From victorpaesa at googlemail.com Thu Apr 12 00:28:19 2012 From: victorpaesa at googlemail.com (=?UTF-8?Q?V=C3=ADctor_Paesa?=) Date: Thu, 12 Apr 2012 00:28:19 +0200 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: Hi, On Thu, Apr 12, 2012 at 00:05, Brendan Brewster wrote: > 2012/4/11 V?ctor Paesa > >> Hi, >> >> On Tue, Apr 10, 2012 at 05:32, Brendan Brewster wrote: >> > On Mon, Apr 9, 2012 at 6:33 AM, DEF wrote: >> > >> >> On Apr 9, 2012 9:55 AM, "Brendan Brewster" >> >> wrote: >> >> > >> >> > Is there anything special I'm supposed to do to get a basic build to >> work >> >> > on Cygwin? Thanks in advance :) >> >> > >> >> > ~/ffmpeg-20120408-git-N-39644-g5d6a40b >> >> > $ ./configure >> >> > install prefix ? ? ? ? ? ?/usr/local >> >> > source path ? ? ? ? ? ? ? . >> >> > C compiler ? ? ? ? ? ? ? ?gcc >> >> >> >> gcc ?-version ?? >> >> cygwin1.dll ?version. ? >> >> _______________________________________________ >> > >> > $ gcc -v >> > Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs >> > Configured with: >> > /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose >> > --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc >> > --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man >> > --infodir=/usr/share/info >> > --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls >> > --without-included-gettext --enable-version-specific-runtime-libs >> > --without-x --enable-libgcj --disable-java-awt --with-system-zlib >> > --enable-interpreter --disable-libgcj-debug --enable-threads=posix >> > --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions >> > --enable-hash-synchronization --enable-libstdcxx-debug >> > Thread model: posix >> > gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) >> > >> > $ uname -r >> > 1.5.25(0.156/4/2) >> >> There are some Cygwin hints in doc/plaform.texi >> You should upgrade to gcc4/Cygwin 1.7x >> >> Regards, >> V?ctor >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > Hi Victor, > > Thanks, I've been meaning to upgrade but just haven't gotten around to it > and haven't had issues with other things. > > If there is something specific to 1.5.x that's causing the issue, that's > one thing and I'd like to know about it, but I feel like something else is > going wrong. > > I'll take a look at the doc you mentioned and may even try Carl's > workaround. I know that 1.5.x lacks llrint() but I think FFmpeg has added some workaround for it. gcc4/1.7.x, has better support for C99 features. Yes, Carl's advice --disable-network is sound. Regards, V?ctor From help at nagashare.com Thu Apr 12 03:34:37 2012 From: help at nagashare.com (Bourne) Date: Thu, 12 Apr 2012 09:34:37 +0800 Subject: [FFmpeg-user] Transcode from wmv to flv problem In-Reply-To: References: <001401cd16e4$491a5730$db4f0590$@com> Message-ID: <002801cd184c$6f375210$4da5f630$@com> Here is a new link, can you try again, thanks. http://nagashare.com/download/hlm/hh.wmv Bourne -----Original Message----- From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of bat guano Sent: Thursday, April 12, 2012 2:02 AM To: ffmpeg-user at ffmpeg.org Subject: Re: [FFmpeg-user] Transcode from wmv to flv problem > > Here is a sample wmv file: http://www.nagasoft.cn/download/hlm/hh.wmv > > That link won't load for me. _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From funkyirish at gmail.com Thu Apr 12 03:58:11 2012 From: funkyirish at gmail.com (Josh long) Date: Wed, 11 Apr 2012 20:58:11 -0500 Subject: [FFmpeg-user] bgra to yuv In-Reply-To: References: <1330634734197-4436338.post@n4.nabble.com> Message-ID: On Wed, Apr 11, 2012 at 1:49 AM, Carl Eugen Hoyos wrote: > Josh long gmail.com> writes: > > > Here goes: I want to convert bgra 1920x1080 30fps video > > (I am still curious how / why you get bgra video: > Is that ray-traced material containing transparency?) > > > to yuv444p format for compression using straight dirac_encoder. > > > ffmpeg -i 0_10_sec.avi -vcodec rawvideo -pix_fmt yuv444p yuv444.avi > > Why don't you use libschroedinger instead of rawvideo in > this command line if your goal is to get dirac in avi? > > (The real question is why you want to use yuv444 dirac: > dirac usually has no advantages over other codecs, if you > need a lossless codec, try ffv1, it also supports RGB.) > > Concerning your command line: > yuv444 is not defined in avi (if you have a counter-example, > please share it!), use nut if you need to store raw yuv444p > in a container (I do not think that is what you want to do). > > And please note that if you are a user, current git head is > always recommended. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > The real reason we wanted to use dirac is because our team-leader wanted to try to parallelize the process (which we never got to). I'm still not sure why he didn't want to go straight to schroedinger for that. I couldn't find any information on nut, or play one which is why I tried avi. Thanks for all of your help; After this project I am on to my real field, analog hardware design. I'm not real sure about the camera, or what there is to say about our client's filming procedures unfortunately. We haven't been in touch with them very much. Blessings, Joshua From batguano999 at hotmail.com Thu Apr 12 04:08:40 2012 From: batguano999 at hotmail.com (bat guano) Date: Thu, 12 Apr 2012 02:08:40 +0000 Subject: [FFmpeg-user] Transcode from wmv to flv problem In-Reply-To: <002801cd184c$6f375210$4da5f630$@com> References: <001401cd16e4$491a5730$db4f0590$@com>, , <002801cd184c$6f375210$4da5f630$@com> Message-ID: ---------------------------------------- "Here is a new link, can you try again, thanks." Yes, that's downloaded OK. ;-) From batguano999 at hotmail.com Thu Apr 12 04:56:31 2012 From: batguano999 at hotmail.com (bat guano) Date: Thu, 12 Apr 2012 02:56:31 +0000 Subject: [FFmpeg-user] Transcode from wmv to flv problem In-Reply-To: References: <001401cd16e4$491a5730$db4f0590$@com>, , , , <002801cd184c$6f375210$4da5f630$@com>, Message-ID: ---------------------------------------- ?"downloaded OK." I think it is an FFmpeg bug. New ffmpeg version N-39664-g6bfb304 built on Apr 9 2012 gives "monotonically" error. But old ffmpeg version N-34294-g0bc5677 built on Oct 31 2011 works OK. From rickcorteza at gmail.com Thu Apr 12 05:15:53 2012 From: rickcorteza at gmail.com (Rick C.) Date: Thu, 12 Apr 2012 11:15:53 +0800 Subject: [FFmpeg-user] aac encoding coming from .mkv In-Reply-To: References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> Message-ID: <890E3FBA-72F0-483F-8D33-A1C859C10F20@gmail.com> On Apr 11, 2012, at 2:33 PM, Carl Eugen Hoyos wrote: > Rick C. gmail.com> writes: > >> If I want to use -acodec aac -strict experimental -ab192k >> coming from .mkv containing 6 channel dts/ac-3 audio it >> seems to create a variable bit rate with low quality. > > Please try with a significantly higher value for -ab (especially > since the actual bitrate is lower than 192k in your example). > > Carl Eugen > Thanks I'll do that and get back to you... From rickcorteza at gmail.com Thu Apr 12 05:28:50 2012 From: rickcorteza at gmail.com (Rick C.) Date: Thu, 12 Apr 2012 11:28:50 +0800 Subject: [FFmpeg-user] aac encoding coming from .mkv In-Reply-To: References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> Message-ID: <6C63F59F-B304-4CBF-BB45-C7E1259F275F@gmail.com> On Apr 11, 2012, at 2:33 PM, Carl Eugen Hoyos wrote: > Rick C. gmail.com> writes: > >> If I want to use -acodec aac -strict experimental -ab192k >> coming from .mkv containing 6 channel dts/ac-3 audio it >> seems to create a variable bit rate with low quality. > > Please try with a significantly higher value for -ab (especially > since the actual bitrate is lower than 192k in your example). > > Carl Eugen > Ok it did help here's the output: Last login: Tue Apr 10 22:30:58 on console mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Movies/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv -acodec aac -strict experimental -ab 384k -map 0:v:0 -map 0:a -t 120 /Users/mahalko/Desktop/test.mp4 ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, matroska,webm, from '/Users/mahalko/Movies/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs/Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv': Duration: 01:26:32.03, start: 0.000000, bitrate: 11481 kb/s Chapter #0.0: start 0.000000, end 213.547000 Metadata: title : 00:00:00.000 Chapter #0.1: start 213.547000, end 524.274000 Metadata: title : 00:03:33.547 Chapter #0.2: start 524.274000, end 938.938000 Metadata: title : 00:08:44.274 Chapter #0.3: start 938.938000, end 1368.158000 Metadata: title : 00:15:38.938 Chapter #0.4: start 1368.158000, end 1908.323000 Metadata: title : 00:22:48.158 Chapter #0.5: start 1908.323000, end 2194.401000 Metadata: title : 00:31:48.323 Chapter #0.6: start 2194.401000, end 2828.159000 Metadata: title : 00:36:34.401 Chapter #0.7: start 2828.159000, end 3360.315000 Metadata: title : 00:47:08.159 Chapter #0.8: start 3360.315000, end 3459.581000 Metadata: title : 00:56:00.315 Chapter #0.9: start 3459.581000, end 3865.111000 Metadata: title : 00:57:39.581 Chapter #0.10: start 3865.111000, end 4228.850000 Metadata: title : 01:04:25.111 Chapter #0.11: start 4228.850000, end 4473.469000 Metadata: title : 01:10:28.850 Chapter #0.12: start 4473.469000, end 4586.582000 Metadata: title : 01:14:33.469 Chapter #0.13: start 4586.582000, end 5192.032000 Metadata: title : 01:16:26.582 Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default) Metadata: title : DTS Stream #0:2: Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s Metadata: title : AC3 Stream #0:3(eng): Subtitle: text (default) Metadata: title : English Stream #0:4(dut): Subtitle: text Metadata: title : Nederlands [buffer @ 0x101519780] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Incompatible sample format 's16' for codec 'aac', auto-selecting format 'flt' Last message repeated 1 times [libx264 @ 0x101847a00] using SAR=1/1 [libx264 @ 0x101847a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 0x101847a00] profile High, level 4.0 [libx264 @ 0x101847a00] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/Users/mahalko/Desktop/test.mp4': Metadata: encoder : Lavf53.32.100 Chapter #0.0: start 0.000000, end 120.000000 Metadata: title : 00:00:00.000 Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc (default) Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), flt, 384 kb/s (default) Metadata: title : DTS Stream #0:2: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 5.1(side), flt, 384 kb/s Metadata: title : AC3 Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (dca -> aac) Stream #0:2 -> #0:2 (ac3 -> aac) Press [q] to stop, [?] for help frame= 47 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/sframe= 75 fps= 68 q=28.0 size= 33kB time=00:00:00.95 bitrate= 277.6kbits/frame= 87 fps= 53 q=28.0 size= 211kB time=00:00:01.45 bitrate=1185.0kbits/frame= 95 fps= 45 q=28.0 size= 364kB time=00:00:01.79 bitrate=1664.4kbits/frame= 110 fps= 40 q=26.0 size= 753kB time=00:00:02.41 bitrate=2549.5kbits/frame= 125 fps= 39 q=28.0 size= 1168kB time=00:00:03.04 bitrate=3143.4kbits/frame= 138 fps= 37 q=25.0 size= 1477kB time=00:00:03.58 bitrate=3373.1kbits/frame= 155 fps= 36 q=28.0 size= 2006kB time=00:00:04.29 bitrate=3824.6kbits/frame= 207 fps= 43 q=28.0 size= 2106kB time=00:00:06.46 bitrate=2668.8kbits/frame= 255 fps= 48 q=28.0 size= 2247kB time=00:00:08.46 bitrate=2173.9kbits/frame= 311 fps= 53 q=28.0 size= 2368kB time=00:00:10.80 bitrate=1795.4kbits/frame= 365 fps= 58 q=28.0 size= 2471kB time=00:00:13.05 bitrate=1550.8kbits/frame= 409 fps= 60 q=28.0 size= 2657kB time=00:00:14.88 bitrate=1462.0kbits/frame= 465 fps= 63 q=28.0 size= 2777kB time=00:00:17.22 bitrate=1320.8kbits/frame= 513 fps= 65 q=28.0 size= 2929kB time=00:00:19.22 bitrate=1247.8kbits/frame= 568 fps= 68 q=28.0 size= 3061kB time=00:00:21.52 bitrate=1165.2kbits/frame= 621 fps= 70 q=28.0 size= 3164kB time=00:00:23.73 bitrate=1092.0kbits/frame= 670 fps= 72 q=28.0 size= 3253kB time=00:00:25.77 bitrate=1033.8kbits/frame= 726 fps= 74 q=28.0 size= 3357kB time=00:00:28.11 bitrate= 978.2kbits/frame= 779 fps= 75 q=28.0 size= 3504kB time=00:00:30.32 bitrate= 946.7kbits/frame= 839 fps= 77 q=28.0 size= 3607kB time=00:00:32.82 bitrate= 900.2kbits/frame= 889 fps= 78 q=28.0 size= 3710kB time=00:00:34.90 bitrate= 870.6kbits/frame= 939 fps= 79 q=28.0 size= 3839kB time=00:00:36.99 bitrate= 850.1kbits/frame= 990 fps= 80 q=28.0 size= 3952kB time=00:00:39.12 bitrate= 827.6kbits/frame= 1023 fps= 79 q=28.0 size= 4022kB time=00:00:40.49 bitrate= 813.6kbits/frame= 1037 fps= 78 q=28.0 size= 4087kB time=00:00:41.08 bitrate= 814.9kbits/frame= 1050 fps= 75 q=28.0 size= 4367kB time=00:00:41.62 bitrate= 859.5kbits/frame= 1060 fps= 73 q=28.0 size= 4566kB time=00:00:42.04 bitrate= 889.6kbits/frame= 1070 fps= 71 q=28.0 size= 4764kB time=00:00:42.45 bitrate= 919.1kbits/frame= 1078 fps= 69 q=28.0 size= 4928kB time=00:00:42.79 bitrate= 943.3kbits/frame= 1088 fps= 68 q=28.0 size= 5124kB time=00:00:43.20 bitrate= 971.4kbits/frame= 1098 fps= 66 q=28.0 size= 5319kB time=00:00:43.62 bitrate= 998.8kbits/frame= 1106 fps= 65 q=28.0 size= 5471kB time=00:00:43.96 bitrate=1019.5kbits/frame= 1116 fps= 63 q=28.0 size= 5662kB time=00:00:44.37 bitrate=1045.3kbits/frame= 1126 fps= 62 q=28.0 size= 5845kB time=00:00:44.79 bitrate=1069.0kbits/frame= 1136 fps= 61 q=28.0 size= 6029kB time=00:00:45.21 bitrate=1092.5kbits/frame= 1146 fps= 59 q=28.0 size= 6213kB time=00:00:45.62 bitrate=1115.5kbits/frame= 1155 fps= 58 q=28.0 size= 6392kB time=00:00:46.00 bitrate=1138.3kbits/frame= 1165 fps= 57 q=28.0 size= 6579kB time=00:00:46.42 bitrate=1160.9kbits/frame= 1175 fps= 56 q=28.0 size= 6766kB time=00:00:46.83 bitrate=1183.4kbits/frame= 1185 fps= 55 q=28.0 size= 6957kB time=00:00:47.25 bitrate=1206.0kbits/frame= 1195 fps= 54 q=28.0 size= 7145kB time=00:00:47.67 bitrate=1227.8kbits/frame= 1203 fps= 53 q=28.0 size= 7286kB time=00:00:48.00 bitrate=1243.3kbits/frame= 1211 fps= 53 q=28.0 size= 7434kB time=00:00:48.33 bitrate=1259.9kbits/frame= 1215 fps= 51 q=28.0 size= 7926kB time=00:00:48.50 bitrate=1338.6kbits/frame= 1223 fps= 51 q=28.0 size= 8359kB time=00:00:48.84 bitrate=1402.1kbits/frame= 1231 fps= 50 q=28.0 size= 8559kB time=00:00:49.17 bitrate=1425.8kbits/frame= 1239 fps= 49 q=28.0 size= 8752kB time=00:00:49.50 bitrate=1448.3kbits/frame= 1246 fps= 48 q=28.0 size= 8916kB time=00:00:49.79 bitrate=1466.7kbits/frame= 1252 fps= 48 q=28.0 size= 9062kB time=00:00:50.05 bitrate=1483.2kbits/frame= 1260 fps= 47 q=28.0 size= 9254kB time=00:00:50.38 bitrate=1504.7kbits/frame= 1268 fps= 47 q=28.0 size= 9446kB time=00:00:50.71 bitrate=1525.7kbits/frame= 1276 fps= 46 q=28.0 size= 9634kB time=00:00:51.05 bitrate=1545.9kbits/frame= 1280 fps= 45 q=28.0 size= 9723kB time=00:00:51.21 bitrate=1555.1kbits/frame= 1291 fps= 44 q=28.0 size= 10105kB time=00:00:51.67 bitrate=1601.9kbits/frame= 1298 fps= 44 q=28.0 size= 10282kB time=00:00:51.96 bitrate=1620.7kbits/frame= 1305 fps= 43 q=28.0 size= 10450kB time=00:00:52.26 bitrate=1638.1kbits/frame= 1313 fps= 43 q=28.0 size= 10636kB time=00:00:52.59 bitrate=1656.6kbits/frame= 1321 fps= 42 q=28.0 size= 10857kB time=00:00:52.92 bitrate=1680.5kbits/frame= 1327 fps= 42 q=28.0 size= 11022kB time=00:00:53.17 bitrate=1698.0kbits/frame= 1335 fps= 41 q=28.0 size= 11252kB time=00:00:53.51 bitrate=1722.6kbits/frame= 1341 fps= 41 q=28.0 size= 11414kB time=00:00:53.76 bitrate=1739.3kbits/frame= 1349 fps= 40 q=28.0 size= 11587kB time=00:00:54.09 bitrate=1754.7kbits/frame= 1358 fps= 40 q=28.0 size= 11892kB time=00:00:54.47 bitrate=1788.4kbits/frame= 1366 fps= 39 q=28.0 size= 12141kB time=00:00:54.80 bitrate=1814.8kbits/frame= 1374 fps= 39 q=28.0 size= 12384kB time=00:00:55.13 bitrate=1839.9kbits/frame= 1380 fps= 38 q=28.0 size= 12565kB time=00:00:55.38 bitrate=1858.4kbits/frame= 1388 fps= 38 q=28.0 size= 12803kB time=00:00:55.72 bitrate=1882.2kbits/frame= 1394 fps= 38 q=28.0 size= 12984kB time=00:00:55.97 bitrate=1900.3kbits/frame= 1400 fps= 37 q=28.0 size= 13170kB time=00:00:56.22 bitrate=1918.9kbits/frame= 1408 fps= 37 q=28.0 size= 13421kB time=00:00:56.55 bitrate=1943.9kbits/frame= 1416 fps= 36 q=28.0 size= 13797kB time=00:00:56.89 bitrate=1986.7kbits/frame= 1420 fps= 36 q=28.0 size= 14027kB time=00:00:57.05 bitrate=2013.9kbits/frame= 1425 fps= 36 q=28.0 size= 14309kB time=00:00:57.26 bitrate=2047.0kbits/frame= 1431 fps= 35 q=28.0 size= 14633kB time=00:00:57.51 bitrate=2084.1kbits/frame= 1437 fps= 35 q=28.0 size= 14947kB time=00:00:57.76 bitrate=2119.6kbits/frame= 1444 fps= 35 q=28.0 size= 15314kB time=00:00:58.05 bitrate=2160.8kbits/frame= 1450 fps= 34 q=28.0 size= 15632kB time=00:00:58.30 bitrate=2196.3kbits/frame= 1455 fps= 34 q=28.0 size= 15907kB time=00:00:58.51 bitrate=2226.9kbits/frame= 1461 fps= 34 q=28.0 size= 16230kB time=00:00:58.76 bitrate=2262.4kbits/frame= 1467 fps= 33 q=28.0 size= 16556kB time=00:00:59.01 bitrate=2298.0kbits/frame= 1473 fps= 33 q=28.0 size= 16875kB time=00:00:59.26 bitrate=2332.5kbits/frame= 1481 fps= 33 q=28.0 size= 17278kB time=00:00:59.60 bitrate=2374.9kbits/frame= 1485 fps= 33 q=28.0 size= 17433kB time=00:00:59.76 bitrate=2389.5kbits/frame= 1493 fps= 32 q=28.0 size= 17805kB time=00:01:00.10 bitrate=2426.9kbits/frame= 1501 fps= 32 q=28.0 size= 18127kB time=00:01:00.43 bitrate=2457.1kbits/frame= 1509 fps= 32 q=28.0 size= 18366kB time=00:01:00.76 bitrate=2475.8kbits/frame= 1517 fps= 32 q=28.0 size= 18628kB time=00:01:01.10 bitrate=2497.4kbits/frame= 1527 fps= 32 q=28.0 size= 18895kB time=00:01:01.51 bitrate=2516.1kbits/frame= 1533 fps= 31 q=28.0 size= 19040kB time=00:01:01.77 bitrate=2525.1kbits/frame= 1541 fps= 31 q=28.0 size= 19262kB time=00:01:02.10 bitrate=2540.8kbits/frame= 1549 fps= 31 q=28.0 size= 19522kB time=00:01:02.43 bitrate=2561.3kbits/frame= 1555 fps= 31 q=28.0 size= 19937kB time=00:01:02.68 bitrate=2605.3kbits/frame= 1559 fps= 30 q=28.0 size= 20175kB time=00:01:02.85 bitrate=2629.4kbits/frame= 1566 fps= 30 q=28.0 size= 20580kB time=00:01:03.14 bitrate=2669.8kbits/frame= 1570 fps= 30 q=28.0 size= 20818kB time=00:01:03.31 bitrate=2693.6kbits/frame= 1576 fps= 30 q=28.0 size= 21167kB time=00:01:03.56 bitrate=2727.9kbits/frame= 1583 fps= 30 q=28.0 size= 21656kB time=00:01:03.85 bitrate=2778.2kbits/frame= 1589 fps= 29 q=28.0 size= 21993kB time=00:01:04.10 bitrate=2810.4kbits/frame= 1595 fps= 29 q=28.0 size= 22401kB time=00:01:04.35 bitrate=2851.4kbits/frame= 1601 fps= 29 q=28.0 size= 22729kB time=00:01:04.60 bitrate=2882.0kbits/frame= 1607 fps= 29 q=28.0 size= 23096kB time=00:01:04.85 bitrate=2917.3kbits/frame= 1613 fps= 29 q=28.0 size= 23514kB time=00:01:05.10 bitrate=2958.7kbits/frame= 1619 fps= 29 q=28.0 size= 23809kB time=00:01:05.35 bitrate=2984.3kbits/frame= 1625 fps= 28 q=28.0 size= 24175kB time=00:01:05.60 bitrate=3018.6kbits/frame= 1631 fps= 28 q=28.0 size= 24465kB time=00:01:05.85 bitrate=3043.2kbits/frame= 1637 fps= 28 q=28.0 size= 24882kB time=00:01:06.10 bitrate=3083.3kbits/frame= 1645 fps= 28 q=28.0 size= 25297kB time=00:01:06.44 bitrate=3119.1kbits/frame= 1653 fps= 28 q=28.0 size= 25638kB time=00:01:06.77 bitrate=3145.3kbits/frame= 1660 fps= 28 q=28.0 size= 25805kB time=00:01:07.06 bitrate=3152.0kbits/frame= 1668 fps= 28 q=28.0 size= 25980kB time=00:01:07.40 bitrate=3157.7kbits/frame= 1674 fps= 27 q=28.0 size= 26108kB time=00:01:07.65 bitrate=3161.4kbits/frame= 1682 fps= 27 q=28.0 size= 26277kB time=00:01:07.98 bitrate=3166.3kbits/frame= 1690 fps= 27 q=28.0 size= 26452kB time=00:01:08.31 bitrate=3171.9kbits/frame= 1699 fps= 27 q=28.0 size= 26649kB time=00:01:08.69 bitrate=3178.0kbits/frame= 1705 fps= 27 q=25.0 size= 26775kB time=00:01:08.94 bitrate=3181.5kbits/frame= 1713 fps= 27 q=28.0 size= 27156kB time=00:01:09.27 bitrate=3211.1kbits/frame= 1719 fps= 27 q=28.0 size= 27580kB time=00:01:09.52 bitrate=3249.6kbits/frame= 1723 fps= 26 q=28.0 size= 27879kB time=00:01:09.69 bitrate=3276.9kbits/frame= 1729 fps= 26 q=28.0 size= 28337kB time=00:01:09.94 bitrate=3318.9kbits/frame= 1733 fps= 26 q=28.0 size= 28660kB time=00:01:10.11 bitrate=3348.7kbits/frame= 1737 fps= 26 q=28.0 size= 28986kB time=00:01:10.27 bitrate=3378.7kbits/frame= 1743 fps= 26 q=28.0 size= 29378kB time=00:01:10.52 bitrate=3412.3kbits/frame= 1748 fps= 26 q=28.0 size= 29709kB time=00:01:10.73 bitrate=3440.6kbits/frame= 1754 fps= 26 q=28.0 size= 30150kB time=00:01:10.98 bitrate=3479.3kbits/frame= 1759 fps= 25 q=28.0 size= 30491kB time=00:01:11.19 bitrate=3508.4kbits/frame= 1764 fps= 25 q=28.0 size= 30829kB time=00:01:11.40 bitrate=3536.9kbits/frame= 1770 fps= 25 q=28.0 size= 31224kB time=00:01:11.65 bitrate=3569.7kbits/frame= 1776 fps= 25 q=28.0 size= 31550kB time=00:01:11.90 bitrate=3594.4kbits/frame= 1782 fps= 25 q=28.0 size= 31946kB time=00:01:12.15 bitrate=3627.0kbits/frame= 1786 fps= 25 q=25.0 size= 32239kB time=00:01:12.32 bitrate=3651.7kbits/frame= 1790 fps= 25 q=28.0 size= 32553kB time=00:01:12.48 bitrate=3678.8kbits/frame= 1795 fps= 24 q=28.0 size= 32969kB time=00:01:12.69 bitrate=3715.1kbits/frame= 1802 fps= 24 q=28.0 size= 33539kB time=00:01:12.98 bitrate=3764.2kbits/frame= 1806 fps= 24 q=28.0 size= 33846kB time=00:01:13.15 bitrate=3790.1kbits/frame= 1810 fps= 24 q=28.0 size= 34124kB time=00:01:13.32 bitrate=3812.5kbits/frame= 1814 fps= 24 q=28.0 size= 34418kB time=00:01:13.49 bitrate=3836.6kbits/frame= 1820 fps= 24 q=28.0 size= 34828kB time=00:01:13.74 bitrate=3869.1kbits/frame= 1826 fps= 24 q=28.0 size= 35253kB time=00:01:13.99 bitrate=3903.1kbits/frame= 1830 fps= 24 q=28.0 size= 35539kB time=00:01:14.15 bitrate=3925.9kbits/frame= 1835 fps= 24 q=28.0 size= 35845kB time=00:01:14.36 bitrate=3948.6kbits/frame= 1841 fps= 23 q=28.0 size= 36247kB time=00:01:14.61 bitrate=3979.5kbits/frame= 1846 fps= 23 q=28.0 size= 36562kB time=00:01:14.82 bitrate=4002.9kbits/frame= 1852 fps= 23 q=28.0 size= 36914kB time=00:01:15.07 bitrate=4027.9kbits/frame= 1856 fps= 23 q=28.0 size= 37154kB time=00:01:15.24 bitrate=4045.2kbits/frame= 1861 fps= 23 q=28.0 size= 37445kB time=00:01:15.45 bitrate=4065.6kbits/frame= 1867 fps= 23 q=28.0 size= 37813kB time=00:01:15.70 bitrate=4091.9kbits/frame= 1873 fps= 23 q=28.0 size= 38159kB time=00:01:15.95 bitrate=4115.8kbits/frame= 1878 fps= 23 q=28.0 size= 38463kB time=00:01:16.15 bitrate=4137.2kbits/frame= 1882 fps= 23 q=25.0 size= 38703kB time=00:01:16.32 bitrate=4154.0kbits/frame= 1890 fps= 23 q=28.0 size= 39242kB time=00:01:16.65 bitrate=4193.4kbits/frame= 1894 fps= 23 q=28.0 size= 39490kB time=00:01:16.82 bitrate=4210.8kbits/frame= 1898 fps= 22 q=28.0 size= 39738kB time=00:01:16.99 bitrate=4228.0kbits/frame= 1904 fps= 22 q=28.0 size= 40097kB time=00:01:17.24 bitrate=4252.4kbits/frame= 1910 fps= 22 q=28.0 size= 40458kB time=00:01:17.49 bitrate=4276.9kbits/frame= 1916 fps= 22 q=28.0 size= 40997kB time=00:01:17.74 bitrate=4319.9kbits/frame= 1919 fps= 22 q=28.0 size= 41287kB time=00:01:17.86 bitrate=4343.5kbits/frame= 1923 fps= 22 q=28.0 size= 41690kB time=00:01:18.03 bitrate=4376.5kbits/frame= 1929 fps= 22 q=28.0 size= 42264kB time=00:01:18.28 bitrate=4422.5kbits/frame= 1935 fps= 22 q=28.0 size= 42838kB time=00:01:18.53 bitrate=4468.4kbits/frame= 1941 fps= 22 q=28.0 size= 43218kB time=00:01:18.78 bitrate=4493.6kbits/frame= 1945 fps= 22 q=28.0 size= 43370kB time=00:01:18.95 bitrate=4499.9kbits/frame= 1951 fps= 22 q=28.0 size= 43622kB time=00:01:19.20 bitrate=4511.7kbits/frame= 1957 fps= 22 q=28.0 size= 43874kB time=00:01:19.45 bitrate=4523.6kbits/frame= 1963 fps= 21 q=28.0 size= 44165kB time=00:01:19.70 bitrate=4539.2kbits/frame= 1969 fps= 21 q=28.0 size= 44456kB time=00:01:19.95 bitrate=4554.9kbits/frame= 1977 fps= 21 q=28.0 size= 44944kB time=00:01:20.28 bitrate=4585.7kbits/frame= 1983 fps= 21 q=28.0 size= 45284kB time=00:01:20.53 bitrate=4606.1kbits/frame= 1990 fps= 21 q=25.0 size= 45737kB time=00:01:20.83 bitrate=4635.4kbits/frame= 1999 fps= 21 q=28.0 size= 46334kB time=00:01:21.20 bitrate=4674.2kbits/frame= 2006 fps= 21 q=28.0 size= 46635kB time=00:01:21.49 bitrate=4687.7kbits/frame= 2012 fps= 21 q=25.0 size= 46914kB time=00:01:21.74 bitrate=4701.3kbits/frame= 2021 fps= 21 q=28.0 size= 47580kB time=00:01:22.12 bitrate=4746.2kbits/frame= 2027 fps= 21 q=28.0 size= 47959kB time=00:01:22.37 bitrate=4769.4kbits/frame= 2032 fps= 21 q=25.0 size= 48235kB time=00:01:22.58 bitrate=4784.8kbits/frame= 2041 fps= 21 q=28.0 size= 48906kB time=00:01:22.95 bitrate=4829.4kbits/frame= 2049 fps= 21 q=28.0 size= 49358kB time=00:01:23.29 bitrate=4854.5kbits/frame= 2055 fps= 21 q=28.0 size= 49621kB time=00:01:23.54 bitrate=4865.8kbits/frame= 2062 fps= 21 q=28.0 size= 49888kB time=00:01:23.83 bitrate=4874.9kbits/frame= 2070 fps= 21 q=28.0 size= 50229kB time=00:01:24.16 bitrate=4888.7kbits/frame= 2076 fps= 21 q=25.0 size= 50548kB time=00:01:24.41 bitrate=4905.3kbits/frame= 2084 fps= 21 q=25.0 size= 51007kB time=00:01:24.75 bitrate=4930.3kbits/frame= 2094 fps= 21 q=28.0 size= 51667kB time=00:01:25.16 bitrate=4969.7kbits/frame= 2102 fps= 21 q=28.0 size= 52092kB time=00:01:25.50 bitrate=4991.0kbits/frame= 2108 fps= 21 q=25.0 size= 52395kB time=00:01:25.75 bitrate=5005.3kbits/frame= 2118 fps= 21 q=28.0 size= 52984kB time=00:01:26.16 bitrate=5037.1kbits/frame= 2126 fps= 21 q=28.0 size= 53184kB time=00:01:26.50 bitrate=5036.6kbits/frame= 2134 fps= 20 q=28.0 size= 53378kB time=00:01:26.83 bitrate=5035.5kbits/frame= 2142 fps= 20 q=28.0 size= 53564kB time=00:01:27.17 bitrate=5033.8kbits/frame= 2148 fps= 20 q=28.0 size= 53691kB time=00:01:27.42 bitrate=5031.3kbits/frame= 2157 fps= 20 q=28.0 size= 53898kB time=00:01:27.79 bitrate=5029.0kbits/frame= 2166 fps= 20 q=28.0 size= 54083kB time=00:01:28.17 bitrate=5024.8kbits/frame= 2174 fps= 20 q=28.0 size= 54244kB time=00:01:28.50 bitrate=5020.8kbits/frame= 2184 fps= 20 q=28.0 size= 54443kB time=00:01:28.92 bitrate=5015.6kbits/frame= 2192 fps= 20 q=28.0 size= 54598kB time=00:01:29.25 bitrate=5011.1kbits/frame= 2202 fps= 20 q=28.0 size= 55699kB time=00:01:29.67 bitrate=5088.4kbits/frame= 2209 fps= 20 q=25.0 size= 57172kB time=00:01:29.96 bitrate=5205.9kbits/frame= 2216 fps= 20 q=28.0 size= 58829kB time=00:01:30.25 bitrate=5339.5kbits/frame= 2225 fps= 20 q=25.0 size= 60025kB time=00:01:30.63 bitrate=5425.5kbits/frame= 2233 fps= 20 q=25.0 size= 60815kB time=00:01:30.96 bitrate=5476.7kbits/frame= 2245 fps= 20 q=25.0 size= 61835kB time=00:01:31.46 bitrate=5538.2kbits/frame= 2251 fps= 20 q=25.0 size= 62384kB time=00:01:31.71 bitrate=5572.1kbits/frame= 2259 fps= 20 q=25.0 size= 63079kB time=00:01:32.05 bitrate=5613.7kbits/frame= 2267 fps= 20 q=28.0 size= 63829kB time=00:01:32.38 bitrate=5659.9kbits/frame= 2275 fps= 20 q=28.0 size= 64166kB time=00:01:32.71 bitrate=5669.3kbits/frame= 2283 fps= 20 q=28.0 size= 64366kB time=00:01:33.05 bitrate=5666.6kbits/frame= 2292 fps= 20 q=28.0 size= 64585kB time=00:01:33.42 bitrate=5663.1kbits/frame= 2300 fps= 20 q=28.0 size= 64848kB time=00:01:33.76 bitrate=5665.8kbits/frame= 2308 fps= 20 q=28.0 size= 65081kB time=00:01:34.09 bitrate=5666.1kbits/frame= 2318 fps= 20 q=28.0 size= 65330kB time=00:01:34.51 bitrate=5662.6kbits/frame= 2326 fps= 20 q=28.0 size= 65519kB time=00:01:34.84 bitrate=5659.0kbits/frame= 2336 fps= 20 q=28.0 size= 65715kB time=00:01:35.26 bitrate=5651.2kbits/frame= 2342 fps= 20 q=28.0 size= 65873kB time=00:01:35.51 bitrate=5649.9kbits/frame= 2350 fps= 20 q=28.0 size= 66076kB time=00:01:35.84 bitrate=5647.5kbits/frame= 2360 fps= 20 q=28.0 size= 66286kB time=00:01:36.26 bitrate=5641.0kbits/frame= 2370 fps= 20 q=28.0 size= 66524kB time=00:01:36.67 bitrate=5636.8kbits/frame= 2378 fps= 20 q=28.0 size= 66726kB time=00:01:37.01 bitrate=5634.5kbits/frame= 2387 fps= 20 q=28.0 size= 66951kB time=00:01:37.38 bitrate=5631.7kbits/frame= 2395 fps= 20 q=28.0 size= 67131kB time=00:01:37.72 bitrate=5627.5kbits/frame= 2403 fps= 20 q=28.0 size= 67318kB time=00:01:38.05 bitrate=5624.0kbits/frame= 2413 fps= 20 q=28.0 size= 67567kB time=00:01:38.47 bitrate=5620.9kbits/frame= 2422 fps= 20 q=28.0 size= 67797kB time=00:01:38.84 bitrate=5618.6kbits/frame= 2429 fps= 19 q=28.0 size= 67973kB time=00:01:39.14 bitrate=5616.6kbits/frame= 2441 fps= 19 q=28.0 size= 68308kB time=00:01:39.64 bitrate=5616.0kbits/frame= 2450 fps= 19 q=28.0 size= 68502kB time=00:01:40.01 bitrate=5610.8kbits/frame= 2458 fps= 19 q=28.0 size= 68663kB time=00:01:40.35 bitrate=5605.2kbits/frame= 2467 fps= 19 q=28.0 size= 68828kB time=00:01:40.72 bitrate=5597.7kbits/frame= 2475 fps= 19 q=28.0 size= 69134kB time=00:01:41.05 bitrate=5604.1kbits/frame= 2483 fps= 19 q=28.0 size= 69377kB time=00:01:41.39 bitrate=5605.3kbits/frame= 2491 fps= 19 q=28.0 size= 69570kB time=00:01:41.72 bitrate=5602.5kbits/frame= 2499 fps= 19 q=28.0 size= 69762kB time=00:01:42.06 bitrate=5599.5kbits/frame= 2507 fps= 19 q=28.0 size= 69952kB time=00:01:42.39 bitrate=5596.5kbits/frame= 2515 fps= 19 q=28.0 size= 70126kB time=00:01:42.72 bitrate=5592.2kbits/frame= 2523 fps= 19 q=28.0 size= 70322kB time=00:01:43.06 bitrate=5589.7kbits/frame= 2530 fps= 19 q=28.0 size= 70484kB time=00:01:43.35 bitrate=5586.7kbits/frame= 2539 fps= 19 q=28.0 size= 70680kB time=00:01:43.72 bitrate=5582.0kbits/frame= 2547 fps= 19 q=25.0 size= 70856kB time=00:01:44.06 bitrate=5577.9kbits/frame= 2556 fps= 19 q=28.0 size= 71182kB time=00:01:44.43 bitrate=5583.4kbits/frame= 2563 fps= 19 q=28.0 size= 71421kB time=00:01:44.72 bitrate=5586.6kbits/frame= 2571 fps= 19 q=28.0 size= 71691kB time=00:01:45.06 bitrate=5589.9kbits/frame= 2578 fps= 19 q=28.0 size= 71948kB time=00:01:45.35 bitrate=5594.4kbits/frame= 2584 fps= 19 q=28.0 size= 72230kB time=00:01:45.60 bitrate=5603.0kbits/frame= 2592 fps= 19 q=28.0 size= 72688kB time=00:01:45.93 bitrate=5620.8kbits/frame= 2600 fps= 19 q=28.0 size= 73099kB time=00:01:46.27 bitrate=5634.8kbits/frame= 2608 fps= 19 q=28.0 size= 73410kB time=00:01:46.60 bitrate=5641.1kbits/frame= 2614 fps= 19 q=28.0 size= 73601kB time=00:01:46.85 bitrate=5642.5kbits/frame= 2620 fps= 19 q=28.0 size= 73855kB time=00:01:47.10 bitrate=5648.8kbits/frame= 2630 fps= 19 q=28.0 size= 74238kB time=00:01:47.52 bitrate=5656.0kbits/frame= 2639 fps= 19 q=28.0 size= 74422kB time=00:01:47.89 bitrate=5650.3kbits/frame= 2647 fps= 19 q=28.0 size= 74576kB time=00:01:48.23 bitrate=5644.6kbits/frame= 2657 fps= 19 q=28.0 size= 74778kB time=00:01:48.65 bitrate=5638.1kbits/frame= 2663 fps= 19 q=28.0 size= 74889kB time=00:01:48.90 bitrate=5633.5kbits/frame= 2672 fps= 19 q=28.0 size= 75062kB time=00:01:49.27 bitrate=5627.1kbits/frame= 2682 fps= 19 q=28.0 size= 75244kB time=00:01:49.69 bitrate=5619.3kbits/frame= 2693 fps= 19 q=28.0 size= 75602kB time=00:01:50.15 bitrate=5622.6kbits/frame= 2701 fps= 19 q=28.0 size= 75882kB time=00:01:50.48 bitrate=5626.3kbits/frame= 2709 fps= 19 q=28.0 size= 76163kB time=00:01:50.81 bitrate=5630.1kbits/frame= 2716 fps= 19 q=28.0 size= 76398kB time=00:01:51.11 bitrate=5632.7kbits/frame= 2724 fps= 19 q=28.0 size= 76674kB time=00:01:51.44 bitrate=5636.1kbits/frame= 2732 fps= 19 q=28.0 size= 76934kB time=00:01:51.77 bitrate=5638.3kbits/frame= 2742 fps= 19 q=28.0 size= 77289kB time=00:01:52.19 bitrate=5643.3kbits/frame= 2750 fps= 19 q=28.0 size= 77446kB time=00:01:52.52 bitrate=5638.0kbits/frame= 2758 fps= 19 q=28.0 size= 77616kB time=00:01:52.86 bitrate=5633.7kbits/frame= 2766 fps= 19 q=28.0 size= 77777kB time=00:01:53.19 bitrate=5628.7kbits/frame= 2774 fps= 19 q=28.0 size= 77960kB time=00:01:53.53 bitrate=5625.4kbits/frame= 2782 fps= 19 q=28.0 size= 78137kB time=00:01:53.86 bitrate=5621.6kbits/frame= 2788 fps= 19 q=28.0 size= 78275kB time=00:01:54.11 bitrate=5619.2kbits/frame= 2796 fps= 19 q=28.0 size= 78443kB time=00:01:54.44 bitrate=5614.9kbits/frame= 2804 fps= 19 q=28.0 size= 78721kB time=00:01:54.78 bitrate=5618.4kbits/frame= 2812 fps= 19 q=28.0 size= 78904kB time=00:01:55.11 bitrate=5615.1kbits/frame= 2818 fps= 19 q=28.0 size= 79034kB time=00:01:55.36 bitrate=5612.2kbits/frame= 2826 fps= 19 q=28.0 size= 79232kB time=00:01:55.69 bitrate=5610.0kbits/frame= 2834 fps= 19 q=28.0 size= 79425kB time=00:01:56.03 bitrate=5607.5kbits/frame= 2844 fps= 19 q=28.0 size= 79665kB time=00:01:56.44 bitrate=5604.3kbits/frame= 2852 fps= 19 q=28.0 size= 79858kB time=00:01:56.78 bitrate=5601.8kbits/frame= 2862 fps= 19 q=28.0 size= 80220kB time=00:01:57.20 bitrate=5607.2kbits/frame= 2869 fps= 18 q=28.0 size= 80434kB time=00:01:57.49 bitrate=5608.1kbits/frame= 2877 fps= 18 q=28.0 size= 80696kB time=00:01:57.82 bitrate=5610.5kbits/frame= 2878 fps= 18 q=-1.0 Lsize= 82436kB time=00:01:59.95 bitrate=5629.8kbits/s video:76623kB audio:5686kB global headers:0kB muxing overhead 0.154262% [libx264 @ 0x101847a00] frame I:129 Avg QP:21.15 size:112341 [libx264 @ 0x101847a00] frame P:1639 Avg QP:23.78 size: 32999 [libx264 @ 0x101847a00] frame B:1110 Avg QP:27.23 size: 8905 [libx264 @ 0x101847a00] consecutive B-frames: 38.4% 29.5% 2.7% 29.3% [libx264 @ 0x101847a00] mb I I16..4: 23.4% 71.9% 4.6% [libx264 @ 0x101847a00] mb P I16..4: 2.5% 13.5% 0.8% P16..4: 29.1% 8.1% 2.8% 0.0% 0.0% skip:43.2% [libx264 @ 0x101847a00] mb B I16..4: 0.1% 1.1% 0.0% B16..8: 16.3% 3.4% 0.5% direct: 1.7% skip:76.8% L0:49.1% L1:46.7% BI: 4.2% [libx264 @ 0x101847a00] 8x8 transform intra:78.2% inter:83.9% [libx264 @ 0x101847a00] coded y,uvDC,uvAC intra: 70.8% 62.8% 26.7% inter: 17.1% 12.5% 0.1% [libx264 @ 0x101847a00] i16 v,h,dc,p: 79% 8% 5% 8% [libx264 @ 0x101847a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 13% 20% 7% 10% 9% 9% 8% 9% [libx264 @ 0x101847a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 12% 8% 12% 10% 9% 7% 7% [libx264 @ 0x101847a00] i8c dc,h,v,p: 62% 16% 18% 5% [libx264 @ 0x101847a00] Weighted P-Frames: Y:10.0% UV:7.4% [libx264 @ 0x101847a00] ref P L0: 55.9% 13.5% 19.1% 11.2% 0.3% [libx264 @ 0x101847a00] ref B L0: 71.5% 27.1% 1.4% [libx264 @ 0x101847a00] ref B L1: 97.8% 2.2% [libx264 @ 0x101847a00] kb/s:5229.17 mahalkos-iMac:~ mahalko$ And the resulting info: Last login: Thu Apr 12 11:20:15 on ttys000 mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Desktop/test.mp4 ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mahalko/Desktop/test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf53.32.100 Duration: 00:02:00.03, start: 0.000000, bitrate: 5625 kb/s Chapter #0.0: start 0.000000, end 120.037000 Metadata: title : 00:00:00.000 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5229 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 194 kb/s Metadata: handler_name : SoundHandler Stream #0:2(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 193 kb/s Metadata: handler_name : At least one output file must be specified mahalkos-iMac:~ mahalko$ So it's giving me about half of what I input is the correct? Or how should I be handling this? Thanks for the help! From help at nagashare.com Thu Apr 12 07:28:06 2012 From: help at nagashare.com (Bourne) Date: Thu, 12 Apr 2012 13:28:06 +0800 Subject: [FFmpeg-user] Transcode from wmv to flv problem In-Reply-To: References: <001401cd16e4$491a5730$db4f0590$@com>, , , , <002801cd184c$6f375210$4da5f630$@com>, Message-ID: <003801cd186d$0b7ac6f0$227054d0$@com> Yes, some old version ffmpeg works, suchas git-849f80f and git-e01f478, but they have problems with audio/video sync for transcode wmv to flv. Bourne -----Original Message----- From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of bat guano Sent: Thursday, April 12, 2012 10:57 AM To: ffmpeg-user at ffmpeg.org Subject: Re: [FFmpeg-user] Transcode from wmv to flv problem ---------------------------------------- "downloaded OK." I think it is an FFmpeg bug. New ffmpeg version N-39664-g6bfb304 built on Apr 9 2012 gives "monotonically" error. But old ffmpeg version N-34294-g0bc5677 built on Oct 31 2011 works OK. _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From xhpohanka at gmail.com Thu Apr 12 07:41:17 2012 From: xhpohanka at gmail.com (Jan Pohanka) Date: Thu, 12 Apr 2012 07:41:17 +0200 Subject: [FFmpeg-user] h264 frame rate detection Message-ID: Hello, I want to use ffmpeg to format a raw h264 stream to some container (mkv, mp4, flv, ...). Unfortunately it seems that ffmpeg has problems with analyzing the frame rate of the stream. I have found a description of this issue in the mailing list or somewhere on the internet, but no solution have been provided there... My raw stream was encoded on TI dm365 multimedia processor with the time_scale = 5000 and num_units_in_tick = 1000. As far as I know this should imply fps = 5 (5000/1000). Ffmpeg gives a message that codec frame rate differs from the container frame rate ffmpeg -i test.264 ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers built on Mar 12 2012 14:02:26 with gcc 4.6.1 configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-bzlib --enable-frei0r --enable-gnutls --enable-libass --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openssl --enable-zlib --extra-cflags=-I../x264 libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 42. 0 / 53. 42. 0 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 0x1d36f20] max_analyze_duration 5000000 reached at 5200000 [h264 @ 0x1d36f20] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 5.00 (5/1) -> 2.50 (5/2) Input #0, h264, from 'test.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p, 1600x1200, 2.50 fps, 2.50 tbr, 1200k tbn, 5 tbc When I try to play this file with ffplay it is surprisingly played correctly on 5 fps (seconds on the watch on the video are really seconds) but the command line still informs about 2.50 fps. However after formating the stream to a container ffmpeg -i test.264 -c:v copy -y test.mkv the resulting file is played on the 2.5 fps in all players, which I have. Forcing frame rate with -r parameter as described in documentation has no effect. Could please someone give me some advice how to solve this issue? The test file could be downloaded on this link http://dl.dropbox.com/u/72776563/test.264 best regards Jan -- Tato zpr?va byla vytvo?ena p?evratn?m po?tovn?m klientem Opery: http://www.opera.com/mail/ From fingcmo at gmail.com Thu Apr 12 09:18:25 2012 From: fingcmo at gmail.com (Fing Cmo) Date: Thu, 12 Apr 2012 00:18:25 -0700 Subject: [FFmpeg-user] drawtext parameter keys "n" and "t" not working? How to overlay text at specified seconds/frame into the video? Message-ID: All, I am trying to use drawtext filter to overlay text 10 seconds into the video. I couldn't find any solution using drawtext filter. Does anyone know how one would: 1-- Overlay text 10 seconds into the video. 2-- Overlay text over video at 1 second intervals into the video. The text last for 1 second or specified duration. I tried using drawtext's "n" and "t" parameter keys and the example below returns: [drawtext @ 0xa64ca40] Key 'n' not found. [drawtext @ 0xa64e6c0] Error parsing options string: 'fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf:text=Text at 5 Looks good:fontsize=20:fontcolor=red:x=100:y=100:n=688' Error initializing filter 'drawtext' with args 'fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf:text=Text at 5 Looks good:fontsize=20:fontcolor=red:x=100:y=100:n=688' ffmpeg -vsync 0 -t 10 -i in)video.mp4 -vf drawtext="fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf:text='Text at 5 Looks good':fontsize=20:fontcolor=red:x=100:y=100:*n=688*" out.mp4 If anyone knows if these parameters work, please give a usage example. Otherwise, do you have any advice on how to achieve objective "1--" and "2--" above? Thanks, Ad. ------------------------------------ From cehoyos at ag.or.at Thu Apr 12 09:31:16 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 12 Apr 2012 07:31:16 +0000 (UTC) Subject: [FFmpeg-user] h264 frame rate detection References: Message-ID: Jan Pohanka gmail.com> writes: > ffmpeg -i test.264 -c:v copy -y test.mkv > the resulting file is played on the 2.5 fps in all players, > which I have. Can you confirm that this is also true for ffplay and that ffmpeg -i test.mkv out.avi produces an incorrectly playing file? > Forcing frame rate with -r parameter as described in > documentation has no effect. Where is this described? > Could please someone give me some advice how to solve this issue? Please test current git head, this is usually the only supported version (if you are a user and not a distributor), if the problem is still reproducible, consider opening a ticket on trac. Please understand that the result of ffmpeg -i test.mkv out.avi is the primary indication for the bug. Carl Eugen From xhpohanka at gmail.com Thu Apr 12 10:43:59 2012 From: xhpohanka at gmail.com (Jan Pohanka) Date: Thu, 12 Apr 2012 10:43:59 +0200 Subject: [FFmpeg-user] h264 frame rate detection In-Reply-To: References: Message-ID: Hello Carl, I have tried it again with last git master head >> ffmpeg -i test.264 -c:v copy -y test.mkv >> the resulting file is played on the 2.5 fps in all players, >> which I have. > > Can you confirm that this is also true for ffplay and that > ffmpeg -i test.mkv out.avi produces an incorrectly playing file? > The steps to reproduce are: 1. get the new raw video test.264 2. ffplay test.264 The video is played with the correct speed (5 fps) even if the ffplay informs about 2.50 fps (see bellow) ffplay version N-39733-g733cf0a Copyright (c) 2003-2012 the FFmpeg developers built on Apr 12 2012 10:26:12 with gcc 4.6.1 configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-bzlib --enable-frei0r --enable-gnutls --enable-libass --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openssl --enable-zlib --extra-cflags=-I../x264 libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [h264 @ 0x2dc5280] max_analyze_duration 5000000 reached at 5200000 [h264 @ 0x2dc5280] Estimating duration from bitrate, this may be inaccurate Input #0, h264, from 'test.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p, 1600x1200, 2.50 fps, 2.50 tbr, 1200k tbn, 5 tbc [buffersink @ 0x2de6040] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x2de67a0] w:1600 h:1200 fmt:yuvj420p sar:0/1 -> w:1600 h:1200 fmt:yuv420p sar:0/1 flags:0x4 6.89 A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 0/0 3. ffmpeg -i test.264 -c:v copy -y test.avi ... Input #0, h264, from 'test.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p, 1600x1200, 2.50 fps, 2.50 tbr, 1200k tbn, 5 tbc Output #0, avi, to 'test.avi': Metadata: ISFT : Lavf54.3.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuvj420p, 1600x1200, q=2-31, 2.50 fps, 5 tbn, 5 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 22 fps=0.0 q=-1.0 Lsize= 84kB time=00:00:08.20 bitrate= 83.8kbits/s video:77kB audio:0kB global headers:0kB muxing overhead 8.611181% 4. ffplay test.avi Now the video is played 2 times slowly BUT the ffplay informs about 5 fps - this is new in current git master ... Input #0, avi, from 'test.avi': Metadata: encoder : Lavf54.3.100 Duration: 00:00:08.20, start: 0.000000, bitrate: 83 kb/s Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuvj420p, 1600x1200, 5 fps, 5 tbr, 5 tbn, 5 tbc [buffersink @ 0x302b7e0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x302bf20] w:1600 h:1200 fmt:yuvj420p sar:0/1 -> w:1600 h:1200 fmt:yuv420p sar:0/1 flags:0x4 5. ffmpeg -i test.264 -c:v copy -y test.mkv 6. ffplay test.mkv Video is also played 2 times slowly and there is info about 2.5 fps ... [matroska,webm @ 0x2c85280] max_analyze_duration 5000000 reached at 5200000 Input #0, matroska,webm, from 'test.mkv': Metadata: ENCODER : Lavf54.3.100 Duration: 00:00:08.44, start: 0.000000, bitrate: 75 kb/s Stream #0:0: Video: h264 (High), yuvj420p, 1600x1200, SAR 1:1 DAR 4:3, 2.50 fps, 2.50 tbr, 1k tbn, 5 tbc (default) [buffersink @ 0x2ca6ba0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x2ca72a0] w:1600 h:1200 fmt:yuvj420p sar:1/1 -> w:1600 h:1200 fmt:yuv420p sar:1/1 flags:0x4 1.24 A-V: 0.000 fd= 0 aq= 0KB vq= 10KB sq= 0B f=0/0 0/0 >> Forcing frame rate with -r parameter as described in >> documentation has no effect. > > Where is this described? http://ffmpeg.org/ffmpeg.html#Description To force the frame rate of the output file to 24 fps: ffmpeg -i input.avi -r 24 output.avi To force the frame rate of the input file (valid for raw formats only) to 1 fps and the frame rate of the output file to 24 fps: ffmpeg -r 1 -i input.m2v -r 24 output.avi but maybe this is an old information > >> Could please someone give me some advice how to solve this issue? > > Please test current git head, this is usually the only supported > version (if you are a user and not a distributor), if the > problem is still reproducible, consider opening a ticket on trac. > > Please understand that the result of > ffmpeg -i test.mkv out.avi is the primary indication for the bug. I'm still not sure if there is some problem in the raw file. I do not know how to analyze it... > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -- Tato zpr?va byla vytvo?ena p?evratn?m po?tovn?m klientem Opery: http://www.opera.com/mail/ From shaily.athghara at gmail.com Thu Apr 12 12:03:27 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Thu, 12 Apr 2012 15:33:27 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe In-Reply-To: <1334146964.92197.YahooMailNeo@web122501.mail.ne1.yahoo.com> References: <1334141249.95739.YahooMailNeo@web122504.mail.ne1.yahoo.com> <1334146964.92197.YahooMailNeo@web122501.mail.ne1.yahoo.com> Message-ID: Thanks Pranav Now I could able to find the I-frame by executing the command ffmpeg -i file.ts -vf select='eq(pict_type\,I)' -f image2 images%05d.jpeg But my requirement was : I have a raw file and a wav file which needs to be encoded and output an flv,the genrated flv has both the video and audio content but the issue was the initial portion of the video was grayed out. So by applying the above logic I can get the I- frame from raw file and can output an flv file (without gray )which is perfectly alright.But now the next task is to sync the audio and video as I am extracting the audio from wav file, If I am cutting some frame from the raw file I need to cut some from wav and produce the flv file so that the video and audio will be in sync. To get this I thought of cutting the video based on the time stamp and those values I can get by executing the command "showinfo" of ffmpeg ./ffmpeg -i 1.h263 -af showinfo -f flv test_cut2.flv 2>list.txt Is there any way so that I can get the same kind of information from wav file and extract the audio. "ashowinfo" of ffmpeg displays all the credentials of audio, but I couldn't able to execute this as it is throwing some errors. Please suggest am I doing the right approach or there is other way to deal with that. Thanks, Shaily On Wed, Apr 11, 2012 at 5:52 PM, tank pranav wrote: > Well, I dont know about this has got fixed or not.............. but > > > to get all I frames exist in the video this is the command. > > ffmpeg -i file.ts -vf select="eq(pict_type\,PICT_TYPE_I)" -f image2 > images%05d.jpeg > > So, now what ever first frame you will get from above command , that will > be your first I frame. > > so you need to do some prgramming , so that ffmpeg should come to know > that from first I frame it has to start decoding and generating pictures. > > Regards, > pranav. > > > > ________________________________ > From: Shaily Athghara > To: FFmpeg user questions and RTFMs > Sent: Wednesday, April 11, 2012 5:34 PM > Subject: Re: [FFmpeg-user] warning: first frame is no keyframe > > But this issue seems to be fixed in the latest release of ffmpeg.Please > suggest some ffmpeg command so that I can extract the I frames by using > this . > > I have downloaded dvbcut-0.5.4 but when I am executing the command "make" > its throwing the error > > dvbcut-0.5.4]# make > scons \ > > make: scons: Command not found > make: *** [build] Error 127 > > > On Wed, Apr 11, 2012 at 4:17 PM, tank pranav > wrote: > > > when ever any video you decode , if that video starts with partial GOP > > then its not possible to decode that kind of GOP. Take an example of > let's > > say , if any video starts with B or P frame then this kind of frames are > > not possible to decode that is why ffmpeg is giving gray frames. > > > > Now what is the solution of that , you start decoding you video when u > > encounter first I frame. so from there after , you will get whole frames > > proper. ( thati s done by dvbcut software , if you are not aware about > this > > software then try once by downloading it ). > > > > > > > > > > ________________________________ > > From: Shaily Athghara > > To: ffmpeg-user at ffmpeg.org > > Sent: Wednesday, April 11, 2012 4:11 PM > > Subject: [FFmpeg-user] warning: first frame is no keyframe > > > > Thanks Carl, > > > > After executing the following command > > > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > > > > It outputs the correct number of frames (frame=189) but started giving > the > > same warning > > > > "warning: first frame is no keyframe" and the initial frame are grayed > out. > > > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > > ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers > > built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat > 4.1.2-44) > > configuration: > > libavutil 51. 46.100 / 51. 46.100 > > libavcodec 54. 14.101 / 54. 14.101 > > libavformat 54. 3.100 / 54. 3.100 > > libavdevice 53. 4.100 / 53. 4.100 > > libavfilter 2. 67.101 / 2. 67.101 > > libswscale 2. 1.100 / 2. 1.100 > > libswresample 0. 10.100 / 0. 10.100 > > [h263 @ 0x1cdac20] warning: first frame is no keyframe > > [h263 @ 0x1ccc4e0] max_analyze_duration 5000000 reached at 5005000 > > [h263 @ 0x1ccc4e0] Estimating duration from bitrate, this may be > inaccurate > > Input #0, h263, from '1.raw': > > Duration: N/A, bitrate: N/A > > Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 > > fps, 29.97 tbr, 1200k tbn, 29.97 tbc > > [wav @ 0x1e89be0] max_analyze_duration 5000000 reached at 5120000 > > Input #1, wav, from '4.wav': > > Duration: 00:00:13.68, bitrate: 64 kb/s > > Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 > > channels, s16, 64 kb/s > > [buffer @ 0x1cdb3e0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 > > sws_param:flags=2 > > Output #0, flv, to 'output.flv': > > Metadata: > > encoder : Lavf54.3.100 > > Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288 > [SAR > > 12:11 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc > > Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 > > channels, s16, 44 kb/s > > Stream mapping: > > Stream #0:0 -> #0:0 (h263 -> flv) > > Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) > > Press [q] to stop, [?] for help > > [h263 @ 0x1cdac20] warning: first frame is no keyframe > > [h263 @ 0x1cdac20] concealing 308 DC, 308 AC, 308 MV errors > > frame= 189 fps=0.0 q=7.5 Lsize= 342kB time=00:00:06.43 bitrate= > > 434.6kbits/s > > video:259kB audio:75kB global headers:0kB muxing overhead 2.359965% > > > > I tried the next option as well renaming 1.raw to 1.h263 but this also > > gives the same output. > > Also notice some more messages like "max_analyze_duration 5000000 reached > > at 5005000" and " Estimating duration from bitrate, this may be > > inaccurate" not sure whether these are errors or just info messages. > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From akshar_tank at yahoo.com Thu Apr 12 13:15:38 2012 From: akshar_tank at yahoo.com (tank pranav) Date: Thu, 12 Apr 2012 04:15:38 -0700 (PDT) Subject: [FFmpeg-user] warning: first frame is no keyframe In-Reply-To: References: <1334141249.95739.YahooMailNeo@web122504.mail.ne1.yahoo.com> <1334146964.92197.YahooMailNeo@web122501.mail.ne1.yahoo.com> Message-ID: <1334229338.80644.YahooMailNeo@web122502.mail.ne1.yahoo.com> ffmpeg -filters By applying above command , if you dont find filter "ashowinfo" in the filter list then , definitely you dont have that filter installed in your ffmpeg installation. So, first verify that thing first. Regards. ________________________________ From: Shaily Athghara To: FFmpeg user questions and RTFMs Sent: Thursday, April 12, 2012 3:33 PM Subject: Re: [FFmpeg-user] warning: first frame is no keyframe Thanks Pranav Now I could able to find the I-frame by executing the command ffmpeg -i file.ts? -vf? select='eq(pict_type\,I)'? -f? image2 images%05d.jpeg But my requirement was : I have a raw file and a wav file which needs to be encoded and output an flv,the genrated flv has both the video and audio content but the issue was the initial portion of the video was grayed out. So by applying the above logic I can get the I- frame from raw file and can output an flv file (without gray )which is perfectly alright.But now the next task is to sync the audio and video as I am extracting the audio from wav file, If I am cutting some frame from the raw file I need to cut some from wav and produce the flv file so that the video and audio will be in sync. To get this I thought of cutting the video based on the time stamp and those valu??? es I can get by executing the command "showinfo" of ffmpeg ./ffmpeg -i 1.h263 -af showinfo? -f flv? test_cut2.flv 2>list.txt Is there any way so that I can get the same kind of information from wav file and extract the audio. "ashowinfo" of ffmpeg displays all the credentials of audio, but I couldn't able to execute this as it is throwing some errors. Please suggest am I doing the right approach or there is other way to deal with that. Thanks, Shaily On Wed, Apr 11, 2012 at 5:52 PM, tank pranav wrote: > Well, I dont know about this has got fixed or not.............. but > > > to get all I frames exist in the video this is the command. > > ffmpeg -i file.ts? -vf? select="eq(pict_type\,PICT_TYPE_I)"? -f? image2 > images%05d.jpeg > > So, now what ever first frame you will get from above command , that will > be your first I frame. > > so you need to do some prgramming , so that ffmpeg should come to know > that from first I frame it has to start decoding and generating pictures. > > Regards, > pranav. > > > > ________________________________ >? From: Shaily Athghara > To: FFmpeg user questions and RTFMs > Sent: Wednesday, April 11, 2012 5:34 PM > Subject: Re: [FFmpeg-user] warning: first frame is no keyframe > > But this issue seems to be fixed in the latest release of ffmpeg.Please > suggest some ffmpeg command so that I can extract the I frames by using > this . > > I have downloaded dvbcut-0.5.4 but when I am executing the command "make" > its throwing the error > > dvbcut-0.5.4]# make > scons? \ > > make: scons: Command not found > make: *** [build] Error 127 > > > On Wed, Apr 11, 2012 at 4:17 PM, tank pranav > wrote: > > > when ever any video you decode , if that video starts with partial GOP > > then its not possible to decode that kind of GOP. Take an example of > let's > > say , if any video starts with B or P frame then this kind of frames are > > not possible to decode that is why ffmpeg is giving gray frames. > > > > Now what is the solution of that , you start decoding you video when u > > encounter first I frame. so from there after , you will get whole frames > > proper. ( thati s done by dvbcut software , if you are not aware about > this > > software then try once by downloading it ). > > > > > > > > > > ________________________________ > >? From: Shaily Athghara > > To: ffmpeg-user at ffmpeg.org > > Sent: Wednesday, April 11, 2012 4:11 PM > > Subject: [FFmpeg-user] warning: first frame is no keyframe > > > > Thanks Carl, > > > > After executing the following command > > > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > > > > It outputs the correct number of frames (frame=189) but started giving > the > > same warning > > > > "warning: first frame is no keyframe" and the initial frame are grayed > out. > > > > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > > ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers > >? built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat > 4.1.2-44) > >? configuration: > >? libavutil? ? ? 51. 46.100 / 51. 46.100 > >? libavcodec? ? 54. 14.101 / 54. 14.101 > >? libavformat? ? 54.? 3.100 / 54.? 3.100 > >? libavdevice? ? 53.? 4.100 / 53.? 4.100 > >? libavfilter? ? 2. 67.101 /? 2. 67.101 > >? libswscale? ? ? 2.? 1.100 /? 2.? 1.100 > >? libswresample? 0. 10.100 /? 0. 10.100 > > [h263 @ 0x1cdac20] warning: first frame is no keyframe > > [h263 @ 0x1ccc4e0] max_analyze_duration 5000000 reached at 5005000 > > [h263 @ 0x1ccc4e0] Estimating duration from bitrate, this may be > inaccurate > > Input #0, h263, from '1.raw': > >? Duration: N/A, bitrate: N/A > >? ? Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 > > fps, 29.97 tbr, 1200k tbn, 29.97 tbc > > [wav @ 0x1e89be0] max_analyze_duration 5000000 reached at 5120000 > > Input #1, wav, from '4.wav': > >? Duration: 00:00:13.68, bitrate: 64 kb/s > >? ? Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 > > channels, s16, 64 kb/s > > [buffer @ 0x1cdb3e0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 > > sws_param:flags=2 > > Output #0, flv, to 'output.flv': > >? Metadata: > >? ? encoder? ? ? ? : Lavf54.3.100 > >? ? Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288 > [SAR > > 12:11 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc > >? ? Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 > > channels, s16, 44 kb/s > > Stream mapping: > >? Stream #0:0 -> #0:0 (h263 -> flv) > >? Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) > > Press [q] to stop, [?] for help > > [h263 @ 0x1cdac20] warning: first frame is no keyframe > > [h263 @ 0x1cdac20] concealing 308 DC, 308 AC, 308 MV errors > > frame=? 189 fps=0.0 q=7.5 Lsize=? ? 342kB time=00:00:06.43 bitrate= > > 434.6kbits/s > > video:259kB audio:75kB global headers:0kB muxing overhead 2.359965% > > > > I tried the next option as well renaming 1.raw to 1.h263 but this also > > gives the same output. > > Also notice some more messages like "max_analyze_duration 5000000 reached > > at 5005000" and " Estimating duration from bitrate, this may be > > inaccurate"? not sure whether these are errors or just info messages. > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From cehoyos at ag.or.at Thu Apr 12 13:48:51 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 12 Apr 2012 11:48:51 +0000 (UTC) Subject: [FFmpeg-user] bgra to yuv References: <1330634734197-4436338.post@n4.nabble.com> Message-ID: Josh long gmail.com> writes: > The real reason we wanted to use dirac is because our > team-leader wanted to try to parallelize the process > (which we never got to). If this is possible with schroedinger (or dirac) from the command line, there is no reason why it shouldn't be possible with FFmpeg. (But I never tried.) > I'm still not sure why he didn't want to go straight to > schroedinger for that. > I couldn't find any information on nut, or play one It should work with FFmpeg (and MPlayer). > which is why I tried avi. avi is a good general-purpose container, but yuv in avi is generally not supported, FFmpeg will probably work but most other players will not. > Thanks for all of your help Sorry if you feel not optimally supported. Carl Eugen From shaily.athghara at gmail.com Thu Apr 12 13:55:12 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Thu, 12 Apr 2012 17:25:12 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe Message-ID: I could able to find ashowinfo the command which I am executing is ./ffmpeg -i 4.wav -f ashowinfo -ar 11025 -f flv t3.flv ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 [wav @ 0xfc6a3a0] max_analyze_duration 5000000 reached at 5120000 Input #0, wav, from '4.wav': Duration: 00:00:13.68, bitrate: 64 kb/s Stream #0:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 channels, s16, 64 kb/s Output #0, flv, to 't3.flv': Metadata: encoder : Lavf54.3.100 Stream #0:0: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 - Ignored: channels, s16, 44 kb/s Stream mapping: Stream #0:0 -> #0:0 (pcm_alaw -> adpcm_swf) Press [q] to stop, [?] for help size= 79kB time=00:00:13.70 bitrate= 47.5kbits/s video:0kB audio:75kB global headers:0kB muxing overhead 6.465545% Its not displaying all the information like n,pts,pts_time etc(as mentioned in ffmpeg doc) ,Is this the right command ? Regards From cehoyos at ag.or.at Thu Apr 12 15:27:10 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 12 Apr 2012 13:27:10 +0000 (UTC) Subject: [FFmpeg-user] h264 frame rate detection References: Message-ID: Jan Pohanka gmail.com> writes: > >> Forcing frame rate with -r parameter as described in > >> documentation has no effect. > > > > Where is this described? > > http://ffmpeg.org/ffmpeg.html#Description > To force the frame rate of the output file to 24 fps: > ffmpeg -i input.avi -r 24 output.avi > > To force the frame rate of the input file (valid for > raw formats only) to 1 fps and the frame rate of the > output file to 24 fps: > ffmpeg -r 1 -i input.m2v -r 24 output.avi > > but maybe this is an old information I think this only works for *raw* video, not for *raw formats*. > >> Could please someone give me some advice how to > >> solve this issue? > > > > Please test current git head, this is usually the only supported > > version (if you are a user and not a distributor), if the > > problem is still reproducible, consider opening a ticket on trac. > > > > Please understand that the result of > > ffmpeg -i test.mkv out.avi is the primary indication for the bug. > > I'm still not sure if there is some problem in the raw file. > I do not know how to analyze it... I assume there is a problem with the framerate in (some) raw h264 videos. But since ffplay is not the primary application, please test ffmpeg: ffmpeg -i test.264 -c:v copy -y test.avi ffmpeg -i test.avi -qscale 2 outavi.avi ffmpeg -i test.264 -c:v copy -y test.mkv ffmpeg -i test.mkv -qscale 2 outmkv.avi It should be possible to test the resulting outavi.avi and outmkv.avi with multiple players. Carl Eugen From cehoyos at ag.or.at Thu Apr 12 15:31:47 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 12 Apr 2012 13:31:47 +0000 (UTC) Subject: [FFmpeg-user] aac encoding coming from .mkv References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> <6C63F59F-B304-4CBF-BB45-C7E1259F275F@gmail.com> Message-ID: Rick C. gmail.com> writes: > Ok it did help here's the output: I assume the quality is now ok. > ffmpeg -i Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv > -acodec aac -strict experimental -ab 384k -map 0:v:0 -map 0:a > -t 120 test.mp4 > So it's giving me about half of what I input is the correct? -strict experimental means in this case that the bitrate estimation does not work (yet) in all cases. Carl Eugen From edward.chopuryan at yahoo.com Thu Apr 12 15:22:48 2012 From: edward.chopuryan at yahoo.com (Edi18) Date: Thu, 12 Apr 2012 06:22:48 -0700 (PDT) Subject: [FFmpeg-user] transcoding to mp4 (h264) Message-ID: <1334236968903-4551837.post@n4.nabble.com> Hi all, I have mpegts file, and i want ot convert it to mpeg4. But i actually need to write my transcoder in C. I have been searching for some example in google but couldn't find anything for me, i've found video encoding, video decoding, audio encoding and audio decoding examples. But all i need is to read file then decode video to raw DO NOT SAVE IT as its done in video encoding example, encode it to h264 and mux it to mp4 container(doing same for the audio). So i wanna ask is anybody have any example of transcoder, not necessary to mpegts to mpeg4, just transcoder? I wasted a week searching for example in google but unsuccessfully. Thanks in advance. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/transcoding-to-mp4-h264-tp4551837p4551837.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From cehoyos at ag.or.at Thu Apr 12 16:16:30 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 12 Apr 2012 14:16:30 +0000 (UTC) Subject: [FFmpeg-user] warning: first frame is no keyframe References: Message-ID: Shaily Athghara gmail.com> writes: > ./ffmpeg -r 6.5 -f h263 -i 1.raw -i 4.wav -y -f flv -ar 11025 output.flv > > It outputs the correct number of frames (frame=189) but > started giving the same warning > > "warning: first frame is no keyframe" and the initial > frame are grayed out. Please provide the sample 1.raw. Carl Eugen From mediastream at gmail.com Thu Apr 12 21:19:22 2012 From: mediastream at gmail.com (Dennis) Date: Thu, 12 Apr 2012 15:19:22 -0400 Subject: [FFmpeg-user] s302m audio extraction. Message-ID: Problem with dumping s302m audio track from mpegts (same with ffmpb 0.7-rc7): ./ffmpeg102 -y -i orig.mpg -vn -acodec copy -aframes 10 -f mpegts audio_only.ts ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 21 2012 17:29:36 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/home/dennis/010_64 --enable-static --enable-postproc --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-nonfree --enable-pthreads --enable-swscale --enable-runtime-cpudetect --disable-devices --disable-avdevice --enable-libfaac --extra-ldflags=-static --disable-shared --extra-libs='-lx264 -lfaac -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz -lpthread -lvpx' --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc --enable-version3 --enable-libvpx libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mpegts, from 'orig.mpg': Duration: 00:43:20.63, start: 0.250000, bitrate: 53933 kb/s Program 1 Stream #0:0[0x3e9]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Stream #0:1[0x3ea]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32, 2688 kb/s [mpegts @ 0xc5fe920] frame size not set [mpegts @ 0xc5fe920] muxrate VBR, pcr every 9 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to '1.ts': Metadata: encoder : Lavf53.32.100 Stream #0:0: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, 2688 kb/s Stream mapping: Stream #0:1 -> #0:0 (copy) Press [q] to stop, [?] for help size= 149kB time=00:00:00.41 bitrate=2935.2kbits/s video:0kB audio:137kB global headers:0kB muxing overhead 9.168212% Now looking at the audio file shows that its broken, wont encode to anything: ./ffmpeg102 -i audio_only.ts ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 21 2012 17:29:36 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/home/dennis/010_64 --enable-static --enable-postproc --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-nonfree --enable-pthreads --enable-swscale --enable-runtime-cpudetect --disable-devices --disable-avdevice --enable-libfaac --extra-ldflags=-static --disable-shared --extra-libs='-lx264 -lfaac -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz -lpthread -lvpx' --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc --enable-version3 --enable-libvpx libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [mpegts @ 0x1ce32940] decoding for stream 0 failed [mpegts @ 0x1ce32940] Could not find codec parameters (Unknown: none ([6][0][0][0] / 0x0006)) 1.ts: could not find codec parameters Tried dumping it to a wave, interesting thing came up --- libav* calls m302s "NONE"...? (see below) ./ffmpeg102 -y -i orig.mpg -vn -acodec copy -aframes 10 -f mpegts audio_only.wav ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 21 2012 17:29:36 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) configuration: --prefix=/home/dennis/010_64 --enable-static --enable-postproc --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-nonfree --enable-pthreads --enable-swscale --enable-runtime-cpudetect --disable-devices --disable-avdevice --enable-libfaac --extra-ldflags=-static --disable-shared --extra-libs='-lx264 -lfaac -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz -lpthread -lvpx' --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc --enable-version3 --enable-libvpx libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mpegts, from 'orig.mpg': Duration: 00:43:20.63, start: 0.250000, bitrate: 53933 kb/s Program 1 Stream #0:0[0x3e9]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Stream #0:1[0x3ea]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, s32, 2688 kb/s >>>>>>>>V [wav @ 0x4fcc920] NONE codec not supported in WAVE format >>>>>>>>A Output #0, wav, to '1.wav': Metadata: encoder : Lavf53.32.100 Stream #0:0: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, 2688 kb/s Stream mapping: Stream #0:1 -> #0:0 (copy) Could not write header for output file #0 (incorrect codec parameters ?) Any advice besides "patches are welcome" is welcome (: From tfoucu at gmail.com Thu Apr 12 21:32:34 2012 From: tfoucu at gmail.com (Thierry Foucu) Date: Thu, 12 Apr 2012 12:32:34 -0700 Subject: [FFmpeg-user] s302m audio extraction. In-Reply-To: References: Message-ID: On Thu, Apr 12, 2012 at 12:19 PM, Dennis wrote: > Problem with dumping s302m audio track from mpegts (same with ffmpb > 0.7-rc7): > > ./ffmpeg102 -y -i orig.mpg -vn -acodec copy -aframes 10 -f mpegts > audio_only.ts > ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers > built on Mar 21 2012 17:29:36 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) > configuration: --prefix=/home/dennis/010_64 --enable-static > --enable-postproc --enable-gpl --enable-avfilter --enable-libx264 > --enable-libxvid --enable-libmp3lame --enable-nonfree > --enable-pthreads --enable-swscale --enable-runtime-cpudetect > --disable-devices --disable-avdevice --enable-libfaac > --extra-ldflags=-static --disable-shared --extra-libs='-lx264 -lfaac > -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz -lpthread -lvpx' > --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc > --enable-version3 --enable-libvpx > libavutil 51. 35.100 / 51. 35.100 > libavcodec 53. 61.100 / 53. 61.100 > libavformat 53. 32.100 / 53. 32.100 > libavfilter 2. 61.100 / 2. 61.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 6.100 / 0. 6.100 > libpostproc 52. 0.100 / 52. 0.100 > Input #0, mpegts, from 'orig.mpg': > Duration: 00:43:20.63, start: 0.250000, bitrate: 53933 kb/s > Program 1 > Stream #0:0[0x3e9]: Video: mpeg2video (4:2:2) ([2][0][0][0] / > 0x0002), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 23.98 fps, > 23.98 tbr, 90k tbn, 47.95 tbc > Stream #0:1[0x3ea]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, > stereo, s32, 2688 kb/s > [mpegts @ 0xc5fe920] frame size not set > [mpegts @ 0xc5fe920] muxrate VBR, pcr every 9 pkts, sdt every 200, > pat/pmt every 40 pkts > Output #0, mpegts, to '1.ts': > Metadata: > encoder : Lavf53.32.100 > Stream #0:0: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, 2688 > kb/s > Stream mapping: > Stream #0:1 -> #0:0 (copy) > Press [q] to stop, [?] for help > size= 149kB time=00:00:00.41 bitrate=2935.2kbits/s > video:0kB audio:137kB global headers:0kB muxing overhead 9.168212% > > > You may have to re-sync your ffmpeg. The code to support muxing s302m to mpegts was added in April 08, 2012. http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb939468202ce9352a9a8809007f24608bbbb61a > Now looking at the audio file shows that its broken, wont encode to > anything: > > ./ffmpeg102 -i audio_only.ts > ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers > built on Mar 21 2012 17:29:36 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) > configuration: --prefix=/home/dennis/010_64 --enable-static > --enable-postproc --enable-gpl --enable-avfilter --enable-libx264 > --enable-libxvid --enable-libmp3lame --enable-nonfree > --enable-pthreads --enable-swscale --enable-runtime-cpudetect > --disable-devices --disable-avdevice --enable-libfaac > --extra-ldflags=-static --disable-shared --extra-libs='-lx264 -lfaac > -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz -lpthread -lvpx' > --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc > --enable-version3 --enable-libvpx > libavutil 51. 35.100 / 51. 35.100 > libavcodec 53. 61.100 / 53. 61.100 > libavformat 53. 32.100 / 53. 32.100 > libavfilter 2. 61.100 / 2. 61.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 6.100 / 0. 6.100 > libpostproc 52. 0.100 / 52. 0.100 > [mpegts @ 0x1ce32940] decoding for stream 0 failed > [mpegts @ 0x1ce32940] Could not find codec parameters (Unknown: none > ([6][0][0][0] / 0x0006)) > 1.ts: could not find codec parameters > > > > Tried dumping it to a wave, interesting thing came up --- libav* calls > m302s "NONE"...? (see below) > > > ./ffmpeg102 -y -i orig.mpg -vn -acodec copy -aframes 10 -f mpegts > audio_only.wav > ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers > built on Mar 21 2012 17:29:36 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51) > configuration: --prefix=/home/dennis/010_64 --enable-static > --enable-postproc --enable-gpl --enable-avfilter --enable-libx264 > --enable-libxvid --enable-libmp3lame --enable-nonfree > --enable-pthreads --enable-swscale --enable-runtime-cpudetect > --disable-devices --disable-avdevice --enable-libfaac > --extra-ldflags=-static --disable-shared --extra-libs='-lx264 -lfaac > -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz -lpthread -lvpx' > --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc > --enable-version3 --enable-libvpx > libavutil 51. 35.100 / 51. 35.100 > libavcodec 53. 61.100 / 53. 61.100 > libavformat 53. 32.100 / 53. 32.100 > libavfilter 2. 61.100 / 2. 61.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 6.100 / 0. 6.100 > libpostproc 52. 0.100 / 52. 0.100 > Input #0, mpegts, from 'orig.mpg': > Duration: 00:43:20.63, start: 0.250000, bitrate: 53933 kb/s > Program 1 > Stream #0:0[0x3e9]: Video: mpeg2video (4:2:2) ([2][0][0][0] / > 0x0002), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 23.98 fps, > 23.98 tbr, 90k tbn, 47.95 tbc > Stream #0:1[0x3ea]: Audio: s302m (BSSD / 0x44535342), 48000 Hz, > stereo, s32, 2688 kb/s > > >>>>>>>>V > [wav @ 0x4fcc920] NONE codec not supported in WAVE format > >>>>>>>>A > > Output #0, wav, to '1.wav': > Metadata: > encoder : Lavf53.32.100 > Stream #0:0: Audio: s302m (BSSD / 0x44535342), 48000 Hz, stereo, 2688 > kb/s > Stream mapping: > Stream #0:1 -> #0:0 (copy) > Could not write header for output file #0 (incorrect codec parameters ?) > > > > Any advice besides "patches are welcome" is welcome (: > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From funkyirish at gmail.com Fri Apr 13 04:19:05 2012 From: funkyirish at gmail.com (Josh long) Date: Thu, 12 Apr 2012 21:19:05 -0500 Subject: [FFmpeg-user] bgra to yuv In-Reply-To: References: <1330634734197-4436338.post@n4.nabble.com> Message-ID: On Thu, Apr 12, 2012 at 6:48 AM, Carl Eugen Hoyos wrote: > Josh long gmail.com> writes: > > > The real reason we wanted to use dirac is because our > > team-leader wanted to try to parallelize the process > > (which we never got to). > > If this is possible with schroedinger (or dirac) from the > command line, there is no reason why it shouldn't be possible > with FFmpeg. (But I never tried.) > > > I'm still not sure why he didn't want to go straight to > > schroedinger for that. > > > I couldn't find any information on nut, or play one > > It should work with FFmpeg (and MPlayer). > > > which is why I tried avi. > > avi is a good general-purpose container, but yuv in avi is > generally not supported, FFmpeg will probably work but most > other players will not. > > > Thanks for all of your help > > Sorry if you feel not optimally supported. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > I have gotten lots of valuable information here, and appreciacte it very much. All of my questions have been answered, and the client was happy with our final presentation. Thanks again for all of the help you've given me and my team. Blessings, Joshua From rickcorteza at gmail.com Fri Apr 13 05:40:09 2012 From: rickcorteza at gmail.com (Rick C.) Date: Fri, 13 Apr 2012 11:40:09 +0800 Subject: [FFmpeg-user] aac encoding coming from .mkv In-Reply-To: References: <3CBA7AF3-54B7-4303-8E58-DD003A5E8081@gmail.com> <6C63F59F-B304-4CBF-BB45-C7E1259F275F@gmail.com> Message-ID: On Apr 12, 2012, at 9:31 PM, Carl Eugen Hoyos wrote: > Rick C. gmail.com> writes: > >> Ok it did help here's the output: > > I assume the quality is now ok. > >> ffmpeg -i Apollo.18.2011.1080p.x264.MKV.AC3.DTS.Eng.NL.Subs.mkv >> -acodec aac -strict experimental -ab 384k -map 0:v:0 -map 0:a >> -t 120 test.mp4 > >> So it's giving me about half of what I input is the correct? > > -strict experimental means in this case that the bitrate > estimation does not work (yet) in all cases. > > Carl Eugen > I'll double-check the quality as this was a quick test and your explanation helps me very much. Thanks for your time! rc From batguano999 at hotmail.com Fri Apr 13 07:49:23 2012 From: batguano999 at hotmail.com (bat guano) Date: Fri, 13 Apr 2012 05:49:23 +0000 Subject: [FFmpeg-user] Transcode from wmv to flv problem In-Reply-To: <003801cd186d$0b7ac6f0$227054d0$@com> References: <001401cd16e4$491a5730$db4f0590$@com>, ,,, , , <002801cd184c$6f375210$4da5f630$@com>, , , , <003801cd186d$0b7ac6f0$227054d0$@com> Message-ID: > > Yes, some old version ffmpeg works, suchas git-849f80f and git-e01f478, but they have problems with audio/video sync for transcode wmv to flv. > > Bourne > Hi This bug has been fixed in git. ;-) Here ---> http://git.videolan.org/?p=ffmpeg.git;a=commit;h=bd3ea317976820bf921f44c3829a2c48f80823fa From ibantxo28 at gmail.com Fri Apr 13 08:44:18 2012 From: ibantxo28 at gmail.com (Iban Garcia) Date: Fri, 13 Apr 2012 08:44:18 +0200 Subject: [FFmpeg-user] Transcoding (dvvideo -> libx264) --> not video, only gray Message-ID: Hi, I have installed gpac --> libx264 --> ffmpeg I have tested x264 and works for me. I have tested ffmpeg: dvvideo to mpg1 and works. I have tested ffmpeg: mpg1 to libx264 and works. But all tests from dvvideo to libx264 makes all frames in gray (all pixels are gray in each frame) x264 0.122.x built on Apr 12 2012, gcc: 4.5.1 20101208 [gcc-4_5-branch revision 167585] configuration: --bit-depth=8 --chroma-format=all ffmpeg version 0.10.2.git-44239bd Copyright (c) 2000-2012 the FFmpeg developers built on Apr 13 2012 08:37:33 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585] configuration: --shlibdir=/usr/lib64 --prefix=/usr/local --mandir=/usr/share/man --libdir=/usr/lib64 --enable-pthreads --enable-shared --enable-libvorbis --enable-gpl --enable-x11grab --enable-libx264 --enable-libmp3lame --enable-postproc --enable-nonfree libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [dv @ 0x62b040] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from '/net/localhost/biltegia/kkk.dv': Duration: 00:01:29.80, start: 0.000000, bitrate: 28800 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x576, 28800 kb/s, SAR 64:45 DAR 16:9, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s File '/net/localhost/biltegia/kkk.mp4' already exists. Overwrite ? [y/N] y Incompatible pixel format 'yuv411p' for codec 'libx264', auto-selecting format 'yuv422p' [buffer @ 0x62dda0] w:720 h:576 pixfmt:yuv411p tb:1/1000000 sar:64/45 sws_param:flags=2 [buffersink @ 0x6334a0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x62c5a0] w:720 h:576 fmt:yuv411p sar:64/45 -> w:720 h:576 fmt:yuv422p sar:64/45 flags:0x4 [libx264 @ 0x632ac0] using SAR=64/45 [libx264 @ 0x632ac0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x632ac0] profile High 4:2:2, level 3.0, 4:2:2 8-bit [libx264 @ 0x632ac0] 264 - core 122 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/net/localhost/biltegia/kkk.mp4': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv422p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 25 tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (dvvideo -> libx264) Press [q] to stop, [?] for help frame= 2245 fps= 75 q=-1.0 Lsize= 37763kB time=00:01:29.72 bitrate=3448.0kbits/s video:37739kB audio:0kB global headers:0kB muxing overhead 0.065013% [libx264 @ 0x632ac0] frame I:34 Avg QP:23.52 size: 56775 [libx264 @ 0x632ac0] frame P:1319 Avg QP:26.31 size: 22599 [libx264 @ 0x632ac0] frame B:892 Avg QP:28.86 size: 7741 [libx264 @ 0x632ac0] consecutive B-frames: 22.1% 73.2% 4.7% 0.0% [libx264 @ 0x632ac0] mb I I16..4: 9.1% 82.9% 8.0% [libx264 @ 0x632ac0] mb P I16..4: 2.6% 13.6% 1.5% P16..4: 42.1% 19.0% 11.9% 0.0% 0.0% skip: 9.3% [libx264 @ 0x632ac0] mb B I16..4: 0.3% 1.2% 0.3% B16..8: 34.6% 7.9% 2.7% direct: 6.9% skip:46.2% L0:34.8% L1:41.1% BI:24.1% [libx264 @ 0x632ac0] 8x8 transform intra:76.8% inter:75.1% [libx264 @ 0x632ac0] coded y,uvDC,uvAC intra: 74.0% 88.5% 45.2% inter: 33.3% 51.4% 9.9% [libx264 @ 0x632ac0] i16 v,h,dc,p: 18% 55% 9% 17% [libx264 @ 0x632ac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 27% 31% 3% 3% 4% 4% 4% 6% [libx264 @ 0x632ac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 56% 11% 2% 3% 3% 4% 3% 4% [libx264 @ 0x632ac0] i8c dc,h,v,p: 44% 24% 24% 8% [libx264 @ 0x632ac0] Weighted P-Frames: Y:1.7% UV:0.7% [libx264 @ 0x632ac0] ref P L0: 61.4% 16.0% 15.1% 7.4% 0.1% [libx264 @ 0x632ac0] ref B L0: 85.0% 14.5% 0.4% [libx264 @ 0x632ac0] ref B L1: 98.8% 1.2% [libx264 @ 0x632ac0] kb/s:3442.64 In previous versions it worked well for me... Many thanks in advance. Iban From xhpohanka at gmail.com Fri Apr 13 09:00:18 2012 From: xhpohanka at gmail.com (Jan Pohanka) Date: Fri, 13 Apr 2012 09:00:18 +0200 Subject: [FFmpeg-user] h264 frame rate detection In-Reply-To: References: Message-ID: > I assume there is a problem with the framerate in (some) > raw h264 videos. > But since ffplay is not the primary application, > please test ffmpeg: > ffmpeg -i test.264 -c:v copy -y test.avi > ffmpeg -i test.avi -qscale 2 outavi.avi > ffmpeg -i test.264 -c:v copy -y test.mkv > ffmpeg -i test.mkv -qscale 2 outmkv.avi > > It should be possible to test the resulting outavi.avi > and outmkv.avi with multiple players. > I have tested your recomendations. Both files (outavi and outmkv now recoded to mpeg4) are played on wrong 2.5 fps in all players (ffplay, mplayer, vlc, ...) ffplay info about streams: outavi.avi Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 1600x1200 [SAR 1:1 DAR 4:3], 5 tbr, 5 tbn, 5 tbc outmkv.avi Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 1600x1200 [SAR 1:1 DAR 4:3], 2.50 tbr, 2.50 tbn, 5 tbc What seems really weird to me is the fact, that the raw video is played correctly by ffplay even when it says it is 2.5. Does there exist any (free) tool which is able to show a header of a raw h264 stream? I set the fps to 5 (which is the rate I get the images from cmos sensor) by setting VUI params num_units_in_tick = 1000 and time_scale = 5000. best regards Jan From cehoyos at ag.or.at Fri Apr 13 09:54:08 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 13 Apr 2012 07:54:08 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?Transcoding_=28dvvideo_-=3E_libx264=29_--?= =?utf-8?q?=3E_not_video=2C=09only_gray?= References: Message-ID: Iban Garcia gmail.com> writes: > But all tests from dvvideo to libx264 makes all frames in gray > (all pixels are gray in each frame) Using ffplay (or ffmpeg -i kkk.mp4 out.avi) or another application? > x264 0.122.x > built on Apr 12 2012, gcc: 4.5.1 20101208 [gcc-4_5-branch revision 167585] > configuration: --bit-depth=8 --chroma-format=all Since you did not restrict the x264 chroma formats, ... > Incompatible pixel format 'yuv411p' for codec 'libx264', > auto-selecting format 'yuv422p' ... yuv422p was chosen. Add -pix_fmt yuv420p to your command line. Carl Eugen From dprice at haivision.com Thu Apr 12 22:32:31 2012 From: dprice at haivision.com (Daniel Price) Date: Thu, 12 Apr 2012 15:32:31 -0500 Subject: [FFmpeg-user] Mpegts timing issues? Message-ID: Hi Everyone; Thanks in advance to anyone that can help with this. I have a set top box based on embedded code that I have to treat as a black box. It's capable of playing an h.264/aac stream in an mpeg transport stream. Normally we use a specific type of encoder to make streams for it. I am trying to transcode files using ffmpeg, that are then multicast onto the network, which this STB ingests, decodes, and plays to a TV. I've gotten it *extremely* close to working, but I'm left with one standing issue. The audio plays at the wrong frequency, and it stutters. This seems to be related to the PCR/PTS timestamps on the stream, but I'm not certain. Now for the TL;DR. I know that the codecs themselves are not the issue. The STB will play the video perfectly, and I've used aac audio with the same settings (128Kb,48k rate) before in working cases. I've been comparing against a reference TS stream that I know works, which has valid PTS values on the audio PID, on the PES packets. I'm checking the working against the non-working streams in Elecard's Stream Analyzer, and this is the major discrepancy that I've come up with. In my reference (working) stream, a PES packet is delivered every ~20ms. In the other, ~300ms. I cannot figure out any way to adjust this from the ffmpeg cli, and have tried both libfaac and aac encoders to see if it makes a difference. I'm not good enough at C to dig through the code and figure out how it's deciding to packetize the audio during the mux. I have heard there's issues with getting mpegts to mux a CBR, but that's not an issue here. I can handle VBR on this set top. I just need more granular timestamps on the stream packets to get the decoder to play the audio nicely. So: Is there any way to get the mux to generate PES timestamps more often, or to control that somehow? I've spent two days searching and have not found a solution. --- I'm adding the best working of the CLI commands for reference here, if anyone needs to try to repro. I'm using the Sintel trailer as a test asset, since it is easily acquirable. I can provide reference assets if anyone cares. ffmpeg -y -i sintel_trailer-1080p.mp4 -f mpegts -vcodec libx264 -bufsize 4M -maxrate 3000k -bf 0 -g 60 -keyint_min 20 -coder 0 -acodec aac -ab 128k -ar 48k -strict experimental linux_ffmpeg/sintel_trailer2.ts Thanks again. Daniel Price From ibantxo28 at gmail.com Fri Apr 13 10:29:55 2012 From: ibantxo28 at gmail.com (Iban Garcia) Date: Fri, 13 Apr 2012 10:29:55 +0200 Subject: [FFmpeg-user] Transcoding (dvvideo -> libx264) --> not video, only gray In-Reply-To: References: Message-ID: Many Thanks, Carl. " -pix_fmt yuv420p " worked for me. But, I have been testing a little bit more now... and... I know what was the problem... "VLC player" version. With my old VLC version... yuv420p was played correctly, but not yuv422p. With my new VLC version... BOTH of them are viewed correctly. My new VLC player version is: 2.0.1 Many thanks!!! 2012/4/13 Carl Eugen Hoyos > Iban Garcia gmail.com> writes: > > > But all tests from dvvideo to libx264 makes all frames in gray > > (all pixels are gray in each frame) > > Using ffplay (or ffmpeg -i kkk.mp4 out.avi) or another application? > > > x264 0.122.x > > built on Apr 12 2012, gcc: 4.5.1 20101208 [gcc-4_5-branch revision > 167585] > > configuration: --bit-depth=8 --chroma-format=all > > Since you did not restrict the x264 chroma formats, ... > > > Incompatible pixel format 'yuv411p' for codec 'libx264', > > auto-selecting format 'yuv422p' > > ... yuv422p was chosen. > Add -pix_fmt yuv420p to your command line. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From noreply at wetransfer.com Fri Apr 13 11:54:57 2012 From: noreply at wetransfer.com (WeTransfer) Date: Fri, 13 Apr 2012 11:54:57 +0200 Subject: [FFmpeg-user] shaily.athghara@gmail.com has sent you a file via WeTransfer Message-ID: ------------------------------------------------------------------------ __ _________ __ \ \ / /__ __| / _| \ \ /\ / /___| |_ __ __ _ _ __ ___| |_ ___ _ __ TM \ \/ \/ // _ \ | '__/ _` | '_ \/ __| _/ _ \ '__| \ /\ /| __/ | | | (_| | | | \__ \ || __/ | \/ \/ \___|_|_| \__,_|_| |_|___/_| \___|_| www.wetransfer.com ------------------------------------------------------------------------ shaily.athghara at gmail.com has sent you a file. Message: Warning: first frame is no keyframe. Please find the sample of 1.raw 1.raw (1MB) The file will be deleted on April 27, 2012. https://www.wetransfer.com/dl/N8PS2IdT/696f67729cfc41de290aeabe1d5c242ff6a0c08b15a61d81865e618dad49cae6ea8e5c7f30c2fa0 ------------------------------------------------------------------------ If you have any questions about WeTransfer, or to read our terms and privacy policy, please visit wetransfer.info. ? 2012 WeTransfer From shaily.athghara at gmail.com Fri Apr 13 11:58:03 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Fri, 13 Apr 2012 15:28:03 +0530 Subject: [FFmpeg-user] warning: first frame is no keyframe In-Reply-To: References: Message-ID: Please find the sample of 1.raw refer the link http://wtrns.fr/94WX7_i62lMJhiw On Fri, Apr 13, 2012 at 11:10 AM, Shaily Athghara wrote: > > Hi Carl. > > Please find the sample of 1.raw > > > > From vinoth.amu at gmail.com Fri Apr 13 12:38:27 2012 From: vinoth.amu at gmail.com (Vinoth raj) Date: Fri, 13 Apr 2012 16:08:27 +0530 Subject: [FFmpeg-user] Convert AVI video to mp4 Message-ID: Dear All, How to use the libavcodec C library to convert video format from avi to mp4? I do not want to use ffmpeg from command line but rather want to create a C/C++ application with the ability to convert AVI to MP4 video format. I could not find any samples on video format conversion. Can anyone suggest what sequence of steps should I follow to handle conversion of videos? Or Which methods should I use for video conversion? Kindly help! From kk_konrad at gmx.at Fri Apr 13 13:42:18 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Fri, 13 Apr 2012 13:42:18 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment Message-ID: <20120413114218.GA7817localhost> Hi, I am experiencing A/V sync issue with one of my movies rendered with kdenlive (1080p50 H264 25Mbit/s / AAC 384 kbit/s mp4) The same movie rendered to mp4v/mp3 (mp4 container) does not show any A/V sync problems. a sample is available at: http://140.78.117.79:88/mp4/test1.mp4 (~ 140 MB) Out of the 6 movies (durations: ~6min..~20min) the first 5 are playing fine on the WD TV Live and mplayer but the last one begins to stutter at about 00:03:25. (white elephant scene) The WD TV Live turns off the sound and when pressing PAUSE on the remote control the video continues for several seconds before it actually stops. When continuing A/V is ok for some seconds before the same happens again. Mplayer using vdpau and without the -async option shows video suddenly starting to go ahead to audio before it turns off sound and complains: Too many video packets in the buffer (102 in 33851544) After 30 seconds or so all is in sync again until the end of the movie. The WD TV Live only recovers if PAUSE button is operated at the and of the problematic area, waiting until video really stops and then continuing. Any ideas where to start looking? All the movies with the exception of the problematic area play fine in mplayer and the A/V offset goes to almost zero after a few seconds, then most of the time only the millisecond digit jitters, rarely the 0.01 sec digit. Sorry for the long post but H264 looks definitely better than mp4 ASP. Konrad --------- things tried: * remuxing to mpegts and back to mp4 does not help. * playing video only or audio only seems OK * rendering from this 1080p50 to PAL 576i50 DVD format seems OK using: ffmpeg -i t6.mp4 -target pal-dvd -b:v 8000k -vf 'tinterlace=4' -flags \ +ilme+ildct out.mpg suggestions for improvement welcome - e.g a vertical only smoothing filter might reduce some interlace flickering as the source has too high resolution. * rendering only the interesting part in kdenlive is almost OK (mplayer shows more a/v jitter than in other regions but keeps below 10 msec) * rendering the movie using a much lower bitrate (12Mb/s) makes it better but not OK. kdenlive, mlt, ffmpeg, mplayer all self compiled about Mar 25, 2012. From anjo at krank.net Fri Apr 13 14:28:33 2012 From: anjo at krank.net (Anjo Krank) Date: Fri, 13 Apr 2012 14:28:33 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> Message-ID: So I got some more info on the rejected CBR TS. Checking the generated streams with "crosscheck" yields a long list of errors: http://www.krank.net/report.txt The problem seems to the in fact the muxer, as de- and remuxing with a different muxer yielded no more errors. How "usable" or "broadcast-ready" is the muxing in ffmpeg? Searching the web and other comments seemed to say that there is no actually working open-source muxer out there? at least in the sense that it could create broadcast-ready files. Is that true? I also found a discussion about some patches that were written in the Google SOC 2009 which seemed to end in abandonment. Was that stuff actually working or better than the current implementation? Would it be worth the bother to clean it up and try to commit it? http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/52773/focus=56011 Cheers, Anjo Am 04.04.2012 um 09:43 schrieb Anjo Krank: > > Am 03.04.2012 um 20:28 schrieb Michael Niedermayer: > >>> It's the tiny white line at the left, where throughput drops to 3.5m. The resulting movie files looks totally normal at this location. From mucho googling I had the impression that it could maybe be a wrong setting for the -bufsize 1000k. Is this on any way calculable or are they simply a bunch of legal settings? >> >> there are simply a bunch of legal settings, try a smaller bufsize and >> see if this fixes the issue > > Can you tell me where to find those legal settings? Are they dependent on the target (TV vs DVD)? I searched high and low on google but found only very contradictory info, which is why I came up with the bufsize=bandwidth/4 scheme in the first place... > > Cheers, Anjo > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From andrey.krieger.utkin at gmail.com Fri Apr 13 15:14:18 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Fri, 13 Apr 2012 16:14:18 +0300 Subject: [FFmpeg-user] rc buffer overflow (codecs mpeg4, flv) Message-ID: Hi. I encounter problems with flv encoder at desired bitrate. Both ffmpeg.org and libav.org behave in same way. It gives 'rc buffer underflow' warnings (more times on high-motion input video). Visually, it manifests as remarkable picture quality degradation after such message is produced. Is this really a bug, or my misuse of parameters? If it's a bug, is it known, and how can i help fixing it? ffmpeg -i ~/big_buck_bunny_480p_surround-fix.avi -an -vcodec flv -s 192x144 -b:v 100000 -maxrate 100000 -minrate 100000 -bufsize 100000 -y out.flv -loglevel debug ffmpeg version N-39765-g84d7461 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 13 2012 15:32:36 with gcc 4.5.3 configuration: --enable-encoder=pcm_s16be --enable-encoder=libx264 --enable-encoder=libfaac --enable-static --enable-shared --enable-libx264 --enable-libfaac --enable-libfreetype --enable-nonfree --disable-zlib --enable-gpl --extra-libs= --extra-cflags= --extra-ldflags= --disable-debug --enable-optimizations --enable-yasm --enable-asm libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 69.101 / 2. 69.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [avi @ 0x9386380] Format avi probed with size=2048 and score=100 [AVI demuxer @ 0x93868c0] use odml:1 [avi @ 0x9386380] All info found Input #0, avi, from '/home/krieger/big_buck_bunny_480p_surround-fix.avi': Duration: 00:09:56.45, start: 0.000000, bitrate: 2957 kb/s Stream #0:0, 1, 1/24: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 1/24, 24 tbr, 24 tbn, 24 tbc Stream #0:1, 1, 1/56000: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/s [buffer @ 0x938dbe0] w:854 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:flags=2 [scale @ 0x93c1840] w:854 h:480 fmt:yuv420p sar:1/1 -> w:192 h:144 fmt:yuv420p sar:427/320 flags:0x4 [flv @ 0x93c0e40] intra_quant_bias = 0 inter_quant_bias = -64 [mpeg4 @ 0x938c600] detected 1 logical cores Output #0, flv, to 'out.flv': Metadata: encoder : Lavf54.3.100 Stream #0:0, 0, 1/1000: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 192x144 [SAR 427:320 DAR 427:240], 1/24, q=2-31, 100 kb/s, 1k tbn, 24 tbc Stream mapping: Stream #0:0 -> #0:0 (mpeg4 -> flv) Press [q] to stop, [?] for help [flv @ 0x93c0e40] rc buffer underflow Last message repeated 9 times vbv buffer overflow q=2.1 size= 3773kB time=00:04:59.50 bitrate= 103.2kbits/s [flv @ 0x93c0e40] vbv buffer overflow Last message repeated 2 times rc buffer underflow q=10.7 size= 5280kB time=00:06:59.33 bitrate= 103.2kbits/s [flv @ 0x93c0e40] rc buffer underflow Last message repeated 6 times frame=10455 fps=112 q=11.0 Lsize= 5488kB time=00:07:15.62 bitrate= 103.2kbits/s video:5325kB audio:0kB global headers:0kB muxing overhead 3.071879% Received signal 2: terminating. ================= libav.org ================= avconv -i ~/big_buck_bunny_480p_surround-fix.avi -an -vcodec flv -s 192x144 -b:v 100000 -maxrate 100000 -minrate 100000 -bufsize 100000 -y out.flv -loglevel debug avconv version v0.8-1396-gde7f22a, Copyright (c) 2000-2012 the Libav developers built on Apr 13 2012 15:27:27 with gcc 4.5.3 configuration: --enable-encoder=pcm_s16be --enable-encoder=libx264 --enable-encoder=libfaac --enable-static --enable-shared --enable-libx264 --enable-libfaac --enable-libfreetype --enable-nonfree --disable-zlib --enable-gpl --extra-libs= --extra-cflags= --extra-ldflags= --disable-debug --enable-optimizations --enable-yasm --enable-asm libavutil 51. 27. 2 / 51. 27. 2 libavcodec 54. 11. 1 / 54. 11. 1 libavformat 54. 2. 0 / 54. 2. 0 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 2. 15. 0 / 2. 15. 0 libswscale 2. 1. 0 / 2. 1. 0 [avi @ 0x846da80] Probed with size=2048 and score=100 [avi @ 0x846da80] All info found Input #0, avi, from '/home/krieger/big_buck_bunny_480p_surround-fix.avi': Duration: 00:09:56.45, start: 0.000000, bitrate: 2957 kb/s Stream #0.0, 1, 1/24: Video: mpeg4 (Simple Profile), yuv420p, 854x480 [PAR 1:1 DAR 427:240], 1/24, 24 tbn, 24 tbc Stream #0.1, 1, 1/56000: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s [buffer @ 0x8474f00] w:854 h:480 pixfmt:yuv420p [scale @ 0x849fea0] w:854 h:480 fmt:yuv420p -> w:192 h:144 fmt:yuv420p flags:0x4 [mpeg4 @ 0x846f940] detected 1 logical cores Output #0, flv, to 'out.flv': Metadata: encoder : Lavf54.2.0 Stream #0.0, 0, 1/1000: Video: flv, yuv420p, 192x144 [PAR 427:320 DAR 427:240], 1/24, q=2-31, 100 kb/s, 1k tbn, 24 tbc Stream mapping: Stream #0:0 -> #0:0 (mpeg4 -> flv) Press ctrl-c to stop encoding [flv @ 0x8475be0] rc buffer underflow Last message repeated 24 times rc buffer underflow q=31.0 size= 27kB time=1.71 bitrate= 129.0kbits/s [flv @ 0x8475be0] rc buffer underflow Last message repeated 9 times vbv buffer overflow q=12.7 size= 3766kB time=299.04 bitrate= 103.2kbits/s [flv @ 0x8475be0] vbv buffer overflow Last message repeated 2 times ^Cframe= 9256 fps=104 q=10.4 Lsize= 4853kB time=385.67 bitrate= 103.1kbits/s video:4709kB audio:0kB global headers:0kB muxing overhead 3.075800% Received signal 2: terminating. -- Andrey Utkin From anjo at krank.net Fri Apr 13 15:40:56 2012 From: anjo at krank.net (Anjo Krank) Date: Fri, 13 Apr 2012 15:40:56 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> Message-ID: <42268BF1-860C-4403-9AD7-AF358EF0FE3C@krank.net> Oh, in case it's important, trying to encode with a grab of current HEAD yields an error: ffmpeg.Darwin -i /mvl/test/16_9_DVD_Low.mpg -c:v mpeg2video -pix_fmt yuv420p -ec +deblock -vf yadif -r 25 -s 720x576 -b:v 4000k -minrate:v 4000k -maxrate:v 4000k -bufsize 1000k -g 12 -bf 2 -flags +cgop -flags2 sgop -sc_threshold 1000000000 -streamid:v 0:480 -streamid:a 1:481 -packetsize 188 -c:a mp2 -ar 48000 -b:a 192k -f mpegts -y /outgoing/KabelBW/test/16_9_HD.mpg_mpegts.mpg ffmpeg version git-2011-09-16-0f692db Copyright (c) 2000-2012 the FFmpeg developers built on Apr 13 2012 15:23:06 with gcc 4.0.1 (Apple Inc. build 5493) configuration: --prefix=/Users/ak/sffmpeg/build --datadir=/Users/ak/sffmpeg/build/etc --arch=x86_64 --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --disable-doc --disable-debug --disable-ffplay --disable-ffserver --disable-avdevice --disable-indevs --disable-outdevs --enable-runtime-cpudetect --enable-memalign-hack --extra-cflags=-I/Users/ak/sffmpeg/build/include --extra-cflags=--static --extra-cflags=-m64 --extra-ldflags=-L/Users/ak/sffmpeg/build/lib --extra-ldflags=-m64 --extra-ldflags=-arch --extra-ldflags=x86_64 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --disable-libspeex --enable-libx264 --disable-libxvid --disable-librtmp libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [mpeg @ 0x10180a220] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from '/mvl/test/16_9_DVD_Low.mpg': Duration: 00:00:20.18, start: 0.193189, bitrate: 4550 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 8500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s [buffer @ 0x101100fe0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:flags=2 [yadif @ 0x1011025c0] mode:0 parity:-1 auto_enable:0 [mpegts @ 0x101815e20] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to '/outgoing/KabelBW/test/16_9_HD.mpg_mpegts.mpg': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 4000 kb/s, 90k tbn, 25 tbc Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video) Stream #0:1 -> #0:1 (mp2 -> mp2) Press [q] to stop, [?] for help [mpegts @ 0x101815e20] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 14400 >= 14400 av_interleaved_write_frame(): Invalid argument Cheers, Anjo Am 13.04.2012 um 14:28 schrieb Anjo Krank: > So I got some more info on the rejected CBR TS. Checking the generated streams with "crosscheck" yields a long list of errors: > > http://www.krank.net/report.txt > > The problem seems to the in fact the muxer, as de- and remuxing with a different muxer yielded no more errors. > > How "usable" or "broadcast-ready" is the muxing in ffmpeg? Searching the web and other comments seemed to say that there is no actually working open-source muxer out there? at least in the sense that it could create broadcast-ready files. Is that true? > > I also found a discussion about some patches that were written in the Google SOC 2009 which seemed to end in abandonment. Was that stuff actually working or better than the current implementation? Would it be worth the bother to clean it up and try to commit it? > > http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/52773/focus=56011 > > Cheers, Anjo > > Am 04.04.2012 um 09:43 schrieb Anjo Krank: > >> >> Am 03.04.2012 um 20:28 schrieb Michael Niedermayer: >> >>>> It's the tiny white line at the left, where throughput drops to 3.5m. The resulting movie files looks totally normal at this location. From mucho googling I had the impression that it could maybe be a wrong setting for the -bufsize 1000k. Is this on any way calculable or are they simply a bunch of legal settings? >>> >>> there are simply a bunch of legal settings, try a smaller bufsize and >>> see if this fixes the issue >> >> Can you tell me where to find those legal settings? Are they dependent on the target (TV vs DVD)? I searched high and low on google but found only very contradictory info, which is why I came up with the bufsize=bandwidth/4 scheme in the first place... >> >> Cheers, Anjo >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From mike.scheutzow at alcatel-lucent.com Fri Apr 13 16:03:57 2012 From: mike.scheutzow at alcatel-lucent.com (Mike Scheutzow) Date: Fri, 13 Apr 2012 10:03:57 -0400 Subject: [FFmpeg-user] Mpegts timing issues? In-Reply-To: References: Message-ID: <4F88324D.7030209@alcatel-lucent.com> Daniel Price wrote: > Hi Everyone; > Thanks in advance to anyone that can help with this. > I have a set top box based on embedded code that I have to treat as a black > box. It's capable of playing an h.264/aac stream in an mpeg transport > stream. Normally we use a specific type of encoder to make streams for it. > I am trying to transcode files using ffmpeg, that are then multicast onto > the network, which this STB ingests, decodes, and plays to a TV. I've > gotten it *extremely* close to working, but I'm left with one standing > issue. The audio plays at the wrong frequency, and it stutters. The stutter is likely the result of the audio PES packet being too large. Latest git has a (new?) option named pes_packet_size. If you set this to 0, the muxer looks like it will output each individual audio frame rather than accumulating a bunch of them and sending them all together. I've never tried this option, so I don't know if it actually works. If the option doesn't work, you'll have to modify the mpegtsenc.c file. Try changing DEFAULT_PES_HEADER_FREQ to 1. The "plays at the wrong frequency" sounds like a different problem. Maybe your decoder is trying to compensate for audio buffer underrun in some weird way. If you're lucky, it will go away when you fix the pes packet size problem. > ... I've been comparing > against a reference TS stream that I know works, which has valid PTS values > on the audio PID, on the PES packets. I'm checking the working against the > non-working streams in Elecard's Stream Analyzer, and this is the major > discrepancy that I've come up with. In my reference (working) stream, a PES > packet is delivered every ~20ms. In the other, ~300ms. > ... > ffmpeg -y -i sintel_trailer-1080p.mp4 -f mpegts -vcodec libx264 > -bufsize 4M -maxrate 3000k -bf 0 -g 60 -keyint_min 20 -coder 0 -acodec aac > -ab 128k -ar 48k -strict experimental linux_ffmpeg/sintel_trailer2.ts You're aware the built-in aac encoder has terrible audio quality, right? It sounds terrible. Mike Scheutzow From cehoyos at ag.or.at Fri Apr 13 16:15:27 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 13 Apr 2012 14:15:27 +0000 (UTC) Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment References: <44909.2676085003$1334317351@news.gmane.org> Message-ID: Konrad Karl gmx.at> writes: > I am experiencing A/V sync issue with one of my movies rendered > with kdenlive (1080p50 H264 25Mbit/s / AAC 384 kbit/s mp4) If you want to report a problem with ffmpeg, please provide the ffmpeg command line you are using together with complete, uncut console output. If you have a problem with ffplay that is not reproducible with ffmpeg, please explain that and add complete uncut ffplay console output. If you want to report a problem with MPlayer, please post an explanation and complete, uncut MPlayer console output on mplayer-users. I suspect you are seeing a performance issue. [...] > Sorry for the long post but H264 looks definitely better > than mp4 ASP. That is not true as such, or in other words: There certainly is a (high) bit-rate that allows very similar quality between any (sane) codecs, esp. MPEG-2 / ASP / H264. Carl Eugen From mike.scheutzow at alcatel-lucent.com Fri Apr 13 16:18:24 2012 From: mike.scheutzow at alcatel-lucent.com (Mike Scheutzow) Date: Fri, 13 Apr 2012 10:18:24 -0400 Subject: [FFmpeg-user] h264 frame rate detection In-Reply-To: References: Message-ID: <4F8835B0.9020204@alcatel-lucent.com> Jan Pohanka wrote: I set the fps to 5 (which is the rate I get the images from > cmos sensor) by setting VUI params num_units_in_tick = 1000 and > time_scale = 5000. You are writing the wrong value. In h264, num_units_in_tick/time_scale is the duration of one FIELD, not the duration of one FRAME. Mike Scheutzow From bbutscheidt at yahoo.de Fri Apr 13 16:48:50 2012 From: bbutscheidt at yahoo.de (Bernd Butscheidt) Date: Fri, 13 Apr 2012 15:48:50 +0100 (BST) Subject: [FFmpeg-user] Questions for the use of async Message-ID: <1334328530.10184.YahooMailNeo@web132103.mail.ird.yahoo.com> Hello, ? I recently discovered the option "async" which may solve some issues I have when demuxing ts-stream resulting in audio and video out of sync. ? ??? -async samples_per_second ? Question1: ? Some guides in the www suggest using a value a litle bit higher than 1, e.g. 3 or four. Some suggest adjusting the value to the sample rate of the audio, e.g. using 44100 or 48000. Do I understand it right, that if I want a desync of maybe more than one second to be corrected, I would have to use a even higher value than 44100 or 48000? ? Question2: Is?-async only supposed to work when reencoding the audio or is something even done when demuxing to elemtary audio streams (like ac3 or mp3)?by using the option copy as codec. Can it then still fill in empty frames or drop frames to keep the audio in sync to the video output? ? Kind regards Bernd B. From mike.scheutzow at alcatel-lucent.com Fri Apr 13 16:50:10 2012 From: mike.scheutzow at alcatel-lucent.com (Mike Scheutzow) Date: Fri, 13 Apr 2012 10:50:10 -0400 Subject: [FFmpeg-user] rc buffer overflow (codecs mpeg4, flv) In-Reply-To: References: Message-ID: <4F883D22.8060303@alcatel-lucent.com> Andrey Utkin wrote: > It gives 'rc buffer underflow' warnings (more times on high-motion input video). > Visually, it manifests as remarkable picture quality degradation after > such message is produced. > Is this really a bug, or my misuse of parameters? If it's a bug, is it > known, and how can i help fixing it? > > > ffmpeg -i ~/big_buck_bunny_480p_surround-fix.avi -an -vcodec flv -s > 192x144 -b:v 100000 -maxrate 100000 -minrate 100000 -bufsize 100000 > -y out.flv -loglevel debug I have no experience with the flv encoder, but if the general VBV rules apply to it, it makes no sense to do both of these things at the same time: 1. enable VBV rate control 2. set maxrate == minrate You are giving conflicting instructions to the encoder. Have you tried removing -minrate parameter from the command line? Mike Scheutzow From michaelni at gmx.at Fri Apr 13 16:55:26 2012 From: michaelni at gmx.at (Michael Niedermayer) Date: Fri, 13 Apr 2012 16:55:26 +0200 Subject: [FFmpeg-user] rc buffer overflow (codecs mpeg4, flv) In-Reply-To: References: Message-ID: <20120413145526.GA16865@kiste2> On Fri, Apr 13, 2012 at 04:14:18PM +0300, Andrey Utkin wrote: > Hi. I encounter problems with flv encoder at desired bitrate. > Both ffmpeg.org and libav.org behave in same way. > It gives 'rc buffer underflow' warnings (more times on high-motion input video). > Visually, it manifests as remarkable picture quality degradation after > such message is produced. > Is this really a bug, or my misuse of parameters? If it's a bug, is it > known, and how can i help fixing it? Its first and foremost a missuse of parameters. You almost certainly dont want a minrate > 0 for flv. (and maxrate should be > bitrate when minrate != maxrate) But if you really want CBR h263/flv, this can be implemented If you are interrested i can explain how it can be done. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of inequality is to try to make unequal things equal. -- Aristotle -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From andrey.krieger.utkin at gmail.com Fri Apr 13 17:08:09 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Fri, 13 Apr 2012 18:08:09 +0300 Subject: [FFmpeg-user] rc buffer overflow (codecs mpeg4, flv) In-Reply-To: <4F883D22.8060303@alcatel-lucent.com> References: <4F883D22.8060303@alcatel-lucent.com> Message-ID: 2012/4/13 Mike Scheutzow : > I have no experience with the flv encoder, but if the general VBV rules > apply to it, it makes no sense to do both of these things at the same time: > > 1. enable VBV rate control > > 2. set maxrate == minrate > > You are giving conflicting instructions to the encoder. > > Have you tried removing -minrate parameter from the command line? Removing -minrate only changes nothing. Removing -minrate, -maxrate and -bufsize (so only -b:v stays) normalizes everything. So issue is solved. Now it's good time to ask me why i didn't try it initially :) I decided to add these flags, because another time, working with very continuous live streams, encoding with libx264, i saw that after time like 24 hours, bitrate got much higher than what i set to bit_rate and bit_rate_tolerance. Then, on #x264 IRC, i was advised to use such options. -- Andrey Utkin From andrey.krieger.utkin at gmail.com Fri Apr 13 17:11:03 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Fri, 13 Apr 2012 18:11:03 +0300 Subject: [FFmpeg-user] rc buffer overflow (codecs mpeg4, flv) In-Reply-To: <20120413145526.GA16865@kiste2> References: <20120413145526.GA16865@kiste2> Message-ID: 2012/4/13 Michael Niedermayer : > But if you really want CBR h263/flv, this can be implemented > If you are interrested i can explain how it can be done. Thanks, no necessity in very-very strict bitrate const-ness. But if you have time, i'd be glad if you explain what this means and share some references to read. -- Andrey Utkin From kk_konrad at gmx.at Fri Apr 13 17:18:43 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Fri, 13 Apr 2012 17:18:43 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <44909.2676085003$1334317351@news.gmane.org> Message-ID: <20120413151843.GA16789localhost> On Fri, Apr 13, 2012 at 02:15:27PM +0000, Carl Eugen Hoyos wrote: > Konrad Karl gmx.at> writes: > > > I am experiencing A/V sync issue with one of my movies rendered > > with kdenlive (1080p50 H264 25Mbit/s / AAC 384 kbit/s mp4) > > If you want to report a problem with ffmpeg, please provide the > ffmpeg command line you are using together with complete, uncut > console output. > If you have a problem with ffplay that is not reproducible with > ffmpeg, please explain that and add complete uncut ffplay > console output. This is a bit difficult since there was not any ffmpeg console command involved to produce the movie (but the MLT framework uses ffmpeg internally) so I was trying this mailing list as I have the impression that the experts are listening here. The kdenlive render shell script: #! /bin/sh SOURCE="/home/konrad/india/kdenlive/scripts/t6-4-h264.sh.mlt" TARGET="file:///home/konrad/india/h264/t6-4.mp4" RENDERER="/home/konrad/kdenlive/20120318/bin/kdenlive_render" MELT="/home/konrad/kdenlive/20120318/bin/melt" PARAMETERS="-pid:6256 in=0 out=26830 $MELT atsc_1080p_50 avformat - $SOURCE $TARGET f=mp4 hq=1 acodec=aac ab=384k ar=48000 pix_fmt=yuv420p vcodec=libx264 minrate=0 vb=25000k g=250 bf=3 b_strategy=1 subcmp=2 cmp=2 coder=1 flags=+loop flags2=dct8x8 qmax=51 subq=7 qmin=10 qcomp=0.6 qdiff=4 trellis=1 aspect=@16/9 pass=1 threads=2 real_time=-1" $RENDERER $PARAMETERS ffplay uses around 30..70 % CPU while playing the sample. I hit the enter key several times to show how the A/V offset increases. (Intel Core i3 @ 3 GHz, 2 cores) mplayer takes 3..6 % cpu due to VDPAU Stuttering starts at about 00:10 - pls see the movie fragment: A/V offset builds up as soon as the white elephant is visible. Over one hour of movies have been produced the same way and they all play fine with millisecond A/V offset with the exception of this ~ 30 second range in the last movie ..... ffplay test1.mp4 ffplay version N-34018-ge9dc616 Copyright (c) 2003-2012 the FFmpeg developers built on Apr 13 2012 10:26:36 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2) configuration: --prefix=/home/ki/kdenlive/20120413 --disable-doc --disable-network --disable-ffserver --enable-gpl --enable-version3 --enable-shared --enable-debug --disable-stripping --enable-pthreads --enable-runtime-cpudetect --enable-vdpau --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libvpx libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 69.101 / 2. 69.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'zz2.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf54.3.100 Duration: 00:00:18.17, start: 0.000000, bitrate: 61384 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 61163 kb/s, 50 fps, 50 tbr, 50 tbn, 100 tbc Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 332 kb/s Metadata: handler_name : SoundHandler 1.42 A-V: -0.003 fd= 30 aq= 11KB vq= 1KB sq= 0B f=0/0 f=0/0 1.77 A-V: -0.007 fd= 30 aq= 12KB vq= 100KB sq= 0B f=0/0 2.22 A-V: 0.002 fd= 30 aq= 11KB vq= 633KB sq= 0B f=0/0 2.77 A-V: -0.008 fd= 30 aq= 11KB vq= 596KB sq= 0B f=0/0 3.29 A-V: -0.007 fd= 30 aq= 11KB vq= 419KB sq= 0B f=0/0 3.86 A-V: -0.003 fd= 30 aq= 10KB vq= 3KB sq= 0B f=0/0 4.38 A-V: -0.001 fd= 30 aq= 11KB vq= 2KB sq= 0B f=0/0 4.94 A-V: 0.002 fd= 30 aq= 9KB vq= 1KB sq= 0B f=0/0 5.45 A-V: -0.011 fd= 30 aq= 10KB vq= 1KB sq= 0B f=0/0 6.05 A-V: -0.006 fd= 30 aq= 11KB vq= 1KB sq= 0B f=0/0 6.69 A-V: -0.005 fd= 30 aq= 11KB vq= 1KB sq= 0B f=0/0 7.21 A-V: -0.008 fd= 30 aq= 11KB vq= 1KB sq= 0B f=0/0 7.82 A-V: 0.002 fd= 30 aq= 10KB vq= 1KB sq= 0B f=0/0 8.46 A-V: -0.005 fd= 30 aq= 10KB vq= 1KB sq= 0B f=0/0 9.05 A-V: -0.007 fd= 30 aq= 11KB vq= 456KB sq= 0B f=0/0 9.57 A-V: -0.013 fd= 30 aq= 12KB vq= 1627KB sq= 0B f=0/0 10.08 A-V: 0.064 fd= 37 aq= 6KB vq= 1884KB sq= 0B f=0/0 10.65 A-V: 0.209 fd= 58 aq= 5KB vq= 2994KB sq= 0B f=0/0 11.20 A-V: 0.288 fd= 81 aq= 5KB vq= 4228KB sq= 0B f=0/0 11.74 A-V: 0.365 fd= 105 aq= 5KB vq= 5271KB sq= 0B f=0/0 12.30 A-V: 0.494 fd= 127 aq= 5KB vq= 6988KB sq= 0B f=0/0 12.90 A-V: 0.597 fd= 152 aq= 5KB vq= 7802KB sq= 0B f=0/0 13.49 A-V: 0.685 fd= 176 aq= 5KB vq= 9334KB sq= 0B f=0/0 14.01 A-V: 0.772 fd= 197 aq= 5KB vq=11381KB sq= 0B f=0/0 14.59 A-V: 0.909 fd= 221 aq= 5KB vq=13131KB sq= 0B f=0/0 15.19 A-V: 1.022 fd= 245 aq= 6KB vq=14916KB sq= 0B f=0/0 15.78 A-V: 1.120 fd= 270 aq= 4KB vq=15539KB sq= 0B f=0/0 16.37 A-V: 1.202 fd= 295 aq= 0KB vq=15513KB sq= 0B f=0/0 16.78 A-V: 1.122 fd= 319 aq= 0KB vq=15370KB sq= 0B f=0/0 17.16 A-V: 1.051 fd= 342 aq= 0KB vq=15379KB sq= 0B f=0/0 17.58 A-V: 1.053 fd= 363 aq= 0KB vq=15376KB sq= 0B f=0/0 17.91 A-V: 0.943 fd= 385 aq= 1KB vq=15554KB sq= 0B f=0/0 18.43 A-V: 1.117 fd= 402 aq= 0KB vq=12795KB sq= 0B f=0/0 19.06 A-V: 1.301 fd= 423 aq= 0KB vq= 5339KB sq= 0B f=0/0 19.67 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 20.28 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 20.85 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 21.46 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 22.09 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 22.91 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 23.79 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 24.49 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 25.40 A-V: 1.368 fd= 443 aq= 0KB vq= 0KB sq= 0B f=0/0 > I suspect you are seeing a performance issue. As explained above I dont think so. (I might be wrong of course:) > > Sorry for the long post but H264 looks definitely better > > than mp4 ASP. > > That is not true as such, or in other words: > There certainly is a (high) bit-rate that allows very similar > quality between any (sane) codecs, esp. MPEG-2 / ASP / H264. It is true for some scenes of my movie, especially fine structures e.g. leaves of a tree and such contain much more detail in H264 (perhaps the ASP parameters of kdenelive are not optimal) and the difference is quite visible once one knows where to look at.. I would appreciate getting more insight what might be wrong here. Konrad > Carl Eugen From kk_konrad at gmx.at Fri Apr 13 17:28:47 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Fri, 13 Apr 2012 17:28:47 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <20120413151843.GA16789localhost> References: <44909.2676085003$1334317351@news.gmane.org> <20120413151843.GA16789localhost> Message-ID: <20120413152847.GA17808localhost> > Over one hour of movies have been produced the same way and they all > play fine with millisecond A/V offset with the exception of this > ~ 30 second range in the last movie ..... perhaps one detail what might be special for the problematic movie: Just before the elephant scene there is a 3 minute slide sequence with smooth transitions between slides. (we were not allowed to take movie in Taj Mahal) I am guessing that the bitrate will be much lower during the slide sequence and at the elephant scene the normal movie continues and exactly at this point the A/V offset begins to increase (I am aware that this is a wild guess) Konrad From michaelni at gmx.at Fri Apr 13 17:38:57 2012 From: michaelni at gmx.at (Michael Niedermayer) Date: Fri, 13 Apr 2012 17:38:57 +0200 Subject: [FFmpeg-user] rc buffer overflow (codecs mpeg4, flv) In-Reply-To: References: <20120413145526.GA16865@kiste2> Message-ID: <20120413153857.GB16865@kiste2> On Fri, Apr 13, 2012 at 06:11:03PM +0300, Andrey Utkin wrote: > 2012/4/13 Michael Niedermayer : > > But if you really want CBR h263/flv, this can be implemented > > If you are interrested i can explain how it can be done. > > Thanks, no necessity in very-very strict bitrate const-ness. But if > you have time, i'd be glad if you explain what this means and share > some references to read. supporting minrate requires that the encoder can fill frames with something to achive that minrate if even at the highest quality the frame is too small bitrate wise. This is achived by stuffing the frame with something. For H.263 this is done by MCBPC stuffing (see the spec, it should be quite easy to unnderstand). for the implementation side grep for stuffing_count in mpegvideo_enc.c theres code to handle mpeg1/2/4 but not h263/flv also, as you mentioned x264, -vcodec flv is h263 not h264, for h264 in flv you need -vcodec libx264 which might support stuffing but its still just filling frames with "zeros" to match the minrate. stuffing makes most sense with hardware players that just cant play mpeg1/2 that has a too low bitrate, i dont think this ever applies to flv neither h263 nor h264 style. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. He who speaks, does not know. -- Lao Tsu -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From cehoyos at ag.or.at Fri Apr 13 18:24:46 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 13 Apr 2012 16:24:46 +0000 (UTC) Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment References: <44909.2676085003$1334317351@news.gmane.org> <20120413151843.GA16789localhost> <16421.6262790889$1334330936@news.gmane.org> Message-ID: Konrad Karl gmx.at> writes: > I am guessing that the bitrate will be much lower during the slide > sequence and at the elephant scene the normal movie continues and > exactly at this point the A/V offset begins to increase Because your hardware is not fast enough. Or are you able to reproduce the problem with mplayer -speed 0.2 ? (It works fine here with 0.1 on very slow hardware.) Carl Eugen From matilde.pato at gmail.com Fri Apr 13 18:58:03 2012 From: matilde.pato at gmail.com (=?iso-8859-1?Q?Matilde_P=F3s-de-Mina_Pato?=) Date: Fri, 13 Apr 2012 17:58:03 +0100 Subject: [FFmpeg-user] ffmpeg error Message-ID: Hi I have a problem when I tried to install the ffmpeg package with the following command: ./configure --enable-libmp3lame --enable-shared --enable-libfaac --enable-cross-compile --arch=x86_64 In attachment I send to you the config.log file. Best regards Matilde Pato -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: application/octet-stream Size: 67308 bytes Desc: not available URL: -------------- next part -------------- From Vikas.Kumar at GainSpan.com Fri Apr 13 14:16:06 2012 From: Vikas.Kumar at GainSpan.com (Vikas Kumar) Date: Fri, 13 Apr 2012 05:16:06 -0700 Subject: [FFmpeg-user] help needed Message-ID: I am unable run the make for ffmpeg and I get the following error : Building libvlc for the iOS ~/Desktop/VLC/archives/MobileVLC/vlc ~/Desktop/VLC/archives/MobileVLC/vlc/extras/package/ios ~/Desktop/VLC/archives/MobileVLC/vlc/extras/package/ios Boostraping contribs ~/Desktop/VLC/archives/MobileVLC/vlc/extras/contrib ~/Desktop/VLC/archives/MobileVLC/vlc/extras/package/ios Building contrib for iOS Forcing distro.mak to use ios.mak You do not have a Git client in your PATH. ***************************************************************** * If you need contribs with all debug information, run this * * line and compile the libraries on your own. * * CONTRIBS_RELEASE=no ./bootstrap * ***************************************************************** Using 1 processors cp config.mak src-arm-apple-darwin10-ios/src/../config.mak ln -sf ../../src/Patches src-arm-apple-darwin10-ios/src ln -sf ../../src/packages.mak src-arm-apple-darwin10-ios/src ln -sf ../../src/Makefile src-arm-apple-darwin10-ios/src/Makefile make -C src-arm-apple-darwin10-ios/src (cd ffmpeg; CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2" CXX="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2" LD="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld" RANLIB="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib" AR="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar" STRIP="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/strip" ./configure --prefix=/Users/vikaskumar/Desktop/VLC/archives/MobileVLC/vlc/extras/contrib/hosts/arm-apple-darwin10/ios --extra-cflags="--std=gnu99 -DHAVE_STDINT_H" --extra-ldflags="-L/Users/vikaskumar/Desktop/VLC/archives/MobileVLC/vlc/extras/contrib/hosts/arm-apple-darwin10/ios/lib -arch armv7 -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib -arch armv7" --enable-cross-compile --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 --arch=arm --disable-debug --enable-gpl --enable-postproc --disable-ffprobe --disable-ffserver --disable-ffmpeg --disable-ffplay --disable-devices --disable-protocols --disable-avfilter --disable-network --target-os=darwin --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk --disable-runtime-cpudetect --enable-neon --cpu=cortex-a8 --disable-shared --enable-static && make -j1 && make install-libs install-headers) /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 is unable to create an executable file. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the ffmpeg-user at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem. make[1]: *** [.ffmpeg] Error 1 make: *** [using-src] Error 2 This is the log file : -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: application/octet-stream Size: 77362 bytes Desc: config.log URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00001..txt URL: From cehoyos at ag.or.at Fri Apr 13 19:44:47 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 13 Apr 2012 17:44:47 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg error References: Message-ID: Matilde P?s-de-Mina Pato gmail.com> writes: > ./configure --enable-libmp3lame --enable-shared --enable-libfaac > --enable-cross-compile --arch=x86_64 Why don't you compile natively for x86_64? (Please confirm that cross-compilation is what you want.) Carl Eugen From cehoyos at ag.or.at Fri Apr 13 20:02:47 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 13 Apr 2012 18:02:47 +0000 (UTC) Subject: [FFmpeg-user] MPEG-TS CBR? References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> <42268BF1-860C-4403-9AD7-AF358EF0FE3C@krank.net> Message-ID: Anjo Krank krank.net> writes: > Oh, in case it's important, trying to encode with a grab of > current HEAD yields an error: Regressions are important, this is now ticket #1200. Do you think it is possible to use a publicly available sample as source for an encoding, run the resulting file through the stream analyzer and post both the transport stream and the analyzer text? If somebody wants to work on the transport stream muxer, this might be a starting point. Carl Eugen From anjo at krank.net Fri Apr 13 20:26:26 2012 From: anjo at krank.net (Anjo Krank) Date: Fri, 13 Apr 2012 20:26:26 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> <42268BF1-860C-4403-9AD7-AF358EF0FE3C@krank.net> Message-ID: <4649C909-2723-4583-93F0-7FD14309C7BC@krank.net> Am 13.04.2012 um 20:02 schrieb Carl Eugen Hoyos: > Do you think it is possible to use a publicly available sample > as source for an encoding, run the resulting file through the > stream analyzer and post both the transport stream and the > analyzer text? Sure, just give me a file. Cheers, Anjo From andrew at videocraft.ca Fri Apr 13 20:34:24 2012 From: andrew at videocraft.ca (andrew at videocraft.ca) Date: Fri, 13 Apr 2012 11:34:24 -0700 Subject: [FFmpeg-user] presets and install Message-ID: Hello group.. I am new. I am having trouble getting getting to presets to work. I successfully find them in the command line but with many errors. eg: ? Invalid option or argument: 'arnr-strength=5', parsed as 'arnr-strength' = '5'? arnr-strength, arnr-maxframes, auto-alt, cpu-used, deadline and more also threw errors. This all leads me to think I have not installed all required. I did a fresh install, a number of times. Can someone point me to the list of things I need to ?enable in order to get presets working correctly with the current setup? ffmpeg version git-2012-04-13-2ec8789 Many thanks in advance. From michaelni at gmx.at Fri Apr 13 21:34:31 2012 From: michaelni at gmx.at (Michael Niedermayer) Date: Fri, 13 Apr 2012 21:34:31 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: <4649C909-2723-4583-93F0-7FD14309C7BC@krank.net> References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> <42268BF1-860C-4403-9AD7-AF358EF0FE3C@krank.net> <4649C909-2723-4583-93F0-7FD14309C7BC@krank.net> Message-ID: <20120413193431.GC16865@kiste2> On Fri, Apr 13, 2012 at 08:26:26PM +0200, Anjo Krank wrote: > Am 13.04.2012 um 20:02 schrieb Carl Eugen Hoyos: > > > Do you think it is possible to use a publicly available sample > > as source for an encoding, run the resulting file through the > > stream analyzer and post both the transport stream and the > > analyzer text? > > Sure, just give me a file. http://samples.ffmpeg.org/benchmark/testsuite1/matrixbench_mpeg2.mpg [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From seandarcy2 at gmail.com Fri Apr 13 22:47:41 2012 From: seandarcy2 at gmail.com (sean darcy) Date: Fri, 13 Apr 2012 16:47:41 -0400 Subject: [FFmpeg-user] prores422 > h264: video now in slow motion Message-ID: I have a ProRes422 that I'm trying to convert to h264. The original clip plays fine in Quicktime. The conversion seems to work, but when I play it with either mplayer of ffplay, the h264 clip is in slow motion - very slow motion. ffmpeg -i /opt/second2T/video/labs#170380-1.mov -an -vcodec libx264 -r 60 -preset slower -tune film -crf 18 -threads 0 Volume2.mov ffmpeg version N-39731-g0cd17a6 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 11 2012 21:54:39 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --shlibdir=/usr/lib64 --extra-cflags='-Ofast -march=native -mtune=native -fopenmp -fomit-frame-pointer -pipe' --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-gray --enable-vaapi --enable-hardcoded-tables --enable-libaacplus --enable-frei0r --enable-libdirac --disable-decoder=libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --disable-encoder=libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-zlib --disable-debug --cpu=amdfam10 --arch=x86_64 --enable-pic --enable-libopencv --enable-openssl libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/opt/second2T/gavin-video/PacLabs#170380-1.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2012-03-05 23:56:50 Duration: 00:28:36.01, start: 0.000000, bitrate: 59349 kb/s Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 720x486, 59337 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc Metadata: creation_time : 2012-03-05 23:56:50 handler_name : Apple Alias Data Handler Stream #0:1(eng): Data: none (tmcd / 0x64636D74) Metadata: creation_time : 2012-03-06 00:03:55 handler_name : Apple Alias Data Handler timecode : 01:00:00;00 Incompatible pixel format 'yuv422p10le' for codec 'libx264', auto-selecting format 'yuv420p' [buffer @ 0x1306060] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 sar:0/1 sws_param:flags=2 [buffersink @ 0x1334720] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x1304100] w:720 h:486 fmt:yuv422p10le sar:0/1 -> w:720 h:486 fmt:yuv420p sar:0/1 flags:0x4 [libx264 @ 0x1301c20] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT [libx264 @ 0x1301c20] profile High, level 3.1 [libx264 @ 0x1301c20] 264 - core 122 r2184+36 22f2e8b - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=8 deblock=1:-1:-1 analyse=0x3:0x133 me=umh subme=9 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=9 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mov, to 'Volume2.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2012-03-05 23:56:50 encoder : Lavf54.3.100 Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x486, q=-1--1, 60 tbn, 60 tbc Metadata: creation_time : 2012-03-05 23:56:50 handler_name : Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (prores -> libx264) Here I set the x264 frame rate to 60. I first tried it without the frame rate. No help. Any help appreciated. sean From seandarcy2 at gmail.com Sat Apr 14 00:49:35 2012 From: seandarcy2 at gmail.com (sean darcy) Date: Fri, 13 Apr 2012 18:49:35 -0400 Subject: [FFmpeg-user] prores422 > h264: video now in slow motion In-Reply-To: References: Message-ID: On 04/13/2012 04:47 PM, sean darcy wrote: > I have a ProRes422 that I'm trying to convert to h264. The original clip > plays fine in Quicktime. The conversion seems to work, but when I play > it with either mplayer of ffplay, the h264 clip is in slow motion - very > slow motion. > > ffmpeg -i /opt/second2T/video/labs#170380-1.mov -an -vcodec libx264 -r > 60 -preset slower -tune film -crf 18 -threads 0 Volume2.mov > ffmpeg version N-39731-g0cd17a6 Copyright (c) 2000-2012 the FFmpeg > developers > built on Apr 11 2012 21:54:39 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2) > configuration: --prefix=/usr --bindir=/usr/bin > --datadir=/usr/share/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man > --shlibdir=/usr/lib64 --extra-cflags='-Ofast -march=native -mtune=native > -fopenmp -fomit-frame-pointer -pipe' --enable-static --enable-shared > --enable-gpl --enable-nonfree --enable-version3 --enable-postproc > --enable-avfilter --enable-pthreads --enable-x11grab --enable-gray > --enable-vaapi --enable-hardcoded-tables --enable-libaacplus > --enable-frei0r --enable-libdirac --disable-decoder=libdirac > --enable-libgsm --enable-libmp3lame --enable-libopenjpeg > --enable-librtmp --enable-libschroedinger > --disable-encoder=libschroedinger --enable-libspeex --enable-libtheora > --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid > --enable-zlib --disable-debug --cpu=amdfam10 --arch=x86_64 --enable-pic > --enable-libopencv --enable-openssl > libavutil 51. 46.100 / 51. 46.100 > libavcodec 54. 14.101 / 54. 14.101 > libavformat 54. 3.100 / 54. 3.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 67.101 / 2. 67.101 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 11.100 / 0. 11.100 > libpostproc 52. 0.100 / 52. 0.100 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from > '/opt/second2T/gavin-video/PacLabs#170380-1.mov': > Metadata: > major_brand : qt > minor_version : 537199360 > compatible_brands: qt > creation_time : 2012-03-05 23:56:50 > Duration: 00:28:36.01, start: 0.000000, bitrate: 59349 kb/s > Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, > 720x486, 59337 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc > Metadata: > creation_time : 2012-03-05 23:56:50 > handler_name : Apple Alias Data Handler > Stream #0:1(eng): Data: none (tmcd / 0x64636D74) > Metadata: > creation_time : 2012-03-06 00:03:55 > handler_name : Apple Alias Data Handler > timecode : 01:00:00;00 > Incompatible pixel format 'yuv422p10le' for codec 'libx264', > auto-selecting format 'yuv420p' > [buffer @ 0x1306060] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 sar:0/1 > sws_param:flags=2 > [buffersink @ 0x1334720] auto-inserting filter 'auto-inserted scale 0' > between the filter 'src' and the filter 'out' > [scale @ 0x1304100] w:720 h:486 fmt:yuv422p10le sar:0/1 -> w:720 h:486 > fmt:yuv420p sar:0/1 flags:0x4 > [libx264 @ 0x1301c20] using cpu capabilities: MMX2 SSE2Fast FastShuffle > SSEMisalign LZCNT > [libx264 @ 0x1301c20] profile High, level 3.1 > [libx264 @ 0x1301c20] 264 - core 122 r2184+36 22f2e8b - H.264/MPEG-4 AVC > codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - > options: cabac=1 ref=8 deblock=1:-1:-1 analyse=0x3:0x133 me=umh subme=9 > psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 > 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=9 > sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 > constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 > weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 > intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=18.0 qcomp=0.60 > qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 > Output #0, mov, to 'Volume2.mov': > Metadata: > major_brand : qt > minor_version : 537199360 > compatible_brands: qt > creation_time : 2012-03-05 23:56:50 > encoder : Lavf54.3.100 > Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x486, > q=-1--1, 60 tbn, 60 tbc > Metadata: > creation_time : 2012-03-05 23:56:50 > handler_name : Apple Alias Data Handler > Stream mapping: > Stream #0:0 -> #0:0 (prores -> libx264) > > Here I set the x264 frame rate to 60. I first tried it without the frame > rate. No help. > > > Any help appreciated. > > sean I realize I didn't paste the full console output. Here's the rest of it: frame=102961 fps= 24 q=-1.0 Lsize= 1159830kB time=00:28:35.98 bitrate=5537.0kbits/s dup=51532 drop=0 video:1158606kB audio:0kB global headers:0kB muxing overhead 0.105634% [libx264 @ 0x1301c20] frame I:1856 Avg QP:18.61 size: 76632 [libx264 @ 0x1301c20] frame P:31430 Avg QP:23.07 size: 25107 [libx264 @ 0x1301c20] frame B:69675 Avg QP:24.94 size: 3661 [libx264 @ 0x1301c20] consecutive B-frames: 2.8% 16.4% 13.2% 67.6% [libx264 @ 0x1301c20] mb I I16..4: 32.4% 46.5% 21.0% [libx264 @ 0x1301c20] mb P I16..4: 0.4% 12.1% 1.1% P16..4: 40.5% 26.7% 12.9% 0.6% 0.1% skip: 5.6% [libx264 @ 0x1301c20] mb B I16..4: 0.0% 0.1% 0.1% B16..8: 8.3% 1.6% 0.7% direct:12.0% skip:77.3% L0:51.4% L1:41.0% BI: 7.6% [libx264 @ 0x1301c20] 8x8 transform intra:75.8% inter:73.8% [libx264 @ 0x1301c20] direct mvs spatial:100.0% temporal:0.0% [libx264 @ 0x1301c20] coded y,uvDC,uvAC intra: 97.0% 97.7% 91.5% inter: 31.4% 28.7% 10.5% [libx264 @ 0x1301c20] i16 v,h,dc,p: 6% 16% 50% 28% [libx264 @ 0x1301c20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 11% 8% 9% 13% 10% 15% 9% 15% [libx264 @ 0x1301c20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 7% 33% 5% 7% 9% 8% 11% 7% 13% [libx264 @ 0x1301c20] i8c dc,h,v,p: 51% 17% 14% 19% [libx264 @ 0x1301c20] Weighted P-Frames: Y:23.9% UV:11.8% [libx264 @ 0x1301c20] ref P L0: 42.6% 14.2% 13.5% 8.7% 6.9% 5.5% 4.8% 2.7% 1.0% 0.1% [libx264 @ 0x1301c20] ref B L0: 52.2% 18.1% 10.9% 2.0% 11.4% 3.1% 2.3% [libx264 @ 0x1301c20] ref B L1: 99.6% 0.4% [libx264 @ 0x1301c20] kb/s:5531.00 sean From de.techno at gmail.com Sat Apr 14 06:53:35 2012 From: de.techno at gmail.com (dE .) Date: Sat, 14 Apr 2012 10:23:35 +0530 Subject: [FFmpeg-user] presets and install In-Reply-To: References: Message-ID: <4F8902CF.10309@gmail.com> On 04/14/12 00:04, andrew at videocraft.ca wrote: > Hello group.. I am new. > I am having trouble getting getting to presets to work. > I successfully find them in the command line but with many errors. > eg: ? Invalid option or argument: 'arnr-strength=5', parsed as 'arnr-strength' = '5'? > arnr-strength, arnr-maxframes, auto-alt, cpu-used, deadline and more also threw errors. > > This all leads me to think I have not installed all required. > > I did a fresh install, a number of times. > Can someone point me to the list of things I need to ?enable in order to get presets working correctly with the current setup? > ffmpeg version git-2012-04-13-2ec8789 > > Many thanks in advance. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Where did you get the preset from? From cehoyos at ag.or.at Sat Apr 14 10:31:58 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 14 Apr 2012 08:31:58 +0000 (UTC) Subject: [FFmpeg-user] prores422 > h264: video now in slow motion References: Message-ID: sean darcy gmail.com> writes: > I have a ProRes422 that I'm trying to convert to h264. The original clip > plays fine in Quicktime. The conversion seems to work, but when I play > it with either mplayer of ffplay, the h264 clip is in slow motion - very > slow motion. (I wonder if -an makes any sense if you want to test playback speed.) Is this also reproducible without an external library (x264)? ffmpeg -i labs#170380-1.mov -s 360x243 -qscale 2 out.avi Please provide a sample, Carl Eugen From kk_konrad at gmx.at Sat Apr 14 10:45:36 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Sat, 14 Apr 2012 10:45:36 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <44909.2676085003$1334317351@news.gmane.org> <20120413151843.GA16789localhost> <16421.6262790889$1334330936@news.gmane.org> Message-ID: <20120414084536.GA27812localhost> On Fri, Apr 13, 2012 at 04:24:46PM +0000, Carl Eugen Hoyos wrote: > Because your hardware is not fast enough. > > Or are you able to reproduce the problem with mplayer -speed 0.2 ? > (It works fine here with 0.1 on very slow hardware.) Carl Eugen, you are completely right (shame on me, did not even think about trying -speed :-( It seems I need to go down to speed 0.7 on my hardware (Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz / GeForce 450 GTS) to be able to play w/o A/V fluctuations. The other parts of the movie play OK at -speed 1.15 so the margin was quite small. To watch the decoding speed in real time I tried also (after removing the audio track): mplayer -speed 5 test1-wo-audio.mp4 and just looking at the V: values the progress suddenly slows down quite a lot at the elephant. I guess now it is time to ask the x264 folks now about how to avoid this behavior. Before that I will try a two-pass encode and see what happens. Unfortunately encoding is quite slow, this movie takes about 1.5 hours to render. My final goal is to have this movie playing properly on the WD TV Live. Thanks for actually looking at the video, appreciated, Konrad From andyqos at ukfsn.org Sat Apr 14 22:16:50 2012 From: andyqos at ukfsn.org (Andy Furniss) Date: Sat, 14 Apr 2012 21:16:50 +0100 Subject: [FFmpeg-user] h264 stream errors with ffplay/ffmpeg but works with mplayer. Message-ID: <4F89DB32.5010609@ukfsn.org> Hi. This transport stream (37meg) http://www.andyqos.ukfsn.org/h264-mplayer-ok-ffmpeg-errors.ts Plays OK with current mplayer svn with or without -demuxer lavf , but with current ffplay/ffmpeg I get lots of errors and corrupted output - bash-3.2$ ffplay h264-mplayer-ok-ffmpeg-errors.ts ffplay version N-39796-g64bd7f8 Copyright (c) 2003-2012 the FFmpeg developers built on Apr 14 2012 17:51:46 with gcc 4.2.3 configuration: --prefix=/usr --enable-gpl --enable-libx264 --enable-libfaac --enable-nonfree libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 69.101 / 2. 69.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [aac_latm @ 0xa1c4dc0] audio config changed [h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period [h264 @ 0xa1c4a20] non-existing PPS referenced [h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] no frame! [h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period [h264 @ 0xa1c4a20] non-existing PPS referenced [h264 @ 0xa1c4a20] non-existing SPS 0 referenced in buffering period [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] non-existing PPS 0 referenced [h264 @ 0xa1c4a20] decode_slice_header error [h264 @ 0xa1c4a20] no frame! [h264 @ 0xa1c4a20] mmco: unref short failure Last message repeated 5 times [h264 @ 0xa1c4a20] Missing reference picture [h264 @ 0xa1c4a20] Reference 2 >= 2 [h264 @ 0xa1c4a20] error while decoding MB 2 1, bytestream (7290) [h264 @ 0xa1c4a20] Missing reference picture [h264 @ 0xa1c4a20] Reference 4 >= 2 [h264 @ 0xa1c4a20] error while decoding MB 4 13, bytestream (6201) [mpegts @ 0xa1bbde0] Could not find codec parameters (Unknown: none ([17][0][0][0] / 0x0011)) [mpegts @ 0xa1bbde0] Could not find codec parameters (Unknown: none ([5][0][0][0] / 0x0005)) [mpegts @ 0xa1bbde0] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B)) Last message repeated 2 times [NULL @ 0xa1c5160] start time is not set in estimate_timings_from_pts [NULL @ 0xa1c5720] start time is not set in estimate_timings_from_pts [NULL @ 0xa1f28e0] start time is not set in estimate_timings_from_pts [NULL @ 0xa1f8940] start time is not set in estimate_timings_from_pts [NULL @ 0xa1feb80] start time is not set in estimate_timings_from_pts [NULL @ 0xa204dc0] start time is not set in estimate_timings_from_pts [mpegts @ 0xa1bbde0] PES packet size mismatch Input #0, mpegts, from 'h264-mplayer-ok-ffmpeg-errors.ts': Duration: 00:00:30.66, start: 52774.382778, bitrate: 10044 kb/s Program 17472 Stream #0:0[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 50.33 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x66](eng): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, s16 Stream #0:2[0x6a](eng): Unknown: none ([17][0][0][0] / 0x0011) (visual impaired) Stream #0:3[0x69](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Stream #0:4[0x96]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:5[0x6e]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:6[0x6f]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:7[0x82]: Unknown: none ([11][0][0][0] / 0x000B) Program 17540 Program 17603 Program 17664 [h264 @ 0xa1c2d20] Missing reference picture1KB vq= 2749KB sq= 0B f=0/0 [h264 @ 0xa1c2d20] decode_slice_header error [h264 @ 0xa1c2d20] Missing reference picture [h264 @ 0xa1c2d20] decode_slice_header error [h264 @ 0xa1c2d20] Missing reference picture [h264 @ 0xa1c2d20] decode_slice_header error [h264 @ 0xa1c2d20] Missing reference picture [h264 @ 0xa1c2d20] decode_slice_header error [h264 @ 0xa1c2d20] Missing reference picture [h264 @ 0xa1c2d20] decode_slice_header error [h264 @ 0xa1c2d20] Missing reference picture [h264 @ 0xa1c2d20] decode_slice_header error [h264 @ 0xa1c2d20] concealing 6120 DC, 6120 AC, 6120 MV errors [h264 @ 0xa2047c0] Missing reference picture4KB vq=12370KB sq= 0B f=0/0 [h264 @ 0xa2047c0] decode_slice_header error [h264 @ 0xa2047c0] Missing reference picture [h264 @ 0xa2047c0] decode_slice_header error [h264 @ 0xa2047c0] Missing reference picture [h264 @ 0xa2047c0] decode_slice_header error [h264 @ 0xa2047c0] Missing reference picture [h264 @ 0xa2047c0] decode_slice_header error [h264 @ 0xa2047c0] Missing reference picture [h264 @ 0xa2047c0] decode_slice_header error [h264 @ 0xa2047c0] Missing reference picture [h264 @ 0xa2047c0] decode_slice_header error [h264 @ 0xa2047c0] concealing 6120 DC, 6120 AC, 6120 MV errors [h264 @ 0xa1f5200] mmco: unref short failure3KB vq=15164KB sq= 0B f=0/0 Last message repeated 5 times [h264 @ 0xa1f5200] Missing reference picture [h264 @ 0xa1f5200] Reference 2 >= 2 [h264 @ 0xa1f5200] error while decoding MB 2 1, bytestream (7290) [h264 @ 0xa1f5200] Missing reference picture [h264 @ 0xa1f5200] Reference 4 >= 2 [h264 @ 0xa1f5200] error while decoding MB 4 13, bytestream (6201) [h264 @ 0xa1f5200] Missing reference picture [h264 @ 0xa1f5200] Reference 3 >= 2 [h264 @ 0xa1f5200] error while decoding MB 2 25, bytestream (5927) [h264 @ 0xa1f5200] Missing reference picture [h264 @ 0xa1f5200] Reference 3 >= 2 [h264 @ 0xa1f5200] error while decoding MB 4 37, bytestream (5726) [h264 @ 0xa1f5200] Missing reference picture [h264 @ 0xa1f5200] Reference 2 >= 2 [h264 @ 0xa1f5200] error while decoding MB 1 49, bytestream (6231) [h264 @ 0xa1f5200] Missing reference picture [h264 @ 0xa1f5200] Reference 2 >= 2 [h264 @ 0xa1f5200] error while decoding MB 2 61, bytestream (4741) [h264 @ 0xa1f55a0] top block unavailable for requested intra4x4 mode -1 at 1 0 [h264 @ 0xa1f55a0] error while decoding MB 1 0, bytestream (4011) [h264 @ 0xa1f55a0] Reference 4 >= 2 [h264 @ 0xa1f55a0] error while decoding MB 3 12, bytestream (3357) [h264 @ 0xa1f55a0] Reference 3 >= 2 and so it continues. Can anyone else reproduce this or if not suggest what's wrong with with my setup. TIA Andy. From cehoyos at ag.or.at Sat Apr 14 22:41:52 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 14 Apr 2012 20:41:52 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?h264_stream_errors_with_ffplay/ffmpeg_but?= =?utf-8?q?_works_with=09mplayer=2E?= References: <4F89DB32.5010609@ukfsn.org> Message-ID: Andy Furniss ukfsn.org> writes: > This transport stream (37meg) > http://www.andyqos.ukfsn.org/h264-mplayer-ok-ffmpeg-errors.ts > > Plays OK with current mplayer svn with or without -demuxer lavf , but > with current ffplay/ffmpeg I get lots of errors and corrupted output It works fine here, did you make distclean && ./configure && make or could this be threads-related (try -threads 1)? Carl Eugen From andyqos at ukfsn.org Sat Apr 14 23:16:17 2012 From: andyqos at ukfsn.org (Andy Furniss) Date: Sat, 14 Apr 2012 22:16:17 +0100 Subject: [FFmpeg-user] h264 stream errors with ffplay/ffmpeg but works with mplayer. In-Reply-To: References: <4F89DB32.5010609@ukfsn.org> Message-ID: <4F89E921.6010202@ukfsn.org> Carl Eugen Hoyos wrote: > Andy Furniss ukfsn.org> writes: > >> This transport stream (37meg) >> http://www.andyqos.ukfsn.org/h264-mplayer-ok-ffmpeg-errors.ts >> >> Plays OK with current mplayer svn with or without -demuxer lavf , but >> with current ffplay/ffmpeg I get lots of errors and corrupted output > > It works fine here, did you make distclean&& ./configure&& make or > could this be threads-related (try -threads 1)? Thanks for looking. I make distclean and git clean -dfx, -threads 1 doesn't help. As it's working for you I guess it's something about my old and strange LFS setup, I'll keep trying. Maybe gcc 4.2.3 isn't helping, also I am still 32bit are you 32 or 64? Andy. From andyqos at ukfsn.org Sun Apr 15 00:44:50 2012 From: andyqos at ukfsn.org (Andy Furniss) Date: Sat, 14 Apr 2012 23:44:50 +0100 Subject: [FFmpeg-user] h264 stream errors with ffplay/ffmpeg but works with mplayer. In-Reply-To: <4F89E921.6010202@ukfsn.org> References: <4F89DB32.5010609@ukfsn.org> <4F89E921.6010202@ukfsn.org> Message-ID: <4F89FDE2.7040906@ukfsn.org> Andy Furniss wrote: > Maybe gcc 4.2.3 isn't helping, It was gcc - it works with 4.5.1. From seandarcy2 at gmail.com Sun Apr 15 01:01:01 2012 From: seandarcy2 at gmail.com (sean darcy) Date: Sat, 14 Apr 2012 19:01:01 -0400 Subject: [FFmpeg-user] prores422 > h264: video now in slow motion In-Reply-To: References: Message-ID: On 04/14/2012 04:31 AM, Carl Eugen Hoyos wrote: > sean darcy gmail.com> writes: > >> I have a ProRes422 that I'm trying to convert to h264. The original clip >> plays fine in Quicktime. The conversion seems to work, but when I play >> it with either mplayer of ffplay, the h264 clip is in slow motion - very >> slow motion. > > (I wonder if -an makes any sense if you want to test playback speed.) > > Is this also reproducible without an external library (x264)? > ffmpeg -i labs#170380-1.mov -s 360x243 -qscale 2 out.avi > > Please provide a sample, Carl Eugen Thanks for the rely. It was not reproducible without an external library. I'm going to try x264 directly to see what happens. BTW, I used -an because these are conversions from 1940's amateur movies - no sound! sean From david at bengoarocandio.com Sat Apr 14 14:37:48 2012 From: david at bengoarocandio.com (David Bengoa) Date: Sat, 14 Apr 2012 14:37:48 +0200 Subject: [FFmpeg-user] Encode flv video with no audio Message-ID: <4F896F9C.1030107@bengoarocandio.com> Hi, I'm making an application that needs to convert videos to webm or mp4, it works great with all videos I've tried, but it fails if I use a flv file with no audio channels. A example command (not the actual flags I use, but fails anyway): |$ ffmpeg -i 0986229665-339108519108-86498841039-6078455325.flv out.webm ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers built on Jan 4 2012 16:08:51 with gcc 4.6.1 configuration: --extra-version='4:0.7.3-0ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static WARNING: library configuration mismatch avutil configuration: --extra-version='4:0.7.3ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static avcodec configuration: --extra-version='4:0.7.3ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static libavutil 51. 7. 0 / 51. 7. 0 libavcodec 53. 6. 0 / 53. 6. 0 libavformat 53. 3. 0 / 53. 3. 0 libavdevice 53. 0. 0 / 53. 0. 0 libavfilter 2. 4. 0 / 2. 4. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 52. 0. 0 / 52. 0. 0 [flv @ 0x2184560] Could not find codec parameters (Audio: [0][0][0][0] / 0x0000, 0 channels) [flv @ 0x2184560] Estimating duration from bitrate, this may be inaccurate Input #0, flv, from '0986229665-339108519108-86498841039-6078455325.flv': Metadata: audiocodecid : -1 server : Red5 Server 1.0.0 RC1 $Rev: 4193 $ duration : 3 canSeekToEnd : true videocodecid : 2 Duration: 00:00:03.02, start: 0.000000, bitrate: N/A Stream #0.0: Video: flv, yuv420p, 640x362, 1k tbr, 1k tbn, 1k tbc Stream #0.1: Audio: [0][0][0][0] / 0x0000, 0 channels Incompatible sample format '(null)' for codec 'libvorbis', auto-selecting format 's16' [buffer @ 0x21852c0] w:640 h:362 pixfmt:yuv420p [libvpx @ 0x2184040] v0.9.6 [libvorbis @ 0x2185ee0] oggvorbis_encode_init: init_encoder failed Output #0, webm, to 'out.webm': Stream #0.0: Video: libvpx, yuv420p, 640x362, q=2-31, 200 kb/s, 90k tbn, 1k tbc Stream #0.1: Audio: libvorbis, 0 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height | If I pass the -an option, it works, but I can't do that because then all videos wouldn't have audio. Any ideas? -- David Bengoa http://dvdbng.com From cehoyos at ag.or.at Sun Apr 15 09:34:09 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 15 Apr 2012 07:34:09 +0000 (UTC) Subject: [FFmpeg-user] MPEG-TS CBR? References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> <42268BF1-860C-4403-9AD7-AF358EF0FE3C@krank.net> Message-ID: Anjo Krank krank.net> writes: > Oh, in case it's important, trying to encode with a > grab of current HEAD yields an error: Should be fixed, thank you for the report. Carl Eugen From cehoyos at ag.or.at Sun Apr 15 09:36:25 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 15 Apr 2012 07:36:25 +0000 (UTC) Subject: [FFmpeg-user] Encode flv video with no audio References: <4F896F9C.1030107@bengoarocandio.com> Message-ID: David Bengoa bengoarocandio.com> writes: > |$ ffmpeg -i 0986229665-339108519108-86498841039-6078455325.flv out.webm > ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, > Copyright (c) 2000-2011 the Libav developers This is an intentionally broken version of FFmpeg with several hundred known regressions, some of them security relevant. We therefore cannot support it. Please see http://ffmpeg.org/download.html for supported versions, current git head is always recommended. Carl Eugen From david at bengoarocandio.com Sun Apr 15 14:50:27 2012 From: david at bengoarocandio.com (David Bengoa) Date: Sun, 15 Apr 2012 14:50:27 +0200 Subject: [FFmpeg-user] Encode flv video with no audio In-Reply-To: References: <4F896F9C.1030107@bengoarocandio.com> Message-ID: <4F8AC413.4070005@bengoarocandio.com> On 04/15/2012 09:36 AM, Carl Eugen Hoyos wrote: > David Bengoa bengoarocandio.com> writes: > >> |$ ffmpeg -i 0986229665-339108519108-86498841039-6078455325.flv out.webm >> ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, >> Copyright (c) 2000-2011 the Libav developers > This is an intentionally broken version of FFmpeg with several > hundred known regressions, some of them security relevant. > We therefore cannot support it. > Please see http://ffmpeg.org/download.html for supported versions, > current git head is always recommended. > > Carl Eugen > Compiling ffmpeg from git head fixed the problem! Thank you! -- David Bengoa http://dvdbng.com From brendan.brewster at gmail.com Sun Apr 15 15:09:55 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Sun, 15 Apr 2012 09:09:55 -0400 Subject: [FFmpeg-user] Convert AVI video to mp4 In-Reply-To: References: Message-ID: On Fri, Apr 13, 2012 at 6:38 AM, Vinoth raj wrote: > Dear All, > > How to use the libavcodec C library to convert video format from avi to > mp4? > I do not want to use ffmpeg from command line but rather want to create a > C/C++ application with the ability to convert AVI to MP4 video format. > > I could not find any samples on video format conversion. Can anyone suggest > what sequence of steps should I follow to handle conversion of videos? > Or Which methods should I use for video conversion? > > Kindly help! > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > I would suggest taking a look at doc/examples in your ffmpeg source tree. -Brendan From fcassia at gmail.com Sun Apr 15 15:11:02 2012 From: fcassia at gmail.com (Fernando Cassia) Date: Sun, 15 Apr 2012 10:11:02 -0300 Subject: [FFmpeg-user] Create mp4 with image and aac, av_interleaved_write_frame(): Operation not permitted Message-ID: ffmpeg -loop 1 -shortest -y -i ./ninapersson2.jpg -i "Nina Persson - Losing My Religion (R.E.M cover).aac" -acodec copy Nina-REM.mp4 I get [mp4 @ 0x96b7fe0] malformated aac bitstream, use -absf aac_adtstoasc av_interleaved_write_frame(): Operation not permitted WTF? The AAC file was extracted with -acodec copy from a .mp4 downloaded from Youtube. ffmpeg -i Nina\ Persson\ -\ Losing\ My\ Religion\ \(R.E.M\ cover\).mp4 -vn -acodec copy "Nina Persson - Losing My Religion (R.E.M cover).aac So basically it's bit-for-bit the same audio that was present in the original mp4 downloaded from YT. Why can't FFMPEG encode it back (along with an image) into another mp4? Please help me understand. Thanks in advance. FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act Durante ?pocas de Enga?o Universal, decir la verdad se convierte en un Acto Revolucionario - George Orwell From cehoyos at ag.or.at Sun Apr 15 16:51:13 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 15 Apr 2012 14:51:13 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?Create_mp4_with_image_and_aac=2C_av=5Fint?= =?utf-8?q?erleaved=5Fwrite=5Fframe=28=29=3A_Operation_not_permitte?= =?utf-8?q?d?= References: Message-ID: Fernando Cassia gmail.com> writes: > ffmpeg -loop 1 -shortest -y -i ./ninapersson2.jpg -i "Nina Persson - > Losing My Religion (R.E.M cover).aac" -acodec copy Nina-REM.mp4 > > I get > > [mp4 @ 0x96b7fe0] malformated aac bitstream, use -absf aac_adtstoasc > av_interleaved_write_frame(): Operation not permitted Complete, uncut console output missing. Carl Eugen From fcassia at gmail.com Sun Apr 15 17:22:06 2012 From: fcassia at gmail.com (Fernando Cassia) Date: Sun, 15 Apr 2012 12:22:06 -0300 Subject: [FFmpeg-user] Create mp4 with image and aac, av_interleaved_write_frame(): Operation not permitted In-Reply-To: References: Message-ID: On Sun, Apr 15, 2012 at 11:51, Carl Eugen Hoyos wrote: > Complete, uncut console output missing. Sorry, my bad. I thought I was going to be chastised if I pasted a big blob. Here: ---- $ ffmpeg -loop 1 -shortest -y -i ../ninapersson2.jpg -i "Nina Persson - Losing My Religion (R.E.M cover).aac" -acodec copy Nina-REM.mp4 ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 18 2012 13:30:00 with gcc 4.7.0 20120315 (Red Hat 4.7.0-0.20) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [image2 @ 0x8676020] max_analyze_duration 5000000 reached at 5000000 Input #0, image2, from '../ninapersson2.jpg': Duration: 00:00:00.04, start: 0.000000, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj420p, 500x388 [SAR 72:72 DAR 125:97], 25 fps, 25 tbr, 25 tbn, 25 tbc [aac @ 0x86db240] max_analyze_duration 5000000 reached at 5015510 [aac @ 0x86db240] Estimating duration from bitrate, this may be inaccurate Input #1, aac, from 'Nina Persson - Losing My Religion (R.E.M cover).aac': Duration: 00:03:51.03, bitrate: 108 kb/s Stream #1:0: Audio: aac, 44100 Hz, stereo, s16, 108 kb/s [buffer @ 0x866f9e0] w:500 h:388 pixfmt:yuvj420p tb:1/1000000 sar:72/72 sws_param: [libx264 @ 0x87c9fe0] using SAR=1/1 [libx264 @ 0x87c9fe0] using cpu capabilities: MMX2 SSE2Slow SlowCTZ [libx264 @ 0x87c9fe0] profile High, level 2.2 [libx264 @ 0x87c9fe0] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'Nina-REM.mp4': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuvj420p, 500x388 [SAR 72:72 DAR 125:97], q=-1--1, 25 tbn, 25 tbc Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, stereo, 108 kb/s Stream mapping: Stream #0:0 -> #0:0 (mjpeg -> libx264) Stream #1:0 -> #0:1 (copy) Press [q] to stop, [?] for help [mp4 @ 0x866efe0] malformated aac bitstream, use -absf aac_adtstoasc av_interleaved_write_frame(): Operation not permitted ---- FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act Durante ?pocas de Enga?o Universal, decir la verdad se convierte en un Acto Revolucionario - George Orwell From cehoyos at ag.or.at Sun Apr 15 17:39:30 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 15 Apr 2012 15:39:30 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?Create_mp4_with_image_and_aac=2C_av=5Fint?= =?utf-8?q?erleaved=5Fwrite=5Fframe=28=29=3A_Operation_not_permitte?= =?utf-8?q?d?= References: Message-ID: Fernando Cassia gmail.com> writes: > $ ffmpeg -loop 1 -shortest -y -i ../ninapersson2.jpg -i "Nina Persson > - Losing My Religion (R.E.M cover).aac" -acodec copy Nina-REM.mp4 > ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers Please either try current git head or provide the sample. Thank you, Carl Eugen From fcassia at gmail.com Sun Apr 15 17:40:26 2012 From: fcassia at gmail.com (Fernando Cassia) Date: Sun, 15 Apr 2012 12:40:26 -0300 Subject: [FFmpeg-user] Create mp4 with image and aac, av_interleaved_write_frame(): Operation not permitted In-Reply-To: References: Message-ID: On Sun, Apr 15, 2012 at 12:22, Fernando Cassia wrote: > [mp4 @ 0x866efe0] malformated aac bitstream, use -absf aac_adtstoasc Of course, I added -absf aac_adtstoasc and it magically worked. I'd still like to know why the audio copied with -acodec copy from an mp4 taken from youtube is "malformed", and if this is a bug I should report to Gurgle... FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act - George Orwell From fcassia at gmail.com Sun Apr 15 17:43:05 2012 From: fcassia at gmail.com (Fernando Cassia) Date: Sun, 15 Apr 2012 12:43:05 -0300 Subject: [FFmpeg-user] Create mp4 with image and aac, av_interleaved_write_frame(): Operation not permitted In-Reply-To: References: Message-ID: On Sun, Apr 15, 2012 at 12:39, Carl Eugen Hoyos wrote: > Please either try current git head or provide the sample. I have very limited upstream, but you can grab the file yourself from Youtube. Just load www.keepvid.com from any machine with JRE or OpenJDK installed, and paste this url into the page http://www.youtube.com/watch?v=TNJFQhjzfmE Then choose to download the mp4 version of the file. I then just extracted the audio from the file with ffmpeg -i sourcefile.mp4 -nv -acodec copy destfile.aac FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act - George Orwell From brendan.brewster at gmail.com Sun Apr 15 19:37:22 2012 From: brendan.brewster at gmail.com (Brendan Brewster) Date: Sun, 15 Apr 2012 13:37:22 -0400 Subject: [FFmpeg-user] Compiling on Cygwin In-Reply-To: References: Message-ID: 2012/4/11 V?ctor Paesa > Hi, > > On Thu, Apr 12, 2012 at 00:05, Brendan Brewster wrote: > > 2012/4/11 V?ctor Paesa > > > >> Hi, > >> > >> On Tue, Apr 10, 2012 at 05:32, Brendan Brewster wrote: > >> > On Mon, Apr 9, 2012 at 6:33 AM, DEF wrote: > >> > > >> >> On Apr 9, 2012 9:55 AM, "Brendan Brewster" > >> >> wrote: > >> >> > > >> >> > Is there anything special I'm supposed to do to get a basic build > to > >> work > >> >> > on Cygwin? Thanks in advance :) > >> >> > > >> >> > ~/ffmpeg-20120408-git-N-39644-g5d6a40b > >> >> > $ ./configure > >> >> > install prefix /usr/local > >> >> > source path . > >> >> > C compiler gcc > >> >> > >> >> gcc -version ?? > >> >> cygwin1.dll version. ? > >> >> _______________________________________________ > >> > > >> > $ gcc -v > >> > Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs > >> > Configured with: > >> > /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure > --verbose > >> > --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc > >> > --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man > >> > --infodir=/usr/share/info > >> > --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls > >> > --without-included-gettext --enable-version-specific-runtime-libs > >> > --without-x --enable-libgcj --disable-java-awt --with-system-zlib > >> > --enable-interpreter --disable-libgcj-debug --enable-threads=posix > >> > --enable-java-gc=boehm --disable-win32-registry > --enable-sjlj-exceptions > >> > --enable-hash-synchronization --enable-libstdcxx-debug > >> > Thread model: posix > >> > gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > >> > > >> > $ uname -r > >> > 1.5.25(0.156/4/2) > >> > >> There are some Cygwin hints in doc/plaform.texi > >> You should upgrade to gcc4/Cygwin 1.7x > >> > >> Regards, > >> V?ctor > >> _______________________________________________ > >> ffmpeg-user mailing list > >> ffmpeg-user at ffmpeg.org > >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > > > > Hi Victor, > > > > Thanks, I've been meaning to upgrade but just haven't gotten around to it > > and haven't had issues with other things. > > > > If there is something specific to 1.5.x that's causing the issue, that's > > one thing and I'd like to know about it, but I feel like something else > is > > going wrong. > > > > I'll take a look at the doc you mentioned and may even try Carl's > > workaround. > > I know that 1.5.x lacks llrint() but I think FFmpeg has added some > workaround for it. > gcc4/1.7.x, has better support for C99 features. > Yes, Carl's advice --disable-network is sound. > > Regards, > V?ctor > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Victor, thanks for your helpful and informative responses, it's appreciated! -Brendan From pb at das-werkstatt.com Mon Apr 16 00:46:34 2012 From: pb at das-werkstatt.com (Peter B.) Date: Mon, 16 Apr 2012 00:46:34 +0200 Subject: [FFmpeg-user] Cannot open/transcode MXF OP-Atom files Message-ID: <4F8B4FCA.6070906@das-werkstatt.com> I've got a set of MXF OP-Atom [1] files. When trying to open or transcode the MXF containing the video stream, I get the following error: //------------------- [mxf @ 0x1ac2040] SegmentedFrame layout isn't currently supported [mxf @ 0x1ac2040] Could not find codec parameters (Video: none, 720x496) test_v1.mxf: could not find codec parameters //------------------- The commandline used and the complete uncut console output: //------------------- ffmpeg -i test_v1.mxf -an -vcodec copy test.avi //------------------- ffmpeg version N-39848-g88a97d6 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 15 2012 22:55:26 with gcc 4.6.1 configuration: --prefix=/usr/local libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 70.100 / 2. 70.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 [mxf @ 0x1ac2040] SegmentedFrame layout isn't currently supported [mxf @ 0x1ac2040] Could not find codec parameters (Video: none, 720x496) test_v1.mxf: could not find codec parameters //------------------- I've also tried handling the file with ffmbc (v0.7-rc5). It also didn't work, but here's the output I got: //------------------- ./ffmbc -i test_v1.mxf -an -vcodec copy test.avi //------------------- FFmbc version 0.7-rc5 Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers [mxf @ 0x2b98600] material track 2: no corresponding source package found [mxf @ 0x2b98600] material track 3: no corresponding source package found [mxf @ 0x2b98600] material track 4: no corresponding source package found [mxf @ 0x2b98600] material track 5: no corresponding source package found Input #0, mxf, from 'test_v1.mxf': Duration: 00:00:16.71, start: 0.000000, bitrate: 173062 kb/s Stream #0.0(und): Video: unknown (0x0000), 720x496p, 29.97 fps Output #0, avi, to 'test.avi': Metadata: ISFT: FFmbc 0.7 Stream #0.0(und): Video: unknown (0x0000), 720x496p, stream copy, 29.97 fps Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help Stream #0.0 dropping frames before first keyframe pts 0 dts 0 duration 1 size 720896 flags 0 Stream #0.0 dropping frames before first keyframe pts 1 dts 1 duration 1 size 720896 flags 0 Stream #0.0 dropping frames before first keyframe pts 2 dts 2 duration 1 size 720896 flags 0 Stream #0.0 dropping frames before first keyframe pts 3 dts 3 duration 1 size 720896 flags 0 [comment: Lots more of these messages...] Stream #0.0 dropping frames before first keyframe pts 499 dts 499 duration 1 size 720896 flags 0 Stream #0.0 dropping frames before first keyframe pts 500 dts 500 duration 1 size 720896 flags 0 frame= 0 fps= 0 Lsize= 6kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:0kB global headers:0kB muxing overhead inf% //------------------- The resulting "test.avi" has no video content. Its duration is 00:00:00.00. I'd be grateful for hints/tips/suggestions. Thanks, Pb == References: [1] http://www.digitalpreservation.gov/formats/fdd/fdd000265.shtml From ebisumartin at gmail.com Mon Apr 16 07:05:23 2012 From: ebisumartin at gmail.com (Martin G) Date: Mon, 16 Apr 2012 14:05:23 +0900 Subject: [FFmpeg-user] -t option is ignored [SOLVED] Message-ID: Turns out using the -sameq option works far more reliably. Also, the -t is not reliable when specifing a number of seconds. Only the 00:00:00 format works for me. I'm now able to now get the clips I want with this command format: ffmpeg -i input.avi -sameq -ss 00:00:00 -t 00:02:00 output.avi Thanks to all who helped. -- Martin From xhpohanka at gmail.com Mon Apr 16 07:06:19 2012 From: xhpohanka at gmail.com (Jan Pohanka) Date: Mon, 16 Apr 2012 07:06:19 +0200 Subject: [FFmpeg-user] h264 frame rate detection In-Reply-To: <4F8835B0.9020204@alcatel-lucent.com> References: <4F8835B0.9020204@alcatel-lucent.com> Message-ID: Hello, > I set the fps to 5 (which is the rate I get the images from >> cmos sensor) by setting VUI params num_units_in_tick = 1000 and >> time_scale = 5000. > > You are writing the wrong value. > > In h264, num_units_in_tick/time_scale is the duration of one FIELD, not > the duration of one FRAME. > I understand, but as my video is in progressive format I expect that field rate should be equal to frame rate. As far as I know there is no other way to set the fps of the raw stream than these VUI params. best regards Jan From simondaniels23 at gmail.com Mon Apr 16 08:36:02 2012 From: simondaniels23 at gmail.com (Simon Daniels) Date: Sun, 15 Apr 2012 23:36:02 -0700 Subject: [FFmpeg-user] Empty .MTS output videos when using -ss command line argument Message-ID: Hi guys, I have a set of .MTS files that I'm trying to splice. If I start at 0:00:00, the output video works fine. But if I start splicing any time after 0:00:00, the output video is empty. I've used the exact same command line with other .MTS files and had no problem. It seems like something specific to this Panasonic Lumix camera. MP4 and MOV files work fine too. This repros in FFmpeg HEAD-8dfb13e, 0.10.2, and 0.8.3. Any ideas? Thanks! Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:01 -t 00:00:25 -i 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 15 2012 23:02:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-static --disable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --arch=x86_64 --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot /Developer/SDKs/MacOSX10.7.sdk' libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 Input #0, mpegts, from '00004.MTS': Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) [mpegts @ 0x7f990c054000] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'output.MTS': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 0 fps= 0 q=-1.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s frame= 0 fps= 0 q=-1.0 Lsize= 657kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:586kB global headers:0kB muxing overhead 11.940537% If I use -ss 0:00:00, it works fine: Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:00 -t 00:00:25 -i 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 15 2012 23:02:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-static --disable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --arch=x86_64 --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot /Developer/SDKs/MacOSX10.7.sdk' libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 Input #0, mpegts, from '00004.MTS': Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) File 'output.MTS' already exists. Overwrite ? [y/N] y muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'output.MTS': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 640 fps= 0 q=-1.0 size= 40390kB time=00:00:21.33 bitrate=15506.5kbits/sframe= 750 fps= 0 q=-1.0 Lsize= 46332kB time=00:00:25.00 bitrate=15177.2kbits/s video:42293kB audio:586kB global headers:0kB muxing overhead 8.053502% The input video can be downloaded here: http://dl.dropbox.com/u/28441949/00004.MTS Here's what MediaInfo says about the input video: General ID : 0 (0x0) Complete name : K:\PRIVATE\AVCHD\BDMV\STREAM\00004.MTS Format : BDAV Format/Info : Blu-ray Video File size : 152 MiB Duration : 1mn 24s Overall bit rate : 15.1 Mbps Maximum Overall bit rate : 18.0 Mbps Video ID : 4113 (0x1011) Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format profile : High at L4.0 Format settings, CABAC : No Format settings, ReFrames : 1 frame Frame mode : Frame doubling Codec ID : 27 Duration : 1mn 24s Bit rate mode : Variable Bit rate : 14.3 Mbps Maximum bit rate : 16.6 Mbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 29.970 fps Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.516 Stream size : 144 MiB (95%) Audio ID : 4352 (0x1100) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Codec ID : 129 Duration : 1mn 24s Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 1.94 MiB (1%) Text ID : 4608 (0x1200) Menu ID : 1 (0x1) Format : PGS Codec ID : 144 Duration : 1mn 24s From tevans.uk at googlemail.com Mon Apr 16 10:53:31 2012 From: tevans.uk at googlemail.com (Tom Evans) Date: Mon, 16 Apr 2012 09:53:31 +0100 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> Message-ID: On Sat, Apr 14, 2012 at 9:45 AM, Konrad Karl wrote: > On Fri, Apr 13, 2012 at 04:24:46PM +0000, Carl Eugen Hoyos wrote: >> Because your hardware is not fast enough. >> >> Or are you able to reproduce the problem with mplayer -speed 0.2 ? >> (It works fine here with 0.1 on very slow hardware.) > > Carl Eugen, you are completely right (shame on me, did not even think > about trying -speed :-( > > It seems I need to go down to speed 0.7 on my hardware > (Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz / GeForce 450 GTS) Any reason why you are not using VDPAU? With hw acceleration, that should be more than playable with that hardware. Cheers Tom From shaily.athghara at gmail.com Mon Apr 16 10:57:56 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Mon, 16 Apr 2012 14:27:56 +0530 Subject: [FFmpeg-user] Mixing h263/raw files Message-ID: Hi, I have a query regarding mixing/adding h263 or raw files to a single h263/raw file. I perform the following command * ./ffmpeg -f h263 -i inv_vid/correct.h263 -i inv_vid/pending.h263 -i inv_vid/pending1.h263 -i inv_vid/correct1.h263 -i inv_vid/pending2.h263 -f h263 inv_vid/mix_all.h263* ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 [h263 @ 0x47343e0] Estimating duration from bitrate, this may be inaccurate Input #0, h263, from 'inv_vid/correct.h263': Duration: N/A, bitrate: N/A Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [h263 @ 0x473cd80] Estimating duration from bitrate, this may be inaccurate Input #1, h263, from 'inv_vid/pending.h263': Duration: N/A, bitrate: N/A Stream #1:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [h263 @ 0x474ea40] Estimating duration from bitrate, this may be inaccurate Input #2, h263, from 'inv_vid/pending1.h263': Duration: N/A, bitrate: N/A Stream #2:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [h263 @ 0x4746dc0] Estimating duration from bitrate, this may be inaccurate Input #3, h263, from 'inv_vid/correct1.h263': Duration: N/A, bitrate: N/A Stream #3:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.80 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [h263 @ 0x48671c0] Estimating duration from bitrate, this may be inaccurate Input #4, h263, from 'inv_vid/pending2.h263': Duration: N/A, bitrate: N/A Stream #4:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [buffer @ 0x4813c00] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:flags=2 Output #0, h263, to 'inv_vid/mix_all.h263': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream mapping: Stream #0:0 -> #0:0 (h263 -> h263) Press [q] to stop, [?] for help *frame= 34* fps=0.0 q=8.6 Lsize= 89kB time=00:00:01.13 bitrate= 644.0kbits/s video:89kB audio:0kB global headers:0kB muxing overhead 0.000000% But the output h263 ie mix_all.h263 only contains 34 frames (ie the first h263 file correct.h263).I wanted to know ,Is there any command which will mix all these h263 files and output me a single file which should contains all the frames. Please suggest. Thanks, Shaily. From anjo at krank.net Mon Apr 16 11:46:45 2012 From: anjo at krank.net (Anjo Krank) Date: Mon, 16 Apr 2012 11:46:45 +0200 Subject: [FFmpeg-user] MPEG-TS CBR? In-Reply-To: <20120413193431.GC16865@kiste2> References: <484860E6-81B4-4454-B937-4B2D95934079@krank.net> <9CABDDD2-2B7B-4B9A-B879-4FA856A7B8A3@krank.net> <20120403182801.GA9030@kiste2> <1A23963F-E87F-447D-8696-841792BC3C49@krank.net> <42268BF1-860C-4403-9AD7-AF358EF0FE3C@krank.net> <4649C909-2723-4583-93F0-7FD14309C7BC@krank.net> <20120413193431.GC16865@kiste2> Message-ID: Am 13.04.2012 um 21:34 schrieb Michael Niederbayer: >>> Do you think it is possible to use a publicly available sample >>> as source for an encoding, run the resulting file through the >>> stream analyzer and post both the transport stream and the >>> analyzer text? Here you go, ran with current HEAD: anjo:~ ak$ /outgoing/bin/ffmpeg.Darwin -i matrixbench_mpeg2.mpg -c:v mpeg2video -pix_fmt yuv420p -ec +deblock -vf yadif -r 25 -s 720x576 -b:v 4000k -minrate:v 4000k -maxrate:v 4000k -bufsize 1000k -g 12 -bf 2 -flags +cgop -flags2 sgop -sc_threshold 1000000000 -streamid:v 0:480 -streamid:a 1:481 -packetsize 188 -c:a mp2 -ar 48000 -b:a 192k -f mpegts -y mb2.mpg ffmpeg version N-39845-g44c4170 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 16 2012 10:56:07 with gcc 4.0.1 (Apple Inc. build 5493) configuration: --prefix=/Users/ak/sffmpeg/build --datadir=/Users/ak/sffmpeg/build/etc --arch=x86_64 --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --disable-doc --disable-debug --disable-ffplay --disable-ffserver --disable-avdevice --disable-indevs --disable-outdevs --enable-runtime-cpudetect --enable-memalign-hack --extra-cflags=-I/Users/ak/sffmpeg/build/include --extra-cflags=--static --extra-cflags=-m64 --extra-ldflags=-L/Users/ak/sffmpeg/build/lib --extra-ldflags=-m64 --extra-ldflags=-arch --extra-ldflags=x86_64 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --disable-libspeex --enable-libx264 --disable-libxvid --disable-librtmp libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavfilter 2. 70.100 / 2. 70.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [mpeg @ 0x10180a220] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'matrixbench_mpeg2.mpg': Duration: 00:03:07.63, start: 0.220000, bitrate: 5634 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 11421 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s [buffer @ 0x101101040] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15 sws_param:flags=2 [yadif @ 0x10110a7c0] mode:0 parity:-1 auto_enable:0 [mpegts @ 0x101813020] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'mb2.mpg': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 4000 kb/s, 90k tbn, 25 tbc Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video) Stream #0:1 -> #0:1 (mp2 -> mp2) Press [q] to stop, [?] for help frame= 4689 fps=239 q=2.5 Lsize= 104056kB time=00:03:07.52 bitrate=4545.8kbits/s video:91552kB audio:4398kB global headers:0kB muxing overhead 8.448276% Original: http://samples.ffmpeg.org/benchmark/testsuite1/matrixbench_mpeg2.mpg Resulting stream: http://www.krank.net/mb2.mpg Crosscheck output: http://www.krank.net/mb2.txt Previous comment from a guy with way more knowledge than me was: "The problem seems to be related to the multiplexing that ffmpeg is carrying out, as although it is creating transport streams, these are not always liked by STB's due to the inaccuracy of the information (this is why some files work and some don't, as there is no consistency to ffmpeg's output). As well as this buffer underflow issues are being created by the lack of null packets padding out the stream. I was able to fix one of the faulty assets by re-multiplexing it using Manzanita (using a standard mux config)." He went on to say that there were no open-source solutions that provided compatible broadcast TS muxing. Which I find a bit strange, as it certainly can't be *that* hard, can it? From what I understood is that the muxing simply grabbed packets from the streams, interleaves them and pads out with NULL if appropriate? but then, what do I know :) BTW, "crosscheck" has a demo version that checks the first 10 mins or so. You'd need to send them an email: >> http://www.manzanitasystems.com/products/crosscheck-demo.html Cheers, Anjo From cehoyos at ag.or.at Mon Apr 16 12:21:51 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 16 Apr 2012 10:21:51 +0000 (UTC) Subject: [FFmpeg-user] Mixing h263/raw files References: Message-ID: Shaily Athghara gmail.com> writes: > But the output h263 ie mix_all.h263 only contains 34 frames (ie the first > h263 file correct.h263).I wanted to know ,Is there any command which will > mix all these h263 files and output me a single file which should contains > all the frames. If you want to concatenate videos, use the concat:// protocol. If you want multiple video streams in one container, use a different format. Carl Eugen From cehoyos at ag.or.at Mon Apr 16 12:25:30 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 16 Apr 2012 10:25:30 +0000 (UTC) Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> Message-ID: Tom Evans googlemail.com> writes: > > It seems I need to go down to speed 0.7 on my hardware > > (Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz / GeForce 450 GTS) > > Any reason why you are not using VDPAU? With hw acceleration, that > should be more than playable with that hardware. For most real-world combinations, CPU is faster than VDPAU. (1080p50 is generally too much for VDPAU, at least with MPlayer and pre-Gefore 520 hardware.) Carl Eugen From cehoyos at ag.or.at Mon Apr 16 12:33:13 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 16 Apr 2012 10:33:13 +0000 (UTC) Subject: [FFmpeg-user] -t option is ignored [SOLVED] References: Message-ID: Martin G gmail.com> writes: > Turns out using the -sameq option works far more reliably. You do know that -sameq does not mean "same quality"? Carl Eugen From tevans.uk at googlemail.com Mon Apr 16 12:48:46 2012 From: tevans.uk at googlemail.com (Tom Evans) Date: Mon, 16 Apr 2012 11:48:46 +0100 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> Message-ID: On Mon, Apr 16, 2012 at 11:25 AM, Carl Eugen Hoyos wrote: > Tom Evans googlemail.com> writes: > >> > It seems I need to go down to speed 0.7 on my hardware >> > (Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz / GeForce 450 GTS) >> >> Any reason why you are not using VDPAU? With hw acceleration, that >> should be more than playable with that hardware. > > For most real-world combinations, CPU is faster than VDPAU. > (1080p50 is generally too much for VDPAU, > at least with MPlayer and pre-Gefore 520 hardware.) > > Carl Eugen > Hmm, that has not been my (admittedly limited) experience. My 2GHz Core 2 Duo cannot play back even low bitrate 1080p without frame dropping (mplayer, vo xv). My only two vdpau cards I've used are a 8400 GS (until the fan blew up) and a 520, perhaps I wasn't coming across much 1080p content whilst I had the 8400 GS. The 520 certainly handles anything I throw at it, bluray, HD broadcast, rips... Thanks for the info Tom From kk_konrad at gmx.at Mon Apr 16 14:03:51 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Mon, 16 Apr 2012 14:03:51 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> Message-ID: <20120416120350.GA9748localhost> On Mon, Apr 16, 2012 at 11:48:46AM +0100, Tom Evans wrote: >.... > The 520 certainly handles anything I throw at it, bluray, HD broadcast, rips... > Pls try to play http://140.78.117.79:88/mp4/test1.mp4 (1080p50, ~140MB) At 00:00:09 (white elephant scene) my GeForce 450 GTS is too slow to play it (now I now, thanks to Carl Eugen), I have to use mplayer -speed 0.7 at this scene to keep A/V in sync. In case your card is able to keep up you might try -speed 1.2 or similar to get a feeling about the remaining margin. Konrad From kk_konrad at gmx.at Mon Apr 16 14:08:27 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Mon, 16 Apr 2012 14:08:27 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> Message-ID: <20120416120827.GB9748localhost> On Mon, Apr 16, 2012 at 09:53:31AM +0100, Tom Evans wrote: > Any reason why you are not using VDPAU? With hw acceleration, that > should be more than playable with that hardware. hit send too fast on my other mail. I am using VDPAU. Konrad > Cheers > Tom From edward.chopuryan at yahoo.com Mon Apr 16 14:40:39 2012 From: edward.chopuryan at yahoo.com (Edi18) Date: Mon, 16 Apr 2012 05:40:39 -0700 (PDT) Subject: [FFmpeg-user] transcoding to mp4 (h264) In-Reply-To: <1334236968903-4551837.post@n4.nabble.com> References: <1334236968903-4551837.post@n4.nabble.com> Message-ID: <1334580039150-4561383.post@n4.nabble.com> Any help? -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/transcoding-to-mp4-h264-tp4551837p4561383.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From tevans.uk at googlemail.com Mon Apr 16 15:52:04 2012 From: tevans.uk at googlemail.com (Tom Evans) Date: Mon, 16 Apr 2012 14:52:04 +0100 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> Message-ID: On Mon, Apr 16, 2012 at 1:03 PM, Konrad Karl wrote: > On Mon, Apr 16, 2012 at 11:48:46AM +0100, Tom Evans wrote: >>.... >> The 520 certainly handles anything I throw at it, bluray, HD broadcast, rips... >> > > Pls try to play ?http://140.78.117.79:88/mp4/test1.mp4 (1080p50, ~140MB) > > At ?00:00:09 (white elephant scene) my GeForce 450 GTS is too slow > to play it (now I now, thanks to Carl Eugen), I have to use mplayer > -speed 0.7 at this scene to keep A/V in sync. > > In case your card is able to keep up you might try -speed 1.2 or > similar to get a feeling about the remaining margin. > I'm not at home, in front of the screen, but it seems to play fine with speed 1. The maximum A-V in this case is a little high, at most 0.148. If I lower the speed to 0.8, the max A-V is much more acceptable, 0.078. If I bump the speed up to 1.2, then it cannot cope, the A-V rises constantly, is over a second out within 10 seconds, and over 2 seconds out by the end of the clip. So it doesn't have quite so much overhead as I thought! Running with vo xv, I get big de-synchronization with speeds > 0.4, similar to vdpau at 1.2. If I use multiple threads, I can go up to 0.6 speed without losing synch. Cheers Tom From kk_konrad at gmx.at Mon Apr 16 16:32:26 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Mon, 16 Apr 2012 16:32:26 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> Message-ID: <20120416143226.GA17069localhost> On Mon, Apr 16, 2012 at 02:52:04PM +0100, Tom Evans wrote: > On Mon, Apr 16, 2012 at 1:03 PM, Konrad Karl wrote: >> ... > > In case your card is able to keep up you might try -speed 1.2 or > > similar to get a feeling about the remaining margin. > > > > I'm not at home, in front of the screen, but it seems to play fine > with speed 1. The maximum A-V in this case is a little high, at most > 0.148. > > If I lower the speed to 0.8, the max A-V is much more acceptable, 0.078. > Interesting. Tried also a GeForce 550 and it was about same speed as the 450. After a short initial A/V desync of 10..100 ms the A/V offset stays very close to 0 but during the elephant scene it goes up to ~1.4 sec. (very close meaning that almost only the millisecond digit changes) If you read this thread from the beginning I also mentioned that the WD TV Live with its Sigma SMP8655 SoC (according to Wikipedia) is also not able to catch up at this scene. In the meantime I have re-rendered this part of the movie using two pass option in kdenlive (all other settings are same) and now the WD TV Live is able to play w/o problems but mplayer + GeForce 450 is still to slow but not at the elphant scene but about one minute later (not included in the sample file).... grrr.. I yet have to learn and try to understand the x264 options and how they affect the amount of work for the decoder. Is there someting like a H264 disassembler available? The elephant scene has not that much movement detail and I really want to know what exactly is generating so much work at the decoder. Konrad From cehoyos at ag.or.at Mon Apr 16 16:37:59 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 16 Apr 2012 14:37:59 +0000 (UTC) Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> Message-ID: Tom Evans googlemail.com> writes: > > (1080p50 is generally too much for VDPAU, > > at least with MPlayer and pre-Gefore 520 hardware.) > Hmm, that has not been my (admittedly limited) experience. > My 2GHz Core 2 Duo cannot play back even low bitrate > 1080p without frame dropping (mplayer, vo xv). That sounds like a problem to me that could be fixed. > My only two vdpau cards I've used are a > 8400 GS (until the fan blew up) and a 520 I tried to explain above that the 520 is the exception, being twice as fast as earlier (and more expensive) hardware. Carl Eugen From sheen.andy at googlemail.com Mon Apr 16 16:47:10 2012 From: sheen.andy at googlemail.com (Andy Sheen) Date: Mon, 16 Apr 2012 15:47:10 +0100 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> Message-ID: <4F8C30EE.10908@googlemail.com> Konrad Karl wrote on Mon 16 Apr at 15:32 UK time > the sample file).... grrr.. I yet have to learn and try to understand the > x264 options and how they affect the amount of work for the decoder. > If you want to make something playable by almost any hardware that does H.264 acceleration, you should limit yourself to BluRay profile which is H.264 High Profile/Level 4.1. The Taj scene is High Profile/Level 4.2 which is why there are problems. You will have to lose the full 1080p50 though - level 4.1 only allows 1080p24. > Is there someting like a H264 disassembler available? MediaInfo is a good help here. > > The elephant scene has not that much movement detail and I really > want to know what exactly is generating so much work at the decoder. > The encoding profile. Andy From kk_konrad at gmx.at Mon Apr 16 17:09:27 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Mon, 16 Apr 2012 17:09:27 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4F8C30EE.10908@googlemail.com> References: <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> <4F8C30EE.10908@googlemail.com> Message-ID: <20120416150927.GA19423localhost> Hi, On Mon, Apr 16, 2012 at 03:47:10PM +0100, Andy Sheen wrote: > Konrad Karl wrote on Mon 16 Apr at 15:32 UK time > > > If you want to make something playable by almost any hardware that does > H.264 acceleration, you should limit yourself to BluRay profile which is > H.264 High Profile/Level 4.1. The Taj scene is High Profile/Level 4.2 > which is why there are problems. It is not my goal to have i play everywhere but some of my relatives and me have WD TV Live boxes and it should play there. For this movie (1:06 hours total) I have now achieved this goal but it seems by mere luck and not by systematically reducing the processing requirements. On the PC I might try a faster GeForce. > You will have to lose the full 1080p50 though - level 4.1 only allows > 1080p24. Having seen the panning smoothness of p50 I really dont want to go to p24. I know there are people who like the old fashioned cinema look.... > > Is there someting like a H264 disassembler available? > > MediaInfo is a good help here. > > > > The elephant scene has not that much movement detail and I really > > want to know what exactly is generating so much work at the decoder. > > The encoding profile. I would want to dig deeper into the level of detail because this problem has made me quite curious (decode speed going down from ~1.1 to 0.7 but just on that 30 second sequence within the whole movie) Greetings, Konrad > Andy From sheen.andy at googlemail.com Mon Apr 16 17:27:41 2012 From: sheen.andy at googlemail.com (Andy Sheen) Date: Mon, 16 Apr 2012 16:27:41 +0100 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4f8c363c.015cb40a.2959.ffffc7c0SMTPIN_ADDED@mx.google.com> References: <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> <4F8C30EE.10908@googlemail.com> <4f8c363c.015cb40a.2959.ffffc7c0SMTPIN_ADDED@mx.google.com> Message-ID: <4F8C3A6D.6010405@googlemail.com> Konrad Karl wrote on Mon 16 Apr at 16:09 UK time > Hi, > On Mon, Apr 16, 2012 at 03:47:10PM +0100, Andy Sheen wrote: >> Konrad Karl wrote on Mon 16 Apr at 15:32 UK time >>> >> If you want to make something playable by almost any hardware that does >> H.264 acceleration, you should limit yourself to BluRay profile which is >> H.264 High Profile/Level 4.1. The Taj scene is High Profile/Level 4.2 >> which is why there are problems. > > It is not my goal to have i play everywhere but some of my relatives > and me have WD TV Live boxes and it should play there. > These only support H.264 at 1080p24. See below. > > Having seen the panning smoothness of p50 I really dont want to go to p24. > I know there are people who like the old fashioned cinema look.... > WD Live boxes won't guarantee to play this. This is what the product spec says: * MPEG2 MP at HL up to 1920x1080p24, 1920x1080i30 or 1280x720p60 resolution. * MPEG4.2 ASP at L5 up to 1280x720p30 resolution and no support for global motion compensation. * WMV9/VC-1 MP at HL up to 1280x720p60 or 1920x1080p24 resolution. VC-1 AP at L3 up to 1920x1080i30, 1920x1080p24 or 1280x720p60 resolution. * H.264 BP at L3 up to 720x480p30 or 720x576p25 resolution. * H.264 MP at L4.1 and HP at 4.1 up to 1920x1080p24, 1920x1080i30, or 1280x720p60 resolution. Basically, if you want your 1080p50 source material to guarantee to play, you will either have to convert to 1080i50, framerate convert to 1080p24 or resize to 720p50. All of these chips have been developed for broadcast apps where the bandwidth isn't typically used to broadcast 1080p50. It is normally 1080i50. BluRay added the 1080p24 and as that's about the same complexity as 1080i50, the chipsets support them. Most streamed data (i.e. ripped BluRays) doesn't go beyond 1080p24, hence why it isn't supported on the cheaper consumer streamers. >>> The elephant scene has not that much movement detail and I really >>> want to know what exactly is generating so much work at the decoder. >> >> The encoding profile. > > I would want to dig deeper into the level of detail because this > problem has made me quite curious (decode speed going down from > ~1.1 to 0.7 but just on that 30 second sequence within the whole movie) It isn't "work at the decoder" that is causing the problem - but the fact that as you are encoding at HiP at L4.2 just means you are pushing it beyond what it is designed to do. You may well find a set of settings that work for this file, but the next encode may not work with the same set of settings. If you want best motion, record at 1080p50, encode to 720p50. If you want best picture clarity, record/encode at 1080p24. Andy From kk_konrad at gmx.at Mon Apr 16 18:33:57 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Mon, 16 Apr 2012 18:33:57 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4F8C3A6D.6010405@googlemail.com> References: <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> <4F8C30EE.10908@googlemail.com> <4f8c363c.015cb40a.2959.ffffc7c0SMTPIN_ADDED@mx.google.com> <4F8C3A6D.6010405@googlemail.com> Message-ID: <20120416163357.GA24801localhost> On Mon, Apr 16, 2012 at 04:27:41PM +0100, Andy Sheen wrote: > Konrad Karl wrote on Mon 16 Apr at 16:09 UK time > > > > It is not my goal to have i play everywhere but some of my relatives > > and me have WD TV Live boxes and it should play there. > > > > These only support H.264 at 1080p24. See below. > Thanks Andy for detailed info. I had read in several forums (including WD support forums) that the WD TV Live plays 1080p50 from recent Panasonic cameras just fine. So I just tried. (wdtv needed a recent firmware to play 1080p50). mediainfo says about Panasonic's 1080p50 files: Video ID : 4113 (0x1011) Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format profile : High at L4.2 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Format settings, GOP : M=3, N=24 Codec ID : 27 Duration : 4s 280ms Bit rate mode : Variable Bit rate : 22.9 Mbps Maximum bit rate : 26.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 50.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.220 Stream size : 11.7 MiB (94%) Do you know about a not too expensive standalone player which can handle L4.2 per spec? Konrad From tevans.uk at googlemail.com Mon Apr 16 18:45:52 2012 From: tevans.uk at googlemail.com (Tom Evans) Date: Mon, 16 Apr 2012 17:45:52 +0100 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4f8c49fd.08ead80a.14b7.ffff8b7eSMTPIN_ADDED@mx.google.com> References: <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> <4F8C30EE.10908@googlemail.com> <4f8c363c.015cb40a.2959.ffffc7c0SMTPIN_ADDED@mx.google.com> <4F8C3A6D.6010405@googlemail.com> <4f8c49fd.08ead80a.14b7.ffff8b7eSMTPIN_ADDED@mx.google.com> Message-ID: On Mon, Apr 16, 2012 at 5:33 PM, Konrad Karl wrote: > On Mon, Apr 16, 2012 at 04:27:41PM +0100, Andy Sheen wrote: >> Konrad Karl wrote on Mon 16 Apr at 16:09 UK time >> > >> > It is not my goal to have i play everywhere but some of my relatives >> > and me have WD TV Live boxes and it should play there. >> > >> >> These only support H.264 at 1080p24. See below. >> > > Thanks Andy for detailed info. > > I had read in several forums (including WD support forums) that the WD TV > Live plays 1080p50 from recent Panasonic cameras just fine. ?So I just tried. > (wdtv needed a recent firmware to play 1080p50). > > mediainfo says about Panasonic's 1080p50 files: > Video > [?] > Bit rate ? ? ? ? ? ? ? ? ? ? ? ? : 22.9 Mbps > Maximum bit rate ? ? ? ? ? ? ? ? : 26.0 Mbps You might want to just try re-encoding and using this maximum bitrate as a guide. The sample you asked me to test had a bitrate of 61 Mbps, it could well be that the WD TV Live can play High at L4.2 just fine, but not at such high bitrates. Cheers Tom From sheen.andy at googlemail.com Mon Apr 16 19:01:44 2012 From: sheen.andy at googlemail.com (Andy Sheen) Date: Mon, 16 Apr 2012 18:01:44 +0100 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <4f8c4a00.aa68b40a.0f37.2769SMTPIN_ADDED@mx.google.com> References: <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> <4F8C30EE.10908@googlemail.com> <4f8c363c.015cb40a.2959.ffffc7c0SMTPIN_ADDED@mx.google.com> <4F8C3A6D.6010405@googlemail.com> <4f8c4a00.aa68b40a.0f37.2769SMTPIN_ADDED@mx.google.com> Message-ID: <4F8C5078.2010400@googlemail.com> Konrad Karl wrote on Mon 16 Apr at 17:33 UK time > Do you know about a not too expensive standalone player which > can handle L4.2 per spec? > Unfortunately not. Everything here is an HTPC implementation so has some form of gfx acceleration. > Konrad Andy > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From kk_konrad at gmx.at Mon Apr 16 19:12:40 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Mon, 16 Apr 2012 19:12:40 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <4f8c2d86.dbe7d80a.37e5.fffff914SMTPIN_ADDED@mx.google.com> <4F8C30EE.10908@googlemail.com> <4f8c363c.015cb40a.2959.ffffc7c0SMTPIN_ADDED@mx.google.com> <4F8C3A6D.6010405@googlemail.com> <4f8c49fd.08ead80a.14b7.ffff8b7eSMTPIN_ADDED@mx.google.com> Message-ID: <20120416171240.GA26624localhost> On Mon, Apr 16, 2012 at 05:45:52PM +0100, Tom Evans wrote: > On Mon, Apr 16, 2012 at 5:33 PM, Konrad Karl wrote: .... > You might want to just try re-encoding and using this maximum bitrate > as a guide. The sample you asked me to test had a bitrate of 61 Mbps, > it could well be that the WD TV Live can play High at L4.2 just fine, but > not at such high bitrates. For the original clip where the sample has been cut with ffmpeg -c copy mediainfo says 22.8 Mb/s (nominal 25). I have no idea where the 61 Mbps are coming from.... In prev posting I mentioned that I have tried two pass encode @ 25 Mbps and this plays fine on WDTV but GeForce 450 VDPAU is too slow at a few scenes (the elephant now plays fine though). Greetings, Konrad > Cheers > Tom From cehoyos at ag.or.at Tue Apr 17 07:52:02 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 17 Apr 2012 05:52:02 +0000 (UTC) Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment References: <44909.2676085003$1334317351@news.gmane.org> <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <15838.1255846054$1334586752@news.gmane.org> Message-ID: Konrad Karl gmx.at> writes: > Interesting. Tried also a GeForce 550 and it was > about same speed as the 450. The Geforce 520 is the "fast" model that may allow playing your sample. Carl Eugen From shaily.athghara at gmail.com Tue Apr 17 08:42:50 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Tue, 17 Apr 2012 12:12:50 +0530 Subject: [FFmpeg-user] h263/Raw frame rate detection Message-ID: Hi I am using ffmpeg to format a raw h263 and wav file to stream it to flv. We were using the FFmpeg version SVN-r16573 which streaming the content and provide the flv file with audio/video in sync The command ./ffmpeg -r 5.2 -i live_1.raw -i live_1.wav -y -f flv -ar 11025 output.flv FFmpeg version SVN-r16573, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: libavutil 49.12. 0 / 49.12. 0 libavcodec 52.10. 0 / 52.10. 0 libavformat 52.23. 1 / 52.23. 1 libavdevice 52. 1. 0 / 52. 1. 0 built on Feb 16 2010 02:27:45, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 5.20 (26/5) Input #0, h263, from 'live_1.raw': Duration: N/A, bitrate: N/A Stream #0.0: Video: h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 5.20 tb(r) Input #1, wav, from 'live_1.wav': Duration: 00:00:09.32, bitrate: 64 kb/s Stream #1.0: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Output #0, flv, to 'output.flv': Stream #0.0: Video: flv, yuv420p, 352x288 [PAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 5.20 tb(c) Stream #0.1: Audio: adpcm_swf, 11025 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press [q] to stop encoding frame= 46 fps= 0 q=3.7 Lsize= 382kB time=8.85 bitrate= 353.5kbits/s video:327kB audio:51kB global headers:0kB muxing overhead 1.088168% *But recently have downloaded the latest GIT head ,but there is no sync between audio/video,audio is playing with the usual rate where as video played so fast,ie 9 seconds video finishes within 1 sec.I tried with different values of frame rate ie -r but it doesn't have any impact.* ./ffmpeg -f h263 -r 5 -i live_1.raw -vcodec rawvideo -i live_1.wav -y -f flv -ar 11025 test1.flv ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44) configuration: libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 67.101 / 2. 67.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 10.100 / 0. 10.100 [h263 @ 0x83794e0] Estimating duration from bitrate, this may be inaccurate Input #0, h263, from 'live_1.raw': Duration: N/A, bitrate: N/A Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1200k tbn, 29.97 tbc [wav @ 0x83884e0] max_analyze_duration 5000000 reached at 5120000 Input #1, wav, from 'live_1.wav': Duration: 00:00:09.32, bitrate: 64 kb/s Stream #1:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, 1 channels, s16, 64 kb/s [buffer @ 0x838bee0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:flags=2 Output #0, flv, to 'test1.flv': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 352x288 [SAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 29.97 tbc Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 11025 Hz, 1 channels, s16, 44 kb/s Stream mapping: Stream #0:0 -> #0:0 (h263 -> flv) Stream #1:0 -> #0:1 (pcm_alaw -> adpcm_swf) Press [q] to stop, [?] for help frame= 46 fps=0.0 q=10.1 Lsize= 161kB time=00:00:01.70 bitrate= 776.8kbits/s video:106kB audio:51kB global headers:0kB muxing overhead 2.655280% Please suggest Thanks Shaily From susiriss at gmail.com Tue Apr 17 04:48:27 2012 From: susiriss at gmail.com (Sampath Subasinghe) Date: Tue, 17 Apr 2012 08:18:27 +0530 Subject: [FFmpeg-user] Encode subtitles, 5.1 audio into MT2S format Message-ID: <4F8CD9FB.1070502@gmail.com> Hi All, I tried various options to get a .srt subtitles file, and 5.1 audio into a mt2s file. ffmpeg -i input.mp4 -vcodec copy -acodec aac -i subtitle.srt -f mpegts out.mt2s input.mp4 already has h264 video and 5.1 audio. Then I get this error. [mp2 @ 0x17bdc20] encoding 6 channel(s) is not allowed in mp2 Output #0, mpegts, to 'out.mt2s': Stream #0.0: Video: libx264, yuv420p, 1280x534 [PAR 1:1 DAR 640:267], q=2-31, 90k tbn, 23.98 tbc (default) Stream #0.1(eng): Audio: mp2, 48000 Hz, 5.1, s16, 64 kb/s (default) Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Please let me know how to do this correctly. The reason I want this is that I want to play it in a Sony Bravia TV that only supports subtitles in mt2s container. thanks. susiriss From cehoyos at ag.or.at Tue Apr 17 09:44:32 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 17 Apr 2012 07:44:32 +0000 (UTC) Subject: [FFmpeg-user] Encode subtitles, 5.1 audio into MT2S format References: <4F8CD9FB.1070502@gmail.com> Message-ID: Sampath Subasinghe gmail.com> writes: > ffmpeg -i input.mp4 -vcodec copy -acodec aac -i subtitle.srt > -f mpegts out.mt2s This command line tells ffmpeg to open an input file subtitle.srt with video codec copy and audiocodec aac, and to encode to a file called out.mt2s with the default codecs for mpegts, those are mpeg2video and mp2 audio. > input.mp4 already has h264 video and 5.1 audio. > Then I get this error. > [mp2 @ 0x17bdc20] encoding 6 channel(s) is not allowed in mp2 (Complete, uncut console output missing.) Please let us know if anything is unclear about this message. AC-3 does support 5.1, don't forget that FFmpeg's aac encoder is experimental and should produce worse quality than ac-3. Carl Eugen From kk_konrad at gmx.at Tue Apr 17 10:34:24 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Tue, 17 Apr 2012 10:34:24 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: References: <16421.6262790889$1334330936@news.gmane.org> <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <15838.1255846054$1334586752@news.gmane.org> Message-ID: <20120417083424.GA9115localhost> On Tue, Apr 17, 2012 at 05:52:02AM +0000, Carl Eugen Hoyos wrote: > Konrad Karl gmx.at> writes: > > > Interesting. Tried also a GeForce 550 and it was > > about same speed as the 450. > > The Geforce 520 is the "fast" model that may allow > playing your sample. Ok Carl Eugen, (and Tom) you have convinced me to buy one :-) A co-worker told me about http://en.wikipedia.org/wiki/Nvidia_PureVideo This also confirms your statement. Higher number is not always better (at least for H264 decoding) Thanks a lot, Konrad > Carl Eugen From kk_konrad at gmx.at Tue Apr 17 10:37:35 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Tue, 17 Apr 2012 10:37:35 +0200 Subject: [FFmpeg-user] concatenating mp4 (non-h464) using mpegts In-Reply-To: References: <4282.27044544673$1333639832@news.gmane.org> <36567.7465605133$1333711014@news.gmane.org> Message-ID: <20120417083735.GB9115localhost> On Fri, Apr 06, 2012 at 11:38:05AM +0000, Carl Eugen Hoyos wrote: > Konrad Karl gmx.at> writes: > > > Stream copying ASP into a transport stream is not supported, > > > this is a very old feature request. ...... > Assuming you mean the missing feature, not the bug: > Send a patch? > (I will probably create an entry on trac myself, if I forget, > please remind me in a few days.) Friendly reminder Konrad > Carl Eugen From cehoyos at ag.or.at Tue Apr 17 11:41:00 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 17 Apr 2012 09:41:00 +0000 (UTC) Subject: [FFmpeg-user] concatenating mp4 (non-h464) using mpegts References: <4282.27044544673$1333639832@news.gmane.org> <36567.7465605133$1333711014@news.gmane.org> <10114.5818866373$1334651877@news.gmane.org> Message-ID: Konrad Karl gmx.at> writes: > > (I will probably create an entry on trac myself, if I forget, > > please remind me in a few days.) > > Friendly reminder Thank you! This is now ticket #1225. Carl Eugen From openworld at uralweb.ru Tue Apr 17 14:03:33 2012 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Tue, 17 Apr 2012 18:03:33 +0600 Subject: [FFmpeg-user] FFMPEG compilation error Message-ID: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> Hi, Everyone! Just have downloaded everything last and am trying to build FFMPEG in Mac OS X. Have particular trouble with libvo-aacenc: LD ffmpeg_g Undefined symbols: "_ff_af_queue_remove", referenced from: _aac_encode_frame in libavcodec.a(libvo-aacenc.o) "_ff_af_queue_add", referenced from: _aac_encode_frame in libavcodec.a(libvo-aacenc.o) "_ff_af_queue_init", referenced from: _aac_encode_init in libavcodec.a(libvo-aacenc.o) "_ff_af_queue_close", referenced from: _aac_encode_close in libavcodec.a(libvo-aacenc.o) _aac_encode_init in libavcodec.a(libvo-aacenc.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1 I'm using libvo-aacenc version 0.1.2 (the last from sourceforge). Is this a known problem or am I missing something? Thank you. PS: the FFMPEG configure line is below: ./configure --enable-static --enable-memalign-hack --enable-gpl --enable-libx264 --enable-libvo-aacenc --disable-doc --disable-ffserver --disable-ffplay --disable-ffprobe --enable-pthreads --enable-runtime-cpudetect --disable-network --disable-shared --disable-filters --disable-decoders --disable-encoders --disable-muxers --disable-demuxers --disable-parsers --disable-bsfs --disable-protocols --disable-devices --enable-filter=crop --enable-filter=scale --enable-protocol=file --enable-decoder=aac --enable-decoder=h263 --enable-decoder=flv --enable-decoder=vp6f --enable-decoder=vp6a --enable-decoder=h264 --enable-decoder=nellymoser --enable-decoder=mp3 --enable-encoder=libx264 --enable-encoder=flv --enable-encoder=libvo_aacenc --enable-parser=h264 --enable-parser=mpegaudio --enable-demuxer=flv --enable-muxer=ipod --enable-muxer=mp4 --enable-demuxer=mp4 --enable-encoder=mjpeg --enable-demuxer=mov --enable-muxer=mjpeg --enable-version3 From andrey.krieger.utkin at gmail.com Tue Apr 17 14:20:14 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Tue, 17 Apr 2012 15:20:14 +0300 Subject: [FFmpeg-user] FFMPEG compilation error In-Reply-To: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> Message-ID: 2012/4/17 Alexander Bokovikov : > Hi, Everyone! > > Just have downloaded everything last and am trying to build FFMPEG in Mac OS > X. > > Have particular trouble with libvo-aacenc: > > LD ffmpeg_g > Undefined symbols: > ?"_ff_af_queue_remove", referenced from: > ? ? _aac_encode_frame in libavcodec.a(libvo-aacenc.o) > ?"_ff_af_queue_add", referenced from: > ? ? _aac_encode_frame in libavcodec.a(libvo-aacenc.o) > ?"_ff_af_queue_init", referenced from: > ? ? _aac_encode_init in libavcodec.a(libvo-aacenc.o) > ?"_ff_af_queue_close", referenced from: > ? ? _aac_encode_close in libavcodec.a(libvo-aacenc.o) > ? ? _aac_encode_init in libavcodec.a(libvo-aacenc.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > make: *** [ffmpeg_g] Error 1 > > I'm using libvo-aacenc version 0.1.2 (the last from sourceforge). > > Is this a known problem or am I missing something? Maybe you should compile libvo-aacenc by yourself, for mac? -- Andrey Utkin From openworld at uralweb.ru Tue Apr 17 16:20:25 2012 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Tue, 17 Apr 2012 20:20:25 +0600 Subject: [FFmpeg-user] FFMPEG compilation error References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> Message-ID: <007601cd1ca5$4c351060$0300a8c0@mainframe> Andrey Utkin wrote: >>2012/4/17 Alexander Bokovikov : >> LD ffmpeg_g >> Undefined symbols: >> "_ff_af_queue_remove", referenced from: >> _aac_encode_frame in libavcodec.a(libvo-aacenc.o) > "_ff_af_queue_add", referenced from: >> _aac_encode_frame in libavcodec.a(libvo-aacenc.o) >> "_ff_af_queue_init", referenced from: >> _aac_encode_init in libavcodec.a(libvo-aacenc.o) >> "_ff_af_queue_close", referenced from: >> _aac_encode_close in libavcodec.a(libvo-aacenc.o) >> _aac_encode_init in libavcodec.a(libvo-aacenc.o) >> ld: symbol(s) not found >> collect2: ld returned 1 exit status >> make: *** [ffmpeg_g] Error 1 >> >> I'm using libvo-aacenc version 0.1.2 (the last from sourceforge). >> >> Is this a known problem or am I missing something? >Maybe you should compile libvo-aacenc by yourself, for mac? Do you see (libvo-aacenc.o) reference above? IMHO it's obvous that: -- libvo-aacenc is a part of libavcodec.a, not the vo-aac library; -- libvo-aacenc.c is compiled OK. The vo-aac library itself is already built and placed into the proper path within /usr/local/lib. ff_af* functions, mentioned in the error message, are defined in the libavcodec/audio_frame_queue.c The only I've noticed is that ff_af* references are missing in the libavcodec.v It that correct? Though I've tried to insert them, but with no luck. Any help would be appreciated. Thank you. From andrey.krieger.utkin at gmail.com Tue Apr 17 16:45:00 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Tue, 17 Apr 2012 17:45:00 +0300 Subject: [FFmpeg-user] FFMPEG compilation error In-Reply-To: <007601cd1ca5$4c351060$0300a8c0@mainframe> References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> <007601cd1ca5$4c351060$0300a8c0@mainframe> Message-ID: 2012/4/17 Alexander Bokovikov : > Do you see (libvo-aacenc.o) reference above? > IMHO it's obvous that: > -- libvo-aacenc is a part of libavcodec.a, not the vo-aac library; > -- libvo-aacenc.c is compiled OK. > > The vo-aac library itself is already built and placed into the proper path > within /usr/local/lib. > > ff_af* functions, mentioned in the error message, are defined in the > libavcodec/audio_frame_queue.c > > The only I've noticed is that ff_af* references are missing in the > libavcodec.v It that correct? > Though I've tried to insert them, but with no luck. Sorry if my guess was wrong, i really don't know anything about this specific codec, and it was really guess. What version of ffmpeg do you try? What is the version of Mac OS? gcc? May be i'll be able to reproduce it. -- Andrey Utkin From tevans.uk at googlemail.com Tue Apr 17 17:55:59 2012 From: tevans.uk at googlemail.com (Tom Evans) Date: Tue, 17 Apr 2012 16:55:59 +0100 Subject: [FFmpeg-user] FFMPEG compilation error In-Reply-To: <007601cd1ca5$4c351060$0300a8c0@mainframe> References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> <007601cd1ca5$4c351060$0300a8c0@mainframe> Message-ID: On Tue, Apr 17, 2012 at 3:20 PM, Alexander Bokovikov wrote: > > Do you see (libvo-aacenc.o) reference above? > IMHO it's obvous that: > -- libvo-aacenc is a part of libavcodec.a, not the vo-aac library; > -- libvo-aacenc.c is compiled OK. > > The vo-aac library itself is already built and placed into the proper path > within /usr/local/lib. > > ff_af* functions, mentioned in the error message, are defined in the > libavcodec/audio_frame_queue.c > What sources are you using, because that is not true in the git sources. Is this an old checkout you have updated? Did you fail to run "make distclean" after updating? Cheers Tom I think vo-aac From support at loginonair.com Tue Apr 17 18:02:12 2012 From: support at loginonair.com (support at loginonair.com) Date: Tue, 17 Apr 2012 21:32:12 +0530 Subject: [FFmpeg-user] Hi Friends... Message-ID: Dear all, I am new born baby to ffmpeg... we wondered a lot about ffmpeg especially video decoding. Now we are developing a Television transmission using ffmpeg, QT in Linux (ubuntu 10.04 LTS). I need some help regarding ffmpeg development. If any one have full tutorial how to write codings, pls give the material or website link (I already saw http://dranger.com/ffmpeg/). Thanks in Advance. Regards, Jester. From nichot20 at yahoo.com Tue Apr 17 18:22:59 2012 From: nichot20 at yahoo.com (Tim Nicholson) Date: Tue, 17 Apr 2012 17:22:59 +0100 Subject: [FFmpeg-user] How to determine the video is interlaced In-Reply-To: References: <2dff2810.174df.13685b308ce.Coremail.babyboy-8686@163.com> Message-ID: <4F8D98E3.9080209@yahoo.com> On 06/04/12 12:34, Carl Eugen Hoyos wrote: > ??? 163.com> writes: > >> Can I determine the video is interlaced by ffmpeg? > > Yes, there is a new filter, "idet", test reports are welcome. Well. I have had some interesting initial results. Using a command line of the form:- ffmpeg -i $in_file -an \ -vf idet \ -c:v $codec \ -an -t 10 \ -y -f mov /dev/null The results I get vary depending upon the value of $codec. If I chose a value for codec that has the same pix_fmt as the source material then I get sensible answers, eg:- [idet @ 0x17eeee0] Single frame detection: TFF:83 BFF:0 Progressive:1 Undetermined:165 [idet @ 0x17eeee0] Multi frame detection: TFF:120 BFF:0 Progressive:0 Undetermined:129 For tff interlaced material with a mix of a talking head in an otherwise static studio, and sport material. However if I chose a codec that has a different pix_fmt to the source ffmpeg does the following:- "auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'Parsed_idet_0'" and then I get a very different result as by default the auto inserted filter handles the material as progressive so by the time it gets to the idet filter it has been screwed up and I get:- idet @ 0x17ef2a0] Single frame detection: TFF:0 BFF:0 Progressive:6 Undetermined:243 [idet @ 0x17ef2a0] Multi frame detection: TFF:0 BFF:0 Progressive:120 Undetermined:129 So for accurate results one first needs to determine the pix_fmt and then chose a suitable codec, or alternatively change the default behaviour of the scale filter to not always work progressively. Or is there are better command line that does not require an output file? (afaik you have to have an output file or ffmpeg winges) -- Tim From nichot20 at yahoo.com Tue Apr 17 18:24:34 2012 From: nichot20 at yahoo.com (Tim Nicholson) Date: Tue, 17 Apr 2012 17:24:34 +0100 Subject: [FFmpeg-user] Using the testsrc filter in older ffmpeg versions without the lavfi device In-Reply-To: <621CD9FB-22BC-4041-82E4-3D7CB0081605@mac.com> References: <621CD9FB-22BC-4041-82E4-3D7CB0081605@mac.com> Message-ID: <4F8D9942.9050809@yahoo.com> On 06/04/12 14:53, Dave Rice wrote: > Hi, > > On Apr 6, 2012, at 9:46 AM, Roger Berk wrote: > >> Could someone please tell me how to create a test pattern in ffmpeg WITHOUT >> using lavfi. >> >> There must have been a way to use testsrc before lavfi was available. >> >> My problem is that ffmpeg requires a -i (input file) parameter, and testsrc >> does not need or use any input file. >> >> Since earlier versions of ffmpeg did not have any -f lavfi option, how was >> testsrc used previously ? > > There may be more efficient ways, but you could use testsrc in an overlay filter and completely overlay the input video. > > ffmpeg -t 5 -i someVideoToBeCovered.mov -an -vf "testsrc=duration=5:size=200x200:rate=29.97 [overlay]; [in][overlay] overlay" testsrc_movie.mov > > Make sure the testsrc parameters match the input file to cover it. That's what I used to do, but surely there is a better way.... -- Tim From openworld at uralweb.ru Tue Apr 17 19:01:28 2012 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Tue, 17 Apr 2012 23:01:28 +0600 Subject: [FFmpeg-user] FFMPEG compilation error References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe><007601cd1ca5$4c351060$0300a8c0@mainframe> Message-ID: <009b01cd1cbb$ca258110$0300a8c0@mainframe> From: "Tom Evans" To: "FFmpeg user questions and RTFMs" Sent: Tuesday, April 17, 2012 9:55 PM Subject: Re: [FFmpeg-user] FFMPEG compilation error > What sources are you using, because that is not true in the git sources. > > Is this an old checkout you have updated? Did you fail to run "make > distclean" after updating? Sources of what? FFMPEG? I got ffmpeg from git today. And I downloaded vo-aac from sourceforge today. Though it was not in git, but just tar.gz. Is there any git repository for vo-aac? In any case how could vo-aac affect to this problem, as I see only _inner_ libavcodec problem? How vo-aac participates here? At least I don't see any references to it. As for my Mac system, Mac OS X 10.5.8 gcc 4.0. I only would like to tell that I compiled all the same (but with vo-aac v. 0.1.1) in December. Everything worked OK. Thank you. From tevans.uk at googlemail.com Tue Apr 17 19:16:03 2012 From: tevans.uk at googlemail.com (Tom Evans) Date: Tue, 17 Apr 2012 18:16:03 +0100 Subject: [FFmpeg-user] FFMPEG compilation error In-Reply-To: <009b01cd1cbb$ca258110$0300a8c0@mainframe> References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> <007601cd1ca5$4c351060$0300a8c0@mainframe> <009b01cd1cbb$ca258110$0300a8c0@mainframe> Message-ID: On Tue, Apr 17, 2012 at 6:01 PM, Alexander Bokovikov wrote: > From: "Tom Evans" > To: "FFmpeg user questions and RTFMs" > Sent: Tuesday, April 17, 2012 9:55 PM > Subject: Re: [FFmpeg-user] FFMPEG compilation error > > > >> What sources are you using, because that is not true in the git sources. >> >> Is this an old checkout you have updated? Did you fail to run "make >> distclean" after updating? > > > Sources of what? FFMPEG? I got ffmpeg from git today. Really? > $ git pull remote: Counting objects: 16, done. remote: Compressing objects: 100% (12/12), done. remote: Total 12 (delta 9), reused 0 (delta 0) Unpacking objects: 100% (12/12), done. >From git://source.ffmpeg.org/ffmpeg a80217a..096231d master -> origin/master Updating a80217a..096231d Fast-forward libavformat/avidec.c | 9 +++++++++ libavformat/matroskadec.c | 4 ++++ 2 files changed, 13 insertions(+), 0 deletions(-) tom at ethan '17:13:55' '~/projects/ffmpeg/ffmpeg/libavcodec' > $ grep _ff_af audio_frame_queue.c tom at ethan '17:14:15' '~/projects/ffmpeg/ffmpeg/libavcodec' > $ Check your sources. Cheers Tom From joshua at crackcreative.com Tue Apr 17 19:18:24 2012 From: joshua at crackcreative.com (Joshua Kolden) Date: Tue, 17 Apr 2012 10:18:24 -0700 Subject: [FFmpeg-user] Unrecognized option 'directpred' Message-ID: I get this error with the following command on mac OS X Lion, using my own build of ffmpeg from the get repository yesterday. I find remarkably little information about it on google search, however it does seem clear other people are having it as well. (http://groups.google.com/group/xuggler-users/browse_thread/thread/b4819053f0fa66a4) (http://blog.srepetsk.net/node/147) ffmpeg -i input.mov -acodec libfaac -ac 2 -ab 160k -s 1024x768 -vcodec libx264 -vpre slow -vpre iPod640 -b 1200k -f mp4 -threads 0 output.mov Output: ffmpeg version N-39881-gdcd207c Copyright (c) 2000-2012 the FFmpeg developers built on Apr 16 2012 22:34:46 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-libfaac --enable-libx264 --enable-libxvid --enable-nonfree --enable-gpl --enable-libmp3lame --disable-ffplay --disable-ffserver --enable-pthreads --enable-gpl libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 70.100 / 2. 70.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/joshua/Downloads/mvi2618_comp_v04.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2012-04-14 03:27:10 Duration: 00:00:01.91, start: 0.000000, bitrate: 20022 kb/s Stream #0:0(eng): Video: mjpeg (mjpa / 0x61706A6D), yuvj422p, 1920x1080 [SAR 72:72 DAR 16:9], 20018 kb/s, 24 fps, 24 tbr, 2400 tbn, 2400 tbc Metadata: creation_time : 2012-04-14 03:27:10 handler_name : Apple Alias Data Handler Unrecognized option 'directpred' /usr/local/share/ffmpeg/libx264-slow.ffpreset: Invalid option or argument: 'directpred=3', parsed as 'directpred' = '3' Any help would be appreciated. Thanks, j From andrey.krieger.utkin at gmail.com Tue Apr 17 20:01:01 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Tue, 17 Apr 2012 21:01:01 +0300 Subject: [FFmpeg-user] FFMPEG compilation error In-Reply-To: References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe> <007601cd1ca5$4c351060$0300a8c0@mainframe> <009b01cd1cbb$ca258110$0300a8c0@mainframe> Message-ID: 2012/4/17 Tom Evans : >> $ grep _ff_af audio_frame_queue.c > tom at ethan '17:14:15' '~/projects/ffmpeg/ffmpeg/libavcodec' >> $ > > > Check your sources. You missed the point that leading underscore is not in sources. It 'appears' at linkage. -- Andrey Utkin From nichot20 at yahoo.com Wed Apr 18 09:04:14 2012 From: nichot20 at yahoo.com (Tim Nicholson) Date: Wed, 18 Apr 2012 08:04:14 +0100 Subject: [FFmpeg-user] Working with ffmpeg videos in Final Cut Pro 7 issue In-Reply-To: <1334076860888-4546272.post@n4.nabble.com> References: <1334076860888-4546272.post@n4.nabble.com> Message-ID: <4F8E676E.1020705@yahoo.com> On 10/04/12 17:54, chappy wrote: > I've tried many different codecs that ffmpeg has but none of my recorded > videos work well in Final Cut Pro. The major issue that I am having is it > takes FCP an hour to export a one minute video that captured via ffmpeg. > FCP seems to encode and decode my video, I am not sure. When I imported my > video into FCP I chose to match the sequence setting with the imported > video. Does any one of you know how to solve this back breaking issue? > Thx in advance > Have you tried qtfaststart? FCP7 sometimes complains about ffmpeg output, but I have never had it grind to a halt. -- Tim From shaily.athghara at gmail.com Wed Apr 18 09:05:39 2012 From: shaily.athghara at gmail.com (Shaily Athghara) Date: Wed, 18 Apr 2012 12:35:39 +0530 Subject: [FFmpeg-user] h264 frame rate detection Message-ID: Hi Jan, I am curious to know whether you could able to fix this issue as I am also facing the similar kind of issue with h263 raw file. Regards, Shaily From nichot20 at yahoo.com Wed Apr 18 09:11:29 2012 From: nichot20 at yahoo.com (Tim Nicholson) Date: Wed, 18 Apr 2012 08:11:29 +0100 Subject: [FFmpeg-user] Cannot open/transcode MXF OP-Atom files In-Reply-To: <4F8B4FCA.6070906@das-werkstatt.com> References: <4F8B4FCA.6070906@das-werkstatt.com> Message-ID: <4F8E6921.7020904@yahoo.com> On 15/04/12 23:46, Peter B. wrote: > I've got a set of MXF OP-Atom [1] files. > When trying to open or transcode the MXF containing the video stream, I > get the following error: > > //------------------- > [mxf @ 0x1ac2040] SegmentedFrame layout isn't currently supported Quite a common warning but not fatal.... > [mxf @ 0x1ac2040] Could not find codec parameters (Video: none, 720x496) > test_v1.mxf: could not find codec parameters Always fatal, if it can't work out the codec it can't decode the material > [...] Do you know what codec is in use? Note also that op atom handling has been flakey at times and had a few patches, although you seem to have a reasonably up to date copy. -- Tim From a.strekov at nnov.volga.rt.ru Wed Apr 18 08:02:47 2012 From: a.strekov at nnov.volga.rt.ru (Strekov Andrey) Date: Wed, 18 Apr 2012 10:02:47 +0400 Subject: [FFmpeg-user] ffmpeg and helix server Message-ID: <20120418100247.5485092b@nnov.volga.rt.ru> ???????????? I tried send camera stream to the helix server with command: /usr/local/bin/ffmpeg -i rtsp://root:root at camera_IP/axis-media/media.amp -vcodec copy -f asf -metadata title="camera1" http://helix_server_IP:7077 (7077 - Push Encoding Port), and i get error: "av_interleaved_write_frame(): Connection reset by peer". Please, help me. -------------------------------------- ? ?????????, ?????? ????????????? ??????? ??? "??????????", ????????????? ?????? ???? ????? ???? ???? e-mail: a.strekov at nnov.volga.rt.ru ???. : (831) - 434 - 51 - 54 ICQ: 632518486 From openworld at uralweb.ru Wed Apr 18 09:37:53 2012 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Wed, 18 Apr 2012 13:37:53 +0600 Subject: [FFmpeg-user] FFMPEG compilation error - BUG IN CONFIGURE References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe><007601cd1ca5$4c351060$0300a8c0@mainframe><009b01cd1cbb$ca258110$0300a8c0@mainframe> Message-ID: <003801cd1d36$389b3e30$0300a8c0@mainframe> ----- Original Message ----- From: "Andrey Utkin" > You missed the point that leading underscore is not in sources. It > 'appears' at linkage. It's obvious bug in the last configure script. The problem is solved adding required line into the libavcodec/Makefile: # external codec libraries ..................... OBJS-$(CONFIG_LIBVO_AACENC_ENCODER) += libvo-aacenc.o mpeg4audio.o \ audio_frame_queue.o The problem reason was just in the fact that audio_frame_queue.c was not compiled. My exact configure line is below: ./configure --enable-static --enable-memalign-hack --enable-gpl --enable-libx264 --enable-libvo-aacenc --disable-doc --disable-ffserver --disable-ffplay --disable-ffprobe --enable-pthreads --enable-runtime-cpudetect --disable-network --disable-shared --disable-filters --disable-decoders --disable-encoders --disable-muxers --disable-demuxers --disable-parsers --disable-bsfs --disable-protocols --disable-devices --enable-filter=crop --enable-filter=scale --enable-protocol=file --enable-decoder=aac --enable-decoder=h263 --enable-decoder=flv --enable-decoder=vp6f --enable-decoder=vp6a --enable-decoder=h264 --enable-decoder=nellymoser --enable-decoder=mp3 --enable-encoder=libx264 --enable-encoder=flv --enable-encoder=libvo_aacenc --enable-parser=h264 --enable-parser=mpegaudio --enable-demuxer=flv --enable-muxer=ipod --enable-muxer=mp4 --enable-demuxer=mp4 --enable-encoder=mjpeg --enable-demuxer=mov --enable-muxer=mjpeg --enable-version3 Thank you. From andrey.krieger.utkin at gmail.com Wed Apr 18 10:08:52 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Wed, 18 Apr 2012 11:08:52 +0300 Subject: [FFmpeg-user] ffmpeg and helix server In-Reply-To: <20120418100247.5485092b@nnov.volga.rt.ru> References: <20120418100247.5485092b@nnov.volga.rt.ru> Message-ID: 18 ?????? 2012??. 9:02 ???????????? Strekov Andrey ???????: > I tried send camera stream to the helix server with > command: /usr/local/bin/ffmpeg -i > rtsp://root:root at camera_IP/axis-media/media.amp -vcodec copy -f > asf -metadata title="camera1" http://helix_server_IP:7077 > (7077 - Push Encoding Port), and i get error: > "av_interleaved_write_frame(): Connection reset by peer". Don't know what is "Push Encoding Port", seemingly google does not, too. I'd check helix logs. Because it is obvious from the message that helix closes the connection, so helix is confused by what ffmpeg sends. First of all - are you sure helix is configured to receive HTTP stream? ffmpeg sends POST request with following media stream. -- Andrey Utkin From cehoyos at ag.or.at Wed Apr 18 10:35:16 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 18 Apr 2012 08:35:16 +0000 (UTC) Subject: [FFmpeg-user] FFMPEG compilation error - BUG IN CONFIGURE References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe><007601cd1ca5$4c351060$0300a8c0@mainframe><009b01cd1cbb$ca258110$0300a8c0@mainframe> <003801cd1d36$389b3e30$0300a8c0@mainframe> Message-ID: Alexander Bokovikov uralweb.ru> writes: > OBJS-$(CONFIG_LIBVO_AACENC_ENCODER) += libvo-aacenc.o mpeg4audio.o \ > > audio_frame_queue.o Doesn't look like configure;-) Should be fixed, thank you for the analysis! Carl Eugen From pb at das-werkstatt.com Wed Apr 18 11:03:12 2012 From: pb at das-werkstatt.com (Peter B.) Date: Wed, 18 Apr 2012 11:03:12 +0200 Subject: [FFmpeg-user] Cannot open/transcode MXF OP-Atom files In-Reply-To: <4F8E6921.7020904@yahoo.com> References: <4F8B4FCA.6070906@das-werkstatt.com> <4F8E6921.7020904@yahoo.com> Message-ID: <4F8E8350.6090401@das-werkstatt.com> On 04/18/2012 09:11 AM, Tim Nicholson wrote: > On 15/04/12 23:46, Peter B. wrote: >> I've got a set of MXF OP-Atom [1] files. >> When trying to open or transcode the MXF containing the video stream, I >> get the following error: >> >> //------------------- >> [mxf @ 0x1ac2040] SegmentedFrame layout isn't currently supported > Quite a common warning but not fatal.... Roger that. >> [mxf @ 0x1ac2040] Could not find codec parameters (Video: none, 720x496) >> test_v1.mxf: could not find codec parameters > Always fatal, if it can't work out the codec it can't decode the material > The MXF file has been created with BBC's Ingex [1], and is supposed to contain uncompressed YUV422 NTSC material. Is there any way to tell ffmpeg manually the properties of the video stream in this case? Thanks, Pb == References: [1] http://ingex.sourceforge.net/ From kk_konrad at gmx.at Wed Apr 18 11:14:29 2012 From: kk_konrad at gmx.at (Konrad Karl) Date: Wed, 18 Apr 2012 11:14:29 +0200 Subject: [FFmpeg-user] A/V sync problems with h264/aac video fragment In-Reply-To: <20120417083424.GA9115localhost> References: <4f893937.a266b40a.2bf8.2b6bSMTPIN_ADDED@mx.google.com> <4f8c0aae.8513b40a.2176.ffffc9c6SMTPIN_ADDED@mx.google.com> <15838.1255846054$1334586752@news.gmane.org> <20120417083424.GA9115localhost> Message-ID: <20120418091429.GA7078localhost> On Tue, Apr 17, 2012 at 10:34:24AM +0200, Konrad Karl wrote: > On Tue, Apr 17, 2012 at 05:52:02AM +0000, Carl Eugen Hoyos wrote: > > The Geforce 520 is the "fast" model that may allow > > playing your sample. > > Ok Carl Eugen, (and Tom) > > you have convinced me to buy one :-) got one (~45 Eur) and it works as described by Tom - mplayer -speed 1.1 is close to the limit. It was a major pain to get the nvidia driver talking to a Benq W1100 with 50 Hz vertical refresh and of course HDMI sound also needed pulseaudio tweaks but now it works OK. (details available on request) hopefully the final words on this thread :-) thanks again to all, Konrad From cehoyos at ag.or.at Wed Apr 18 11:21:42 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 18 Apr 2012 09:21:42 +0000 (UTC) Subject: [FFmpeg-user] Cannot open/transcode MXF OP-Atom files References: <4F8B4FCA.6070906@das-werkstatt.com> Message-ID: Peter B. das-werkstatt.com> writes: > [mxf @ 0x1ac2040] Could not find codec parameters (Video: none, 720x496) Please provide a sample. Carl Eugen From pb at das-werkstatt.com Wed Apr 18 11:38:43 2012 From: pb at das-werkstatt.com (Peter B.) Date: Wed, 18 Apr 2012 11:38:43 +0200 Subject: [FFmpeg-user] Working with ffmpeg videos in Final Cut Pro 7 issue In-Reply-To: <1334076860888-4546272.post@n4.nabble.com> References: <1334076860888-4546272.post@n4.nabble.com> Message-ID: <4F8E8BA3.2010305@das-werkstatt.com> On 04/10/2012 06:54 PM, chappy wrote: > I've tried many different codecs that ffmpeg has but none of my recorded > videos work well in Final Cut Pro. Sorry for possible thread-hijacking, but I'd also be looking for a way of handling ffmpeg encoded videos with FCP. Especially handling FFv1 lossless video. Does anyone have any experience or suggestions on that? Could "Perian" [1] be of any assistance? Thanks, Pb == References: [1] http://perian.org/ From openworld at uralweb.ru Wed Apr 18 11:23:07 2012 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Wed, 18 Apr 2012 15:23:07 +0600 Subject: [FFmpeg-user] FFMPEG compilation error - BUG IN CONFIGURE References: <004a01cd1c92$3e9ea640$0300a8c0@mainframe><007601cd1ca5$4c351060$0300a8c0@mainframe><009b01cd1cbb$ca258110$0300a8c0@mainframe><003801cd1d36$389b3e30$0300a8c0@mainframe> Message-ID: <004a01cd1d47$245fbcf0$0300a8c0@mainframe> From: "Carl Eugen Hoyos" To: Sent: Wednesday, April 18, 2012 2:35 PM Subject: Re: [FFmpeg-user] FFMPEG compilation error - BUG IN CONFIGURE > Alexander Bokovikov uralweb.ru> writes: > >> OBJS-$(CONFIG_LIBVO_AACENC_ENCODER) += libvo-aacenc.o mpeg4audio.o \ >> >> audio_frame_queue.o > > Doesn't look like configure;-) > > Should be fixed, thank you for the analysis! May be I'm wrong about configure, because I don't know in details how the build system works. May be all you need is to change the makefile itself. Nevertheless I'm just happy to bring my little help to this great project! Thank you. From pb at das-werkstatt.com Wed Apr 18 11:44:06 2012 From: pb at das-werkstatt.com (Peter B.) Date: Wed, 18 Apr 2012 11:44:06 +0200 Subject: [FFmpeg-user] Cannot open/transcode MXF OP-Atom files In-Reply-To: References: <4F8B4FCA.6070906@das-werkstatt.com> Message-ID: <4F8E8CE6.1090908@das-werkstatt.com> On 04/18/2012 11:21 AM, Carl Eugen Hoyos wrote: >> [mxf @ 0x1ac2040] Could not find codec parameters (Video: none, 720x496) > Please provide a sample. > I didn't create the file myself, so I have to wait for clearance from the source I've received the file from :( But if I get their "ok", I'll provide the sample. Until then: The video is uncompressed. Is there any way to provide ffmpeg manually with information about the uncompressed video? It's 8-bit YUV422 NTSC. Thanks, Pb From openworld at uralweb.ru Wed Apr 18 12:34:02 2012 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Wed, 18 Apr 2012 16:34:02 +0600 Subject: [FFmpeg-user] FLV to MP4 - negative CTS Message-ID: <005701cd1d4e$ccca0a60$0300a8c0@mainframe> Hi, All, Am using FFMPEG from today's Git. Could anybody explain it to me how to fix the problem: For some reason the video source provides H264 FLV stream with some negative CTS. So, "CompositionTime" field in the AVC frame header in FLV has negative 24-bit values like FFFFBE, which is -66, as far as I believe. FFMPEG can't process such values when I try to use "copy" mode for both vcodec and acodec parameters. An error message appears saying about incorrect parameter and PTS < DTS: DTS 35, next:100366 st:0 invalid dropping PTS 35, next:100366 invalid dropping st:0 [mp4 @ 0x803220] pts has no value DTS 67, next:133732 st:0 invalid dropping [mp4 @ 0x803220] pts (101) < dts (134) in stream 0 av_interleaved_write_frame(): Invalid argument Then I've tried to use "copy" mode for the audio track only, but have used usual libx264 paramters for the video: -vcodec libx264 -preset medium -crf 23 Now I see another situation: conversion goes up to the end, but with many warning lines like this: [flv @ 0x802c20] negative cts, previous timestamps might be wrong Nevertheless I don't see a visible A/V missynch. At least I'm not sure if it appears or not. I also tried to use both audio and video track re-encoding with libx264 + libvo_aacenc. None of errors appear in this case, but I'm not sure if a/v synch is correct. It looks like there is a little missynch (less then 1 sec) which doesn't grow with time. I'm writing a tool to fix this movie. Could anybody suggest what to do with the negative CTS values in FLV? For example, am I correct in my understanding, that negative CTS means that this frame should stand at some earlier position in the FLV stream, but for some unknown reason it couldn't be inserted at that proper time, so it was inserted here, but with the negative CTS? If so, then would it be correct to shift this frame back in timeline to the value of its CTS (in absolute value) and set CTS value to zero? Or is there any correct way to eliminate negative CTS values? The short FLV example is here: http://home.bokovikov.com/ffmpeg/temp0f15.flv Thank you. From daverice at mac.com Wed Apr 18 16:25:58 2012 From: daverice at mac.com (Dave Rice) Date: Wed, 18 Apr 2012 10:25:58 -0400 Subject: [FFmpeg-user] Working with ffmpeg videos in Final Cut Pro 7 issue In-Reply-To: <4F8E8BA3.2010305@das-werkstatt.com> References: <1334076860888-4546272.post@n4.nabble.com> <4F8E8BA3.2010305@das-werkstatt.com> Message-ID: <196BBCBD-97DB-4942-B638-6C4F8BF4E8CD@mac.com> Hi Peter, On Apr 18, 2012, at 5:38 AM, Peter B. wrote: > On 04/10/2012 06:54 PM, chappy wrote: >> I've tried many different codecs that ffmpeg has but none of my recorded >> videos work well in Final Cut Pro. > Sorry for possible thread-hijacking, but I'd also be looking for a way > of handling ffmpeg encoded videos with FCP. Especially handling FFv1 > lossless video. > > Does anyone have any experience or suggestions on that? > Could "Perian" [1] be of any assistance? Yes, Perian added support for some pixel formats (I think only the 8 bit ones) of ffv1 a year or two ago. With the Perian component you can open certain ffv1 videos in Final Cut; however, there was some bugs in the decoding, where converting from ffv1 to another format through Final Cut would add odd horizontal motion artifacts. We ended up have to use ffmpeg to convert the ffv1 to an uncompressed format and then use that in Final Cut. I'll try to file a ticket for this with Perian shortly. Dave Rice From lytithwyn at gmail.com Wed Apr 18 16:37:29 2012 From: lytithwyn at gmail.com (Matthew Morgan) Date: Wed, 18 Apr 2012 10:37:29 -0400 Subject: [FFmpeg-user] Hi Friends... In-Reply-To: References: Message-ID: <4F8ED1A9.5080802@gmail.com> On 04/17/2012 12:02 PM, support at loginonair.com wrote: > Dear all, > > I am new born baby to ffmpeg... we wondered a lot about ffmpeg > especially video decoding. Now we are developing a Television > transmission using ffmpeg, QT in Linux (ubuntu 10.04 LTS). I need > some help regarding ffmpeg development. If any one have full > tutorial how to write codings, pls give the material or website > link (I already saw http://dranger.com/ffmpeg/). If you are doing things in code rather than using the ffmpeg frontend, you're probably looking for libavcodec and libavformat (the libraries that do the work for ffmpeg). There's not a lot out there in the way of up-to-date tutorial material that I can find but I did find this: http://blog.tomaka17.com/2012/03/libavcodeclibavformat-tutorial/ It may give you some ideas. I just skimmed it so I can't attest to its completeness, though I did notice that at the beginning of each of his code listings there is an extraneous "[cpp]" string. These are probably tags from a source-code highlighting plugin he used to use on his blog. Just ignore them. From chanduinece at gmail.com Wed Apr 18 16:41:15 2012 From: chanduinece at gmail.com (Chandu Nalluri) Date: Wed, 18 Apr 2012 15:41:15 +0100 Subject: [FFmpeg-user] crop video file using frame numbers in between Message-ID: Hi Is there anyway cut a video using "frame numbers in between" using ffmpeg. Suppose, I have an avi file with 1000 frames, and I want to cut video from 301 th frame to 500 th frame. The -frames option is giving only first set of n frames. Anyone, please help me. Thanks and Regards, chandu From daverice at mac.com Wed Apr 18 16:54:56 2012 From: daverice at mac.com (Dave Rice) Date: Wed, 18 Apr 2012 10:54:56 -0400 Subject: [FFmpeg-user] Working with ffmpeg videos in Final Cut Pro 7 issue In-Reply-To: <196BBCBD-97DB-4942-B638-6C4F8BF4E8CD@mac.com> References: <1334076860888-4546272.post@n4.nabble.com> <4F8E8BA3.2010305@das-werkstatt.com> <196BBCBD-97DB-4942-B638-6C4F8BF4E8CD@mac.com> Message-ID: <59DB3377-4C5A-4825-81B4-CEE4F34A0874@mac.com> On Apr 18, 2012, at 10:25 AM, Dave Rice wrote: > Hi Peter, > > On Apr 18, 2012, at 5:38 AM, Peter B. wrote: > >> On 04/10/2012 06:54 PM, chappy wrote: >>> I've tried many different codecs that ffmpeg has but none of my recorded >>> videos work well in Final Cut Pro. >> Sorry for possible thread-hijacking, but I'd also be looking for a way >> of handling ffmpeg encoded videos with FCP. Especially handling FFv1 >> lossless video. >> >> Does anyone have any experience or suggestions on that? >> Could "Perian" [1] be of any assistance? > > Yes, Perian added support for some pixel formats (I think only the 8 bit ones) of ffv1 a year or two ago. With the Perian component you can open certain ffv1 videos in Final Cut; however, there was some bugs in the decoding, where converting from ffv1 to another format through Final Cut would add odd horizontal motion artifacts. We ended up have to use ffmpeg to convert the ffv1 to an uncompressed format and then use that in Final Cut. I'll try to file a ticket for this with Perian shortly. I tried to replicate this issue and found that it only occurs for ffv1 in Matroska. The same encoded ffv1 video decoded properly in Final Cut when wrapped in AVI or QuickTime. I'll do some more testing to figure out exactly where to file the bug. Dave Rice From support at loginonair.com Wed Apr 18 18:46:53 2012 From: support at loginonair.com (support at loginonair.com) Date: Wed, 18 Apr 2012 22:16:53 +0530 Subject: [FFmpeg-user] Hi Friends... In-Reply-To: <4F8ED1A9.5080802@gmail.com> References: <4F8ED1A9.5080802@gmail.com> Message-ID: On 18.04.2012 20:07, Matthew Morgan wrote: > On 04/17/2012 12:02 PM, support at loginonair.com wrote: >> Dear all, >> >> I am new born baby to ffmpeg... we wondered a lot about ffmpeg >> especially video decoding. Now we are developing a Television >> transmission using ffmpeg, QT in Linux (ubuntu 10.04 LTS). I need >> some help regarding ffmpeg development. If any one have full >> tutorial how to write codings, pls give the material or website >> link (I already saw http://dranger.com/ffmpeg/). > > If you are doing things in code rather than using the ffmpeg > frontend, you're probably looking for libavcodec and libavformat (the > libraries that do the work for ffmpeg). There's not a lot out there > in the way of up-to-date tutorial material that I can find but I did > find this: > http://blog.tomaka17.com/2012/03/libavcodeclibavformat-tutorial/ > > It may give you some ideas. I just skimmed it so I can't attest to > its completeness, though I did notice that at the beginning of each > of > his code listings there is an extraneous "[cpp]" string. These are > probably tags from a source-code highlighting plugin he used to use > on > his blog. Just ignore them. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Thank U so much Matthew Morgan... From me at renecalles.de Wed Apr 18 18:09:39 2012 From: me at renecalles.de (me at renecalles.de) Date: Wed, 18 Apr 2012 18:09:39 +0200 Subject: [FFmpeg-user] On Demand Input Switching Message-ID: Hi all, i hope i'm right here to ask this question. I'm wondering if it would be possible to switch the input source of an running instance of FFmpeg. For example i'm running a live stream and want to switch from a Filesource to a video device without interrupting the outgoing stream, so without restarting FFmpeg with new command. I've searched the internet and couldn't find any answer to this. If it is not possible to do it with FFmpeg, could someone please point me into a direction how such process could be accomplished programmatically? Thanks, Ren? From koutwater at yahoo.com Wed Apr 18 21:02:25 2012 From: koutwater at yahoo.com (edgemar) Date: Wed, 18 Apr 2012 12:02:25 -0700 (PDT) Subject: [FFmpeg-user] DPX to prores sequence dropping frames Message-ID: <1334775745984-4568689.post@n4.nabble.com> I'm trying to make a prores hq from dpx frames and when I select 23.98 or 24FPS as the frame rate I get dropped frames. At 25fps it works great. Here is the command: ffmpeg -f image2 -i sourcefile.0%05d.dpx -r 23.98 -b 50000000 -s 1920x1080 -vcodec prores -profile 3 -acodec pcm_s241e test_output5.mov Any help would be greatly appreciated! -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/DPX-to-prores-sequence-dropping-frames-tp4568689p4568689.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From susiriss at gmail.com Wed Apr 18 12:31:18 2012 From: susiriss at gmail.com (Sampath Subasinghe) Date: Wed, 18 Apr 2012 16:01:18 +0530 Subject: [FFmpeg-user] Encode subtitles, 5.1 audio into MT2S format In-Reply-To: <4F8CD9FB.1070502@gmail.com> References: <4F8CD9FB.1070502@gmail.com> Message-ID: Please can you tell me whether what I try to do is possible. That is to create a mt2s file with h264 video, 5.1 audio(any codec) and a soft subtitle stream with ffmpeg. Please provide a sample command line if possible. thanks. ~Sampath~ From Tremayne.Stamper.ctr at socom.mil Wed Apr 18 15:48:34 2012 From: Tremayne.Stamper.ctr at socom.mil (Stamper, Tremayne L CTR USSOCOM HQ) Date: Wed, 18 Apr 2012 09:48:34 -0400 Subject: [FFmpeg-user] ffmpeg configure Message-ID: <9EA1891DC2C89B4B9A263F7FA8B31D8A6F906F@USOFMACDVCL01E.sof.socds.mil> I am trying to configure ffmpeg to include libmp3lame, I have already installed libmp3lame under c:\ffmpeg.-10.0\libmp3lame3.98.4\, and tested the lame.exe that's in \frontend and it definitely converts audio, but when I try to configure ffmpeg to use it like: Under my ~c:\ffmpeg.-10.0 configure --prefix=ffmpeg/ --disable-network --disable-debug --enable-libmp3l me --enable-gpl it gives this error like it doesn't recognize the install ERROR: libmp3lame >= 3.98.3 not found If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem. From cehoyos at ag.or.at Wed Apr 18 22:49:06 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 18 Apr 2012 20:49:06 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg configure References: <9EA1891DC2C89B4B9A263F7FA8B31D8A6F906F@USOFMACDVCL01E.sof.socds.mil> Message-ID: Stamper, Tremayne L CTR USSOCOM HQ socom.mil> writes: > I am trying to configure ffmpeg to include libmp3lame, I have already > installed libmp3lame under c:\ffmpeg.-10.0\libmp3lame3.98.4\, and tested > the lame.exe that's in \frontend and it definitely converts audio, but > when I try to configure ffmpeg to use it like: > Under my ~c:\ffmpeg.-10.0 > configure --prefix=ffmpeg/ --disable-network --disable-debug > --enable-libmp3l me --enable-gpl it gives this error like it doesn't > recognize the install How do you expect configure to know you chose a totally random installation directory (instead of /usr) if you don't tell it with --extra-cflags and --extra-ldflags ? Carl Eugen From cehoyos at ag.or.at Wed Apr 18 22:50:55 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 18 Apr 2012 20:50:55 +0000 (UTC) Subject: [FFmpeg-user] DPX to prores sequence dropping frames References: <1334775745984-4568689.post@n4.nabble.com> Message-ID: edgemar yahoo.com> writes: > I'm trying to make a prores hq from dpx frames and when I select 23.98 or > 24FPS as the frame rate I get dropped frames. At 25fps it works great. Here > is the command: > > ffmpeg -f image2 -i sourcefile.0%05d.dpx -r 23.98 -b 50000000 -s 1920x1080 > -vcodec prores -profile 3 -acodec pcm_s241e test_output5.mov Complete, uncut console output missing - it would have told you that since you did not specify a frame rate for the input, 25 fps was assumed which leads to frame drops if you don't want 25 fps as output frame rate. (add -r 23.98 or better -r 24000/1001 before -i) Carl Eugen From simondaniels23 at gmail.com Wed Apr 18 23:25:03 2012 From: simondaniels23 at gmail.com (Simon Daniels) Date: Wed, 18 Apr 2012 14:25:03 -0700 Subject: [FFmpeg-user] Unable to trim certain MTS files unless I start from 0:00:00 Message-ID: Hi guys, I have a set of .MTS files that I'm trying to trim. If I start at 0:00:00, the output video works fine. But if I start trimmingany time after 0:00:00, the output video is empty. I've used the exact same command line with other .MTS files and had no problem. It seems like something specific to this Panasonic Lumix camera. MP4 and MOV files work fine too. This repros in FFmpeg HEAD-8dfb13e, 0.10.2, and 0.8.3. Any ideas? Thanks! Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:01 -t 00:00:25 -i 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 15 2012 23:02:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-static --disable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --arch=x86_64 --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot /Developer/SDKs/MacOSX10.7.sdk' libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 Input #0, mpegts, from '00004.MTS': Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) [mpegts @ 0x7f990c054000] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'output.MTS': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 0 fps= 0 q=-1.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s frame= 0 fps= 0 q=-1.0 Lsize= 657kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:586kB global headers:0kB muxing overhead 11.940537% If I use -ss 0:00:00, it works fine: Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:00 -t 00:00:25 -i 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 15 2012 23:02:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-static --disable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --arch=x86_64 --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot /Developer/SDKs/MacOSX10.7.sdk' libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 Input #0, mpegts, from '00004.MTS': Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) File 'output.MTS' already exists. Overwrite ? [y/N] y muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'output.MTS': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 640 fps= 0 q=-1.0 size= 40390kB time=00:00:21.33 bitrate=15506.5kbits/sframe= 750 fps= 0 q=-1.0 Lsize= 46332kB time=00:00:25.00 bitrate=15177.2kbits/s video:42293kB audio:586kB global headers:0kB muxing overhead 8.053502% The input video can be downloaded here: http://dl.dropbox.com/u/28441949/00004.MTS Here's what MediaInfo says about the input video: General ID : 0 (0x0) Complete name : K:\PRIVATE\AVCHD\BDMV\STREAM\00004.MTS Format : BDAV Format/Info : Blu-ray Video File size : 152 MiB Duration : 1mn 24s Overall bit rate : 15.1 Mbps Maximum Overall bit rate : 18.0 Mbps Video ID : 4113 (0x1011) Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format profile : High at L4.0 Format settings, CABAC : No Format settings, ReFrames : 1 frame Frame mode : Frame doubling Codec ID : 27 Duration : 1mn 24s Bit rate mode : Variable Bit rate : 14.3 Mbps Maximum bit rate : 16.6 Mbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 29.970 fps Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.516 Stream size : 144 MiB (95%) Audio ID : 4352 (0x1100) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Codec ID : 129 Duration : 1mn 24s Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 1.94 MiB (1%) Text ID : 4608 (0x1200) Menu ID : 1 (0x1) Format : PGS Codec ID : 144 Duration : 1mn 24s From mark at mdsh.com Wed Apr 18 23:42:07 2012 From: mark at mdsh.com (Mark Himsley) Date: Wed, 18 Apr 2012 22:42:07 +0100 Subject: [FFmpeg-user] crop video file using frame numbers in between In-Reply-To: References: Message-ID: <4F8F352F.2090201@mdsh.com> On 18/04/2012 15:41, Chandu Nalluri wrote: > Hi > Is there anyway cut a video using "frame numbers in between" using ffmpeg. > Suppose, I have an avi file with 1000 frames, and I want to cut video from > 301 th frame to 500 th frame. The -frames option is giving only first set > of n frames. Anyone, please help me. Use the select filter. ffmpeg -i -vf 'showinfo,select=gte(n\,301)*lte(n\,500)' -- Mark From mark at mdsh.com Wed Apr 18 23:46:55 2012 From: mark at mdsh.com (Mark Himsley) Date: Wed, 18 Apr 2012 22:46:55 +0100 Subject: [FFmpeg-user] crop video file using frame numbers in between In-Reply-To: <4F8F352F.2090201@mdsh.com> References: <4F8F352F.2090201@mdsh.com> Message-ID: <4F8F364F.7000500@mdsh.com> On 18/04/2012 22:42, Mark Himsley wrote: > On 18/04/2012 15:41, Chandu Nalluri wrote: >> Hi >> Is there anyway cut a video using "frame numbers in between" using >> ffmpeg. >> Suppose, I have an avi file with 1000 frames, and I want to cut video >> from >> 301 th frame to 500 th frame. The -frames option is giving only first set >> of n frames. Anyone, please help me. > > Use the select filter. > > ffmpeg -i -vf 'showinfo,select=gte(n\,301)*lte(n\,500)' Sorry - you don't need the showinfo - I accidentally left that after my testing... -- Mark From simondaniels23 at gmail.com Thu Apr 19 00:28:55 2012 From: simondaniels23 at gmail.com (Simon Daniels) Date: Wed, 18 Apr 2012 15:28:55 -0700 Subject: [FFmpeg-user] Unable to trim certain MTS files unless I start from 0:00:00 Message-ID: (apologies if this was sent multiple times. I think I'm having issues with ffmpeg-user list) Hi guys, I have a set of .MTS files that I'm trying to trim. If I start at 0:00:00, the output video works fine. But if I start trimmingany time after 0:00:00, the output video is empty. I've used the exact same command line with other .MTS files and had no problem. It seems like something specific to this Panasonic Lumix camera. MP4 and MOV files work fine too. This repros in FFmpeg HEAD-8dfb13e, 0.10.2, and 0.8.3. Any ideas? Thanks! Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:01 -t 00:00:25 -i 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 15 2012 23:02:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-static --disable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --arch=x86_64 --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot /Developer/SDKs/MacOSX10.7.sdk' libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 Input #0, mpegts, from '00004.MTS': Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) [mpegts @ 0x7f990c054000] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'output.MTS': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 0 fps= 0 q=-1.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s frame= 0 fps= 0 q=-1.0 Lsize= 657kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:586kB global headers:0kB muxing overhead 11.940537% If I use -ss 0:00:00, it works fine: Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:00 -t 00:00:25 -i 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 15 2012 23:02:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-static --disable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --arch=x86_64 --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot /Developer/SDKs/MacOSX10.7.sdk' libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 Input #0, mpegts, from '00004.MTS': Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) File 'output.MTS' already exists. Overwrite ? [y/N] y muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'output.MTS': Metadata: encoder : Lavf53.32.100 Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 640 fps= 0 q=-1.0 size= 40390kB time=00:00:21.33 bitrate=15506.5kbits/sframe= 750 fps= 0 q=-1.0 Lsize= 46332kB time=00:00:25.00 bitrate=15177.2kbits/s video:42293kB audio:586kB global headers:0kB muxing overhead 8.053502% The input video can be downloaded here: http://dl.dropbox.com/u/28441949/00004.MTS Here's what MediaInfo says about the input video: General ID : 0 (0x0) Complete name : K:\PRIVATE\AVCHD\BDMV\STREAM\00004.MTS Format : BDAV Format/Info : Blu-ray Video File size : 152 MiB Duration : 1mn 24s Overall bit rate : 15.1 Mbps Maximum Overall bit rate : 18.0 Mbps Video ID : 4113 (0x1011) Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format profile : High at L4.0 Format settings, CABAC : No Format settings, ReFrames : 1 frame Frame mode : Frame doubling Codec ID : 27 Duration : 1mn 24s Bit rate mode : Variable Bit rate : 14.3 Mbps Maximum bit rate : 16.6 Mbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 29.970 fps Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.516 Stream size : 144 MiB (95%) Audio ID : 4352 (0x1100) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Codec ID : 129 Duration : 1mn 24s Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 1.94 MiB (1%) Text ID : 4608 (0x1200) Menu ID : 1 (0x1) Format : PGS Codec ID : 144 Duration : 1mn 24s From w.kelly at qut.edu.au Thu Apr 19 09:38:53 2012 From: w.kelly at qut.edu.au (Wayne Kelly) Date: Thu, 19 Apr 2012 17:38:53 +1000 Subject: [FFmpeg-user] How to configure for h264_dxva2 ? Message-ID: <663EA70E-1586-4610-8210-0C919B4757AB@mimectl> Hi, I'm trying to configure ffmpeg to compile on windows (mingw) with h264_dxva2 support, but I'm not sure what options to pass to the configure script. I've tried: ./configure --enable-hwaccel=h264_dxva2 --enable-decoder=h264 But the ouput from the configure script lists no "Enabled hwaccels" and in config.h: #define CONFIG_H264_DXVA2_HWACCEL 0 Which means that REGISTER_HWACCEL called from avcodec_register_all doesn't register H264_DXVA2 If I look at the source of the configure script I see: h264_dxva2_hwaccel_deps="dxva2api_h" h264_dxva2_hwaccel_select="dxva2 h264_decoder" I don't understand how the configuration script works, but I'm assuming it's checking for the existence of a dxva2api.h file somewhere (???) Could someone possibily explain how this aspect of the configure script works or what I need to do? Even if I manually alter config.h to: #define CONFIG_H264_DXVA2_HWACCEL 1 It still doesn't link the DXVA2 ffmpeg code into the libavcodec library. Any assistance would be greatly appreciated. BTW, I realized that enabling H264_DXVA2 won't automatically provide me with hardware acceleration for H264 decoding, but at present I can't even get past the first hurdle of appropriately compiling ffmpeg. I'll be happy to post a simple tutorial if I can first get it working myself. Cheers, Wayne. From andrey.krieger.utkin at gmail.com Thu Apr 19 10:05:49 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Thu, 19 Apr 2012 11:05:49 +0300 Subject: [FFmpeg-user] Unable to trim certain MTS files unless I start from 0:00:00 In-Reply-To: References: Message-ID: 2012/4/19 Simon Daniels : > Hi guys, > > I have a set of .MTS files that I'm trying to trim. If I start at 0:00:00, > the output video works fine. But if I start trimmingany time after 0:00:00, > the output video is empty. I've used the exact same command line with other > .MTS files and had no problem. It seems like something specific to this > Panasonic Lumix camera. MP4 and MOV files work fine too. > > This repros in FFmpeg HEAD-8dfb13e, 0.10.2, and 0.8.3. > > Any ideas? Thanks! > > Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:01 -t 00:00:25 -i > 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* What do the * signs mean in cmdline? AFAIR, -ss, -t args position matters. Placing them before -i makes them work without transcoding, and after - with transcoding. Try second way, it will be more time expensive, but should generally work better. If my idea is right, and if you need to avoid transcoding, then probably your case requires writing tailored application. -- Andrey Utkin From w.kelly at qut.edu.au Thu Apr 19 10:18:48 2012 From: w.kelly at qut.edu.au (Wayne Kelly) Date: Thu, 19 Apr 2012 18:18:48 +1000 Subject: [FFmpeg-user] How to configure for h264_dxva2 ? In-Reply-To: <663EA70E-1586-4610-8210-0C919B4757AB@mimectl> References: <663EA70E-1586-4610-8210-0C919B4757AB@mimectl> Message-ID: Ignore my previous email - I've worked it out: I needed to put dxva2api.h in the mingw include directory rather than with the ffmpeg include files. Cheers, Wayne. ________________________________ From: Wayne Kelly Sent: Thursday, 19 April 2012 5:38 PM To: ffmpeg-user at ffmpeg.org Subject: How to configure for h264_dxva2 ? Hi, I'm trying to configure ffmpeg to compile on windows (mingw) with h264_dxva2 support, but I'm not sure what options to pass to the configure script. I've tried: ./configure --enable-hwaccel=h264_dxva2 --enable-decoder=h264 But the ouput from the configure script lists no "Enabled hwaccels" and in config.h: #define CONFIG_H264_DXVA2_HWACCEL 0 Which means that REGISTER_HWACCEL called from avcodec_register_all doesn't register H264_DXVA2 If I look at the source of the configure script I see: h264_dxva2_hwaccel_deps="dxva2api_h" h264_dxva2_hwaccel_select="dxva2 h264_decoder" I don't understand how the configuration script works, but I'm assuming it's checking for the existence of a dxva2api.h file somewhere (???) Could someone possibily explain how this aspect of the configure script works or what I need to do? Even if I manually alter config.h to: #define CONFIG_H264_DXVA2_HWACCEL 1 It still doesn't link the DXVA2 ffmpeg code into the libavcodec library. Any assistance would be greatly appreciated. BTW, I realized that enabling H264_DXVA2 won't automatically provide me with hardware acceleration for H264 decoding, but at present I can't even get past the first hurdle of appropriately compiling ffmpeg. I'll be happy to post a simple tutorial if I can first get it working myself. Cheers, Wayne. From andrey.krieger.utkin at gmail.com Thu Apr 19 10:21:56 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Thu, 19 Apr 2012 11:21:56 +0300 Subject: [FFmpeg-user] On Demand Input Switching In-Reply-To: References: Message-ID: 2012/4/18 : > If it is not possible to do it with FFmpeg, could someone please point me > into a direction how such process could be accomplished programmatically? FFMpeg util is not capable of this, afaik. Programmatically, with ffmpeg API - quite possible, i have an experience on this. Generally, you can just get media from any sources you need, and mix them as you wish, the point is that you must feed to output encoding and muxing contexts the media that has consistent characteristics. I. e.: 1. Elementary streams quantity and characteristics mustn't change (look out for cases when there are several audio tracks in container, for example); 2. Video format, and its "extradata" (global header, if present) mustn't change (thus you almost certainly must transcode); 3. Video picture dimensions must stay same (thus very probable you must resize, using libavfilter for that is handy); 4. Also i think if there is certain video frame rate, then you should preserve it. 5. Audio format, channels layout (mono/stereo/etc), sample rate must stay same. I hope i ended up with not so many wrong points or bad explanations, corrections are appreciated. -- Andrey Utkin From me at renecalles.de Thu Apr 19 14:37:27 2012 From: me at renecalles.de (me at renecalles.de) Date: Thu, 19 Apr 2012 14:37:27 +0200 Subject: [FFmpeg-user] On Demand Input Switching In-Reply-To: References: Message-ID: <2bfa7133380121066ec1ac8d48901af0@renecalles.de> Hi Andrey, thanks a lot for your helpful answer. I'm just not shure how buffering could work for seamless switching. I think i would need to preserve the latest frame for live source and first frame from file source, encode them properly to the output format and serve the "Playout/Muxer"-Module. So, it seems i have to use multiple instances of Framebuffers??? for a seamless switch. Am i right here? Anyway it seems then i have to move to the libav-dev list. Thanks a lot. Ren? On Thu, 19 Apr 2012 11:21:56 +0300, Andrey Utkin wrote: > 2012/4/18 : >> If it is not possible to do it with FFmpeg, could someone please >> point me >> into a direction how such process could be accomplished >> programmatically? > > FFMpeg util is not capable of this, afaik. > Programmatically, with ffmpeg API - quite possible, i have an > experience on this. > Generally, you can just get media from any sources you need, and mix > them as you wish, the point is that you must feed to output encoding > and muxing contexts the media that has consistent characteristics. I. > e.: > 1. Elementary streams quantity and characteristics mustn't change > (look out for cases when there are several audio tracks in container, > for example); > 2. Video format, and its "extradata" (global header, if present) > mustn't change (thus you almost certainly must transcode); > 3. Video picture dimensions must stay same (thus very probable you > must resize, using libavfilter for that is handy); > 4. Also i think if there is certain video frame rate, then you should > preserve it. > 5. Audio format, channels layout (mono/stereo/etc), sample rate must > stay same. > > I hope i ended up with not so many wrong points or bad explanations, > corrections are appreciated. From pb at das-werkstatt.com Thu Apr 19 14:40:38 2012 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 19 Apr 2012 14:40:38 +0200 Subject: [FFmpeg-user] x264: pixel aspect ratio overriden? Message-ID: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> Hi, I'm trying to transcode videos for web playback in h264/aac. Unfortunately, it's currently not possible in our setup to use the display aspect ratio to resize anamorphic sources to 16:9, so my "Plan B" was to resize them to have the right aspect ratio with square pixels. What's odd is that when I encode using libx264, the original (5:4 anamorphic) aspect ratio seems to be stored *somewhere* inside the video stream, because players like VLC, WMP or even ffplay play it with the old (=wrong) aspect ratio. When I use the exact same ffmpeg commandline, but choose e.g. FFv1 as output codec, the pixel aspect ratio is taken as-is and everything works fine. I'm using ffmpeg v0.7.11 on a Debian Squeeze production system (so I'm kind of locked to that version) Does anyone have clue what's happening here? Thank you very much in advance, Pb PS: In order to save cehoyos his standard catchphrase "Please provide the complete, uncut console output together with your command line." ;), here it goes: //------------------ ffmpeg -i client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg -s 500x100 -flags +ilme+ildct -vcodec libx264 -deinterlace -an client/flash/test5-h264_aac-PAR1_1.avi ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 28 2012 01:15:36 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale 0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0x8ae15e0] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg': Duration: 00:00:59.96, start: 0.240000, bitrate: 4097 kb/s Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 1:1 DAR 5:4], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s File 'client/flash/test5-h264_aac-PAR1_1.avi' already exists. Overwrite ? [y/N] y [buffer @ 0x8ae3ea0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [scale @ 0x8ae4000] w:720 h:576 fmt:yuv420p -> w:500 h:100 fmt:yuv420p flags:0x4 [libx264 @ 0x8ae9a60] Default settings detected, using medium profile [libx264 @ 0x8ae9a60] interlace + weightp is not implemented [libx264 @ 0x8ae9a60] using SAR=1/4 [libx264 @ 0x8ae9a60] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x8ae9a60] profile High, level 2.1 Output #0, avi, to 'client/flash/test5-h264_aac-PAR1_1.avi': Metadata: ISFT : Lavf52.111.0 Stream #0.0: Video: libx264, yuv420p, 500x100 [PAR 1:4 DAR 5:4], q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop, [?] for help frame= 1500 fps=108 q=28.0 Lsize= 770kB time=00:00:59.92 bitrate= 105.3kbits/s video:729kB audio:0kB global headers:0kB muxing overhead 5.697445% frame I:6 Avg QP:19.72 size: 6750 [libx264 @ 0x8ae9a60] frame P:419 Avg QP:22.00 size: 1259 [libx264 @ 0x8ae9a60] frame B:1075 Avg QP:27.82 size: 165 [libx264 @ 0x8ae9a60] consecutive B-frames: 0.9% 3.1% 23.0% 73.1% [libx264 @ 0x8ae9a60] mb I I16..4: 9.4% 60.6% 29.9% [libx264 @ 0x8ae9a60] mb P I16..4: 0.1% 0.5% 0.4% P16..4: 35.0% 20.7% 10.8% 0.0% 0.0% skip:32.6% [libx264 @ 0x8ae9a60] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 29.4% 1.9% 0.3% direct: 0.4% skip:67.9% L0:37.4% L1:58.8% BI: 3.8% [libx264 @ 0x8ae9a60] field mbs: intra: 0.0% inter:0.0% skip:0.0% [libx264 @ 0x8ae9a60] 8x8 transform intra:56.5% inter:66.1% [libx264 @ 0x8ae9a60] coded y,uvDC,uvAC intra: 78.0% 88.0% 56.5% inter: 9.3% 8.6% 0.3% [libx264 @ 0x8ae9a60] i16 v,h,dc,p: 71% 17% 1% 11% [libx264 @ 0x8ae9a60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 29% 10% 4% 6% 4% 12% 4% 11% [libx264 @ 0x8ae9a60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 25% 7% 3% 5% 3% 10% 3% 9% [libx264 @ 0x8ae9a60] i8c dc,h,v,p: 40% 36% 15% 9% [libx264 @ 0x8ae9a60] ref P L0: 72.8% 14.4% 12.8% [libx264 @ 0x8ae9a60] ref B L0: 89.4% 8.4% 2.2% [libx264 @ 0x8ae9a60] ref B L1: 92.4% 7.6% [libx264 @ 0x8ae9a60] kb/s:99.47 //------------------ From andrey.krieger.utkin at gmail.com Thu Apr 19 15:20:28 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Thu, 19 Apr 2012 16:20:28 +0300 Subject: [FFmpeg-user] On Demand Input Switching In-Reply-To: <2bfa7133380121066ec1ac8d48901af0@renecalles.de> References: <2bfa7133380121066ec1ac8d48901af0@renecalles.de> Message-ID: 2012/4/19 : > thanks a lot for your helpful answer. > I'm just not shure how buffering could work for seamless switching. > I think i would need to preserve the latest frame for live source and first > frame from file source, encode them properly to the output format and serve > the "Playout/Muxer"-Module. > > So, it seems i have to use multiple instances of Framebuffers??? for a > seamless switch. > > Am i right here? I have no idea what is Framebuffers, and Playout/Muxer Module. Can't understand what you said. > Anyway it seems then i have to move to the libav-dev list. No, libav-user. You can also subscribe and ask on libav-api at libav.org. But don't confuse them, talking about problems with libs from ffmpeg.org on libav.org maillists is off-topic, and vice-versa. -- Andrey Utkin From me at renecalles.de Thu Apr 19 15:21:01 2012 From: me at renecalles.de (me at renecalles.de) Date: Thu, 19 Apr 2012 15:21:01 +0200 Subject: [FFmpeg-user] =?utf-8?q?x264=3A_pixel_aspect_ratio_overriden=3F?= In-Reply-To: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> Message-ID: Hi Peter, is it possible for you to use the -sar option? E.g. -sar 1:1 ? Best, Ren? On Thu, 19 Apr 2012 14:40:38 +0200, Peter B. wrote: > Hi, > > I'm trying to transcode videos for web playback in h264/aac. > Unfortunately, it's currently not possible in our setup to use the > display aspect ratio to resize anamorphic sources to 16:9, so my > "Plan > B" was to resize them to have the right aspect ratio with square > pixels. > > What's odd is that when I encode using libx264, the original (5:4 > anamorphic) aspect ratio seems to be stored *somewhere* inside the > video stream, because players like VLC, WMP or even ffplay play it > with the old (=wrong) aspect ratio. > > When I use the exact same ffmpeg commandline, but choose e.g. FFv1 as > output codec, the pixel aspect ratio is taken as-is and everything > works fine. > > I'm using ffmpeg v0.7.11 on a Debian Squeeze production system (so > I'm kind of locked to that version) > > Does anyone have clue what's happening here? > > Thank you very much in advance, > Pb > > PS: In order to save cehoyos his standard catchphrase "Please provide > the complete, uncut console output together with your command line." > ;), here it goes: > > //------------------ > ffmpeg -i client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg -s > 500x100 -flags +ilme+ildct -vcodec libx264 -deinterlace -an > client/flash/test5-h264_aac-PAR1_1.avi > ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers > built on Jan 28 2012 01:15:36 with gcc 4.4.5 > configuration: --enable-libdc1394 --prefix=/usr > --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared > --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads > --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab > --enable-libgsm --enable-libtheora --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libx264 --enable-libspeex > --enable-nonfree --disable-stripping --enable-avfilter > --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger > --disable-encoder=libschroedinger --enable-version3 > --enable-libopenjpeg --enable-libvpx --enable-librtmp > --extra-libs=-lgcrypt --disable-altivec --disable-armv5te > --disable-armv6 --disable-vis > libavutil 50. 43. 0 / 50. 43. 0 > libavcodec 52.123. 0 / 52.123. 0 > libavformat 52.111. 0 / 52.111. 0 > libavdevice 52. 5. 0 / 52. 5. 0 > libavfilter 1. 80. 0 / 1. 80. 0 > libswscale 0. 14. 1 / 0. 14. 1 > libpostproc 51. 2. 0 / 51. 2. 0 > [mpeg @ 0x8ae15e0] max_analyze_duration 5000000 reached at 5000000 > Input #0, mpeg, from > 'client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg': > Duration: 00:00:59.96, start: 0.240000, bitrate: 4097 kb/s > Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 > [PAR 1:1 DAR 5:4], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc > Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s > File 'client/flash/test5-h264_aac-PAR1_1.avi' already exists. > Overwrite ? [y/N] y > [buffer @ 0x8ae3ea0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:1/1 > sws_param: > [scale @ 0x8ae4000] w:720 h:576 fmt:yuv420p -> w:500 h:100 > fmt:yuv420p flags:0x4 > [libx264 @ 0x8ae9a60] Default settings detected, using medium profile > [libx264 @ 0x8ae9a60] interlace + weightp is not implemented > [libx264 @ 0x8ae9a60] using SAR=1/4 > [libx264 @ 0x8ae9a60] using cpu capabilities: MMX2 SSE2Fast SSSE3 > FastShuffle SSE4.2 > [libx264 @ 0x8ae9a60] profile High, level 2.1 > Output #0, avi, to 'client/flash/test5-h264_aac-PAR1_1.avi': > Metadata: > ISFT : Lavf52.111.0 > Stream #0.0: Video: libx264, yuv420p, 500x100 [PAR 1:4 DAR 5:4], > q=2-31, 200 kb/s, 25 tbn, 25 tbc > Stream mapping: > Stream #0.0 -> #0.0 > Press [q] to stop, [?] for help > frame= 1500 fps=108 q=28.0 Lsize= 770kB time=00:00:59.92 bitrate= > 105.3kbits/s > video:729kB audio:0kB global headers:0kB muxing overhead 5.697445% > frame I:6 Avg QP:19.72 size: 6750 > [libx264 @ 0x8ae9a60] frame P:419 Avg QP:22.00 size: 1259 > [libx264 @ 0x8ae9a60] frame B:1075 Avg QP:27.82 size: 165 > [libx264 @ 0x8ae9a60] consecutive B-frames: 0.9% 3.1% 23.0% 73.1% > [libx264 @ 0x8ae9a60] mb I I16..4: 9.4% 60.6% 29.9% > [libx264 @ 0x8ae9a60] mb P I16..4: 0.1% 0.5% 0.4% P16..4: 35.0% > 20.7% 10.8% 0.0% 0.0% skip:32.6% > [libx264 @ 0x8ae9a60] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 29.4% > 1.9% 0.3% direct: 0.4% skip:67.9% L0:37.4% L1:58.8% BI: 3.8% > [libx264 @ 0x8ae9a60] field mbs: intra: 0.0% inter:0.0% skip:0.0% > [libx264 @ 0x8ae9a60] 8x8 transform intra:56.5% inter:66.1% > [libx264 @ 0x8ae9a60] coded y,uvDC,uvAC intra: 78.0% 88.0% 56.5% > inter: 9.3% 8.6% 0.3% > [libx264 @ 0x8ae9a60] i16 v,h,dc,p: 71% 17% 1% 11% > [libx264 @ 0x8ae9a60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 29% 10% 4% > 6% 4% 12% 4% 11% > [libx264 @ 0x8ae9a60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 25% 7% 3% > 5% 3% 10% 3% 9% > [libx264 @ 0x8ae9a60] i8c dc,h,v,p: 40% 36% 15% 9% > [libx264 @ 0x8ae9a60] ref P L0: 72.8% 14.4% 12.8% > [libx264 @ 0x8ae9a60] ref B L0: 89.4% 8.4% 2.2% > [libx264 @ 0x8ae9a60] ref B L1: 92.4% 7.6% > [libx264 @ 0x8ae9a60] kb/s:99.47 > //------------------ > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From me at renecalles.de Thu Apr 19 15:21:50 2012 From: me at renecalles.de (me at renecalles.de) Date: Thu, 19 Apr 2012 15:21:50 +0200 Subject: [FFmpeg-user] On Demand Input Switching In-Reply-To: References: <2bfa7133380121066ec1ac8d48901af0@renecalles.de> Message-ID: I see, thanks a lot. On Thu, 19 Apr 2012 16:20:28 +0300, Andrey Utkin wrote: > 2012/4/19 : >> thanks a lot for your helpful answer. >> I'm just not shure how buffering could work for seamless switching. >> I think i would need to preserve the latest frame for live source >> and first >> frame from file source, encode them properly to the output format >> and serve >> the "Playout/Muxer"-Module. >> >> So, it seems i have to use multiple instances of Framebuffers??? for >> a >> seamless switch. >> >> Am i right here? > > I have no idea what is Framebuffers, and Playout/Muxer Module. Can't > understand what you said. > >> Anyway it seems then i have to move to the libav-dev list. > > No, libav-user. You can also subscribe and ask on > libav-api at libav.org. > But don't confuse them, talking about problems with libs from > ffmpeg.org on libav.org maillists is off-topic, and vice-versa. From pb at das-werkstatt.com Thu Apr 19 15:35:08 2012 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 19 Apr 2012 15:35:08 +0200 Subject: [FFmpeg-user] x264: pixel aspect ratio overriden? In-Reply-To: References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> Message-ID: <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> Quoting me at renecalles.de: > is it possible for you to use the -sar option? E.g. -sar 1:1 ? Tried, but it complains about invalid characters: //---------------------- ffmpeg -i client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg -s 500x100 -sar 1:1 -flags +ilme+ildct -vcodec libx264 -vpre baseline -deinterlace -an client/flash/test5-h264_aac-PAR1_1.avi ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 28 2012 01:15:36 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale 0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0xa00d5e0] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg': Duration: 00:00:59.96, start: 0.240000, bitrate: 4097 kb/s Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 1:1 DAR 5:4], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s [NULL @ 0xa015260] [Eval @ 0xbfb37e6c] Invalid chars ':1' at the end of expression '1:1' [NULL @ 0xa015260] Unable to parse option value "1:1" Invalid value '1:1' for option 'sar' //---------------------- I've also tried putting "sar=1:1" in libx264 baseline preset file, being greeted with the same error message: //---------------------- ffmpeg -i client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg -s 500x100 -flags +ilme+ildct -vcodec libx264 -vpre baseline -deinterlace -an client/flash/test5-h264_aac-PAR1_1.avi ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 28 2012 01:15:36 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale 0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0x9a875e0] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg': Duration: 00:00:59.96, start: 0.240000, bitrate: 4097 kb/s Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 1:1 DAR 5:4], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s [NULL @ 0x9a8f260] [Eval @ 0xbfd4952c] Invalid chars ':1' at the end of expression '1:1' [NULL @ 0x9a8f260] Unable to parse option value "1:1" Invalid value '1:1' for option 'sar' //----------------------------- :( Pb From me at renecalles.de Thu Apr 19 16:06:16 2012 From: me at renecalles.de (me at renecalles.de) Date: Thu, 19 Apr 2012 16:06:16 +0200 Subject: [FFmpeg-user] =?utf-8?q?x264=3A_pixel_aspect_ratio_overriden=3F?= In-Reply-To: <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> Message-ID: <8e397cb5266635c12e993351e5db2b14@renecalles.de> Hmm .... okay maybe it's different to actual versions. You should try values "-sar 1/1" and simply "-sar 1". Hope this helps. Best, Ren? On Thu, 19 Apr 2012 15:35:08 +0200, Peter B. wrote: > Quoting me at renecalles.de: > >> is it possible for you to use the -sar option? E.g. -sar 1:1 ? > > Tried, but it complains about invalid characters: > //---------------------- > ffmpeg -i client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg -s > 500x100 -sar 1:1 -flags +ilme+ildct -vcodec libx264 -vpre baseline > -deinterlace -an client/flash/test5-h264_aac-PAR1_1.avi > ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers > built on Jan 28 2012 01:15:36 with gcc 4.4.5 > configuration: --enable-libdc1394 --prefix=/usr > --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared > --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads > --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab > --enable-libgsm --enable-libtheora --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libx264 --enable-libspeex > --enable-nonfree --disable-stripping --enable-avfilter > --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger > --disable-encoder=libschroedinger --enable-version3 > --enable-libopenjpeg --enable-libvpx --enable-librtmp > --extra-libs=-lgcrypt --disable-altivec --disable-armv5te > --disable-armv6 --disable-vis > libavutil 50. 43. 0 / 50. 43. 0 > libavcodec 52.123. 0 / 52.123. 0 > libavformat 52.111. 0 / 52.111. 0 > libavdevice 52. 5. 0 / 52. 5. 0 > libavfilter 1. 80. 0 / 1. 80. 0 > libswscale 0. 14. 1 / 0. 14. 1 > libpostproc 51. 2. 0 / 51. 2. 0 > [mpeg @ 0xa00d5e0] max_analyze_duration 5000000 reached at 5000000 > Input #0, mpeg, from > 'client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg': > Duration: 00:00:59.96, start: 0.240000, bitrate: 4097 kb/s > Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 > [PAR 1:1 DAR 5:4], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc > Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s > [NULL @ 0xa015260] [Eval @ 0xbfb37e6c] Invalid chars ':1' at the end > of expression '1:1' > [NULL @ 0xa015260] Unable to parse option value "1:1" > Invalid value '1:1' for option 'sar' > //---------------------- > > I've also tried putting "sar=1:1" in libx264 baseline preset file, > being greeted with the same error message: > > //---------------------- > ffmpeg -i client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg -s > 500x100 -flags +ilme+ildct -vcodec libx264 -vpre baseline > -deinterlace > -an client/flash/test5-h264_aac-PAR1_1.avi > ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers > built on Jan 28 2012 01:15:36 with gcc 4.4.5 > configuration: --enable-libdc1394 --prefix=/usr > --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared > --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads > --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab > --enable-libgsm --enable-libtheora --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libx264 --enable-libspeex > --enable-nonfree --disable-stripping --enable-avfilter > --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger > --disable-encoder=libschroedinger --enable-version3 > --enable-libopenjpeg --enable-libvpx --enable-librtmp > --extra-libs=-lgcrypt --disable-altivec --disable-armv5te > --disable-armv6 --disable-vis > libavutil 50. 43. 0 / 50. 43. 0 > libavcodec 52.123. 0 / 52.123. 0 > libavformat 52.111. 0 / 52.111. 0 > libavdevice 52. 5. 0 / 52. 5. 0 > libavfilter 1. 80. 0 / 1. 80. 0 > libswscale 0. 14. 1 / 0. 14. 1 > libpostproc 51. 2. 0 / 51. 2. 0 > [mpeg @ 0x9a875e0] max_analyze_duration 5000000 reached at 5000000 > Input #0, mpeg, from > 'client/mpeg-duration/suite/vx-04690_01-026-mencoder.mpg': > Duration: 00:00:59.96, start: 0.240000, bitrate: 4097 kb/s > Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 > [PAR 1:1 DAR 5:4], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc > Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s > [NULL @ 0x9a8f260] [Eval @ 0xbfd4952c] Invalid chars ':1' at the end > of expression '1:1' > [NULL @ 0x9a8f260] Unable to parse option value "1:1" > Invalid value '1:1' for option 'sar' > //----------------------------- > > :( > > Pb > > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From simondaniels23 at gmail.com Thu Apr 19 18:26:16 2012 From: simondaniels23 at gmail.com (Simon Daniels) Date: Thu, 19 Apr 2012 09:26:16 -0700 Subject: [FFmpeg-user] Unable to trim certain MTS files unless I start from 0:00:00 In-Reply-To: References: Message-ID: Thanks Audrey. And apologies to ffmpeg-user as I think my message was sent a few times :-( I'm not seeing the * on my end so I believe that's an email formatting issue. I tried moving the -i to the first argument but I got the same results on the latest GIT HEAD. It only trims correctly if starting from 0. Again, it's only unique to these MTS files off my Panasonic Lumix camera. I've trimmed other MTS files without issues. Users-MacBook-Pro:ffmpeg-HEAD-a4a88fd user$ ./ffmpeg -i 00004.MTS -ss 00:00:01 -t 00:00:25 -threads 3 -acodec copy -vcodec copy "output.MTS" ffmpeg version 0.10.2.git-a4a88fd Copyright (c) 2000-2012 the FFmpeg developers built on Apr 19 2012 09:13:53 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --enable-static --disable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --arch=x86_64 --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot /Developer/SDKs/MacOSX10.7.sdk' libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 70.100 / 2. 70.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 Input #0, mpegts, from '00004.MTS': Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) File 'output.MTS' already exists. Overwrite ? [y/N] y muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'output.MTS': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 0 fps=0.0 q=-1.0 Lsize= 656kB time=00:00:00.00 bitrate= 0.0kbits/s video:0kB audio:586kB global headers:0kB muxing overhead 11.958493% On Thu, Apr 19, 2012 at 1:05 AM, Andrey Utkin < andrey.krieger.utkin at gmail.com> wrote: > 2012/4/19 Simon Daniels : > > Hi guys, > > > > I have a set of .MTS files that I'm trying to trim. If I start at > 0:00:00, > > the output video works fine. But if I start trimmingany time after > 0:00:00, > > the output video is empty. I've used the exact same command line with > other > > .MTS files and had no problem. It seems like something specific to this > > Panasonic Lumix camera. MP4 and MOV files work fine too. > > > > This repros in FFmpeg HEAD-8dfb13e, 0.10.2, and 0.8.3. > > > > Any ideas? Thanks! > > > > Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:01 -t 00:00:25 > -i > > 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* > > What do the * signs mean in cmdline? > > AFAIR, -ss, -t args position matters. Placing them before -i makes > them work without transcoding, and after - with transcoding. Try > second way, it will be more time expensive, but should generally work > better. > If my idea is right, and if you need to avoid transcoding, then > probably your case requires writing tailored application. > > -- > Andrey Utkin > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From bostjan.strojan at gmail.com Thu Apr 19 20:22:17 2012 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Thu, 19 Apr 2012 20:22:17 +0200 Subject: [FFmpeg-user] x264: pixel aspect ratio overriden? In-Reply-To: <8e397cb5266635c12e993351e5db2b14@renecalles.de> References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> <8e397cb5266635c12e993351e5db2b14@renecalles.de> Message-ID: option a: add setsar=1:1 to the end of your filter chain, like for example: -vf "scale=1024:576,setsar=1:1" option b: use aspect flag, like -aspect 1.778 Bo?tjan From salmjuh at hotmail.com Thu Apr 19 09:21:06 2012 From: salmjuh at hotmail.com (juha s.) Date: Thu, 19 Apr 2012 07:21:06 +0000 Subject: [FFmpeg-user] Dumping UDP stream / Dealy Message-ID: Hi Is there a way how to dump MPEG-TS (MPEG2 or h264 format) UDP stream directly to disk? Or is there a way how to transcode same stream on the fly without 5 second dealy before trasncoding is started ? br, jiiiii From andrey.krieger.utkin at gmail.com Thu Apr 19 20:58:55 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Thu, 19 Apr 2012 21:58:55 +0300 Subject: [FFmpeg-user] Dumping UDP stream / Dealy In-Reply-To: References: Message-ID: 2012/4/19 juha s. : > > Hi > > Is there a way how to dump MPEG-TS (MPEG2 or h264 format) UDP stream directly to disk? ?Or is there a way how to transcode same stream on the fly without 5 second dealy before trasncoding is started ? nc -l -u -p $PORT > dump.ts nc is unix utility "netcat". -- Andrey Utkin From eric.mccormick at ymail.com Fri Apr 20 08:47:01 2012 From: eric.mccormick at ymail.com (Eric M.) Date: Thu, 19 Apr 2012 23:47:01 -0700 (PDT) Subject: [FFmpeg-user] AC3 audio in mpg leads to strange results Message-ID: <1334904421927-4573018.post@n4.nabble.com> Hello, I'm trying to cut a MPG file recorded from DVB-C. It contains one video and two audio streams, one being mp2 and the other one ac3. Everything works as expected with only the mp2 stream, but if I include the ac3 stream, the resulting file plays without audio in VLC and there are 17 audio tracks and 13 subtitle tracks to choose from (there should be one audio track and no subtitle tracks). In my input file, both audio tracks are working. Here's the output I get: ------------------------------------------------------------------------------- d:\ffmpeg -i in.mpg -ss 00:00:00.00 -t 00:00:05.00 -vcodec copy -acodec copy -map 0:0 -map 0:1 out.mpg ffmpeg version N-39877-g4fa706a Copyright (c) 2000-2012 the FFmpeg developers built on Apr 16 2012 14:53:47 with gcc 4.6.3 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable- libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e nable-zlib libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 70.100 / 2. 70.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [mpeg @ 01d9be80] max_analyze_duration 5000000 reached at 5016000 Input #0, mpeg, from 'in.mpg': Duration: 00:27:59.34, start: 1.694456, bitrate: 6522 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DA R 16:9], 10000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s Stream #0:2[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 160 kb/s Output #0, mpeg, to 'out.mpg': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-3 1, 10000 kb/s, 25 fps, 90k tbn, 25 tbc Stream #0:1: Audio: ac3, 48000 Hz, stereo, 448 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 12 fps=0.0 q=-1.0 size= 224kB time=00:00:00.51 bitrate=3568.4kbits/ frame= 121 fps=0.0 q=-1.0 Lsize= 3768kB time=00:00:05.02 bitrate=6142.1kbits /s video:3475kB audio:273kB global headers:0kB muxing overhead 0.521334% ------------------------------------------------------------------------------- Everything works fine if I save my output file as .ts or .mkv. MP4 fails ("codec frame size is not set"), but that's another problem. Does anybody know what could be the problem? -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/AC3-audio-in-mpg-leads-to-strange-results-tp4573018p4573018.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From pb at das-werkstatt.com Fri Apr 20 08:58:19 2012 From: pb at das-werkstatt.com (Peter B.) Date: Fri, 20 Apr 2012 08:58:19 +0200 Subject: [FFmpeg-user] x264: pixel aspect ratio overriden? In-Reply-To: References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> <8e397cb5266635c12e993351e5db2b14@renecalles.de> Message-ID: <4F91090B.5050308@das-werkstatt.com> On 04/19/2012 08:22 PM, Bo?tjan Strojan wrote: > option a: > > add setsar=1:1 to the end of your filter chain, like for example: > > -vf "scale=1024:576,setsar=1:1" > > option b: > > use aspect flag, like -aspect 1.778 > @Ren?: I've tried sar=1/1 as well as sar=1. Both options are ignored and x264 still assigns SAR=1/4. @Bo?tjan: Will try that. Thanks! Pb From cehoyos at ag.or.at Fri Apr 20 13:11:02 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 20 Apr 2012 11:11:02 +0000 (UTC) Subject: [FFmpeg-user] AC3 audio in mpg leads to strange results References: <1334904421927-4573018.post@n4.nabble.com> Message-ID: Eric M. ymail.com> writes: > I'm trying to cut a MPG file recorded from DVB-C. It contains one > video and two audio streams, one being mp2 and the other one ac3. > > Everything works as expected with only the mp2 stream, but if I > include the ac3 stream, the resulting file plays without audio > in VLC and there are 17 audio tracks and 13 subtitle tracks to > choose from (there should be one audio track and no subtitle tracks). Does the input file work with vlc? If not, I would assume a vlc problem. Carl Eugen From oussama.stiti at gmail.com Fri Apr 20 14:12:06 2012 From: oussama.stiti at gmail.com (Oussama Stiti) Date: Fri, 20 Apr 2012 21:12:06 +0900 Subject: [FFmpeg-user] Couldn't analyze a RTP streaming video Message-ID: Hi, I am using VLC player, to stream a video on rtp://127.0.0.1, and i want to analyze it with ffprobe or ffmpeg, but i have always the same message error. These two commands: >ffprobe -show_frames -pretty rtp://127.0.0.1:5004 >ffmpeg -loglevel warning -i rtp://127.0.0.1:5004 -dump -f null Gime the same result: [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [rtp @ 0xa54eaa0] Invalid timestamps stream=0, pts=2026198778, dts=2026199081, size=1610 [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! [h264 @ 0xa553500] non-existing PPS referenced [h264 @ 0xa553500] non-existing PPS 0 referenced [h264 @ 0xa553500] decode_slice_header error [h264 @ 0xa553500] no frame! What's wrong ?? Regards -- *Oussama Stiti* ?l?ve ing?nieur en t?l?communications ? Sup'com (?cole sup?rieure des communications de Tunis) T?l: +21652363164 E-mail: oussama.stiti at gmail.com From eric.mccormick at ymail.com Fri Apr 20 14:09:28 2012 From: eric.mccormick at ymail.com (Eric M.) Date: Fri, 20 Apr 2012 05:09:28 -0700 (PDT) Subject: [FFmpeg-user] AC3 audio in mpg leads to strange results In-Reply-To: References: <1334904421927-4573018.post@n4.nabble.com> Message-ID: <1334923768543-4573705.post@n4.nabble.com> Carl Eugen Hoyos wrote: > Does the input file work with vlc? > If not, I would assume a vlc problem. Yes, the input file plays without any problems in VLC. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/AC3-audio-in-mpg-leads-to-strange-results-tp4573018p4573705.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From andrey.krieger.utkin at gmail.com Fri Apr 20 15:25:06 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Fri, 20 Apr 2012 16:25:06 +0300 Subject: [FFmpeg-user] Couldn't analyze a RTP streaming video In-Reply-To: References: Message-ID: 2012/4/20 Oussama Stiti : > What's wrong ?? If i guess right that is RTP packets arriving to your local host by UDP. Reading such stream may fail in case of reading from UDP socket far slower than new data arrives. Figuring out incoming traffic bitrate may help checking this point. -- Andrey Utkin From lampis.apostolidis at gmail.com Fri Apr 20 15:56:26 2012 From: lampis.apostolidis at gmail.com (Lampis Apostolidis) Date: Fri, 20 Apr 2012 16:56:26 +0300 Subject: [FFmpeg-user] Motion Vectors and DC coefficients Message-ID: I?m trying to decode an mp4 stream to its frames and extract information about Motion Vectors and DC coefficients for each MB of the frames. Section 4.11 on ffmpeg.org/ffmpeg.html#Advanced-Video-Options describes how to print specific debug info containing information about DC coefficients (-debug dc_coeff) and motion vectors (-debug mv). What is the appropriate syntax for command line execution? From oussama.stiti at gmail.com Fri Apr 20 16:01:08 2012 From: oussama.stiti at gmail.com (Oussama Stiti) Date: Fri, 20 Apr 2012 23:01:08 +0900 Subject: [FFmpeg-user] Couldn't analyze a RTP streaming video In-Reply-To: References: Message-ID: I don't use UDP packetization, just RTP/MPEG Transport Stream. I think that mpegts is not supported by ffmpeg when reading the data flow. From nichot20 at yahoo.com Fri Apr 20 16:31:27 2012 From: nichot20 at yahoo.com (Tim Nicholson) Date: Fri, 20 Apr 2012 15:31:27 +0100 Subject: [FFmpeg-user] Unexpected results from the "idet" filter Message-ID: <4F91733F.3060600@yahoo.com> I have been having a play around with the idet filter and come across some unexpected results. In summary it seems to work well *provided* that the source stream can be interpreted without any auto insertion of a scale 0 filter to change the pix_fmt. For example:- =================================================================== ffmpeg -i AVCiHD-short-mute.mov -an -vf idet -c:v rawvideo -an -y -f rawvideo /dev/null ffmpeg version N-39947-gd833fea-by_Tim Copyright (c) 2000-2012 the FFmpeg developers built on Apr 20 2012 09:49:58 with gcc 4.6.2 configuration: --extra-version=by_Tim --enable-static --disable-shared --enable-gpl --enable-nonfree --enable-version3 --prefix=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local --libdir=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64 --samples=../fate-suite/ --enable-runtime-cpudetect --extra-cflags='-static -I/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/include' --extra-ldflags='-static -L/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64' --progs-suffix=_Apr-20 --enable-libfaac --enable-libx264 --enable-libfreetype --disable-ffplay libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 70.100 / 2. 70.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AVCiHD-short-mute.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf54.3.100 Duration: 00:00:03.00, start: 0.000000, bitrate: 113667 kb/s Stream #0:0(eng): Video: h264 (High 4:2:2 Intra) (avc1 / 0x31637661), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], 113664 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: handler_name : DataHandler [buffer @ 0x17d0320] w:1920 h:1080 pixfmt:yuv422p10le tb:1/1000000 sar:1/1 sws_param:flags=2 [buffersink @ 0x17d0840] No opaque field provided Output #0, rawvideo, to '/dev/null': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf54.3.100 Stream #0:0(eng): Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc Metadata: handler_name : DataHandler Stream mapping: Stream #0:0 -> #0:0 (h264 -> rawvideo) Press [q] to stop, [?] for help AV Filter told us it has a frame available but failed to output one 0.0kbits/s frame= 74 fps= 10 q=0.0 Lsize= 0kB time=00:00:02.96 bitrate= 0.0kbits/s video:599400kB audio:0kB global headers:0kB muxing overhead -100.000000% [idet @ 0x17d10a0] Single frame detection: TFF:32 BFF:0 Progressive:0 Undetermined:42 [idet @ 0x17d10a0] Multi frame detection: TFF:58 BFF:0 Progressive:0 Undetermined:16 =================================================================== But when a scale filter is auto inserted:- =================================================================== ffmpeg -i AVCiHD-short-mute.mov -an -vf idet -c:v rawvideo -pix_fmt yuv420p -an -y -f rawvideo /dev/null ffmpeg version N-39947-gd833fea-by_Tim Copyright (c) 2000-2012 the FFmpeg developers [...] [buffer @ 0x17dbe40] w:1920 h:1080 pixfmt:yuv422p10le tb:1/1000000 sar:1/1 sws_param:flags=2 [idet @ 0x17d1140] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'Parsed_idet_0' [scale @ 0x17d1e00] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x4 [...] video:224775kB audio:0kB global headers:0kB muxing overhead -100.000000% [idet @ 0x17d1140] Single frame detection: TFF:0 BFF:0 Progressive:0 Undetermined:74 [idet @ 0x17d1140] Multi frame detection: TFF:0 BFF:0 Progressive:0 Undetermined:74 ===================================================================== Also the pix_fmt type seems to affect the detection accuracy, the same source material converted to DV:- =================================================================== ffmpeg -i DV-short.mov -an -vf idet -c:v rawvideo -an -y -f rawvideo /dev/null ffmpeg version N-39947-gd833fea-by_Tim Copyright (c) 2000-2012 the FFmpeg developers built on Apr 20 2012 09:49:58 with gcc 4.6.2 [...] Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 28800 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc [...] video:44955kB audio:0kB global headers:0kB muxing overhead -100.000000% [idet @ 0x17d0d60] Single frame detection: TFF:68 BFF:0 Progressive:0 Undetermined:6 [idet @ 0x17d0d60] Multi frame detection: TFF:73 BFF:0 Progressive:0 Undetermined:1 =================================================================== Note the improved detection. Also whilst down coverting the pix_fmt seems to completely nobble the filter, up converting only slightly impairs its performance:- =================================================================== ffmpeg -i DV-short.mov -an -vf idet -c:v rawvideo -pix_fmt yuv422p -an -y -f rawvideo /dev/null ffmpeg version N-39947-gd833fea-by_Tim Copyright (c) 2000-2012 the FFmpeg developers [...] [buffer @ 0x17db580] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:flags=2 [idet @ 0x17d0ea0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'Parsed_idet_0' [scale @ 0x17d1b60] w:720 h:576 fmt:yuv420p sar:64/45 -> w:720 h:576 fmt:yuv422p sar:64/45 flags:0x4 [...] video:59940kB audio:0kB global headers:0kB muxing overhead -100.000000% [idet @ 0x17d0ea0] Single frame detection: TFF:47 BFF:0 Progressive:0 Undetermined:27 [idet @ 0x17d0ea0] Multi frame detection: TFF:58 BFF:0 Progressive:0 Undetermined:16 =================================================================== I do not know if these figures indicate a limitation of the idet filter, or the way that pix_fmt conversion is applied. Interestingly replacing the auto inserted filters with a manual "scale=0:0:interl=1" to force the scaler into interlace mode makes no difference to the results.... -- Tim From cehoyos at ag.or.at Fri Apr 20 16:58:39 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 20 Apr 2012 14:58:39 +0000 (UTC) Subject: [FFmpeg-user] Unexpected results from the "idet" filter References: <4F91733F.3060600@yahoo.com> Message-ID: Tim Nicholson yahoo.com> writes: > Also whilst down coverting the pix_fmt seems to completely nobble the > filter, up converting only slightly impairs its performance:- My uneducated guess would be that this is expected. Thank you for your tests! Carl Eugen From nichot20 at yahoo.com Fri Apr 20 17:35:21 2012 From: nichot20 at yahoo.com (Tim Nicholson) Date: Fri, 20 Apr 2012 16:35:21 +0100 Subject: [FFmpeg-user] Unexpected results from the "idet" filter In-Reply-To: References: <4F91733F.3060600@yahoo.com> Message-ID: <4F918239.7040800@yahoo.com> On 20/04/12 15:58, Carl Eugen Hoyos wrote: > Tim Nicholson yahoo.com> writes: > >> Also whilst down coverting the pix_fmt seems to completely nobble the >> filter, up converting only slightly impairs its performance:- > > My uneducated guess would be that this is expected. > Fine, I was somewhat surprised that although it was nobbled when the scale filter was "in circuit". The same material pre-coded to the downsampled version actually produce better results than the original. I think the moral is "use with care". > Thank you for your tests! My pleasure. > > Carl Eugen > -- Tim From andyqos at ukfsn.org Fri Apr 20 19:28:01 2012 From: andyqos at ukfsn.org (Andy Furniss) Date: Fri, 20 Apr 2012 18:28:01 +0100 Subject: [FFmpeg-user] ... invalid, non monotonically increasing dts... with yadif=1 Message-ID: <4F919CA1.6090500@ukfsn.org> Apologies in advance if I am doing something stupid or no one else can recreate. This (19meg) possibly broken (but plays OK) mpeg2 transport stream will fail transcoding if I try to make 50fps with yadif=1, but works OK with yadif=0. Full output of both below. http://www.andyqos.ukfsn.org/non-mon-dts-with-yadif1.ts bash-3.2$ ffmpeg -i non-mon-dts-with-yadif1.ts -sn -loglevel verbose -vf yadif=1 -acodec copy -vcodec libx264 -crf 23 -threads 1 -r 50 test.mkv ffmpeg version N-40006-g4a80ebe Copyright (c) 2000-2012 the FFmpeg developers built on Apr 20 2012 17:55:51 with gcc 4.5.1 configuration: --prefix=/usr --enable-gpl --enable-libx264 --enable-libfaac --enable-nonfree libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 71.101 / 2. 71.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [mpegts @ 0xa62b380] max_analyze_duration 5000000 reached at 5016000 [mpegts @ 0xa62b380] PES packet size mismatch Last message repeated 2 times Input #0, mpegts, from 'non-mon-dts-with-yadif1.ts': Duration: 00:00:40.14, start: 94437.027178, bitrate: 3836 kb/s Program 1 Stream #0:0[0x44](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, mono, s16, 64 kb/s Stream #0:1[0x45](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x46]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:3[0x47](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) [buffer @ 0xa631560] w:704 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/11 sws_param:flags=2 [yadif @ 0xa6736c0] mode:1 parity:-1 auto_enable:0 [libx264 @ 0xa630b00] using SAR=16/11 [libx264 @ 0xa630b00] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT [libx264 @ 0xa630b00] profile High, level 3.1 [libx264 @ 0xa630b00] 264 - core 122 r2184 5c85e0a - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to 'test.mkv': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: h264, yuv420p, 704x576 [SAR 16:11 DAR 16:9], q=-1--1, 1k tbn, 50 tbc Stream #0:1(eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:2 -> #0:0 (mpeg2video -> libx264) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help non-strictly-monotonic PTS size= 5228kB time=00:00:10.46 bitrate=4094.3kbits/s Application provided invalid, non monotonically increasing dts to muxer in stream 0: 11380 >= 11380 av_interleaved_write_frame(): Invalid argument bash-3.2$ bash-3.2$ bash-3.2$ bash-3.2$ bash-3.2$ ffmpeg -i non-mon-dts-with-yadif1.ts -sn -loglevel verbose -vf yadif=0 -acodec copy -vcodec libx264 -crf 23 -threads 1 -r 25 test.mkv ffmpeg version N-40006-g4a80ebe Copyright (c) 2000-2012 the FFmpeg developers built on Apr 20 2012 17:55:51 with gcc 4.5.1 configuration: --prefix=/usr --enable-gpl --enable-libx264 --enable-libfaac --enable-nonfree libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 71.101 / 2. 71.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [mpegts @ 0x92f3380] max_analyze_duration 5000000 reached at 5016000 [mpegts @ 0x92f3380] PES packet size mismatch Last message repeated 2 times Input #0, mpegts, from 'non-mon-dts-with-yadif1.ts': Duration: 00:00:40.14, start: 94437.027178, bitrate: 3836 kb/s Program 1 Stream #0:0[0x44](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, mono, s16, 64 kb/s Stream #0:1[0x45](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 192 kb/s Stream #0:2[0x46]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:3[0x47](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) File 'test.mkv' already exists. Overwrite ? [y/N] y w:704 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/11 sws_param:flags=2 [yadif @ 0x933b6c0] mode:0 parity:-1 auto_enable:0 [libx264 @ 0x92f8b00] using SAR=16/11 [libx264 @ 0x92f8b00] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT [libx264 @ 0x92f8b00] profile High, level 3.0 [libx264 @ 0x92f8b00] 264 - core 122 r2184 5c85e0a - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to 'test.mkv': Metadata: encoder : Lavf54.3.100 Stream #0:0: Video: h264, yuv420p, 704x576 [SAR 16:11 DAR 16:9], q=-1--1, 1k tbn, 25 tbc Stream #0:1(eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0:2 -> #0:0 (mpeg2video -> libx264) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help PES packet size mismatch.0 size= 15239kB time=00:00:37.96 bitrate=3288.7kbits/s [mpegts @ 0x92f3380] PES packet size mismatch [mpeg2video @ 0x932ee00] ac-tex damaged at 38 14 [mpeg2video @ 0x932ee00] Warning MVs not available [mpeg2video @ 0x932ee00] concealing 968 DC, 968 AC, 968 MV errors AV Filter told us it has a frame available but failed to output one frame= 979 fps= 14 q=28.0 Lsize= 15783kB time=00:00:40.00 bitrate=3232.4kbits/s video:14827kB audio:937kB global headers:0kB muxing overhead 0.123132% [libx264 @ 0x92f8b00] frame I:6 Avg QP:23.30 size: 58220 [libx264 @ 0x92f8b00] frame P:493 Avg QP:26.00 size: 23950 [libx264 @ 0x92f8b00] frame B:480 Avg QP:30.44 size: 6303 [libx264 @ 0x92f8b00] consecutive B-frames: 1.9% 98.1% 0.0% 0.0% [libx264 @ 0x92f8b00] mb I I16..4: 6.9% 61.3% 31.8% [libx264 @ 0x92f8b00] mb P I16..4: 1.5% 5.6% 1.3% P16..4: 41.8% 25.3% 16.1% 0.0% 0.0% skip: 8.4% [libx264 @ 0x92f8b00] mb B I16..4: 0.2% 0.5% 0.1% B16..8: 45.4% 9.0% 2.4% direct: 5.3% skip:37.1% L0:41.5% L1:40.6% BI:17.9% [libx264 @ 0x92f8b00] 8x8 transform intra:65.4% inter:68.6% [libx264 @ 0x92f8b00] coded y,uvDC,uvAC intra: 71.8% 53.1% 19.3% inter: 39.2% 18.0% 3.1% [libx264 @ 0x92f8b00] i16 v,h,dc,p: 33% 34% 23% 10% [libx264 @ 0x92f8b00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 16% 27% 4% 6% 7% 6% 6% 5% [libx264 @ 0x92f8b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 12% 5% 9% 10% 8% 7% 6% [libx264 @ 0x92f8b00] i8c dc,h,v,p: 56% 20% 21% 3% [libx264 @ 0x92f8b00] Weighted P-Frames: Y:4.3% UV:1.6% [libx264 @ 0x92f8b00] ref P L0: 62.3% 16.2% 14.2% 7.1% 0.2% [libx264 @ 0x92f8b00] ref B L0: 77.2% 22.8% [libx264 @ 0x92f8b00] kb/s:3101.60 From cehoyos at ag.or.at Fri Apr 20 20:07:51 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 20 Apr 2012 18:07:51 +0000 (UTC) Subject: [FFmpeg-user] AC3 audio in mpg leads to strange results References: <1334904421927-4573018.post@n4.nabble.com> Message-ID: Eric M. ymail.com> writes: > Everything works as expected with only the mp2 stream, > but if I include the ac3 stream, the resulting file plays > without audio in VLC and there are 17 audio tracks and 13 > subtitle tracks to choose from (there should be one audio > track and no subtitle tracks). Do you get different results with 0.10 ? Carl Eugen From dan.desjardins at wxc.com Sat Apr 21 19:40:17 2012 From: dan.desjardins at wxc.com (destek) Date: Sat, 21 Apr 2012 10:40:17 -0700 (PDT) Subject: [FFmpeg-user] create movie from stills with interframe mix Message-ID: <1335030017428-4576804.post@n4.nabble.com> Ok - not sure if it is possible. I make movies from a collection of individual frames. That works great - no problems. What I would like to try to do though is have ffmpeg blend the two adjacent frames to create a middle frame between each of the individual images. So it would be [image1][image1 & image2 blended][image 2][image 2 & image3 blended][image3]... and so on... Is this feasible? -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/create-movie-from-stills-with-interframe-mix-tp4576804p4576804.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From Tomas at rendertom.com Sat Apr 21 16:29:59 2012 From: Tomas at rendertom.com (Tomas Sinkunas) Date: Sat, 21 Apr 2012 07:29:59 -0700 (PDT) Subject: [FFmpeg-user] ProRes (LT) Quicktimes: Good for Windows. Not so good for Mac. In-Reply-To: References: <4F68F4F9.3040504@gmx.de> Message-ID: <1335018599188-4576511.post@n4.nabble.com> yeap, regarding that ffmpeg-ProRez conversion I do have problems as well. For me not only ProRez files are not recognized in FCP, but Animation files as well. FCP timeline shows correct codec, but there's green line above video that indicates that file needs to be rendered. Oh, and I render without audio, only video. Have no idea how to fix it unfortunatly:( -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/ProRes-LT-Quicktimes-Good-for-Windows-Not-so-good-for-Mac-tp4490375p4576511.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From openworld at uralweb.ru Sat Apr 21 20:53:23 2012 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Sun, 22 Apr 2012 00:53:23 +0600 Subject: [FFmpeg-user] create movie from stills with interframe mix References: <1335030017428-4576804.post@n4.nabble.com> Message-ID: <001201cd1ff0$1cb46950$0300a8c0@mainframe> From: "destek" > So it would be [image1][image1 & image2 blended][image 2][image 2 & image3 > blended][image3]... and so on... > Is this feasible? Do you want to make a "blend" transition between the _source_still_images_? Or what does it mean [image1 & image2..]? If yes, then why not to do the job without ffmpeg? Just combine two bitmaps -- it's very easy to do it using any programming language. HTH! From ddesjardins at wxc.com Sat Apr 21 21:13:46 2012 From: ddesjardins at wxc.com (Dan Desjardins) Date: Sat, 21 Apr 2012 13:13:46 -0600 Subject: [FFmpeg-user] create movie from stills with interframe mix Message-ID: <006c01cd1ff2$e778f96a$390111ac@wxc.com> Oh my! You are absolutely RIGHT! I ca just create the blended frames myself then just order the list! Dub! Thanks for the much needed wake up slap! Sent from my Android assistant Alexander Bokovikov wrote: From: "destek" > So it would be [image1][image1 & image2 blended][image 2][image 2 & image3 > blended][image3]... and so on... > Is this feasible? Do you want to make a "blend" transition between the _source_still_images_? Or what does it mean [image1 & image2..]? If yes, then why not to do the job without ffmpeg? Just combine two bitmaps -- it's very easy to do it using any programming language. HTH! _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user CONFIDENTIALITY: The information contained in this document is intended only for the personal and confidential use of the designated recipient(s). If the reader of this document is not the intended recipient or any agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error, and that any review, dissemination, distribution or copying of this message or use of its contents is strictly prohibited. If you have received this communication in error, please notify the sender immediately, and delete it from your network server and/or hard drive. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Weather Central, LP accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Weather Central, LP therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. From andrey.krieger.utkin at gmail.com Mon Apr 23 10:26:41 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Mon, 23 Apr 2012 11:26:41 +0300 Subject: [FFmpeg-user] create movie from stills with interframe mix In-Reply-To: <006c01cd1ff2$e778f96a$390111ac@wxc.com> References: <006c01cd1ff2$e778f96a$390111ac@wxc.com> Message-ID: 2012/4/21 Dan Desjardins : > Oh my! ?You are absolutely RIGHT! ?I ca just create the blended frames > myself then just order the list! ?Dub! ?Thanks for the much needed wake up > slap! I think this would be nice AVFilter... Dan, if you feel able to contribute your programming efforts to implement the feature you talk about, into ffmpeg libraries, you can request for help and advices on ffmpeg-devel at ffmpeg.org maillist. -- Andrey Utkin From kshawkeye at gmail.com Mon Apr 23 11:06:00 2012 From: kshawkeye at gmail.com (Kyle) Date: Mon, 23 Apr 2012 05:06:00 -0400 Subject: [FFmpeg-user] Missing .lib Files Break "make install" Message-ID: <4F951B78.60205@gmail.com> Hello, Does anyone know why FFmpeg is forced to fail installing if the .lib files are not found on a Windows machine? The .lib files are not needed to have a fully functioning FFmpeg, yet FFmpeg will fail to install if the .lib files are not made. When cross compiling, it's a pain to install Wine, lib.exe, and C++ Redistributable files just to build unneeded .lib files. The .lib files can be useful in a Windows setting, but they should not be required in order to install a successful FFmpeg build. Best regards, Kyle Schwarz From pb at das-werkstatt.com Mon Apr 23 11:38:11 2012 From: pb at das-werkstatt.com (Peter B.) Date: Mon, 23 Apr 2012 11:38:11 +0200 Subject: [FFmpeg-user] x264: pixel aspect ratio overriden? In-Reply-To: <4F91090B.5050308@das-werkstatt.com> References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> <8e397cb5266635c12e993351e5db2b14@renecalles.de> <4F91090B.5050308@das-werkstatt.com> Message-ID: <20120423113811.11496654z0b4djb7@webmail.tuwien.ac.at> Quoting "Peter B." : > On 04/19/2012 08:22 PM, Bo?tjan Strojan wrote: >> option a: >> >> add setsar=1:1 to the end of your filter chain, like for example: >> >> -vf "scale=1024:576,setsar=1:1" >> >> option b: >> >> use aspect flag, like -aspect 1.778 >> > > @Bo?tjan: > Will try that. Thanks! It worked! Using the videofiler "-vf" argument for scaling and SAR works perfectly! Thank you very much for that hint. Here is the commandline I'm now using for rescaling anamorphic 5:4 back to 16:9 with SAR=1:1: //---------------- ffmpeg -i input.mpg -flags +ilme+ildct -vcodec libx264 -deinterlace -vf "scale=720:400,setsar=1:1" -acodec libfaac -b 850k -ab 128k test-SAR1_1.flv //---------------- In case someone would avoid pixel resizing, here's a solution for dynamic resizing on the player side, using the "setdar" vf-option: //---------------- ffmpeg -i input.mpg -flags +ilme+ildct -vcodec libx264 -deinterlace -vf "scale=720:576,setdar=16:9" -acodec libfaac -b 850k -ab 128k test-DAR16_9.flv //---------------- Thanks again, Pb From Ajita-Pandey at hcl.com Mon Apr 23 11:45:43 2012 From: Ajita-Pandey at hcl.com (Ajita Pandey) Date: Mon, 23 Apr 2012 15:15:43 +0530 Subject: [FFmpeg-user] Problem Occur while transcoding aac audio stream in to dts In-Reply-To: <20120423113811.11496654z0b4djb7@webmail.tuwien.ac.at> References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> <8e397cb5266635c12e993351e5db2b14@renecalles.de> <4F91090B.5050308@das-werkstatt.com> <20120423113811.11496654z0b4djb7@webmail.tuwien.ac.at> Message-ID: <45F3FDEC759D21468F1F910D2B1CC43BC58AC45D57@NDA-HCLT-EVS04.HCLT.CORP.HCL.IN> Hi, While transcoding an aac audio stream in dts audio stream it gives an error. Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Can any one suggest how can I transcode this audio stream ???? Regards, Ajita ::DISCLAIMER:: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, Modification, distribution and/or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- From daverice at mac.com Mon Apr 23 12:51:53 2012 From: daverice at mac.com (Dave Rice) Date: Mon, 23 Apr 2012 06:51:53 -0400 Subject: [FFmpeg-user] ProRes (LT) Quicktimes: Good for Windows. Not so good for Mac. In-Reply-To: <1335018599188-4576511.post@n4.nabble.com> References: <4F68F4F9.3040504@gmx.de> <1335018599188-4576511.post@n4.nabble.com> Message-ID: <5F216692-A34D-4510-B884-6020E1BE976C@mac.com> Hi Tomas, On Apr 21, 2012, at 10:29 AM, Tomas Sinkunas wrote: > yeap, regarding that ffmpeg-ProRez conversion I do have problems as well. > For me not only ProRez files are not recognized in FCP, but Animation files > as well. > FCP timeline shows correct codec, but there's green line above video that > indicates that file needs to be rendered. Oh, and I render without audio, > only video. > > Have no idea how to fix it unfortunatly:( I haven't had a chance to replicate this, but have you looked at the file attributes as potentially causing the issue. See this post from last year: https://lists.libav.org/pipermail/ffmpeg-user/2011-February/029027.html. Once the kMDItemFSCreatorCode and kMDItemFSTypeCode were explicitly set with SetFile on a Mac then Final Cut became more friendly at handling an ffmpeg output. Dave Rice From dzedward at gmail.com Mon Apr 23 15:52:43 2012 From: dzedward at gmail.com (Damon Edwards) Date: Mon, 23 Apr 2012 06:52:43 -0700 Subject: [FFmpeg-user] video to image seq. back to video - keep same length Message-ID: I have a process that spits out an image sequence then recompiles that into a video, but it's always a little longer - 30 second video comes back as 36 seconds. I'm applying the same framerate and bitrate of the original video, but it's always longer. Is there a way to do this? From renaux.jacky at orange.fr Mon Apr 23 16:39:23 2012 From: renaux.jacky at orange.fr (jacky) Date: Mon, 23 Apr 2012 16:39:23 +0200 Subject: [FFmpeg-user] sound level Message-ID: <4F95699B.9090508@orange.fr> Hi folks I am raising a question and a request regarding sound level using quite often FFMPEG (thanks, this is very powerfull and full of options). Have already more than 100 * 90 minutes flash files on my red5 server and facing a sound volume normalization I already got insight from this forum and using lame to tell the gain and back to ffmpeg setting the volume question: is there a more easiest method (encoding - demuxing - decode to wave - calculate the volume - fixe the volume and remux ) request: could ffmpeg be able to tell on the log file what is the gain ? (as lame is giving ) it would simplify the full process in (encoding - demux - fixe the volume and remux) many thanks for your insights cheers jacky From cehoyos at ag.or.at Mon Apr 23 16:42:54 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 23 Apr 2012 14:42:54 +0000 (UTC) Subject: [FFmpeg-user] Missing .lib Files Break "make install" References: <4F951B78.60205@gmail.com> Message-ID: Kyle gmail.com> writes: > Does anyone know why FFmpeg is forced to fail installing if the .lib > files are not found on a Windows machine? > > The .lib files are not needed to have a fully functioning FFmpeg, yet > FFmpeg will fail to install if the .lib files are not made. I suspect a tested patch that removes the requirement would be very welcome (don't forget most developers cannot test on Windows). Carl Eugen From cehoyos at ag.or.at Mon Apr 23 16:43:41 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 23 Apr 2012 14:43:41 +0000 (UTC) Subject: [FFmpeg-user] video to image seq. back to video - keep same length References: Message-ID: Damon Edwards gmail.com> writes: > I have a process that spits out an image sequence then recompiles that into > a video, but it's always a little longer - 30 second video comes back as 36 > seconds. Command lines and complete, uncut console output missing. Carl Eugen From cehoyos at ag.or.at Mon Apr 23 16:47:14 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 23 Apr 2012 14:47:14 +0000 (UTC) Subject: [FFmpeg-user] Problem Occur while transcoding aac audio stream in to dts References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> <8e397cb5266635c12e993351e5db2b14@renecalles.de> <4F91090B.5050308@das-werkstatt.com> <20120423113811.11496654z0b4djb7@webmail.tuwien.ac.at> <45F3FDEC759D21468F1F910D2B1CC43BC58AC45D57@NDA-HCLT-EVS04.HCLT.CORP.HCL.IN> Message-ID: Ajita Pandey hcl.com> writes: > While transcoding an aac audio stream in dts audio stream it > gives an error. You do realise that the dts encoder is very, very experimental and probably not useful for real-world encoding? > Error while opening encoder for output stream #0:0 - maybe > incorrect parameters such as bit_rate, rate,width or height Command line and complete, uncut console output missing. > The contents of this e-mail and any attachment(s) are confidential I hope you understand that this is not just quite useless on a public mailing list. Please do not break threads, it is considered rude, Carl Eugen From Ajita-Pandey at hcl.com Mon Apr 23 17:13:47 2012 From: Ajita-Pandey at hcl.com (Ajita Pandey) Date: Mon, 23 Apr 2012 20:43:47 +0530 Subject: [FFmpeg-user] Problem Occur while transcoding aac audio stream in to dts In-Reply-To: References: <20120419144038.607470ci7c54m18m@webmail.tuwien.ac.at> <20120419153508.19117inxfwt8mvf0@webmail.tuwien.ac.at> <8e397cb5266635c12e993351e5db2b14@renecalles.de> <4F91090B.5050308@das-werkstatt.com> <20120423113811.11496654z0b4djb7@webmail.tuwien.ac.at> <45F3FDEC759D21468F1F910D2B1CC43BC58AC45D57@NDA-HCLT-EVS04.HCLT.CORP.HCL.IN> Message-ID: <45F3FDEC759D21468F1F910D2B1CC43BC5BE7A952C@NDA-HCLT-EVS04.HCLT.CORP.HCL.IN> Hi, Thanxx for reply . yes I know its an experimental encoder but its encoded ac3, mp3 file successfully but problem occurs only with aac format. Is it any limitation for aac audio format. Regards, Ajita -----Original Message----- From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos Sent: Monday, April 23, 2012 8:17 PM To: ffmpeg-user at ffmpeg.org Subject: Re: [FFmpeg-user] Problem Occur while transcoding aac audio stream in to dts Ajita Pandey hcl.com> writes: > While transcoding an aac audio stream in dts audio stream it > gives an error. You do realise that the dts encoder is very, very experimental and probably not useful for real-world encoding? > Error while opening encoder for output stream #0:0 - maybe > incorrect parameters such as bit_rate, rate,width or height Command line and complete, uncut console output missing. > The contents of this e-mail and any attachment(s) are confidential I hope you understand that this is not just quite useless on a public mailing list. Please do not break threads, it is considered rude, Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ::DISCLAIMER:: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, Modification, distribution and/or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- From dzedward at gmail.com Mon Apr 23 17:21:29 2012 From: dzedward at gmail.com (Damon Edwards) Date: Mon, 23 Apr 2012 08:21:29 -0700 Subject: [FFmpeg-user] video to image seq. back to video - keep same length In-Reply-To: References: Message-ID: Sorry: *to image sequence:* ffmpeg -i ' . $video_dir . $filename . '.mp4 -sameq ' . $image_dir . '/%11d.jpg *apply filters to images via PHP here* *back to video:* ffmpeg -f image2 -i ' . $image_dir . '/%11d-' . $filter . '.jpg -vcodec libx264 -b ' . $bitrate . ' -r ' . $framerate . ' -vpre lossless_fast ' . $video_dir . $filename . '-' . $unique . '-' . $filter . '.mp4 I execute this via PHP exec(). On Mon, Apr 23, 2012 at 7:43 AM, Carl Eugen Hoyos wrote: > Damon Edwards gmail.com> writes: > > > I have a process that spits out an image sequence then recompiles that > into > > a video, but it's always a little longer - 30 second video comes back as > 36 > > seconds. > > Command lines and complete, uncut console output missing. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- Damon Edwards gplus.to/damonedwards From andrey.krieger.utkin at gmail.com Mon Apr 23 17:34:54 2012 From: andrey.krieger.utkin at gmail.com (Andrey Utkin) Date: Mon, 23 Apr 2012 18:34:54 +0300 Subject: [FFmpeg-user] video to image seq. back to video - keep same length In-Reply-To: References: Message-ID: 2012/4/23 Damon Edwards : > Sorry: > > *to image sequence:* > ffmpeg -i ' . $video_dir . $filename . '.mp4 -sameq ' . $image_dir . > '/%11d.jpg > > *apply filters to images via PHP here* > > *back to video:* > ffmpeg -f image2 -i ' . $image_dir . '/%11d-' . $filter . '.jpg -vcodec > libx264 -b ' . $bitrate . ' -r ' . $framerate . ' -vpre lossless_fast ' . > $video_dir . $filename . '-' . $unique . '-' . $filter . '.mp4 > > I execute this via PHP exec(). Ffmpeg output still missing. I guess your video has frame rate different from 25. image2 demuxer assumes framerate 25 by default. -- Andrey Utkin From dzedward at gmail.com Mon Apr 23 17:45:01 2012 From: dzedward at gmail.com (Damon Edwards) Date: Mon, 23 Apr 2012 08:45:01 -0700 Subject: [FFmpeg-user] video to image seq. back to video - keep same length In-Reply-To: References: Message-ID: I ran the PHP script from the command line and got the output - why does it assume 25fps when I specify '-r RATE', is that not correct? Here's the output [root at localhost html]# sudo php filmstrip.php FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.19. 0 / 1.19. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/html/video/switches.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isomavc1mp42 Duration: 00:00:30.43, start: 0.000000, bitrate: 625 kb/s Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 125 kb/s Stream #0.1(und): Video: h264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], 498 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc Output #0, image2, to '/var/www/html/video/images/switches-sepia-test/%11d.jpg': Metadata: encoder : Lavf52.64.2 Stream #0.0(und): Video: mjpeg, yuvj420p, 480x360 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream mapping: Stream #0.1 -> #0.0 Press [q] to stop encoding frame= 912 fps=398 q=0.0 Lsize= -0kB time=30.43 bitrate= -0.0kbits/s video:32430kB audio:0kB global headers:0kB muxing overhead -100.000066% FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.19. 0 / 1.19. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 [image2 @ 0x20dd670]max_analyze_duration reached Input #0, image2, from '/var/www/html/video/images/switches-sepia-test/%11d-sepia.jpg': Duration: 00:00:36.48, start: 0.000000, bitrate: N/A Stream #0.0: Video: mjpeg, yuvj420p, 480x360 [PAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc [libx264 @ 0x2102dd0]using SAR=1/1 [libx264 @ 0x2102dd0]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x2102dd0]profile High 4:4:4 Predictive, level 3.0, bit depth 8 [libx264 @ 0x2102dd0]64 - core 107 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x11 me=hex subme=3 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0 Output #0, mp4, to '/var/www/html/video/switches-test-sepia.mp4': Metadata: encoder : Lavf52.64.2 Stream #0.0: Video: libx264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], q=10-51, 625 kb/s, 853996 tbn, 29.97 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 912 fps=143 q=0.0 Lsize= 60681kB time=36.47 bitrate=13630.4kbits/s video:60670kB audio:0kB global headers:0kB muxing overhead 0.017621% [libx264 @ 0x2102dd0]frame I:5 Avg QP: 0.00 size: 63229 [libx264 @ 0x2102dd0]frame P:907 Avg QP: 0.00 size: 68147 [libx264 @ 0x2102dd0]mb I I16..4: 65.5% 0.0% 34.5% [libx264 @ 0x2102dd0]mb P I16..4: 17.9% 0.0% 4.9% P16..4: 31.5% 17.0% 12.7% 0.0% 0.0% skip:15.9% [libx264 @ 0x2102dd0]coded y,uvDC,uvAC intra: 86.9% 28.1% 28.1% inter: 69.2% 42.1% 41.9% [libx264 @ 0x2102dd0]i16 v,h,dc,p: 28% 71% 0% 0% [libx264 @ 0x2102dd0]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 45% 2% 2% 2% 1% 2% 1% 1% [libx264 @ 0x2102dd0]i8c dc,h,v,p: 59% 32% 9% 0% [libx264 @ 0x2102dd0]kb/s:16332.49 [root at localhost html]# On Mon, Apr 23, 2012 at 8:34 AM, Andrey Utkin < andrey.krieger.utkin at gmail.com> wrote: > 2012/4/23 Damon Edwards : > > Sorry: > > > > *to image sequence:* > > ffmpeg -i ' . $video_dir . $filename . '.mp4 -sameq ' . $image_dir . > > '/%11d.jpg > > > > *apply filters to images via PHP here* > > > > *back to video:* > > ffmpeg -f image2 -i ' . $image_dir . '/%11d-' . $filter . '.jpg -vcodec > > libx264 -b ' . $bitrate . ' -r ' . $framerate . ' -vpre lossless_fast ' . > > $video_dir . $filename . '-' . $unique . '-' . $filter . '.mp4 > > > > I execute this via PHP exec(). > > Ffmpeg output still missing. > I guess your video has frame rate different from 25. > image2 demuxer assumes framerate 25 by default. > > -- > Andrey Utkin > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- Damon Edwards gplus.to/damonedwards From me at renecalles.de Mon Apr 23 17:54:15 2012 From: me at renecalles.de (me at renecalles.de) Date: Mon, 23 Apr 2012 17:54:15 +0200 Subject: [FFmpeg-user] video to image seq. back to video - keep same length In-Reply-To: References: Message-ID: Hi, this is because 25 fps is set by default. Try using -r 29.97 before the -i switch. Best, Ren? On Mon, 23 Apr 2012 08:45:01 -0700, Damon Edwards wrote: > I ran the PHP script from the command line and got the output - why > does it > assume 25fps when I specify '-r RATE', is that not correct? Here's > the > output > > [root at localhost html]# sudo php filmstrip.php > FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers > built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat > 4.4.5-6) > configuration: --prefix=/usr --libdir=/usr/lib64 > --shlibdir=/usr/lib64 > --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth > --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -fPIC' > --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 > --enable-libdirac --enable-libfaac --enable-libfaad > --enable-libfaadbin > --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger > --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl > --enable-nonfree --enable-postproc --enable-pthreads --enable-shared > --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab > libavutil 50.15. 1 / 50.15. 1 > libavcodec 52.72. 2 / 52.72. 2 > libavformat 52.64. 2 / 52.64. 2 > libavdevice 52. 2. 0 / 52. 2. 0 > libavfilter 1.19. 0 / 1.19. 0 > libswscale 0.11. 0 / 0.11. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > > Seems stream 1 codec frame rate differs from container frame rate: > 60000.00 > (60000/1) -> 29.97 (30000/1001) > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from > '/var/www/html/video/switches.mp4': > Metadata: > major_brand : mp42 > minor_version : 0 > compatible_brands: isomavc1mp42 > Duration: 00:00:30.43, start: 0.000000, bitrate: 625 kb/s > Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 125 kb/s > Stream #0.1(und): Video: h264, yuv420p, 480x360 [PAR 1:1 DAR > 4:3], 498 > kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc > Output #0, image2, to > '/var/www/html/video/images/switches-sepia-test/%11d.jpg': > Metadata: > encoder : Lavf52.64.2 > Stream #0.0(und): Video: mjpeg, yuvj420p, 480x360 [PAR 1:1 DAR > 4:3], > q=2-31, 200 kb/s, 90k tbn, 29.97 tbc > Stream mapping: > Stream #0.1 -> #0.0 > Press [q] to stop encoding > frame= 912 fps=398 q=0.0 Lsize= -0kB time=30.43 bitrate= > -0.0kbits/s > > video:32430kB audio:0kB global headers:0kB muxing overhead > -100.000066% > FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers > built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat > 4.4.5-6) > configuration: --prefix=/usr --libdir=/usr/lib64 > --shlibdir=/usr/lib64 > --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth > --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -fPIC' > --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 > --enable-libdirac --enable-libfaac --enable-libfaad > --enable-libfaadbin > --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger > --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl > --enable-nonfree --enable-postproc --enable-pthreads --enable-shared > --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab > libavutil 50.15. 1 / 50.15. 1 > libavcodec 52.72. 2 / 52.72. 2 > libavformat 52.64. 2 / 52.64. 2 > libavdevice 52. 2. 0 / 52. 2. 0 > libavfilter 1.19. 0 / 1.19. 0 > libswscale 0.11. 0 / 0.11. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > [image2 @ 0x20dd670]max_analyze_duration reached > Input #0, image2, from > '/var/www/html/video/images/switches-sepia-test/%11d-sepia.jpg': > Duration: 00:00:36.48, start: 0.000000, bitrate: N/A > Stream #0.0: Video: mjpeg, yuvj420p, 480x360 [PAR 1:1 DAR 4:3], > 25 fps, > 25 tbr, 25 tbn, 25 tbc > [libx264 @ 0x2102dd0]using SAR=1/1 > [libx264 @ 0x2102dd0]using cpu capabilities: MMX2 SSE2Fast SSSE3 > FastShuffle SSE4.2 > [libx264 @ 0x2102dd0]profile High 4:4:4 Predictive, level 3.0, bit > depth 8 > [libx264 @ 0x2102dd0]64 - core 107 - H.264/MPEG-4 AVC codec - > Copyleft > 2003-2010 - http://www.videolan.org/x264.html - options: cabac=0 > ref=1 > deblock=1:0:0 analyse=0x1:0x11 me=hex subme=3 psy=0 mixed_ref=0 > me_range=16 > chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 > chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 > interlaced=0 > constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 > scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0 > Output #0, mp4, to '/var/www/html/video/switches-test-sepia.mp4': > Metadata: > encoder : Lavf52.64.2 > Stream #0.0: Video: libx264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], > q=10-51, 625 kb/s, 853996 tbn, 29.97 tbc > Stream mapping: > Stream #0.0 -> #0.0 > Press [q] to stop encoding > frame= 912 fps=143 q=0.0 Lsize= 60681kB time=36.47 > bitrate=13630.4kbits/s > video:60670kB audio:0kB global headers:0kB muxing overhead 0.017621% > [libx264 @ 0x2102dd0]frame I:5 Avg QP: 0.00 size: 63229 > [libx264 @ 0x2102dd0]frame P:907 Avg QP: 0.00 size: 68147 > [libx264 @ 0x2102dd0]mb I I16..4: 65.5% 0.0% 34.5% > [libx264 @ 0x2102dd0]mb P I16..4: 17.9% 0.0% 4.9% P16..4: 31.5% > 17.0% > 12.7% 0.0% 0.0% skip:15.9% > [libx264 @ 0x2102dd0]coded y,uvDC,uvAC intra: 86.9% 28.1% 28.1% > inter: > 69.2% 42.1% 41.9% > [libx264 @ 0x2102dd0]i16 v,h,dc,p: 28% 71% 0% 0% > [libx264 @ 0x2102dd0]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 45% 2% 2% > 2% 1% > 2% 1% 1% > [libx264 @ 0x2102dd0]i8c dc,h,v,p: 59% 32% 9% 0% > [libx264 @ 0x2102dd0]kb/s:16332.49 > [root at localhost html]# > > > On Mon, Apr 23, 2012 at 8:34 AM, Andrey Utkin < > andrey.krieger.utkin at gmail.com> wrote: > >> 2012/4/23 Damon Edwards : >> > Sorry: >> > >> > *to image sequence:* >> > ffmpeg -i ' . $video_dir . $filename . '.mp4 -sameq ' . $image_dir >> . >> > '/%11d.jpg >> > >> > *apply filters to images via PHP here* >> > >> > *back to video:* >> > ffmpeg -f image2 -i ' . $image_dir . '/%11d-' . $filter . '.jpg >> -vcodec >> > libx264 -b ' . $bitrate . ' -r ' . $framerate . ' -vpre >> lossless_fast ' . >> > $video_dir . $filename . '-' . $unique . '-' . $filter . '.mp4 >> > >> > I execute this via PHP exec(). >> >> Ffmpeg output still missing. >> I guess your video has frame rate different from 25. >> image2 demuxer assumes framerate 25 by default. >> >> -- >> Andrey Utkin >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> From dzedward at gmail.com Mon Apr 23 17:58:01 2012 From: dzedward at gmail.com (Damon Edwards) Date: Mon, 23 Apr 2012 08:58:01 -0700 Subject: [FFmpeg-user] video to image seq. back to video - keep same length In-Reply-To: References: Message-ID: Awesome that did the trick! So do I need to put my vcodec/bitrate/vpre switches before the -i switch too? On Mon, Apr 23, 2012 at 8:54 AM, wrote: > Hi, > > this is because 25 fps is set by default. > Try using -r 29.97 before the -i switch. > > Best, > Ren? > > > On Mon, 23 Apr 2012 08:45:01 -0700, Damon Edwards wrote: > >> I ran the PHP script from the command line and got the output - why does >> it >> assume 25fps when I specify '-r RATE', is that not correct? Here's the >> output >> >> [root at localhost html]# sudo php filmstrip.php >> FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers >> built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) >> configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 >> --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth >> --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' >> --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 >> --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin >> --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb >> --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger >> --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl >> --enable-nonfree --enable-postproc --enable-pthreads --enable-shared >> --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab >> libavutil 50.15. 1 / 50.15. 1 >> libavcodec 52.72. 2 / 52.72. 2 >> libavformat 52.64. 2 / 52.64. 2 >> libavdevice 52. 2. 0 / 52. 2. 0 >> libavfilter 1.19. 0 / 1.19. 0 >> libswscale 0.11. 0 / 0.11. 0 >> libpostproc 51. 2. 0 / 51. 2. 0 >> >> Seems stream 1 codec frame rate differs from container frame rate: >> 60000.00 >> (60000/1) -> 29.97 (30000/1001) >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/html/video/switches.** >> mp4': >> Metadata: >> major_brand : mp42 >> minor_version : 0 >> compatible_brands: isomavc1mp42 >> Duration: 00:00:30.43, start: 0.000000, bitrate: 625 kb/s >> Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 125 kb/s >> Stream #0.1(und): Video: h264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], 498 >> kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc >> Output #0, image2, to >> '/var/www/html/video/images/**switches-sepia-test/%11d.jpg': >> Metadata: >> encoder : Lavf52.64.2 >> Stream #0.0(und): Video: mjpeg, yuvj420p, 480x360 [PAR 1:1 DAR 4:3], >> q=2-31, 200 kb/s, 90k tbn, 29.97 tbc >> Stream mapping: >> Stream #0.1 -> #0.0 >> Press [q] to stop encoding >> frame= 912 fps=398 q=0.0 Lsize= -0kB time=30.43 bitrate= >> -0.0kbits/s >> >> video:32430kB audio:0kB global headers:0kB muxing overhead -100.000066% >> FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers >> built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) >> configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 >> --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth >> --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' >> --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 >> --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin >> --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb >> --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger >> --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl >> --enable-nonfree --enable-postproc --enable-pthreads --enable-shared >> --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab >> libavutil 50.15. 1 / 50.15. 1 >> libavcodec 52.72. 2 / 52.72. 2 >> libavformat 52.64. 2 / 52.64. 2 >> libavdevice 52. 2. 0 / 52. 2. 0 >> libavfilter 1.19. 0 / 1.19. 0 >> libswscale 0.11. 0 / 0.11. 0 >> libpostproc 51. 2. 0 / 51. 2. 0 >> [image2 @ 0x20dd670]max_analyze_duration reached >> Input #0, image2, from >> '/var/www/html/video/images/**switches-sepia-test/%11d-**sepia.jpg': >> Duration: 00:00:36.48, start: 0.000000, bitrate: N/A >> Stream #0.0: Video: mjpeg, yuvj420p, 480x360 [PAR 1:1 DAR 4:3], 25 fps, >> 25 tbr, 25 tbn, 25 tbc >> [libx264 @ 0x2102dd0]using SAR=1/1 >> [libx264 @ 0x2102dd0]using cpu capabilities: MMX2 SSE2Fast SSSE3 >> FastShuffle SSE4.2 >> [libx264 @ 0x2102dd0]profile High 4:4:4 Predictive, level 3.0, bit depth 8 >> [libx264 @ 0x2102dd0]64 - core 107 - H.264/MPEG-4 AVC codec - Copyleft >> 2003-2010 - http://www.videolan.org/x264.**html- options: cabac=0 ref=1 >> deblock=1:0:0 analyse=0x1:0x11 me=hex subme=3 psy=0 mixed_ref=0 >> me_range=16 >> chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 >> chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 >> constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 >> scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0 >> Output #0, mp4, to '/var/www/html/video/switches-**test-sepia.mp4': >> Metadata: >> encoder : Lavf52.64.2 >> Stream #0.0: Video: libx264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], >> q=10-51, 625 kb/s, 853996 tbn, 29.97 tbc >> Stream mapping: >> Stream #0.0 -> #0.0 >> Press [q] to stop encoding >> frame= 912 fps=143 q=0.0 Lsize= 60681kB time=36.47 >> bitrate=13630.4kbits/s >> video:60670kB audio:0kB global headers:0kB muxing overhead 0.017621% >> [libx264 @ 0x2102dd0]frame I:5 Avg QP: 0.00 size: 63229 >> [libx264 @ 0x2102dd0]frame P:907 Avg QP: 0.00 size: 68147 >> [libx264 @ 0x2102dd0]mb I I16..4: 65.5% 0.0% 34.5% >> [libx264 @ 0x2102dd0]mb P I16..4: 17.9% 0.0% 4.9% P16..4: 31.5% 17.0% >> 12.7% 0.0% 0.0% skip:15.9% >> [libx264 @ 0x2102dd0]coded y,uvDC,uvAC intra: 86.9% 28.1% 28.1% inter: >> 69.2% 42.1% 41.9% >> [libx264 @ 0x2102dd0]i16 v,h,dc,p: 28% 71% 0% 0% >> [libx264 @ 0x2102dd0]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 45% 2% 2% 2% >> 1% >> 2% 1% 1% >> [libx264 @ 0x2102dd0]i8c dc,h,v,p: 59% 32% 9% 0% >> [libx264 @ 0x2102dd0]kb/s:16332.49 >> [root at localhost html]# >> >> >> On Mon, Apr 23, 2012 at 8:34 AM, Andrey Utkin < >> andrey.krieger.utkin at gmail.com**> wrote: >> >> 2012/4/23 Damon Edwards : >>> > Sorry: >>> > >>> > *to image sequence:* >>> > ffmpeg -i ' . $video_dir . $filename . '.mp4 -sameq ' . $image_dir . >>> > '/%11d.jpg >>> > >>> > *apply filters to images via PHP here* >>> > >>> > *back to video:* >>> > ffmpeg -f image2 -i ' . $image_dir . '/%11d-' . $filter . '.jpg -vcodec >>> > libx264 -b ' . $bitrate . ' -r ' . $framerate . ' -vpre lossless_fast >>> ' . >>> > $video_dir . $filename . '-' . $unique . '-' . $filter . '.mp4 >>> > >>> > I execute this via PHP exec(). >>> >>> Ffmpeg output still missing. >>> I guess your video has frame rate different from 25. >>> image2 demuxer assumes framerate 25 by default. >>> >>> -- >>> Andrey Utkin >>> ______________________________**_________________ >>> ffmpeg-user mailing list >>> ffmpeg-user at ffmpeg.org >>> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user >>> >>> > ______________________________**_________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/**listinfo/ffmpeg-user > -- Damon Edwards gplus.to/damonedwards From dzedward at gmail.com Mon Apr 23 20:02:14 2012 From: dzedward at gmail.com (Damon Edwards) Date: Mon, 23 Apr 2012 11:02:14 -0700 Subject: [FFmpeg-user] ffmpeg on redhat, filters list blank Message-ID: How do I go about installing all the filters? Let me know if there is some output you need to see first [root at localhost /]# ffmpeg -filters FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.19. 0 / 1.19. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 Filters: [root at localhost /]# -- Damon Edwards gplus.to/damonedwards From rhodri at kynesim.co.uk Mon Apr 23 20:06:06 2012 From: rhodri at kynesim.co.uk (Rhodri James) Date: Mon, 23 Apr 2012 19:06:06 +0100 Subject: [FFmpeg-user] video to image seq. back to video - keep same length In-Reply-To: References: Message-ID: On Mon, 23 Apr 2012 16:58:01 +0100, Damon Edwards wrote: > Awesome that did the trick! So do I need to put my vcodec/bitrate/vpre > switches before the -i switch too? If you want them to apply to your *input* put them before the -i switch. If you want them to apply to your *output* (which on the whole seems more likely to me), put them after. -- Rhodri James Kynesim Ltd From dzedward at gmail.com Mon Apr 23 20:54:35 2012 From: dzedward at gmail.com (Damon Edwards) Date: Mon, 23 Apr 2012 11:54:35 -0700 Subject: [FFmpeg-user] ffmpeg on redhat, filters list blank In-Reply-To: References: Message-ID: Here's the output of ./configure for ffmpeg that was grabbed from the DAG repo. I noticed it didn't have libavfilter directory in the package, I guess that's why it had no filters. If I grab ffmpeg from GIT and extract it I see the libavfilter directory with all the filters, so if i copy that directory into the DAG repo version and configure/make/install would it pickup on those filters? [root at localhost ffmpeg-php-0.6.0]# ./configure --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab configure: WARNING: unrecognized options: --enable-avfilter, --enable-avfilter-lavf, --enable-libdc1394, --enable-libdirac, --enable-libfaac, --enable-libfaad, --enable-libfaadbin, --enable-libgsm, --enable-libmp3lame, --enable-libopencore-amrnb, --enable-libopencore-amrwb, --enable-librtmp, --enable-libschroedinger, --enable-libspeex, --enable-libtheora, --enable-libx264, --enable-gpl, --enable-nonfree, --enable-postproc, --enable-pthreads, --enable-swscale, --enable-vdpau, --enable-version3, --enable-x11grab checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for ffmpeg support... yes, shared checking whether to force gd support in ffmpeg-php... no checking for ffmpeg headers... ...found in /usr/include/libavcodec checking for ffmpeg libavcodec.so... ...found in /usr/lib64 checking for ffmpeg swscale support... yes checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing libtool commands configure: WARNING: unrecognized options: --enable-avfilter, --enable-avfilter-lavf, --enable-libdc1394, --enable-libdirac, --enable-libfaac, --enable-libfaad, --enable-libfaadbin, --enable-libgsm, --enable-libmp3lame, --enable-libopencore-amrnb, --enable-libopencore-amrwb, --enable-librtmp, --enable-libschroedinger, --enable-libspeex, --enable-libtheora, --enable-libx264, --enable-gpl, --enable-nonfree, --enable-postproc, --enable-pthreads, --enable-swscale, --enable-vdpau, --enable-version3, --enable-x11grab [root at localhost ffmpeg-php-0.6.0]# On Mon, Apr 23, 2012 at 11:02 AM, Damon Edwards wrote: > How do I go about installing all the filters? Let me know if there is some > output you need to see first > > [root at localhost /]# ffmpeg -filters > FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers > built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6) > configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 > --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth > --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' > --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 > --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin > --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger > --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl > --enable-nonfree --enable-postproc --enable-pthreads --enable-shared > --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab > libavutil 50.15. 1 / 50.15. 1 > libavcodec 52.72. 2 / 52.72. 2 > libavformat 52.64. 2 / 52.64. 2 > libavdevice 52. 2. 0 / 52. 2. 0 > libavfilter 1.19. 0 / 1.19. 0 > libswscale 0.11. 0 / 0.11. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > Filters: > [root at localhost /]# > > -- > Damon Edwards > gplus.to/damonedwards > > -- Damon Edwards gplus.to/damonedwards From simondaniels23 at gmail.com Mon Apr 23 23:02:04 2012 From: simondaniels23 at gmail.com (Simon Daniels) Date: Mon, 23 Apr 2012 14:02:04 -0700 Subject: [FFmpeg-user] Unable to trim certain MTS files unless I start from 0:00:00 In-Reply-To: References: Message-ID: Any ideas Audrey? Thanks! On Thu, Apr 19, 2012 at 9:26 AM, Simon Daniels wrote: > Thanks Audrey. And apologies to ffmpeg-user as I think my message was sent > a few times :-( > > I'm not seeing the * on my end so I believe that's an email formatting > issue. > > I tried moving the -i to the first argument but I got the same results on > the latest GIT HEAD. It only trims correctly if starting from 0. Again, > it's only unique to these MTS files off my Panasonic Lumix camera. I've > trimmed other MTS files without issues. > > Users-MacBook-Pro:ffmpeg-HEAD-a4a88fd user$ ./ffmpeg -i 00004.MTS -ss > 00:00:01 -t 00:00:25 -threads 3 -acodec copy -vcodec copy "output.MTS" > ffmpeg version 0.10.2.git-a4a88fd Copyright (c) 2000-2012 the FFmpeg > developers > built on Apr 19 2012 09:13:53 with llvm_gcc 4.2.1 (Based on Apple Inc. > build 5658) (LLVM build 2336.1.00) > configuration: --enable-static --disable-shared --disable-outdev=sdl > --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype > --disable-libopenjpeg --enable-zlib --arch=x86_64 > --sysroot=/Developer/SDKs/MacOSX10.7.sdk --extra-cflags='-isysroot > /Developer/SDKs/MacOSX10.7.sdk' > libavutil 51. 46.100 / 51. 46.100 > libavcodec 54. 14.101 / 54. 14.101 > libavformat 54. 3.100 / 54. 3.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 70.100 / 2. 70.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 11.100 / 0. 11.100 > Input #0, mpegts, from '00004.MTS': > Duration: 00:01:24.57, start: 0.632622, bitrate: 15063 kb/s > Program 1 > Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, > 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 119.88 tbc > Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, > s16, 192 kb/s > Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / > 0x0090) > File 'output.MTS' already exists. Overwrite ? [y/N] y > muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts > Output #0, mpegts, to 'output.MTS': > Metadata: > encoder : Lavf54.3.100 > Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR > 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 59.94 tbc > Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Stream #0:1 -> #0:1 (copy) > Press [q] to stop, [?] for help > frame= 0 fps=0.0 q=-1.0 Lsize= 656kB time=00:00:00.00 bitrate= > 0.0kbits/s > video:0kB audio:586kB global headers:0kB muxing overhead 11.958493% > > > > On Thu, Apr 19, 2012 at 1:05 AM, Andrey Utkin < > andrey.krieger.utkin at gmail.com> wrote: > >> 2012/4/19 Simon Daniels : >> > Hi guys, >> > >> > I have a set of .MTS files that I'm trying to trim. If I start at >> 0:00:00, >> > the output video works fine. But if I start trimmingany time after >> 0:00:00, >> > the output video is empty. I've used the exact same command line with >> other >> > .MTS files and had no problem. It seems like something specific to this >> > Panasonic Lumix camera. MP4 and MOV files work fine too. >> > >> > This repros in FFmpeg HEAD-8dfb13e, 0.10.2, and 0.8.3. >> > >> > Any ideas? Thanks! >> > >> > Users-MacBook-Pro:ffmpeg-0.10.2 user$ *./ffmpeg -ss 00:00:01 -t >> 00:00:25 -i >> > 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"* >> >> What do the * signs mean in cmdline? >> >> AFAIR, -ss, -t args position matters. Placing them before -i makes >> them work without transcoding, and after - with transcoding. Try >> second way, it will be more time expensive, but should generally work >> better. >> If my idea is right, and if you need to avoid transcoding, then >> probably your case requires writing tailored application. >> >> -- >> Andrey Utkin >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > From rickcorteza at gmail.com Tue Apr 24 06:59:37 2012 From: rickcorteza at gmail.com (Rick C.) Date: Tue, 24 Apr 2012 12:59:37 +0800 Subject: [FFmpeg-user] theora question Message-ID: Hi all, I've been doing some test theora encoding and what I have noticed is that it's very slow. At first I thought I was doing something wrong, but after some research maybe it's because it does not support multithreading is this correct? I mean I took the same video and converting to DivX I was able to get 400 fps but to Theora 40 fps. Here's the output and thanks for the help: Last login: Tue Apr 24 12:51:30 on ttys004 mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Music/iTunes/iTunes\ Music/Movies/THE_GIGGLEBELLIES_V2.m4v -qscale 10 -t 120 -threads 8 /Users/mahalko/Desktop/testing.ogg ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mahalko/Music/iTunes/iTunes Music/Movies/THE_GIGGLEBELLIES_V2.m4v': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42isomavc1 creation_time : 2012-03-26 01:47:30 encoder : HandBrake 0.9.6 2012022800 genre : Movies artist : Kids Duration: 00:35:04.08, start: 0.000000, bitrate: 3140 kb/s Chapter #0.0: start -0.066733, end 14.247567 Metadata: title : Chapter 1 Chapter #0.1: start 14.247567, end 178.912067 Metadata: title : Chapter 2 Chapter #0.2: start 178.912067, end 291.958333 Metadata: title : Chapter 3 Chapter #0.3: start 291.958333, end 445.645200 Metadata: title : Chapter 4 Chapter #0.4: start 445.645200, end 591.857933 Metadata: title : Chapter 5 Chapter #0.5: start 591.857933, end 720.319600 Metadata: title : Chapter 6 Chapter #0.6: start 720.319600, end 850.883367 Metadata: title : Chapter 7 Chapter #0.7: start 850.883367, end 1002.468133 Metadata: title : Chapter 8 Chapter #0.8: start 1002.468133, end 1130.929800 Metadata: title : Chapter 9 Chapter #0.9: start 1130.929800, end 1294.192900 Metadata: title : Chapter 10 Chapter #0.10: start 1294.192900, end 1461.193067 Metadata: title : Chapter 11 Chapter #0.11: start 1461.193067, end 1610.675733 Metadata: title : Chapter 12 Chapter #0.12: start 1610.675733, end 1748.947200 Metadata: title : Chapter 13 Chapter #0.13: start 1748.947200, end 2104.043600 Metadata: title : Chapter 14 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 2803 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc Metadata: creation_time : 2012-03-26 01:47:30 handler_name : Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 139 kb/s Metadata: creation_time : 2012-03-26 01:47:30 handler_name : Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, s16, 192 kb/s Metadata: creation_time : 2012-03-26 01:47:30 handler_name : Stream #0:3(und): Subtitle: mov_text (text / 0x74786574) Metadata: creation_time : 2012-03-26 01:47:30 handler_name : Please use -q:a or -q:v, -qscale is ambiguous [buffer @ 0x101517740] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:8/9 sws_param: Output #0, ogg, to '/Users/mahalko/Desktop/testing.ogg': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42isomavc1 creation_time : 2012-03-26 01:47:30 artist : Kids genre : Movies encoder : Lavf53.32.100 Chapter #0.0: start 0.000000, end 14.247567 Metadata: title : Chapter 1 Chapter #0.1: start 14.247567, end 120.000000 Metadata: title : Chapter 2 Stream #0:0(und): Video: theora, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc Metadata: creation_time : 2012-03-26 01:47:30 handler_name : Stream #0:1(und): Audio: flac, 48000 Hz, stereo, s16, 128 kb/s Metadata: creation_time : 2012-03-26 01:47:30 handler_name : Stream mapping: Stream #0:0 -> #0:0 (h264 -> libtheora) Stream #0:1 -> #0:1 (aac -> flac) Press [q] to stop, [?] for help frame= 3597 fps= 37 q=0.0 Lsize= 122650kB time=00:02:00.00 bitrate=8372.9kbits/s video:113303kB audio:8811kB global headers:3kB muxing overhead 0.436236% mahalkos-iMac:~ mahalko$ From tom_a_sparks at yahoo.com.au Tue Apr 24 08:08:41 2012 From: tom_a_sparks at yahoo.com.au (Tom Sparks) Date: Mon, 23 Apr 2012 23:08:41 -0700 (PDT) Subject: [FFmpeg-user] theora question In-Reply-To: Message-ID: <1335247721.95989.YahooMailClassic@web120405.mail.ne1.yahoo.com> use the true ffmpeg2theora transcoder from http://v2v.cc/~j/ffmpeg2theora/download.html --- tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html Ubuntu wiki page https://wiki.ubuntu.com/tomsparks 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 Premium Edition, AF 2012 Plus Edition, Sam440 AOS 4.1.2, Roland DXY-1300 pen plotter, Cutok DC330 cutter/pen plotter Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (6502/68k/PPC only) --- On Tue, 24/4/12, Rick C. wrote: > From: Rick C. > Subject: [FFmpeg-user] theora question > To: "FFmpeg user questions and RTFMs" > Received: Tuesday, 24 April, 2012, 2:59 PM > Hi all, > > I've been doing some test theora encoding and what I have > noticed is that it's very slow.? At first I thought I > was doing something wrong, but after some research maybe > it's because it does not support multithreading is this > correct?? I mean I took the same video and converting > to DivX I was able to get 400 fps but to Theora 40 > fps.? Here's the output and thanks for the help: > > > Last login: Tue Apr 24 12:51:30 on ttys004 > mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i > /Users/mahalko/Music/iTunes/iTunes\ > Music/Movies/THE_GIGGLEBELLIES_V2.m4v -qscale 10 -t 120 > -threads 8 /Users/mahalko/Desktop/testing.ogg > ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg > developers > ? built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple > Inc. build 5666) (dot 3) > ? configuration: --prefix=/Volumes/Ramdisk/sw > --enable-gpl --enable-pthreads --enable-version3 > --enable-libspeex --enable-libvpx --disable-decoder=libvpx > --enable-libmp3lame --enable-libtheora --enable-libvorbis > --enable-libx264 --enable-avfilter > --enable-libopencore_amrwb --enable-libopencore_amrnb > --enable-filters --arch=x86_64 --enable-runtime-cpudetect > ? libavutil? ? ? 51. 35.100 / 51. > 35.100 > ? libavcodec? ???53. 61.100 / 53. > 61.100 > ? libavformat? ? 53. 32.100 / 53. 32.100 > ? libavdevice? ? 53.? 4.100 / 53.? > 4.100 > ? libavfilter? ???2. 61.100 /? > 2. 61.100 > ? libswscale? ? ? 2.? 1.100 /? > 2.? 1.100 > ? libswresample???0.? 6.100 /? > 0.? 6.100 > ? libpostproc? ? 52.? 0.100 / 52.? > 0.100 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from > '/Users/mahalko/Music/iTunes/iTunes > Music/Movies/THE_GIGGLEBELLIES_V2.m4v': > ? Metadata: > ? ? major_brand? ???: mp42 > ? ? minor_version???: 0 > ? ? compatible_brands: mp42isomavc1 > ? ? creation_time???: 2012-03-26 > 01:47:30 > ? ? encoder? ? ? > ???: HandBrake 0.9.6 2012022800 > ? ? genre? ? ? ? > ???: Movies > ? ? artist? ? ? ? ? : > Kids > ? Duration: 00:35:04.08, start: 0.000000, bitrate: 3140 > kb/s > ? ? Chapter #0.0: start -0.066733, end 14.247567 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 1 > ? ? Chapter #0.1: start 14.247567, end 178.912067 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 2 > ? ? Chapter #0.2: start 178.912067, end > 291.958333 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 3 > ? ? Chapter #0.3: start 291.958333, end > 445.645200 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 4 > ? ? Chapter #0.4: start 445.645200, end > 591.857933 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 5 > ? ? Chapter #0.5: start 591.857933, end > 720.319600 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 6 > ? ? Chapter #0.6: start 720.319600, end > 850.883367 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 7 > ? ? Chapter #0.7: start 850.883367, end > 1002.468133 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 8 > ? ? Chapter #0.8: start 1002.468133, end > 1130.929800 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 9 > ? ? Chapter #0.9: start 1130.929800, end > 1294.192900 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter 10 > ? ? Chapter #0.10: start 1294.192900, end > 1461.193067 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter 11 > ? ? Chapter #0.11: start 1461.193067, end > 1610.675733 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter 12 > ? ? Chapter #0.12: start 1610.675733, end > 1748.947200 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter 13 > ? ? Chapter #0.13: start 1748.947200, end > 2104.043600 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter 14 > ? ? Stream #0:0(und): Video: h264 (High) (avc1 / > 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 2803 kb/s, > 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc > ? ? Metadata: > ? ? ? creation_time???: > 2012-03-26 01:47:30 > ? ? ? handler_name? ? : > ? ? Stream #0:1(und): Audio: aac (mp4a / > 0x6134706D), 48000 Hz, stereo, s16, 139 kb/s > ? ? Metadata: > ? ? ? creation_time???: > 2012-03-26 01:47:30 > ? ? ? handler_name? ? : > ? ? Stream #0:2(und): Audio: ac3 (ac-3 / > 0x332D6361), 48000 Hz, stereo, s16, 192 kb/s > ? ? Metadata: > ? ? ? creation_time???: > 2012-03-26 01:47:30 > ? ? ? handler_name? ? : > ? ? Stream #0:3(und): Subtitle: mov_text (text / > 0x74786574) > ? ? Metadata: > ? ? ? creation_time???: > 2012-03-26 01:47:30 > ? ? ? handler_name? ? : > Please use -q:a or -q:v, -qscale is ambiguous > [buffer @ 0x101517740] w:720 h:480 pixfmt:yuv420p > tb:1/1000000 sar:8/9 sws_param: > Output #0, ogg, to '/Users/mahalko/Desktop/testing.ogg': > ? Metadata: > ? ? major_brand? ???: mp42 > ? ? minor_version???: 0 > ? ? compatible_brands: mp42isomavc1 > ? ? creation_time???: 2012-03-26 > 01:47:30 > ? ? artist? ? ? ? ? : > Kids > ? ? genre? ? ? ? > ???: Movies > ? ? encoder? ? ? > ???: Lavf53.32.100 > ? ? Chapter #0.0: start 0.000000, end 14.247567 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 1 > ? ? Chapter #0.1: start 14.247567, end 120.000000 > ? ? Metadata: > ? ? ? title? ? ? ? > ???: Chapter? 2 > ? ? Stream #0:0(und): Video: theora, yuv420p, > 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 29.97 tbn, > 29.97 tbc > ? ? Metadata: > ? ? ? creation_time???: > 2012-03-26 01:47:30 > ? ? ? handler_name? ? : > ? ? Stream #0:1(und): Audio: flac, 48000 Hz, > stereo, s16, 128 kb/s > ? ? Metadata: > ? ? ? creation_time???: > 2012-03-26 01:47:30 > ? ? ? handler_name? ? : > Stream mapping: > ? Stream #0:0 -> #0:0 (h264 -> libtheora) > ? Stream #0:1 -> #0:1 (aac -> flac) > Press [q] to stop, [?] for help > frame= 3597 fps= 37 q=0.0 Lsize=? 122650kB > time=00:02:00.00 bitrate=8372.9kbits/s? ? > video:113303kB audio:8811kB global headers:3kB muxing > overhead 0.436236% > mahalkos-iMac:~ mahalko$ > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From phates89 at gmail.com Tue Apr 24 02:16:29 2012 From: phates89 at gmail.com (phate89) Date: Mon, 23 Apr 2012 17:16:29 -0700 (PDT) Subject: [FFmpeg-user] Change fps to an avi video without reencoding with ffmpeg Message-ID: <1335226589323-4582096.post@n4.nabble.com> I have an avi xvid file at 23.976 fps and i need to change it to 25 fps without reencoding... it is possible (vdub does it) because the framerate it's only a value of the avi container... I found in ffmpeg the "-r" function and i try to use it in this way: ffmpeg -i input.avi -vcodec copy -an -r 25 "output.avi" But the output still has the old framerate... Can i do it in some way with ffmpeg? -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Change-fps-to-an-avi-video-without-reencoding-with-ffmpeg-tp4582096p4582096.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From vrparekh at gmail.com Mon Apr 23 17:33:37 2012 From: vrparekh at gmail.com (vrparekh at gmail.com) Date: Mon, 23 Apr 2012 08:33:37 -0700 (PDT) Subject: [FFmpeg-user] how can i use ffmpeg h264 encoder as directshow filter Message-ID: <1335195217802-4580800.post@n4.nabble.com> Hello, i want to encode live stream video to h264 and generate mp4 file. i am using directshow (graph) how can i add ffmpeg's h264 encoder as a directshow filter? Thanks & Regards, Vishal Parekh -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/how-can-i-use-ffmpeg-h264-encoder-as-directshow-filter-tp4580800p4580800.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From gganeshgcc at gmail.com Tue Apr 24 09:47:54 2012 From: gganeshgcc at gmail.com (ganesh gopalasubramanian) Date: Tue, 24 Apr 2012 13:17:54 +0530 Subject: [FFmpeg-user] Problem downloading FATE Message-ID: I am getting the following error when I download the FATE samples. Can anyone please help me. rsync: read error: Connection timed out (110) rsync error: error in rsync protocol data stream (code 12) at io.c(791) [receiver=3.0.4] Regards Ganesh From cehoyos at ag.or.at Tue Apr 24 10:15:06 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 24 Apr 2012 08:15:06 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg on redhat, filters list blank References: Message-ID: Damon Edwards gmail.com> writes: > FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers This is ancient, please update to current git head. Carl Eugen From cehoyos at ag.or.at Tue Apr 24 10:27:59 2012 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 24 Apr 2012 08:27:59 +0000 (UTC) Subject: [FFmpeg-user] video to image seq. back to video - keep same length References: Message-ID: Damon Edwards gmail.com> writes: > FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers Please note that this ancient version contains many regressions and bugs that are fixed in current git head. Carl Eugen From krueger at lesspain.de Tue Apr 24 11:38:36 2012 From: krueger at lesspain.de (=?UTF-8?Q?Robert_Kr=C3=BCger?=) Date: Tue, 24 Apr 2012 11:38:36 +0200 Subject: [FFmpeg-user] how can i use ffmpeg h264 encoder as directshow filter In-Reply-To: <1335195217802-4580800.post@n4.nabble.com> References: <1335195217802-4580800.post@n4.nabble.com> Message-ID: On Mon, Apr 23, 2012 at 5:33 PM, vrparekh at gmail.com wrote: > Hello, > > i want to encode live stream video to h264 and generate mp4 file. > i am using directshow (graph) > > how can i add ffmpeg's h264 encoder ?as a directshow filter? > > > > > Thanks & Regards, > Vishal Parekh > have you checked out http://ffdshow-tryout.sourceforge.net/, if it does what you need? HTH From andyqos at ukfsn.org Tue Apr 24 17:41:13 2012 From: andyqos at ukfsn.org (Andy Furniss) Date: Tue, 24 Apr 2012 16:41:13 +0100 Subject: [FFmpeg-user] ... invalid, non monotonically increasing dts... with yadif=1 In-Reply-To: <4F919CA1.6090500@ukfsn.org> References: <4F919CA1.6090500@ukfsn.org> Message-ID: <4F96C999.6020904@ukfsn.org> Andy Furniss wrote: > Apologies in advance if I am doing something stupid or no one else can > recreate. > > This (19meg) possibly broken (but plays OK) mpeg2 transport stream will > fail transcoding if I try to make 50fps with yadif=1, but works OK with > yadif=0. It does seem to be to do with yadif=1/double framerate, I just tested three 5 minute samples recorded from a different channel hd/x264 this time and two of the three failed. I know google will find patches that may help, but yadif=1/double fps doesn't feature with those streams, so maybe this is a separate issue as the streams are fine with yadif=0 or no yadif. From lou at lrcd.com Tue Apr 24 22:03:15 2012 From: lou at lrcd.com (Lou) Date: Tue, 24 Apr 2012 12:03:15 -0800 Subject: [FFmpeg-user] ffmpeg on redhat, filters list blank In-Reply-To: References: Message-ID: <20120424120315.6fcfae7f@lrcd.com> On Tue, 24 Apr 2012 08:15:06 +0000 (UTC) Carl Eugen Hoyos wrote: > Damon Edwards gmail.com> writes: > > > FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers > > This is ancient, please update to current git head. > > Carl Eugen For instructions see: Compile FFmpeg on CentOS 6.0 https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide Probably easily adaptable for your Red Hat version. From koxaniy at mail.ru Tue Apr 24 22:46:25 2012 From: koxaniy at mail.ru (Tuuls) Date: Tue, 24 Apr 2012 13:46:25 -0700 (PDT) Subject: [FFmpeg-user] sound level In-Reply-To: <4F95699B.9090508@orange.fr> References: <4F95699B.9090508@orange.fr> Message-ID: <1335300385270-4584763.post@n4.nabble.com> use options -vol without re-encode video see - http://ffmpeg-users.933282.n4.nabble.com/Sound-level-td4393201.html post "Feb 16, 2012; 4:44pm" -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/sound-level-tp4580617p4584763.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From mediastream at gmail.com Tue Apr 24 23:12:23 2012 From: mediastream at gmail.com (Dennis) Date: Tue, 24 Apr 2012 17:12:23 -0400 Subject: [FFmpeg-user] sound level In-Reply-To: <1335300385270-4584763.post@n4.nabble.com> References: <4F95699B.9090508@orange.fr> <1335300385270-4584763.post@n4.nabble.com> Message-ID: On Tue, Apr 24, 2012 at 4:46 PM, Tuuls wrote: > use options -vol without re-encode video > > see - http://ffmpeg-users.933282.n4.nabble.com/Sound-level-td4393201.html > post "Feb 16, 2012; 4:44pm" > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user This should work: ffmepg -i input_file.EXT -vcodec copy -vol XXX output_file.EXT you might want to add -acodec your source codec. From dzedward at gmail.com Wed Apr 25 01:24:29 2012 From: dzedward at gmail.com (Damon Edwards) Date: Tue, 24 Apr 2012 16:24:29 -0700 Subject: [FFmpeg-user] libx264 mp4 encoded video won't play back in chrome/quicktime Message-ID: The video won't load in the