From cehoyos at ag.or.at Thu Dec 1 00:16:13 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 30 Nov 2011 23:16:13 +0000 (UTC) Subject: [FFmpeg-user] Linking help? References: Message-ID: Nathan gmail.com> writes: > Can anyone point me in the right direction to figure out how to > correct linking errors like the one below? > > ld: dist/linux-x86-64/libavbin.so.8: version node not found for symbol > av_dup_packet LIBAVFORMAT_52 > ld: failed to set dynamic section sizes: Bad value Apart from the fact that nearly all necessary information is missing (how did you compile FFmpeg, what version did you use, which old FFmpeg versions are hidden in your library patch?): This is the FFmpeg user mailing list. You appear to have a problem with a library called libavbin (that I have never heard of). If you cannot reproduce the problem when linking one of the FFmpeg executables, I suggest you ask where you got "libavbin" from. Carl Eugen From nathan.stocks at gmail.com Thu Dec 1 00:55:55 2011 From: nathan.stocks at gmail.com (Nathan) Date: Wed, 30 Nov 2011 16:55:55 -0700 Subject: [FFmpeg-user] Linking help? In-Reply-To: References: Message-ID: On Wed, Nov 30, 2011 at 4:16 PM, Carl Eugen Hoyos wrote: > Nathan gmail.com> writes: > >> Can anyone point me in the right direction to figure out how to >> correct linking errors like the one below? >> >> ld: dist/linux-x86-64/libavbin.so.8: version node not found for symbol >> av_dup_packet LIBAVFORMAT_52 >> ld: failed to set dynamic section sizes: Bad value > > Apart from the fact that nearly all necessary information is missing (how did > you compile FFmpeg, what version did you use, which old FFmpeg versions are > hidden in your library patch?): In that email I provided the exact configure options I used to configure FFmpeg, as well as the exact version of GCC used to compile it, as well as steps to duplicate the problem. I used revision 25864 from svn://svn.mplayerhq.hu/ffmpeg/trunk -- but I got identical results with releases 0.7.8, 0.8.7, and the master git branch when I tried them. > This is the FFmpeg user mailing list. Acknowledged. I tried the appropriate list, but it appears to be deserted. I would be happy to take this discussion back to libav-user if there is someone who will discuss it with me there. I lurked on this list for a few days to get a feel for it, and it seemed consist of the sort of competent people who may be able and willing to help solve this linking issue. > You appear to have a problem with a library called libavbin (that I have never > heard of). > If you cannot reproduce the problem when linking one of the FFmpeg executables, > I suggest you ask where you got "libavbin" from. I am the (new) maintainer of AVbin. I'm trying put together a release. The project home page is at http://avbin.github.com and the repository is at https://github.com/avbin/avbin In short, the entire project is to provide a stable ABI for Pyglet to use to decode audio and video. If you clone the actual code, you will see a single C file in src/ and a single header file in include/ and these simply thinly wrap basic FFmpeg decoding functionality in a way to attempt long term ABI support on a variety of platforms. ~ Nathan From drurowin at gmail.com Thu Dec 1 01:06:15 2011 From: drurowin at gmail.com (Lucien Pullen) Date: Wed, 30 Nov 2011 17:06:15 -0700 Subject: [FFmpeg-user] Default audio bitrate changed? In-Reply-To: References: <4ED56D87.7030707@gmail.com> Message-ID: <4ED6C4F7.7010203@gmail.com> Also sprach Carl Eugen Hoyos at 11/30/11 3:10 AM: > Lucien Pullen gmail.com> writes: > >> The manual states that the default audio bitrate is 64k. However, it >> seems to have changed to 128k silently. Is this change going to stick >> (should the manual be updated), or is this just temporary? > > The default bitrate has changed, could you point me to the outdated > documentation? in doc/ffmpeg.texi in @chapter Description There is an example: To set the video bitrate of the output file to 64kbit/s: @example ffmpeg -i input.avi -b:v 64k output.avi @end example However, nowhere in the file does it explain how the -b flag works. I assume from the example that functionality looks like ``-b:[av] BITRATE''. The -ab flag has been removed from the documentation. From peace at aleksandrsolzhenitsyn.net Thu Dec 1 01:31:16 2011 From: peace at aleksandrsolzhenitsyn.net (.) Date: Wed, 30 Nov 2011 19:31:16 -0500 Subject: [FFmpeg-user] iPod 640x480 Message-ID: <4ED6CAD4.5070604@aleksandrsolzhenitsyn.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hope this new post works better than the last one I re-cycled... > Can someone explain to me why my iPod can't handle videos at 640x480 > when the spec's for it say it can? Did you encode the videos with ffmpeg? If yes, then show your command and the complete console output. Otherwise we have to make guesses with little information to work with. Here's the FFMPEG code line I use; ffmpeg -i Rowing.mp4 -vcodec libx264 -preset medium -vpre ipod320 -crf 24 -acodec libfaac -aq 100 -vf scale="320:trunc(ow/a/2)*2" ROWING.mp4 That's a pretty fancy looking code line isn't it? Don't get me wrong- I have no idea what I'm doing- I got the line of code from FakeOutdoorsman on the Ubuntu forum. He has been extremely helpful. I've tried COUNTLESS code lines that are all over web about "how to convert a video so it fits on an iPod....and....for me...none of them ever work. The version of FFMPEG I'm using is; ffmpeg version git-2011-11-24-957867a, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 24 2011 16:13:53 with gcc 4.4.3 configuration: --enable-libmp3lame --enable-libvpx --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-x11grab libavutil 51. 27. 0 / 51. 27. 0 libavcodec 53. 37. 0 / 53. 37. 0 libavformat 53. 21. 0 / 53. 21. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 49. 0 / 2. 49. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO1srQAAoJEPBpZNn4grcjZdcH/1fz5h1nIruXHYitYUo8ZbRz hWNFHFAPSlZGsom2xolZQA9g4BDGnPkNRdcxwlehKR6ICoQthKM7fvH7UHbDa6VP mzQ3bcAE7jNab3P1ziT8si1BiKBlEpdHmR0jlACxNnkVncITTWcpmitS5L9kmMhu chM9NqnFtfS7s68mZR/CJK4/R948VuBrU/eTbsk2dr/leGJT4haBPjBbdKKsWthv pgvWTeCnh4EnBdO/CKTbfn3xSejrzZFfONS4tcWjRFiZWsLhb/0t6u2RsUOS/+Ul 2GPiUjOwLQXSvoRgM4OX3bctT4pRzUJBLrHrrmOn6ANEdzwOCMkcI8oWxAf3PD4= =9F+J -----END PGP SIGNATURE----- From lou at lrcd.com Thu Dec 1 02:13:05 2011 From: lou at lrcd.com (Lou) Date: Wed, 30 Nov 2011 16:13:05 -0900 Subject: [FFmpeg-user] iPod 640x480 In-Reply-To: <4ED6CAD4.5070604@aleksandrsolzhenitsyn.net> References: <4ED6CAD4.5070604@aleksandrsolzhenitsyn.net> Message-ID: <20111130161305.08724cbf@lrcd.com> On Wed, 30 Nov 2011 19:31:16 -0500 "." wrote: > Hope this new post works better than the last one I re-cycled... > > > > Can someone explain to me why my iPod can't handle videos at 640x480 > > when the spec's for it say it can? > > Did you encode the videos with ffmpeg? If yes, then show your command > and the complete console output. Otherwise we have to make guesses > with little information to work with. > > > Here's the FFMPEG code line I use; > > ffmpeg -i Rowing.mp4 -vcodec libx264 -preset medium -vpre ipod320 -crf > 24 -acodec libfaac -aq 100 -vf scale="320:trunc(ow/a/2)*2" ROWING.mp4 This command looks fine to me, other than the fact that it will produce a video that is 320 pixels wide. Does this work on your iPod? I was expecting a command that would give you a video that is 640 pixels wide because that's what your email subject is about. > That's a pretty fancy looking code line isn't it? Don't get me > wrong- I have no idea what I'm doing- I got the line of code from > FakeOutdoorsman on the Ubuntu forum. He has been extremely helpful. > I've tried COUNTLESS code lines that are all over web about "how to > convert a video so it fits on an iPod....and....for me...none of them > ever work. Does ffmpeg fail, or does iTunes not accept the file, or does the iPod not play it? > The version of FFMPEG I'm using is; > > ffmpeg version git-2011-11-24-957867a, Copyright (c) 2000-2011 the > FFmpeg developers > built on Nov 24 2011 16:13:53 with gcc 4.4.3 > configuration: --enable-libmp3lame --enable-libvpx --enable-gpl > --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac > --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libtheora --enable-libvorbis --enable-libx264 > --enable-x11grab libavutil 51. 27. 0 / 51. 27. 0 > libavcodec 53. 37. 0 / 53. 37. 0 > libavformat 53. 21. 0 / 53. 21. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 49. 0 / 2. 49. 0 > libswscale 2. 1. 0 / 2. 1. 0 > libpostproc 51. 2. 0 / 51. 2. 0 You're using a recent ffmpeg. That's good. From peace at AleksandrSolzhenitsyn.net Thu Dec 1 04:08:06 2011 From: peace at AleksandrSolzhenitsyn.net (.) Date: Wed, 30 Nov 2011 22:08:06 -0500 Subject: [FFmpeg-user] iPod 640x480 In-Reply-To: <20111130161305.08724cbf@lrcd.com> References: <4ED6CAD4.5070604@aleksandrsolzhenitsyn.net> <20111130161305.08724cbf@lrcd.com> Message-ID: <4ED6EF96.5040207@AleksandrSolzhenitsyn.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/30/2011 08:13 PM, Lou wrote: > On Wed, 30 Nov 2011 19:31:16 -0500 > "." wrote: > >> Hope this new post works better than the last one I re-cycled... >> >> >>> Can someone explain to me why my iPod can't handle videos at 640x480 >>> when the spec's for it say it can? >> >> Did you encode the videos with ffmpeg? If yes, then show your command >> and the complete console output. Otherwise we have to make guesses >> with little information to work with. >> >> >> Here's the FFMPEG code line I use; >> >> ffmpeg -i Rowing.mp4 -vcodec libx264 -preset medium -vpre ipod320 -crf >> 24 -acodec libfaac -aq 100 -vf scale="320:trunc(ow/a/2)*2" ROWING.mp4 > > This command looks fine to me, other than the fact that it will produce > a video that is 320 pixels wide. Does this work on your iPod? Yes, it works perfectly. > > > I was expecting a command that would give you a video that is 640 pixels > wide because that's what your email subject is about. Originally the code that was given to me had the -vpre 640 but it didn't work reliably. > > >> That's a pretty fancy looking code line isn't it? Don't get me >> wrong- I have no idea what I'm doing- I got the line of code from >> FakeOutdoorsman on the Ubuntu forum. He has been extremely helpful. >> I've tried COUNTLESS code lines that are all over web about "how to >> convert a video so it fits on an iPod....and....for me...none of them >> ever work. > > Does ffmpeg fail, or does iTunes not accept the file, or does the iPod > not play it? In iTunes the videos play fine with no troubles- 320 or 640 play with no trouble. But...unless I encode with a -vpre 320 USUALLY, TYPICALLY the videos will not transfer to the iPod and iTunes issues a warning that the videos weren't transferred. Some 640 videos do get transferred to the iPod but usually they start playing fine but then half way through speed up to double speed and race to the end of the video. Odd as it may seem videos that are long (over 15 minutes in length) are the ones that do cause the most problems. Like I said- if I encode with a -vpre 320 then they play fine with no troubles. It seems the Youtube downloader I use converts most of the videos to something like 480 x ??? (can't remember) so I have to re-encode them to the 320 format. > > >> The version of FFMPEG I'm using is; >> >> ffmpeg version git-2011-11-24-957867a, Copyright (c) 2000-2011 the >> FFmpeg developers >> built on Nov 24 2011 16:13:53 with gcc 4.4.3 >> configuration: --enable-libmp3lame --enable-libvpx --enable-gpl >> --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac >> --enable-libopencore-amrnb --enable-libopencore-amrwb >> --enable-libtheora --enable-libvorbis --enable-libx264 >> --enable-x11grab libavutil 51. 27. 0 / 51. 27. 0 >> libavcodec 53. 37. 0 / 53. 37. 0 >> libavformat 53. 21. 0 / 53. 21. 0 >> libavdevice 53. 4. 0 / 53. 4. 0 >> libavfilter 2. 49. 0 / 2. 49. 0 >> libswscale 2. 1. 0 / 2. 1. 0 >> libpostproc 51. 2. 0 / 51. 2. 0 > > You're using a recent ffmpeg. That's good. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO1u+SAAoJEPBpZNn4grcjNwgH/jpuCGtsOXXALAc0S8UVdPsV ukVySK7uBucJeO8PjBwYefsZ2COdyBeGveO1ans09zCzGr5hywLFAFe/RTXdKWVB I/GWCwX+TLrrqbxQuxDrFps5qIDA7m3Z6HQn/otxzNIaWEd3t0EDZiu0w1lXqMe9 qX9I6/u9FARVKCKPyJF1V1V284ZKf5TD12ZMN6vRUTvPsA65vyuJ427Phpr2Da8r pj/d1CAmuDSm4iT/7+lngFxC7+qyjUOwofbhEl9g+lbD7VLKnaFDuVgUPJCPKjs+ FWEpfqrS1vKBb9tmUGNz12plTqwsr286fRbi4VV/39xTpUclamo39njOn1CgBeY= =VctG -----END PGP SIGNATURE----- From Rbigm101 at gmail.com Thu Dec 1 07:01:20 2011 From: Rbigm101 at gmail.com (Mike Rotondo) Date: Thu, 1 Dec 2011 01:01:20 -0500 Subject: [FFmpeg-user] Multiple audio tracks Message-ID: For some reason this won't transcode. Here is the mediainfo output General Unique ID : 208982034738622594494005333413410480718 (0x9D3879D194D7F24E9BDC5DEC23FDA24E) Complete name : Sample.mkv Format : Matroska Format version : Version 2 File size : 37.9 MiB Duration : 1mn 2s Overall bit rate : 5 072 Kbps Encoded date : UTC 2011-11-05 13:06:58 Writing application : mkvmerge v4.4.0 ('Die Wiederkehr') built on Oct 31 2010 21:52:48 Writing library : libebml v1.0.0 + libmatroska v1.0.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High at L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 5 frames Muxing mode : Header stripping Codec ID : V_MPEG4/ISO/AVC Duration : 1mn 2s Width : 1 920 pixels Height : 800 pixels Display aspect ratio : 2.40:1 Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Audio #1 ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : A_AAC Duration : 1mn 2s Channel(s) : 8 channels Channel positions : Front: L C R, Side: L R, Back: L R, LFE Sampling rate : 48.0 KHz Compression mode : Lossy Delay relative to video : 14ms Language : English Audio #2 ID : 3 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : A_AAC Duration : 1mn 2s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Delay relative to video : 14ms Language : English Audio #3 ID : 4 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Muxing mode : Header stripping Codec ID : A_AC3 Duration : 1mn 2s Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Delay relative to video : 29ms Stream size : 2.87 MiB (8%) Title : takrian hindi 5.1 This is the command I am trying to use. usr/local/bin/ffmpeg -i "/home/user/Downloads/Sample.mkv" -acodec ac3 -ab 384k -vcodec copy -vbsf h264_mp4toannexb -f mpegts -y Sample1.mkv I don't think the fact that there is 8 channels in the audio is hurting it. However there is this hindi track and I'm worried that this may require me to remove the audio tracks then reinsert them. The problem with that is I'm transcoding for streaming. I would like it to be one command. Here's the output: ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 30 2011 19:19:32 with gcc 4.4.3 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 libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 8. 0 / 53. 8. 0 libavformat 53. 5. 0 / 53. 5. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [matroska,webm @ 0x18b6400] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (24000/1001) Input #0, matroska,webm, from '/home/banana/Downloads/ Transformers-Dark of the Moon 2011 1080p BRRip 7.1{Dual Audio Eng Hindi}5.1 [Takrian]/Sample.mkv': Duration: 00:01:02.71, start: 0.000000, bitrate: 384 kb/s Stream #0.0: Video: h264 (High), yuv420p, 1920x800 [PAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0.1(eng): Audio: aac, 48000 Hz, 7.1(wide), s16 Stream #0.2(eng): Audio: aac, 48000 Hz, stereo, s16 (default) Stream #0.3: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s Metadata: title : takrian hindi 5.1 [ac3 @ 0x1b92680] channel_layout not specified [ac3 @ 0x1b92680] No channel layout specified. The encoder will guess the layout, but it might be incorrect. [ac3 @ 0x1b92680] invalid channel layout Output #0, mpegts, to 'Sample1.mp4': Stream #0.0: Video: libx264, yuv420p, 1920x800 [PAR 1:1 DAR 12:5], q=2-31, 90k tbn, 23.98 tbc (default) Stream #0.1(eng): Audio: ac3, 48000 Hz, 8 channels, s16, 384 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 From klaus.kudielka at gmx.net Thu Dec 1 08:29:54 2011 From: klaus.kudielka at gmx.net (Klaus Kudielka) Date: Thu, 1 Dec 2011 08:29:54 +0100 Subject: [FFmpeg-user] Application provided invalid, non monotonically increasing dts to muxer In-Reply-To: <20111130063007.191380@gmx.net> References: <20111129203824.GA13472@mars> <20111130063007.191380@gmx.net> Message-ID: <20111201072954.GA1697@mars> On Wed, Nov 30, 2011 at 07:30:07AM +0100, Klaus Kudielka wrote: > > > ---- Two examples for NOT WORKING git masker: > > > > > > [0]$ /opt/ffmpeg-git/bin/ffmpeg -i x.mkv -map 0 -c copy -y /tmp/x.mkv > > > > [...] > > > > > ---- Counter-example of working 0.8.7: > > > > > > [1]$ /opt/ffmpeg/bin/ffmpeg -i x.mkv" -map 0.0 -vcodec copy -an -sn -y > > > /tmp/x.mkv -map 0.1 -acodec copy -newaudio -map 0.2 -acodec copy > > -newaudio > > > -map 0.3 -scodec copy -newsubtitle -map 0.4 -scodec copy -newsubtitle > > -map 0.5 > > > -scodec copy -newsubtitle -map 0.6 -scodec copy -newsubtitle > > > > The command lines look different... > > Well, due to the new command line syntax in git master they HAVE > to differ, in order to achieve the same behaviour!? > (-map and -codec now handle all streams instead of only one, > removal of -newaudio and -newsubtitle options which were needed > before) > > Or am I missing something? Anyway the 'complicated' version of the git > master command line (mapping & specifying codec for all streams individually) > shows exactly the same behaviour: > > /opt/ffmpeg-git/bin/ffmpeg -i x.mkv -map 0:v:0 -c:v:0 copy -map 0:a:0 > -c:a:0 copy -map 0:a:1 -c:a:1 copy -map 0:s:0 -c:s:0 copy -map 0:s:1 -c:s:1 > copy -map 0:s:2 -c:s:2 copy -map 0:s:3 -c:s:3 copy /tmp/x.mkv > > [...] > > [matroska @ 0x2abc6c0] Application provided invalid, non monotonically > increasing dts to muxer in stream 0: -83 >= -83 > av_interleaved_write_frame(): Invalid argument > > > Could you provide a sample and / or find the version introducing the > > problem? > > I will try to find the version introducing the problem. Will probably > take a few evenings. Okay, this is what I found out: The main branch ffmpeg stopped working in this scenario with commit 0b9a69f (a8e6d4d still worked fine). ffmpeg -i x.mkv -map 0 -c copy -y /tmp/x.mkv The other branch avconv (the one with the obsolete ffmpeg) had already stopped working before, in commit 2a651b7 (51aeb69 still worked fine). avconv -i x.mkv -map 0 -c copy -y /tmp/x.mkv It really seems to happen with every MKV that has an h264 or vc1 stream in it. If you still need a sample file, let me know. The error always is: Application provided invalid, non monotonically increasing dts to muxer in stream 0: ..... Klaus From tim.nicholson at bbc.co.uk Thu Dec 1 10:05:04 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 01 Dec 2011 09:05:04 +0000 Subject: [FFmpeg-user] feature request: user editable list of filters In-Reply-To: References: <20111130100309.3097ba37@lrcd.com> Message-ID: <4ED74340.5080402@bbc.co.uk> On 30/11/11 19:42, Roger Pack wrote: >> >> Good idea. Here's a start: >> https://ffmpeg.org/trac/ffmpeg/wiki/FilteringGuide >> >> Feel free to monkey around with my initial formatting and examples if >> you want to. I'm assuming any registered [1] user can edit the page, >> but I'm not totally sure. > > I was able to edit it. > I have added some examples designed to show how the syntax develops from simple, one filter graphs, into graphs containing more than one chain, and clarified some things that I have found unclear in the docs. Hope it helps... -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From arunkumar at omeonsolutions.com Thu Dec 1 10:06:31 2011 From: arunkumar at omeonsolutions.com (Arunkumar) Date: Thu, 1 Dec 2011 14:36:31 +0530 Subject: [FFmpeg-user] Problem in compiling Stagefright with ffmpeg Message-ID: <000001ccb008$85f1e030$91d5a090$@com> Hi, I am having problems compiling stagefright with ffmpeg. We are using the build_libstagefright script that comes in the tools directory of ffmpeg. But when I run this script, I am getting this error: Fetching Android system headers Fetching Android libraries for linking ERROR: libstagefright_h264 not found What is the problem? How should the problem be solved? Thank you, B.Arunkumar From de.techno at gmail.com Thu Dec 1 11:33:27 2011 From: de.techno at gmail.com (dE .) Date: Thu, 01 Dec 2011 16:03:27 +0530 Subject: [FFmpeg-user] Error messages In-Reply-To: <0aa3ed02-34ec-47fd-909a-0fa6e3f49344@essexcricket.org.uk> References: <0aa3ed02-34ec-47fd-909a-0fa6e3f49344@essexcricket.org.uk> Message-ID: <4ED757F7.8040004@gmail.com> On 11/30/11 16:25, Danny Sadai wrote: > Hi there, every time I try to view a folder containing a video file I get an error message: "COM Surrogate has stopped working" (I have attached the full error message and my system details), when I follow the MS windows error link it tells me I have an FFmpeg fault, I did not even know that FFmpeg was installed, can any one PLEASE HELP? > > > Danny Sadai > Deputy Safety Officer/Maintenance Assistant > Email: danny.sadai at essexcricket.org.uk > > Telephone: 01245 254037 / Mobile: 07971 451643 / Fax: 01245 254021 > > Address: The Ford County Ground, New Writtle Street, Chelmsford, Essex, CM2 0PG. > > > > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user You probably should do the following in order - 1) re-install all drivers 2) re-boot 3) re-install any multimedia programs 4) re-boot 5) Lastly, if doesn't work re-format Windows (as always). From batguano999 at hotmail.com Thu Dec 1 11:43:40 2011 From: batguano999 at hotmail.com (bat guano) Date: Thu, 1 Dec 2011 10:43:40 +0000 Subject: [FFmpeg-user] feature request: user editable list of filters In-Reply-To: <4ED74340.5080402@bbc.co.uk> References: <20111130100309.3097ba37@lrcd.com>, , <4ED74340.5080402@bbc.co.uk> Message-ID: > > I have added some examples designed to show how the syntax develops from > simple, one filter graphs, into graphs containing more than one chain, > and clarified some things that I have found unclear in the docs. > > Hope it helps... > -- > Tim > Hi I think there's a typo in your Wiki post. ...Remembering that filters in a chain are separated by commas "." chains by a semicolon ";"... "." should be "," From tim.nicholson at bbc.co.uk Thu Dec 1 11:49:17 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 01 Dec 2011 10:49:17 +0000 Subject: [FFmpeg-user] feature request: user editable list of filters In-Reply-To: References: <20111130100309.3097ba37@lrcd.com>, , <4ED74340.5080402@bbc.co.uk> Message-ID: <4ED75BAD.8020408@bbc.co.uk> On 01/12/11 10:43, bat guano wrote: > > >> >> I have added some examples designed to show how the syntax develops from >> simple, one filter graphs, into graphs containing more than one chain, >> and clarified some things that I have found unclear in the docs. >> >> Hope it helps... >> -- >> Tim >> > Hi > I think there's a typo in your Wiki post. > ...Remembering that filters in a chain are separated by commas "." chains by a semicolon ";"... > > "." should be "," Bother, there are times when a hi res screen and small font catches me out. Thanks for spotting it. Fixed! -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From ffmpeg-user at herveybayaustralia.com.au Thu Dec 1 14:19:48 2011 From: ffmpeg-user at herveybayaustralia.com.au (Da Rock) Date: Thu, 01 Dec 2011 23:19:48 +1000 Subject: [FFmpeg-user] no connections - ffserver rendered useless In-Reply-To: References: <4ED5939F.5070508@herveybayaustralia.com.au> Message-ID: <4ED77EF4.3010602@herveybayaustralia.com.au> On 11/30/11 20:08, Carl Eugen Hoyos wrote: > Da Rock herveybayaustralia.com.au> writes: > >> FreeBSD 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 >> ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers > Please test current git master. > > I'm not 100% sure what the git master is as it isn't referenced categorically on the ffmpeg site. I did try the git url at the top of the list on the download page (snapshot link mentioned something about head, so I went for it), but it won't build on FreeBSD. I get assembler errors: CC libavcodec/vp5.o /var/tmp//ccWKZjQg.s: Assembler messages: /var/tmp//ccWKZjQg.s:185: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:230: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:275: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:329: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:435: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:544: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:679: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:724: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:858: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:897: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:931: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:971: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:1022: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:3893: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:4307: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:4677: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:4931: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:5185: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:5439: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccWKZjQg.s:5954: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression gmake: *** [libavcodec/vp5.o] Error 1 There is a snapshot in the ports tree 09-10-2011 which I tried building as well, but it failed as well on opencv; so I disabled opencv to test and it built ok, but mpegts is now in strife: Invalid program index while processing metadata maps There are 0.0-0.9 substreams, associated to 4 pids. All video is mpeg2 with bitrates varying due to frame size; audio is either ac3 5.0 at 448K or mp2 at 256K; there is also a dvb_teletext stream associated with each pid, and an "unknown" (epg?) for each. I am ignoring 1 of the pids in my cmd because it is only a replica of , but it hasn't been bothered by it in the past. Am I missing something here? Is there some documentation I should be looking at that is different in the 0.7.7 version? Without the actual data I'm trying to work with though, I tried a test with an mpg file cut from a ts stream with dvbcut and I actually got 404 http error from ffserver. Numerous attempts with different parameters and feeds- even though the stat page showed the feeds existed. I also tried checking the permissions of the files: 666 (heaven forbid! :) ). All to no avail. This looks like it could be the error from earlier, and I'd say its a good chance ffserver has been borking it- I sent the data using ffmpeg 0.7.6. I'm still trying to work out a stream _from_ ffserver. Having said all that about ffserver, ffmpeg from the same build can't win no matter which way I cut it. Besides my primary goal (errors mentioned above), the same test stream that worked on 0.7.6 seg faults, I tried others and I get an error opening filters. There could be more: the mpegts had real trouble with the raw stream- to get the error above I used gstreamer dvbsrc to obtain the ts, it failed completely from a raw pipe using the freebsd cx88 utility (I could barely get ^c to work to kill it). Where to now? From cehoyos at ag.or.at Thu Dec 1 15:37:50 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 1 Dec 2011 14:37:50 +0000 (UTC) Subject: [FFmpeg-user] Multiple audio tracks References: Message-ID: Mike Rotondo gmail.com> writes: > Here is the mediainfo output I do not remember a report where this was useful ... > Channel positions : Front: L C R, Side: L R, Back: L R, LFE ... otoh, this looks interesting (I thought the AAC specification required 8 channel audio to be "wide" - C LC L RC R BL BR LFE): If you extract the audio stream - ffmpeg -i Sample.mkv -acodec copy -map 0.1 out.aac or mplayer -dumpaudio - do the positions look identical? If yes, could you provide the sample (audio only)? [...] > I don't think the fact that there is 8 channels in the audio is hurting it. [...] > Here's the output: > > ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers If you are a user (and not a distributor), please consider using current git head: It contains less bugs and more features than any released version. [...] > Stream #0.1(eng): Audio: aac, 48000 Hz, 7.1(wide), s16 The (Dolby) specification that the ac3 encoder implements does not allow 8 channels, you have to either downmix audio (with -ac) or choose another stream to encode (with -map). Carl Eugen From rogerdpack2 at gmail.com Thu Dec 1 16:20:06 2011 From: rogerdpack2 at gmail.com (Roger Pack) Date: Thu, 1 Dec 2011 08:20:06 -0700 Subject: [FFmpeg-user] feature request: user editable list of filters In-Reply-To: <4ED74340.5080402@bbc.co.uk> References: <20111130100309.3097ba37@lrcd.com> <4ED74340.5080402@bbc.co.uk> Message-ID: > I have added some examples designed to show how the syntax develops from > simple, one filter graphs, into graphs containing more than one chain, and > clarified some things that I have found unclear in the docs. Looks nice thank you. -r From cehoyos at ag.or.at Thu Dec 1 16:36:30 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 1 Dec 2011 15:36:30 +0000 (UTC) Subject: [FFmpeg-user] Application provided invalid, non monotonically increasing dts to muxer References: <20111129203824.GA13472@mars> <20111130063007.191380@gmx.net> <20111201072954.GA1697@mars> Message-ID: Klaus Kudielka gmx.net> writes: > Okay, this is what I found out: > > The main branch ffmpeg stopped working in this scenario with > commit 0b9a69f (a8e6d4d still worked fine). > ffmpeg -i x.mkv -map 0 -c copy -y /tmp/x.mkv Should be fixed. Please test, Carl Eugen From de.techno at gmail.com Thu Dec 1 17:56:20 2011 From: de.techno at gmail.com (dE .) Date: Thu, 01 Dec 2011 22:26:20 +0530 Subject: [FFmpeg-user] Problem creating DVD menu mpeg In-Reply-To: References: <4ED65289.8050409@gmail.com> Message-ID: <4ED7B1B4.1020501@gmail.com> On 12/01/11 03:18, Mike Martin wrote: > Simple its part of my own graphical app which imo is better for what I want > ?burn360? > On Nov 30, 2011 3:58 PM, "dE ." wrote: >> On 11/30/11 12:29, Mike Martin wrote: >>> As people probably know a DVD menu needs to be a DVD compliant mpeg >>> video with an audio stream >>> >>> previous to upgrading to F16 and ffmpeg-0.8.5 this worked >>> >>> ffmpeg -v 2 -i /storage/burn/dvd_tmp/2-%d.png -f s16le -i /dev/zero >>> -s 720x568 -t 15 -shortest -qscale 4 -acodec mp2 -ab 64k -ar 48000 >>> -ac 2 -aspect 4:3 -y test.avi >>> >>> (a group of png files combned with silent audio) >>> >>> however now this is what I get >>> ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers >>> built on Oct 27 2011 21:33:51 with gcc 4.6.1 20111003 (Red Hat > 4.6.1-10) >>> 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 >>> --enable-libcelt --enable-libdc1394 --enable-libdirac >>> --enable-libfreetype --enable-libgsm --enable-libmp3lame >>> --enable-libopenjpeg --enable-librtmp --enable-libschroedinger >>> --enable-libspeex --enable-libtheora --enable-libvorbis >>> --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. 9. 1 / 51. 9. 1 >>> libavcodec 53. 7. 0 / 53. 7. 0 >>> libavformat 53. 4. 0 / 53. 4. 0 >>> libavdevice 53. 1. 1 / 53. 1. 1 >>> libavfilter 2. 23. 0 / 2. 23. 0 >>> libswscale 2. 0. 0 / 2. 0. 0 >>> libpostproc 51. 2. 0 / 51. 2. 0 >>> [image2 @ 0x8db57c0] max_analyze_duration 5000000 reached at 5000000 >>> Input #0, image2, from '/storage/burn/dvd_tmp/2-%d.png': >>> Duration: 00:00:15.00, start: 0.000000, bitrate: N/A >>> Stream #0.0: Video: png, rgb24, 204x170, 25 fps, 25 tbr, 25 tbn, 25 > tbc >>> Ignoring attempt to set invalid timebase for st:0 >>> [s16le @ 0x8db6fe0] Estimating duration from bitrate, this may be > inaccurate >>> Input #1, s16le, from '/dev/zero': >>> Duration: N/A, start: 0.000000, bitrate: N/A >>> Stream #1.0: Audio: pcm_s16le, 1 channels, s16 >>> Incompatible pixel format 'rgb24' for codec 'mpeg4', auto-selecting >>> format 'yuv420p' >>> [buffer @ 0x8dd5640] w:204 h:170 pixfmt:rgb24 tb:1/1000000 sar:0/1 > sws_param: >>> [scale @ 0x8dd9ea0] w:204 h:170 fmt:rgb24 -> w:720 h:568 fmt:yuv420p > flags:0x4 >>> Output #0, avi, to 'test.avi': >>> Metadata: >>> ISFT : Lavf53.4.0 >>> Stream #0.0: Video: mpeg4, yuv420p, 720x568 [PAR 142:135 DAR 4:3], >>> q=2-31, 200 kb/s, 25 tbn, 25 tbc >>> Stream #0.1: Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s >>> Stream mapping: >>> Stream #0.0 -> #0.0 >>> Stream #1.0 -> #0.1 >>> Press [q] to stop, [?] for help >>> Floating point exception (core dumped) >>> >>> >>> any ideas (the avi is a halfway house) >>> _______________________________________________ >>> ffmpeg-user mailing list >>> ffmpeg-user at ffmpeg.org >>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> Why not use graphical application like devede and dvdstyler? I think even > k3b is capable of doing it. >> _______________________________________________ >> 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 If it works under Linux, I'd like to know... From de.techno at gmail.com Thu Dec 1 17:57:47 2011 From: de.techno at gmail.com (dE .) Date: Thu, 01 Dec 2011 22:27:47 +0530 Subject: [FFmpeg-user] problem encode mov to 3gp In-Reply-To: References: <20111129151714.1556dab3.dashing.meng@gmail.com> <20111129175945.bb343702.dashing.meng@gmail.com> <4ED6515C.9000203@gmail.com> Message-ID: <4ED7B20B.5010700@gmail.com> On 11/30/11 22:05, Carl Eugen Hoyos wrote: > dE . gmail.com> writes: > >> github.com/stvs/ffmpeg-static > The script on this side is completely outdated (and uses an old version of > FFmpeg with a very high number of known and fixed bugs). > > Please do not suggest not to compile FFmpeg on this list: It is the supported > and suggested way of getting a working version! > >> And no, I've never tried it. > I strongly recommend not trying it. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Well, I don't know, I use Gentoo and can easily compile the -9999 versions. So, no such hard work for me. ;-) From mihaly.zachar at gamma.co.uk Thu Dec 1 18:23:42 2011 From: mihaly.zachar at gamma.co.uk (Mihaly Zachar) Date: Thu, 01 Dec 2011 18:23:42 +0100 Subject: [FFmpeg-user] RTP stream converting Message-ID: <4ED7B81E.8080604@gamma.co.uk> Hi Gents, I'm a newbie to ffmpeg, this is my first post. I'm here, because our plan is to create converter application which will be able to read an RTP stream from a file and convert it to WAV or MP3. Lets say there is a file, which contains whole RTP packets including the RTP headers as well. Within the RTP stream, there might be spaces, bunch of missing packets, but the output must be correct in terms of timing, so the missing part must contain silence in the output. Could you guys please give me a way how can I do this with ffmpeg ? Is there any way to do it using an existing command line tool, which are exist in the modern Linux distributions, or do I need to write an application based on ffmpeg ? Thanks, Misi From klaus.kudielka at gmx.net Thu Dec 1 20:29:30 2011 From: klaus.kudielka at gmx.net (Klaus Kudielka) Date: Thu, 1 Dec 2011 20:29:30 +0100 Subject: [FFmpeg-user] Application provided invalid, non monotonically increasing dts to muxer In-Reply-To: References: <20111129203824.GA13472@mars> <20111130063007.191380@gmx.net> <20111201072954.GA1697@mars> Message-ID: <20111201192930.GA22660@mars> On Thu, Dec 01, 2011 at 03:36:30PM +0000, Carl Eugen Hoyos wrote: > Klaus Kudielka gmx.net> writes: > > > Okay, this is what I found out: > > > > The main branch ffmpeg stopped working in this scenario with > > commit 0b9a69f (a8e6d4d still worked fine). > > ffmpeg -i x.mkv -map 0 -c copy -y /tmp/x.mkv > > Should be fixed. > > Please test, Carl Eugen Yes indeed, I just pulled d9cc6bb, and it works fine again. Thanks a lot, that was really fast :) Klaus From coniophora at gmail.com Fri Dec 2 01:26:56 2011 From: coniophora at gmail.com (Jim Worrall) Date: Thu, 1 Dec 2011 17:26:56 -0700 Subject: [FFmpeg-user] man page vs. online documentation Message-ID: I recently compiled and installed the latest ffmpeg, and compared the man page that came with it to the current ffmpeg documentation online at http://ffmpeg.org/ffmpeg.html . It seems like basically the same document, but there are many significant differences. Which one is likely to better reflect the instructions for the actual one I install, the man page that accompanies it, or the online documentation at the time I downloaded it? Thanks in advance. From ubitux at gmail.com Fri Dec 2 02:38:05 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Fri, 2 Dec 2011 02:38:05 +0100 Subject: [FFmpeg-user] man page vs. online documentation In-Reply-To: References: Message-ID: <20111202013805.GC10176@leki> On Thu, Dec 01, 2011 at 05:26:56PM -0700, Jim Worrall wrote: > I recently compiled and installed the latest ffmpeg, and compared the man > page that came with it to the current ffmpeg documentation online at > http://ffmpeg.org/ffmpeg.html . It seems like basically the same document, > but there are many significant differences. The online documentation is based on the upstream (each time the documentation gets updated in the repository, the online one is re-generated). What are you calling latest FFmpeg? Source snapshot or latest stable (0.8.7 ATM)? > Which one is likely to better reflect the instructions for the actual > one I install, the man page that accompanies it, or the online > documentation at the time I downloaded it? > It depends; typo fix, wording improvements, or anything such as new examples for old features are likely to apply as well on your version (and ideally they are backported so you don't actually need to look in the online one). OTOH, new features only available in the "dev" version won't apply to the one you just downloaded. Maybe you should be more specific about the differences you noticed? -- 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 coniophora at gmail.com Fri Dec 2 03:18:02 2011 From: coniophora at gmail.com (Jim Worrall) Date: Thu, 1 Dec 2011 19:18:02 -0700 Subject: [FFmpeg-user] man page vs. online documentation In-Reply-To: <20111202013805.GC10176@leki> References: <20111202013805.GC10176@leki> Message-ID: <80702AFF-D1DA-44EA-B512-76BB657EF9CD@gmail.com> On Dec 1, 2011, at 6:38 PM, Cl?ment B?sch wrote: On Thu, Dec 01, 2011 at 05:26:56PM -0700, Jim Worrall wrote: > I recently compiled and installed the latest ffmpeg, and compared the man > page that came with it to the current ffmpeg documentation online at > http://ffmpeg.org/ffmpeg.html . It seems like basically the same document, > but there are many significant differences. The online documentation is based on the upstream (each time the documentation gets updated in the repository, the online one is re-generated). What are you calling latest FFmpeg? Source snapshot or latest stable (0.8.7 ATM)? > Which one is likely to better reflect the instructions for the actual > one I install, the man page that accompanies it, or the online > documentation at the time I downloaded it? > It depends; typo fix, wording improvements, or anything such as new examples for old features are likely to apply as well on your version (and ideally they are backported so you don't actually need to look in the online one). OTOH, new features only available in the "dev" version won't apply to the one you just downloaded. Maybe you should be more specific about the differences you noticed? OK: I guess when I got the "latest", I browsed and chose the 0.8.7 (not sure what ATM means in this context). I don't really understand the development/ version process. Here's how my ffmpeg self-identifies: ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 30 2011 19:37:44 with clang 3.0 (tags/Apple/clang-211.12) configuration: --prefix=/Volumes/Ramdisk/sw --cc=clang --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. 9. 1 / 51. 9. 1 libavcodec 53. 8. 0 / 53. 8. 0 libavformat 53. 5. 0 / 53. 5. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 Here are some differences: The man page has a sentence in the Description about converting as lossless as possible; this is not online. The online page has an entire section on Stream Selection after the Description; not in the man page. The online page has an extensive section on Stream Specifiers, under Options; not found in the man page. The online page has a section called AVOptions under Options; not found in the man page. There seem to be additional Main Options in the online page not found in the man page, for example: '-n (global)? ?-c[:stream_specifier] codec (input/output,per-stream)? ?-codec[:stream_specifier] codec (input/output,per-stream)? These examples are just from the early part of the manual, there are many more, and they seem pretty substantial. So maybe these changes were introduced after the 0.8.7 release? Is it better to get the latest snapshot? Thank you. From ffmpeg-user at herveybayaustralia.com.au Fri Dec 2 03:20:15 2011 From: ffmpeg-user at herveybayaustralia.com.au (Da Rock) Date: Fri, 02 Dec 2011 12:20:15 +1000 Subject: [FFmpeg-user] no connections - ffserver rendered useless In-Reply-To: <4ED77EF4.3010602@herveybayaustralia.com.au> References: <4ED5939F.5070508@herveybayaustralia.com.au> <4ED77EF4.3010602@herveybayaustralia.com.au> Message-ID: <4ED835DF.6050906@herveybayaustralia.com.au> On 12/01/11 23:19, Da Rock wrote: > On 11/30/11 20:08, Carl Eugen Hoyos wrote: >> Da Rock herveybayaustralia.com.au> writes: >> >>> FreeBSD 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 >>> ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg >>> developers >> Please test current git master. >> >> > I'm not 100% sure what the git master is as it isn't referenced > categorically on the ffmpeg site. I did try the git url at the top of > the list on the download page (snapshot link mentioned something about > head, so I went for it), but it won't build on FreeBSD. I get > assembler errors: > > CC libavcodec/vp5.o > /var/tmp//ccWKZjQg.s: Assembler messages: > /var/tmp//ccWKZjQg.s:185: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:230: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:275: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:329: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:435: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:544: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:679: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:724: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:858: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:897: Error: `(%esi,%edx)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:931: Error: `(%esi,%edx)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:971: Error: `(%esi,%edx)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:1022: Error: `(%r8d,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:3893: Error: `(%esi,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:4307: Error: `(%esi,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:4677: Error: `(%esi,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:4931: Error: `(%esi,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:5185: Error: `(%esi,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:5439: Error: `(%esi,%eax)' is not a valid 64 bit > base/index expression > /var/tmp//ccWKZjQg.s:5954: Error: `(%esi,%eax)' is not a valid 64 bit > base/index expression > gmake: *** [libavcodec/vp5.o] Error 1 > > There is a snapshot in the ports tree 09-10-2011 which I tried > building as well, but it failed as well on opencv; so I disabled > opencv to test and it built ok, but mpegts is now in strife: > > Invalid program index while processing metadata maps > > There are 0.0-0.9 substreams, associated to 4 pids. All video is mpeg2 > with bitrates varying due to frame size; audio is either ac3 5.0 at > 448K or mp2 at 256K; there is also a dvb_teletext stream associated > with each pid, and an "unknown" (epg?) for each. I am ignoring 1 of > the pids in my cmd because it is only a replica of , but it > hasn't been bothered by it in the past. > > Am I missing something here? Is there some documentation I should be > looking at that is different in the 0.7.7 version? > > Without the actual data I'm trying to work with though, I tried a test > with an mpg file cut from a ts stream with dvbcut and I actually got > 404 http error from ffserver. Numerous attempts with different > parameters and feeds- even though the stat page showed the feeds > existed. I also tried checking the permissions of the files: 666 > (heaven forbid! :) ). All to no avail. This looks like it could be the > error from earlier, and I'd say its a good chance ffserver has been > borking it- I sent the data using ffmpeg 0.7.6. I'm still trying to > work out a stream _from_ ffserver. > > Having said all that about ffserver, ffmpeg from the same build can't > win no matter which way I cut it. Besides my primary goal (errors > mentioned above), the same test stream that worked on 0.7.6 seg > faults, I tried others and I get an error opening filters. There could > be more: the mpegts had real trouble with the raw stream- to get the > error above I used gstreamer dvbsrc to obtain the ts, it failed > completely from a raw pipe using the freebsd cx88 utility (I could > barely get ^c to work to kill it). > > Where to now? Okay, here's an update on weirdness: ffserver-devel error logs show http:// get and post return 200 to the client. I will mention that the logs show get sends some data but the post show 0 data sent in *all* cases. ffmpeg-devel has numerous problems with mpegts and other formats AND i/o errors to ffserver. ffmpeg 0.7.6 has no problems with input (as far as I can tell), but can't communicate with ffserver-devel- 404 errors even though ffserver says 200 in the logs- timestamps match the events. ffserver 0.7.6 has no connection problems as far as I can tell. ffmpeg-devel has 404 errors communicating with ffserver 0.7.6. ffmpeg 0.7.6 can stream http to ffserver 0.7.6. I must be down a few brain cells today, this is doing my head in trying to assimilate all this. I do still have some (perspective is everything at this point) errors in my ffserver.conf judging from my results from ffserver 0.7.6. From what I can tell I *could* run 0.7.6 happily, so I could transfer a port-pkg to the machine in question and install it. Is there any more data I can input to the devel team though while I do have the defective build installed? I'm afraid I'd be _Way_ out of my depth to help much further though- I may be able to code but I'm stretching it with this media stuff just setting this up. I only have a few hours though, but I could maybe setup a limited setup in a vm. Cheers From cehoyos at ag.or.at Fri Dec 2 03:57:31 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 2 Dec 2011 02:57:31 +0000 (UTC) Subject: [FFmpeg-user] man page vs. online documentation References: <20111202013805.GC10176@leki> <80702AFF-D1DA-44EA-B512-76BB657EF9CD@gmail.com> Message-ID: Jim Worrall gmail.com> writes: > Is it better to get the latest snapshot? If you are not a distributor but a user, you are strongly encouraged to use current git head (instead of a release): It always contains more features and less bugs. If you believe that this is not clearly explained on http://ffmpeg.org/download.html please suggest improvements. Carl Eugen From sefer at hotmail.com Thu Dec 1 21:58:34 2011 From: sefer at hotmail.com (Sefer Tov) Date: Thu, 1 Dec 2011 15:58:34 -0500 Subject: [FFmpeg-user] Streaming live mpeg4 problem Message-ID: Hi, I've been trying to use ffmpeg to write out (transcode) an mp4 file into a player, however it appears that the MP4 container is not "seekable" and can't be streamed.Is that absolutely true? I understand there is a need to write the moov atom once the entire file has been transcoded (and it is preferably written out at the beginning of the file). My intention is to transcode live (on demand/on the fly) video streams to play on my iPad. I want it to start playing it as soon as the first bytes start pouring in (by piping the output of ffmpeg back into the socket).Is there any way to achieve that using ffmpeg? (I know iPad is very picky about the formats/codecs it supports). Any guidance orideas would be much appreciated. Thanks, Sefer. From robert at livemath.com Fri Dec 2 05:07:18 2011 From: robert at livemath.com (Robert Curtis) Date: Thu, 01 Dec 2011 23:07:18 -0500 Subject: [FFmpeg-user] Building Error on FreeBSD Message-ID: <4ED84EF6.6040200@livemath.com> Hi Everyone, I am trying to build ffmpeg on FreeBSD, but the ./configure script is hitting this error: NotDeadMath (ffmpeg) > ./configure --prefix=/u2/webprim3/fwdir/process/ffmpeg/ yasm not found, use --disable-yasm for a crippled build Certainly yasm is on this machine: NotDeadMath (ffmpeg) > yasm -h usage: yasm [option]* file Options: Here are my specifics: FreeBSD qs130.pair.com 6.2-RELEASE-p12 FreeBSD 6.2-RELEASE-p12 #0: Wed Sep 28 09:49:41 EDT 2011 erik5 at mayon.pair.com:/usr/obj/usr/src/sys/62PAIRn i386 Log file is attached, as requested. -Robert -- Robert R. Curtis, Ph.D. Managing Partner Distance Mathematics Education Associates, Inc. Producers of LiveMath Software Distance Calculus ? Distance Statistics ? Distance Algebra P.O. Box 390833 Central Square Cambridge, MA 02139 USA 617.497.2096 617.497.2116 FAX robert at livemath.com http://www.livemath.com AOL IM: LiveMath ICQ: 258662981 Yahoo IM: LiveMathRobert2004 GChat: livemath at gmail.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: config.log URL: From tim.nicholson at bbc.co.uk Fri Dec 2 09:40:20 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Fri, 02 Dec 2011 08:40:20 +0000 Subject: [FFmpeg-user] Reidrecting showinfo output Message-ID: <4ED88EF4.50401@bbc.co.uk> I find the showinfo output useful for various diagnostic tasks, but would find it more so if I could redirect its output to file. I have tried the following:- ffmpeg -i infile -vf showinfo -f mp4 -an -c:v copy -y /dev/null 2> info.txt with variations on 1>, 2> &> | tee etc However I either get nothing or just the usual ffmpeg header info, and when nothing goes to file I get no console output either. Is there a way of achieving this? -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From sheen.andy at googlemail.com Fri Dec 2 10:17:36 2011 From: sheen.andy at googlemail.com (Andy Sheen) Date: Fri, 02 Dec 2011 09:17:36 +0000 Subject: [FFmpeg-user] Reidrecting showinfo output In-Reply-To: <4ED88EF4.50401@bbc.co.uk> References: <4ED88EF4.50401@bbc.co.uk> Message-ID: <4ED897B0.3060904@googlemail.com> Tim Nicholson wrote on Fri 02 Dec at 8:40 UK time > I find the showinfo output useful for various diagnostic tasks, but > would find it more so if I could redirect its output to file. > > I have tried the following:- > > ffmpeg -i infile -vf showinfo -f mp4 -an -c:v copy -y /dev/null 2> info.txt > > with variations on 1>, 2> &> | tee etc > > However I either get nothing or just the usual ffmpeg header info, and > when nothing goes to file I get no console output either. > > Is there a way of achieving this? The generic way of redirecting everything is: ffmpeg command > info.txt 2>&1 i.e. redirect stdout and then map stderr to stdout with the 2>&1 Andy From gagandeep.bawa at ironroad.com Fri Dec 2 10:47:48 2011 From: gagandeep.bawa at ironroad.com (Gagandeep Bawa) Date: Fri, 2 Dec 2011 10:47:48 +0100 Subject: [FFmpeg-user] Audio Video Lip Sync Problem - IPhone mov Message-ID: Hi Guys, I am compressing IPhone recorded mov file in to mpeg4 file with in my IPhone app itself. For this i compiled ffmpeg libraries for IPhone and doing compression programmatically using ffmpeg libraries with in IPhone app. Everything working fine except video audio lip sync problem. Video seems to be running slow and not proper sync with audio, however output file duration comes correct same as it was in original file. I checked for 12 sec video and 1 min video both. I am setting 15 frame rate for video. I am just compressing video frames and not compressing audio frames, i am writing audio frames as it is in out put stream. It would be great if some one can help me to resolve this audio video lip sync problem. I need to fix this programmatically only not from ffmpeg command line options. -- Thanks & Regards, Gagandeep From james.darnley at gmail.com Fri Dec 2 11:21:25 2011 From: james.darnley at gmail.com (James Darnley) Date: Fri, 02 Dec 2011 11:21:25 +0100 Subject: [FFmpeg-user] Building Error on FreeBSD In-Reply-To: <4ED84EF6.6040200@livemath.com> References: <4ED84EF6.6040200@livemath.com> Message-ID: <4ED8A6A5.1020506@gmail.com> On 2011-12-02 05:07, Robert Curtis wrote: > > Hi Everyone, > > I am trying to build ffmpeg on FreeBSD, but the ./configure script is > hitting this error: > > NotDeadMath (ffmpeg) > ./configure > --prefix=/u2/webprim3/fwdir/process/ffmpeg/ > yasm not found, use --disable-yasm for a crippled build > > Certainly yasm is on this machine: > > NotDeadMath (ffmpeg) > yasm -h > usage: yasm [option]* file You are quite right that yasm is installed, but it is so old that it does not understand the instruction being tested. You have 0.5, you need to install a much newer one. I'm not sure what FFmpeg needs, but x264 requires 1.0 or later From belcampo at zonnet.nl Fri Dec 2 11:59:46 2011 From: belcampo at zonnet.nl (belcampo) Date: Fri, 02 Dec 2011 11:59:46 +0100 Subject: [FFmpeg-user] Audio Video Lip Sync Problem - IPhone mov In-Reply-To: References: Message-ID: <4ED8AFA2.5060900@zonnet.nl> On 12/02/2011 10:47 AM, Gagandeep Bawa wrote: > Hi Guys, > > I am compressing IPhone recorded mov file in to mpeg4 file with in my > IPhone app itself. For this i compiled ffmpeg libraries for IPhone and > doing compression programmatically using ffmpeg libraries with in IPhone > app. Everything working fine except video audio lip sync problem. Video > seems to be running slow and not proper sync with audio, however output > file duration comes correct same as it was in original file. I checked for > 12 sec video and 1 min video both. I am setting 15 frame rate for video. I > am just compressing video frames and not compressing audio frames, i am > writing audio frames as it is in out put stream. That's because you set it to 15fps, the source will be 25 or 30fps. So get what you asked for. Leave out the fps setting or set it the same as the source. > > It would be great if some one can help me to resolve this audio video lip > sync problem. I need to fix this programmatically only not from ffmpeg > command line options. > From gagandeep.bawa at ironroad.com Fri Dec 2 12:29:47 2011 From: gagandeep.bawa at ironroad.com (Gagandeep Bawa) Date: Fri, 2 Dec 2011 12:29:47 +0100 Subject: [FFmpeg-user] Audio Video Lip Sync Problem - IPhone mov In-Reply-To: <4ED8AFA2.5060900@zonnet.nl> References: <4ED8AFA2.5060900@zonnet.nl> Message-ID: i comment following lines which were setting fps, Now i am getting this exception - *[mp4 @ 0x1354c00] time base not set* //cc->time_base.den = self.OutputVideo_FPS; //cc->time_base.num = 1; I also tried by setting their original sample rate and again get exception - *too low sample rate* cc->time_base.den = pCodecCtx->sample_rate; cc->time_base.num = 1; Apart from this if i hard code sample rate 30fps then it works fine for IPhone4 camera recorded video and lip sync problem goes away. But when i tried same 30fps sample rate for IPhone3GS camera recorded video then again lip sync problem appear. Even i tried 25,20,15 fps for IPhone3GS video nothing worked. Any idea ? On Fri, Dec 2, 2011 at 11:59 AM, belcampo wrote: > On 12/02/2011 10:47 AM, Gagandeep Bawa wrote: > >> Hi Guys, >> >> I am compressing IPhone recorded mov file in to mpeg4 file with in my >> IPhone app itself. For this i compiled ffmpeg libraries for IPhone and >> doing compression programmatically using ffmpeg libraries with in IPhone >> app. Everything working fine except video audio lip sync problem. Video >> seems to be running slow and not proper sync with audio, however output >> file duration comes correct same as it was in original file. I checked for >> 12 sec video and 1 min video both. I am setting 15 frame rate for video. I >> am just compressing video frames and not compressing audio frames, i am >> writing audio frames as it is in out put stream. >> > That's because you set it to 15fps, the source will be 25 or 30fps. So get > what you asked for. Leave out the fps setting or set it the same as the > source. > > >> It would be great if some one can help me to resolve this audio video lip >> sync problem. I need to fix this programmatically only not from ffmpeg >> command line options. >> >> > ______________________________**_________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/**listinfo/ffmpeg-user > -- Thanks & Regards, Gagandeep, Tech Lead Mobility +91- 7307470044 ------------------------------------------------------------------------------- Ironroad IT India Pvt. Ltd. IT-6, C-6,SEBIZ SQUARE, Sector-67, Mohali, Punjab, India From tim.nicholson at bbc.co.uk Fri Dec 2 12:58:51 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Fri, 02 Dec 2011 11:58:51 +0000 Subject: [FFmpeg-user] Reidrecting showinfo output In-Reply-To: <4ED897B0.3060904@googlemail.com> References: <4ED88EF4.50401@bbc.co.uk> <4ED897B0.3060904@googlemail.com> Message-ID: <4ED8BD7B.5000704@bbc.co.uk> On 02/12/11 09:17, Andy Sheen wrote: > > Tim Nicholson wrote on Fri 02 Dec at 8:40 UK time >> I find the showinfo output useful for various diagnostic tasks, but >> would find it more so if I could redirect its output to file. >> >> I have tried the following:- >> >> ffmpeg -i infile -vf showinfo -f mp4 -an -c:v copy -y /dev/null 2> info.txt >> >> with variations on 1>, 2> &> | tee etc >> >> However I either get nothing or just the usual ffmpeg header info, and >> when nothing goes to file I get no console output either. >> >> Is there a way of achieving this? > > The generic way of redirecting everything is: > > ffmpeg command> info.txt 2>&1 > > i.e. redirect stdout and then map stderr to stdout with the 2>&1 As I said I tried the standard variations, which included merging stderr and stdout. However by default ffmpeg console messages are on stderr (stdout can be used for piping its output to something else). The showinfo lines however are not. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From mark at mdsh.com Fri Dec 2 13:08:17 2011 From: mark at mdsh.com (Mark Himsley) Date: Fri, 02 Dec 2011 12:08:17 +0000 Subject: [FFmpeg-user] Reidrecting showinfo output In-Reply-To: <4ED88EF4.50401@bbc.co.uk> References: <4ED88EF4.50401@bbc.co.uk> Message-ID: <4ED8BFB1.2000409@mdsh.com> On 02/12/2011 08:40, Tim Nicholson wrote: > I find the showinfo output useful for various diagnostic tasks, but > would find it more so if I could redirect its output to file. > > I have tried the following:- > > ffmpeg -i infile -vf showinfo -f mp4 -an -c:v copy -y /dev/null 2> info.txt video filters are bypassed when you copy. -- Mark From sheen.andy at googlemail.com Fri Dec 2 13:11:29 2011 From: sheen.andy at googlemail.com (Andy Sheen) Date: Fri, 02 Dec 2011 12:11:29 +0000 Subject: [FFmpeg-user] Reidrecting showinfo output In-Reply-To: <4ED8BD7B.5000704@bbc.co.uk> References: <4ED88EF4.50401@bbc.co.uk> <4ED897B0.3060904@googlemail.com> <4ED8BD7B.5000704@bbc.co.uk> Message-ID: <4ED8C071.3020804@googlemail.com> Tim Nicholson wrote on Fri 02 Dec at 11:58 UK time > On 02/12/11 09:17, Andy Sheen wrote: >> >> Tim Nicholson wrote on Fri 02 Dec at 8:40 UK time >>> I find the showinfo output useful for various diagnostic tasks, but >>> would find it more so if I could redirect its output to file. >>> >>> I have tried the following:- >>> >>> ffmpeg -i infile -vf showinfo -f mp4 -an -c:v copy -y /dev/null 2> >>> info.txt >>> >>> with variations on 1>, 2> &> | tee etc >>> >>> However I either get nothing or just the usual ffmpeg header info, and >>> when nothing goes to file I get no console output either. >>> >>> Is there a way of achieving this? >> >> The generic way of redirecting everything is: >> >> ffmpeg command> info.txt 2>&1 >> >> i.e. redirect stdout and then map stderr to stdout with the 2>&1 > > As I said I tried the standard variations, which included merging stderr > and stdout. However by default ffmpeg console messages are on stderr > (stdout can be used for piping its output to something else). The > showinfo lines however are not. > You sure? I'm on cygwin here running bash and (note the position of the remap - it's at the end of the command line): ffmpeg -i file.mpg -vf showinfo -an -y test.mp4 > test.txt 2>&1 produces no output on the console but produces a file with the following in for me (apologies for the formatting): ffmpeg version N-32611-gd55b06b, Copyright (c) 2000-2011 the FFmpeg developers built on Sep 15 2011 00:26:45 with gcc 4.6.1 configuration: --enable-gpl --enable-version3 --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. 16. 0 / 51. 16. 0 libavcodec 53. 14. 0 / 53. 14. 0 libavformat 53. 12. 0 / 53. 12. 0 libavdevice 53. 3. 0 / 53. 3. 0 libavfilter 2. 40. 0 / 2. 40. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpegts @ 0000000001EADA40] parser not found for codec dvb_teletext, packets or times may be invalid. [mpegts @ 0000000001EADA40] Continuity check failed for pid 259 expected 0 got 5 [mpegts @ 0000000001EADA40] Continuity check failed for pid 0 expected 6 got 12 [NULL @ 0000000001D9CD50] start time is not set in estimate_timings_from_pts [NULL @ 0000000001D9EC50] start time is not set in estimate_timings_from_pts [NULL @ 0000000001DA0B50] start time is not set in estimate_timings_from_pts [NULL @ 0000000001DA2AE0] start time is not set in estimate_timings_from_pts [NULL @ 0000000001DA4A40] start time is not set in estimate_timings_from_pts [mpegts @ 0000000001EADA40] PES packet size mismatch Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Last message repeated 1 times Input #0, mpegts, from 'file.mpg': Duration: 01:22:55.90, start: 990.458700, bitrate: 10085 kb/s Program 1 Stream #0.0[0x901]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0.1[0x903](NAR): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s Stream #0.2[0x905](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0.3[0x904](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Stream #0.4[0x902](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 384 kb/s Stream #0.5[0xf00]: Data: none ([5][0][0][0] / 0x0005) Stream #0.6[0xf01]: Data: none ([5][0][0][0] / 0x0005) Stream #0.7[0xf02]: Data: none ([5][0][0][0] / 0x0005) Stream #0.8[0xf03]: Data: none ([5][0][0][0] / 0x0005) Stream #0.9[0xf04]: Data: none ([5][0][0][0] / 0x0005) [buffer @ 000000000457E010] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [libx264 @ 000000000457F2D0] using SAR=1/1 [libx264 @ 000000000457F2D0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 000000000457F2D0] profile High, level 4.2 [libx264 @ 000000000457F2D0] 264 - core 116 r2074 2641b9e - 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=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 'test.mp4': Metadata: encoder : Lavf53.12.0 Stream #0.0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 50 tbn, 50 tbc Stream mapping: Stream #0.0 -> #0.0 (h264 -> libx264) Press [q] to stop, [?] for help [mpegts @ 0000000001EADA40] Continuity check failed for pid 259 expected 0 got 5 [mpegts @ 0000000001EADA40] Continuity check failed for pid 0 expected 6 got 12 [showinfo @ 0000000001D9A950] n:0 pts:920000 pts_time:0.920000 pos:181044 fmt:yuv420p sar:1/1 s:1920x1080 i:T iskey:0 type:B checksum:1401398452 plane_checksum:[1784547188 148051680 1416857184 0] [showinfo @ 0000000001D9A950] n:1 pts:1020000 pts_time:1.020000 pos:259064 fmt:yuv420p sar:1/1 s:1920x1080 i:T iskey:0 type:B checksum:638612400 plane_checksum:[3555442697 616193934 867390474 0] [showinfo @ 0000000001D9A950] n:2 pts:1080000 pts_time:1.080000 pos:564 fmt:yuv420p sar:1/1 s:1920x1080 i:T iskey:1 type:P checksum:3938678204 plane_checksum:[3600318693 4073616619 2923069405 0] [showinfo @ 0000000001D9A950] n:3 pts:1120000 pts_time:1.120000 pos:395740 fmt:yuv420p sar:1/1 s:1920x1080 i:T iskey:0 type:B checksum:2508485145 plane_checksum:[2434826267 2276154181 1926993578 0] [showinfo @ 0000000001D9A950] n:4 pts:1160000 pts_time:1.160000 pos:356824 fmt:yuv420p sar:1/1 s:1920x1080 i:T iskey:0 type:B checksum:7177144 plane_checksum:[652436029 1970617229 1406461407 0] [showinfo @ 0000000001D9A950] n:5 pts:1200000 pts_time:1.200000 pos:423564 fmt:yuv420p sar:1/1 s:1920x1080 i:T iskey:0 type:B checksum:1305532304 plane_checksum:[1723358296 1488940982 1340214146 0] [showinfo @ 0000000001D9A950] n:6 pts:1240000 pts_time:1.240000 pos:287264 fmt:yuv420p sar:1/1 s:1920x1080 i:T iskey:1 type:P checksum:1370301943 plane_checksum:[626270187 2582875203 858225082 0] [showinfo @ 0000000001D9A950] n:7 pts:12 From tim.nicholson at bbc.co.uk Fri Dec 2 13:12:39 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Fri, 02 Dec 2011 12:12:39 +0000 Subject: [FFmpeg-user] Reidrecting showinfo output In-Reply-To: <4ED8BFB1.2000409@mdsh.com> References: <4ED88EF4.50401@bbc.co.uk> <4ED8BFB1.2000409@mdsh.com> Message-ID: <4ED8C0B7.6050607@bbc.co.uk> On 02/12/11 12:08, Mark Himsley wrote: > On 02/12/2011 08:40, Tim Nicholson wrote: >> I find the showinfo output useful for various diagnostic tasks, but >> would find it more so if I could redirect its output to file. >> >> I have tried the following:- >> >> ffmpeg -i infile -vf showinfo -f mp4 -an -c:v copy -y /dev/null 2> info.txt > > video filters are bypassed when you copy. > Good point, I had it working fine, then tried to tidy it up a bit and made too many changes at once to spot that... DOH! -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From cehoyos at ag.or.at Fri Dec 2 13:55:43 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 2 Dec 2011 12:55:43 +0000 (UTC) Subject: [FFmpeg-user] Audio Video Lip Sync Problem - IPhone mov References: Message-ID: Gagandeep Bawa ironroad.com> writes: > I am compressing IPhone recorded mov file in to mpeg4 file with in my > IPhone app itself. For this i compiled ffmpeg libraries for IPhone and > doing compression programmatically using ffmpeg libraries with in IPhone > app. Everything working fine except video audio lip sync problem. Is the problem also reproducible with ffmpeg (the application)? Carl Eugen From gagandeep.bawa at ironroad.com Fri Dec 2 18:38:40 2011 From: gagandeep.bawa at ironroad.com (Gagandeep) Date: Fri, 2 Dec 2011 18:38:40 +0100 Subject: [FFmpeg-user] Audio Video Lip Sync Problem - IPhone mov In-Reply-To: References: Message-ID: <4452DB9A-6B6F-4E9A-BD8A-43376AB56F09@ironroad.com> I guess It was working fine previously from ffmpeg command line tool on server. I did not check lip sync there as we need to do this on client side in IPhone only. Sent from iPhone4 On 02-Dec-2011, at 1:55 PM, Carl Eugen Hoyos wrote: > Gagandeep Bawa ironroad.com> writes: > >> I am compressing IPhone recorded mov file in to mpeg4 file with in my >> IPhone app itself. For this i compiled ffmpeg libraries for IPhone and >> doing compression programmatically using ffmpeg libraries with in IPhone >> app. Everything working fine except video audio lip sync problem. > > Is the problem also reproducible with ffmpeg (the application)? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From rodolfo.medina at gmail.com Fri Dec 2 14:47:30 2011 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 02 Dec 2011 13:47:30 +0000 Subject: [FFmpeg-user] Option `-b' seems not to have any effect Message-ID: <87sjl3f5l9.fsf@gmail.com> Hi to all ffmpeg users. Whatever value I put for `-b' (e.g.: -b 64k, -b 32k, -b 0k) the output file size remains always 26M. Is that normal? If not, how to fix that? Below is ffmpeg's output, and many thanks indeed for any help supported. Rodolfo $ ffmpeg -i SDV_0597.MP4 -acodec copy -vcodec copy -t 46 -b 64k test.mp4 FFmpeg version r11872+debian_0.svn20080206-17, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static libavutil version: 49.6.0 libavcodec version: 51.50.0 libavformat version: 52.7.0 libavdevice version: 52.0.0 built on Feb 10 2009 08:13:56, gcc: 4.3.3 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SDV_0597.MP4': Duration: 00:09:36.2, start: 0.000000, bitrate: 5306 kb/s Stream #0.0(eng): Video: h264, yuv420p, 720x576 [PAR 0:1 DAR 0:1], 25.00 tb(r) Stream #0.1(eng): Audio: mpeg4aac, 44100 Hz, stereo Output #0, mp4, to 'test.mp4': Stream #0.0(eng): Video: 0x0000, yuv420p, 720x576 [PAR 0:1 DAR 0:1], q=2-31, 25.00 tb(c) Stream #0.1(eng): Audio: 0x0000, 44100 Hz, stereo Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 1150 fps= 0 q=-1.0 Lsize= 26009kB time=46.0 bitrate=4631.8kbits/s video:25296kB audio:695kB global headers:0kB muxing overhead 0.069898% From rodolfo.medina at gmail.com Fri Dec 2 15:05:48 2011 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 02 Dec 2011 14:05:48 +0000 Subject: [FFmpeg-user] Option `-b' seems not to have any effect In-Reply-To: <87sjl3f5l9.fsf@gmail.com> (Rodolfo Medina's message of "Fri, 02 Dec 2011 13:47:30 +0000") References: <87sjl3f5l9.fsf@gmail.com> Message-ID: <87iplzf4qr.fsf@gmail.com> Rodolfo Medina writes: > [...] and many thanks indeed for any help supported. Sorry, I meant: `any help provided'. Rodolfo From jshupert at pps-inc.com Fri Dec 2 16:07:52 2011 From: jshupert at pps-inc.com (Jim Shupert) Date: Fri, 02 Dec 2011 10:07:52 -0500 Subject: [FFmpeg-user] Option `-b' seems not to have any effect In-Reply-To: <87iplzf4qr.fsf@gmail.com> References: <87sjl3f5l9.fsf@gmail.com> <87iplzf4qr.fsf@gmail.com> Message-ID: <4ED8E9C8.1010409@pps-inc.com> might you have a 'newer' version that now uses the syntax of -b:v 4000k no longer -b 4000kand then audio is -b:a do a help ::: ffmpeg -h and look for -b bitrate video bitrate (please use -b:v) cheers On 12/2/2011 9:05 AM, Rodolfo Medina wrote: > Rodolfo Medina writes: > >> [...] and many thanks indeed for any help supported. > Sorry, I meant: `any help provided'. > > Rodolfo > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > From batguano999 at hotmail.com Fri Dec 2 16:47:37 2011 From: batguano999 at hotmail.com (bat guano) Date: Fri, 2 Dec 2011 15:47:37 +0000 Subject: [FFmpeg-user] Option `-b' seems not to have any effect In-Reply-To: <87sjl3f5l9.fsf@gmail.com> References: <87sjl3f5l9.fsf@gmail.com> Message-ID: ---------------------------------------- > > Whatever value I put for `-b' (e.g.: -b 64k, -b 32k, -b 0k) the output file > size remains always 26M. Is that normal? If not, how to fix that? > > $ ffmpeg -i SDV_0597.MP4 -acodec copy -vcodec copy -t 46 -b 64k test.mp4 > FFmpeg version r11872+debian_0.svn20080206-17, Copyright (c) 2000-2008 Fabrice Bellard, et al. > configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static Hi It's no good using "-vcodec copy" in this case. If you want to change the video bitrate you need to specify which video codec to use. From rodolfo.medina at gmail.com Fri Dec 2 16:49:04 2011 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 02 Dec 2011 15:49:04 +0000 Subject: [FFmpeg-user] Option `-b' seems not to have any effect References: <87sjl3f5l9.fsf@gmail.com> <87iplzf4qr.fsf@gmail.com> <4ED8E9C8.1010409@pps-inc.com> Message-ID: <87hb1jotxr.fsf@gmail.com> Rodolfo Medina writes: > Whatever value I put for `-b' (e.g.: -b 64k, -b 32k, -b 0k) the output file > size remains always 26M. Is that normal? If not, how to fix that? Below is > ffmpeg's output, and many thanks indeed for any help supported. Jim Shupert writes: > might you have a 'newer' version that now uses the syntax of > -b:v 4000k > no longer > -b 4000kand then audio is -b:a > > do a help ::: ffmpeg -h > and look for > -b bitrate video bitrate (please use -b:v) Thanks, but that does not work: the option `-b:v' is `unrecognized'. Rodolfo From belcampo at zonnet.nl Fri Dec 2 17:23:50 2011 From: belcampo at zonnet.nl (belcampo) Date: Fri, 02 Dec 2011 17:23:50 +0100 Subject: [FFmpeg-user] Option `-b' seems not to have any effect In-Reply-To: <87hb1jotxr.fsf@gmail.com> References: <87sjl3f5l9.fsf@gmail.com> <87iplzf4qr.fsf@gmail.com> <4ED8E9C8.1010409@pps-inc.com> <87hb1jotxr.fsf@gmail.com> Message-ID: <4ED8FB96.3030407@zonnet.nl> On 12/02/2011 04:49 PM, Rodolfo Medina wrote: > Rodolfo Medina writes: > >> Whatever value I put for `-b' (e.g.: -b 64k, -b 32k, -b 0k) the output file >> size remains always 26M. Is that normal? If not, how to fix that? Below is >> ffmpeg's output, and many thanks indeed for any help supported. > > > Jim Shupert writes: > >> might you have a 'newer' version that now uses the syntax of >> -b:v 4000k >> no longer >> -b 4000kand then audio is -b:a >> >> do a help ::: ffmpeg -h >> and look for >> -b bitrate video bitrate (please use -b:v) > > > > Thanks, but that does not work: the option `-b:v' is `unrecognized'. That's because you use a very old version of ffmpeg, FFmpeg version r11872+debian_0.svn20080206-17, Copyright (c) 2000-2008 For support on this list, latest GIT-version should be used. > > Rodolfo > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From redtux1 at gmail.com Fri Dec 2 17:45:26 2011 From: redtux1 at gmail.com (Mike Martin) Date: Fri, 2 Dec 2011 16:45:26 +0000 Subject: [FFmpeg-user] Problem creating DVD menu mpeg In-Reply-To: <4ED7B1B4.1020501@gmail.com> References: <4ED65289.8050409@gmail.com> <4ED7B1B4.1020501@gmail.com> Message-ID: > > If it works under Linux, I'd like to know... > yep - old version is at burn360.sourceforge.net (just uploaded a fixed rpm) I am currently working on a fairly major update (mainly behind the scenes - not gui) which should be done in about a week From de.techno at gmail.com Fri Dec 2 18:06:26 2011 From: de.techno at gmail.com (dE .) Date: Fri, 02 Dec 2011 22:36:26 +0530 Subject: [FFmpeg-user] man page vs. online documentation In-Reply-To: References: Message-ID: <4ED90592.3030501@gmail.com> On 12/02/11 05:56, Jim Worrall wrote: > I recently compiled and installed the latest ffmpeg, and compared the man > page that came with it to the current ffmpeg documentation online at > http://ffmpeg.org/ffmpeg.html . It seems like basically the same document, > but there are many significant differences. Which one is likely to better > reflect the instructions for the actual one I install, the man page that > accompanies it, or the online documentation at the time I downloaded it? > > Thanks in advance. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Since (as we discovered in this discussion) the online documentation is bleeding edge, some of the parameters may not work with your version of ffmpeg. From de.techno at gmail.com Fri Dec 2 18:22:29 2011 From: de.techno at gmail.com (dE .) Date: Fri, 02 Dec 2011 22:52:29 +0530 Subject: [FFmpeg-user] Option `-b' seems not to have any effect In-Reply-To: <87sjl3f5l9.fsf@gmail.com> References: <87sjl3f5l9.fsf@gmail.com> Message-ID: <4ED90955.204@gmail.com> On 12/02/11 19:17, Rodolfo Medina wrote: > Hi to all ffmpeg users. > > Whatever value I put for `-b' (e.g.: -b 64k, -b 32k, -b 0k) the output file > size remains always 26M. Is that normal? If not, how to fix that? Below is > ffmpeg's output, and many thanks indeed for any help supported. > > Rodolfo > > > $ ffmpeg -i SDV_0597.MP4 -acodec copy -vcodec copy -t 46 -b 64k test.mp4 > FFmpeg version r11872+debian_0.svn20080206-17, Copyright (c) 2000-2008 Fabrice Bellard, et al. > configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static > libavutil version: 49.6.0 > libavcodec version: 51.50.0 > libavformat version: 52.7.0 > libavdevice version: 52.0.0 > built on Feb 10 2009 08:13:56, gcc: 4.3.3 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SDV_0597.MP4': > Duration: 00:09:36.2, start: 0.000000, bitrate: 5306 kb/s > Stream #0.0(eng): Video: h264, yuv420p, 720x576 [PAR 0:1 DAR 0:1], 25.00 tb(r) > Stream #0.1(eng): Audio: mpeg4aac, 44100 Hz, stereo > Output #0, mp4, to 'test.mp4': > Stream #0.0(eng): Video: 0x0000, yuv420p, 720x576 [PAR 0:1 DAR 0:1], q=2-31, 25.00 tb(c) > Stream #0.1(eng): Audio: 0x0000, 44100 Hz, stereo > Stream mapping: > Stream #0.0 -> #0.0 > Stream #0.1 -> #0.1 > Press [q] to stop encoding > frame= 1150 fps= 0 q=-1.0 Lsize= 26009kB time=46.0 bitrate=4631.8kbits/s > video:25296kB audio:695kB global headers:0kB muxing overhead 0.069898% > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user I may be wrong, but when you're copying a stream, encoding isn't involved, and when encoding isn't involved, you can't control the bitrate. From nightsbird.mobile at gmail.com Fri Dec 2 18:38:32 2011 From: nightsbird.mobile at gmail.com (nightsbird) Date: Fri, 2 Dec 2011 09:38:32 -0800 (PST) Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: References: Message-ID: <1322847512839-4148176.post@n4.nabble.com> I realize this is old but maybe just edit cmdutils.c and compile again. Look for this line fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n"); -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Is-there-any-way-to-hide-the-configure-command-options-tp3466091p4148176.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From coniophora at gmail.com Fri Dec 2 21:03:46 2011 From: coniophora at gmail.com (Jim Worrall) Date: Fri, 2 Dec 2011 13:03:46 -0700 Subject: [FFmpeg-user] man page vs. online documentation In-Reply-To: References: <20111202013805.GC10176@leki> <80702AFF-D1DA-44EA-B512-76BB657EF9CD@gmail.com> Message-ID: <076C4AF3-231F-4F26-A995-6388B761998E@gmail.com> On Dec 1, 2011, at 7:57 PM, Carl Eugen Hoyos wrote: > Jim Worrall gmail.com> writes: > >> Is it better to get the latest snapshot? > > If you are not a distributor but a user, you are strongly encouraged to use > current git head (instead of a release): It always contains more features and > less bugs. > > If you believe that this is not clearly explained on > http://ffmpeg.org/download.html please suggest improvements. > > Carl Eugen Thank you, yes, I am a user (well I have hardly used it, just have fun trying to figure it out). I just got what I think was the latest snapshot: ffmpeg version 0.8.7.git-1fd6924 and the man page with it pretty much matches the online doc. I should have read that page you linked to a little more carefully. That said, I couldn't suggest improvements unless I understood it better. It does explain that "releases" are snapshots of certain times, but why they are made or how they are different from regular snapshots of that time I don't know. One sees references to a lot of terms on the mailing list: snapshot, git master, git head - it would be nice to define those, indicate which are synonyms if any, and have some way to identify them as such on the actual repository. But I certainly understand also it is up to fairly ignorant users like me to learn as much as possible on their own. As you can tell, I don't use git. Thanks for the help and the work on the software. Jim From cehoyos at ag.or.at Sat Dec 3 03:46:22 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 3 Dec 2011 02:46:22 +0000 (UTC) Subject: [FFmpeg-user] man page vs. online documentation References: <20111202013805.GC10176@leki> <80702AFF-D1DA-44EA-B512-76BB657EF9CD@gmail.com> <076C4AF3-231F-4F26-A995-6388B761998E@gmail.com> Message-ID: Jim Worrall gmail.com> writes: > >> Is it better to get the latest snapshot? > > > > If you are not a distributor but a user, you are strongly encouraged to use > > current git head (instead of a release): It always contains more features > > and less bugs. > > > > If you believe that this is not clearly explained on > > http://ffmpeg.org/download.html please suggest improvements. > > Thank you, yes, I am a user (well I have hardly used it, just have fun > trying to figure it out). I just got what I think was the latest snapshot: > ffmpeg version 0.8.7.git-1fd6924 and the Used to be recent when you wrote the mail, yes. > man page with it pretty much matches the online doc. > > I should have read that page you linked to a little more carefully. That > said, I couldn't suggest improvements unless I understood it better. It does > explain that "releases" are snapshots of certain times, but why they are made > or how they are different from regular snapshots of that time I don't know. Me (mostly) neither. (For a very long time, FFmpeg did not provide releases. After repeated requests, releases are now provided, but as said, they are primarily interesting for distributors.) > One sees references to a lot of terms on the mailing list: snapshot, > git master, git head - it would be nice to define those, indicate which are Snapshots are the head versions of master branch at the time of download. > synonyms if any, and have some way to identify them as such on the actual > repository. But I certainly understand also it is up to fairly ignorant users > like me to learn as much as possible on their own. As you can tell, I don't > use git. We all had to get used to it. Carl Eugen From joseluis at eserre.com Sat Dec 3 05:46:10 2011 From: joseluis at eserre.com (Jose Luis Rivas) Date: Sat, 03 Dec 2011 00:16:10 -0430 Subject: [FFmpeg-user] Overwriting JPEG at output In-Reply-To: References: <4ED123FF.9040605@rivco.net> <4ED12BAE.60405@eserre.com> <4ED2ADB5.3070604@eserre.com> Message-ID: <4ED9A992.60008@eserre.com> On 11/27/2011 06:37 PM, Carl Eugen Hoyos wrote: > Jose Luis Rivas eserre.com> writes: > >> /usr/bin/ffmpeg -i shell-20110908-1.webm -r 1 -f image2 -updatefirst 1 >> what.jpg > > This is the correct syntax. > >> Unrecognized option 'updatefirst' >> >> :( >> >> Just compiled git master branch, is there any library required to get >> updatefirst recognized? >> >> ghostbar chaos:~$ /usr/bin/ffmpeg -version >> ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers > > This does not look like git master... > > Carl Eugen You were right Carl, now I did compile git master, and had FFmpeg installed in my debian machine instead of the Libav that's shipped on the official Debian's repository. It works. Thanks a lot! -- Jose Luis Rivas, Web Builder Eserre -- http://www.eserre.com/ Venezuela - +58 (424) 781 2565 GPGs: 7C4DF50D B9AC8C43 From paul at lenz-online.de Sat Dec 3 10:47:22 2011 From: paul at lenz-online.de (Paul Lenz) Date: Sat, 03 Dec 2011 10:47:22 +0100 Subject: [FFmpeg-user] Video from several images and audio files Message-ID: <302b6cedb7a306dc0b92e436a878e08a@lenz-online.de> I wrote a program which creates many single JPG frames and also many short audio files. Now I want to join them all into a video file. This works very well: ffmpeg -r 25 -f image2 -i img-%06d.jpg frames.avi This also works: ffmpeg -i frames.avi -i snd-00001.wav video.avi But this creates only "snd-%05d.wav: No such file or directory": ffmpeg -i frames.avi -i snd-%05d.wav video.avi Is the syntax "%0N" only intended for image files? Paul Lenz From ronag89 at gmail.com Sat Dec 3 12:18:15 2011 From: ronag89 at gmail.com (Robert Nagy) Date: Sat, 3 Dec 2011 12:18:15 +0100 Subject: [FFmpeg-user] execute2 access violation Message-ID: I'm moving this from ffmpeg-devel. >On Fri, Dec 02, 2011 at 11:59:40PM +0100, Robert Nagy wrote: >> Could anyone explain why the following code gets an access violation while >> trying to encode DNXHD. >You should give a backtrace. And generally more information. I'm on Windows, and haven't managed to build ffmpeg and therefore I have no backtrace. Also I avent found any debug symbols from the http://ffmpeg.zeranoe.com/builds/ builds. >And I have some doubts this belongs on the dev list instead of some of >the user lists. Done >> int ret = avcodec_open(avctx, codec); >> avctx->execute = thread_execute; >> avctx->execute2 = thread_execute2; >Tried overwriting only execute2 and setting it to >avcodec_default_execute2? int default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2, int jobnr, int threadnr),void *arg, int *ret, int count) { int i; for(i=0; iexecute2 = default_execute2; return ret; } Same problem, access violation on i==0; However, if i do avctx->execute2 = avcodec_default_execute2; It works. Which makes no sense to me, since default_execute2 is a copy pasted avcodec_default_execute2. >Also you should possibly try compiling without pthreads >(if that's what it is using, you didn't even say what system >you run on), See above >mixing threading implementations was never really intended, >only implementing a threaded execute when FFmpeg was built >without threading support. This is just a simplified example that shows the problem. I have successfully replaced execute and execute2 for decoding. However, the dnxhd encoding doesn't seem to like something? From ronag89 at gmail.com Sat Dec 3 13:28:36 2011 From: ronag89 at gmail.com (Robert Nagy) Date: Sat, 3 Dec 2011 13:28:36 +0100 Subject: [FFmpeg-user] execute2 access violation In-Reply-To: References: Message-ID: I should also mention that I only want to do this for slice threading, not frame threading. Basically what I want to achieve is to replace spawning threads and use a task scheduler instead. This is because my application is very dynamic in the amount of simultaneous encoders/decoders so with the default implementation I can end up oversubscribing with ~40 threads. For this purpose I'm using TBB, which unfortunately does not have a C api. However, although I seem to follow all the rules for the slice threading API my implementation fails for certain codecs (dnxhd, h264 etc..), while works fine with others (prores, mpeg2, ffv2). As seen from my previous mail, even the most trivial implementation can fails with some codecs. int thread_execute(AVCodecContext* s, int (*func)(AVCodecContext *c2, void *arg2), void* arg, int* ret, int count, int size) { tbb::parallel_for(0, count, 1, [&](int i) { int r = func(s, (char*)arg + i*size); if(ret) ret[i] = r; }); return 0; } int thread_execute2(AVCodecContext* s, int (*func)(AVCodecContext* c2, void* arg2, int, int), void* arg, int* ret, int count) { tbb::atomic counter; counter = 0; assert(tbb::tbb_thread::hardware_concurrency() < 16); // Note: this will only work when tbb::task_scheduler_init::num_threads() < 16, which shouldn't be a problem. tbb::parallel_for(tbb::blocked_range(0, count, 2), [&](const tbb::blocked_range &r) { int threadnr = counter++; for(int jobnr = r.begin(); jobnr != r.end(); ++jobnr) { int r = func(s, arg, jobnr, threadnr); if (ret) ret[jobnr] = r; } --counter; }); return 0; } void thread_init(AVCodecContext* s) { static const size_t MAX_THREADS = 16; // See mpegvideo.h static int dummy_opaque; s->active_thread_type = FF_THREAD_SLICE; s->thread_opaque = &dummy_opaque; s->execute = thread_execute; s->execute2 = thread_execute2; s->thread_count = MAX_THREADS; // We are using a task-scheduler, so use as many "threads/tasks" as possible. } void thread_free(AVCodecContext* s) { if(!s->thread_opaque) return; s->thread_opaque = nullptr; } int tbb_avcodec_open(AVCodecContext* avctx, AVCodec* codec) { //CodecID supported_codecs[] = {CODEC_ID_MPEG2VIDEO, CODEC_ID_PRORES, CODEC_ID_FFV1}; avctx->thread_count = 1; if((codec->capabilities & CODEC_CAP_SLICE_THREADS) && (avctx->thread_type & FF_THREAD_SLICE)) thread_init(avctx); // ff_thread_init will not be executed since thread_opaque != nullptr || thread_count == 1. return avcodec_open(avctx, codec); } int tbb_avcodec_close(AVCodecContext* avctx) { thread_free(avctx); // ff_thread_free will not be executed since thread_opaque == nullptr. return avcodec_close(avctx); } From phil_rhodes at rocketmail.com Sat Dec 3 14:18:28 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sat, 03 Dec 2011 13:18:28 -0000 Subject: [FFmpeg-user] execute2 access violation In-Reply-To: References: Message-ID: > int thread_execute2(AVCodecContext* s, int (*func)(AVCodecContext* c2, Er, yes. Flobadob, wib wob, plobblemobble. Dev list? P From ronag89 at gmail.com Sat Dec 3 14:25:06 2011 From: ronag89 at gmail.com (Robert Nagy) Date: Sat, 3 Dec 2011 14:25:06 +0100 Subject: [FFmpeg-user] execute2 access violation In-Reply-To: References: Message-ID: Now I'm confused. Before I was asked to move to user list? From de.techno at gmail.com Sat Dec 3 14:50:12 2011 From: de.techno at gmail.com (dE .) Date: Sat, 03 Dec 2011 19:20:12 +0530 Subject: [FFmpeg-user] Dolby truHD encoding. Message-ID: <4EDA2914.2090602@gmail.com> I was wondering if it it's possible to encode to truHD using ffmpeg or some other GPL implementation? From cehoyos at ag.or.at Sat Dec 3 15:10:53 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 3 Dec 2011 14:10:53 +0000 (UTC) Subject: [FFmpeg-user] Dolby truHD encoding. References: <4EDA2914.2090602@gmail.com> Message-ID: dE . gmail.com> writes: > I was wondering if it it's possible to encode to truHD using ffmpeg or > some other GPL implementation? FFmpeg does not support encoding TrueHD, if you want to start implementing it, contact the decoder's developer, it is possible that some work was done. Carl Eugen From cehoyos at ag.or.at Sat Dec 3 15:12:12 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 3 Dec 2011 14:12:12 +0000 (UTC) Subject: [FFmpeg-user] execute2 access violation References: Message-ID: Robert Nagy gmail.com> writes: > Now I'm confused. Before I was asked to move to user list? The development mailing list is only for the development of FFmpeg, development with FFmpeg is sometimes discussed here. Please see http://ffmpeg.org/contact.html Carl Eugen From coniophora at gmail.com Sat Dec 3 20:08:45 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sat, 3 Dec 2011 12:08:45 -0700 Subject: [FFmpeg-user] ffmpeg stalls/freezes Message-ID: <391B7FBB-2F40-443A-8C5A-3B51AD73F87C@gmail.com> My attempt to convert a video causes ffmpeg to freeze. It creates the output file (very small) then stalls before doing any transcoding. I can't even quit, have to close the terminal window to get out of it. I suppose it might be the "experimental" aac codec. When I didn't specify the output audio bitrate, I was getting the error "[aac @ 0x7fbbfa845200] Too many bits per frame requested", even though the source audio is only 96k. I had to put it down to 72k to stop that error. The problem does not seem to be with any video options because I was able to get a completed output file with these settings, except using the alac audio encoder (problem is that won't work for the destination device). Jim Command line with complete, uncut output: Jims-MacBook-Pro:Desktop jim$ ffmpeg -i baby.avi -c:v libx264 -vprofile main -preset veryslow -c:a aac -strict experimental -b:a 72k -x264opts level=3.1:ref=8 -y output.m4v ffmpeg version 0.8.7.git-1fd6924, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 2 2011 07:27:16 with clang 3.0 (tags/Apple/clang-211.12) configuration: --prefix=/Volumes/Ramdisk/sw --cc=clang --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. 29. 1 / 51. 29. 1 libavcodec 53. 39. 1 / 53. 39. 1 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 50. 0 / 2. 50. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x7fdbdc01ae00] parser not found for codec pcm_u8, packets or times may be invalid. Input #0, avi, from 'baby.avi': Metadata: creation_time : 2011-11-28 20:15:12 encoder : CanonMVI06 Duration: 00:01:00.99, start: 0.000000, bitrate: 15004 kb/s Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 12000 Hz, 1 channels, u8, 96 kb/s Incompatible pixel format 'yuvj422p' for codec 'libx264', auto-selecting format 'yuv420p' [buffer @ 0x7fdbdbc156e0] w:640 h:480 pixfmt:yuvj422p tb:1/1000000 sar:0/1 sws_param: [buffersink @ 0x7fdbdbc15560] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x7fdbdbc16500] w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuv420p flags:0x4 Incompatible sample format 'u8' for codec 'aac', auto-selecting format 's16' [libx264 @ 0x7fdbdc02a800] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x7fdbdc02a800] profile Main, level 3.1 [libx264 @ 0x7fdbdc02a800] 264 - core 119 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=8 deblock=1:0:0 analyse=0x1:0x131 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=0 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=8 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, ipod, to 'output.m4v': Metadata: creation_time : 2011-11-28 20:15:12 encoder : Lavf53.24.0 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 640x480, q=-1--1, 30k tbn, 29.97 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 12000 Hz, 1 channels, s16, 72 kb/s Stream mapping: Stream #0:0 -> #0:0 (mjpeg -> libx264) Stream #0:1 -> #0:1 (pcm_u8 -> aac) Press [q] to stop, [?] for help From de.techno at gmail.com Sun Dec 4 10:35:13 2011 From: de.techno at gmail.com (dE .) Date: Sun, 04 Dec 2011 15:05:13 +0530 Subject: [FFmpeg-user] Dolby pro logic encoding/decoding. Message-ID: <4EDB3ED1.60002@gmail.com> I've an SPDIF output but without Dolby live, i.e. it can't send multchannel audio to the my Dolby pro logic IIx capable amplifier. Thus I was wondering about encoding 5.1 (or higher) audio streams to Dolby pro logic II and then passing the uncompressed stereo (but pro logic II encoded) to the receiver in order to get 5.1 surround. I was also wondering if the opposite was possible, i.e. decoding pro logic II encoded streams (over analog or digital mediums) to surround. From klaus.kudielka at gmx.net Sun Dec 4 14:54:31 2011 From: klaus.kudielka at gmx.net (Klaus Kudielka) Date: Sun, 4 Dec 2011 14:54:31 +0100 Subject: [FFmpeg-user] pgssub to dvbsub: Subtitle encoding failed Message-ID: <20111204135431.GA13016@mars> I'm trying to transcode pgssub streams into dvbsub streams (which my TV is supposed to display). As far as I know, both formats are bitmap based, so this should work. Unfortunately, ffmpeg persistently aborts with "Subtitle encoding failed". Any idea? ffmpeg -i x.mkv -map 0 -c:v copy -vbsf h264_mp4toannexb -c:a copy -c:s dvbsub -y x.ts ffmpeg version 0.8.7.git-f88d5df, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 4 2011 14:27:14 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-libxvid --enable-libvpx --enable-librtmp --enable-shared --extra-cflags=-I/opt/x264/include --extra-ldflags=-L/opt/x264/lib --prefix=/opt/ffmpeg libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 0 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 50. 0 / 2. 50. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, matroska,webm, from 'x.mkv': Metadata: ENCODER : Lavf53.24.0 Duration: 00:00:22.11, start: 0.000000, bitrate: 4650 kb/s Chapter #0.0: start 0.000000, end 22.000000 Metadata: title : Chapter 00 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(deu): Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s (default) Metadata: title : 3/2+1 LANGUAGE : deu Stream #0:2(ger): Subtitle: hdmv_pgs_subtitle (default) [mpegts @ 0x24b6be0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'x.ts': Metadata: encoder : Lavf53.24.0 Chapter #0.0: start 0.000000, end 22.000000 Metadata: title : Chapter 00 Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc (default) Stream #0:1(deu): Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s (default) Metadata: title : 3/2+1 LANGUAGE : deu Stream #0:2(ger): Subtitle: dvb_subtitle (default) Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (pgssub -> dvbsub) Press [q] to stop, [?] for help Subtitle encoding failed From rodolfo.medina at gmail.com Sun Dec 4 16:31:18 2011 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 04 Dec 2011 15:31:18 +0000 Subject: [FFmpeg-user] [solved] Re: Option `-b' seems not to have any effect References: <87sjl3f5l9.fsf@gmail.com> <4ED90955.204@gmail.com> Message-ID: <87sjl0xsjd.fsf@gmail.com> On 12/02/11 19:17, Rodolfo Medina wrote: >> Whatever value I put for `-b' (e.g.: -b 64k, -b 32k, -b 0k) the output file >> size remains always 26M. Is that normal? If not, how to fix that? Below >> is ffmpeg's output, and many thanks indeed for any help supported. >> >> Rodolfo >> >> >> $ ffmpeg -i SDV_0597.MP4 -acodec copy -vcodec copy -t 46 -b 64k test.mp4 bat guano writes: > It's no good using "-vcodec copy" in this case. > > If you want to change the video bitrate you need to specify which video codec > to use. "dE ." writes: > I may be wrong, but when you're copying a stream, encoding isn't involved, > and when encoding isn't involved, you can't control the bitrate. You were right. That's the code that works for my purpose: $ ffmpeg -i SDV_0597.MP4 -vcodec mpeg1video -acodec mp2 -t 46 -b 1000k test.mpg Thanks! Rodolfo From coniophora at gmail.com Sun Dec 4 17:33:45 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sun, 4 Dec 2011 09:33:45 -0700 Subject: [FFmpeg-user] ffmpeg stalls/freezes In-Reply-To: <391B7FBB-2F40-443A-8C5A-3B51AD73F87C@gmail.com> References: <391B7FBB-2F40-443A-8C5A-3B51AD73F87C@gmail.com> Message-ID: Update: When I set the audio bitrate at 64k or lower, I don't get the error AND it doesn't freeze; the transcode succeeds. I still don't know why there are either freezes or errors at higher bitrates. Jim On Dec 3, 2011, at 12:08 PM, Jim Worrall wrote: My attempt to convert a video causes ffmpeg to freeze. It creates the output file (very small) then stalls before doing any transcoding. I can't even quit, have to close the terminal window to get out of it. I suppose it might be the "experimental" aac codec. When I didn't specify the output audio bitrate, I was getting the error "[aac @ 0x7fbbfa845200] Too many bits per frame requested", even though the source audio is only 96k. I had to put it down to 72k to stop that error. The problem does not seem to be with any video options because I was able to get a completed output file with these settings, except using the alac audio encoder (problem is that won't work for the destination device). Jim Command line with complete, uncut output: Jims-MacBook-Pro:Desktop jim$ ffmpeg -i baby.avi -c:v libx264 -vprofile main -preset veryslow -c:a aac -strict experimental -b:a 72k -x264opts level=3.1:ref=8 -y output.m4v ffmpeg version 0.8.7.git-1fd6924, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 2 2011 07:27:16 with clang 3.0 (tags/Apple/clang-211.12) configuration: --prefix=/Volumes/Ramdisk/sw --cc=clang --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. 29. 1 / 51. 29. 1 libavcodec 53. 39. 1 / 53. 39. 1 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 50. 0 / 2. 50. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x7fdbdc01ae00] parser not found for codec pcm_u8, packets or times may be invalid. Input #0, avi, from 'baby.avi': Metadata: creation_time : 2011-11-28 20:15:12 encoder : CanonMVI06 Duration: 00:01:00.99, start: 0.000000, bitrate: 15004 kb/s Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 12000 Hz, 1 channels, u8, 96 kb/s Incompatible pixel format 'yuvj422p' for codec 'libx264', auto-selecting format 'yuv420p' [buffer @ 0x7fdbdbc156e0] w:640 h:480 pixfmt:yuvj422p tb:1/1000000 sar:0/1 sws_param: [buffersink @ 0x7fdbdbc15560] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x7fdbdbc16500] w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuv420p flags:0x4 Incompatible sample format 'u8' for codec 'aac', auto-selecting format 's16' [libx264 @ 0x7fdbdc02a800] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x7fdbdc02a800] profile Main, level 3.1 [libx264 @ 0x7fdbdc02a800] 264 - core 119 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=8 deblock=1:0:0 analyse=0x1:0x131 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=0 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=8 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, ipod, to 'output.m4v': Metadata: creation_time : 2011-11-28 20:15:12 encoder : Lavf53.24.0 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 640x480, q=-1--1, 30k tbn, 29.97 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 12000 Hz, 1 channels, s16, 72 kb/s Stream mapping: Stream #0:0 -> #0:0 (mjpeg -> libx264) Stream #0:1 -> #0:1 (pcm_u8 -> aac) Press [q] to stop, [?] for help From cehoyos at ag.or.at Sun Dec 4 18:53:49 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 4 Dec 2011 17:53:49 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg stalls/freezes References: <391B7FBB-2F40-443A-8C5A-3B51AD73F87C@gmail.com> Message-ID: Jim Worrall gmail.com> writes: > Update: When I set the audio bitrate at 64k or lower, I don't get the error > AND it doesn't freeze; the transcode succeeds. Could you provide a sample? (Perhaps it also freezes / succeeds with a heavily cut version of your file.) Carl Eugen From coniophora at gmail.com Sun Dec 4 19:25:49 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sun, 4 Dec 2011 11:25:49 -0700 Subject: [FFmpeg-user] ffmpeg stalls/freezes In-Reply-To: References: <391B7FBB-2F40-443A-8C5A-3B51AD73F87C@gmail.com> Message-ID: <9BF3BD54-3762-42EC-9CC5-E4B10AC42BF3@gmail.com> On Dec 4, 2011, at 10:53 AM, Carl Eugen Hoyos wrote: > > Jim Worrall gmail.com> writes: > >> Update: When I set the audio bitrate at 64k or lower, I don't get the error >> AND it doesn't freeze; the transcode succeeds. > > Could you provide a sample? > (Perhaps it also freezes / succeeds with a heavily cut version of your file.) > > Carl Eugen > You're right, the cut version behaves the same way. It is about 2 seconds, 4 MB: http://dl.dropbox.com/u/18324334/baby1.avi Behavior vs. audio bitrate: 96k --> error (also error if bitrate is not set) 72k --> freeze 64k --> success Command line: ffmpeg -i baby1.avi -c:v libx264 -vprofile main -preset veryslow -x264opts level=3.1:ref=8 -c:a aac -strict experimental -b:a 72k -y output.m4v Jim From ffmpeg-user at herveybayaustralia.com.au Mon Dec 5 02:11:12 2011 From: ffmpeg-user at herveybayaustralia.com.au (Da Rock) Date: Mon, 05 Dec 2011 11:11:12 +1000 Subject: [FFmpeg-user] ffm stream mapping Message-ID: <4EDC1A30.2020308@herveybayaustralia.com.au> In furthering my project (and crash course in ffmpeg :) ) I have hit a snag with ffm format. There appears to be practically no information or documentation to be had for it. I'm trying to send a mpegts stream (video, audio, sub, data) to ffserver for further processing. Unfortunately ffm seems to really screw up the streams no end. I can split the ts into programs and send them to different files very easily, streams look like this (simply): Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Stream #0.6 -> #1.0 Stream #0.7 -> #1.1 Stream #0.9 -> #2.0 Stream #0.8 -> #2.1 ffm on the other hand: Output #0, ffm, to 'http://127.0.0.1:8090/stream1.ffm': Stream #0.0, 0, 1/1000000: Audio: ac3, 48000 Hz, 5 channels, 448 kb/s Stream #0.1, 0, 1/90000: Video: [0][0][0][0] / 0x0000, q=2-31, 64 kb/s, 90k tbn Stream #0.2, 0, 1/90000: Audio: [0][0][0][0] / 0x0000, 0 channels, 64 kb/s Stream #0.3, 0, 1/90000: Subtitle: [0][0][0][0] / 0x0000, 64 kb/s Codec type mismatch for mapping #0.0 -> #0.0 It appears to be hell bent on using the audio stream first (why?!!) with no logical reason why it should. No amount of googling or mapping can enlighten me or fix the problem. The only useless info I could find was ffmpegX which can "invert streams" or something. Is this a bug or can I do something to fix this? Is there *any* information on the ffm format? I have tried -newvideo -newaudio -newsubtitle after the output declaration, and mapping before and after output declarations. ffm just ignores all reason and does what the hell it wants. I would like to grab the subs as well (if I can), but the data stream I'm happy to pass on. Any help would be much appreciated. Cheers From hazersha at gmail.com Mon Dec 5 06:00:56 2011 From: hazersha at gmail.com (hazer) Date: Mon, 5 Dec 2011 10:30:56 +0530 Subject: [FFmpeg-user] parser not found for codec wmav2 Message-ID: Hi I am getting a warning when i run the below command. Warning: *[asf @ 01C787A0] parser not found for codec wmav2, packets or times may be inval* *id.* * * I am using the latest ffmpeg.exe, did I miss any parameters. Any suggestions please. * * * * * * ffmpeg -i Assets\Logitech_webcam_on_PC.wmv -sameq -f swf -y -an -s 640x360 MySlide.swf ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 30 2011 00:52:52 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. 29. 1 / 51. 29. 1 libavcodec 53. 39. 1 / 53. 39. 1 libavformat 53. 22. 0 / 53. 22. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 50. 0 / 2. 50. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 *[asf @ 01C787A0] parser not found for codec wmav2, packets or times may be inval* *id.* Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000 /1) -> 0.08 (1/12) Input #0, asf, from 'Assets\Logitech_webcam_on_PC.wmv': Metadata: WMFSDKVersion : 11.0.5721.5265 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 50500.0000 Buffer Average : 66550.0000 Duration: 00:00:36.22, start: 0.000000, bitrate: 497 kb/s Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 32000 Hz, 1 channels, s16, 20 kb/s Stream #0:1(eng): Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 320x180, 422 kb/ s, 0.08 tbr, 1k tbn, 1k tbc [buffer @ 02AA9760] w:320 h:180 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 02AA9A80] w:320 h:180 fmt:yuv420p -> w:640 h:360 fmt:yuv420p flags:0x4 Output #0, swf, to 'MySlide.swf': Metadata: WMFSDKVersion : 11.0.5721.5265 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 50500.0000 Buffer Average : 66550.0000 encoder : Lavf53.22.0 Stream #0:0(eng): Video: flv1, yuv420p, 640x360, q=2-31, 200 kb/s, 90k tbn, 0.08 tbc Stream mapping: Stream #0:1 -> #0:0 (wmv2 -> flv) Press [q] to stop, [?] for help frame= 4 fps= 0 q=0.0 size= 97kB time=00:00:48.00 bitrate= 16.6kbits/s frame= 5 fps= 0 q=0.0 Lsize= 111kB time=00:01:00.00 bitrate= 15.2kbits/ s dup=0 drop=599 video:111kB audio:0kB global headers:0kB muxing overhead 0.128646% From umnoff at gmail.com Mon Dec 5 12:35:34 2011 From: umnoff at gmail.com (Alexey Umnov) Date: Mon, 5 Dec 2011 15:35:34 +0400 Subject: [FFmpeg-user] libavformat dependecies are too sophisticated Message-ID: Hello! I'm building ffmpeg codecs for Android now, namely h264 decoder. Here is my configure command: ../configure \ --enable-cross-compile \ --prefix=$INSTALL_PATH \ --cross-prefix=$CROSS_PREFIX \ --sysroot=$SYSROOT_PATH \ --cc=$TOOLCHAIN_PATH/bin/${CROSS_PREFIX}gcc \ --nm=$TOOLCHAIN_PATH/bin/${CROSS_PREFIX}nm \ --ar=$TOOLCHAIN_PATH/bin/${CROSS_PREFIX}ar \ --arch=arm \ --target-os=linux \ --disable-stripping \ --extra-cflags=" -fPIC -DANDROID " \ --extra-libs="-lm_addon" \ --enable-nonfree \ --enable-shared \ --disable-debug \ \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffserver \ --disable-ffprobe \ --disable-encoders \ --disable-muxers \ --disable-devices \ --disable-protocols \ --enable-protocol=file \ --enable-avfilter \ --disable-network \ --disable-avdevice Build is going fine. However, libavformat dependencies seems too sophisticated: ~/usr/lib$ ldd ./libavformat.so linux-vdso.so.1 => (0x00007fffaa9ff000) libavcodec.so.53 => /usr/lib/libavcodec.so.53 (0x00007fc976066000) libavutil.so.51 => /usr/lib/libavutil.so.51 (0x00007fc975e48000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc975ba1000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc975989000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc97576c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc9753cc000) libvpx.so.0 => /usr/lib/libvpx.so.0 (0x00007fc97512b000) libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fc974c5c000) libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fc974a2f000) libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007fc9747f0000) libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007fc9745d6000) libspeex.so.1 => /usr/lib/x86_64-linux-gnu/libspeex.so.1 (0x00007fc9743bc000) libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007fc974116000) libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007fc973f08000) libva.so.1 => /usr/lib/libva.so.1 (0x00007fc973cdd000) /lib64/ld-linux-x86-64.so.2 (0x00007fc97708c000) libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fc973ad6000) liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007fc97385c000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc973658000) Is it possible to safely exclude all the code that entails dependencies on following during ffmpeg build?: libvpx.so.0 libvorbisenc.so.2 libvorbis.so.0 libtheoraenc.so.1 libtheoradec.so.1 libspeex.so.1 libschroedinger-1.0.so.0 libgsm.so.1 libva.so.1 libogg.so.0 liborc-0.4.so.0 libdl.so.2 All I need is h264 decoder. Are all of these dependencies above are vital? And how to avoid them? Thank You! ---------------------------- Best regards! Alexey Umnov umnoff at gmail.com From cehoyos at ag.or.at Mon Dec 5 14:26:22 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 5 Dec 2011 13:26:22 +0000 (UTC) Subject: [FFmpeg-user] libavformat dependecies are too sophisticated References: Message-ID: Alexey Umnov gmail.com> writes: > All I need is h264 decoder. Are all of these dependencies above are > vital? No, but since your configure line does not match ldd output, it will be very difficult to help you (FFmpeg only depends on optional external libraries like libvorbis, libvpx or libgsm if you explicitly enable them in configure with the respective configure options). Be aware that you cannot legally distribute FFmpeg binaries if you configure with --enable-nonfree! Carl Eugen From umnoff at gmail.com Mon Dec 5 14:53:16 2011 From: umnoff at gmail.com (Alexey Umnov) Date: Mon, 5 Dec 2011 17:53:16 +0400 Subject: [FFmpeg-user] libavformat dependecies are too sophisticated In-Reply-To: References: Message-ID: Ok. Thank You for response. Now I tried a little bit different configure command line: ../configure \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffserver \ --disable-ffprobe \ --disable-encoders \ --disable-decoders \ --disable-muxers \ --disable-devices \ --disable-protocols \ --enable-protocol=file \ --enable-avfilter \ --disable-network \ --disable-avdevice \ --disable-yasm \ --prefix=${HOME}/usr \ --enable-shared \ --disable-stripping \ --enable-debug=3 \ --disable-optimizations \ --enable-pthreads \ --enable-decoder=h264 \ --disable-demuxers no cross-compiling and any related sophisticated options, no 'enable-nonfree' option. And it still depends on the same libraries among others (standard): libvpx.so.0 libvorbisenc.so.2 libvorbis.so.0 libtheoraenc.so.1 libtheoradec.so.1 libspeex.so.1 libschroedinger-1.0.so.0 libgsm.so.1 libva.so.1 libogg.so.0 liborc-0.4.so.0 So what options in configure could be responsible for these dependencies? ---------------------------- Best regards! Alexey Umnov umnoff at gmail.com On Mon, Dec 5, 2011 at 5:26 PM, Carl Eugen Hoyos wrote: > Alexey Umnov gmail.com> writes: > >> All I need is h264 decoder. Are all of these dependencies above are >> vital? > > No, but since your configure line does not match ldd output, it will be very > difficult to help you (FFmpeg only depends on optional external libraries like > libvorbis, libvpx or libgsm if you explicitly enable them in configure with the > respective configure options). > > Be aware that you cannot legally distribute FFmpeg binaries if you configure > with --enable-nonfree! > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From h.reindl at thelounge.net Mon Dec 5 14:59:56 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Mon, 05 Dec 2011 14:59:56 +0100 Subject: [FFmpeg-user] libavformat dependecies are too sophisticated In-Reply-To: References: Message-ID: <4EDCCE5C.8020605@thelounge.net> Am 05.12.2011 14:53, schrieb Alexey Umnov: > no cross-compiling and any related sophisticated options, no > 'enable-nonfree' option. And it still depends on the same libraries > among others (standard): > libvpx.so.0 > libvorbisenc.so.2 > libvorbis.so.0 > libtheoraenc.so.1 > libtheoradec.so.1 > libspeex.so.1 > libschroedinger-1.0.so.0 > libgsm.so.1 > libva.so.1 > libogg.so.0 > liborc-0.4.so.0 > > So what options in configure could be responsible for these dependencies? uninstall or disable libraries, the configure-script recognizes that the devel-packages installed and is using the capabilities the same way you can enable a library you can disable it the following is inverted from the "ffmpeg"-output of my builds where i explicitly enable all of this execpt hw-accel --disable-libvpx \ --disable-libtheora \ --disable-libvorbis \ --disable-vdpau \ --disable-vaapi \ --disable-hwaccels \ --disable-libgsm \ --disable-libspeex \ --disable-libschroedinger \ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From cehoyos at ag.or.at Mon Dec 5 15:03:09 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 5 Dec 2011 14:03:09 +0000 (UTC) Subject: [FFmpeg-user] libavformat dependecies are too sophisticated References: <4EDCCE5C.8020605@thelounge.net> Message-ID: Reindl Harald thelounge.net> writes: > --disable-libvpx \ > --disable-libtheora \ > --disable-libvorbis \ > --disable-libgsm \ > --disable-libspeex \ > --disable-libschroedinger \ As said, these are all by default disabled (because they are not system libraries, only system libraries are auto-detected) and these options are therefore unneeded. Carl Eugen From umnoff at gmail.com Mon Dec 5 15:12:03 2011 From: umnoff at gmail.com (Alexey Umnov) Date: Mon, 5 Dec 2011 18:12:03 +0400 Subject: [FFmpeg-user] libavformat dependecies are too sophisticated In-Reply-To: References: <4EDCCE5C.8020605@thelounge.net> Message-ID: Thank You! Yes, I tried them: ../configure --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --disable-encoders --disable-decoders --disable-muxers --disable-devices --disable-protocols --enable-protocol=file --enable-avfilter --disable-network --disable-avdevice --disable-yasm --prefix=${HOME}/usr --enable-shared --disable-stripping --enable-debug=3 --disable-optimizations --enable-pthreads --enable-decoder=h264 --disable-demuxers \ --disable-libvpx \ --disable-libtheora \ --disable-libvorbis \ --disable-vdpau \ --disable-vaapi \ --disable-hwaccels \ --disable-libgsm \ --disable-libspeex \ --disable-libschroedinger and it didn't make any sense. All dependencies have stay unchanged. Any other ideas? ---------------------------- Best regards! Alexey Umnov umnoff at gmail.com On Mon, Dec 5, 2011 at 6:03 PM, Carl Eugen Hoyos wrote: > Reindl Harald thelounge.net> writes: > >> --disable-libvpx \ >> --disable-libtheora \ >> --disable-libvorbis \ > >> --disable-libgsm \ >> --disable-libspeex \ >> --disable-libschroedinger \ > > As said, these are all by default disabled (because they are not system > libraries, only system libraries are auto-detected) and these options are > therefore unneeded. > > 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 Dec 5 15:38:02 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 5 Dec 2011 14:38:02 +0000 (UTC) Subject: [FFmpeg-user] libavformat dependecies are too sophisticated References: <4EDCCE5C.8020605@thelounge.net> Message-ID: Alexey Umnov gmail.com> writes: > All dependencies have stay unchanged. > Any other ideas? Yes, please try: $ git clone git://source.ffmpeg.org/ffmpeg.git $ cd ffmpeg $ ./configure --enable-shared $ make $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/libavcodec/:`pwd`/libavutil/ $ ldd libavformat/libavformat.so This still auto-detects libva (and requires it on runtime if detected), if you don't want VA-API support, use --disable-vaapi. Please do not top-post, it is considered rude, Carl Eugen From cehoyos at ag.or.at Mon Dec 5 15:41:15 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 5 Dec 2011 14:41:15 +0000 (UTC) Subject: [FFmpeg-user] libavformat dependecies are too sophisticated References: <4EDCCE5C.8020605@thelounge.net> Message-ID: Carl Eugen Hoyos ag.or.at> writes: > $ git clone git://source.ffmpeg.org/ffmpeg.git > $ cd ffmpeg > $ ./configure --enable-shared > $ make > $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/libavcodec/:`pwd`/libavutil/ This should have been: $ export LD_LIBRARY_PATH=`pwd`/libavcodec/:`pwd`/libavutil/:$LD_LIBRARY_PATH > $ ldd libavformat/libavformat.so Sorry, Carl Eugen From paul at lenz-online.de Mon Dec 5 16:22:47 2011 From: paul at lenz-online.de (Paul Lenz) Date: Mon, 05 Dec 2011 16:22:47 +0100 Subject: [FFmpeg-user] Video from several images and audio files In-Reply-To: <302b6cedb7a306dc0b92e436a878e08a@lenz-online.de> References: <302b6cedb7a306dc0b92e436a878e08a@lenz-online.de> Message-ID: <9c5583972a91998e04ec1e237ac9aa32@lenz-online.de> Please disregard this thread. I wrote a workaround. Bye bye mailinglist. From steve.jensen at sfcollege.edu Mon Dec 5 16:33:55 2011 From: steve.jensen at sfcollege.edu (Steve Jensen) Date: Mon, 5 Dec 2011 10:33:55 -0500 Subject: [FFmpeg-user] Video from several images and audio files In-Reply-To: <9c5583972a91998e04ec1e237ac9aa32@lenz-online.de> References: <302b6cedb7a306dc0b92e436a878e08a@lenz-online.de> <9c5583972a91998e04ec1e237ac9aa32@lenz-online.de> Message-ID: <4EDCE463.4060402@sfcollege.edu> Shouldn't you be able to cat your sound files together and then just use the one sound file and multiple images? --- Steve Jensen Santa Fe College Gainesville, Fl steve.jensen at sfcollege.edu ICQ # 3440385 --- On 12/05/2011 10:22 AM, Paul Lenz wrote: > Please disregard this thread. I wrote a workaround. > Bye bye mailinglist. > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From gf at unixsol.org Mon Dec 5 15:38:37 2011 From: gf at unixsol.org (Georgi Chorbadzhiyski) Date: Mon, 05 Dec 2011 16:38:37 +0200 Subject: [FFmpeg-user] Setting audio delay when remuxing mpegts to mpegps Message-ID: <4EDCD76D.7060701@unixsol.org> Guys I'm remuxing mpegts files into mpegps (-f vob) and the problem I'm having is that mediainfo reports for the audio "Delay relative to video: -146ms" Is there a way for this delay to be 0 (or at lease less that 40 ms) without recompressing? file1.ts, file2, and file3.ts each are 1 minute long. cat file1.ts file2.ts file3.ts | \ ./ffmpeg -f mpegts -i - -ss 00:01:00.000 -acodec copy -vcodec copy -vframes 1525 -f vob -y file.mpg > ffmpeg version N-35458-g51177b1, Copyright (c) 2000-2011 the FFmpeg developers > built on Dec 5 2011 16:09:01 with gcc 4.5.3 > configuration: --enable-gpl --enable-pic --enable-libx264 > libavutil 51. 30. 0 / 51. 30. 0 > libavcodec 53. 40. 0 / 53. 40. 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 > [mp3 @ 0x14277e0] Header missing > [mpegts @ 0x13ff7e0] max_analyze_duration 5000000 reached at 5016000 > [mpegts @ 0x13ff7e0] Estimating duration from bitrate, this may be inaccurate > Input #0, mpegts, from 'pipe:': > Duration: N/A, start: 94570.689189, bitrate: 10160 kb/s > Program 1007 > Metadata: > service_name : bTV > service_provider: BULSATCOM > Stream #0:0[0x50]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 10000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc > Stream #0:1[0x51](bul): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 160 kb/s > Output #0, vob, to 'file.mpg': > Metadata: > encoder : Lavf53.24.0 > Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 10000 kb/s, 25 fps, 90k tbn, 25 tbc > Stream #0:1(bul): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, 160 kb/s > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Stream #0:1 -> #0:1 (copy) > frame= 1526 fps= 0 q=-1.0 Lsize= 18630kB time=00:01:00.67 bitrate=2515.4kbits/s > video:17211kB audio:1185kB global headers:0kB muxing overhead 1.273521% Media info reports for file.mpg > General > Complete name : file.mpg > Format : MPEG-PS > File size : 18.2 MiB > Duration : 1mn 1s > Overall bit rate mode : Variable > Overall bit rate : 2 502 Kbps > > Video > ID : 224 (0xE0) > Format : MPEG Video > Format version : Version 2 > Format profile : Main at Main > Format settings, BVOP : Yes > Format settings, Matrix : Custom > Format settings, GOP : M=3, N=12 > Duration : 1mn 1s > Bit rate mode : Variable > Bit rate : 2 292 Kbps > Maximum bit rate : 10 000 Kbps > Width : 720 pixels > Height : 576 pixels > Display aspect ratio : 4:3 > Frame rate : 25.000 fps > Standard : PAL > Color space : YUV > Chroma subsampling : 4:2:0 > Bit depth : 8 bits > Scan type : Interlaced > Scan order : Top Field First > Compression mode : Lossy > Bits/(Pixel*Frame) : 0.221 > Stream size : 16.7 MiB (92%) > > Audio > ID : 192 (0xC0) > Format : MPEG Audio > Format version : Version 1 > Format profile : Layer 2 > Duration : 1mn 0s > Bit rate mode : Constant > Bit rate : 160 Kbps > Channel(s) : 2 channels > Sampling rate : 48.0 KHz > Compression mode : Lossy > Delay relative to video : -146ms Can this be lower or zero? > Stream size : 1.16 MiB (6%) -- Georgi Chorbadzhiyski http://georgi.unixsol.org/ From erik.lat at htbindustries.org Mon Dec 5 23:13:11 2011 From: erik.lat at htbindustries.org (Erik Lat) Date: Mon, 05 Dec 2011 17:13:11 -0500 Subject: [FFmpeg-user] =?utf-8?q?FFmpeg_issues_with_MP4=3F?= Message-ID: <37cbe89e21505d466ea2c24c93323226@htbindustries.org> Hey guys, I have been running a little encoder service on an xinetd port for some time now. Basically it reads data in and filters through a WAV->MP3 conversion and outputs the data as an MP3. It has been working fine for many different formats (VBR mp3, ogg, wav, etc) but it seems to be choking on MP4 audio. I have tried running the file through the processes manually on the command line which works fine, but I was curious if you guys might know why it doesn't work in my xinetd server. From the service file you will see that I'm logging FFmpeg's stderr to a file. There's a message about estimating duration from bitrate, but this message pops up for WAV, OGG, and MP3 files as well without issue. Here's an example of what I'm doing: user at host$ file file.ogg file.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~128000 bps, created by: Xiph.Org libVorbis I user at host$ cat file.ogg | nc localhost 9615 > a.mp3 user at host$ file file.mp3 file.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo user at host$ file file.mp4 file.mp4: ISO Media, MPEG v4 system, version 2 user at host$ cat file.mp4 | nc localhost 9615 > a.mp3 ** hangs indefinitely ** user at host$ cat 16B_-_Inbetween_Your_Choice.m4a | /usr/local/bin/ffmpeg.sh > a.mp3 ** this WORKS ** Attached are the files I'm working with. NOTE: to test you may need to setup an entry for the 'ffmpeg' service in your /etc/services file. ffmpeg: xinetd service file ffmpeg.sh: xinetd script file I am using FFmpeg version 0.6.3-rpmfusion, on Fedora 14, but have also tried with FFmpeg version 0.7.8 on Gentoo with the same result. -- Erik Lat Systems Engineer HTB Industries, Inc. P: 312.857.4797 -------------- next part -------------- A non-text attachment was scrubbed... Name: ffmpeg.sh Type: text/x-shellscript Size: 273 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ffmpeg URL: From guba at VI-ANEC.de Mon Dec 5 23:24:43 2011 From: guba at VI-ANEC.de (=?ISO-8859-15?Q?G=FCnter_Bachelier?=) Date: Mon, 05 Dec 2011 23:24:43 +0100 Subject: [FFmpeg-user] specifing frames in a specific second Message-ID: <4EDD44AB.5020509@VI-ANEC.de> Hello, I want so save specific frames from every video second (or from specific seconds) to jpg. For example frame 5, 10, 15 and 20 (from 25) in movie second 00:00:10 A line like ffmpeg -i movie.mp4 -r 1 -f image2 -qscale 1 -vcodec mjpeg image-%03d.jpg get one frame per second but which one out of the 25 (probably the first). How can I specify frames in a specific second? Thank you best regards Guenter From coniophora at gmail.com Tue Dec 6 03:35:32 2011 From: coniophora at gmail.com (Jim Worrall) Date: Mon, 5 Dec 2011 19:35:32 -0700 Subject: [FFmpeg-user] ffmpeg stalls/freezes In-Reply-To: <9BF3BD54-3762-42EC-9CC5-E4B10AC42BF3@gmail.com> References: <391B7FBB-2F40-443A-8C5A-3B51AD73F87C@gmail.com> <9BF3BD54-3762-42EC-9CC5-E4B10AC42BF3@gmail.com> Message-ID: On Dec 4, 2011, at 11:25 AM, Jim Worrall wrote: > > On Dec 4, 2011, at 10:53 AM, Carl Eugen Hoyos wrote: >> >> Jim Worrall gmail.com> writes: >> >>> Update: When I set the audio bitrate at 64k or lower, I don't get the error >>> AND it doesn't freeze; the transcode succeeds. >> >> Could you provide a sample? >> (Perhaps it also freezes / succeeds with a heavily cut version of your file.) >> >> Carl Eugen >> > You're right, the cut version behaves the same way. It is about 2 seconds, > 4 MB: http://dl.dropbox.com/u/18324334/baby1.avi > > Behavior vs. audio bitrate: > 96k --> error (also error if bitrate is not set) > 72k --> freeze > 64k --> success > > Command line: > ffmpeg -i baby1.avi -c:v libx264 -vprofile main -preset veryslow -x264opts level=3.1:ref=8 -c:a aac -strict experimental -b:a 72k -y output.m4v > > Jim Using libvo_aacenc instead of aac, there is no error or freeze Jim From arissirajawali at gmail.com Tue Dec 6 03:55:41 2011 From: arissirajawali at gmail.com (aris sirajawali) Date: Tue, 6 Dec 2011 09:55:41 +0700 Subject: [FFmpeg-user] problems convert mov to mp4 Message-ID: command how to convert from mov to mp4, I have problems when I use this command -i INPUT.MOV -acodec libfaac -ar 44100 -ab 128k -coder ac -me_range 16 -sc_threshold 40 -vcodec libx264 -b 512k -g 250 -r 25 -s 500x300 -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -i_qfactor 0.71 -keyint_min 25 -b_strategy 1 OUT.MP4 size and the rate that I can be too big and not in accordance with biterate that I input in the ffmpeg command. please correct me and help for this problem. thank you From nathan.stocks at gmail.com Tue Dec 6 06:02:38 2011 From: nathan.stocks at gmail.com (Nathan) Date: Mon, 5 Dec 2011 22:02:38 -0700 Subject: [FFmpeg-user] Linking help? In-Reply-To: References: Message-ID: On Wed, Nov 30, 2011 at 4:55 PM, Nathan wrote: > On Wed, Nov 30, 2011 at 4:16 PM, Carl Eugen Hoyos wrote: >> Nathan gmail.com> writes: >> >>> Can anyone point me in the right direction to figure out how to >>> correct linking errors like the one below? >>> >>> ld: dist/linux-x86-64/libavbin.so.8: version node not found for symbol >>> av_dup_packet LIBAVFORMAT_52 >>> ld: failed to set dynamic section sizes: Bad value >> >> Apart from the fact that nearly all necessary information is missing (how did >> you compile FFmpeg, what version did you use, which old FFmpeg versions are >> hidden in your library patch?): > > In that email I provided the exact configure options I used to > configure FFmpeg, as well as the exact version of GCC used to compile > it, as well as steps to duplicate the problem. > > I used revision 25864 from svn://svn.mplayerhq.hu/ffmpeg/trunk -- but > I got identical results with releases 0.7.8, 0.8.7, and the master git > branch when I tried them. > >> This is the FFmpeg user mailing list. > > Acknowledged. ?I tried the appropriate list, but it appears to be > deserted. ?I would be happy to take this discussion back to libav-user > if there is someone who will discuss it with me there. ?I lurked on > this list for a few days to get a feel for it, and it seemed consist > of the sort of competent people who may be able and willing to help > solve this linking issue. > >> You appear to have a problem with a library called libavbin (that I have never >> heard of). >> If you cannot reproduce the problem when linking one of the FFmpeg executables, >> I suggest you ask where you got "libavbin" from. > > I am the (new) maintainer of AVbin. ?I'm trying put together a > release. ?The project home page is at http://avbin.github.com and the > repository is at https://github.com/avbin/avbin > > In short, the entire project is to provide a stable ABI for Pyglet to > use to decode audio and video. ?If you clone the actual code, you will > see a single C file in src/ and a single header file in include/ and > these simply thinly wrap basic FFmpeg decoding functionality in a way > to attempt long term ABI support on a variety of platforms. > > ~ Nathan Solved. http://forums.devshed.com/c-programming-42/linking-error-version-node-not-found-for-symbol-av-dup-867987.html From umnoff at gmail.com Tue Dec 6 07:34:41 2011 From: umnoff at gmail.com (Alexey Umnov) Date: Tue, 6 Dec 2011 10:34:41 +0400 Subject: [FFmpeg-user] libavformat dependecies are too sophisticated In-Reply-To: References: <4EDCCE5C.8020605@thelounge.net> Message-ID: Thank You very much! It helped and I've got the point. PS. Sorry for "top-posting" although I don't even know what it means... ---------------------------- Best regards! Alexey Umnov umnoff at gmail.com On Mon, Dec 5, 2011 at 6:41 PM, Carl Eugen Hoyos wrote: > Carl Eugen Hoyos ag.or.at> writes: > >> $ git clone git://source.ffmpeg.org/ffmpeg.git >> $ cd ffmpeg >> $ ./configure --enable-shared >> $ make >> $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/libavcodec/:`pwd`/libavutil/ > > This should have been: > $ export LD_LIBRARY_PATH=`pwd`/libavcodec/:`pwd`/libavutil/:$LD_LIBRARY_PATH > >> $ ldd libavformat/libavformat.so > > Sorry, Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From anaerin at gmail.com Tue Dec 6 07:43:16 2011 From: anaerin at gmail.com (Robert Johnston) Date: Tue, 06 Dec 2011 00:43:16 -0600 Subject: [FFmpeg-user] libavformat dependecies are too sophisticated In-Reply-To: References: <4EDCCE5C.8020605@thelounge.net> Message-ID: <4EDDB984.1020206@gmail.com> On 06/12/2011 12:34 AM, Alexey Umnov wrote: > PS. > Sorry for "top-posting" although I don't even know what it means... Top-posting is doing as you did, putting your reply before the message(s) it referenced, and not removing any information or comments from those messages that weren't relevant to the discussion at hand. Correctly posting, like this, is usually referred to as "bottom posting", as your message goes on the bottom, or "Interleaved posting", if you reply to comments piece by piece, thus interleaving your comments with those that came before. Bottom posting makes it much simpler to see what the current topic of conversation is, and what relevant information has already been posted on the topic, as well as making the chain of messages flow in a more consistent manner. It also has the advantage of taking up less bandwidth and hard-drive space. So please, in the future, take the extra few seconds it takes to format your replies properly. It's a negligible amount of work for the massive benefits it brings. -- Robert Johnston From research at the10thfloor.com Tue Dec 6 08:37:25 2011 From: research at the10thfloor.com (Shalom Levytam) Date: Tue, 6 Dec 2011 02:37:25 -0500 Subject: [FFmpeg-user] ffmpeg-php won't compile with ffmpeg 0.8.7 Message-ID: Hi everyone, I'm trying to install ffmpeg-php with ffmpeg 0.8.7; however, I'm getting numerous compile errors. I had no problems installing ffmpeg-php with ffmpeg 0.6.x but for some reason its just not working with the latest build off ffmpeg. Could someone please be of assistance? Thanks, slevytam ---- [root at localhost ffmpeg-php-0.6.0]# make /bin/sh /tmp/ffmpeg-php-0.6.0/libtool --mode=compile cc -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -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 -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo mkdir .libs cc -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -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 -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg': /tmp/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: 'avcodec_init' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3836) /bin/sh /tmp/ffmpeg-php-0.6.0/libtool --mode=compile cc -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -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 -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c -o ffmpeg_movie.lo cc -I. -I/tmp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/tmp/ffmpeg-php-0.6.0/include -I/tmp/ffmpeg-php-0.6.0/main -I/tmp/ffmpeg-php-0.6.0 -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 -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c -fPIC -DPIC -o .libs/ffmpeg_movie.o /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:73: error: 'MAX_STREAMS' undeclared here (not in a function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_video_stream': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: (Each undeclared identifier is reported only once /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: for each function it appears in.) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_audio_stream': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:165: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_open_movie_file': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:258: warning: 'av_open_input_file' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1367) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:263: warning: 'av_find_stream_info' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1446) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_decoder_context': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:484: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:513: warning: 'avcodec_open' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4058) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getComment': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:531: error: 'AVFormatContext' has no member named 'comment' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:531: error: 'AVFormatContext' has no member named 'comment' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getTitle': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:546: error: 'AVFormatContext' has no member named 'title' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:546: error: 'AVFormatContext' has no member named 'title' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAuthor': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:561: error: 'AVFormatContext' has no member named 'author' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:561: error: 'AVFormatContext' has no member named 'author' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getCopyright': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:575: error: 'AVFormatContext' has no member named 'copyright' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:575: error: 'AVFormatContext' has no member named 'copyright' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAlbum': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:590: error: 'AVFormatContext' has no member named 'album' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:590: error: 'AVFormatContext' has no member named 'album' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getGenre': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:604: error: 'AVFormatContext' has no member named 'genre' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:604: error: 'AVFormatContext' has no member named 'genre' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getTrackNumber': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:619: error: 'AVFormatContext' has no member named 'track' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getYear': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:632: error: 'AVFormatContext' has no member named 'year' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_framerate': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:678: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_framenumber': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:810: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_pixelformat': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:850: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getPixelFormat': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:868: warning: 'avcodec_get_pix_fmt_name' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3679) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_codec_name': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:963: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getVideoCodec': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:989: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAudioCodec': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1009: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getVideoStreamId': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1029: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAudioStreamId': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1051: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAudioChannels': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1089: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAudioSampleRate': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1125: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAudioBitRate': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1161: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getVideoBitRate': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1181: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_read_av_frame': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1204: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1215: warning: implicit declaration of function 'avcodec_decode_video' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1219: error: 'PKT_FLAG_KEY' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_av_frame': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1246: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1282: error: 'AVCodecContext' has no member named 'hurry_up' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1284: error: 'AVCodecContext' has no member named 'hurry_up' /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_sample_aspect_ratio': /tmp/ffmpeg-php-0.6.0/ffmpeg_movie.c:1443: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) make: *** [ffmpeg_movie.lo] Error 1 From ubitux at gmail.com Tue Dec 6 09:23:21 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Tue, 6 Dec 2011 09:23:21 +0100 Subject: [FFmpeg-user] ffmpeg-php won't compile with ffmpeg 0.8.7 In-Reply-To: References: Message-ID: <20111206082321.GA7268@leki> On Tue, Dec 06, 2011 at 02:37:25AM -0500, Shalom Levytam wrote: > Hi everyone, > > I'm trying to install ffmpeg-php with ffmpeg 0.8.7; however, I'm getting > numerous compile errors. I had no problems installing ffmpeg-php with > ffmpeg 0.6.x but for some reason its just not working with the latest > build off ffmpeg. > ffmpeg-php is not maintained by the FFmpeg team; you need to refer to the appropriate project. > Could someone please be of assistance? > This might help you fixing the usage of the new API: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/APIchanges;hb=HEAD [...] -- 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 renaux.jacky at orange.fr Tue Dec 6 18:02:19 2011 From: renaux.jacky at orange.fr (jacky) Date: Tue, 6 Dec 2011 18:02:19 +0100 Subject: [FFmpeg-user] Rtmp Message-ID: <8D35CCB507384262A89792A40899F2B9@portable> Hi I am using a RED5 server , doing very well To stream flash files using rtmp protocol I try to stream live like ffmpeg -f my_file .... rtmp://myserver/myfile.flv I am getting error such RTMP_READPacket, failed to read RTMP packet header Could any body help me ? Does any body already made a live streaming using Ffmpeg as encoder and red5 as streamer ? Is this message generated by ffmpeg ? By the server ? ffmpeg version N-31031-gf211d9d, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 26 2011 22:50:39 with gcc 4.5.3 configuration: --enable-gpl --enable-version3 --enable-memalign-hack --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-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 10. 0 / 51. 10. 0 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 24. 0 / 2. 24. 0 libswscale 2. 0. 0 / 2. 0. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 01E7B4A0] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'macula1.vob': Duration: 00:02:40.08, start: 0.500000, bitrate: 3108 kb/s Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 16:15 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s RTMP_ReadPacket, failed to read RTMP packet header rtmp://........./usr/local/red5/webapps/oflaDemo/streams/live/test.flv: Operation not permitted Regards Jacky From rogerdpack2 at gmail.com Tue Dec 6 18:13:26 2011 From: rogerdpack2 at gmail.com (Roger Pack) Date: Tue, 6 Dec 2011 10:13:26 -0700 Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: <1322847512839-4148176.post@n4.nabble.com> References: <1322847512839-4148176.post@n4.nabble.com> Message-ID: > I realize this is old but maybe just edit cmdutils.c and compile again. > > Look for this line > > ? ?fprintf(stderr, " ?configuration: " FFMPEG_CONFIGURATION "\n"); +1 for not displaying it by default, maybe only display it if in verbose mode or something (as mplayer does...) -r From jeff at soren.com Tue Dec 6 18:17:12 2011 From: jeff at soren.com (Jeff Sorrentino) Date: Tue, 6 Dec 2011 11:17:12 -0600 Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) Message-ID: I am trying to compile ffmpeg for use with a single video type (MP4 / Mpeg4). Here's what my compiler flags are (non-working), can someone shed some light on this for me, as Video Codecs are not my strong suit. FLAGS="$FLAGS --disable-everything" FLAGS="$FLAGS --enable-encoder=mpeg4video" Code in use that shows failure: // Open video file (here's the failure, doesn't happen when compiled for all) inputFormat = av_find_input_format("MP4"); if (!inputFormat) { __android_log_print(ANDROID_LOG_ERROR, "NDK:", "Null inputformat!"); return; } When I simply build for everything this works fine, but I do not know what else I need to include to support decoding of Mpeg4 video files. From bartomas at gmail.com Tue Dec 6 17:58:31 2011 From: bartomas at gmail.com (bartom) Date: Tue, 6 Dec 2011 08:58:31 -0800 (PST) Subject: [FFmpeg-user] Problem streaming mjpeg as UDP Message-ID: <1323190711083-4165527.post@n4.nabble.com> Hi I'm trying to use ffmpeg to convert an avi file and stream it as UDP. I tried first to just convert the file with the following command and it worked fine: ffmpeg -i /pathToFile/sample.avi -vcodec mjpeg output.mjpeg However, when I try: ffmpeg -i /pathToFile/sample.avi -vcodec mjpeg udp://127.0.0.1:1234 I get the following error message: Unable to find a suitable output format for 'udp://127.0.0.1:1234' Do you what I am doing wrong? Thanks a lot for any help -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Problem-streaming-mjpeg-as-UDP-tp4165527p4165527.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From lou at lrcd.com Tue Dec 6 20:04:18 2011 From: lou at lrcd.com (Lou) Date: Tue, 6 Dec 2011 10:04:18 -0900 Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: References: <1322847512839-4148176.post@n4.nabble.com> Message-ID: <20111206100418.59d90b13@lrcd.com> On Tue, 6 Dec 2011 10:13:26 -0700 Roger Pack wrote: > > I realize this is old but maybe just edit cmdutils.c and compile > > again. > > > > Look for this line > > > > ? ?fprintf(stderr, " ?configuration: " FFMPEG_CONFIGURATION "\n"); > > +1 for not displaying it by default, maybe only display it if in > verbose mode or something (as mplayer does...) > -r I prefer that the configure options are shown by default. Seeing the configure options is useful when helping users in #ffmpeg/mailing list/trac. Asking the user to "show the ffmpeg command and the complete console output" is easier to follow than "show the ffmpeg command with verbosity enabled (-verbose) and the complete console output". From rogerdpack2 at gmail.com Tue Dec 6 20:31:08 2011 From: rogerdpack2 at gmail.com (Roger Pack) Date: Tue, 6 Dec 2011 12:31:08 -0700 Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: <20111206100418.59d90b13@lrcd.com> References: <1322847512839-4148176.post@n4.nabble.com> <20111206100418.59d90b13@lrcd.com> Message-ID: > I prefer that the configure options are shown by default. Seeing the > configure options is useful when helping users in #ffmpeg/mailing > list/trac. True. Though I guess it scares non techy people, they won't be using ffmpeg anyway, right? -r From rsivaraman at shufflemaster.com Tue Dec 6 20:31:54 2011 From: rsivaraman at shufflemaster.com (Ramkumar Sivaraman (Table Master)) Date: Tue, 6 Dec 2011 19:31:54 +0000 Subject: [FFmpeg-user] building ffmpeg under windows using mingw msys Message-ID: <8F46297FEF8AB94DA683BDEEA811A966017D52@LVMAIL02.shufflemaster.com> Hello, I am kinda new to ffmpeg and linux. I have been trying to build ffmpeg as per the instruction given in the ffmpeg.org using shared library using latest ffmpeg source, msys and mingw. http://www.ffmpeg.org/general.html#SEC20 ,. Everything works as per the instructions. But when I try to use the dll in a simple vc++ application (like output-example.c mentioned in the document) it comes up with an error, " The Program cant start because avcodec-52.dll is missing from your computer." When I built it, it created avcodec-53.dll. How can I fix this? Willing to provide more information on this if needed. thanks Ram Ramkumar Sivaraman | Engineer | SHUFFLE MASTER, INC. | Main +1 702 897 7150 | Direct +1 702 432 4569 Follow Us: [Shuffle Master on Twitter] [Shuffle Master IR News on Twitter] [Shuffle Master on Facebook] [Shuffle Master on Flickr] [Shuffle Master on Youtube] [Shuffle Master on Foursquare] [Shuffle Master on Linkedin] ------------------------------------------------------------------------------------------ Internet Confidentiality Statement This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. From h.reindl at thelounge.net Tue Dec 6 20:54:04 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Tue, 06 Dec 2011 20:54:04 +0100 Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: References: <1322847512839-4148176.post@n4.nabble.com> <20111206100418.59d90b13@lrcd.com> Message-ID: <4EDE72DC.5020704@thelounge.net> Am 06.12.2011 20:31, schrieb Roger Pack: >> I prefer that the configure options are shown by default. Seeing the >> configure options is useful when helping users in #ffmpeg/mailing >> list/trac. > > True. Though I guess it scares non techy people, they won't be using > ffmpeg anyway, right? if someone is scared about informations and will not using software because it does not hide it nobody can help him - not all people are dump and the current development-road assume taht they are in many projects should be left better today than tomorrow the only thing you achive with such demands is that you get finally more and more dumb users all over the world because they did not learn it better -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From nightsbird.mobile at gmail.com Tue Dec 6 21:09:39 2011 From: nightsbird.mobile at gmail.com (nightsbird) Date: Tue, 6 Dec 2011 12:09:39 -0800 (PST) Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: <4EDE72DC.5020704@thelounge.net> References: <1322847512839-4148176.post@n4.nabble.com> <20111206100418.59d90b13@lrcd.com> <4EDE72DC.5020704@thelounge.net> Message-ID: <1323202179634-4166271.post@n4.nabble.com> I see both points, I actually ran across this trying to get rid of them for the sole purpose of a cleaner command line. However I didnt realize that everyone would take such great offense to a solution to a persons problem. Last time I offer advice guaranteed. The people I have asked personally questions about compiling and or usage have responded with rude RTFM comments. The comments after my post seem to be the same closed minded type people. How would one learn with no true solutions offered. It would seem that not offering a solution would dumb down the persons ability to learn. Or better yet explain why you think they would need them. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Is-there-any-way-to-hide-the-configure-command-options-tp3466091p4166271.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From cehoyos at ag.or.at Tue Dec 6 21:51:48 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 6 Dec 2011 20:51:48 +0000 (UTC) Subject: [FFmpeg-user] Is there any way to hide the configure command options? References: <1322847512839-4148176.post@n4.nabble.com> Message-ID: Roger Pack gmail.com> writes: > > I realize this is old but maybe just edit cmdutils.c and compile again. > > > > Look for this line > > > > ? ?fprintf(stderr, " ?configuration: " FFMPEG_CONFIGURATION "\n"); > > +1 for not displaying it by default, maybe only display it if in > verbose mode or something (as mplayer does...) What's wrong with ffmpeg -loglevel quiet / warning ? Carl Eugen From cehoyos at ag.or.at Tue Dec 6 21:53:59 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 6 Dec 2011 20:53:59 +0000 (UTC) Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) References: Message-ID: Jeff Sorrentino soren.com> writes: > I am trying to compile ffmpeg for use with a single video type (MP4 / > Mpeg4). > > Here's what my compiler flags are (non-working), can someone shed some > light on this for me, as Video Codecs are not my strong suit. > > FLAGS="$FLAGS --disable-everything" > FLAGS="$FLAGS --enable-encoder=mpeg4video" This is not really helpful (an actual configure line would be), but depending on what you mean with "MP4 / Mpeg4" you will probably also need "-enable-protocol=file --enable-muxer=mov". Some parsers are also very helpful. I suggest you compile ffplay with such a configure line and test it with the files you want to support. Carl Eugen From nightsbird.mobile at gmail.com Tue Dec 6 21:57:51 2011 From: nightsbird.mobile at gmail.com (nightsbird) Date: Tue, 6 Dec 2011 12:57:51 -0800 (PST) Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: References: <1322847512839-4148176.post@n4.nabble.com> Message-ID: <1323205071272-4166434.post@n4.nabble.com> I honestly have never used that option. So I couldnt tell what the output looks like. Will look at this this evening and see. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Is-there-any-way-to-hide-the-configure-command-options-tp3466091p4166434.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From jeff at soren.com Tue Dec 6 21:59:23 2011 From: jeff at soren.com (Jeff Sorrentino) Date: Tue, 6 Dec 2011 14:59:23 -0600 Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) In-Reply-To: References: Message-ID: Carl, thanks for the reply. I'm currently trying to turn on more and more in the FLAGS in my makefile, Like I said, I just do not know what mp4 video requires. I did not try mov, so im re-compiling with that now. Can I check the actual video to see what I do need for *that* specific format? I have added parsers, muxers, demuxers, formats, decoders, etc. and just can't find the right combination. I'm sure it's just lack of knowledge for the video container and knowing what it requires. On Tue, Dec 6, 2011 at 2:53 PM, Carl Eugen Hoyos wrote: > Jeff Sorrentino soren.com> writes: > > > I am trying to compile ffmpeg for use with a single video type (MP4 / > > Mpeg4). > > > > Here's what my compiler flags are (non-working), can someone shed some > > light on this for me, as Video Codecs are not my strong suit. > > > > FLAGS="$FLAGS --disable-everything" > > FLAGS="$FLAGS --enable-encoder=mpeg4video" > > This is not really helpful (an actual configure line would be), but > depending on > what you mean with "MP4 / Mpeg4" you will probably also need > "-enable-protocol=file --enable-muxer=mov". Some parsers are also very > helpful. > > I suggest you compile ffplay with such a configure line and test it with > the > files you want to support. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- Jeff Sorrentino jeff at soren.com From cehoyos at ag.or.at Tue Dec 6 21:56:37 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 6 Dec 2011 20:56:37 +0000 (UTC) Subject: [FFmpeg-user] Problem streaming mjpeg as UDP References: <1323190711083-4165527.post@n4.nabble.com> Message-ID: bartom gmail.com> writes: > ffmpeg -i /pathToFile/sample.avi -vcodec mjpeg output.mjpeg > > However, when I try: > > ffmpeg -i /pathToFile/sample.avi -vcodec mjpeg udp://127.0.0.1:1234 > > I get the following error message: > > Unable to find a suitable output format for 'udp://127.0.0.1:1234' > > Do you what I am doing wrong? (Complete, uncut console output missing.) I have no idea if mjpeg over udp works, but in your original command line, you ask ffmpeg to output to format "mjpeg", in the second command this part is missing (as the output tries to explain). Try -f mjpeg Carl Eugen From cehoyos at ag.or.at Tue Dec 6 22:00:11 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 6 Dec 2011 21:00:11 +0000 (UTC) Subject: [FFmpeg-user] Rtmp References: <8D35CCB507384262A89792A40899F2B9@portable> Message-ID: jacky orange.fr> writes: > I am using a RED5 server , doing very well > To stream flash files using rtmp protocol > I try to stream live like > ffmpeg -f my_file .... rtmp://myserver/myfile.flv This does not look like a valid ffmpeg command line... > I am getting error such > RTMP_READPacket, failed to read RTMP packet header > > Could any body help me ? > Does any body already made a live streaming using > Ffmpeg as encoder and red5 as streamer ? > > Is this message generated by ffmpeg ? I did not find it in the source. > By the server ? > ffmpeg version N-31031-gf211d9d, Copyright (c) 2000-2011 the FFmpeg > developers > built on Jun 26 2011 22:50:39 with gcc 4.5.3 This is slightly old, please try current git head. Carl Eugen From cehoyos at ag.or.at Tue Dec 6 22:05:18 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 6 Dec 2011 21:05:18 +0000 (UTC) Subject: [FFmpeg-user] Linking help? References: Message-ID: Nathan gmail.com> writes: > http://forums.devshed.com/c-programming-42/linking-error-version-node-not-found-for-symbol-av-dup-867987.html You did see "--disable-symver" in configure --help's output? Note that zlib and bzlib are needed for some decoders. Carl Eugen From cehoyos at ag.or.at Tue Dec 6 22:17:07 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 6 Dec 2011 21:17:07 +0000 (UTC) Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) References: Message-ID: Jeff Sorrentino soren.com> writes: > Carl, thanks for the reply. > > I'm currently trying to turn on more and more in the FLAGS in my makefile, > Like I said, I just do not know what mp4 video requires. And like I said, I do not know what you mean with "mp4 video". Please do not top-post, Carl Eugen From nathan.stocks at gmail.com Tue Dec 6 22:48:39 2011 From: nathan.stocks at gmail.com (Nathan) Date: Tue, 6 Dec 2011 14:48:39 -0700 Subject: [FFmpeg-user] Linking help? In-Reply-To: References: Message-ID: On Tue, Dec 6, 2011 at 2:05 PM, Carl Eugen Hoyos wrote: > You did see "--disable-symver" in configure --help's output? > Note that zlib and bzlib are needed for some decoders. > > Carl Eugen I actually did look for it, but --disable-symver doesn't exist in the (old) version of FFmpeg I'm targeting for this release (it is FFmpeg subversion revision 25864 from last December). The next release will target much newer code, so I'm excited that the option will exist in the future. nathan at ubuntu-64-bit:~/proj/avbin/ffmpeg$ ./configure --help | grep symver nathan at ubuntu-64-bit:~/proj/avbin/ffmpeg$ ./configure --disable-symver Unknown option "--disable-symver". See ./configure --help for available options. Thanks for pointing out that zlib and bzlib are needed for some decoders. I don't know why those are disabled (I inherited this project), so I'll investigate re-enabling them. bzlib is only being disabled on linux for some reason. Perhaps there was some problem with them in past revisions of AVbin. ~ Nathan From jeffsorrentino at gmail.com Tue Dec 6 21:51:23 2011 From: jeffsorrentino at gmail.com (Jeff Sorrentino) Date: Tue, 6 Dec 2011 14:51:23 -0600 Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) Message-ID: Still stuck on this. Comes down to what I need to re-enable when compiling FFMPEG library for include in an application I am working on. If my make file does not include "--disable-everything" the above code functions perfectly. I am just decoding video from a "test.mp4" video file, so basically what decoders, parsers, etc. do i need to --enable in the make file is the problem. I want to remove anything I do not need to keep ffmpeg small and just use av_register_all() in the code. I only want to build in what I actually need. Thanks again! From cehoyos at ag.or.at Wed Dec 7 00:41:32 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 6 Dec 2011 23:41:32 +0000 (UTC) Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) References: Message-ID: Jeff Sorrentino gmail.com> writes: > I am just decoding video from a "test.mp4" video file, so basically what > decoders, parsers, etc. do i need to --enable in the make file is the > problem. Please add some information about "test.mp4" (for example ffmpeg -i test.mp4 output). You can test your settings with ffplay. Carl Eugen From renaux.jacky at orange.fr Wed Dec 7 01:48:15 2011 From: renaux.jacky at orange.fr (jacky) Date: Wed, 7 Dec 2011 01:48:15 +0100 Subject: [FFmpeg-user] RE : Rtmp In-Reply-To: Message-ID: <0AB37FD97F5A41BCAEAC092185915586@portable> -----Message d'origine----- De : ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] De la part de Carl Eugen Hoyos Envoy? : mardi 6 d?cembre 2011 22:00 ? : ffmpeg-user at ffmpeg.org Objet : Re: [FFmpeg-user] Rtmp jacky orange.fr> writes: > I am using a RED5 server , doing very well > To stream flash files using rtmp protocol > I try to stream live like > ffmpeg -f my_file .... rtmp://myserver/myfile.flv This does not look like a valid ffmpeg command line... > I am getting error such > RTMP_READPacket, failed to read RTMP packet header > > Could any body help me ? > Does any body already made a live streaming using > Ffmpeg as encoder and red5 as streamer ? > > Is this message generated by ffmpeg ? I did not find it in the source. > By the server ? > ffmpeg version N-31031-gf211d9d, Copyright (c) 2000-2011 the FFmpeg > developers > built on Jun 26 2011 22:50:39 with gcc 4.5.3 This is slightly old, please try current git head. Carl Eugen ------thanks Carl i have updated ffmpeg------------------- Following is a complete command line and ffmeg answer It is a bit confuse but on dump : Parsed app does not have the full path provided on the command line But it is in the dump details set f_out=rtmp://video-utl.univ-evry.fr/usr/local/red5/webapps/oflaDemo/streams/ live/toto.flv set f_in=macula1.vob FFMPEG -i %f_in% -f flv -b:v 400k -acodec libmp3lame -ab 128k -ar 44100 -ac 1 -s 720x576 -r 25 -debug -dump -hex %f_out% ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 5 2011 14:22:27 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. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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 @ 020C9C00] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'macula1.vob': Duration: 00:02:40.08, start: 0.500000, bitrate: 3108 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s Parsing... Parsed protocol: 0 Parsed host : video-utl.univ-evry.fr Parsed app : usr/local RTMP_Connect1, ... connected, handshaking HandShake: Type Answer : 03 HandShake: Server Uptime : 571217 HandShake: FMS Version : 0.0.0.0 HandShake: Handshaking finished.... RTMP_Connect1, handshaked RTMP_SendPacket: fd=1748, size=108 0000: 03 00 00 00 00 00 6c 14 00 00 00 00 ......l..... 0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00 ...connect.?.... 0010: 00 00 00 03 00 03 61 70 70 02 00 09 75 73 72 2f ......app...usr/ 0020: 6c 6f 63 61 6c 00 04 74 79 70 65 02 00 0a 6e 6f local..type...no 0030: 6e 70 72 69 76 61 74 65 00 05 74 63 55 72 6c 02 nprivate..tcUrl. 0040: 00 27 72 74 6d 70 3a 2f 2f 76 69 64 65 6f 2d 75 .'rtmp://video-u 0050: 74 6c 2e 75 6e 69 76 2d 65 76 72 79 2e 66 72 2f tl.univ-evry.fr/ 0060: 75 73 72 2f 6c 6f 63 61 6c 00 00 09 usr/local... Invoking connect RTMP_ReadPacket: fd=1748 0000: 03 00 00 00 00 00 82 14 00 00 00 00 ............ 0000: 02 00 07 5f 72 65 73 75 6c 74 00 3f f0 00 00 00 ..._result.?.... 0010: 00 00 00 05 03 00 05 6c 65 76 65 6c 02 00 05 65 .......level...e 0020: 72 72 6f 72 00 04 63 6f 64 65 02 00 1e 4e 65 74 rror..code...Net 0030: 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e 6e 65 Connection.Conne 0040: 63 74 2e 52 65 6a 65 63 74 65 64 00 0b 64 65 73 ct.Rejected..des 0050: 63 72 69 70 74 69 6f 6e 02 00 24 4e 6f 20 73 63 cription..$No sc 0060: 6f 70 65 20 27 75 73 72 2f 6c 6f 63 61 6c 27 20 ope 'usr/local' 0070: 6f 6e 20 74 68 69 73 20 73 65 72 76 65 72 2e 00 on this server.. RTMP_ReadPacket: fd=1748 0000: c3 . 0000: 00 09 .. RTMP_ClientPacket, received: invoke 130 bytes (object begin) Property: Property: Property: NULL Property: (object begin) Property: Property: Property: (object end) (object end) HandleInvoke, server invoking <_result> HandleInvoke, received result for method call RTMP_SendPacket: fd=1748, size=68 0000: 43 00 00 00 00 00 44 14 C.....D. 0000: 02 00 0d 72 65 6c 65 61 73 65 53 74 72 65 61 6d ...releaseStream 0010: 00 40 00 00 00 00 00 00 00 05 02 00 27 72 65 64 . at ..........'red 0020: 35 2f 77 65 62 61 70 70 73 2f 6f 66 6c 61 44 65 5/webapps/oflaDe 0030: 6d 6f 2f 73 74 72 65 61 6d 73 2f 6c 69 76 65 2f mo/streams/live/ 0040: 74 6f 74 6f toto Invoking releaseStream RTMP_SendPacket: fd=1748, size=64 0000: 43 00 00 00 00 00 40 14 C..... at . 0000: 02 00 09 46 43 50 75 62 6c 69 73 68 00 40 08 00 ...FCPublish. at .. 0010: 00 00 00 00 00 05 02 00 27 72 65 64 35 2f 77 65 ........'red5/we 0020: 62 61 70 70 73 2f 6f 66 6c 61 44 65 6d 6f 2f 73 bapps/oflaDemo/s 0030: 74 72 65 61 6d 73 2f 6c 69 76 65 2f 74 6f 74 6f treams/live/toto Invoking FCPublish RTMP_SendPacket: fd=1748, size=25 0000: 43 00 00 00 00 00 19 14 C....... 0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream. 0010: 40 10 00 00 00 00 00 00 05 @........ Invoking createStream RTMP_ReadPacket: fd=1748 RTMP_ReadPacket, failed to read RTMP packet header rtmp://video-utl.univ-evry.fr/usr/local/red5/webapps/oflaDemo/streams/live/t oto.flv: Operation not permitted _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From 13760746839 at 163.com Wed Dec 7 04:51:01 2011 From: 13760746839 at 163.com (=?GBK?B?0KSyqA==?=) Date: Wed, 7 Dec 2011 11:51:01 +0800 (CST) Subject: [FFmpeg-user] Problem on MXF file seeking In-Reply-To: <0AB37FD97F5A41BCAEAC092185915586@portable> References: <0AB37FD97F5A41BCAEAC092185915586@portable> Message-ID: <765dbb22.5917.13416a5554f.Coremail.13760746839@163.com> I have some video clips,and I needed to decode them and capture frames start at a setted position.My standard step as follows: 1. ...(open video stream) 2.av_seek_frame(pFormatCtx, streamindex_video, start_position, AVSEEK_FLAG_BACKWARD); 3.av_read_frame(pFormatCtx, &packet),if return value<0 goto step 5; 4.if packet.stream_index == streamindex_video, avcodec_decode_video2(...); if packet.dts>start_position then process the frame. 5.end If I didn't call step 2, the last frame's DTS values is 759. With these steps, I found in step 2, if I seek to different position, the last frame's DTS value is different.And so most of the time,it's not equal to 759. If I set the parameter stream_index in av_seek_frame() to -1,the last frame's packet.dts value is always equal to 759. Butit will cost a lot of time to seek if the position is a large number. I tested this with MPEG2 and WMV files,it's all OK. Anybody know the reason? And how can I know the real frame number after av_seek_frame()? For example,one of my video clip with duration of 759 frames,and if I decode from the first frame, I wanted to get all frames of a video start at a set position,but after I called the av_seek_frame function,and when I call the av_read_frame function From manage.it8 at gmail.com Wed Dec 7 10:30:51 2011 From: manage.it8 at gmail.com (Mr Anh) Date: Wed, 7 Dec 2011 16:30:51 +0700 Subject: [FFmpeg-user] How to set time each image in video Message-ID: I'm doing a slideshow. I am having a problem: I can not set the time for each image. For example: ffmpeg.exe -r 0.062 -i %03d.jpg -r 59 -s hd720 -b 30000k -ab 320k test.flv I want a second image is 15 seconds, the first two images was 20 seconds, first three images is 10 seconds. How does it work? -- Mr.TU Yahoo:anhtu20488 Sky : mranh20488 mobile:0982626845 From cehoyos at ag.or.at Wed Dec 7 11:00:43 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 7 Dec 2011 10:00:43 +0000 (UTC) Subject: [FFmpeg-user] Linking help? References: Message-ID: Nathan gmail.com> writes: > I actually did look for it, but --disable-symver doesn't exist in the > (old) version of FFmpeg I'm targeting for this release (it is FFmpeg > subversion revision 25864 from last December). Please note that apart from being ancient (and missing many useful features), this version contains several hundred bugs (including regressions) that were fixed since, some of them security relevant (a known exploit for such old versions exists). Please use 0.7.8 (or release/oldabi) if you cannot use current git head due to the API change. If you find compatibility issues with oldabi / 0.7, we will be happy to fix them. Carl Eugen From ptrtap at yahoo.com Wed Dec 7 11:33:43 2011 From: ptrtap at yahoo.com (PeterTaps) Date: Wed, 7 Dec 2011 02:33:43 -0800 (PST) Subject: [FFmpeg-user] cannot get custom IO to work. Message-ID: <1323254023617-4168480.post@n4.nabble.com> Folks, I am trying to create a custom input stream. However, avformat_open_input fails will a random error value. I would appreciate it if someone can tell me what is it that I am doing wrong. Here is the simplified code. Thank you in advance for your help. Regards, Peter #define BUFSIZE (4 * 1024) static int ReadPacket(void* opaque, uint8_t* buf, int bufsize) { FILE* file = (FILE*) opaque; int len = ::fread(buf, 1, bufsize, file); return len; } int main(int argc, char* argv[]) { av_register_all(); // av_log_set_level(AV_LOG_DEBUG); const char* fileName = "/home/peter/sample_mpeg4.mp4"; FILE* file = fopen(fileName, "rb"); unsigned char* buffer = (unsigned char*) av_malloc(BUFSIZE); AVIOContext* avContext = avio_alloc_context(buffer, BUFSIZE, 1, file, ReadPacket, NULL, NULL); AVFormatContext* pFormatCtx = avformat_alloc_context(); pFormatCtx->pb = avContext; int val = avformat_open_input(&pFormatCtx, fileName, NULL, NULL); if (val != 0) { printf("Open input failed. Err: %d\n", val); pFormatCtx = 0; // it is already freed av_free(avContext); av_free(buffer); fclose(file); return -1; } -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/cannot-get-custom-IO-to-work-tp4168480p4168480.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From arissirajawali at gmail.com Wed Dec 7 12:35:46 2011 From: arissirajawali at gmail.com (aris sirajawali) Date: Wed, 7 Dec 2011 18:35:46 +0700 Subject: [FFmpeg-user] file for preset 'iphone' not found Message-ID: I try to encode video for iphone with this command ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 480x272 -aspect 16:9 -r 24 -vcodec libx264 -pass 2 -b 448k -maxrate 752k -bufsize 1504k -g 24 -vpre iphone -f mp4 -acodec libfaac -ac 2 -ar 44100 -ab 96k 01-iPhone.mp4 but why this error occurs as *files for 'iphone' not found*. what causes a message like the above? Please fellow friends can help me thank you From guisheng315 at gmail.com Wed Dec 7 13:18:25 2011 From: guisheng315 at gmail.com (gs_gail) Date: Wed, 07 Dec 2011 20:18:25 +0800 Subject: [FFmpeg-user] h264+mpegts encode problem, frame size too big Message-ID: <1323260305.1647.71.camel@gw-laptop> Hi I'm trying to use ffmpeg to convert video to h264+mpegts. But there are some encode frame size bigger than 65535, which is the decoder's max PES buffer size. and the decoder can not decode the frame. As some I frame's packet->size > 65536, and frame missed and video freeze. Is there any parameters to make sure the frame size smaller than 65535? Or another way to adapt the decoder. thanks From guisheng315 at gmail.com Wed Dec 7 13:32:42 2011 From: guisheng315 at gmail.com (sheng gui) Date: Wed, 7 Dec 2011 20:32:42 +0800 Subject: [FFmpeg-user] h264+mpegts encode problem, frame size too big Message-ID: Hi I'm trying to use ffmpeg to convert video to h264+mpegts. But there are some encode frame size bigger than 65535, which is the decoder's max PES buffer size. and the decoder can not decode the frame. As some I frame's packet->size > 65536, and frame missed and video freeze. Is there any parameters to make sure the frame size smaller than 65535? Or another way to adapt the decoder. thanks From coniophora at gmail.com Wed Dec 7 13:46:46 2011 From: coniophora at gmail.com (Jim Worrall) Date: Wed, 7 Dec 2011 05:46:46 -0700 Subject: [FFmpeg-user] file for preset 'iphone' not found In-Reply-To: References: Message-ID: On Dec 7, 2011, at 4:35 AM, aris sirajawali wrote: > I try to encode video for iphone with this command > > ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 480x272 -aspect 16:9 -r > 24 -vcodec libx264 -pass 2 -b 448k -maxrate 752k -bufsize 1504k -g 24 -vpre > iphone -f mp4 -acodec libfaac -ac 2 -ar 44100 -ab 96k 01-iPhone.mp4 > > but why this error occurs as *files for 'iphone' not found*. > what causes a message like the above? > Please fellow friends can help me > thank you Generally they like you to include the full, unmodified output including the error. But I can guess the reason for the error is, you may not have the preset file that you specified with "-vpre iphone". Jim From rhodri at kynesim.co.uk Wed Dec 7 14:02:29 2011 From: rhodri at kynesim.co.uk (Rhodri James) Date: Wed, 07 Dec 2011 13:02:29 -0000 Subject: [FFmpeg-user] Is there any way to hide the configure command options? In-Reply-To: <4EDE72DC.5020704@thelounge.net> References: <1322847512839-4148176.post@n4.nabble.com> <20111206100418.59d90b13@lrcd.com> <4EDE72DC.5020704@thelounge.net> Message-ID: On Tue, 06 Dec 2011 19:54:04 -0000, Reindl Harald wrote: > if someone is scared about informations and will not using software > because it does not hide it nobody can help him - not all people are > dump and the current development-road assume taht they are in many > projects should be left better today than tomorrow > > the only thing you achive with such demands is that you get finally > more and more dumb users all over the world because they did not > learn it better Unfortunately putting too much information in front of people also trains them to be dumb, because it trains them to not read it. If information isn't relevant 90% of the time, then you don't notice it the 10% of the time it actually is relevant. This is less important for FFMPEG, where the huge swathe of output dumped on you is relevant about 0% of the time (so piping it to /dev/null in a script is "safe") but it does get you into very bad habits for scripting with other programs. -- Rhodri James Kynesim Ltd From philip at turmel.org Wed Dec 7 14:28:00 2011 From: philip at turmel.org (Phil Turmel) Date: Wed, 07 Dec 2011 08:28:00 -0500 Subject: [FFmpeg-user] How to set time each image in video In-Reply-To: References: Message-ID: <4EDF69E0.20104@turmel.org> On 12/07/2011 04:30 AM, Mr Anh wrote: > I'm doing a slideshow. I am having a problem: I can not set the time for each > image. > For example: ffmpeg.exe -r 0.062 -i %03d.jpg -r 59 -s hd720 -b 30000k -ab > 320k test.flv > > I want a second image is 15 seconds, the first two images was 20 seconds, > first three images is 10 seconds. > How does it work? You can't, directly. But you can choose a jpeg frame rate that is a common denominator, and duplicate frames the desired number of time. In your example, use an input rate of 0.2, then have two, three, or four duplicate frames as desired. HTH, Phil From renaux.jacky at orange.fr Wed Dec 7 17:13:00 2011 From: renaux.jacky at orange.fr (jacky) Date: Wed, 7 Dec 2011 17:13:00 +0100 Subject: [FFmpeg-user] Rtmp few progresses Message-ID: <36E98AB094674485B617D165FC64609A@portable> Hi Since my first post I found some mistakes I made on targetting the Proprer server repertory My command line is : ffmpeg -i %f_in% %cmdline% %f_out% $f_in =macula1.vob $cmdline=-f flv -b:v 400k -an f_out ="rtmp://video-utl.univ-evry.fr/oflaDemo/streams/live/toto timeout=3000 " The results are : there are connection, somme datas gas been transfered but Not written and endif with : av_interleaved_write_frame() errot See above --------------ffmpeg ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 5 2011 14:22:27 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. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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 @ 020C9AA0] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'macula1.vob': Duration: 00:02:40.08, start: 0.500000, bitrate: 3108 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s [buffer @ 02400040] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15 sws_param: Output #0, flv, to 'rtmp://video-utl.univ-evry.fr/oflaDemo/streams/live/toto timeout=3000 ': Metadata: encoder : Lavf53.24.0 Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 400 kb/s, 1k tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (mpeg2video -> flv) Press [q] to stop, [?] for help WriteN, RTMP send error 10053 (129 bytes) WriteN, RTMP send error 10053 (44 bytes) WriteN, RTMP send error 10038 (42 bytes) av_interleaved_write_frame(): Operation not permitted -------------------- the (partial) red5 server log is 2011-12-07 16:12:11,180 [NioProcessor-1] WARN o.r.s.n.r.codec.RTMPProtocolDecoder - Closing connection because decoding failed: RTMPMinaConnection from 90.3.61.166 : 4024 to video-utl.univ-evry.fr (in: 3590 out 3520 ) 2011-12-07 16:12:11,181 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Close 2011-12-07 16:12:11,181 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Provider disconnect 2011-12-07 16:12:11,181 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Provider disconnect 2011-12-07 16:12:44,608 [NioProcessor-1] INFO o.red5.server.net.rtmp.RTMPHandler - Connecting to: [Scope at 1e98e7e Depth = 2, Path = '/default/oflaDemo', Name = 'streams'] 2011-12-07 16:12:44,735 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Provider connect 2011-12-07 16:12:44,735 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Stream start 2011-12-07 16:12:44,735 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Provider connect 2011-12-07 16:12:44,822 [NioProcessor-1] ERROR o.r.s.n.r.codec.RTMPProtocolDecoder - Error decoding buffer org.red5.server.net.protocol.ProtocolException: Error during decoding at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecode r.java:203) [red5.jar:na] at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocol Decoder.java:122) [red5.jar:na] at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtoc olDecoder.java:61) [red5.jar:na] at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCod ecFilter.java:225) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceive d(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoF ilterChain.java:46) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageRec eived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAda pter.java:119) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceive d(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(De faultIoFilterChain.java:426) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPolling IoProcessor.java:638) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPoll ingIoProcessor.java:598) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPoll ingIoProcessor.java:587) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractP ollingIoProcessor.java:61) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(Abstra ctPollingIoProcessor.java:969) [mina-core-2.0.0-RC1.jar:na] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java: 64) [mina-core-2.0.0-RC1.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11 10) [na:1.6.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6 03) [na:1.6.0] at java.lang.Thread.run(Thread.java:636) [na:1.6.0] Caused by: java.lang.IllegalArgumentException: null at java.nio.Buffer.limit(Buffer.java:266) [na:1.6.0] at org.red5.io.amf.Input.bufferToString(Input.java:275) [red5.jar:na] at org.red5.io.amf.Input.getString(Input.java:258) [red5.jar:na] at org.red5.io.amf.Input.readPropertyName(Input.java:565) [red5.jar:na] at org.red5.io.amf.Input.readKeyValues(Input.java:351) [red5.jar:na] at org.red5.io.amf.Input.readSimpleObject(Input.java:501) [red5.jar:na] at org.red5.io.amf.Input.readObject(Input.java:537) [red5.jar:na] at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeStreamMetadata(RTMP ProtocolDecoder.java:978) [red5.jar:na] at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeMessage(RTMPProtoco lDecoder.java:564) [red5.jar:na] at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocol Decoder.java:385) [red5.jar:na] at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecode r.java:190) [red5.jar:na] ... 18 common frames omitted 2011-12-07 16:12:44,825 [NioProcessor-1] WARN o.r.s.n.r.codec.RTMPProtocolDecoder - Closing connection because decoding failed: RTMPMinaConnection from 90.3.61.166 : 4025 to video-utl.univ-evry.fr (in: 3590 out 3520 ) 2011-12-07 16:12:44,825 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Close 2011-12-07 16:12:44,825 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Provider disconnect 2011-12-07 16:12:44,825 [NioProcessor-1] INFO o.r.s.stream.ClientBroadcastStream - Provider disconnect ------------------------End of partial red5 log What can I do next ? Do you suggest any changes ? Regards Jacky From jeff at soren.com Wed Dec 7 17:47:57 2011 From: jeff at soren.com (Jeff Sorrentino) Date: Wed, 7 Dec 2011 10:47:57 -0600 Subject: [FFmpeg-user] Rendering video in reverse. Message-ID: I have a short project where I would like to reverse video play. while (av_read_frame(pFormatCtx, &packet) >= 0) { if (packet.stream_index == videoStream) { avcodec_decode_video(pCodecCtx, pFrame, &frameFinished, packet.data, packet.size); if (frameFinished) { if (img_convert_ctx == NULL) { img_convert_ctx = sws_getContext(pCodecCtx->width, pCodecCtx->height, pCodecCtx->pix_fmt, textureWidth,textureHeight, textureFormat, SWS_FAST_BILINEAR, NULL, NULL, NULL ); if(img_convert_ctx == NULL) { // FREE PACKET? av_free_packet(&packet); av_free_packet(&packet); return; } } sws_scale(img_convert_ctx, pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameConverted->data, pFrameConverted->linesize ); av_free_packet(&packet); return; } } av_free_packet(&packet); } av_seek_frame(pFormatCtx, videoStream, 0, AVSEEK_FLAG_ANY); In the above example, the methodology to do this is pretty simple, *but* I did not find functions that would allow me to properly gather the data and manipulate the current frame as need be. Meaning, av_seek_frame(...) takes a timestamp as an argument for where to seek in TIME, but I would (or so i think) need to seek to the last frame (last line above). If av_seek_frame can do a SEEK TO LAST FRAME, then in the initial loop i can call av_read_frame followed by an av_seek_frame ( CurrentFrame - 1 ) (or CurrentFrame - 2 taking into account the read frame). 1. How do I get the total number of frames from the video? 2. How do I incorporate the av_seek_frame to seek based on frame and not time? 3. OR, is there an av_read_frame_NUMBER() function available? Thank You! From nathan.stocks at gmail.com Wed Dec 7 17:50:17 2011 From: nathan.stocks at gmail.com (Nathan) Date: Wed, 7 Dec 2011 09:50:17 -0700 Subject: [FFmpeg-user] Linking help? In-Reply-To: References: Message-ID: On Wed, Dec 7, 2011 at 3:00 AM, Carl Eugen Hoyos wrote: > Nathan gmail.com> writes: > >> I actually did look for it, but --disable-symver doesn't exist in the >> (old) version of FFmpeg I'm targeting for this release (it is FFmpeg >> subversion revision 25864 from last December). > > Please note that apart from being ancient (and missing many useful features), > this version contains several hundred bugs (including regressions) that were > fixed since, some of them security relevant (a known exploit for such old > versions exists). > Please use 0.7.8 (or release/oldabi) if you cannot use current git head due to > the API change. If you find compatibility issues with oldabi / 0.7, we will be > happy to fix them. Understood and agreed. The version I'm updating from is using FFmpeg from 3 years ago. Since I had to learn the project as I went, it was easier to make a release with a 1-year-old FFmpeg first. It shouldn't take very long until I am able to put together the next release, which will (hopefully) target a completely up-to-date version. ~ Nathan From jeffsorrentino at gmail.com Wed Dec 7 17:53:53 2011 From: jeffsorrentino at gmail.com (Jeff Sorrentino) Date: Wed, 7 Dec 2011 10:53:53 -0600 Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) Message-ID: Carl, I got this fixed from your recommendations. My test.mp4 video was simple, but I forgot to account for the audio channels (unused but needed). Here's my compiler FLAGS in case you wanted to know what solved the problem. FLAGS="$FLAGS --disable-everything" FLAGS="$FLAGS --enable-decoder=mpeg4 --enable-decoder=mpegvideo" FLAGS="$FLAGS --enable-decoder=aac --enable-decoder=h264" FLAGS="$FLAGS --enable-parser=aac --enable-parser=mpeg4video" FLAGS="$FLAGS --enable-parser=mpegaudio --enable-parser=mpegvideo" FLAGS="$FLAGS --enable-parser=ac3 --enable-parser=h261" FLAGS="$FLAGS --enable-parser=h264 --enable-parser=vc1" FLAGS="$FLAGS --enable-demuxer=mpegvideo --enable-demuxer=aac" FLAGS="$FLAGS --enable-demuxer=m4v --enable-demuxer=mov" FLAGS="$FLAGS --enable-demuxer=h264 --enable-demuxer=vc1" FLAGS="$FLAGS --enable-muxer=h264 --enable-muxer=mpeg2video" FLAGS="$FLAGS --enable-muxer=mp4 --enable-muxer=mov" FLAGS="$FLAGS --enable-protocol=file" FLAGS="$FLAGS --enable-indev=v4l --enable-indev=v4l2" Thank You for your time. PS. You replied to me "Please don't top post", forgive me if I do it again, not sure what I did wrong. JS From openworld at uralweb.ru Wed Dec 7 18:21:12 2011 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Wed, 7 Dec 2011 23:21:12 +0600 Subject: [FFmpeg-user] A problem with file encoding (possible bug) References: Message-ID: <001e01ccb504$b90438a0$0300a8c0@mainframe> Hi, All, Here is the FLV file sample: http://home.bokovikov.com/ffmpeg/test.flv Here is the command line for FFMPEG ================><8================ ./ffmpeg -i test.flv -f ipod -vcodec libx264 -vprofile baseline -level 30 -maxrate 10000000 -bufsize 10000000 -acodec copy -threads 0 -y test.m4v ================><8================ Here is the FFMPEG output ================><8================ Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x432 [SAR 1:1 DAR 5:3], q=-1--1, 1 tbn, 0.08 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 131 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [libx264 @ 0x81ce20] VBV buffer size cannot be smaller than one frame, using 119999 kbit frame= 6 fps= 2 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s dup=0 drop=1238 frame= 7 fps= 2 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s dup=0 drop=1487 frame= 7 fps= 2 q=-1.0 Lsize= 1109kB time=00:01:01.47 bitrate= 147.8kbits/s dup=0 drop=1531 video:122kB audio:959kB global headers:0kB muxing overhead 2.553527% [libx264 @ 0x81ce20] frame I:4 Avg QP: 9.44 size: 23737 [libx264 @ 0x81ce20] frame P:3 Avg QP: 8.35 size: 9727 [libx264 @ 0x81ce20] mb I I16..4: 51.6% 0.0% 48.4% [libx264 @ 0x81ce20] mb P I16..4: 46.7% 0.0% 17.6% P16..4: 12.4% 1.6% 0.7% 0.0% 0.0% skip:21.0% [libx264 @ 0x81ce20] coded y,uvDC,uvAC intra: 47.0% 62.6% 48.6% inter: 7.9% 32.6% 11.0% [libx264 @ 0x81ce20] i16 v,h,dc,p: 70% 16% 9% 5% [libx264 @ 0x81ce20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 30% 13% 5% 5% 5% 6% 4% 8% [libx264 @ 0x81ce20] i8c dc,h,v,p: 54% 23% 17% 7% [libx264 @ 0x81ce20] kb/s:11.82 ================><8================ Looks like an error occurs in the very first frame, whose size is obtained incorrectly. FLV looks OK in all viewers I have on my Mac. Both QuickTime and VLC play it correctly. Moreover, I've tried to cut-off the initial portion up to the second keyframe and result is encoded correctly. This proves that the problem is covered in the very first frame decoding. I used last stable snapshot to build libx264 and last FFMPEG snapshot. Can anybody help here? Thanks. From kratsg at gmail.com Wed Dec 7 12:30:33 2011 From: kratsg at gmail.com (Giordon Stark) Date: Wed, 07 Dec 2011 03:30:33 -0800 Subject: [FFmpeg-user] Can't convert WMV to FLV (no sound needed) Message-ID: <4EDF4E59.5030309@gmail.com> Terminal Output below. File is a .wmv generated from Logitech Webcam Pro video capturing. ffmpeg outputs a blank flv video file. The input file is about 3-4 seconds long. I've also tried all variations from googling such as -vcodec flags and stuff. Seems like something's missing. Thanks! ~G C:\ >ffmpeg -i "Motion 9.wmv" Motion9.flv ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 5 2011 14:28:46 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. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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: 1000.00 (1000 /1) -> 0.08 (1/12) Input #0, asf, from 'Motion 9.wmv': Metadata: WMFSDKVersion : 12.0.7600.16385 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 1706 Buffer Average : 200 BadgeData : self Duration: 00:00:03.60, start: 0.000000, bitrate: 4842 kb/s Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 800x600, 2421 kb/s, 0 .08 tbr, 1k tbn, 1k tbc [buffer @ 0000000001C20640] w:800 h:600 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_ param: Output #0, flv, to 'Motion9.flv': Metadata: WMFSDKVersion : 12.0.7600.16385 WMFSDKNeeded : 0.0.0.0000 IsVBR : 1 VBR Peak : 1706 Buffer Average : 200 BadgeData : self encoder : Lavf53.24.0 Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 800x600, q=2-31, 200 kb/s, 1k tbn, 0.08 tbc Stream mapping: Stream #0:0 -> #0:0 (wmv2 -> flv) Press [q] to stop, [?] for help frame= 1 fps= 0 q=5.9 Lsize= 35kB time=00:00:12.00 bitrate= 24.2kbits/ s dup=0 drop=106 video:35kB audio:0kB global headers:0kB muxing overhead 1.499874% From lou at lrcd.com Wed Dec 7 19:18:51 2011 From: lou at lrcd.com (Lou) Date: Wed, 7 Dec 2011 09:18:51 -0900 Subject: [FFmpeg-user] file for preset 'iphone' not found In-Reply-To: References: Message-ID: <20111207091851.5d494e5a@lrcd.com> On Wed, 7 Dec 2011 18:35:46 +0700 aris sirajawali wrote: > I try to encode video for iphone with this command > > ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 480x272 -aspect > 16:9 -r 24 -vcodec libx264 -pass 2 -b 448k -maxrate 752k -bufsize > 1504k -g 24 -vpre iphone -f mp4 -acodec libfaac -ac 2 -ar 44100 -ab > 96k 01-iPhone.mp4 > > but why this error occurs as *files for 'iphone' not found*. > what causes a message like the above? > Please fellow friends can help me > thank you Current iPod presets are "ipod320" and "ipod640". From coniophora at gmail.com Wed Dec 7 23:24:08 2011 From: coniophora at gmail.com (Jim Worrall) Date: Wed, 7 Dec 2011 15:24:08 -0700 Subject: [FFmpeg-user] smarter scaling filter Message-ID: I've been trying to find or write a script/filtergraph that will take a target frame size and automatically scale down the input video (maintaining aspect ratio) if needed to fit the frame, and leave it the same if it is already the size or smaller than the frame. I'm in a bit over my head and hoping for some pointers. I'm starting with a very clever set of calculations that Francesco Turco posted here 12 June 2011. One side of each plus sign will always evaluate to 0 (escapes removed for clarity; his target frame size was 720x576): -vf scale = ' gte(iw/ih,720/576)*720 + lt(iw/ih,720/576)*((576*iw)/ih) : lte(iw/ih,720/576)*576 + gt(iw/ih,720/576)*((720*ih)/iw) ' He thought it was too long, but still seems a great approach. The problem for me is it will upscale too, which seems undesirable if the device doesn't require an exact size. So I'm trying to add some logic to keep the input scale if both iw and ih are the size of or smaller than the frame. While I'm at it, I'm hoping to use some variables from the script for the frame size. The bash script asks for the target device (just iPhone 3 or iPhone4 now) and sets device-specific values for the maximum frame width ($FW) and height ($FH) and the corresponding aspect ratio ($FA). The filter also seems to need some stored variables within ffmpeg, but I've only found one example of their real use on the web and couldn't make much sense out of it. I can't figure how st(var,expr) is supposed to be incorporated into the filter, since it can't seem to go before it. And there's a while(cond,expr) I don't know where to put either. Here's an idea what I'm trying to do, and I think it is a long way from working. The st(0,expr) that I put in the beginning (not knowing where it goes) stores 0 if both dimensions fit in the target frame. I'm not sure if I can use a script variable inside a filter, hope so. Anyway, the while statement is supposed to convert var 0 to 1 if it is not 0. The rest is just an add-on to Francesco's filter that should specify the input dimensions if var 0 is 0. -vf = "st(0,gt(iw,$FW)+gt(ih,$FH)) ; while(ld(0),st(0,1) ; scale= ld(0) * ( gte(a,$FA)*$FW + lt(a,$FA)*(($FH*iw)/ih) ) + eq(0,ld(0))*iw : ld(0) * ( lte(a,$FA)*$FH + gt(a,$FA)*(($FW*ih)/iw) ) + eq(0,ld(0))*ih " In case it matters, I'm a user/hobbyist. Any tips will be appreciated. Thanks, Jim From lou at lrcd.com Wed Dec 7 23:34:09 2011 From: lou at lrcd.com (Lou) Date: Wed, 7 Dec 2011 13:34:09 -0900 Subject: [FFmpeg-user] Can't convert WMV to FLV (no sound needed) In-Reply-To: <4EDF4E59.5030309@gmail.com> References: <4EDF4E59.5030309@gmail.com> Message-ID: <20111207133409.1b15585b@lrcd.com> On Wed, 07 Dec 2011 03:30:33 -0800 Giordon Stark wrote: > Terminal Output below. > > File is a .wmv generated from Logitech Webcam Pro video capturing. > ffmpeg outputs a blank flv video file. The input file is about 3-4 > seconds long. I've also tried all variations from googling such as > -vcodec flags and stuff. Seems like something's missing. > > Thanks! > > ~G Does ffplay or anything else play the input as expected? Can you upload the input somewhere (datafilehost, mediafire, your own server, etc.)? By "blank" do you mean just all black video? Does a different output format also create a blank output? ffmpeg -i input.wmv out.mpg > C:\ >ffmpeg -i "Motion 9.wmv" Motion9.flv > ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg > developers > built on Dec 5 2011 14:28:46 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. 30. 0 / 51. 30. 0 > libavcodec 53. 40. 0 / 53. 40. 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: > 1000.00 (1000 > /1) -> 0.08 (1/12) > Input #0, asf, from 'Motion 9.wmv': > Metadata: > WMFSDKVersion : 12.0.7600.16385 > WMFSDKNeeded : 0.0.0.0000 > IsVBR : 1 > VBR Peak : 1706 > Buffer Average : 200 > BadgeData : > > > > self > > ^ What is this stuff? From cehoyos at ag.or.at Thu Dec 8 01:50:39 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 00:50:39 +0000 (UTC) Subject: [FFmpeg-user] Can't convert WMV to FLV (no sound needed) References: <4EDF4E59.5030309@gmail.com> Message-ID: Giordon Stark gmail.com> writes: > C:\ >ffmpeg -i "Motion 9.wmv" Motion9.flv > frame= 1 fps= 0 q=5.9 Lsize= 35kB time=00:00:12.00 bitrate= > 24.2kbits/s dup=0 drop=106 Please try -vsync 0 or another container. If this does not help, please provide a sample. Carl Eugen From cehoyos at ag.or.at Thu Dec 8 01:52:21 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 00:52:21 +0000 (UTC) Subject: [FFmpeg-user] h264+mpegts encode problem, frame size too big References: Message-ID: sheng gui gmail.com> writes: > But there are some encode frame size bigger than 65535, which is the > decoder's max PES buffer size. and the decoder can not decode the frame. > > As some I frame's packet->size > 65536, and frame missed and video > freeze. > > Is there any parameters to make sure the frame size smaller than 65535? Command line and complete, uncut console output missing. Can you also reproduce the problem with an internal encoder (like mpeg4)? Carl Eugen From cehoyos at ag.or.at Thu Dec 8 01:58:54 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 00:58:54 +0000 (UTC) Subject: [FFmpeg-user] FFMPEG Build FLAGS help for MP4 (Mpeg4Video) References: Message-ID: Jeff Sorrentino gmail.com> writes: > FLAGS="$FLAGS --disable-everything" > FLAGS="$FLAGS --enable-decoder=mpeg4 --enable-decoder=mpegvideo" > FLAGS="$FLAGS --enable-decoder=aac --enable-decoder=h264" > FLAGS="$FLAGS --enable-parser=aac --enable-parser=mpeg4video" > FLAGS="$FLAGS --enable-parser=mpegaudio --enable-parser=mpegvideo" > FLAGS="$FLAGS --enable-parser=ac3 --enable-parser=h261" > FLAGS="$FLAGS --enable-parser=h264 --enable-parser=vc1" > FLAGS="$FLAGS --enable-demuxer=mpegvideo --enable-demuxer=aac" > FLAGS="$FLAGS --enable-demuxer=m4v --enable-demuxer=mov" > FLAGS="$FLAGS --enable-demuxer=h264 --enable-demuxer=vc1" > FLAGS="$FLAGS --enable-muxer=h264 --enable-muxer=mpeg2video" > FLAGS="$FLAGS --enable-muxer=mp4 --enable-muxer=mov" > FLAGS="$FLAGS --enable-protocol=file" > FLAGS="$FLAGS --enable-indev=v4l --enable-indev=v4l2" Just to make sure I understand you correctly: Your mp4 files contain h264, mpeg4 ASP, MPEG 1 Video, MPEG 2 Video, H261 and VC1? And they need video4linux (both versions)? Note that "m4v", "mov" and "mp4" are redundant (one is sufficient). The syntax allows to specify --enable-decoder=h264,aac (etc.) The h264 demuxer is only needed if you want to demux raw h264 (non-mp4) streams. Carl Eugen From cehoyos at ag.or.at Thu Dec 8 02:03:46 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 01:03:46 +0000 (UTC) Subject: [FFmpeg-user] A problem with file encoding (possible bug) References: <001e01ccb504$b90438a0$0300a8c0@mainframe> Message-ID: Alexander Bokovikov uralweb.ru> writes: > Here is the FLV file sample: > http://home.bokovikov.com/ffmpeg/test.flv Apart from the command line, complete, uncut console output is mandatory, and an explanation what is wrong with the output file (assuming there is one). -r 25 might fix your problem. Please do not high-jack threads, it is considered highly rude, Carl Eugen From cehoyos at ag.or.at Thu Dec 8 02:06:36 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 01:06:36 +0000 (UTC) Subject: [FFmpeg-user] FFmpeg issues with MP4? References: <37cbe89e21505d466ea2c24c93323226@htbindustries.org> Message-ID: Erik Lat htbindustries.org> writes: > I am using FFmpeg version 0.6.3-rpmfusion, on Fedora 14, but have also This is very old and outdated, you should try hard not to use it! > tried with FFmpeg version 0.7.8 on Gentoo with the same result. This is much better if you cannot use current git head. I may misunderstand what you are trying to do, but generally, you cannot begin decoding when reading the beginning of a mp4 file (you often have to seek to the end before decoding can start). Carl Eugen From cehoyos at ag.or.at Thu Dec 8 02:12:32 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 01:12:32 +0000 (UTC) Subject: [FFmpeg-user] Linking help? References: Message-ID: Hi! Since the message did not seem to arrive, allow me to repeat: 0.7.8 should work exactly as the version you are using (same API) - if it does not, there is a high chance that you will get support from FFmpeg developers - but it is not affected by a known security issue that is exploitable! (IANAL, but I strongly believe that in Europe, you would not be able to plead to "there is no warranty" in this case if somebody complains.) Carl Eugen From guisheng315 at gmail.com Thu Dec 8 03:33:11 2011 From: guisheng315 at gmail.com (sheng gui) Date: Thu, 8 Dec 2011 10:33:11 +0800 Subject: [FFmpeg-user] h264+mpegts encode problem, frame size too big In-Reply-To: References: Message-ID: command line ffmpeg -i 00.ts -f mpegts -s 720x576 -acodec mp2 -ac 2 -ar 48000 -ab 128000 -vcodec libx264 -coder 1 -g 25 -bf 2 -partitions +parti8x8+partp8x8+partb8x8 -me_method umh -subq 0 -me_range 16 -r 25.0 -threads 0 -flags +loop+ildct -top 0 -rc_strategy 2 -b_strategy 0 -directpred 1 -chromaoffset -1 -sc_threshold 0 -flags2 +fastpskip-dct8x8+wpred+aud -cmp chroma -deblockalpha -1 -deblockbeta -1 -qdiff 8 -qmax 69 -qmin 2 -qcomp 0.67 -i_qfactor 0.6 -b_qfactor 1.5 -refs 3 -minrate 2000000 -maxrate 2000000 -bufsize 2000000 -vsync 1 -async 1 -vb 2000000 -level 30 -rc_lookahead 250 -y 11.ts output Input #0, mpegts, from '00.ts': Duration: 00:18:26.55, start: 26213.841756, bitrate: 2372 kb/s Program 4 Stream #0.0[0x120]: Video: h264 (Main), yuvj420p, 720x576 [PAR 16:15 DAR 4:3], 28.40 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x131]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s [buffer @ 0x9f1fca0] w:720 h:576 pixfmt:yuvj420p [scale @ 0x9f3ffc0] w:720 h:576 fmt:yuvj420p colorspace:BT709 -> w:720 h:576 fmt:yuvj420p colorspace:BT709 flags:0x4 [libx264 @ 0x9f1e3e0] using SAR=16/15 [libx264 @ 0x9f1e3e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x9f1e3e0] profile Main, level 3.0 [mpegts @ 0x9f1d260] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to '11.ts': Stream #0.0: Video: libx264, yuvj420p, 720x576 [PAR 16:15 DAR 4:3], q=2-69, 2000 kb/s, 90k tbn, 25 tbc Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 91 fps= 33 q=13667017.8 Lsize= 1055kB time=1.73 bitrate=5001.1kbits/s date=Thu Dec 8 10:31:09 2011 dup=50 drop=0 video:929kB audio:27kB global headers:0kB muxing overhead 10.293651% frame I:4 Avg QP: 6.91 size: 46879 [libx264 @ 0x9f1e3e0] frame P:29 Avg QP:11.05 size: 12865 [libx264 @ 0x9f1e3e0] frame B:58 Avg QP:14.22 size: 6744 [libx264 @ 0x9f1e3e0] consecutive B-frames: 4.4% 0.0% 95.6% [libx264 @ 0x9f1e3e0] mb I I16..4: 60.1% 0.0% 39.9% [libx264 @ 0x9f1e3e0] mb P I16..4: 12.4% 0.0% 0.0% P16..4: 12.3% 8.1% 6.5% 0.0% 0.0% skip:60.6% [libx264 @ 0x9f1e3e0] mb B I16..4: 0.6% 0.0% 0.0% B16..8: 12.0% 6.2% 1.1% direct: 5.7% skip:74.4% L0:44.4% L1:42.9% BI:12.8% [libx264 @ 0x9f1e3e0] field mbs: intra: 100.0% inter:100.0% skip:100.0% [libx264 @ 0x9f1e3e0] coded y,uvDC,uvAC intra: 52.1% 67.8% 45.8% inter: 9.3% 13.4% 2.0% [libx264 @ 0x9f1e3e0] i16 v,h,dc,p: 53% 24% 16% 8% [libx264 @ 0x9f1e3e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 36% 17% 5% 6% 3% 9% 2% 10% [libx264 @ 0x9f1e3e0] i8c dc,h,v,p: 49% 27% 16% 8% [libx264 @ 0x9f1e3e0] ref P L0: 50.5% 33.8% 7.4% 5.2% 1.6% 1.5% [libx264 @ 0x9f1e3e0] ref B L0: 60.1% 34.1% 3.3% 2.5% [libx264 @ 0x9f1e3e0] ref B L1: 63.2% 36.8% [libx264 @ 0x9f1e3e0] kb/s:2091.83 2011/12/8 Carl Eugen Hoyos > sheng gui gmail.com> writes: > > > But there are some encode frame size bigger than 65535, which is the > > decoder's max PES buffer size. and the decoder can not decode the frame. > > > > As some I frame's packet->size > 65536, and frame missed and video > > freeze. > > > > Is there any parameters to make sure the frame size smaller than 65535? > > Command line and complete, uncut console output missing. > > Can you also reproduce the problem with an internal encoder (like mpeg4)? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From ron.novy at yahoo.com Thu Dec 8 05:02:29 2011 From: ron.novy at yahoo.com (Ron Novy) Date: Wed, 7 Dec 2011 20:02:29 -0800 (PST) Subject: [FFmpeg-user] Split convert MOV files to left and right wav files. Message-ID: <1323316949.97791.YahooMailNeo@web120603.mail.ne1.yahoo.com> Hello, my name is Ron.? I'm new to FFmpeg and the mailing list and I've been having a little trouble.? I've been trying to split audio out of some MOV files using the latest windows version of FFmpeg.exe, but it is not working.? Can someone tell me if I'm doing something wrong or if it's a bug or something that just isn't implemented? It works with WAV files like this... ffmpeg -i "0001f3.wav" -map_channel 0.0.0 "0001f3-0.wav" -map_channel 0.0.1 "0001f3-1.wav" But when I use a MOV file instead I get two stereo wav files where the left and right input were mixed together into both channels (also tried with -ac 1 but that just mixed both channels into one). ffmpeg -i "0001f3.mov" -map_channel 0.1.0 "0001f3-0.wav" -map_channel 0.1.1 "0001f3-1.wav" ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers ? built on Dec? 5 2011 14:22:27 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. 30. 0 / 51. 30. 0 ? libavcodec?? 53. 40. 0 / 53. 40. 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, mov,mp4,m4a,3gp,3g2,mj2, from '0001f3.mov': ? Metadata: ??? major_brand???? : qt ??? minor_version?? : 512 ??? compatible_brands: qt ??? creation_time?? : 1970-01-01 00:00:00 ??? encoder???????? : Lavf52.78.5 ? Duration: 00:00:05.60, start: 0.000000, bitrate: 2605 kb/s ??? Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yu v420p, 320x240 [SAR 1:1 DAR 4:3], 1184 kb/s, 25 fps, 25 tbr, 250k tbn, 50 tbc ??? Metadata: ????? creation_time?? : 1970-01-01 00:00:00 ????? handler_name??? : ?DataHandler ??? Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels , s16, 1536 kb/s ??? Metadata: ????? creation_time?? : 1970-01-01 00:00:00 ????? handler_name??? : ?DataHandler Output #0, wav, to '0001f3-0.wav': ? Metadata: ??? major_brand???? : qt ??? minor_version?? : 512 ??? compatible_brands: qt ??? creation_time?? : 1970-01-01 00:00:00 ??? encoder???????? : Lavf53.24.0 ??? Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 chan nels, s16, 1536 kb/s ??? Metadata: ????? creation_time?? : 1970-01-01 00:00:00 ????? handler_name??? : ?DataHandler Output #1, wav, to '0001f3-1.wav': ? Metadata: ??? major_brand???? : qt ??? minor_version?? : 512 ??? compatible_brands: qt ??? creation_time?? : 1970-01-01 00:00:00 ??? encoder???????? : Lavf53.24.0 ??? Stream #1:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 chan nels, s16, 1536 kb/s ??? Metadata: ????? creation_time?? : 1970-01-01 00:00:00 ????? handler_name??? : ?DataHandler Stream mapping: ? Stream #0:1 -> #0:0 (pcm_s16le -> pcm_s16le) ? Stream #0:1 -> #1:0 (pcm_s16le -> pcm_s16le) Press [q] to stop, [?] for help size=??? 1050kB time=00:00:05.60 bitrate=1536.1kbits/s video:0kB audio:2100kB global headers:0kB muxing overhead -49.997861% From mark at mdsh.com Thu Dec 8 09:23:24 2011 From: mark at mdsh.com (Mark Himsley) Date: Thu, 08 Dec 2011 08:23:24 +0000 Subject: [FFmpeg-user] Rendering video in reverse. In-Reply-To: References: Message-ID: <4EE073FC.2010000@mdsh.com> On 07/12/2011 16:47, Jeff Sorrentino wrote: > I have a short project where I would like to reverse video play. Reverse decoding is really hard in long GOP encoded video. As a quick solution for video only with FFmpeg and a short script, you could export all frames to images, renumber the images to the reverse order (being careful to avoid file name collisions) and then re-encode from the renumbered files. Sorry, didn't really answer your question. -- Mark From 13760746839 at 163.com Thu Dec 8 10:37:39 2011 From: 13760746839 at 163.com (=?GBK?B?0KSyqA==?=) Date: Thu, 8 Dec 2011 17:37:39 +0800 (CST) Subject: [FFmpeg-user] Decode problem with mpeg-1 audio in MXF In-Reply-To: <4EE073FC.2010000@mdsh.com> References: <4EE073FC.2010000@mdsh.com> Message-ID: <3ddea7d0.25365.1341d090b87.Coremail.13760746839@163.com> Recently I'm do some test on ffmpeg decoding,and I think I may found a bug in the latest windows version(it didn't exist in quite old versions). My test file is in MXF(op-1a) format,with video in mpeg-2 and audio in mpeg-1. After avcodec_find_decoder(), I found my first audio stream's codec-id is CODEC_ID_MPEG2VIDEO,and when call avcodec_open(), it failed! When decode with ffplay,it resulted errors:"[mpeg2video @ 03259E20] codec type or id mismatches" I tested the file with an old version ffmpeg (published at year 2007),it doesn't have this problem. I have uploaded the sample file to the following position,anybody interested please download it http://www.datafilehost.com/download-c570856f.html From de.techno at gmail.com Thu Dec 8 10:50:49 2011 From: de.techno at gmail.com (dE .) Date: Thu, 08 Dec 2011 15:20:49 +0530 Subject: [FFmpeg-user] Can't convert WMV to FLV (no sound needed) In-Reply-To: <4EDF4E59.5030309@gmail.com> References: <4EDF4E59.5030309@gmail.com> Message-ID: <4EE08879.9080308@gmail.com> On 12/07/11 17:00, Giordon Stark wrote: > Terminal Output below. > > File is a .wmv generated from Logitech Webcam Pro video capturing. > ffmpeg outputs a blank flv video file. The input file is about 3-4 > seconds long. I've also tried all variations from googling such as > -vcodec flags and stuff. Seems like something's missing. > > Thanks! > > ~G > > C:\ >ffmpeg -i "Motion 9.wmv" Motion9.flv > ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg > developers > built on Dec 5 2011 14:28:46 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. 30. 0 / 51. 30. 0 > libavcodec 53. 40. 0 / 53. 40. 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: > 1000.00 (1000 > /1) -> 0.08 (1/12) > Input #0, asf, from 'Motion 9.wmv': > Metadata: > WMFSDKVersion : 12.0.7600.16385 > WMFSDKNeeded : 0.0.0.0000 > IsVBR : 1 > VBR Peak : 1706 > Buffer Average : 200 > BadgeData : > > > > self > > > > Duration: 00:00:03.60, start: 0.000000, bitrate: 4842 kb/s > Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 800x600, > 2421 kb/s, 0 > .08 tbr, 1k tbn, 1k tbc > [buffer @ 0000000001C20640] w:800 h:600 pixfmt:yuv420p tb:1/1000000 > sar:0/1 sws_ > param: > Output #0, flv, to 'Motion9.flv': > Metadata: > WMFSDKVersion : 12.0.7600.16385 > WMFSDKNeeded : 0.0.0.0000 > IsVBR : 1 > VBR Peak : 1706 > Buffer Average : 200 > BadgeData : > > > > self > > > > encoder : Lavf53.24.0 > Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, > 800x600, q=2-31, > 200 kb/s, 1k tbn, 0.08 tbc > Stream mapping: > Stream #0:0 -> #0:0 (wmv2 -> flv) > Press [q] to stop, [?] for help > frame= 1 fps= 0 q=5.9 Lsize= 35kB time=00:00:12.00 bitrate= > 24.2kbits/ > s dup=0 drop=106 > video:35kB audio:0kB global headers:0kB muxing overhead 1.499874% > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Sounds like logitech generates some Windows propitiatory crap designed for 'Windows 7' and meant to be played on WMP. From 13760746839 at 163.com Thu Dec 8 11:18:47 2011 From: 13760746839 at 163.com (=?GBK?B?0KSyqA==?=) Date: Thu, 8 Dec 2011 18:18:47 +0800 (CST) Subject: [FFmpeg-user] Decode problem with mpeg-1 audio in MXF In-Reply-To: <3ddea7d0.25365.1341d090b87.Coremail.13760746839@163.com> References: <3ddea7d0.25365.1341d090b87.Coremail.13760746839@163.com> <4EE073FC.2010000@mdsh.com> Message-ID: <468650d.25e57.1341d2eb452.Coremail.13760746839@163.com> At 2011-12-08 17:37:39,"??" <13760746839 at 163.com> wrote: >Recently I'm do some test on ffmpeg decoding,and I think I may found a bug in the latest windows version(it didn't exist in quite old versions). > >My test file is in MXF(op-1a) format,with video in mpeg-2 and audio in mpeg-1. > >After avcodec_find_decoder(), I found my first audio stream's codec-id is CODEC_ID_MPEG2VIDEO,and when call avcodec_open(), it failed! > >When decode with ffplay,it resulted errors:"[mpeg2video @ 03259E20] codec type or id mismatches" > >I tested the file with an old version ffmpeg (published at year 2007),it doesn't have this problem. > >I have uploaded the sample file to the following position,anybody interested please download it > >http://www.datafilehost.com/download-c570856f.html > > > > > > > > > > > > >_______________________________________________ >ffmpeg-user mailing list >ffmpeg-user at ffmpeg.org >http://ffmpeg.org/mailman/listinfo/ffmpeg-user Sorry, the sample file link is: http://www.datafilehost.com/download-cc81204d.html From bartomas at gmail.com Thu Dec 8 12:11:09 2011 From: bartomas at gmail.com (bartom) Date: Thu, 8 Dec 2011 03:11:09 -0800 (PST) Subject: [FFmpeg-user] Problem streaming mjpeg as UDP In-Reply-To: References: <1323190711083-4165527.post@n4.nabble.com> Message-ID: <1323342669682-4172289.post@n4.nabble.com> Thanks very much for your reply. I added the -f mjpeg you suggest and it now works fine with the command: ffmpeg -i /PathToVideo/sample.avi -vcodec mjpeg -f mjpeg udp://127.0.0.1:1234 Thanks again. Best wishes -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Problem-streaming-mjpeg-as-UDP-tp4165527p4172289.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From bartomas at gmail.com Thu Dec 8 12:23:02 2011 From: bartomas at gmail.com (bartom) Date: Thu, 8 Dec 2011 03:23:02 -0800 (PST) Subject: [FFmpeg-user] Problem streaming mjpeg as UDP In-Reply-To: <1323342669682-4172289.post@n4.nabble.com> References: <1323190711083-4165527.post@n4.nabble.com> <1323342669682-4172289.post@n4.nabble.com> Message-ID: <1323343382050-4172327.post@n4.nabble.com> BTW in the previous command: ffmpeg -i /PathToVideo/sample.avi -vcodec mjpeg -f mjpeg udp://127.0.0.1:1234 is the option -vcodec mjpeg unnecessary?, because it works without it. (sorry, I'm newbie) -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Problem-streaming-mjpeg-as-UDP-tp4165527p4172327.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From tim.nicholson at bbc.co.uk Thu Dec 8 13:08:11 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 08 Dec 2011 12:08:11 +0000 Subject: [FFmpeg-user] Split convert MOV files to left and right wav files. In-Reply-To: <1323316949.97791.YahooMailNeo@web120603.mail.ne1.yahoo.com> References: <1323316949.97791.YahooMailNeo@web120603.mail.ne1.yahoo.com> Message-ID: <4EE0A8AB.2060401@bbc.co.uk> On 08/12/11 04:02, Ron Novy wrote: > > > Hello, my name is Ron. I'm new to FFmpeg and the mailing list and I've been having a little trouble. I've been trying to split audio out of some MOV files using the latest windows version of FFmpeg.exe, but it is not working. Can someone tell me if I'm doing something wrong or if it's a bug or something that just isn't implemented? > > > It works with WAV files like this... > ffmpeg -i "0001f3.wav" -map_channel 0.0.0 "0001f3-0.wav" -map_channel 0.0.1 "0001f3-1.wav" > > > But when I use a MOV file instead I get two stereo wav files where the left and right input were mixed together into both channels (also tried with -ac 1 but that just mixed both channels into one). > ffmpeg -i "0001f3.mov" -map_channel 0.1.0 "0001f3-0.wav" -map_channel 0.1.1 "0001f3-1.wav" > Hmmm I think you need the -ac 1 to get a mono wav otherwise you will get stereo as indicated by:- > > [...] > Output #0, wav, to '0001f3-0.wav': > Metadata: > major_brand : qt > minor_version : 512 > compatible_brands: qt > creation_time : 1970-01-01 00:00:00 > encoder : Lavf53.24.0 > Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 chan > nels, s16, 1536 kb/s > However I agree that what you seem to get is a mono mix of both channels instead of the expected. As a work around you could try:- ffmpeg -i "0001f3.mov" "stereo.wav" followed by ffmpeg -i "stereo.wav" -map_channel 0.1.0 -ac1 "0001f3-0.wav" -map_channel 0.1.1 -ac 1 "0001f3-1.wav" -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From nicolas.george at normalesup.org Thu Dec 8 13:17:13 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Thu, 8 Dec 2011 13:17:13 +0100 Subject: [FFmpeg-user] parser not found for codec pcm_s16le, packets or times may be invalid. In-Reply-To: <4ECD39C5.6090404@das-werkstatt.com> References: <4ECB93E5.8060907@das-werkstatt.com> <20111123161929.GA26105@phare.normalesup.org> <4ECD39C5.6090404@das-werkstatt.com> Message-ID: <20111208121713.GA534@phare.normalesup.org> Le tridi 3 frimaire, an CCXX, Peter B. a ?crit?: > If packets or timing "may" be invalid, is there any way for me to check > this? If it seems to work, they probably are correct. > What is this parser checking for? Multiple frames in a single packet or a frame split over several packets is a common use case I believe. > But you know how it is: > If you're used to ignoring warnings, you'll ignore other warnings in the > future, too... ;) > Wouldn't that defeat the purpose of the warnings in the first place? Indeed. I just submitted a change to lower the log level of this warning. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From nicolas.george at normalesup.org Thu Dec 8 13:18:54 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Thu, 8 Dec 2011 13:18:54 +0100 Subject: [FFmpeg-user] parser not found for codec wmav2 In-Reply-To: References: Message-ID: <20111208121854.GB534@phare.normalesup.org> Le quintidi 15 frimaire, an CCXX, hazer a ?crit?: > I am getting a warning when i run the below command. > > Warning: *[asf @ 01C787A0] parser not found for codec wmav2, packets or > times may be inval* Unless there is something else wrong, this is certainly just a false alarm by this warning. A patch of me lowering its visibility has just been applied. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From pb at das-werkstatt.com Thu Dec 8 13:35:16 2011 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 08 Dec 2011 13:35:16 +0100 Subject: [FFmpeg-user] parser not found for codec pcm_s16le, packets or times may be invalid. In-Reply-To: <20111208121713.GA534@phare.normalesup.org> References: <4ECB93E5.8060907@das-werkstatt.com> <20111123161929.GA26105@phare.normalesup.org> <4ECD39C5.6090404@das-werkstatt.com> <20111208121713.GA534@phare.normalesup.org> Message-ID: <4EE0AF04.1020502@das-werkstatt.com> Nicolas George wrote: >> But you know how it is: >> If you're used to ignoring warnings, you'll ignore other warnings in the >> future, too... ;) >> Wouldn't that defeat the purpose of the warnings in the first place? >> > > Indeed. I just submitted a change to lower the log level of this warning. > Thank you! Regards, Peter From openworld at uralweb.ru Thu Dec 8 16:55:54 2011 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Thu, 8 Dec 2011 20:55:54 +0500 Subject: [FFmpeg-user] A problem with file encoding (possible bug) In-Reply-To: References: <001e01ccb504$b90438a0$0300a8c0@mainframe> Message-ID: <1F2CF9EB-6AD7-4128-ADC9-BB2444FAD3D4@uralweb.ru> On 08.12.2011, at 6:03, Carl Eugen Hoyos wrote: > Alexander Bokovikov uralweb.ru> writes: > >> Here is the FLV file sample: >> http://home.bokovikov.com/ffmpeg/test.flv > > Apart from the command line, complete, uncut console output is > mandatory, and an > explanation what is wrong with the output file (assuming there is > one). What is wrong? This is what is wrong, and I've posted it: frame= 6 fps= 2 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/ s dup=0 drop=1238 frame= 7 fps= 2 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/ s dup=0 drop=1487 frame= 7 fps= 2 q=-1.0 L size= 1109kB time=00:01:01.47 bitrate= 147.8kbits/s dup=0 drop=1531 It drops a lot of video frames, leaving only few (two or three). And I believe it occurs in the decoder, not in the encoder. If it can help, I'm posting the full output at the bottom of this message. > -r 25 might fix your problem. Really it does, but now the question is how to define the source frame rate? Or should I always encode with 25 fps? What had you in mind exactly? I've supposed that FLV decoder gets incorrect frame rate from the container, therefore I've parsed FLV structure for some first video/ audio blocks for both "valid" and "invalid" files. "Invalid" means that file which requires -r 25 explicit parameter to work. "Valid" file works without this parameter. Valid file is a portion of the "invalid" one from the second keyframe up to the end of file. You can see both listings at the end of this message. Here a links: "Invalid" FLV file: http://home.bokovikov.com/ffmpeg/test.flv Invalid result is here: http://home.bokovikov.com/ffmpeg/test.m4v Valid version is here http://home.bokovikov.com/ffmpeg/test2.flv Valid result is here: http://home.bokovikov.com/ffmpeg/test2.m4v > Please do not high-jack threads, it is considered highly rude When I did it? Or is this just your signature?... Thanks. Here is the whole output without -r 25 (when error exists): ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 7 2011 17:25:26 with gcc 4.0.1 (Apple Inc. build 5493) configuration: --enable-static --enable-memalign-hack --enable-gpl --enable-libx264 --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=aac --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 libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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: 50.00 (50/1) -> 0.08 (1/12) Input #0, flv, from 'test.flv': Metadata: totalduration : 61 starttime : 0 lastkeyframetimestamp: 60 lasttimestamp : 61 canseekontime : true canseektoend : true hasvideo : true hasaudio : true datasize : 630 bytelength : 7271438 author : copyright : title : rating : metadatacreator : Duration: 00:01:01.49, start: 0.006000, bitrate: 945 kb/s Stream #0:0: Video: h264 (Baseline), yuv420p, 720x432 [SAR 1:1 DAR 5:3], 819 kb/s, 0.08 tbr, 1k tbn, 50 tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 131 kb/s [buffer @ 0x601520] w:720 h:432 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [libx264 @ 0x81ce20] using SAR=1/1 [libx264 @ 0x81ce20] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x81ce20] VBV buffer size cannot be smaller than one frame, using 119999 kbit [libx264 @ 0x81ce20] profile Constrained Baseline, level 3.0 [libx264 @ 0x81ce20] 264 - core 119 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 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=0 weightp=0 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=10000 vbv_bufsize=119999 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.00 Output #0, ipod, to 'test.m4v': Metadata: totalduration : 61 starttime : 0 lastkeyframetimestamp: 60 lasttimestamp : 61 canseekontime : true canseektoend : true hasvideo : true hasaudio : true datasize : 630 bytelength : 7271438 author : copyright : title : rating : metadatacreator : encoder : Lavf53.24.0 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x432 [SAR 1:1 DAR 5:3], q=-1--1, 1 tbn, 0.08 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 131 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [libx264 @ 0x81ce20] VBV buffer size cannot be smaller than one frame, using 119999 kbit frame= 6 fps= 2 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s dup=0 drop=1207 frame= 6 fps= 2 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s dup=0 drop=1448 frame= 7 fps= 2 q=-1.0 Lsize= 1109kB time=00:01:01.47 bitrate= 147.8kbits/s dup=0 drop=1531 video:122kB audio:959kB global headers:0kB muxing overhead 2.553527% [libx264 @ 0x81ce20] frame I:4 Avg QP: 9.44 size: 23737 [libx264 @ 0x81ce20] frame P:3 Avg QP: 8.35 size: 9727 [libx264 @ 0x81ce20] mb I I16..4: 51.6% 0.0% 48.4% [libx264 @ 0x81ce20] mb P I16..4: 46.7% 0.0% 17.6% P16..4: 12.4% 1.6% 0.7% 0.0% 0.0% skip:21.0% [libx264 @ 0x81ce20] coded y,uvDC,uvAC intra: 47.0% 62.6% 48.6% inter: 7.9% 32.6% 11.0% [libx264 @ 0x81ce20] i16 v,h,dc,p: 70% 16% 9% 5% [libx264 @ 0x81ce20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 30% 13% 5% 5% 5% 6% 4% 8% [libx264 @ 0x81ce20] i8c dc,h,v,p: 54% 23% 17% 7% [libx264 @ 0x81ce20] kb/s:11.82 And here is the whole output with -r 25 being added: ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 7 2011 17:25:26 with gcc 4.0.1 (Apple Inc. build 5493) configuration: --enable-static --enable-memalign-hack --enable-gpl --enable-libx264 --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=aac --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 libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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: 50.00 (50/1) -> 0.08 (1/12) Input #0, flv, from 'test.flv': Metadata: totalduration : 61 starttime : 0 lastkeyframetimestamp: 60 lasttimestamp : 61 canseekontime : true canseektoend : true hasvideo : true hasaudio : true datasize : 630 bytelength : 7271438 author : copyright : title : rating : metadatacreator : Duration: 00:01:01.49, start: 0.006000, bitrate: 945 kb/s Stream #0:0: Video: h264 (Baseline), yuv420p, 720x432 [SAR 1:1 DAR 5:3], 819 kb/s, 0.08 tbr, 1k tbn, 50 tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 131 kb/s [buffer @ 0x60c920] w:720 h:432 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [libx264 @ 0x81ce20] using SAR=1/1 [libx264 @ 0x81ce20] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x81ce20] profile Constrained Baseline, level 3.0 [libx264 @ 0x81ce20] 264 - core 119 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 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=0 weightp=0 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 vbv_maxrate=10000 vbv_bufsize=10000 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.00 Output #0, ipod, to 'test.m4v': Metadata: totalduration : 61 starttime : 0 lastkeyframetimestamp: 60 lasttimestamp : 61 canseekontime : true canseektoend : true hasvideo : true hasaudio : true datasize : 630 bytelength : 7271438 author : copyright : title : rating : metadatacreator : encoder : Lavf53.24.0 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x432 [SAR 1:1 DAR 5:3], q=-1--1, 25 tbn, 25 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 131 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 1538 fps= 43 q=-1.0 Lsize= 5615kB time=00:01:01.47 bitrate= 748.2kbits/s video:4605kB audio:959kB global headers:0kB muxing overhead 0.899401% [libx264 @ 0x81ce20] frame I:7 Avg QP:16.55 size: 12656 [libx264 @ 0x81ce20] frame P:1531 Avg QP:21.47 size: 3022 [libx264 @ 0x81ce20] mb I I16..4: 63.5% 0.0% 36.5% [libx264 @ 0x81ce20] mb P I16..4: 9.4% 0.0% 1.5% P16..4: 34.2% 5.5% 1.3% 0.0% 0.0% skip:48.1% [libx264 @ 0x81ce20] coded y,uvDC,uvAC intra: 12.5% 55.8% 7.6% inter: 7.3% 26.4% 0.5% [libx264 @ 0x81ce20] i16 v,h,dc,p: 48% 23% 13% 16% [libx264 @ 0x81ce20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 25% 28% 4% 6% 5% 5% 3% 4% [libx264 @ 0x81ce20] i8c dc,h,v,p: 57% 21% 17% 5% [libx264 @ 0x81ce20] ref P L0: 82.1% 12.0% 5.8% [libx264 @ 0x81ce20] kb/s:613.16 FLV file listings: Columns meaning: 1 - time (ms) 2 - block type (8-audio, 9-video) 3 - composition time stamp (see AVC spec) 4 - frame size (bytes) 5 - 1=key frame 0=inter frame 6 - 1=configuration record frame "Invalid" file listing: 0 8 4 1 1 0 9 55 1 1 0 9 40 9887 1 0 6 8 344 1 0 27 8 323 1 0 40 9 40 2860 0 0 49 8 379 1 0 70 8 329 1 0 80 9 40 2172 0 0 91 8 339 1 0 113 8 337 1 0 120 9 40 2464 0 0 134 8 345 1 0 155 8 348 1 0 160 9 40 2690 0 0 177 8 378 1 0 198 8 312 1 0 200 9 40 3957 0 0 .............. Here is the "valid" file: 0 8 4 1 1 0 9 55 1 1 0 9 40 14721 1 0 19 8 321 1 0 40 9 40 3624 0 0 41 8 329 1 0 62 8 345 1 0 80 9 40 2956 0 0 83 8 356 1 0 105 8 341 1 0 120 9 40 2396 0 0 126 8 353 1 0 147 8 324 1 0 160 9 40 2341 0 0 169 8 360 1 0 190 8 319 1 0 200 9 40 2549 0 0 From de.techno at gmail.com Thu Dec 8 17:09:49 2011 From: de.techno at gmail.com (dE .) Date: Thu, 08 Dec 2011 21:39:49 +0530 Subject: [FFmpeg-user] FFmpeg issues with MP4? In-Reply-To: References: <37cbe89e21505d466ea2c24c93323226@htbindustries.org> Message-ID: <4EE0E14D.10903@gmail.com> On 12/08/11 06:36, Carl Eugen Hoyos wrote: >> tried with FFmpeg version 0.7.8 on Gentoo with the same result. >> I suggest you compile from version control - media-video/ffmpeg Available versions: 0.7.6 0.7.7 {M}(~)0.8.5 {M}(~)0.8.6 {M}(**)9999 {(+)3dnow (+)3dnowext X aac aacplus alsa altivec amr avx bindist +bzip2 cdio celt cpudetection custom-cflags debug dirac doc +encode faac frei0r gnutls gsm +hardcoded-tables ieee1394 iwmmxt jack jpeg2k libv4l (+)mmx (+)mmxext modplug mp3 neon network openal openssl oss pic pulseaudio qt-faststart rtmp schroedinger sdl speex (+)ssse3 static-libs test theora threads truetype v4l vaapi vdpau video_cards_nvidia vis vorbis vpx x264 xvid +zlib} You see the 9999. From cehoyos at ag.or.at Thu Dec 8 17:27:39 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 16:27:39 +0000 (UTC) Subject: [FFmpeg-user] Problem streaming mjpeg as UDP References: <1323190711083-4165527.post@n4.nabble.com> <1323342669682-4172289.post@n4.nabble.com> <1323343382050-4172327.post@n4.nabble.com> Message-ID: bartom gmail.com> writes: > ffmpeg -i /PathToVideo/sample.avi -vcodec mjpeg -f mjpeg > udp://127.0.0.1:1234 > > is the option -vcodec mjpeg unnecessary?, because it works without it. > (sorry, I'm newbie) The default encoder for format mjpeg is mjpeg (note that the mjpeg muxer that you request with -f is not the same as the mjpeg encoder, the encoder certainly works without the muxer), so it is not necessary to explicitly request it, it gets automatically selected. Generally, the default encoders for formats may change (and they did change in the past), but I believe it is unlikely that the default encoder for format mjpeg will change;-) Carl Eugen From openworld at uralweb.ru Thu Dec 8 17:36:01 2011 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Thu, 8 Dec 2011 21:36:01 +0500 Subject: [FFmpeg-user] A problem with scale filter In-Reply-To: <4EE0A8AB.2060401@bbc.co.uk> References: <1323316949.97791.YahooMailNeo@web120603.mail.ne1.yahoo.com> <4EE0A8AB.2060401@bbc.co.uk> Message-ID: <4287DDF4-1470-4325-8F45-D411E5E35288@uralweb.ru> Hi, All, The scale filer being applied to produce M4V or MP4 file format inserts wrong pixel aspect ratio box, and incorrectly sets the frame size in the track header box. As a result target aspect ratio is the same as source file aspect ratio, though I've defined target width and height explicitly. As I believe the problem is here: [SAR 25:36 DAR 5:3] instead of [SAR 1:1 DAR 12:5] Taking into account that 12:5 = (36x5)/(25x3) (see digits above), I believe the bug is in these calculations - wrong digits are at wrong places. Something like that. Here is the source FLV file: http://home.bokovikov.com/ffmpeg/video5.flv Here is converted M4V file: http://home.bokovikov.com/ffmpeg/video5.m4v Here is the command line: ./ffmpeg -i video5.flv -f ipod -vcodec libx264 -vprofile baseline - level 30 -maxrate 10000000 -bufsize 10000000 -vf scale=720:300 -acodec copy -threads 0 -y video5.m4v And here is the ouput: ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 7 2011 17:25:26 with gcc 4.0.1 (Apple Inc. build 5493) configuration: --enable-static --enable-memalign-hack --enable-gpl --enable-libx264 --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=aac --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 libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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, flv, from 'video5.flv': Metadata: totalduration : 60 starttime : 0 lastkeyframetimestamp: 59 lasttimestamp : 60 canseekontime : true canseektoend : true hasvideo : true hasaudio : true datasize : 630 bytelength : 7077753 author : copyright : title : rating : metadatacreator : FLV Spider for Mac OS X - www.flvspider.com Duration: 00:01:00.36, start: 0.019000, bitrate: 938 kb/s Stream #0:0: Video: h264 (Baseline), yuv420p, 720x432 [SAR 1:1 DAR 5:3], 819 kb/s, 25 tbr, 1k tbn, 50 tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 131 kb/s [buffer @ 0x6014e0] w:720 h:432 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [scale @ 0x60c7a0] w:720 h:432 fmt:yuv420p -> w:720 h:300 fmt:yuv420p flags:0x4 [libx264 @ 0x81b620] using SAR=25/36 [libx264 @ 0x81b620] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x81b620] profile Constrained Baseline, level 3.0 [libx264 @ 0x81b620] 264 - core 119 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 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=0 weightp=0 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 vbv_maxrate=10000 vbv_bufsize=10000 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.00 Output #0, ipod, to 'video5.m4v': Metadata: totalduration : 60 starttime : 0 lastkeyframetimestamp: 59 lasttimestamp : 60 canseekontime : true canseektoend : true hasvideo : true hasaudio : true datasize : 630 bytelength : 7077753 author : copyright : title : rating : metadatacreator : FLV Spider for Mac OS X - www.flvspider.com encoder : Lavf53.24.0 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x300 [SAR 25:36 DAR 5:3], q=-1--1, 25 tbn, 25 tbc Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 131 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 1509 fps= 48 q=-1.0 Lsize= 4766kB time=00:01:00.32 bitrate= 647.3kbits/s video:3775kB audio:942kB global headers:0kB muxing overhead 1.042347% [libx264 @ 0x81b620] frame I:8 Avg QP:18.41 size: 8940 [libx264 @ 0x81b620] frame P:1501 Avg QP:21.42 size: 2528 [libx264 @ 0x81b620] mb I I16..4: 56.0% 0.0% 44.0% [libx264 @ 0x81b620] mb P I16..4: 10.8% 0.0% 0.8% P16..4: 46.5% 10.2% 2.9% 0.0% 0.0% skip:28.7% [libx264 @ 0x81b620] coded y,uvDC,uvAC intra: 6.8% 52.7% 8.9% inter: 8.4% 31.8% 0.3% [libx264 @ 0x81b620] i16 v,h,dc,p: 56% 24% 13% 7% [libx264 @ 0x81b620] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 15% 27% 6% 4% 5% 4% 7% 3% [libx264 @ 0x81b620] i8c dc,h,v,p: 59% 19% 20% 2% [libx264 @ 0x81b620] ref P L0: 77.4% 13.9% 8.7% [libx264 @ 0x81b620] kb/s:512.31 From nathan.stocks at gmail.com Thu Dec 8 18:07:13 2011 From: nathan.stocks at gmail.com (Nathan) Date: Thu, 8 Dec 2011 10:07:13 -0700 Subject: [FFmpeg-user] Linking help? In-Reply-To: References: Message-ID: On Wed, Dec 7, 2011 at 6:12 PM, Carl Eugen Hoyos wrote: > Hi! > > Since the message did not seem to arrive, allow me to repeat: > 0.7.8 should work exactly as the version you are using (same API) - if it does > not, there is a high chance that you will get support from FFmpeg developers - > but it is not affected by a known security issue that is exploitable! > (IANAL, but I strongly believe that in Europe, you would not be able to plead to > "there is no warranty" in this case if somebody complains.) Oh, great! That will make the upgrade much easier to do. Thanks for pointing that out. ~ Nathan From coniophora at gmail.com Thu Dec 8 18:16:42 2011 From: coniophora at gmail.com (Jim Worrall) Date: Thu, 8 Dec 2011 10:16:42 -0700 Subject: [FFmpeg-user] smarter scaling filter In-Reply-To: References: Message-ID: On Wed, Dec 7, 2011 at 3:24 PM, Jim Worrall wrote: > I've been trying to find or write a script/filtergraph that will take a > target frame size and automatically scale down the input video (maintaining > aspect ratio) if needed to fit the frame, and leave it the same if it is > already the size or smaller than the frame. I'm in a bit over my head and > hoping for some pointers. > > I'm starting with a very clever set of calculations that Francesco Turco > posted here 12 June 2011. One side of each plus sign will always evaluate > to 0 (escapes removed for clarity; his target frame size was 720x576): > -vf scale = ' > gte(iw/ih,720/576)*720 + lt(iw/ih,720/576)*((576*iw)/ih) : > lte(iw/ih,720/576)*576 + gt(iw/ih,720/576)*((720*ih)/iw) ' > > He thought it was too long, but still seems a great approach. The problem > for me is it will upscale too, which seems undesirable if the device > doesn't require an exact size. So I'm trying to add some logic to keep the > input scale if both iw and ih are the size of or smaller than the frame. > While I'm at it, I'm hoping to use some variables from the script for the > frame size. > > The bash script asks for the target device (just iPhone 3 or iPhone4 now) > and sets device-specific values for the maximum frame width ($FW) and > height ($FH) and the corresponding aspect ratio ($FA). The filter also > seems to need some stored variables within ffmpeg, but I've only found one > example of their real use on the web and couldn't make much sense out of > it. I can't figure how st(var,expr) is supposed to be incorporated into > the filter, since it can't seem to go before it. And there's a > while(cond,expr) I don't know where to put either. > > Here's an idea what I'm trying to do, and I think it is a long way from > working. The st(0,expr) that I put in the beginning (not knowing where it > goes) stores 0 if both dimensions fit in the target frame. I'm not sure if > I can use a script variable inside a filter, hope so. Anyway, the while > statement is supposed to convert var 0 to 1 if it is not 0. The rest is > just an add-on to Francesco's filter that should specify the input > dimensions if var 0 is 0. > -vf = "st(0,gt(iw,$FW)+gt(ih,$FH)) ; > while(ld(0),st(0,1) ; > scale= ld(0) * ( gte(a,$FA)*$FW + lt(a,$FA)*(($FH*iw)/ih) ) + > eq(0,ld(0))*iw : > ld(0) * ( lte(a,$FA)*$FH + gt(a,$FA)*(($FW*ih)/iw) ) + > eq(0,ld(0))*ih " > > In case it matters, I'm a user/hobbyist. Any tips will be appreciated. > Thanks, > Jim > By trial and error I learned that the variable storage and manipulation functions have to go where the variables are first used in the actual filter expression. Doing that I eventually got it to run without errors, so major progress. It worked as expected for video with smaller size than the target frame size, but not with a video that it actually needed to scale down. One of the functions is apparently not doing what I think it does. I would appreciate some help. Here are the input values from the input file and the target values from the script (which are getting read correctly). The filter should give a video of 640x360, but it actually gives 640x720. Below is the scale filter expression and above each line, how I think it should evaluate for the current case. I guess there is no way to see the value of variables inside ffmpeg (created with st(var,expr) )? Jim INPUT values: iw 1280 ih 720 a ~1.78 TARGET FRAME SIZE values: $FW 640 $FH 480 $FA ~1.33 stored in var 0: 1 * 1 + 1 -vf="scale = st(0, min( 1 , gt(iw,$FW)+gt(ih,$FH) ) ) * \ 640 : ( 1 *640 + 0 * 853.33 ) + 0 : ( gte(a,$FA)*$FW + lt(a,$FA)*(($FH*iw)/ih) ) + not(ld(0))*iw : \ 360 1 * ( 0 *480 + 1 * 360 ) + 0 ld(0) * ( lte(a,$FA)*$FH + gt(a,$FA)*(($FW*ih)/iw) ) + not(ld(0))*ih " From sandeep.patidar at pyramidconsultinginc.com Thu Dec 8 09:01:30 2011 From: sandeep.patidar at pyramidconsultinginc.com (Sandeep Patidar) Date: Thu, 8 Dec 2011 13:31:30 +0530 Subject: [FFmpeg-user] Need some help to configure ffmpeg for iOS 5.0 simulator Message-ID: <47A113DD-467D-41A8-B697-D8D50AF5D1E2@pyramidconsultinginc.com> Hi, I am developing an iPad application for live video streaming which is stored in .flv formate on the server. My requirement is to stream the video and convert into h.264 codec. I am trying to do the same using ffmpeg libraries. I have downloaded ffmpeg latest version by using svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg My system configuration is as follows: iOS 5.0 (Device as well as simulator), Xcode Version 4.2 (4D199), And Mac OSX 10.7 Lion. Could you please provide some tutorial and procedure to build for this configuration. Any help would be appreciable. Please find the config.log file from the attachment. Thanks & Regards, Sandeep From cehoyos at ag.or.at Thu Dec 8 19:46:35 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 18:46:35 +0000 (UTC) Subject: [FFmpeg-user] Need some help to configure ffmpeg for iOS 5.0 simulator References: <47A113DD-467D-41A8-B697-D8D50AF5D1E2@pyramidconsultinginc.com> Message-ID: Sandeep Patidar pyramidconsultinginc.com> writes: > I have downloaded ffmpeg latest version by using > svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg Please read http://ffmpeg.org/download.html to get latest FFmpeg version. Carl Eugen From hguth at listingsmagic.com Thu Dec 8 20:38:27 2011 From: hguth at listingsmagic.com (Hans Guth) Date: Thu, 08 Dec 2011 12:38:27 -0700 Subject: [FFmpeg-user] Getting SWF frame count Message-ID: <4EE11233.9090406@listingsmagic.com> Is there a way to easily get the frame count total from an swf file either while it is being built or after it's built. I want to store that information into a database. Example if a file test.swf has a total of 390 frames - how do I get that information? Example ffmpeg -i test.swf This does not appear to give a total frame count. Also ffmpeg -i test.mp4 -sameq test.swf This shows the frames being built but I don't see where it outputs the total? Thanks -- Hans Guth President - ListingsMagic 866-831-8639 ext. 704 From cehoyos at ag.or.at Thu Dec 8 20:58:29 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 19:58:29 +0000 (UTC) Subject: [FFmpeg-user] Getting SWF frame count References: <4EE11233.9090406@listingsmagic.com> Message-ID: Hans Guth listingsmagic.com> writes: > Also ffmpeg -i test.mp4 -sameq test.swf > > This shows the frames being built but I don't see where it outputs the > total? Complete, uncut console output missing. Carl Eugen From hguth at listingsmagic.com Thu Dec 8 21:18:45 2011 From: hguth at listingsmagic.com (Hans Guth) Date: Thu, 08 Dec 2011 13:18:45 -0700 Subject: [FFmpeg-user] Getting SWF frame count In-Reply-To: References: <4EE11233.9090406@listingsmagic.com> Message-ID: <4EE11BA5.1040805@listingsmagic.com> Assuming you mean show outputs. Again as reminder - trying to determine total number of frames for an swf movie. Upon building - here is dumpFFmpeg version SVN-r18218, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --disable-demuxer=v4l --disable-demuxer=v4l2 --enable-libx264 --enable-gpl --enable-pthreads --enable-libfaac --enable-shared libavutil 50. 2. 0 / 50. 2. 0 libavcodec 52.22. 3 / 52.22. 3 libavformat 52.32. 0 / 52.32. 0 libavdevice 52. 1. 0 / 52. 1. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Mar 29 2009 13:35:57, gcc: 3.4.6 20060404 (Red Hat 3.4.6-10) Seems stream 0 codec frame rate differs from container frame rate: 48.00 (48/1) -> 24.00 (24/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/listingsmagic/public_html/photos/41/7993/53.mp4': Duration: 00:00:16.25, start: 0.000000, bitrate: 866 kb/s Stream #0.0(eng): Video: h264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 24 tbr, 24 tbn, 48 tbc Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16 Output #0, swf, to '/home/listingsmagic/public_html/photos/41/7993/out.swf': Stream #0.0(eng): Video: flv, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 24 tbc Stream #0.1(und): Audio: libmp3lame, 44100 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 24 fps= 0 q=0.0 size= 278kB time=0.89 bitrate=2563.4kbits/s frame= 47 fps= 46 q=0.0 size= 429kB time=1.36 bitrate=2587.4kbits/s frame= 70 fps= 45 q=0.0 size= 766kB time=2.32 bitrate=2699.1kbits/s frame= 92 fps= 45 q=0.0 size= 1093kB time=3.29 bitrate=2719.4kbits/s frame= 116 fps= 45 q=0.0 size= 1424kB time=4.28 bitrate=2722.9kbits/s frame= 139 fps= 45 q=0.0 size= 1725kB time=5.25 bitrate=2690.7kbits/s frame= 162 fps= 45 q=0.0 size= 2059kB time=6.22 bitrate=2713.2kbits/s frame= 185 fps= 45 q=0.0 size= 2373kB time=7.21 bitrate=2696.8kbits/s frame= 208 fps= 45 q=0.0 size= 2693kB time=8.18 bitrate=2698.3kbits/s frame= 231 fps= 45 q=0.0 size= 3016kB time=9.14 bitrate=2702.0kbits/s frame= 254 fps= 45 q=0.0 size= 3354kB time=10.14 bitrate=2710.8kbits/s frame= 276 fps= 45 q=0.0 size= 3690kB time=11.10 bitrate=2723.0kbits/s frame= 299 fps= 45 q=0.0 size= 4022kB time=12.07 bitrate=2729.8kbits/s frame= 320 fps= 45 q=0.0 size= 4363kB time=13.06 bitrate=2736.6kbits/s frame= 340 fps= 44 q=0.0 size= 4799kB time=14.03 bitrate=2802.3kbits/s frame= 362 fps= 44 q=0.0 size= 4963kB time=14.52 bitrate=2799.1kbits/s frame= 385 fps= 44 q=0.0 size= 5317kB time=15.49 bitrate=2811.7kbits/s frame= 390 fps= 44 q=0.0 Lsize= 5571kB time=16.17 bitrate=2822.5kbits/s Just getting information after build here is dump FFmpeg version SVN-r18218, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --disable-demuxer=v4l --disable-demuxer=v4l2 --enable-libx264 --enable-gpl --enable-pthreads --enable-libfaac --enable-shared libavutil 50. 2. 0 / 50. 2. 0 libavcodec 52.22. 3 / 52.22. 3 libavformat 52.32. 0 / 52.32. 0 libavdevice 52. 1. 0 / 52. 1. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Mar 29 2009 13:35:57, gcc: 3.4.6 20060404 (Red Hat 3.4.6-10) Input #0, swf, from '53.swf': Duration: 00:11:53.12, start: 0.000000, bitrate: 63 kb/s Stream #0.0: Audio: mp3, 44100 Hz, mono, s16, 64 kb/s Stream #0.1: Video: flv, yuv420p, 640x360, 24 tbr, 24 tbn, 24 tbc At least one output file must be specified video:5434kB audio:126kB global headers:0kB muxing overhead 0.199330% On 12/8/2011 12:58 PM, Carl Eugen Hoyos wrote: > Hans Guth listingsmagic.com> writes: > >> Also ffmpeg -i test.mp4 -sameq test.swf >> >> This shows the frames being built but I don't see where it outputs the >> total? > Complete, uncut console output missing. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -- Hans Guth President - ListingsMagic 866-831-8639 ext. 704 From cehoyos at ag.or.at Thu Dec 8 21:29:03 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 20:29:03 +0000 (UTC) Subject: [FFmpeg-user] Getting SWF frame count References: <4EE11233.9090406@listingsmagic.com> <4EE11BA5.1040805@listingsmagic.com> Message-ID: Hans Guth listingsmagic.com> writes: > FFmpeg version SVN-r18218, Copyright (c) 2000-2009 Fabrice Bellard, > et al. This is really ancient, known to be buggy (and exploitable) and therefore unsupported. [...] > frame= 390 fps= 44 q=0.0 Lsize= 5571kB time=16.17 bitrate=2822.5kbits/s This implies the input file has 390 frames. Carl Eugen From peace at aleksandrsolzhenitsyn.net Thu Dec 8 22:58:23 2011 From: peace at aleksandrsolzhenitsyn.net (.) Date: Thu, 08 Dec 2011 16:58:23 -0500 Subject: [FFmpeg-user] Cut out middle of a video? Message-ID: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have an mp4 that's 2 minutes long. - From the video I want to remove from 1 minute 10 seconds until 1 minute 50 seconds. How do I do it? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO4TL4AAoJEPBpZNn4grcjPGQH/0qJN1Zi0Td0amlX67jZIR16 c7b0UL7C6tGBkXjRiaL0gjdEP3uI3dojwmExBIApgC5FvWmNVj5RwONnJOgiespP hbmezf1fElnPzi7kJVfxyAn9tvdzMcmFr5nKYEMyJMpebiVvQlPpkR3MKlEYce/W wcQIS9vzYYrEi5bjZbCPfAlOIrCziI9n3Agbyt830k6EBoVRj7jUx9itORh1TQsb YTzVeY7oQgGG3jTWUnCTPOBYlx1WW6thQS0q/i9vG4wy4HxXNCVYP8nq2WouXBFg eVYMEa62HhrLRHSvWMJqw5SswBxpo1DIpqPVAoSLEskbZ2z81BqUUmHwqwjUpjE= =bF1L -----END PGP SIGNATURE----- From dev at rarevision.com Thu Dec 8 23:28:30 2011 From: dev at rarevision.com (Thomas Worth) Date: Thu, 8 Dec 2011 14:28:30 -0800 Subject: [FFmpeg-user] Dolby Pro Logic encoding from 6 discrete channels Message-ID: HandBrake is apparently capable of folding 6 tracks of audio down to a matrix-encoded 2 channel Pro Logic mix. I'm assuming this is done through avcodec. If so, which part of the code is responsible for this? Also, this is really an analog operation, since Pro Logic / II works with analog sources. Has this been tested / verified to work as intended? I'd love to hear about any experiences with this. From lou at lrcd.com Thu Dec 8 23:45:15 2011 From: lou at lrcd.com (Lou) Date: Thu, 8 Dec 2011 13:45:15 -0900 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> Message-ID: <20111208134515.2f682856@lrcd.com> On Thu, 08 Dec 2011 16:58:23 -0500 "." wrote: > I have an mp4 that's 2 minutes long. > > > - From the video I want to remove from 1 minute 10 seconds until 1 > minute 50 seconds. > > How do I do it? ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output or ffmpeg -i input -ss 70 -t 40 -c copy output From felipe.castrosantana at gmail.com Thu Dec 8 21:03:07 2011 From: felipe.castrosantana at gmail.com (Felipe Santana) Date: Thu, 8 Dec 2011 18:03:07 -0200 Subject: [FFmpeg-user] Build ffmpeg on QNX Message-ID: Hi, My name is Felipe Santana. I am developing a multimedia application for QNX 6.5, armv7-le. My application receives a h264 RTSP video streaming, and I need to decode it, and convert it to RGB pix format, in order to display it on the screen. And I intend to use ffmpeg to do the decoding and conversion. But I cannot build it on QNX, no matter what. Can someone help with that? Thank you very much! Best regards! -- Felipe Santana From gmcoppa at cbs.com Thu Dec 8 21:11:43 2011 From: gmcoppa at cbs.com (Coppa, Greg) Date: Thu, 8 Dec 2011 15:11:43 -0500 Subject: [FFmpeg-user] ffprobe fails with lxf file Message-ID: <6DB19C7A5C098B4F926E81A6826E08C501CBF4489A@NYDCMX28.cbs.ad.cbs.net> I'm trying to ffprobe an lxf file and ffprobe fails with: [lxf @ 000000000213EA00] checksum error [lxf @ 000000000213EA00] expected 120 B size header, got 0 labhdtesttape.lxf: Invalid data found when processing input The file is from a Harris Nexio server which plays OK from it. I can make the file available. greg ffprobe version info: ffprobe version N-35462-g61b1d85, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 5 2011 14:28:46 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. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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 From coniophora at gmail.com Fri Dec 9 00:18:34 2011 From: coniophora at gmail.com (Jim Worrall) Date: Thu, 8 Dec 2011 16:18:34 -0700 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: <20111208134515.2f682856@lrcd.com> References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> Message-ID: On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: > On Thu, 08 Dec 2011 16:58:23 -0500 > "." wrote: > > > I have an mp4 that's 2 minutes long. > > > > > > - From the video I want to remove from 1 minute 10 seconds until 1 > > minute 50 seconds. > > > > How do I do it? > > ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output > or > ffmpeg -i input -ss 70 -t 40 -c copy output > > Wouldn't that KEEP only the middle part, rather than removing it? It sounds like he wants to discard the middle and keep the rest. From cehoyos at ag.or.at Fri Dec 9 00:26:54 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 23:26:54 +0000 (UTC) Subject: [FFmpeg-user] ffprobe fails with lxf file References: <6DB19C7A5C098B4F926E81A6826E08C501CBF4489A@NYDCMX28.cbs.ad.cbs.net> Message-ID: Coppa, Greg cbs.com> writes: > I'm trying to ffprobe an lxf file and ffprobe fails with: > > [lxf @ 000000000213EA00] checksum error > [lxf @ 000000000213EA00] expected 120 B size header, got 0 > labhdtesttape.lxf: Invalid data found when processing input (For future requests: Complete, uncut output please.) Sounds like ticket 656: https://ffmpeg.org/trac/ffmpeg/ticket/656 Feel free to add yourself to CC. Carl Eugen From lou at lrcd.com Fri Dec 9 00:27:09 2011 From: lou at lrcd.com (Lou) Date: Thu, 8 Dec 2011 14:27:09 -0900 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> Message-ID: <20111208142709.16c03bdb@lrcd.com> On Thu, 8 Dec 2011 16:18:34 -0700 Jim Worrall wrote: > On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: > > > On Thu, 08 Dec 2011 16:58:23 -0500 > > "." wrote: > > > > > I have an mp4 that's 2 minutes long. > > > > > > > > > - From the video I want to remove from 1 minute 10 seconds until > > > 1 minute 50 seconds. > > > > > > How do I do it? > > > > ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output > > or > > ffmpeg -i input -ss 70 -t 40 -c copy output > > > > > Wouldn't that KEEP only the middle part, rather than removing it? Yes. > It sounds like he wants to discard the middle and keep the rest. I was assuming the middle section was what he wanted. From cehoyos at ag.or.at Fri Dec 9 00:31:25 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 8 Dec 2011 23:31:25 +0000 (UTC) Subject: [FFmpeg-user] Build ffmpeg on QNX References: Message-ID: Felipe Santana gmail.com> writes: > But I cannot build it on QNX, no matter what. > > Can someone help with that? No, because you did not provide sufficient information. What did you try? Did ./configure fail? If yes, please provide at least the tail of config.log. Did make fail? If yes, please run make again, then run make V=1 and provide its complete, uncut output. (Please do not provide the complete, uncut output of the first make.) Carl Eugen From rogerdpack2 at gmail.com Fri Dec 9 01:37:59 2011 From: rogerdpack2 at gmail.com (Roger Pack) Date: Thu, 8 Dec 2011 17:37:59 -0700 Subject: [FFmpeg-user] feature request/suggestion: make the server and ffplay into sink filters :) In-Reply-To: <20111029233623.GC13258@arborea> References: <20111029233623.GC13258@arborea> Message-ID: >> Split an input stream, send it to a "file" output as well as to a >> "server" output, or optionally also to a "view" output (ffplay). >> Kind of combining all of the various output options into sinks. >> >> Or maybe this is already in the works? >> This would allow me to not have to revert to VLC if, for instance, a >> users wants to view a stream as it is encoded (which some do). > > Yes, this should be achievable through a movie sink, I wrote a > snapshot sink some time ago which could be use a basis for this. > > And we have already an SDL output format, although it's quite limited > and I wanted to implement other ones (based on libe/GTK/QT) but never > found the magic combination of time/motivation for actually working on > it. Do you have any links or anything for these filters that I could research on them/add to the wiki page? -r From rogerdpack2 at gmail.com Fri Dec 9 01:41:41 2011 From: rogerdpack2 at gmail.com (Roger Pack) Date: Thu, 8 Dec 2011 17:41:41 -0700 Subject: [FFmpeg-user] A problem with scale filter In-Reply-To: <4287DDF4-1470-4325-8F45-D411E5E35288@uralweb.ru> References: <1323316949.97791.YahooMailNeo@web120603.mail.ne1.yahoo.com> <4EE0A8AB.2060401@bbc.co.uk> <4287DDF4-1470-4325-8F45-D411E5E35288@uralweb.ru> Message-ID: > > The scale filer being applied to produce M4V or MP4 file format inserts > wrong pixel aspect ratio box, and incorrectly sets the frame size in the > track header box. As a result target aspect ratio is the same as source file > aspect ratio, though I've defined target width and height explicitly. As I > believe the problem is here: > > [SAR 25:36 DAR 5:3] > > instead of > > [SAR 1:1 DAR 12:5] > > Taking into account that 12:5 = (36x5)/(25x3) (see digits above), I believe > the bug is in these calculations - wrong digits are at wrong places. > Something like that. maybe submit a bug report? or ping the devel side? From rogerdpack2 at gmail.com Fri Dec 9 01:44:47 2011 From: rogerdpack2 at gmail.com (Roger Pack) Date: Thu, 8 Dec 2011 17:44:47 -0700 Subject: [FFmpeg-user] building ffmpeg under windows using mingw msys In-Reply-To: <8F46297FEF8AB94DA683BDEEA811A966017D52@LVMAIL02.shufflemaster.com> References: <8F46297FEF8AB94DA683BDEEA811A966017D52@LVMAIL02.shufflemaster.com> Message-ID: On Tue, Dec 6, 2011 at 12:31 PM, Ramkumar Sivaraman (Table Master) wrote: > Hello, > I am kinda new to ffmpeg and linux. I have been trying to build ffmpeg as per the instruction given in the ffmpeg.org using shared library using latest ffmpeg source, msys and mingw. http://www.ffmpeg.org/general.html#SEC20 ,. ?Everything works as per the instructions. But when I try to use the dll in a simple vc++ application (like output-example.c mentioned in the document) it comes up with an error, " The Program cant start because avcodec-52.dll is missing from your computer." When I built it, it created avcodec-53.dll. How can I fix this? Willing to provide more information on this if needed. rename the dll? Twould be nice to know what caused it though. -r From peace at AleksandrSolzhenitsyn.net Fri Dec 9 03:19:08 2011 From: peace at AleksandrSolzhenitsyn.net (.) Date: Thu, 08 Dec 2011 21:19:08 -0500 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: <20111208142709.16c03bdb@lrcd.com> References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> <20111208142709.16c03bdb@lrcd.com> Message-ID: <4EE1701C.1050609@AleksandrSolzhenitsyn.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/08/2011 06:27 PM, Lou wrote: > On Thu, 8 Dec 2011 16:18:34 -0700 > Jim Worrall wrote: > >> On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: >> >>> On Thu, 08 Dec 2011 16:58:23 -0500 >>> "." wrote: >>> >>>> I have an mp4 that's 2 minutes long. >>>> >>>> >>>> - From the video I want to remove from 1 minute 10 seconds until >>>> 1 minute 50 seconds. >>>> >>>> How do I do it? >>> >>> ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output >>> or >>> ffmpeg -i input -ss 70 -t 40 -c copy output >>> >>> >> Wouldn't that KEEP only the middle part, rather than removing it? > > Yes. > >> It sounds like he wants to discard the middle and keep the rest. > > I was assuming the middle section was what he wanted. Yes, I want to discard the middle section. The following code line didn't discard the middle ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO4XAZAAoJEPBpZNn4grcj2R4H/2t1A1lAof7qeNlgVcQaJMJE 0F9d3I2y4nxTxJ+ONSkuhvG0bL6n5rRcFgGRoEERuq0BlYedI2gmeYpr9pulaV4I WBKs+ZwlKefRZsN4F33C90R2YnCiLoiYcNJ1og4LckVePkutSRIJ3YSCNZvAPsSy HfNUvUYdvrFBkjL/LTX/CSCEl6xFnK6n40Ud9YgtzUln5hDLbNkmNKsSMs4lQylB eb9KBIQXU3BCAOPLvIrPHDUNrXWTSJb/KsiU67SStyk2F7dlAmb2UjTBxvD/o6LC ql+gywIleoIsKOJUKlaEfKg9+HLTAX0owrKo3ebNrttQhupzGKFvF2RQulUBRUo= =6FUy -----END PGP SIGNATURE----- From peace at AleksandrSolzhenitsyn.net Fri Dec 9 03:20:30 2011 From: peace at AleksandrSolzhenitsyn.net (.) Date: Thu, 08 Dec 2011 21:20:30 -0500 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> Message-ID: <4EE1706E.4050500@AleksandrSolzhenitsyn.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/08/2011 06:18 PM, Jim Worrall wrote: > On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: > >> On Thu, 08 Dec 2011 16:58:23 -0500 >> "." wrote: >> >>> I have an mp4 that's 2 minutes long. >>> >>> >>> - From the video I want to remove from 1 minute 10 seconds until 1 >>> minute 50 seconds. >>> >>> How do I do it? >> >> ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output >> or >> ffmpeg -i input -ss 70 -t 40 -c copy output >> >> > Wouldn't that KEEP only the middle part, rather than removing it? > It sounds like he wants to discard the middle and keep the rest. Correct- I want to discard the middle portion. The above code line didn't discard the middle. > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO4XBuAAoJEPBpZNn4grcjYAsH/j+zeBr1Xd+I35LoVLjcB58g A84XU8k4pOFacEIM2kDWjw26CbmcmVgKdjbJXbxNAFsy8Ckz6cg5OfZqbImruBp1 eul0wNejEAh3YLczLoYa4TwHrE9MIGGYwCDquXeG+xRrOUftmJcQGxLFqg1hY6RG 4Rkds0M0Pn56u9enX4CRXFDLmJsOxo2XyEnjjAuHV62Ie6SgRp+R5Sn/fnrXoT8i wNRYp3fg2YPrQ4YMpVxCdw8u/3UOu3mBN2mJ/GzEOP7k8LXWcKQDr78cPjtJbzQI le7ecDTzTxY08XOm1ff+JVp1iX//zaw4hanKSrmbuSXLJV1jk3jSSl+BtcoKpuA= =BBE6 -----END PGP SIGNATURE----- From de.techno at gmail.com Fri Dec 9 05:09:00 2011 From: de.techno at gmail.com (dE .) Date: Fri, 09 Dec 2011 09:39:00 +0530 Subject: [FFmpeg-user] Dolby Pro Logic encoding from 6 discrete channels In-Reply-To: References: Message-ID: <4EE189DC.6070801@gmail.com> On 12/09/11 03:58, Thomas Worth wrote: > HandBrake is apparently capable of folding 6 tracks of audio down to a > matrix-encoded 2 channel Pro Logic mix. I'm assuming this is done > through avcodec. If so, which part of the code is responsible for > this? Also, this is really an analog operation, since Pro Logic / II > works with analog sources. Has this been tested / verified to work as > intended? I'd love to hear about any experiences with this. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Pro logic technology works over any connection, either it be over satalite TV, 3.5mm, RCA or even S/PDIF and HDMI (confirmed, I've a pro logic IIx decoder connection to my PC though S/PDIF). I also confirm that handbreak does atleast 5.1 to 2 channel, but it can only encode videos. I asked the developers, they said the backend was either the decoder or downmix.c. https://forum.handbrake.fr/viewtopic.php?f=7&t=22750 ffmpeg guys may borrow code from here. Devs -- are you listening? I reported a bug, maybe I should post this link there... From de.techno at gmail.com Fri Dec 9 06:15:45 2011 From: de.techno at gmail.com (dE .) Date: Fri, 09 Dec 2011 10:45:45 +0530 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: <4EE1706E.4050500@AleksandrSolzhenitsyn.net> References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> <4EE1706E.4050500@AleksandrSolzhenitsyn.net> Message-ID: <4EE19981.3060304@gmail.com> On 12/09/11 07:50, . wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > On 12/08/2011 06:18 PM, Jim Worrall wrote: >> On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: >> >>> On Thu, 08 Dec 2011 16:58:23 -0500 >>> "." wrote: >>> >>>> I have an mp4 that's 2 minutes long. >>>> >>>> >>>> - From the video I want to remove from 1 minute 10 seconds until 1 >>>> minute 50 seconds. >>>> >>>> How do I do it? >>> ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output >>> or >>> ffmpeg -i input -ss 70 -t 40 -c copy output >>> >>> >> Wouldn't that KEEP only the middle part, rather than removing it? >> It sounds like he wants to discard the middle and keep the rest. > Correct- I want to discard the middle portion. The above code line > didn't discard the middle. > >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJO4XBuAAoJEPBpZNn4grcjYAsH/j+zeBr1Xd+I35LoVLjcB58g > A84XU8k4pOFacEIM2kDWjw26CbmcmVgKdjbJXbxNAFsy8Ckz6cg5OfZqbImruBp1 > eul0wNejEAh3YLczLoYa4TwHrE9MIGGYwCDquXeG+xRrOUftmJcQGxLFqg1hY6RG > 4Rkds0M0Pn56u9enX4CRXFDLmJsOxo2XyEnjjAuHV62Ie6SgRp+R5Sn/fnrXoT8i > wNRYp3fg2YPrQ4YMpVxCdw8u/3UOu3mBN2mJ/GzEOP7k8LXWcKQDr78cPjtJbzQI > le7ecDTzTxY08XOm1ff+JVp1iX//zaw4hanKSrmbuSXLJV1jk3jSSl+BtcoKpuA= > =BBE6 > -----END PGP SIGNATURE----- > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Maybe we should have something similar to --invert-match. From tim.nicholson at bbc.co.uk Fri Dec 9 11:17:45 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Fri, 09 Dec 2011 10:17:45 +0000 Subject: [FFmpeg-user] A problem with scale filter, should be "Split convert MOV files to left and right wav files." In-Reply-To: <4287DDF4-1470-4325-8F45-D411E5E35288@uralweb.ru> References: <1323316949.97791.YahooMailNeo@web120603.mail.ne1.yahoo.com> <4EE0A8AB.2060401@bbc.co.uk> <4287DDF4-1470-4325-8F45-D411E5E35288@uralweb.ru> Message-ID: <4EE1E049.9080705@bbc.co.uk> On 08/12/11 16:36, Alexander Bokovikov wrote: > Hi, All, > > The scale filer being applied to produce M4V or MP4 file format inserts > wrong pixel aspect ratio box, and incorrectly sets the frame size in the > track header box. As a result target aspect ratio is the same as source > file aspect ratio, though I've defined target width and height > explicitly. As I believe the problem is here: >[...] Please do not hijack threads by "replying" to a post and changing the subject, it upsets thread following mail readers and makes things difficult to follow.. If you have a new question please start with a clean post. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From felipe.santana at xmobots.com Fri Dec 9 11:36:28 2011 From: felipe.santana at xmobots.com (Felipe Santana) Date: Fri, 9 Dec 2011 08:36:28 -0200 Subject: [FFmpeg-user] Build ffmpeg on QNX In-Reply-To: References: Message-ID: Ok, Sorry for the lack of information. My problem is that ./configure fails. I am trying the command bellow, *./configure --target-os=QNX --enable-cross-compile --arch=armv7* * * Here is the tail of the config.log file. *WARNING: pkg-config not found, library detection may fail.* *mktemp -u XXXXXX* *./configure[1903]: mktemp: cannot execute - No such file or directory* *WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS* *check_ld* *check_cc* *BEGIN /tmp/ffconf..localhost..10706973.c* * 1 int main(void){ return 0; }* *END /tmp/ffconf..localhost..10706973.c* *gcc -c -o /tmp/ffconf..localhost..10706973.o /tmp/ffconf..localhost..10706973.c* *./configure[2358]: gcc: cannot execute - No such file or directory* Thank you, for your reply. Best regards. On Thu, Dec 8, 2011 at 9:31 PM, Carl Eugen Hoyos wrote: > Felipe Santana gmail.com> writes: > > > But I cannot build it on QNX, no matter what. > > > > Can someone help with that? > > No, because you did not provide sufficient information. > > What did you try? Did ./configure fail? If yes, please provide at least > the tail > of config.log. Did make fail? If yes, please run make again, then run make > V=1 > and provide its complete, uncut output. (Please do not provide the > complete, > uncut output of the first make.) > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- Felipe Santana Software Developer XMobots Robotic Systems From bartomas at gmail.com Fri Dec 9 12:09:47 2011 From: bartomas at gmail.com (bartom) Date: Fri, 9 Dec 2011 03:09:47 -0800 (PST) Subject: [FFmpeg-user] Problem streaming mjpeg as UDP In-Reply-To: References: <1323190711083-4165527.post@n4.nabble.com> <1323342669682-4172289.post@n4.nabble.com> <1323343382050-4172327.post@n4.nabble.com> Message-ID: <1323428987074-4176160.post@n4.nabble.com> Many thanks again! -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Problem-streaming-mjpeg-as-UDP-tp4165527p4176160.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From gkinsey at ad-holdings.co.uk Fri Dec 9 12:15:33 2011 From: gkinsey at ad-holdings.co.uk (Gavin Kinsey) Date: Fri, 9 Dec 2011 11:15:33 +0000 Subject: [FFmpeg-user] Need some help to configure ffmpeg for iOS 5.0 simulator In-Reply-To: <47A113DD-467D-41A8-B697-D8D50AF5D1E2@pyramidconsultinginc.com> References: <47A113DD-467D-41A8-B697-D8D50AF5D1E2@pyramidconsultinginc.com> Message-ID: <201112091115.33991.gkinsey@ad-holdings.co.uk> On Thursday 08 December 2011 08:01:30 Sandeep Patidar wrote: > > I am developing an iPad application > > I have downloaded ffmpeg latest version by using svn checkout > svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg > > Could you please provide some tutorial and procedure to build for this > configuration. Any help would be appreciable. Install gas-preprocessor from https://github.com/yuvi/gas-preprocessor Configure flags: --enable-static --disable-shared --enable-pic -- sysroot="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" --extra-ldflags="-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" -- enable-cross-compile --arch=arm --target-os=darwin -- cc="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7" --cpu=cortex-a8 --extra-cflags="-mfpu=neon" Add other flags as desired. -- Gavin Kinsey AD Holdings Plc This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system; you may not copy this message or disclose its contents to anyone. The recipient should check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. Contact Customer Services for details customerservices at dmicros.com From ianjames at linuxmail.org Fri Dec 9 12:25:28 2011 From: ianjames at linuxmail.org (Ian James) Date: Fri, 09 Dec 2011 06:25:28 -0500 Subject: [FFmpeg-user] compress security video Message-ID: <20111209112529.246440@gmx.com> I need to compress colour security videos for archive. Each frame is usually 95% the same as the previous frame. Switching off the audio and reducing the frame rate has not significantly reduced the file size. The image size is already at minimum. The avi files are typically 1GB to 1.5GB codec WMV3 320 x 240 resolution. Please can someone suggest suitable profile/parameter ranges to try? Many thanks/ From tim.nicholson at bbc.co.uk Fri Dec 9 12:26:26 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Fri, 09 Dec 2011 11:26:26 +0000 Subject: [FFmpeg-user] Build ffmpeg on QNX In-Reply-To: References: Message-ID: <4EE1F062.9060602@bbc.co.uk> On 09/12/11 10:36, Felipe Santana wrote: > Ok, > Sorry for the lack of information. > > My problem is that ./configure fails. I am trying the command bellow, > *./configure --target-os=QNX --enable-cross-compile --arch=armv7* > * > * > Here is the tail of the config.log file. > *WARNING: pkg-config not found, library detection may fail.* This can be fixed by setting your PKG_CONFIG_PATH to the correct location of your cross compile pc files. > *mktemp -u XXXXXX* > *./configure[1903]: mktemp: cannot execute - No such file or directory* This is the test to see if ./configure needs to define its own version of mktemp so is not a problem in itself. However it is unusual not to have it on a system as its part of core-utils. > *WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS* What version of gcc are you running { try gcc -v)? > *check_ld* > *check_cc* > *BEGIN /tmp/ffconf..localhost..10706973.c* > * 1 int main(void){ return 0; }* > *END /tmp/ffconf..localhost..10706973.c* > *gcc -c -o /tmp/ffconf..localhost..10706973.o > /tmp/ffconf..localhost..10706973.c* > *./configure[2358]: gcc: cannot execute - No such file or directory* The same error as the mktemp test, but this time its serious.... It looks like gcc might not even be installed. > > > Thank you, for your reply. > > Best regards. > -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From gcoppa at nyc.rr.com Fri Dec 9 14:00:26 2011 From: gcoppa at nyc.rr.com (Greg Coppa) Date: Fri, 9 Dec 2011 08:00:26 -0500 Subject: [FFmpeg-user] ffprobe fails with lxf file In-Reply-To: References: <6DB19C7A5C098B4F926E81A6826E08C501CBF4489A@NYDCMX28.cbs.ad.cbs.net> Message-ID: Thanks Carl will take your advice re the cc. Note, I did include the uncut output in my original request albeit with my text interspersed. Best regards, Greg -----Original Message----- From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos Sent: Thursday, December 08, 2011 6:27 PM To: ffmpeg-user at ffmpeg.org Subject: Re: [FFmpeg-user] ffprobe fails with lxf file Coppa, Greg cbs.com> writes: > I'm trying to ffprobe an lxf file and ffprobe fails with: > > [lxf @ 000000000213EA00] checksum error > [lxf @ 000000000213EA00] expected 120 B size header, got 0 > labhdtesttape.lxf: Invalid data found when processing input (For future requests: Complete, uncut output please.) Sounds like ticket 656: https://ffmpeg.org/trac/ffmpeg/ticket/656 Feel free to add yourself to CC. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From coniophora at gmail.com Fri Dec 9 15:19:13 2011 From: coniophora at gmail.com (Jim Worrall) Date: Fri, 9 Dec 2011 07:19:13 -0700 Subject: [FFmpeg-user] smarter scaling filter In-Reply-To: References: Message-ID: <65A13CF5-AF52-4EB8-8E43-9E76F31F9421@gmail.com> On Dec 8, 2011, at 10:16 AM, Jim Worrall wrote: > > On Wed, Dec 7, 2011 at 3:24 PM, Jim Worrall wrote: > I've been trying to find or write a script/filtergraph that will take a target frame size and automatically scale down the input video (maintaining aspect ratio) if needed to fit the frame, and leave it the same if it is already the size or smaller than the frame. I'm in a bit over my head and hoping for some pointers. > > I'm starting with a very clever set of calculations that Francesco Turco posted here 12 June 2011. One side of each plus sign will always evaluate to 0 (escapes removed for clarity; his target frame size was 720x576): > -vf scale = ' > gte(iw/ih,720/576)*720 + lt(iw/ih,720/576)*((576*iw)/ih) : > lte(iw/ih,720/576)*576 + gt(iw/ih,720/576)*((720*ih)/iw) ' > > He thought it was too long, but still seems a great approach. The problem for me is it will upscale too, which seems undesirable if the device doesn't require an exact size. So I'm trying to add some logic to keep the input scale if both iw and ih are the size of or smaller than the frame. While I'm at it, I'm hoping to use some variables from the script for the frame size. > > The bash script asks for the target device (just iPhone 3 or iPhone4 now) and sets device-specific values for the maximum frame width ($FW) and height ($FH) and the corresponding aspect ratio ($FA). The filter also seems to need some stored variables within ffmpeg, but I've only found one example of their real use on the web and couldn't make much sense out of it. I can't figure how st(var,expr) is supposed to be incorporated into the filter, since it can't seem to go before it. And there's a while(cond,expr) I don't know where to put either. > > Here's an idea what I'm trying to do, and I think it is a long way from working. The st(0,expr) that I put in the beginning (not knowing where it goes) stores 0 if both dimensions fit in the target frame. I'm not sure if I can use a script variable inside a filter, hope so. Anyway, the while statement is supposed to convert var 0 to 1 if it is not 0. The rest is just an add-on to Francesco's filter that should specify the input dimensions if var 0 is 0. > -vf = "st(0,gt(iw,$FW)+gt(ih,$FH)) ; > while(ld(0),st(0,1) ; > scale= ld(0) * ( gte(a,$FA)*$FW + lt(a,$FA)*(($FH*iw)/ih) ) + eq(0,ld(0))*iw : > ld(0) * ( lte(a,$FA)*$FH + gt(a,$FA)*(($FW*ih)/iw) ) + eq(0,ld(0))*ih " > > In case it matters, I'm a user/hobbyist. Any tips will be appreciated. Thanks, > Jim > > By trial and error I learned that the variable storage and manipulation functions have > to go where the variables are first used in the actual filter expression. > Doing that I eventually got it to run without errors, so major progress. > > It worked as expected for video > with smaller size than the target frame size, but not with a video that it actually > needed to scale down. One of the functions is apparently not doing what I think it > does. I would appreciate some help. > > Here are the input values from the input file and the target values from the script (which > are getting read correctly). The filter should give a video of 640x360, but it actually gives > 640x720. Below is the scale filter expression and above each line, how I think it should > evaluate for the current case. I guess there is no way to see the value of variables inside > ffmpeg (created with st(var,expr) )? > > Jim > > INPUT values: > iw 1280 > ih 720 > a ~1.78 > TARGET FRAME SIZE values: > $FW 640 > $FH 480 > $FA ~1.33 > > stored in var 0: 1 * > 1 + 1 > -vf="scale = st(0, min( 1 , gt(iw,$FW)+gt(ih,$FH) ) ) * \ > > 640 : > ( 1 *640 + 0 * 853.33 ) + 0 : > ( gte(a,$FA)*$FW + lt(a,$FA)*(($FH*iw)/ih) ) + not(ld(0))*iw : \ > > 360 > 1 * ( 0 *480 + 1 * 360 ) + 0 > ld(0) * ( lte(a,$FA)*$FH + gt(a,$FA)*(($FW*ih)/iw) ) + not(ld(0))*ih " I have finally determined that the problem seems to be a bug in the evaluation of expressions. I reduced the filter to the simplest form needed to show the bug: -vf "scale = st(0\,1) * 640 + not(ld(0)) * 1080 : ld(0) * 480 + not(ld(0)) * 720" Since var 0 is declared as 1, this filter should give a video 640x480, right? Instead, I get 640 x 720. Somehow the program changes the value of var 0 from 1 to 0 between the first use and the last. The not(ld(0)) should not do that, should it? Am I misunderstanding the functions or is this a bug? Here is the complete command and output: ffmpeg -i $INPUT -t 2 -c:v libx264 \ -vf "scale = st(0\,1) * 640 + not(ld(0)) * 1080 : ld(0) * 480 + not(ld(0)) * 720" \ -vprofile main -preset veryslow -x264opts level=3.1:ref=8 -c:a libvo_aacenc -strict experimental -y output.m4v ffmpeg version 0.8.7.git-4547d88, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 5 2011 14:31:39 with clang 3.0 (tags/Apple/clang-211.12) configuration: --prefix=/Volumes/Ramdisk/sw --cc=clang --enable-gpl --enable-version3 --enable-filters --arch=x86_64 --enable-hardcoded-tables --disable-indevs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo-aacenc --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libx264 --enable-libvorbis --enable-libtheora --enable-libspeex libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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: 1200.00 (1200/1) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'kit.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-05-08 00:51:03 Duration: 00:01:21.61, start: 0.000000, bitrate: 10723 kb/s Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 10655 kb/s, 29.81 fps, 29.97 tbr, 600 tbn, 1200 tbc Metadata: creation_time : 2011-05-08 00:51:03 handler_name : Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 63 kb/s Metadata: creation_time : 2011-05-08 00:51:03 handler_name : ?Apple Alias Data Handler [buffer @ 0x7ff861c16640] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: [scale @ 0x7ff861c1ff00] w:1280 h:720 fmt:yuv420p -> w:640 h:720 fmt:yuv420p flags:0x4 [libx264 @ 0x7ff862031800] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x7ff862031800] profile Main, level 3.1 [libx264 @ 0x7ff862031800] 264 - core 119 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=8 deblock=1:0:0 analyse=0x1:0x131 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=0 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=8 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=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, ipod, to 'output.m4v': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-05-08 00:51:03 encoder : Lavf53.24.0 Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 640x720, q=-1--1, 30k tbn, 29.97 tbc Metadata: creation_time : 2011-05-08 00:51:03 handler_name : Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 128 kb/s Metadata: creation_time : 2011-05-08 00:51:03 handler_name : ?Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (aac -> libvo_aacenc) Press [q] to stop, [?] for help frame= 48 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/sframe= 60 fps= 10 q=-1.0 Lsize= 141kB time=00:00:01.93 bitrate= 596.3kbits/s video:106kB audio:32kB global headers:0kB muxing overhead 2.350829% [libx264 @ 0x7ff862031800] frame I:1 Avg QP:24.61 size: 14340 [libx264 @ 0x7ff862031800] frame P:12 Avg QP:26.00 size: 3866 [libx264 @ 0x7ff862031800] frame B:47 Avg QP:30.08 size: 1004 [libx264 @ 0x7ff862031800] consecutive B-frames: 1.7% 0.0% 0.0% 26.7% 41.7% 30.0% 0.0% 0.0% 0.0% [libx264 @ 0x7ff862031800] mb I I16..4: 51.6% 0.0% 48.4% [libx264 @ 0x7ff862031800] mb P I16..4: 1.8% 0.0% 1.3% P16..4: 38.5% 6.3% 10.2% 0.1% 0.0% skip:41.7% [libx264 @ 0x7ff862031800] mb B I16..4: 0.1% 0.0% 0.0% B16..8: 42.8% 1.9% 0.2% direct: 0.3% skip:54.8% L0:40.9% L1:58.0% BI: 1.1% [libx264 @ 0x7ff862031800] direct mvs spatial:91.5% temporal:8.5% [libx264 @ 0x7ff862031800] coded y,uvDC,uvAC intra: 43.4% 36.0% 11.9% inter: 1.7% 2.1% 0.0% [libx264 @ 0x7ff862031800] i16 v,h,dc,p: 49% 7% 6% 38% [libx264 @ 0x7ff862031800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 2% 13% 10% 13% 11% 9% 8% 6% [libx264 @ 0x7ff862031800] i8c dc,h,v,p: 49% 19% 25% 7% [libx264 @ 0x7ff862031800] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x7ff862031800] ref P L0: 55.0% 13.9% 16.3% 4.7% 3.6% 2.6% 2.5% 1.3% [libx264 @ 0x7ff862031800] ref B L0: 85.0% 8.8% 4.1% 1.1% 0.6% 0.2% 0.1% [libx264 @ 0x7ff862031800] ref B L1: 89.8% 10.2% [libx264 @ 0x7ff862031800] kb/s:431.22 logout [Process completed] From peace at AleksandrSolzhenitsyn.net Fri Dec 9 16:09:11 2011 From: peace at AleksandrSolzhenitsyn.net (.) Date: Fri, 09 Dec 2011 10:09:11 -0500 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: <20111208142709.16c03bdb@lrcd.com> References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> <20111208142709.16c03bdb@lrcd.com> Message-ID: <4EE22497.4050501@AleksandrSolzhenitsyn.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/08/2011 06:27 PM, Lou wrote: > On Thu, 8 Dec 2011 16:18:34 -0700 > Jim Worrall wrote: > >> On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: >> >>> On Thu, 08 Dec 2011 16:58:23 -0500 >>> "." wrote: >>> >>>> I have an mp4 that's 2 minutes long. >>>> >>>> >>>> - From the video I want to remove from 1 minute 10 seconds until >>>> 1 minute 50 seconds. >>>> >>>> How do I do it? >>> >>> ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output >>> or >>> ffmpeg -i input -ss 70 -t 40 -c copy output >>> >>> >> Wouldn't that KEEP only the middle part, rather than removing it? > > Yes. > >> It sounds like he wants to discard the middle and keep the rest. > > I was assuming the middle section was what he wanted. Anybody know how to do it? > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO4iSWAAoJEPBpZNn4grcjdlEIAI9r81W0nDrFUjtrCuazqPtU z4gmmzGqeQHelLN5oWNmLwenXwj2e9sqpL0w+yTcrbrscAitMXVHpKWllB3I5FiL ccOReCqPeYMMB4YRMB+Jlt8VX/Wvc+a2B3jZ00Tf5Q5/ILf1gKJC/p5vvnKVG8L9 K0Og6782X2LL3Y/9tApMePmyVXfV0W3PtJaMRE6iNeSWMIWd3fjztUteOoPb69k3 7O9vRCOcRGcASYhUH3sN1Lmle0yR3aEAEnzGGnVy6IlU101MF3aYF35cluVHX3nF dTAuf8/S72jqkIxVV8RBO7Ke4qGHN2goc1so7XA1UnIYJESEL4Nmka3IvoQZQZY= =fzJk -----END PGP SIGNATURE----- From coniophora at gmail.com Fri Dec 9 16:39:21 2011 From: coniophora at gmail.com (Jim Worrall) Date: Fri, 9 Dec 2011 08:39:21 -0700 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: <4EE22497.4050501@AleksandrSolzhenitsyn.net> References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> <20111208142709.16c03bdb@lrcd.com> <4EE22497.4050501@AleksandrSolzhenitsyn.net> Message-ID: On Fri, Dec 9, 2011 at 8:09 AM, . wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > On 12/08/2011 06:27 PM, Lou wrote: > > On Thu, 8 Dec 2011 16:18:34 -0700 > > Jim Worrall wrote: > > > >> On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: > >> > >>> On Thu, 08 Dec 2011 16:58:23 -0500 > >>> "." wrote: > >>> > >>>> I have an mp4 that's 2 minutes long. > >>>> > >>>> > >>>> - From the video I want to remove from 1 minute 10 seconds until > >>>> 1 minute 50 seconds. > >>>> > >>>> How do I do it? > >>> > >>> ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output > >>> or > >>> ffmpeg -i input -ss 70 -t 40 -c copy output > >>> > >>> > >> Wouldn't that KEEP only the middle part, rather than removing it? > > > > Yes. > > > >> It sounds like he wants to discard the middle and keep the rest. > > > > I was assuming the middle section was what he wanted. > > Anybody know how to do it? > > > I'm no expert, but I'm guessing you would have to crop and save the beginning and end of the clip using the technique that Lou showed, resulting in two files, then join them using the instructions here http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f Jim From openworld at uralweb.ru Fri Dec 9 16:48:45 2011 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Fri, 9 Dec 2011 20:48:45 +0500 Subject: [FFmpeg-user] Cut out middle of a video? In-Reply-To: <4EE22497.4050501@AleksandrSolzhenitsyn.net> References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> <20111208142709.16c03bdb@lrcd.com> <4EE22497.4050501@AleksandrSolzhenitsyn.net> Message-ID: <4ECFD078-50B5-4062-A7F4-8650035A7AFB@uralweb.ru> On 09.12.2011, at 20:09, . wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > On 12/08/2011 06:27 PM, Lou wrote: >> On Thu, 8 Dec 2011 16:18:34 -0700 >> Jim Worrall wrote: >> >>> On Thu, Dec 8, 2011 at 3:45 PM, Lou wrote: >>> >>>> On Thu, 08 Dec 2011 16:58:23 -0500 >>>> "." wrote: >>>> >>>>> I have an mp4 that's 2 minutes long. >>>>> >>>>> >>>>> - From the video I want to remove from 1 minute 10 seconds until >>>>> 1 minute 50 seconds. >>>>> >>>>> How do I do it? >>>> >>>> ffmpeg -i input -ss 00:01:10.00 -t 00:00:40.00 -c copy output >>>> or >>>> ffmpeg -i input -ss 70 -t 40 -c copy output >>>> >>>> >>> Wouldn't that KEEP only the middle part, rather than removing it? >> >> Yes. >> >>> It sounds like he wants to discard the middle and keep the rest. >> >> I was assuming the middle section was what he wanted. > > Anybody know how to do it? I believe you need mencoder for that + batch file, cutting off both parts of the source. AFAIK ffmpeg can't join videos. From cehoyos at ag.or.at Fri Dec 9 17:13:18 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 9 Dec 2011 16:13:18 +0000 (UTC) Subject: [FFmpeg-user] ffprobe fails with lxf file References: <6DB19C7A5C098B4F926E81A6826E08C501CBF4489A@NYDCMX28.cbs.ad.cbs.net> Message-ID: Greg Coppa nyc.rr.com> writes: > Note, I did include the uncut output in my original request albeit with my > text interspersed. Even after looking again at your original mail, ffmpeg's console output looks very severely cut. Please do not top-post, Carl Eugen From cehoyos at ag.or.at Fri Dec 9 17:11:47 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 9 Dec 2011 16:11:47 +0000 (UTC) Subject: [FFmpeg-user] compress security video References: <20111209112529.246440@gmx.com> Message-ID: Ian James linuxmail.org> writes: > I need to compress colour security videos for archive. Did you try ffv1 (possibly with -coder 1)? Carl Eugen From cehoyos at ag.or.at Fri Dec 9 17:16:02 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 9 Dec 2011 16:16:02 +0000 (UTC) Subject: [FFmpeg-user] Decode problem with mpeg-1 audio in MXF References: <4EE073FC.2010000@mdsh.com> <3ddea7d0.25365.1341d090b87.Coremail.13760746839@163.com> Message-ID: ?? <13760746839 163.com> writes: > When decode with ffplay,it resulted errors:"[mpeg2video @ 03259E20] codec type > or id mismatches" > > I tested the file with an old version ffmpeg (published at year 2007),it > doesn't have this problem. > > I have uploaded the sample file to the following position,anybody interested > please download it > > http://www.datafilehost.com/download-c570856f.html This is a regression since 2008 (!), I opened ticket #721 and sent a patch (actually two) yesterday to ffmpeg-devel to fix the bug, unfortunately, the patches do not apply anymore today;-( Feel free to add yourself to CC in the ticket. Please do not highjack threads, this is considered highly rude, Carl Eugen From cehoyos at ag.or.at Fri Dec 9 17:22:42 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 9 Dec 2011 16:22:42 +0000 (UTC) Subject: [FFmpeg-user] Cut out middle of a video? References: <4EE132FF.7040902@aleksandrsolzhenitsyn.net> <20111208134515.2f682856@lrcd.com> <20111208142709.16c03bdb@lrcd.com> <4EE22497.4050501@AleksandrSolzhenitsyn.net> <4ECFD078-50B5-4062-A7F4-8650035A7AFB@uralweb.ru> Message-ID: Alexander Bokovikov uralweb.ru> writes: > >>> It sounds like he wants to discard the middle and keep the rest. > > Anybody know how to do it? Create two files and merge them. > I believe you need mencoder for that + batch file, cutting off both > parts of the source. > AFAIK ffmpeg can't join videos. It does it exactly as good (or actually bad) as MEncoder, but FFmpeg has the slight advantage that it is actively maintained. Carl Eugen From openworld at uralweb.ru Fri Dec 9 18:49:52 2011 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Fri, 9 Dec 2011 22:49:52 +0500 Subject: [FFmpeg-user] Was: A problem with scale filter - possible solution Message-ID: Hi, All, This is not a bug report, but a possible solution, so I hope it is legal here... Pixel aspect ratio fix: vf_scale.c:236 if (inlink->sample_aspect_ratio.num != 1 || inlink- >sample_aspect_ratio.den != 1){ outlink->sample_aspect_ratio = av_mul_q((AVRational){outlink- >h * inlink->w, outlink->w * inlink->h}, inlink->sample_aspect_ratio); } else outlink->sample_aspect_ratio = inlink->sample_aspect_ratio; vf_scale.c:265 if (picref->video->sample_aspect_ratio.num != 1 || picref->video- >sample_aspect_ratio.den != 1) av_reduce(&outpicref->video->sample_aspect_ratio.num, &outpicref- >video->sample_aspect_ratio.den, (int64_t)picref->video->sample_aspect_ratio.num * outlink->h * link->w, (int64_t)picref->video->sample_aspect_ratio.den * outlink->w * link->h, INT_MAX); else { outpicref->video->sample_aspect_ratio.num = picref->video- >sample_aspect_ratio.num; outpicref->video->sample_aspect_ratio.den = picref->video- >sample_aspect_ratio.den; } In general I'm not sure I know what you change pixel aspect ratio for, but it isn't worth of doing at least when the source has 1:1, isn't it? Hope this can be fixed. From rsivaraman at shufflemaster.com Fri Dec 9 19:31:05 2011 From: rsivaraman at shufflemaster.com (Ramkumar Sivaraman (Table Master)) Date: Fri, 9 Dec 2011 18:31:05 +0000 Subject: [FFmpeg-user] avcodec-53.dll invalid or corrupt Message-ID: <8F46297FEF8AB94DA683BDEEA811A9660183CD@LVMAIL02.shufflemaster.com> Hello I am brand new to using ffmpeg. I am trying to build ffmpeg libraries using mingw/msys as I am trying to use those libraries in my vc++ 2008 project. I followed the instruction listed in the ffmpeg documentation http://www.ffmpeg.org/general.html#Using-static-libraries To build shared libraries. When I try to use in my vc++ project., first it said, it could not locate avcodec-53.dll. Then I mentioned this dll under project properties->linker->input->additional dependencies. Now it says 'avocodec-53.dll is invalid or corrupt'. Can you please help me out in this? I am not much familiar with linux. I used 'output-example.c' for my vc++ win32 console project. Also I don't know how to use this line mentioned in the document, extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[]; I also created 'import libraries that work with the /OPT:REF option' as mentioned in the document. One thing I noticed was, when I issued ' ./configure -enable shared -disable-yasm' command, msys executed but with a warning saying, 'pkg-config not found, library detection may fail.' Thanks in advance Ramkumar Sivaraman | Engineer | SHUFFLE MASTER, INC. | Main +1 702 897 7150 | Direct +1 702 432 4569 Follow Us: [Shuffle Master on Twitter] [Shuffle Master IR News on Twitter] [Shuffle Master on Facebook] [Shuffle Master on Flickr] [Shuffle Master on Youtube] [Shuffle Master on Foursquare] [Shuffle Master on Linkedin] ------------------------------------------------------------------------------------------ Internet Confidentiality Statement This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. From renaux.jacky at orange.fr Fri Dec 9 20:28:49 2011 From: renaux.jacky at orange.fr (jacky) Date: Fri, 9 Dec 2011 20:28:49 +0100 Subject: [FFmpeg-user] rtmp issue Message-ID: <248AA67B056846049D3D9C4A294C6264@portable> Hi Since my first post I made progress I try to send rtmp stream from my single pc to a red5 based server Using wifi and distant internet connection Option 1: My command line is : ffmpeg -i %f_in% %cmdline% %f_out% $f_in = macula1.vob $cmdline = -f flv -b:v 400k -an f_out = "rtmp://video-utl.univ-evry.fr/oflaDemo/live" The results are : there are succesive connection, few datas has been transfered but seems not completed with : av_interleaved_write_frame() error I cannot complete even if ffmpeg is not requested to perform encoding but only copy already encoded files Second option same rtmp and app values Using Flash Media Live Encoder from adobe (FMLE) All is fine without error and I can perform live encoding using from my PC videos , performs encoding and readback over internet performing a live video conference brodcast Conclusion (from an non expert) it seems rtmp protocols is not undestood by red5 server . Is there any changes I can made on the server ? Do you have any advices , can I some help ? Do you want the full datas (details) logs, I can gives you all Regards Jacky From charisma777 at gmail.com Fri Dec 9 08:25:39 2011 From: charisma777 at gmail.com (charisma tubagus) Date: Fri, 9 Dec 2011 14:25:39 +0700 Subject: [FFmpeg-user] Problem with compiling first time Message-ID: Hi, I would like to use FFMpeg since I would like to study about video encoding. This is my code (very simple one) since I want to test whether my setting up is correct. I am using Visual C++ 2008 Express #include > #include > int main(int argc, char *argv[]) > { > return 0; > } My error is like this fatal error C1083: Cannot open include file: 'inttypes.h': No such file or > directory Please suggest me how to solve this problem. Thank you. Best Regards, Charisma TS From spider58 at gmail.com Fri Dec 9 20:19:04 2011 From: spider58 at gmail.com (spider58) Date: Fri, 9 Dec 2011 21:19:04 +0200 Subject: [FFmpeg-user] FFmpeg compile error with frei0r on windows Message-ID: Hello. I've installen MinGW on my pc. and i need frei0r plugin. Downloaded lastest ffmpeg git my comments above *./configure --enable-frei0r* that was giving error message *frei0r.h header not found* i've tried to download frei0r plugin and copied frei0r.h file to ffmpeg/libavfilters directory. But error is same. How can i fix this problem. Your latest ffmpeg.exe is can't found frei0r plugin. i need recompile. but have this problem. Inadvance thanks for your relations From demimurych at mail.ru Fri Dec 9 22:48:05 2011 From: demimurych at mail.ru (demimurych) Date: Fri, 9 Dec 2011 23:48:05 +0200 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. Message-ID: <201112092348.05340.demimurych@mail.ru> Hello. I'm currently working with libavfilter and have a question relating watermarks. What I already know is how to put a watermark on a whole video clip. ffmpeg -i inputfile -vf "movie=650_360_net.png [logo]; [in][logo] overlay=W- w-20:H-h-20 [out]" outpufile What I'm trying to achieve is to place a watermark that would only be visible from some certain point and to some point - for example, only the first 10 seconds of the video clip. If there's a workaround that can make it possible please let me know. I'm stuck on this issue right now so I would be glad to receive an answer. Thanks in advance. Best regards, Max From bouke at editb.nl Fri Dec 9 23:22:50 2011 From: bouke at editb.nl (bouke) Date: Fri, 9 Dec 2011 23:22:50 +0100 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. References: <201112092348.05340.demimurych@mail.ru> Message-ID: <002b01ccb6c1$1cf1be10$4301a8c0@hpkantoor> Check Avisynth and conditional reading. Works swell for me. Bouke VideoToolShed van Oldenbarneveltstraat 33 6512 AS NIJMEGEN The Netherlands +31 24 3553311 www.videotoolshed.com For large files: http://dropbox.yousendit.com/BoukeVahl998172 ----- Original Message ----- From: "demimurych" To: Sent: Friday, December 09, 2011 10:48 PM Subject: [FFmpeg-user] lbavfilter. watermark. time interval. > Hello. > > I'm currently working with libavfilter and have a question relating > watermarks. > > What I already know is how to put a watermark on a whole video clip. > ffmpeg -i inputfile -vf "movie=650_360_net.png [logo]; [in][logo] > overlay=W- > w-20:H-h-20 [out]" outpufile > > What I'm trying to achieve is to place a watermark that would only be > visible > from some certain point and to some point - for example, only the first 10 > seconds of the video clip. > > If there's a workaround that can make it possible please let me know. I'm > stuck on this issue right now so I would be glad to receive an answer. > > Thanks in advance. > > Best regards, > Max > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From ubitux at gmail.com Sat Dec 10 00:18:17 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Sat, 10 Dec 2011 00:18:17 +0100 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <201112092348.05340.demimurych@mail.ru> References: <201112092348.05340.demimurych@mail.ru> Message-ID: <20111209231817.GK10300@leki> On Fri, Dec 09, 2011 at 11:48:05PM +0200, demimurych wrote: > Hello. > > I'm currently working with libavfilter and have a question relating watermarks. > > What I already know is how to put a watermark on a whole video clip. > ffmpeg -i inputfile -vf "movie=650_360_net.png [logo]; [in][logo] overlay=W- > w-20:H-h-20 [out]" outpufile > > What I'm trying to achieve is to place a watermark that would only be visible > from some certain point and to some point - for example, only the first 10 > seconds of the video clip. > > If there's a workaround that can make it possible please let me know. I'm > stuck on this issue right now so I would be glad to receive an answer. > > Thanks in advance. > Maybe you could generate a 10 seconds video with your source image, and use it as overlay? -- 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 renaux.jacky at orange.fr Sat Dec 10 00:55:18 2011 From: renaux.jacky at orange.fr (jacky) Date: Sat, 10 Dec 2011 00:55:18 +0100 Subject: [FFmpeg-user] RE : lbavfilter. watermark. time interval. In-Reply-To: <002b01ccb6c1$1cf1be10$4301a8c0@hpkantoor> Message-ID: <5055228D09CD44D1BD3507C1BF630981@portable> Hi I have a small function running on avisynth which will insert a logo Moving around the screen all the video long. This means which The logo is not detected as it is mouving and cannot be substitured by An other one . For a video which takes 90mn it is quite impossible to Be desapointed by the moving Regards jacky -----Message d'origine----- De : ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] De la part de bouke Envoy? : vendredi 9 d?cembre 2011 23:23 ? : FFmpeg user questions and RTFMs Objet : Re: [FFmpeg-user] lbavfilter. watermark. time interval. Check Avisynth and conditional reading. Works swell for me. Bouke VideoToolShed van Oldenbarneveltstraat 33 6512 AS NIJMEGEN The Netherlands +31 24 3553311 www.videotoolshed.com For large files: http://dropbox.yousendit.com/BoukeVahl998172 ----- Original Message ----- From: "demimurych" To: Sent: Friday, December 09, 2011 10:48 PM Subject: [FFmpeg-user] lbavfilter. watermark. time interval. > Hello. > > I'm currently working with libavfilter and have a question relating > watermarks. > > What I already know is how to put a watermark on a whole video clip. > ffmpeg -i inputfile -vf "movie=650_360_net.png [logo]; [in][logo] > overlay=W- > w-20:H-h-20 [out]" outpufile > > What I'm trying to achieve is to place a watermark that would only be > visible > from some certain point and to some point - for example, only the first 10 > seconds of the video clip. > > If there's a workaround that can make it possible please let me know. > I'm stuck on this issue right now so I would be glad to receive an > answer. > > Thanks in advance. > > Best regards, > Max > _______________________________________________ > 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 coniophora at gmail.com Sat Dec 10 01:01:22 2011 From: coniophora at gmail.com (Jim Worrall) Date: Fri, 9 Dec 2011 17:01:22 -0700 Subject: [FFmpeg-user] smarter scaling filter In-Reply-To: <65A13CF5-AF52-4EB8-8E43-9E76F31F9421@gmail.com> References: <65A13CF5-AF52-4EB8-8E43-9E76F31F9421@gmail.com> Message-ID: <4B93661F-05F8-494F-BCF2-125AC615DF5D@gmail.com> On Dec 9, 2011, at 7:19 AM, Jim Worrall wrote: > > On Dec 8, 2011, at 10:16 AM, Jim Worrall wrote: > >> >> On Wed, Dec 7, 2011 at 3:24 PM, Jim Worrall wrote: >> I've been trying to find or write a script/filtergraph that will take a target frame size and automatically scale down the input video (maintaining aspect ratio) if needed to fit the frame, and leave it the same if it is already the size or smaller than the frame. I'm in a bit over my head and hoping for some pointers. >> >> I'm starting with a very clever set of calculations that Francesco Turco posted here 12 June 2011. One side of each plus sign will always evaluate to 0 (escapes removed for clarity; his target frame size was 720x576): >> -vf scale = ' >> gte(iw/ih,720/576)*720 + lt(iw/ih,720/576)*((576*iw)/ih) : >> lte(iw/ih,720/576)*576 + gt(iw/ih,720/576)*((720*ih)/iw) ' >> >> He thought it was too long, but still seems a great approach. The problem for me is it will upscale too, which seems undesirable if the device doesn't require an exact size. So I'm trying to add some logic to keep the input scale if both iw and ih are the size of or smaller than the frame. While I'm at it, I'm hoping to use some variables from the script for the frame size. >> >> The bash script asks for the target device (just iPhone 3 or iPhone4 now) and sets device-specific values for the maximum frame width ($FW) and height ($FH) and the corresponding aspect ratio ($FA). The filter also seems to need some stored variables within ffmpeg, but I've only found one example of their real use on the web and couldn't make much sense out of it. I can't figure how st(var,expr) is supposed to be incorporated into the filter, since it can't seem to go before it. And there's a while(cond,expr) I don't know where to put either. >> >> Here's an idea what I'm trying to do, and I think it is a long way from working. The st(0,expr) that I put in the beginning (not knowing where it goes) stores 0 if both dimensions fit in the target frame. I'm not sure if I can use a script variable inside a filter, hope so. Anyway, the while statement is supposed to convert var 0 to 1 if it is not 0. The rest is just an add-on to Francesco's filter that should specify the input dimensions if var 0 is 0. >> -vf = "st(0,gt(iw,$FW)+gt(ih,$FH)) ; >> while(ld(0),st(0,1) ; >> scale= ld(0) * ( gte(a,$FA)*$FW + lt(a,$FA)*(($FH*iw)/ih) ) + eq(0,ld(0))*iw : >> ld(0) * ( lte(a,$FA)*$FH + gt(a,$FA)*(($FW*ih)/iw) ) + eq(0,ld(0))*ih " >> >> In case it matters, I'm a user/hobbyist. Any tips will be appreciated. Thanks, >> Jim >> >> By trial and error I learned that the variable storage and manipulation functions have >> to go where the variables are first used in the actual filter expression. >> Doing that I eventually got it to run without errors, so major progress. >> >> It worked as expected for video >> with smaller size than the target frame size, but not with a video that it actually >> needed to scale down. One of the functions is apparently not doing what I think it >> does. I would appreciate some help. >> >> Here are the input values from the input file and the target values from the script (which >> are getting read correctly). The filter should give a video of 640x360, but it actually gives >> 640x720. Below is the scale filter expression and above each line, how I think it should >> evaluate for the current case. I guess there is no way to see the value of variables inside >> ffmpeg (created with st(var,expr) )? >> >> Jim >> >> INPUT values: >> iw 1280 >> ih 720 >> a ~1.78 >> TARGET FRAME SIZE values: >> $FW 640 >> $FH 480 >> $FA ~1.33 >> >> stored in var 0: 1 * >> 1 + 1 >> -vf="scale = st(0, min( 1 , gt(iw,$FW)+gt(ih,$FH) ) ) * \ >> >> 640 : >> ( 1 *640 + 0 * 853.33 ) + 0 : >> ( gte(a,$FA)*$FW + lt(a,$FA)*(($FH*iw)/ih) ) + not(ld(0))*iw : \ >> >> 360 >> 1 * ( 0 *480 + 1 * 360 ) + 0 >> ld(0) * ( lte(a,$FA)*$FH + gt(a,$FA)*(($FW*ih)/iw) ) + not(ld(0))*ih " > > > I have finally determined that the problem seems to be a bug in the evaluation of expressions. > I reduced the filter to the simplest form needed to show the bug: > > -vf "scale = st(0\,1) * 640 + not(ld(0)) * 1080 : ld(0) * 480 + not(ld(0)) * 720" > . . . . I found out I could reduce this expression even further, and it still seems to produce the wrong result: -vf "scale = st(0,1) * 640 : ld(0) * 480" The first function, st(0,1), evaluates to 1, and the output file has a width of 640. The second function, ld(0), apparently evaluates to 0, and the output retains its original height. Isn't ld(0) supposed to reload var 0 with a value of 1? Does a variable not survive a colon, or what? Is it possible I screwed up the compilation and made a bad ffmpeg? I could really use some help here guys! Jim ffmpeg version 0.8.7.git-5b98ea1, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 9 2011 16:52:59 with clang 3.0 (tags/Apple/clang-211.12) configuration: --prefix=/Volumes/Ramdisk/sw --cc=clang --enable-gpl --enable-version3 --enable-filters --arch=x86_64 --enable-hardcoded-tables --disable-indevs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo-aacenc --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libx264 --enable-libvorbis --enable-libtheora --enable-libspeex libavutil 51. 31. 0 / 51. 31. 0 libavcodec 53. 42. 0 / 53. 42. 0 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 52. 0 / 2. 52. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 From imsaurabhrawat at gmail.com Sat Dec 10 10:47:52 2011 From: imsaurabhrawat at gmail.com (s.rawat) Date: Sat, 10 Dec 2011 15:17:52 +0530 Subject: [FFmpeg-user] External UVC Camera Video Streaming/Image Capturing using ffmpeg Message-ID: Hi, I am trying to perform the image /video capturing using ffmpeg for an external uvc camera connected to my arm device/board.I have compiled the source code using ndk5 and i have got ffmpeg lib whcih I have placed in the system/lib folder and issuing the following command ffmpeg -y -t 25 -f video4linux2 -r 15 -s 320*240 -pix_fmt yuyv422 -i /dev/video1 -an -f avi Test_QVGA1.avi But I am the following output/error(see in *Bold* at last) --> FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers built on Dec 8 2011 17:46:40 with gcc 4.4.3 configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-decoder=rawvideo --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --enable-filter=scale --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi --extra-cflags= --extra-ldflags= WARNING: library configuration mismatch avutil configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags= avcore configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags= avcodec configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-decoder=rawvideo --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --enable-filter=scale --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags= avformat configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags= avfilter configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --enable-filter=scale --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags= swscale configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags= postproc configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk-r6//platforms/android-3/arch-arm --soname-prefix=/system/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-indevs --enable-protocol=file --enable-encoder=mpeg1video --enable-encoder=nellymoser --enable-avfilter --enable-avfilter --enable-vdpau --enable-bzlib --enable-pthreads --enable-muxer=mpeg1video --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-muxer=m4v --enable-postproc --enable-swscale --enable-x11grab --enable-demuxer=m4v --enable-demuxer=mpegvideo --enable-shared --disable-static --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags= libavutil 50.34. 0 / 50.34. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec 52.99. 1 / 52.99. 1 libavformat 52.88. 0 / 52.88. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.69. 0 / 1.69. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [video4linux2 @ 0x27d00] open video device 3 [video4linux2 @ 0x27d00] Estimating duration from bitrate, this may be inaccurate Input #0, video4linux2, from '/dev/video1': Duration: N/A, start: 23216.101269, bitrate: 18432 kb/s Stream #0.0: Video: rawvideo, yuyv422, 320x240, 18432 kb/s, 15 tbr, 1000k tbn, 15 tbc *Requested output format 'avi' is not a suitable output format ioctl(VIDIOC_QBUF) * My aim is to stream the video up to the Android UI and display it using the android media player. It would be great if some one could guide me some direction towards this. Thanking you with great faith and hope in this community. Rgds, Saurabh From peace at aleksandrsolzhenitsyn.net Sat Dec 10 13:13:21 2011 From: peace at aleksandrsolzhenitsyn.net (.) Date: Sat, 10 Dec 2011 07:13:21 -0500 Subject: [FFmpeg-user] Capture portions of DVD video? Message-ID: <4EE34CE1.8050908@aleksandrsolzhenitsyn.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Let's say you're watching a DVD on your computer and want to capture part of the video while watching it. How can that be done with FFMPEG? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO40zdAAoJEPBpZNn4grcjxzIIAJHEYwmdeSXnnpTnGb95b6bx ac4ylA/pUmcmfa2T+igZkZOlSMkS+sVza+PYDVvxwJsDwZn//drUcnAreB8JpwHl 4g9+WyGLtszYMcjcXp9D3CZi+8cVSfO6ViWEQ4QC23Wnaxb4qk4pQnfcui5EZttd 7GlrS7ZHv9lzSrHvpqg0pdC71m93AMu9vliLf3NNWMhY4604re33G3GKaeIyp5eH 8pelrY3VY4QOrYEF7Mvy2vCVscPP+dKSzHeUkduYSMV/sGM16JybgxRHlNDT7Wo3 /H6cfmtT+7rlhe66wSl41mKatC0VHV28F0I463qLSLg8PeBKfcm6kcOohEVUx1A= =cUde -----END PGP SIGNATURE----- From exampte01 at hotmail.fr Sat Dec 10 14:16:09 2011 From: exampte01 at hotmail.fr (aple ex) Date: Sat, 10 Dec 2011 14:16:09 +0100 Subject: [FFmpeg-user] coding in 2 pass with libx264 Message-ID: Hi ffpmeg users, I 'm sorry if the questions is already asked but if it is, I don't find it. I try to encode in 2 pass with libx264 but ffmpeg failed because it's not possible with crf. How can I disable it ? I have tried with the -fastfirstpass option in ffmpeg but that's fail. I join the complete output console : [test at ltest ffmpeg]$ ./ffmpeg -i /data/8femmes.ts -pass 1 -c:v libx264 -fastfirstpass 0.2 -preset slower -passlogfile /home/test/passguepar2d.txt -f rawvideo -y /dev/null ffmpeg version 0.8.7.git-HEAD-2483f53, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 10 2011 14:09:20 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) configuration: --arch=x86_64 --cpu=64 --disable-ffserver --enable-extra-warnings --enable-pic --enable-nonfree --enable-version3 --enable-hardcoded-tables --enable-libopenjpeg --enable-gpl --enable-libfreetype --enable-avformat --enable-avfilter --enable-libmp3lame --enable-pthreads --enable-libxvid --enable-libtheora --enable-libvorbis --enable-postproc --enable-libspeex --enable-bzlib --enable-zlib --enable-stripping --enable-libdc1394 --enable-libschroedinger --enable-libgsm --enable-libvpx --enable-x11grab --enable-librtmp --enable-sram --enable-libfaac --enable-vdpau --enable-swscale --enable-fastdiv --enable-decoder=srt --enable-encoder=srt --enable-muxer=srt --enable-demuxer=srt --enable-vaapi --enable-libx264 --enable-libopencv --enable-optimizations --enable-runtime-cpudetect --enable-openal --enable-libdirac --enable-libaacplus --enable-libvo-aacenc --enable-libopencore-amrnb --enable-libmodplug --enable-libcdio --enable-libv4l2 --enable-libass 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. 52. 0 / 2. 52. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [aac @ 0x256d1e0] Sample rate index in program config element does not match the sample rate index configured by the container. [aac @ 0x256d1e0] Input buffer exhausted before END element found [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [aac @ 0x256e6c0] channel element 2.1 is not allocated [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [h264 @ 0x256c7e0] non-existing PPS referenced [h264 @ 0x256c7e0] non-existing PPS 0 referenced [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] no frame! [mpegts @ 0x2568ae0] max_analyze_duration 5000000 reached at 5013333 [mpegts @ 0x2568ae0] PES packet size mismatch Last message repeated 2 times Input #0, mpegts, from '/data/8femmes.ts': Duration: 02:00:00.04, start: 4577.324778, bitrate: 4806 kb/s Program 56126 Stream #0:0[0x44]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 27.48 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x45](fra): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 112 kb/s Stream #0:2[0x46](fra): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:3[0x47](deu): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 69 kb/s [buffer @ 0x256ef80] w:1440 h:1080 pixfmt:yuv420p tb:1/1000000 sar:4/3 sws_param: [libx264 @ 0x256b140] using SAR=4/3 [libx264 @ 0x256b140] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x256b140] profile High, level 5.0 Output #0, rawvideo, to '/dev/null': Metadata: encoder : Lavf53.24.0 Stream #0:0: Video: h264, yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=-1--1, pass 1, 90k tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Press [q] to stop, [?] for help [h264 @ 0x256c7e0] reference picture missing during reorder Last message repeated 3 times [h264 @ 0x256c7e0] Missing reference picture [h264 @ 0x256c7e0] decode_slice_header error [h264 @ 0x256c7e0] concealing 6120 DC, 6120 AC, 6120 MV errors [h264 @ 0x256c7e0] Missing reference picture Last message repeated 2 times [h264 @ 0x256c7e0] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x256c7e0] Missing reference picture Last message repeated 1 times [h264 @ 0x256c7e0] reference picture missing during reorder [h264 @ 0x256c7e0] Missing reference picture frame= 252 fps= 5 q=-1.0 Lsize= 0kB time=00:00:10.00 bitrate= 0.0kbits/s dup=34 drop=0 video:4898kB audio:0kB global headers:0kB muxing overhead -100.000000% [libx264 @ 0x256b140] frame I:3 Avg QP:18.82 size: 77317 [libx264 @ 0x256b140] frame P:116 Avg QP:23.53 size: 28018 [libx264 @ 0x256b140] frame B:133 Avg QP:25.79 size: 11527 [libx264 @ 0x256b140] consecutive B-frames: 23.8% 9.5% 23.8% 42.9% [libx264 @ 0x256b140] mb I I16..4: 27.6% 59.0% 13.3% [libx264 @ 0x256b140] mb P I16..4: 10.3% 14.4% 3.2% P16..4: 25.6% 5.7% 3.1% 0.2% 0.0% skip:37.4% [libx264 @ 0x256b140] mb B I16..4: 0.8% 1.2% 0.2% B16..8: 33.4% 4.5% 1.1% direct: 6.2% skip:52.6% L0:39.4% L1:49.3% BI:11.3% [libx264 @ 0x256b140] 8x8 transform intra:52.4% inter:75.9% [libx264 @ 0x256b140] direct mvs spatial:95.5% temporal:4.5% [libx264 @ 0x256b140] coded y,uvDC,uvAC intra: 48.2% 54.0% 15.7% inter: 11.7% 20.7% 1.8% [libx264 @ 0x256b140] i16 v,h,dc,p: 20% 34% 5% 41% [libx264 @ 0x256b140] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 9% 17% 8% 9% 12% 7% 11% 9% [libx264 @ 0x256b140] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 8% 69% 6% 3% 3% 3% 2% 3% 4% [libx264 @ 0x256b140] i8c dc,h,v,p: 29% 34% 24% 13% [libx264 @ 0x256b140] Weighted P-Frames: Y:11.2% UV:9.5% [libx264 @ 0x256b140] ref P L0: 61.3% 11.3% 15.4% 4.5% 2.6% 1.9% 1.5% 1.0% 0.4% 0.0% [libx264 @ 0x256b140] ref B L0: 86.6% 8.9% 2.5% 0.8% 0.6% 0.4% 0.2% [libx264 @ 0x256b140] ref B L1: 95.8% 4.2% [libx264 @ 0x256b140] kb/s:3980.22 [test at ltest ffmpeg]$ ./ffmpeg -i /data/8femmes.ts -pass 2 -c:v libx264 -passlogfile /home/test/passguepar2d.txt -an -sn /data/test8.h264 ffmpeg version 0.8.7.git-HEAD-2483f53, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 10 2011 14:09:20 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) configuration: --arch=x86_64 --cpu=64 --disable-ffserver --enable-extra-warnings --enable-pic --enable-nonfree --enable-version3 --enable-hardcoded-tables --enable-libopenjpeg --enable-gpl --enable-libfreetype --enable-avformat --enable-avfilter --enable-libmp3lame --enable-pthreads --enable-libxvid --enable-libtheora --enable-libvorbis --enable-postproc --enable-libspeex --enable-bzlib --enable-zlib --enable-stripping --enable-libdc1394 --enable-libschroedinger --enable-libgsm --enable-libvpx --enable-x11grab --enable-librtmp --enable-sram --enable-libfaac --enable-vdpau --enable-swscale --enable-fastdiv --enable-decoder=srt --enable-encoder=srt --enable-muxer=srt --enable-demuxer=srt --enable-vaapi --enable-libx264 --enable-libopencv --enable-optimizations --enable-runtime-cpudetect --enable-openal --enable-libdirac --enable-libaacplus --enable-libvo-aacenc --enable-libopencore-amrnb --enable-libmodplug --enable-libcdio --enable-libv4l2 --enable-libass 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. 52. 0 / 2. 52. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [aac @ 0x278a1e0] Sample rate index in program config element does not match the sample rate index configured by the container. [aac @ 0x278a1e0] Input buffer exhausted before END element found [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [aac @ 0x278b6c0] channel element 2.1 is not allocated [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [h264 @ 0x27897e0] non-existing PPS referenced [h264 @ 0x27897e0] non-existing PPS 0 referenced [h264 @ 0x27897e0] decode_slice_header error [h264 @ 0x27897e0] no frame! [mpegts @ 0x2785ae0] max_analyze_duration 5000000 reached at 5013333 [mpegts @ 0x2785ae0] PES packet size mismatch Last message repeated 2 times Input #0, mpegts, from '/data/8femmes.ts': Duration: 02:00:00.04, start: 4577.324778, bitrate: 4806 kb/s Program 56126 Stream #0:0[0x44]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 27.48 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x45](fra): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 112 kb/s Stream #0:2[0x46](fra): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:3[0x47](deu): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 69 kb/s [buffer @ 0x278bee0] w:1440 h:1080 pixfmt:yuv420p tb:1/1000000 sar:4/3 sws_param: [libx264 @ 0x278c8a0] using SAR=4/3 [libx264 @ 0x278c8a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 [libx264 @ 0x278c8a0] constant rate-factor is incompatible with 2pass. Output #0, h264, to '/data/test8.h264': Stream #0:0: Video: h264, yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=-1--1, pass 2, 90k tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height I try to add a -qcomp option but the result is the same ... Thanks in advance for your solutions. From cehoyos at ag.or.at Sat Dec 10 15:10:37 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 10 Dec 2011 14:10:37 +0000 (UTC) Subject: [FFmpeg-user] Capture portions of DVD video? References: <4EE34CE1.8050908@aleksandrsolzhenitsyn.net> Message-ID: . aleksandrsolzhenitsyn.net> writes: > Let's say you're watching a DVD on your computer and want to capture > part of the video while watching it. This is not generally possible, because typical video player output modes will not allow frame grabbing (for performance reasons). > How can that be done with FFMPEG? Theoretically with -f x11grab, but mplayer -dumpstream is certainly easier. Carl Eugen From cehoyos at ag.or.at Sat Dec 10 15:13:43 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 10 Dec 2011 14:13:43 +0000 (UTC) Subject: [FFmpeg-user] External UVC Camera Video Streaming/Image Capturing using ffmpeg References: Message-ID: s.rawat gmail.com> writes: > ffmpeg -y -t 25 -f video4linux2 -r 15 -s 320*240 -pix_fmt yuyv422 -i > /dev/video1 -an -f avi Test_QVGA1.avi > > But I am the following output/error(see in *Bold* at last) --> > > FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers This is old, please use current git head, see http://ffmpeg.org/download.html > Requested output format 'avi' is not a suitable output format > ioctl(VIDIOC_QBUF) You specified "--disable-everything" to disable the avi muxer, so it does not work. I suggest you first try whatever you want to achieve with an as-short-as-possible configure line (without --disable-everything and if possible with static libraries), if it works, add --disable-everything and the necessary --enable options (and use --enable-shared if necessary). Carl Eugen From cehoyos at ag.or.at Sat Dec 10 15:15:19 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 10 Dec 2011 14:15:19 +0000 (UTC) Subject: [FFmpeg-user] Decode problem with mpeg-1 audio in MXF References: <4EE073FC.2010000@mdsh.com> <3ddea7d0.25365.1341d090b87.Coremail.13760746839@163.com> Message-ID: ?? <13760746839 163.com> writes: > When decode with ffplay,it resulted errors:"[mpeg2video @ 03259E20] codec type > or id mismatches" Fixed, thank you for the sample! Carl Eugen From de.techno at gmail.com Sat Dec 10 17:19:46 2011 From: de.techno at gmail.com (dE .) Date: Sat, 10 Dec 2011 21:49:46 +0530 Subject: [FFmpeg-user] Problem with compiling first time In-Reply-To: References: Message-ID: <4EE386A2.5010204@gmail.com> On 12/09/11 12:55, charisma tubagus wrote: > Hi, > > I would like to use FFMpeg since I would like to study about video > encoding. > > This is my code (very simple one) since I want to test whether my setting > up is correct. I am using Visual C++ 2008 Express > > #include >> #include >> int main(int argc, char *argv[]) >> { >> return 0; >> } > > My error is like this > > fatal error C1083: Cannot open include file: 'inttypes.h': No such file or >> directory > > Please suggest me how to solve this problem. Thank you. > > Best Regards, > > Charisma TS > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user I'm not a coder but what I think might be a problem is the fact that ffmpeg libraries follow global coding standard and syntax, while while VC follows Microsoft standards and syntax. Since you use VC, it's designed such that it's apps run only on Windows, how would you expect it'll take any non-Microsoft standard library which does not break compatibility with any other OS? e.g. Visual C++ doesn't follow c99 standard, instead has it's own standards, but ffmpeg libraries follow the standards, thus is cross platform. From de.techno at gmail.com Sat Dec 10 17:25:29 2011 From: de.techno at gmail.com (dE .) Date: Sat, 10 Dec 2011 21:55:29 +0530 Subject: [FFmpeg-user] compress security video In-Reply-To: <20111209112529.246440@gmx.com> References: <20111209112529.246440@gmx.com> Message-ID: <4EE387F9.7030107@gmail.com> On 12/09/11 16:55, Ian James wrote: > I need to compress colour security videos for archive. Each frame is usually 95% the same as the previous frame. Switching off the audio and reducing the frame rate has not significantly reduced the file size. The image size is already at minimum. > The avi files are typically 1GB to 1.5GB codec WMV3 320 x 240 resolution. > Please can someone suggest suitable profile/parameter ranges to try? > Many thanks/ > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user I think x264 will reduce it's size to a fraction. From de.techno at gmail.com Sat Dec 10 17:29:59 2011 From: de.techno at gmail.com (dE .) Date: Sat, 10 Dec 2011 21:59:59 +0530 Subject: [FFmpeg-user] FFmpeg compile error with frei0r on windows In-Reply-To: References: Message-ID: <4EE38907.5080803@gmail.com> On 12/10/11 00:49, spider58 wrote: > Hello. > > I've installen MinGW on my pc. and i need frei0r plugin. > > Downloaded lastest ffmpeg git > > my comments above > > *./configure --enable-frei0r* > > that was giving error message > > *frei0r.h header not found* > > > i've tried to download frei0r plugin and copied frei0r.h file to > ffmpeg/libavfilters directory. But error is same. > > How can i fix this problem. Your latest ffmpeg.exe is can't found frei0r > plugin. i need recompile. but have this problem. > > Inadvance thanks for your relations > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Windows hates '/'. From de.techno at gmail.com Sat Dec 10 17:40:22 2011 From: de.techno at gmail.com (dE .) Date: Sat, 10 Dec 2011 22:10:22 +0530 Subject: [FFmpeg-user] Capture portions of DVD video? In-Reply-To: <4EE34CE1.8050908@aleksandrsolzhenitsyn.net> References: <4EE34CE1.8050908@aleksandrsolzhenitsyn.net> Message-ID: <4EE38B76.4070806@gmail.com> On 12/10/11 17:43, . wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Let's say you're watching a DVD on your computer and want to capture > part of the video while watching it. > > How can that be done with FFMPEG? > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJO40zdAAoJEPBpZNn4grcjxzIIAJHEYwmdeSXnnpTnGb95b6bx > ac4ylA/pUmcmfa2T+igZkZOlSMkS+sVza+PYDVvxwJsDwZn//drUcnAreB8JpwHl > 4g9+WyGLtszYMcjcXp9D3CZi+8cVSfO6ViWEQ4QC23Wnaxb4qk4pQnfcui5EZttd > 7GlrS7ZHv9lzSrHvpqg0pdC71m93AMu9vliLf3NNWMhY4604re33G3GKaeIyp5eH > 8pelrY3VY4QOrYEF7Mvy2vCVscPP+dKSzHeUkduYSMV/sGM16JybgxRHlNDT7Wo3 > /H6cfmtT+7rlhe66wSl41mKatC0VHV28F0I463qLSLg8PeBKfcm6kcOohEVUx1A= > =cUde > -----END PGP SIGNATURE----- > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Will you implement this in an app? From mark at mdsh.com Sat Dec 10 20:42:42 2011 From: mark at mdsh.com (Mark Himsley) Date: Sat, 10 Dec 2011 19:42:42 +0000 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <20111209231817.GK10300@leki> References: <201112092348.05340.demimurych@mail.ru> <20111209231817.GK10300@leki> Message-ID: <4EE3B632.5010709@mdsh.com> On 09/12/2011 23:18, Cl?ment B?sch wrote: > On Fri, Dec 09, 2011 at 11:48:05PM +0200, demimurych wrote: >> Hello. >> >> I'm currently working with libavfilter and have a question relating watermarks. >> >> What I already know is how to put a watermark on a whole video clip. >> ffmpeg -i inputfile -vf "movie=650_360_net.png [logo]; [in][logo] overlay=W- >> w-20:H-h-20 [out]" outpufile >> >> What I'm trying to achieve is to place a watermark that would only be visible >> from some certain point and to some point - for example, only the first 10 >> seconds of the video clip. >> >> If there's a workaround that can make it possible please let me know. I'm >> stuck on this issue right now so I would be glad to receive an answer. >> >> Thanks in advance. >> > > Maybe you could generate a 10 seconds video with your source image, and > use it as overlay? Or better still, use a fade filter to fade the overlay out after 10 seconds. Or even better, use two fade filters, one to fade the watermark in and another to fade it out again. -- Mark From cehoyos at ag.or.at Sat Dec 10 21:25:22 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 10 Dec 2011 20:25:22 +0000 (UTC) Subject: [FFmpeg-user] FFmpeg compile error with frei0r on windows References: Message-ID: spider58 gmail.com> writes: > *./configure --enable-frei0r* This is the correct configure line (including "./"). > that was giving error message > > *frei0r.h header not found* This means the necessary header was not found. > i've tried to download frei0r plugin and copied frei0r.h file to > ffmpeg/libavfilters directory. You should not copy headers around, but install frei0r. Unfortunately, I don't know frei0r, so I don't know how to install it, but usually, header should end in /usr/local/include (or similar places). Carl Eugen From cehoyos at ag.or.at Sat Dec 10 22:10:18 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 10 Dec 2011 21:10:18 +0000 (UTC) Subject: [FFmpeg-user] Problem with compiling first time References: Message-ID: charisma tubagus gmail.com> writes: > My error is like this > > fatal error C1083: Cannot open include file: 'inttypes.h': No such file or > > directory > > Please suggest me how to solve this problem. Thank you. If you want to use VC, you have to install inttypes.h and stdint.h (which are part of the C standard). Carl Eugen From doreisan at yahoo.com Sat Dec 10 22:05:16 2011 From: doreisan at yahoo.com (doreisan) Date: Sat, 10 Dec 2011 13:05:16 -0800 (PST) Subject: [FFmpeg-user] ffmpeg issue Message-ID: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Don't get me wrong. I love linux and after getting used to it I love ffmpeg. That being said, the point of this note is to exclaim out loud the following critique: ffmpeg is useless and impracticle. That begs the question as to just why. After 3 hours of trying I can't get it to enable mp3 encoding. The only reasoning that I'm given for disabling it is some lame excuse that it's proprietory. Ok? Really? Your serious about that? Let me be clear, and blunt. It can, in theory, be enabled. It's free to get the lame codec. This is why ppl don't move to linux: every music player on the f'n entire earth uses mp3, not vorbis, not wav, not name-it, but mp3. So when are linux programmers such little bitch ass pansy f'n panywastes? Why not just enable the one everyone uses by default and why such frustration and agony just to do what we will do ANYWAY? Flying sphaghetti monster dammit! From lou at lrcd.com Sat Dec 10 22:25:27 2011 From: lou at lrcd.com (Lou) Date: Sat, 10 Dec 2011 12:25:27 -0900 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Message-ID: <20111210212527.GA25596@mail.lrcd.com> On Sat, Dec 10, 2011 at 01:05:16PM -0800, doreisan wrote: > Don't get me wrong. I love linux and after getting used to it I love ffmpeg. > > That being said, the point of this note is to exclaim out loud the following critique: ffmpeg is useless and impracticle. > > That begs the question as to just why. After 3 hours of trying I can't get it to enable mp3 encoding. The only reasoning that I'm given for disabling it is some lame excuse that it's proprietory. Ok? Really? Your serious about that? > > Let me be clear, and blunt. It can, in theory, be enabled. It's free to get the lame codec. This is why ppl don't move to linux: every music player on the f'n entire earth uses mp3, not vorbis, not wav, not name-it, but mp3. So when are linux programmers such little bitch ass pansy f'n panywastes? Why not just enable the one everyone uses by default and why such frustration and agony just to do what we will do ANYWAY? > > Flying sphaghetti monster dammit! The procedure for enabling any external library for FFmpeg is basically (LAME specifically in this example): 1. Install LAME 2. Compile FFmpeg with --enable-libmp3lame As for your issue of libmp3lame being disabled: I'm assuming you are referring to a specific Linux distribution that does not have libmp3lame enabled by default. If this is the case then this is an issue with the distro, not FFmpeg. I can understand how frustrating it can be, but please contact the package maintainer about this if you want to discuss why they don't enable it by default. Alternatively you can compile FFmpeg yourself or use a distro that does have your desired encoders enabled by default. If your issue is about neededing to manually add --enable-libmp3lame to the FFmpeg ./configure, then consider submitting a bug report: http://ffmpeg.org/bugreports.html From cehoyos at ag.or.at Sat Dec 10 22:58:49 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 10 Dec 2011 21:58:49 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg issue References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Message-ID: doreisan yahoo.com> writes: > After 3 hours of trying I can't get it to enable mp3 encoding. The only > reasoning that I'm given for disabling it is some lame excuse that it's > proprietory. Please be 100% assured that the reason FFmpeg does not support MP3 encoding is not that it is proprietary: After all, many other proprietary formats can be encoded with FFmpeg. (The reason is probably that an MP3 encoder exists that may also be distributed under the LGPL and FFmpeg contains a wrapper for this encoder.) [...] > every music player on the f'n entire earth uses mp3 Sure. These music players can decode MP3, as can FFmpeg. Carl Eugen From joolzg at btinternet.com Sat Dec 10 23:11:15 2011 From: joolzg at btinternet.com (JULIAN GARDNER) Date: Sat, 10 Dec 2011 22:11:15 +0000 (GMT) Subject: [FFmpeg-user] help Message-ID: <1323555075.57541.YahooMailNeo@web86404.mail.ird.yahoo.com> OK ffmpeg guys i have a question i was wondering if someone could help with. I have a mpeg2 ts stream with 1 video and 1 audio channel, i also have a url with a radio station. What i want to do is take the mpeg2 and transcode it (i can do this ok now) but i want to take the radio station, transcode this and add this into the previous transcode so to start with input 1 ts? - udp://224.10.10.10:1234 input 2 url - http://...... output would have 3 pids 1 video and 2 audio Any ideas if this is possible joolz From philip at turmel.org Sat Dec 10 23:56:48 2011 From: philip at turmel.org (Phil Turmel) Date: Sat, 10 Dec 2011 17:56:48 -0500 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Message-ID: <4EE3E3B0.7080902@turmel.org> Since Lou and Carl provided the civil responses to this uncivil rant, I thought someone should provide the uncivil response: On 12/10/2011 04:05 PM, doreisan wrote: > Don't get me wrong. I love linux and after getting used to it I love > ffmpeg. You make it really hard to get you wrong. I'm not feeling the love here. > That being said, the point of this note is to exclaim out loud the > following critique: ffmpeg is useless and impracticle. No caps? No exclamation point for your exclamation? Let me show you how it's done: FFMPEG IS USELESS AND IMPRACTICAL!!!! There. See? So much better. Better spelling, too. Of course, since every single Linux distro I know ships FFmpeg in one form or another, I'm not sure the shouting will make your case. > That begs the question as to just why. After 3 hours of trying I > can't get it to enable mp3 encoding. The only reasoning that I'm > given for disabling it is some lame excuse that it's proprietory. > Ok? Really? Your serious about that? Let's see. FFmpeg developer's give away code that makes it possible for you to break the law in some jurisdictions, and you don't think they are helping enough? All you have to do is take responsibility for configuring and compiling that code in your installation. Instead, you want them sued into poverty, or jailed? You're serious about that? > Let me be clear, and blunt. It can, in theory, be enabled. It's free > to get the lame codec. This is why ppl don't move to linux: every > music player on the f'n entire earth uses mp3, not vorbis, not wav, > not name-it, but mp3. So when are linux programmers such little > bitch ass pansy f'n panywastes? Why not just enable the one everyone > uses by default and why such frustration and agony just to do what we > will do ANYWAY? Why don't you whine to the politicians in your locale that have made a farce out intellectual property law? No, you have to p|ss on the linux programmers who are offering you boatloads of free software. "Pantywaste" Noun. 1) Bodily fluids that stain/soil a woman's undergarments. 2) A person who is so useless/incompetent that their father's seed should have been [1]. While applicable to this exchange, I don't it fits the linux programmers. > Flying sphaghetti monster dammit! OK, this was amusing. No vulgar words. Kudos to you. Hope Lou and Carl helped you, Phil From pb at das-werkstatt.com Sat Dec 10 23:59:11 2011 From: pb at das-werkstatt.com (Peter B.) Date: Sat, 10 Dec 2011 23:59:11 +0100 Subject: [FFmpeg-user] compress security video In-Reply-To: References: <20111209112529.246440@gmx.com> Message-ID: <4EE3E43F.3060807@das-werkstatt.com> Carl Eugen Hoyos wrote: > Did you try ffv1 (possibly with -coder 1)? > Although I'm a big fan of FFv1, are you sure that he's interested in losslessly encoding it? (In our long-term tests, we've seen that a 1 minute FFv1-AVI (with PCM 16bit stereo audio) has about 350MB) Wouldn't a lossy codec, such as XviD or h264 be a better one for the task of compressing security videos with 95% of the image staying the same - especially, since FFv1 would conserve the video-noise, which adds a lot of unnecessary data, if lossless is not required. I think it would be a good idea to avoid a WMV codec, though ;) Just my 2 cents... Regards, Pb From phil_rhodes at rocketmail.com Sun Dec 11 00:03:40 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sat, 10 Dec 2011 23:03:40 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE3E3B0.7080902@turmel.org> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> Message-ID: > Let's see. FFmpeg developer's give away code that makes it possible for > you to break the law in some jurisdictions, and you don't think they are > helping enough? Oh, grow the (*#$ up. No, they're not helping, they're being deliberately abstruse about it. This is a media handling utility that doesn't, in many cases, have the ability to handle one of the world's most common and popular media formats. That's pretty damned stupid. Does linux have the ability to play DVDs yet? And I don't mean "has the ability after you write it yourself," I mean, can I install Ubuntu, stick a DVD in the drive, and play it? P From phil_rhodes at rocketmail.com Sun Dec 11 00:08:07 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sat, 10 Dec 2011 23:08:07 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <20111210212527.GA25596@mail.lrcd.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <20111210212527.GA25596@mail.lrcd.com> Message-ID: > 2. Compile FFmpeg with --enable-libmp3lame Oh, yeah. Because creating a development environment capable of doing that is a one-line shell command, isn't it. P From h.reindl at thelounge.net Sun Dec 11 00:19:20 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 00:19:20 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> Message-ID: <4EE3E8F8.7070107@thelounge.net> Am 11.12.2011 00:03, schrieb Phil Rhodes: > This is a media handling utility that doesn't, in many cases, have the ability to handle one > of the world's most common and popular media formats. That's pretty damned stupid. the only one here that is pretty stupid must be you! why? because everybody out there is able to activate EVERY audio/video-codec existing in this world except you - so you or everybodfy else out there is stupid but i guess not everybody is stupid except you becaus ethe others are not too lazy to read documentations, the output of ./configure --help and install the needed devel-packages matching their distribution before compile ffmpeg if you are too lazy nobody is forcing you to use ffmpeg the rest of the world is satisfied with one of the best encoders you will ever find -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From h.reindl at thelounge.net Sun Dec 11 00:22:13 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 00:22:13 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <20111210212527.GA25596@mail.lrcd.com> Message-ID: <4EE3E9A5.6070607@thelounge.net> Am 11.12.2011 00:08, schrieb Phil Rhodes: > >> 2. Compile FFmpeg with --enable-libmp3lame > > Oh, yeah. Because creating a development environment capable of doing that is a one-line shell command, isn't it. it is * enable rpmfusion repo for RHEL / Fedora * yum install lame lame-libs i am building ffmpeg for my fedora-machines since YEARS and if you are fucking to stoopid to do he same you are using the wrong operating system or too lazy to read documentations but this is nothing new from your person here -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From philip at turmel.org Sun Dec 11 00:25:15 2011 From: philip at turmel.org (Phil Turmel) Date: Sat, 10 Dec 2011 18:25:15 -0500 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> Message-ID: <4EE3EA5B.9060905@turmel.org> On 12/10/2011 06:03 PM, Phil Rhodes wrote: >> Let's see. FFmpeg developer's give away code that makes it possible for you to break the law in some jurisdictions, and you don't think they are helping enough? > > Oh, grow the (*#$ up. No, they're not helping, they're being deliberately abstruse about it. You trimmed the part about being sued into poverty, or jailed. Pretty important, I think. > This is a media handling utility that doesn't, in many cases, have the ability to handle one of the world's most common and popular media formats. That's pretty damned stupid. The algorithms are patented. In the US, you need a license to use it. Many countries don't allow patents on intangibles like software algorithms, so developers who want to support them must jump through these hoops. > Does linux have the ability to play DVDs yet? And I don't mean "has the ability after you write it yourself," I mean, can I install Ubuntu, stick a DVD in the drive, and play it? Some distributions, like Ubuntu, allow this after you take responsibility for your local laws. My children have done this with their laptops, which came with Windows and pre-package DVD playback software. So they own a paid license, and can turn on the restricted repository in good faith. With the restricted software repository, and VLC, DVDs play just fine. No compiling required. Ubuntu has worked this way for a few years now. In the latest versions, the restricted repository is just a checkbox in the application manager. Ubuntu doesn't put the restricted software on the install CD, obviously. Phil From phil_rhodes at rocketmail.com Sun Dec 11 00:27:03 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sat, 10 Dec 2011 15:27:03 -0800 (PST) Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE3E8F8.7070107@thelounge.net> Message-ID: <1323559623.39936.YahooMailClassic@web161301.mail.bf1.yahoo.com> > because everybody out there is able to activate EVERY > audio/video-codec existing in this world except you Me and the guy who started this thread, two and counting! > but i guess not everybody is stupid except you becaus ethe > others are not too lazy to read documentations, What documentation? I have one file called "ffmpeg.exe". That's all I have. Oddly enough, it is capable of encoding MP3 audio, so perhaps the best thing for our correspondent to do is to use Windows or a mac and grab a binary from somewhere. You know, a "binary". That's finished, complete, ready-to-use software. Not a pile of text files that's many hours of configuration and one comp sci degree away from working. > the output of ./configure --help What's a "./configure"? Where do I get one? What's it for? How do I use it? > devel-packages What's a "devel-package"? Learning points from this: - Not everyone is a software engineer - Not every software engineer is an expert on linux development environments - Not every software engineer who's an expert on linux development environments is an expert on the development environment required to compile ffmpeg. Please stop assuming everyone should be a programmer. P From h.reindl at thelounge.net Sun Dec 11 00:31:15 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 00:31:15 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <1323559623.39936.YahooMailClassic@web161301.mail.bf1.yahoo.com> References: <1323559623.39936.YahooMailClassic@web161301.mail.bf1.yahoo.com> Message-ID: <4EE3EBC3.3040801@thelounge.net> Am 11.12.2011 00:27, schrieb Phil Rhodes: >> but i guess not everybody is stupid except you becaus ethe >> others are not too lazy to read documentations, > > What documentation? I have one file called "ffmpeg.exe". > That's all I have. Oddly enough, it is capable of encoding MP3 audio, > so perhaps the best thing for our correspondent to do is to use Windows > or a mac and grab a binary from somewhere. learn what xou do, take GCC and compile the binary at your own the sources are containing all what is needed dependecnies of ecternal libraries are YOU problem > You know, a "binary". That's finished, complete, ready-to-use software. > Not a pile of text files that's many hours of configuration your problem >> the output of ./configure --help > > What's a "./configure"? Where do I get one? What's it for? How do I use it? learn basics or pay someone who knows >> devel-packages > What's a "devel-package"? learn basics or pay someone who knows > Learning points from this: > - Not everyone is a software engineer pay one which is if your are onwilling to learn BASICS of compile software for your OS -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From darryl.lewis at unsw.edu.au Sun Dec 11 00:36:58 2011 From: darryl.lewis at unsw.edu.au (Darryl Lewis) Date: Sat, 10 Dec 2011 23:36:58 +0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Message-ID: On 11/12/11 8:05 AM, "doreisan" wrote: >Don't get me wrong. I love linux and after getting used to it I love >ffmpeg. > >That being said, the point of this note is to exclaim out loud the >following critique: ffmpeg is useless and impracticle. So you love something that is "useless and impracticle"? Passive aggressive much? (BTW, I'm not sure what "impracticle" is, but I know what useless is, so I'll assume it is along the same lines) > >That begs the question as to just why. After 3 hours of trying I can't >get it to enable mp3 encoding. The only reasoning that I'm given for >disabling it is some lame excuse that it's proprietory. Ok? Really? Your >serious about that? Speak to the patent attorneys (Hint, they cost about $200/hr, but this list is free [see, I can do passive aggressive too]). Or speak to your politicians/king/ruler/dictator who agree with software patents and get them to change their minds on it. > >Let me be clear, and blunt. It can, in theory, be enabled. It's free to >get the lame codec. This is why ppl don't move to linux: every music >player on the f'n entire earth uses mp3, not vorbis, not wav, not >name-it, but mp3. So when are linux programmers such little bitch ass >pansy f'n panywastes? Why not just enable the one everyone uses by >default and why such frustration and agony just to do what we will do >ANYWAY? Umm...laws. > > >Flying sphaghetti monster dammit! >_______________________________________________ >ffmpeg-user mailing list >ffmpeg-user at ffmpeg.org >http://ffmpeg.org/mailman/listinfo/ffmpeg-user From cehoyos at ag.or.at Sun Dec 11 00:43:19 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 10 Dec 2011 23:43:19 +0000 (UTC) Subject: [FFmpeg-user] compress security video References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> Message-ID: Peter B. das-werkstatt.com> writes: > Carl Eugen Hoyos wrote: > > Did you try ffv1 (possibly with -coder 1)? > > > Although I'm a big fan of FFv1, are you sure that he's interested in > losslessly encoding it? I somehow assumed he does, but re-reading his message I was probably wrong... Otoh, for more information about lossy compression, his input simply wasn't sufficient, after all, I could use -qscale 32 to compress all my videos;-) > (In our long-term tests, we've seen that a 1 minute FFv1-AVI (with PCM > 16bit stereo audio) has about 350MB) > > Wouldn't a lossy codec, such as XviD or h264 I would still love to see evidence that Xvid is better than FFmpeg's native ASP encoder (which is slightly more difficult to tune). Carl Eugen From philip at turmel.org Sun Dec 11 01:24:38 2011 From: philip at turmel.org (Phil Turmel) Date: Sat, 10 Dec 2011 19:24:38 -0500 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE3EA5B.9060905@turmel.org> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> Message-ID: <4EE3F846.7040407@turmel.org> Followup: On 12/10/2011 06:25 PM, Phil Turmel wrote: > Some distributions, like Ubuntu, allow this after you take responsibility for your local laws. My children have done this with their laptops, which came with Windows and pre-package DVD playback software. So they own a paid license, and can turn on the restricted repository in good faith. With the restricted software repository, and VLC, DVDs play just fine. No compiling required. Ubuntu has worked this way for a few years now. In the latest versions, the restricted repository is just a checkbox in the application manager. My non-programmer children can obviously figure things out beyond my suggestion to "turn on restricted software". I just checked this on my wife's new laptop, on which I put Kubuntu 11.10. In addition to enabling restricted software, and installing VLC, I had to run two konsole commands, from the libdvdcss section of: https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs Phil From coniophora at gmail.com Sun Dec 11 01:31:27 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sat, 10 Dec 2011 17:31:27 -0700 Subject: [FFmpeg-user] smarter scaling filter In-Reply-To: <4B93661F-05F8-494F-BCF2-125AC615DF5D@gmail.com> References: <65A13CF5-AF52-4EB8-8E43-9E76F31F9421@gmail.com> <4B93661F-05F8-494F-BCF2-125AC615DF5D@gmail.com> Message-ID: <259D658C-8BE1-4FD6-BE3C-FFFEE0DCDB64@gmail.com> On Dec 9, 2011, at 5:01 PM, Jim Worrall wrote: > > > I found out I could reduce this expression even further, and it still seems to produce the wrong result: > > -vf "scale = st(0,1) * 640 : ld(0) * 480" > > The first function, st(0,1), evaluates to 1, and the output file has a width of 640. > The second function, ld(0), apparently evaluates to 0, and the output retains its original height. > > Isn't ld(0) supposed to reload var 0 with a value of 1? > Does a variable not survive a colon, or what? > Is it possible I screwed up the compilation and made a bad ffmpeg? > > I could really use some help here guys! > > Jim > > ffmpeg version 0.8.7.git-5b98ea1, Copyright (c) 2000-2011 the FFmpeg developers > built on Dec 9 2011 16:52:59 with clang 3.0 (tags/Apple/clang-211.12) > configuration: --prefix=/Volumes/Ramdisk/sw --cc=clang --enable-gpl --enable-version3 --enable-filters --arch=x86_64 --enable-hardcoded-tables --disable-indevs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo-aacenc --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libx264 --enable-libvorbis --enable-libtheora --enable-libspeex > libavutil 51. 31. 0 / 51. 31. 0 > libavcodec 53. 42. 0 / 53. 42. 0 > libavformat 53. 24. 0 / 53. 24. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 52. 0 / 2. 52. 0 > libswscale 2. 1. 0 / 2. 1. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > > And now the epilogue of my monologue: I submitted a bug report, and it was converted to a feature request. Currently, the VARIABLES DO NOT SURVIVE BETWEEN EXPRESSIONS. This info has been added to the manual. Just in case anyone wants to do this in the future, here is a filter that works without internal, user-created, FFmpeg variables. It's a bit ghastly, but it works. Video of any size or aspect ratio will be scaled down (but not up) to fit into the display dimensions of the device while maintaining aspect ratio. The dimensions of the device, or frame, are represented by $FW (width), $FH (height) and $FA ($FW/$FH). -vf "scale = min(1\,gt(iw\,$FW)+gt(ih\,$FH)) * (gte(a\,$FA)*$FW + \ lt(a\,$FA)*(($FH*iw)/ih)) + not(min(1\,gt(iw\,$FW)+gt(ih\,$FH)))*iw : \ min(1\,gt(iw\,$FW)+gt(ih\,$FH)) * (lte(a\,$FA)*$FH + \ gt(a\,$FA)*(($FW*ih)/iw)) + not(min(1\,gt(iw\,$FW)+gt(ih\,$FH)))*ih" Jim From phil_rhodes at rocketmail.com Sun Dec 11 01:57:06 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 00:57:06 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE3F846.7040407@turmel.org> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> Message-ID: > In addition to enabling restricted software, and installing VLC, I had > to run two konsole You had to install VLC -and- do other stuff? Why? VLC just works on windows. P From philip at turmel.org Sun Dec 11 02:03:33 2011 From: philip at turmel.org (Phil Turmel) Date: Sat, 10 Dec 2011 20:03:33 -0500 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> Message-ID: <4EE40165.2000106@turmel.org> On 12/10/2011 07:57 PM, Phil Rhodes wrote: >> In addition to enabling restricted software, and installing VLC, I had to run two konsole > > You had to install VLC -and- do other stuff? VLC runs fine, and plays a large variety of media, but will only play unencrypted DVDs. Until you add libdvdcss with the instructions from the help website. Which takes about 60 seconds. Did you even visit the link I posted? Phil From h.reindl at thelounge.net Sun Dec 11 02:06:34 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 02:06:34 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> Message-ID: <4EE4021A.9000007@thelounge.net> Am 11.12.2011 01:57, schrieb Phil Rhodes: >> In addition to enabling restricted software, and installing VLC, I had to run two konsole > > You had to install VLC -and- do other stuff? > > Why? > > VLC just works on windows who is interested in windows? vlc on a real OS is using ffmpeg for most codecs if you have problems with ffmpeg on windows stop whining all the time and get a real OS! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From andreas.gumm at gmx.de Sun Dec 11 02:27:06 2011 From: andreas.gumm at gmx.de (Andreas Gumm) Date: Sun, 11 Dec 2011 02:27:06 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4021A.9000007@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> Message-ID: What is "a real OS"? Such a phrase... Andreas 2011/12/11 Reindl Harald > if you have problems with ffmpeg on windows stop whining From andreas.gumm at gmx.de Sun Dec 11 02:38:38 2011 From: andreas.gumm at gmx.de (Andreas Gumm) Date: Sun, 11 Dec 2011 02:38:38 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> Message-ID: What do you call "a real OS"? Such a phrase... Andreas Gumm What is "a real OS"? > Such a phrase... > > Andreas > > > > > 2011/12/11 Reindl Harald > >> if you have problems with ffmpeg on windows stop whining > > > From phil_rhodes at rocketmail.com Sun Dec 11 04:56:08 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 03:56:08 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE40165.2000106@turmel.org> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE40165.2000106@turmel.org> Message-ID: > VLC runs fine, and plays a large variety of media, but will only play > unencrypted DVDs. The version of VLC I can get from videolan, for windows, plays DVDs out of the box, including DVDs not of the region for which the drive is set up. To achieve this it must come with the ability to defeat CSS. Why do these thorny legal issues only apply to Linux? My assumption is that it only applies to linux because the people who write this stuff are much more interested in making a ridiculous political point than they are in producing software that does useful work. P From phil_rhodes at rocketmail.com Sun Dec 11 04:58:28 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 03:58:28 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4021A.9000007@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> Message-ID: > if you have problems with ffmpeg on windows stop whining > all the time and get a real OS! Actually I have far fewer problems with ffmpeg on windows than I have ever had with it on linux, which I think is richly ironic in the context of this discussion. The windows binaries tend to have everything switched on. P From philip at turmel.org Sun Dec 11 05:53:30 2011 From: philip at turmel.org (Phil Turmel) Date: Sat, 10 Dec 2011 23:53:30 -0500 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE40165.2000106@turmel.org> Message-ID: <4EE4374A.6040901@turmel.org> On 12/10/2011 10:56 PM, Phil Rhodes wrote: >> VLC runs fine, and plays a large variety of media, but will only play unencrypted DVDs. > > The version of VLC I can get from videolan, for windows, plays DVDs out of the box, including DVDs not of the region for which the drive is set up. To achieve this it must come with the ability to defeat CSS. > > Why do these thorny legal issues only apply to Linux? > > My assumption is that it only applies to linux because the people who write this stuff are much more interested in making a ridiculous political point than they are in producing software that does useful work. The last time I did a bare install of Windows, it wouldn't play DVDs either. With VLC. I had to install Roxio, or PowerDVD, or one of the other products that pitch DVD playback to get the right system DLLs. They typically come packaged with new computers, or with retail DVD drives. Part of the purchase price is pays a royalty to the DVD CSS patent consortium, and to the Fraunhofer institute, or whoever it is that now holds all of those patents. I think media center versions of Windows include it out-of-the-box. Given a bare DVD drive in a Linux system, there's no reliable way to know if the end-user has purchased anything that includes that royalty, or to know if the royalty even applies in their locale. IANAL, of course, but this is my experience. Phil From joseluis at eserre.com Sun Dec 11 06:19:36 2011 From: joseluis at eserre.com (Jose Luis Rivas) Date: Sun, 11 Dec 2011 00:49:36 -0430 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4374A.6040901@turmel.org> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE40165.2000106@turmel.org> <4EE4374A.6040901@turmel.org> Message-ID: <4EE43D68.8080906@eserre.com> On 12/11/2011 12:23 AM, Phil Turmel wrote: > On 12/10/2011 10:56 PM, Phil Rhodes wrote: >>> VLC runs fine, and plays a large variety of media, but will only play unencrypted DVDs. >> >> The version of VLC I can get from videolan, for windows, plays DVDs out of the box, including DVDs not of the region for which the drive is set up. To achieve this it must come with the ability to defeat CSS. >> >> Why do these thorny legal issues only apply to Linux? >> >> My assumption is that it only applies to linux because the people who write this stuff are much more interested in making a ridiculous political point than they are in producing software that does useful work. > > The last time I did a bare install of Windows, it wouldn't play DVDs either. With VLC. I had to install Roxio, or PowerDVD, or one of the other products that pitch DVD playback to get the right system DLLs. They typically come packaged with new computers, or with retail DVD drives. Part of the purchase price is pays a royalty to the DVD CSS patent consortium, and to the Fraunhofer institute, or whoever it is that now holds all of those patents. > > I think media center versions of Windows include it out-of-the-box. > > Given a bare DVD drive in a Linux system, there's no reliable way to know if the end-user has purchased anything that includes that royalty, or to know if the royalty even applies in their locale. > > IANAL, of course, but this is my experience. Indeed, it is a legal issue, not a "political point". PS. Rhodes, make something useful with your life, stop trolling on a mailing-list, and stop accusing useful people about what you can't do. -- Jose Luis Rivas, Web Builder GPGs: 7C4DF50D B9AC8C43 From h.reindl at thelounge.net Sun Dec 11 07:01:02 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 07:01:02 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> Message-ID: <4EE4471E.5020407@thelounge.net> Am 11.12.2011 04:58, schrieb Phil Rhodes: >> if you have problems with ffmpeg on windows stop whining >> all the time and get a real OS! > > Actually I have far fewer problems with ffmpeg on windows than I have ever had with it on linux, which I think is > richly ironic in the context of this discussion. > > The windows binaries tend to have everything switched on so do the same on linux and leave us fuck in peace or complain at your distribution / package-source that they should enable switches you think you need and if they refure do the same like i did build it at your own - that us why source exists [harry at srv-rhsoft:~]$ ffmpeg ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 10 2011 19:27:36 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O6 -march=core2 -mtune=core2 -mmmx -msse2 -msse3 -msse4.1 -fopenmp -mfpmath=sse -fno-delete-null-pointer-checks -fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --enable-pthreads --enable-fastdiv --enable-pic --enable-libopencv --enable-shared --disable-vdpau --disable-vaapi --disable-hwaccels --disable-static --disable-debug --shlibdir=/usr/lib64 --cpu=core2 --enable-runtime-cpudetect libavutil 50. 44. 0 / 50. 44. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 6. 0 / 52. 6. 0 libavfilter 1. 81. 0 / 1. 81. 0 libswscale 0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From ffmpeg-user at herveybayaustralia.com.au Sun Dec 11 09:40:51 2011 From: ffmpeg-user at herveybayaustralia.com.au (Da Rock) Date: Sun, 11 Dec 2011 18:40:51 +1000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Message-ID: <4EE46C93.7020604@herveybayaustralia.com.au> On 12/11/11 07:05, doreisan wrote: > Don't get me wrong. I love linux and after getting used to it I love ffmpeg. > > That being said, the point of this note is to exclaim out loud the following critique: ffmpeg is useless and impracticle. > > That begs the question as to just why. After 3 hours of trying I can't get it to enable mp3 encoding. The only reasoning that I'm given for disabling it is some lame excuse that it's proprietory. Ok? Really? Your serious about that? > > Let me be clear, and blunt. It can, in theory, be enabled. It's free to get the lame codec. This is why ppl don't move to linux: every music player on the f'n entire earth uses mp3, not vorbis, not wav, not name-it, but mp3. So when are linux programmers such little bitch ass pansy f'n panywastes? Why not just enable the one everyone uses by default and why such frustration and agony just to do what we will do ANYWAY? > Use FreeBSD. You can run most linux programs natively and many more using "emulation". And it has a BSD licence- which means corporations use it to do their bidding as well (like Sony). And having had your experience, I do sympathise. Linuxers can be rather "cantankerous" when dealing with anything not free. As you can see BSD has no such qualms. It is free- free to do *whatever* you want (without making you feel guilty either) with mostly know problems- including running FFmpeg, xine, mplayer, etc with whatever codecs you have installed. Better docs too... :) HTH > Flying sphaghetti monster dammit! > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From de.techno at gmail.com Sun Dec 11 06:24:35 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 10:54:35 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Message-ID: <4EE43E93.4020103@gmail.com> On 12/11/11 02:35, doreisan wrote: > Don't get me wrong. I love linux and after getting used to it I love ffmpeg. > > That being said, the point of this note is to exclaim out loud the following critique: ffmpeg is useless and impracticle. > > That begs the question as to just why. After 3 hours of trying I can't get it to enable mp3 encoding. The only reasoning that I'm given for disabling it is some lame excuse that it's proprietory. Ok? Really? Your serious about that? > > Let me be clear, and blunt. It can, in theory, be enabled. It's free to get the lame codec. This is why ppl don't move to linux: every music player on the f'n entire earth uses mp3, not vorbis, not wav, not name-it, but mp3. So when are linux programmers such little bitch ass pansy f'n panywastes? Why not just enable the one everyone uses by default and why such frustration and agony just to do what we will do ANYWAY? > > Flying sphaghetti monster dammit! > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Till date I've not seen a distro in which soundkonverter doesnt convert to/from mp3. If you don't configure it to use ffmpeg, it'll use lame and it also supports various other programs. Also note, for common users to use Linux/BSD, there should be an administration around for initial setup and completion of requirements, otherwise it's not possible. All this after acknowledgment of mint/Ubuntu/OpenSuse/Mandriva etc.. etc.. etc... From de.techno at gmail.com Sun Dec 11 06:27:02 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 10:57:02 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> Message-ID: <4EE43F26.3010303@gmail.com> On 12/11/11 03:28, Carl Eugen Hoyos wrote: > doreisan yahoo.com> writes: > >> After 3 hours of trying I can't get it to enable mp3 encoding. The only >> reasoning that I'm given for disabling it is some lame excuse that it's >> proprietory. > Please be 100% assured that the reason FFmpeg does not support MP3 encoding is > not that it is proprietary: After all, many other proprietary formats can be > encoded with FFmpeg. > (The reason is probably that an MP3 encoder exists that may also be distributed > under the LGPL and FFmpeg contains a wrapper for this encoder.) > > [...] What? ffmpeg doesn't support mp3? I just encoded it a few days ago to test Dolby Pro Logic (unfortunately the resultant mp3 was not Dolby pro logic). >> every music player on the f'n entire earth uses mp3 > Sure. > These music players can decode MP3, as can FFmpeg. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From phil_rhodes at rocketmail.com Sun Dec 11 13:52:21 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 12:52:21 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4374A.6040901@turmel.org> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE40165.2000106@turmel.org> <4EE4374A.6040901@turmel.org> Message-ID: On Sun, 11 Dec 2011 04:53:30 -0000, Phil Turmel wrote: > I had to install Roxio, or PowerDVD, or one of the other products that > pitch DVD playback to get the right system DLLs. Not so; basic versions of XP certainly didn't come with the ability to run DVDs and installing VLC solves it, but that's not the point - VLC will decode DVDs trans-region, so it must have some form of deCSS in it somewhere. Linux people are being deliberately difficult here, just to make a point, which is incredibly daft. P From phil_rhodes at rocketmail.com Sun Dec 11 13:54:53 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 12:54:53 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4471E.5020407@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> Message-ID: >> The windows binaries tend to have everything switched on > so do the same on linux How? Are there Linux binaries with everything switched on? Creating a build environment for ffmpeg can be very difficult. Creating a build environment for ffmpeg that supports a wide variety of third-party libraries is a major computing project requiring expert skills. I mean, seriously, I assume linux has some sort of standalone executable program format - why is there no equivalent of ffmpeg.exe? The windows binaries end up being many, many megabytes with everything included, but the point is: they actually work, whereas linux, as we've seen, causes endless problems in this regard. P From h.reindl at thelounge.net Sun Dec 11 14:04:23 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 14:04:23 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> Message-ID: <4EE4AA57.4080000@thelounge.net> Am 11.12.2011 13:54, schrieb Phil Rhodes: >>> The windows binaries tend to have everything switched on > >> so do the same on linux > > How? Are there Linux binaries with everything switched on? compile it yourself or pay someone who does it for you > Creating a build environment for ffmpeg can be very difficult. Creating a build environment for ffmpeg that > supports a wide variety of third-party libraries is a major computing project requiring expert skills. laughable see SPEC-file for fedora with all Build-Requirements > I mean, seriously, I assume linux has some sort of standalone executable program format - why is there no > equivalent of ffmpeg.exe? The windows binaries end up being many, many megabytes with everything included, but the > point is: they actually work, whereas linux, as we've seen, causes endless problems in this regard. because linux software usually DOES NOT link static and this is good so you get an update for an vulnerable librarie ffmpeg is using and ffmpeg is fixed, for windows you need a new ffmpeg if you do not like this do not use linux __________________ [builduser at buildserver64:~]$ cat /rpmbuild/SPECS/ffmpeg.spec %global snapshot 20111207 %global git 32000 Summary: Digital VCR and streaming server Name: ffmpeg Version: 0.7.8 Release: 4.%{snapshot}git%{git}%{?dist} License: GPLv3+ Group: Applications/Multimedia URL: http://ffmpeg.org/ Source0: ffmpeg-%{snapshot}.tar.bz2 Source1: ffmpeg-snapshot.sh Source2: ffserver.service Source3: ffserver.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: bzip2-devel BuildRequires: dirac-devel BuildRequires: faac-devel BuildRequires: faad2-devel >= %{faad2min} BuildRequires: gsm-devel BuildRequires: imlib2-devel BuildRequires: lame-devel BuildRequires: libdc1394-devel BuildRequires: libtheora-devel BuildRequires: libvdpau-devel BuildRequires: libvorbis-devel BuildRequires: openjpeg-devel BuildRequires: schroedinger-devel BuildRequires: SDL-devel BuildRequires: speex-devel BuildRequires: texi2html BuildRequires: x264-devel >= 0.0.0-0.29.20110622 BuildRequires: xvidcore-devel BuildRequires: zlib-devel BuildRequires: opencore-amr-devel BuildRequires: libvpx-devel BuildRequires: librtmp-devel BuildRequires: opencv-devel BuildRequires: freetype-devel Requires: sh-utils Requires(pre): /usr/sbin/useradd Requires(preun): systemd-units Requires(postun): systemd-units Obsoletes: qt-faststart Patch0: ffmpeg-libx264-requires.patch %ifarch %{ix86} x86_64 BuildRequires: yasm %endif %description FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. %package libs Summary: Libraries for %{name} Group: System Environment/Libraries %description libs FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. This package contains the libraries for %{name} %package devel Summary: Development package for %{name} Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: pkgconfig %description devel FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. This package contains development files for %{name} %global ff_configure \ ../configure \\\ --prefix=%{_prefix} \\\ --bindir=%{_bindir} \\\ --datadir=%{_datadir}/ffmpeg \\\ --incdir=%{_includedir}/ffmpeg \\\ --libdir=%{_libdir} \\\ --mandir=%{_mandir} \\\ --arch=%{_target_cpu} \\\ --extra-cflags="-O6 -march=core2 -mtune=core2 -mmmx -msse2 -msse3 -msse4.1 -fopenmp -mfpmath=sse -fno-delete-null-pointer-checks -fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions" \\\ --extra-version=thelounge.net \\\ --enable-nonfree \\\ --enable-gpl \\\ --enable-version3 \\\ --enable-libopencore-amrnb \\\ --enable-libopencore-amrwb \\\ --enable-libdc1394 \\\ --enable-libdirac \\\ --enable-libfaac \\\ --enable-libgsm \\\ --enable-libmp3lame \\\ --enable-libopenjpeg \\\ --enable-libschroedinger \\\ --enable-libspeex \\\ --enable-libtheora \\\ --enable-libvorbis \\\ --enable-libx264 \\\ --enable-libxvid \\\ --enable-libvpx \\\ --enable-librtmp \\\ --enable-avfilter \\\ --enable-postproc \\\ --enable-swscale \\\ --enable-bzlib \\\ --enable-zlib \\\ --enable-libfreetype \\\ --enable-pthreads \\\ --enable-fastdiv \\\ --enable-pic \\\ --enable-libopencv \\\ --enable-shared \\\ --disable-vdpau \\\ --disable-vaapi \\\ --disable-hwaccels \\\ --disable-static \\\ --disable-debug %prep %setup -q -n ffmpeg-%{snapshot} %patch0 -p1 -b .libx264-requires %build mkdir generic pushd generic %{ff_configure} \ --shlibdir=%{_libdir} \ %if 0%{?ffmpegsuffix:1} --build-suffix=%{ffmpegsuffix} \ --disable-doc \ --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver \ %else %ifarch %{ix86} --cpu=core2 \ --enable-pic \ %endif %ifarch %{ix86} x86_64 --cpu=core2 \ --enable-runtime-cpudetect \ %endif %ifarch ppc --cpu=g3 \ --enable-runtime-cpudetect \ %endif %ifarch ppc64 --cpu=g5 \ --enable-runtime-cpudetect \ %endif %ifarch sparc sparc64 --disable-vis \ %endif %endif make %{?_smp_mflags} make documentation popd %if 0%{!?ffmpegsuffix:1} mkdir simd pushd simd %ifarch sparc sparc64 %{ff_configure} \ --shlibdir=%{_libdir}/v9 \ --cpu=v9 \ --enable-vis \ --disable-ffmpeg \ --disable-ffserver \ --disable-ffplay \ make %{?_smp_mflags} %endif popd %endif # qt-faststart direkt in das ffmpeg-Paket packen CURRENT_DIR=`pwd` mkdir -p %{buildroot}/%{_bindir}/ gcc $CURRENT_DIR/tools/qt-faststart.c -o qt-faststart %install rm -rf $RPM_BUILD_ROOT pushd generic make install DESTDIR=$RPM_BUILD_ROOT popd %if 0%{!?ffmpegsuffix:1} pushd simd %ifarch sparc sparc64 make install DESTDIR=$RPM_BUILD_ROOT %endif popd %endif install -D -m0755 qt-faststart "%{buildroot}/%{_bindir}/qt-faststart" # install systemd-service-file mkdir -p $RPM_BUILD_ROOT/lib/systemd/system install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/lib/systemd/system/ # /etc/ffserver.conf mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/ffserver.conf %clean rm -rf $RPM_BUILD_ROOT %pre /usr/sbin/useradd -M -N -g users -o -r -s /bin/bash -c "ffmpeg streaming server" -u 520 ffserver >/dev/null 2>&1 || : %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %post /bin/touch /var/log/ffserver.log /bin/chmod 666 /var/log/ffserver.log /bin/chown ffserver /var/log/ffserver.log %if 0%{!?ffmpegsuffix:1} %files %defattr(-,root,root,-) %doc COPYING.* CREDITS README doc/ffserver.conf %{_bindir}/ffmpeg %{_bindir}/ffplay %{_bindir}/ffprobe %{_bindir}/ffserver %{_bindir}/qt-faststart %{_mandir}/man1/ffmpeg.1* %{_mandir}/man1/ffplay.1* %{_mandir}/man1/ffprobe.1* %{_mandir}/man1/ffserver.1* %{_datadir}/ffmpeg %attr(0644, root, root) /lib/systemd/system/ffserver.service %attr(0644, root, root) %config(noreplace) %{_sysconfdir}/ffserver.conf %endif %files libs %defattr(-,root,root,-) %{_libdir}/lib*.so.* %if 0%{!?ffmpegsuffix:1} %ifarch sparc sparc64 %{_libdir}/v9/lib*.so.* %endif %endif %files devel %defattr(-,root,root,-) %doc MAINTAINERS doc/APIchanges doc/*.txt %{_includedir}/ffmpeg %{_libdir}/pkgconfig/lib*.pc %{_libdir}/lib*.so %if 0%{!?ffmpegsuffix:1} %ifarch sparc sparc64 %{_libdir}/v9/lib*.so %endif %endif -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From de.techno at gmail.com Sun Dec 11 08:53:55 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 13:23:55 +0530 Subject: [FFmpeg-user] compress security video In-Reply-To: References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> Message-ID: <4EE46193.4040502@gmail.com> On 12/11/11 05:13, Carl Eugen Hoyos wrote: > Peter B. das-werkstatt.com> writes: > >> Carl Eugen Hoyos wrote: >>> Did you try ffv1 (possibly with -coder 1)? >>> >> Although I'm a big fan of FFv1, are you sure that he's interested in >> losslessly encoding it? > I somehow assumed he does, but re-reading his message I was probably wrong... > > Otoh, for more information about lossy compression, his input simply wasn't > sufficient, after all, I could use -qscale 32 to compress all my videos;-) > >> (In our long-term tests, we've seen that a 1 minute FFv1-AVI (with PCM >> 16bit stereo audio) has about 350MB) >> >> Wouldn't a lossy codec, such as XviD or h264 > I would still love to see evidence that Xvid is better than FFmpeg's native ASP > encoder (which is slightly more difficult to tune). > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Xvid has better multithreading support and with default setting compresses more (with same quality). From de.techno at gmail.com Sun Dec 11 08:58:07 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 13:28:07 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <1323559623.39936.YahooMailClassic@web161301.mail.bf1.yahoo.com> References: <1323559623.39936.YahooMailClassic@web161301.mail.bf1.yahoo.com> Message-ID: <4EE4628F.3040308@gmail.com> On 12/11/11 04:57, Phil Rhodes wrote: >> because everybody out there is able to activate EVERY >> audio/video-codec existing in this world except you > Me and the guy who started this thread, two and counting! > >> but i guess not everybody is stupid except you becaus ethe >> others are not too lazy to read documentations, > What documentation? I have one file called "ffmpeg.exe". That's all I have. Oddly enough, it is capable of encoding MP3 audio, so perhaps the best thing for our correspondent to do is to use Windows or a mac and grab a binary from somewhere. > > You know, a "binary". That's finished, complete, ready-to-use software. Not a pile of text files that's many hours of configuration and one comp sci degree away from working. > >> the output of ./configure --help > What's a "./configure"? Where do I get one? What's it for? How do I use it? > >> devel-packages > What's a "devel-package"? > > Learning points from this: > > - Not everyone is a software engineer > - Not every software engineer is an expert on linux development environments > - Not every software engineer who's an expert on linux development environments is an expert on the development environment required to compile ffmpeg. > > Please stop assuming everyone should be a programmer. > > P > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Don't compile form source (or actually.. dont ./configure). Just install soundkonverter from the repos......... That's my final advice. From de.techno at gmail.com Sun Dec 11 09:04:45 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 13:34:45 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE40165.2000106@turmel.org> <4EE4374A.6040901@turmel.org> Message-ID: <4EE4641D.8010104@gmail.com> On 12/11/11 18:22, Phil Rhodes wrote: > On Sun, 11 Dec 2011 04:53:30 -0000, Phil Turmel > wrote: > >> I had to install Roxio, or PowerDVD, or one of the other products >> that pitch DVD playback to get the right system DLLs. > > Not so; basic versions of XP certainly didn't come with the ability to > run DVDs and installing VLC solves it, but that's not the point - VLC > will decode DVDs trans-region, so it must have some form of deCSS in > it somewhere. > > Linux people are being deliberately difficult here, just to make a > point, which is incredibly daft. > > P > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Suppose, you want to start a business selling laptops that too in the US -- a place which has a horribly stupid capitalist government (thus 1 of the few nations to have 'software patents'). The, will you sell the laptops with - 1) mp3 decoding/encoding preinstalled 2) Dolby technologies preinstalled 3) DTS technologies preinstalled 4) Oracle's JRE rather than the opensource version? 5) etc... etc... etc... ? From de.techno at gmail.com Sun Dec 11 09:07:41 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 13:37:41 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> Message-ID: <4EE464CD.3020803@gmail.com> On 12/11/11 18:24, Phil Rhodes wrote: >>> The windows binaries tend to have everything switched on > >> so do the same on linux > > How? Are there Linux binaries with everything switched on? > > Creating a build environment for ffmpeg can be very difficult. > Creating a build environment for ffmpeg that supports a wide variety > of third-party libraries is a major computing project requiring expert > skills. > > I mean, seriously, I assume linux has some sort of standalone > executable program format - why is there no equivalent of ffmpeg.exe? > The windows binaries end up being many, many megabytes with everything > included, but the point is: they actually work, whereas linux, as > we've seen, causes endless problems in this regard. > > P > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user And to fix the problem, we should start with ffmpeg (aaa... actually FF already address this issue). There should be automated static nightly builds. From de.techno at gmail.com Sun Dec 11 09:10:44 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 13:40:44 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: Message-ID: <4EE46584.8090001@gmail.com> On 12/11/11 05:06, Darryl Lewis wrote: > > On 11/12/11 8:05 AM, "doreisan" wrote: > >> Don't get me wrong. I love linux and after getting used to it I love >> ffmpeg. >> >> That being said, the point of this note is to exclaim out loud the >> following critique: ffmpeg is useless and impracticle. > > So you love something that is "useless and impracticle"? Passive > aggressive much? (BTW, I'm not sure what "impracticle" is, but I know what > useless is, so I'll assume it is along the same lines) > >> That begs the question as to just why. After 3 hours of trying I can't >> get it to enable mp3 encoding. The only reasoning that I'm given for >> disabling it is some lame excuse that it's proprietory. Ok? Really? Your >> serious about that? > Speak to the patent attorneys (Hint, they cost about $200/hr, but this > list is free [see, I can do passive aggressive too]). Or speak to your > politicians/king/ruler/dictator who agree with software patents and get > them to change their minds on it. > > >> Let me be clear, and blunt. It can, in theory, be enabled. It's free to >> get the lame codec. This is why ppl don't move to linux: every music >> player on the f'n entire earth uses mp3, not vorbis, not wav, not >> name-it, but mp3. So when are linux programmers such little bitch ass >> pansy f'n panywastes? Why not just enable the one everyone uses by >> default and why such frustration and agony just to do what we will do >> ANYWAY? > Umm...laws. US laws mostly. Other laws include Japans and South Korea. >> >> Flying sphaghetti monster dammit! >> _______________________________________________ >> 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 ffmpeg-user at herveybayaustralia.com.au Sun Dec 11 14:40:04 2011 From: ffmpeg-user at herveybayaustralia.com.au (Da Rock) Date: Sun, 11 Dec 2011 23:40:04 +1000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> Message-ID: <4EE4B2B4.7030604@herveybayaustralia.com.au> On 12/11/11 22:54, Phil Rhodes wrote: >>> The windows binaries tend to have everything switched on > >> so do the same on linux > > How? Are there Linux binaries with everything switched on? > > Creating a build environment for ffmpeg can be very difficult. > Creating a build environment for ffmpeg that supports a wide variety > of third-party libraries is a major computing project requiring expert > skills. > > I mean, seriously, I assume linux has some sort of standalone > executable program format - why is there no equivalent of ffmpeg.exe? > The windows binaries end up being many, many megabytes with everything > included, but the point is: they actually work, whereas linux, as > we've seen, causes endless problems in this regard. > Its not that simple. And no matter where you go with an attitude like that even the exceedingly patient support at freebsd would be taxed. Put simply (and I'll admit bluntly): Winblow$ and M$ are paid money to do things like this so that a user can just sit on their ass and never know how a computer works. If thats the way you want it, ok. But then there are things that you'll never ever be able to do. Linux/Unix is a bit more difficult; you *have* to get your feet wet and check out under the hood to find out what ticks. It is *a good experience* - albeit if your a newbie you'll want good help and not heavily biased remarks (no distro support will ever be unbiased, but some are definitely better at tact and helping than others. I find Linux a little fiery for my taste). A core policy of Linux/Unix has always been - and always will be - have one unit (program, whatever) do one thing, and do it really well. Then another user or developer can come along and piece it all together, maybe write a wrapper for it and use the units together. Another policy is (and this is why winblows will never fit on a cd or dvd) to reuse code as much as possible; thats merely a side effect of the above policy. So instead of having several programs with their own code taking up twice as much room or more, several programs *share* the same code in libraries. Updates can then be made to a library without upsetting the rest of the system. Now a lot of this happens "under the hood" in winblows so you don't pay attention to it, and essentially your system is administered by M$ (freaky thought when you think about it). You also then pay a tech to come an fix your computer as well as paying for the software; so technically you're getting ass-raped twice! :( You can get Linux distros that will do most of this, but never all; because the general idea is you learn about whats happening to your system instead of being a blackbox under the desk that magically does things for you. *You* can then fix your computer instead of being charged a fee for a 5min fix. And free online help to boot! Win-win... :) It is scary. I get that. But just because DOS hasn't been in use for years shouldn't make you frightened of a black screen with white text blinking at you for a response or command. And if you want help there are people on the lists out there that will help you. It may take longer to get an answer but if you're patient they will. You've started with ubuntu, thats good. Its the best stepping stone into the world without limits. If you're not happy there with what you want to do, try PC-BSD maybe. Or freebsd: they're one and the same- one has more user friendly features is all. And the lists are the same, patience is the key though. There are volunteers on these lists giving *free* advice and they can take time to respond. The questions@ list is very well populated though, with users worldwide with a wide range of experience in many different OS as well. The advice will be limited to mostly BSD systems and apps running on them though. If you are asked to provide more info, then do so, and if you can't then ask how; in no time you'll become more familiar with the terms mentioned here. I have noticed the ubuntu fellas are pretty good too. Use diplomacy and you'll get everywhere. Meanwhile I think this list has been flamed enough? What say all? :) From rodney.baker at iinet.net.au Sun Dec 11 15:07:53 2011 From: rodney.baker at iinet.net.au (Rodney Baker) Date: Mon, 12 Dec 2011 00:37:53 +1030 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE4471E.5020407@thelounge.net> Message-ID: <201112120037.53997.rodney.baker@iinet.net.au> On Sun, 11 Dec 2011 23:24:53 Phil Rhodes wrote: > >> The windows binaries tend to have everything switched on > > > > so do the same on linux > > How? Are there Linux binaries with everything switched on? > > Creating a build environment for ffmpeg can be very difficult. Creating a > build environment for ffmpeg that supports a wide variety of third-party > libraries is a major computing project requiring expert skills. > Rubbish. I did it and I am not a programmer nor an IT professional. It is not difficult at all. -- =================================================== Rodney Baker VK5ZTV rodney.baker at iinet.net.au =================================================== From cehoyos at ag.or.at Sun Dec 11 15:10:54 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 11 Dec 2011 14:10:54 +0000 (UTC) Subject: [FFmpeg-user] compress security video References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> <4EE46193.4040502@gmail.com> Message-ID: dE . gmail.com> writes: > On 12/11/11 05:13, Carl Eugen Hoyos wrote: > > I would still love to see evidence that Xvid is better than FFmpeg's native > > ASP encoder (which is slightly more difficult to tune). > > Xvid has better multithreading support and with default setting > compresses more (with same quality). As said, you have to use settings for FFmpeg ("tune") for optimal ASP encoding (it uses default settings that make it faster), please refer to the FAQ. Please cut your quotes, and please leave an empty line between the quotes and your text, it makes reading your mails much easier. Carl Eugen From dev at rarevision.com Sun Dec 11 15:26:13 2011 From: dev at rarevision.com (Thomas Worth) Date: Sun, 11 Dec 2011 06:26:13 -0800 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4AA57.4080000@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> Message-ID: >> I mean, seriously, I assume linux has some sort of standalone executable program format - why is there no >> equivalent of ffmpeg.exe? The windows binaries end up being many, many megabytes with everything included, but the >> point is: they actually work, whereas linux, as we've seen, causes endless problems in this regard. Phil, you can certainly do this on Linux. I build FFmpeg on both OS X and Linux in this way. The equivalent would be a binary named "ffmpeg" (no .exe). You would launch it exactly the same way you would on Windows from a terminal/command prompt (and feed it the exact same options). If you didn't have it in a directory in your PATH (e.g. a path the system uses to look for commands, sort of like C:\WINDOWS), you would execute it like this: $ ./ffmpeg. Otherwise, you could just do what you do on Windows and execute it like this: $ ffmpeg. > because linux software usually DOES NOT link static and this is good so > you get an update for an vulnerable librarie ffmpeg is using and > ffmpeg is fixed, for windows you need a new ffmpeg Eh, this isn't quite accurate. You can certainly link FFmpeg static on Linux have one binary that does everything. I actually prefer this, although I agree there are reasons to link dynamically. However, the convenience of being able to copy one binary across multiple machines far outweighs the pain of having to install all the libraries on every machine, in my opinion. If newer versions of these libraries are released, you can just recompile a new binary. I understand Phil's frustration. It is _way_ easier to compile FFmpeg on Linux/*nix. To do this on Windows, you pretty much have to set up a Unix-like environment using MSYS and MinGW. This gives you the shell and binaries needed to run configure, as well as gcc. If you're not experienced with Linux/*nix, it can take a minute to get the hang of, but once you do it works fine. Even in 64 bit! :-D Phil, I recommend grabbing MSYS/MinGW and playing around with it. Or, if you have a spare machine around you might just try loading Ubuntu and compiling FFmpeg there. Chances are you'll have more success on a Unix system until you understand the process enough to know how to troubleshoot if you can't get it working on Windows. From h.reindl at thelounge.net Sun Dec 11 15:32:59 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 15:32:59 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> Message-ID: <4EE4BF1B.4070709@thelounge.net> Am 11.12.2011 15:26, schrieb Thomas Worth: >> because linux software usually DOES NOT link static and this is good so >> you get an update for an vulnerable librarie ffmpeg is using and >> ffmpeg is fixed, for windows you need a new ffmpeg > > Eh, this isn't quite accurate. You can certainly link FFmpeg static on > Linux have one binary that does everything. you CAN but it is not really smart and you CAN NOT on many distributions like Feodra where libraies do not allow static linking to avoid people doing it whithout understand what security problems they introduce > although I agree there are reasons to link dynamically. However, the > convenience of being able to copy one binary across multiple machines > far outweighs the pain of having to install all the libraries on every > machine, in my opinion. If newer versions of these libraries are > released, you can just recompile a new binary. if you have multiple machines you normally use a package-manager building a rpm for ffmpeg pulls in all dependencies on the target machines > I understand Phil's frustration. i understand partly but i understand not why he refuses to learn > It is _way_ easier to compile FFmpeg > on Linux/*nix. but not if someone refueses to learn anything and do even not know ./confugure nor is using google -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From hguth at listingsmagic.com Sun Dec 11 15:59:16 2011 From: hguth at listingsmagic.com (Hans Guth) Date: Sun, 11 Dec 2011 07:59:16 -0700 Subject: [FFmpeg-user] Question about transitions Message-ID: <4EE4C544.6090408@listingsmagic.com> Hello all, not sure if this is possible with ffmpeg - but any guidance on how we might be able to go about doing something like this would be appreciated. We would like to look to create some templates like this short video http://www.sawbuck.com/property/Houston_Metro/77429_Cypress/7929936-12402-Francel-Lane/video and plug in photos with some script for the transitions. We have used dvd-slideshow to create slideshows but they are fairly limited. Thanks -- Hans Guth President - ListingsMagic 866-831-8639 ext. 704 From dev at rarevision.com Sun Dec 11 16:06:37 2011 From: dev at rarevision.com (Thomas Worth) Date: Sun, 11 Dec 2011 07:06:37 -0800 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4BF1B.4070709@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> Message-ID: >> I understand Phil's frustration. > > i understand partly but i understand not why he refuses to learn > >> It is _way_ easier to compile FFmpeg >> on Linux/*nix. > > but not if someone refueses to learn anything and do even not > know ./confugure nor is using google The way I see it, this is a public list so even if my advice is rejected by the original poster, there may be someone else out there that finds it helpful. Getting frustrated and/or angry with someone probably isn't doing much good (and making the thread longer unnecessarily). Oh and yes, learn configure. A whole new world of OSS awaits! From phil_rhodes at rocketmail.com Sun Dec 11 17:40:28 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 16:40:28 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <201112120037.53997.rodney.baker@iinet.net.au> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE4471E.5020407@thelounge.net> <201112120037.53997.rodney.baker@iinet.net.au> Message-ID: > Rubbish. I did it and I am not a programmer nor an IT professional. It > is not difficult at all. Were you using the same distribution as the people who write ffmpeg? What do most of them use? P From phil_rhodes at rocketmail.com Sun Dec 11 17:49:32 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 16:49:32 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE464CD.3020803@gmail.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE464CD.3020803@gmail.com> Message-ID: > There should be automated static nightly builds. Finally someone suggest a probably-feasible solution to the problem. If you're going to do that, though, yes make them statically linked and make sure you include everything. Host it in some obscure country and the job's a good 'un. If you don't do that, you will end up with endless repeats of this thread as people read that "ffmpeg can do Task A", then discover that Task A is not actually included in most of the ffmpeg installs that actually exist in the world. P From h.reindl at thelounge.net Sun Dec 11 17:53:21 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 17:53:21 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE4471E.5020407@thelounge.net> <201112120037.53997.rodney.baker@iinet.net.au> Message-ID: <4EE4E001.5070105@thelounge.net> Am 11.12.2011 17:40, schrieb Phil Rhodes: > >> Rubbish. I did it and I am not a programmer nor an IT professional. It is not difficult at all. > > Were you using the same distribution as the people who write ffmpeg? > What do most of them use? does not matter i do this fo fedora some guys took ma srpm and did the same on debian ./configure has nothing to do with the distribution if you enable something you have to install the dependencies if you don't know how you have to learn work with your package-managment -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From de.techno at gmail.com Sun Dec 11 12:58:07 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 17:28:07 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4BF1B.4070709@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> Message-ID: <4EE49ACF.3080307@gmail.com> On 12/11/11 20:02, Reindl Harald wrote: > > Am 11.12.2011 15:26, schrieb Thomas Worth: >>> because linux software usually DOES NOT link static and this is good so >>> you get an update for an vulnerable librarie ffmpeg is using and >>> ffmpeg is fixed, for windows you need a new ffmpeg >> Eh, this isn't quite accurate. You can certainly link FFmpeg static on >> Linux have one binary that does everything. > you CAN but it is not really smart > and you CAN NOT on many distributions like Feodra where > libraies do not allow static linking to avoid people doing > it whithout understand what security problems they introduce] NO that is not true. pass -static to GCC and you'll get what you want. It's also dependent on the program's build system. There's no source on earth which cannot be build as static. Whatever you install from the repository is NOT statically build and that's the point of a repository. > >> although I agree there are reasons to link dynamically. However, the >> convenience of being able to copy one binary across multiple machines >> far outweighs the pain of having to install all the libraries on every >> machine, in my opinion. If newer versions of these libraries are >> released, you can just recompile a new binary. > if you have multiple machines you normally use a package-manager > building a rpm for ffmpeg pulls in all dependencies on the target > machines > >> I understand Phil's frustration. > i understand partly but i understand not why he refuses to learn > >> It is _way_ easier to compile FFmpeg >> on Linux/*nix. > but not if someone refueses to learn anything and do even not > know ./confugure nor is using google > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From de.techno at gmail.com Sun Dec 11 13:14:53 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 17:44:53 +0530 Subject: [FFmpeg-user] compress security video In-Reply-To: References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> <4EE46193.4040502@gmail.com> Message-ID: <4EE49EBD.1040902@gmail.com> On 12/11/11 19:40, Carl Eugen Hoyos wrote: > dE . gmail.com> writes: > >> On 12/11/11 05:13, Carl Eugen Hoyos wrote: >>> I would still love to see evidence that Xvid is better than FFmpeg's native >>> ASP encoder (which is slightly more difficult to tune). >> Xvid has better multithreading support and with default setting >> compresses more (with same quality). > As said, you have to use settings for FFmpeg ("tune") for optimal ASP encoding > (it uses default settings that make it faster), please refer to the FAQ. I didn't find anything. Can you point it out? I'd love to have presets like with x264. Also there's a limit of 8 threads using the codec and using more threads results in higher CPU utilization. For xvid, 16 is the limit for my twin core. > > Please cut your quotes, and please leave an empty line between the quotes and > your text, it makes reading your mails much easier. I'm not sure, but in Thunderbird, I get vertical lines separating the quotes. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From h.reindl at thelounge.net Sun Dec 11 18:48:14 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 18:48:14 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE49ACF.3080307@gmail.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> Message-ID: <4EE4ECDE.4020507@thelounge.net> Am 11.12.2011 12:58, schrieb dE .: > On 12/11/11 20:02, Reindl Harald wrote: >> >> Am 11.12.2011 15:26, schrieb Thomas Worth: >>>> because linux software usually DOES NOT link static and this is good so >>>> you get an update for an vulnerable librarie ffmpeg is using and >>>> ffmpeg is fixed, for windows you need a new ffmpeg >>> Eh, this isn't quite accurate. You can certainly link FFmpeg static on >>> Linux have one binary that does everything. >> you CAN but it is not really smart >> and you CAN NOT on many distributions like Feodra where >> libraies do not allow static linking to avoid people doing >> it whithout understand what security problems they introduce] > NO that is not true. pass -static to GCC and you'll get what you want. It's also dependent on the program's build > system. There's no source on earth which cannot be build as static. > Whatever you install from the repository is NOT statically build and that's the point of a repository this is simply NOT true try to compile http://www.patrickfrei.ch/webalizer/ on fedora with enabled GeoIP support and you will fail because the GeoIP-devel from Fedora does not contain the static bits as all other devel-packages -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From de.techno at gmail.com Sun Dec 11 13:38:07 2011 From: de.techno at gmail.com (dE .) Date: Sun, 11 Dec 2011 18:08:07 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4ECDE.4020507@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> <4EE4ECDE.4020507@thelounge.net> Message-ID: <4EE4A42F.2090205@gmail.com> On 12/11/11 23:18, Reindl Harald wrote: > > Am 11.12.2011 12:58, schrieb dE .: >> On 12/11/11 20:02, Reindl Harald wrote: >>> Am 11.12.2011 15:26, schrieb Thomas Worth: >>>>> because linux software usually DOES NOT link static and this is good so >>>>> you get an update for an vulnerable librarie ffmpeg is using and >>>>> ffmpeg is fixed, for windows you need a new ffmpeg >>>> Eh, this isn't quite accurate. You can certainly link FFmpeg static on >>>> Linux have one binary that does everything. >>> you CAN but it is not really smart >>> and you CAN NOT on many distributions like Feodra where >>> libraies do not allow static linking to avoid people doing >>> it whithout understand what security problems they introduce] >> NO that is not true. pass -static to GCC and you'll get what you want. It's also dependent on the program's build >> system. There's no source on earth which cannot be build as static. >> Whatever you install from the repository is NOT statically build and that's the point of a repository > this is simply NOT true > > try to compile http://www.patrickfrei.ch/webalizer/ on fedora with enabled > GeoIP support and you will fail because the GeoIP-devel from Fedora does > not contain the static bits as all other devel-packages > > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Static bits (you mean static libraries, like the *.a files)? -devel packages contain headers. If a program using these headers is build as static, the headers will be copied to the binary, but it may also include prebuild static libraries. Maybe you can grab the corresponding .a files from somewhere... From dev at rarevision.com Sun Dec 11 19:08:33 2011 From: dev at rarevision.com (Thomas Worth) Date: Sun, 11 Dec 2011 10:08:33 -0800 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE464CD.3020803@gmail.com> Message-ID: On Sun, Dec 11, 2011 at 8:49 AM, Phil Rhodes wrote: > >> There should be automated static nightly builds. > > > Finally someone suggest a probably-feasible solution to the problem. > > If you're going to do that, though, yes make them statically linked and make > sure you include everything. Host it in some obscure country and the job's a > good 'un. If you don't do that, you will end up with endless repeats of this > thread as people read that "ffmpeg can do Task A", then discover that Task A > is not actually included in most of the ffmpeg installs that actually exist > in the world. Just to prepare you, FFmpeg does not come with the following: libmp3lame (MP3 encoding) libx264 (H.264 encoder) libfaac (AAC encoder) Again, legal issues as far as I know. You'll need to compile these libs separately (as static), and then point FFmpeg's configure to them. I usually compile FFmpeg with these as a minimum, because these formats/codecs are widely used. In fact, FFmpeg would be a bit less useful to me without them. From phil_rhodes at rocketmail.com Sun Dec 11 19:54:29 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 18:54:29 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4ECDE.4020507@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> <4EE4ECDE.4020507@thelounge.net> Message-ID: > try to compile http://www.patrickfrei.ch/webalizer/ on fedora with > enabled > GeoIP support and you will fail because the GeoIP-devel from Fedora does > not contain the static bits as all other devel-packages I thought this was all super-simple and could be done by anyone's pet gerbil? P From phil_rhodes at rocketmail.com Sun Dec 11 19:58:56 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 18:58:56 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE464CD.3020803@gmail.com> Message-ID: > Just to prepare you, FFmpeg does not come with the following: > > libmp3lame (MP3 encoding) > libx264 (H.264 encoder) > libfaac (AAC encoder) Windows binaries usually do. I don't think I've ever found one that didn't. I have, interestingly, seen windows builds that come was ffmpeg.exe, avcodec.dll, avformat.dll, etc. Which is fine (if pointless). Throw it in a folder somewhere and it works. But really, the situation that exists, where the world's most widely-used open source media utility doesn't by default support three of the most useful (if not the three most useful) media format is just... I don't know... comical. P From h.reindl at thelounge.net Sun Dec 11 20:05:59 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 20:05:59 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4A42F.2090205@gmail.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> <4EE4ECDE.4020507@thelounge.net> <4EE4A42F.2090205@gmail.com> Message-ID: <4EE4FF17.2000004@thelounge.net> Am 11.12.2011 13:38, schrieb dE .: > Static bits (you mean static libraries, like the *.a files)? -devel packages contain headers. If a program using > these headers is build as static, the headers will be copied to the binary, but it may also include prebuild static > libraries. > > Maybe you can grab the corresponding .a files from somewhere... maybe you have no idea about what you are speaking and giving here advices to get a crappy and unmaintainable os over the long in this times you setup one virtual machine with the whole development-stuff install there all devel-packages and build rpm/deb files mathcing to your os this is a work you do only ONCE a lifetime my buildmachine is from 2008, was installed with F9 and is currently on F15 and building packages for all my workstations, test-vms and 20 production-servers like a charme - so you can spent one time the work to make things right or play around the rest of your life and god beware you have to downgrade things or solve problems if you have worked long enough without using your package-managment -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From h.reindl at thelounge.net Sun Dec 11 20:09:48 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 20:09:48 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> <4EE4ECDE.4020507@thelounge.net> Message-ID: <4EE4FFFC.9030408@thelounge.net> Am 11.12.2011 19:54, schrieb Phil Rhodes: > >> try to compile http://www.patrickfrei.ch/webalizer/ on fedora with enabled >> GeoIP support and you will fail because the GeoIP-devel from Fedora does >> not contain the static bits as all other devel-packages > > I thought this was all super-simple and could be done by anyone's pet gerbil? even a trained monkey can install his os in a virtual machine for building packages and after reading some docs have an isolated build-environment instead install things without using his package-managment that the fedora-devel packages does not contain the static bits has the simple reason that no single package of the distribution should be static linked and you should also not do this as user, if you are not satisfied with this you can even install linux from scratch and learn how to satisfy your needs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From phil_rhodes at rocketmail.com Sun Dec 11 20:45:09 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Sun, 11 Dec 2011 19:45:09 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4BF1B.4070709@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> Message-ID: > i understand partly but i understand not why he refuses to learn I am not trying to be unnecessarily combative here (although I get the feeling you are), but this is not correct. If there is something useful I can learn which will help me I will happily do it; I just don't see the point. Why would I want to take extra time out to learn how to be a software engineer when I can simply download the binary onto a windows machine and immediately start using it with all of the features intact? Why would I want to spend a lot of time creating source trees, hacking text files, recompiling things and generally screwing around? The analogy would be that we're both trying to get to the top of a building. I take the elevator while you climb the outside with mountaineering equipment. What is the point? What does all this extra complexity gain anyone, other than bragging rights? P From lou at lrcd.com Sun Dec 11 21:08:57 2011 From: lou at lrcd.com (Lou) Date: Sun, 11 Dec 2011 11:08:57 -0900 Subject: [FFmpeg-user] Question about transitions In-Reply-To: <4EE4C544.6090408@listingsmagic.com> References: <4EE4C544.6090408@listingsmagic.com> Message-ID: <20111211110857.2a629bd6@lrcd.com> On Sun, 11 Dec 2011 07:59:16 -0700 Hans Guth wrote: > Hello all, not sure if this is possible with ffmpeg No, but FFmpeg can encode the final video suitable for web playback. > but any guidance on how we might be able to go about doing something > like this would be appreciated. My guess is the author probably used Adobe After Effects for the motion graphics. From h.reindl at thelounge.net Sun Dec 11 21:11:09 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2011 21:11:09 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> Message-ID: <4EE50E5D.8040200@thelounge.net> Am 11.12.2011 20:45, schrieb Phil Rhodes: > If there is something useful I can learn which will help me I will happily do it; > I just don't see the point. Why would I want to take extra time out to learn how to > be a software engineer when I can simply download the binary onto a windows machine and > immediately start using it with all of the features intact? so use windows and be happy or complain AT YOUR DISTRIBUTION why they are not including the options you like, here is the wrong place if your distribution refuses your request you have to options * learn compile it yourself (like i did) * pay someone who will do it for you there is nothing more to say! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From bostjan.strojan at gmail.com Sun Dec 11 21:22:15 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Sun, 11 Dec 2011 21:22:15 +0100 Subject: [FFmpeg-user] OSX lion, trying to compile from git fails Message-ID: hi, having some trouble compiling ffmpeg from git on OSX lion, here is the full paste: http://pastebin.com/BLLCY7kE any ideas on what to try ? (i'am really not an expert in this, but the same procedure pretty much worked out fine on snow leopard) thanks -- b. From hvidal at tesseract-tech.com Sun Dec 11 21:28:05 2011 From: hvidal at tesseract-tech.com (H. Vidal, Jr.) Date: Sun, 11 Dec 2011 15:28:05 -0500 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> Message-ID: <4EE51255.5000909@tesseract-tech.com> On 12/11/2011 02:45 PM, Phil Rhodes wrote: >> i understand partly but i understand not why he refuses to learn > > I am not trying to be unnecessarily combative here (although I get the > feeling you are), but this is not correct. Mr. Rhodes, for some time, I have been observing your comments on this mailing list, and I must point out that I take exception with your approach and general attitude here. Allow me to address these concerns, with all due respect... > > If there is something useful I can learn which will help me I will > happily do it; I just don't see the point. Sir, this sentence does not really make sense. If learning it will help you, and you feel that this is indeed applicable to your ultimate goal, whether practical or simply by way of indulging curiosity, then take the time to learn it. However, if there is no point, then don't waste your time attempting it if it does not serve you. It really is as simple as that. Linux technologies, open source, and the related engineering culture are very much derived from the 'if you want to do something technical, go figure it out and build it' culture of Unix. This is also a very popular mindset at very good engineering schools, and for good reason. It build better engineers and scientists. For the consumer culture of consumer operating systems, this may only be partially relevant. There may be individuals with a taste for the 'fix it yourself' style of work and there may be those with a 'I need it off-the-shelf now' requirement. There is overlap between these two cultures, to be sure. However, it simply, to me and perhaps to others on this list, does not make sense why a reasonable person would expect to 'enter the lair' of the do-it-yourself-ers and ask 'why don't you just buy it off-the-shelf?' That's not what we do. Otherwise, the bloody lot of us would, in fact, only buy commercial OSs and commercial code, and work with that.....instead of doing things like ffmpeg, reverse engineering codecs, and the like. It's not for everybody, and we collectively acknowledge this. We expect you to also recognize this. > Why would I want to take > extra time out to learn how to be a software engineer when I can simply > download the binary onto a windows machine and immediately start using > it with all of the features intact? My very point, sir. You might not be the sort (and this is not at all a bad thing!) interested in how 'we' the hackers and developers of this or that technology work, by working to invent technologies that might already be available, but choose to do this because it is instructive, or profitable, or fun or whatever. Think of it like a club of sorts. You are, of course, welcome to come into the club and mix and mingle and observe. You are even, naturally, encouraged to make constructive or even naive suggestions or questions regarding our methods. But it is not at all constructive to simply come in, disagree with the ongoing traditions and cultures of the club, and simply state, this sucks, you should all change. It's impolite, it is not productive, and it is certainly not welcome. > Why would I want to spend a lot of > time creating source trees, hacking text files, recompiling things and > generally screwing around? Perhaps this is not for you, sir. But, please, cut us a break and back off. We understand your position, it is not ours, but frankly I think I speak for others (certainly for me) when I say, your general approach, comments, and tendencies on this list are tedious and, so, unwelcome. Help us, somehow, instead. Or simply, with all due respect, be polite. > > The analogy would be that we're both trying to get to the top of a > building. I take the elevator while you climb the outside with > mountaineering equipment. Indeed, there are hearty fools who climb the outside of buildings just because they are interested to do so. I suppose, to extend the analogy, that it is possible to somehow parachute or fly to the top of a mountain. And there are those that do it /the hard way/ and that is a personal preference. One group does not gain anything by attacking the other. > > What is the point? What does all this extra complexity gain anyone, > other than bragging rights? There are no bragging rights, sir. It is a tinkerer culture, this is what we like, this is how we learn, and perhaps it is not for you. But please stop crapping on us. Really. I hope you will take these observations in the spirit of a calculated, careful set of criticisms and not a personal attack. Perhaps this attempt at politely addressing your ongoing concerns will assuage your sense of 'what we are doing is wrong' by pointing out, this works suits us, though perhaps not you. We can agree to disagree. But it is something of a well-beaten issue, wouldn't you agree? Certainly we won't change in our approach to this work, and it seems unlikely that you will either. That's OK, this is the greatness of free-expression of ideas. I only, personally, ask that you please accept this position only inasmuch as, now, it's clarified. So please, try to simply accept, we are a little different from you ... :) Hope you have a fine day. Best, hv > > P From coniophora at gmail.com Sun Dec 11 22:11:10 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sun, 11 Dec 2011 14:11:10 -0700 Subject: [FFmpeg-user] OSX lion, trying to compile from git fails In-Reply-To: References: Message-ID: On Dec 11, 2011, at 1:22 PM, Bo?tjan Strojan wrote: > hi, > > having some trouble compiling ffmpeg from git on OSX lion, here is the > full paste: > http://pastebin.com/BLLCY7kE > > any ideas on what to try ? (i'am really not an expert in this, but the > same procedure pretty much worked out fine on snow leopard) Lion (OS X 10.7) apparently requires a different compiler for ffmpeg. You need to add this to your configure options: --cc-clang Also, depending on your processor, you may want --arch=x86_64 instead of --arch=x86 The rest of this is not mac-specific, and I know most here understand this stuff better than I do and will hopefully correct me if I am wrong: --enable-nonfree: you don't need or want this since you are not using libfaac --enable-runtime-cpudetect: this is probably mostly if you are building a portable binary. If it's just for your machine, things may be faster if you remove this. --enable-avfilter: This option is not in config --help, and I believe it is on by default. --enable-filters: Ditto. Jim From bostjan.strojan at gmail.com Sun Dec 11 22:23:55 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Sun, 11 Dec 2011 22:23:55 +0100 Subject: [FFmpeg-user] OSX lion, trying to compile from git fails In-Reply-To: References: Message-ID: Thanks, Jim However --cc-clang says to be unsupported switch? On Sun, Dec 11, 2011 at 10:11 PM, Jim Worrall wrote: > > On Dec 11, 2011, at 1:22 PM, Bo?tjan Strojan wrote: > >> hi, >> >> having some trouble compiling ffmpeg from git on OSX lion, here is the >> full paste: >> http://pastebin.com/BLLCY7kE >> >> any ideas on what to try ? (i'am really not an expert in this, but the >> same procedure pretty much worked out fine on snow leopard) > > > Lion (OS X 10.7) apparently requires a different compiler for ffmpeg. > You need to add this to your configure options: --cc-clang > Also, depending on your processor, you may want --arch=x86_64 > instead of --arch=x86 > > The rest of this is not mac-specific, and I know most here understand > this stuff better than I do and will hopefully correct me if I am wrong: > > --enable-nonfree: you don't need or want this since you are not using libfaac > --enable-runtime-cpudetect: this is probably mostly if you are building a > portable binary. ?If it's just for your machine, things may be faster if you > remove this. > --enable-avfilter: This option is not in config --help, and I believe it is on > by default. > --enable-filters: Ditto. > > Jim > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -- b From rodney.baker at iinet.net.au Sun Dec 11 22:40:45 2011 From: rodney.baker at iinet.net.au (Rodney Baker) Date: Mon, 12 Dec 2011 08:10:45 +1030 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> Message-ID: <201112120810.45866.rodney.baker@iinet.net.au> On Mon, 12 Dec 2011 03:10:28 Phil Rhodes wrote: > > Rubbish. I did it and I am not a programmer nor an IT professional. It > > is not difficult at all. > > Were you using the same distribution as the people who write ffmpeg? > > What do most of them use? > No. I use openSuSE. I have no idea what the developers use but it doesn't matter. Creating a development environment for cross compiling (e.g. compiling windows binaries on linux) is slightly more difficult, and I've not attempted that, but most distro package managers make it extremely simple. You simply have to install the right packages. The distro's that I've used all have "meta- packages" that automatically install all necessary bits and pieces. Once you have that, most projects are very simple to build from source. Yes, resolving dependencies has to be done manually, but there are two ways of doing that. Either a) install the required libraries and headers using your distro's package manager (the easy way) or download and build each of the dependencies separately before building your main project (if you want to make sure you have the latest bleeding-edge version of everything). The first time it takes a little bit of time and patience, but once it's done updating is a matter of simply updating the source (each project has instructions on how to do this - there is usually one command that has to be run to do it automatically), then rebuilding using the updated source. Again, most projects have documentation included on exactly how to do this. It certainly is not rocket science. -- =================================================== Rodney Baker VK5ZTV rodney.baker at iinet.net.au =================================================== From cehoyos at ag.or.at Sun Dec 11 22:50:26 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 11 Dec 2011 21:50:26 +0000 (UTC) Subject: [FFmpeg-user] OSX lion, trying to compile from git fails References: Message-ID: Bo?tjan Strojan gmail.com> writes: > However --cc-clang says to be unsupported switch? ./configure --cc=clang As said, you should not use --enable-nonfree, it does not do anything useful in your configure line. Do not use --enable-runtime-cpudetect unless you have a reason to (= if you are not a user, but a distributor. This case would be one more reason not to use --enable-nonfree) --enable-pthreads --enable-avfilter --enable-filters are default and should therefore be redundant (consider checking configure's output if pthreads are correctly detected, I could of course be wrong) And I would suggest not to use --arch at all unless there is a reason. For future reports: Please post all necessary information on this list, external references tend to disappear. In the case of a build error, please run make (again), if it fails run "make V=1", then post your configure line and the complete, uncut output of "make V=1" here (do not post the complete output of the first "make" run). Carl Eugen From cehoyos at ag.or.at Sun Dec 11 23:00:36 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 11 Dec 2011 22:00:36 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg issue References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE464CD.3020803@gmail.com> Message-ID: Thomas Worth rarevision.com> writes: > Just to prepare you, FFmpeg does not come with the following: [edited for clarity] > libmp3lame (MP3 encoding) > libx264 (H.264 encoder) > Again, legal issues as far as I know. I may misunderstand you (and I have edited your message!), but please allow me to repeat that there are NO legal issues that are the reason that "FFmpeg does not come with" lame and libx264. Both are independent projects for the sake of this discussion. lame is simply older than FFmpeg (and uses the same license) and the (limited) manpower of FFmpeg fortunately went into other tasks than reinventing this wheel. The people who wrote x264 decided to do it outside of FFmpeg, please search the mailing lists if you want to know more. > libfaac (AAC encoder) FFmpeg binaries (at least if linked against xvid/x264) may not be legally distributed with libfaac support because libfaac is not free software and you cannot fulfil the terms of the GPL for libfaac. Carl Eugen From demimurych at mail.ru Sun Dec 11 23:15:40 2011 From: demimurych at mail.ru (demimurych) Date: Mon, 12 Dec 2011 00:15:40 +0200 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <4EE3B632.5010709@mdsh.com> References: <201112092348.05340.demimurych@mail.ru> <20111209231817.GK10300@leki> <4EE3B632.5010709@mdsh.com> Message-ID: <201112120015.40278.demimurych@mail.ru> ? ????????? ?? ???????, 10-???-2011 21:42:42 ????? Mark Himsley ???????: > On 09/12/2011 23:18, Cl?ment B?sch wrote: > > On Fri, Dec 09, 2011 at 11:48:05PM +0200, demimurych wrote: > >> Hello. > >> > >> I'm currently working with libavfilter and have a question relating > >> watermarks. > >> > >> What I already know is how to put a watermark on a whole video clip. > >> ffmpeg -i inputfile -vf "movie=650_360_net.png [logo]; [in][logo] > >> overlay=W- w-20:H-h-20 [out]" outpufile > >> > >> What I'm trying to achieve is to place a watermark that would only be > >> visible from some certain point and to some point - for example, only > >> the first 10 seconds of the video clip. > >> > >> If there's a workaround that can make it possible please let me know. > >> I'm stuck on this issue right now so I would be glad to receive an > >> answer. > >> > >> Thanks in advance. > > > > Maybe you could generate a 10 seconds video with your source image, and > > use it as overlay? Hello again, thank you very much for a fast answer. Using of fade effect is a smart solution indeed. However it's still not really obvious for me, how can I fade just the watermark and not the whole frame. I would appreciate if you could explain the workaround further and tell more details. Thanks in advance, Max > > Or better still, use a fade filter to fade the overlay out after 10 > seconds. > > Or even better, use two fade filters, one to fade the watermark in and > another to fade it out again. From coniophora at gmail.com Sun Dec 11 23:17:26 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sun, 11 Dec 2011 15:17:26 -0700 Subject: [FFmpeg-user] OSX lion, trying to compile from git fails In-Reply-To: References: Message-ID: On Dec 11, 2011, at 2:50 PM, Carl Eugen Hoyos wrote: > Bo?tjan Strojan gmail.com> writes: > >> However --cc-clang says to be unsupported switch? > > ./configure --cc=clang Sorry for the error, Carl is right of course. And if it still doesn't work you may need to get the latest Xcode/Developer's Tools, especially if you haven't updated that since Lion came out. > As said, you should not use --enable-nonfree, it does not do anything useful in > your configure line. > Do not use --enable-runtime-cpudetect unless you have a reason to (= if you are > not a user, but a distributor. This case would be one more reason not to use > --enable-nonfree) > > --enable-pthreads --enable-avfilter --enable-filters are default and should > therefore be redundant (consider checking configure's output if pthreads are > correctly detected, I could of course be wrong) > > And I would suggest not to use --arch at all unless there is a reason. I can't remember why I started using --arch=x86_64, I think one of my libraries wasn't found correctly without it, but I could be wrong. I'll try it without. From rodney.baker at iinet.net.au Sun Dec 11 23:49:32 2011 From: rodney.baker at iinet.net.au (Rodney Baker) Date: Mon, 12 Dec 2011 09:19:32 +1030 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE4BF1B.4070709@thelounge.net> Message-ID: <201112120919.32643.rodney.baker@iinet.net.au> On Mon, 12 Dec 2011 06:15:09 Phil Rhodes wrote: > [...] > What is the point? What does all this extra complexity gain anyone, other > than bragging rights? > Flexibility and control. You get to build the software with the options and features *you* need. If there is unnecessary stuff, you get to remove it. If there is something not there by default, or experimental features that you want to play with, you get to add them. If you are so inclined and have the ability (I don't), if you find bugs you can have a go at fixing them and submit them upstream for approval/inclusion. If those sort of things don't interest you, stick to using your pre-compiled binaries on Windows or your chosen Linux distribution. Just don't complain here that "x" isn't installed/configured by default - talk to the person that packaged it. -- =================================================== Rodney Baker VK5ZTV rodney.baker at iinet.net.au =================================================== From phil_rhodes at rocketmail.com Mon Dec 12 03:28:26 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Mon, 12 Dec 2011 02:28:26 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <201112120810.45866.rodney.baker@iinet.net.au> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> Message-ID: > You simply have to install the right packages. There is a great tendency among linux people to leave things out of instructions, and I suspect this is what you are doing here as what you're saying simply does not reflect my experience. An environment capable of building ffmpeg, or at least an ffmpeg useful in 2011, comprises at least a few thousand files, once you involve dependencies, dependencies of dependencies, source, headers, makefiles, scripts, configuration, documentation, executables and libraries for everything that's required. Each one of those files has to be the right version with the right permissions in the right place, correctly referred to in other files, creating a thousands-factorial web of potential failure, and you furthermore have to worry about which of those files will land you in bankruptcy court or prison if you happen to give the executable to a friend. Anybody trying to assert that this is in any way trivial or easy is simply a fantasist. My direct experience is that it fails much more often than it succeeds. These failures are generally overlooked by the linux community on the basis that most of them are repairable if you happen to be an expert in configuration and shell scripts, makefiles, C itself, and of course the API and coding conventions of every piece of software that's involved. If you are not that person, which I am not, what you will actually find is that somewhere early, very early, in the procedure, you will hit a problem, and you will ask about it on a mailing list and everyone will call you an idiot, because you didn't understand that when someone said "Perform procedure X", what they actually meant was to perform the procedure then fix the inevitable problems arising therefrom. I would love one of the clever people who's been disagreeing with my comments to take a brand new Ubuntu box and enlighten us all, step by step, with what it actually took to create a build environment for ffmpeg. My suspicion is: quite a lot of banging on text files. P From andrew at andrews-corner.org Mon Dec 12 04:46:36 2011 From: andrew at andrews-corner.org (andrew) Date: Mon, 12 Dec 2011 14:46:36 +1100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> Message-ID: <20111212034636.GA6776@skamandros.andrews-corner.org> On Mon, Dec 12, 2011 at 02:28:26AM -0000, Phil Rhodes wrote: > I would love one of the clever people who's been disagreeing with my > comments to take a brand new Ubuntu box and enlighten us all, step > by step, with what it actually took to create a build environment > for ffmpeg. My suspicion is: quite a lot of banging on text files. http://ubuntuforums.org/showthread.php?t=786095 Andrew -- You think that's air you're breathing now? From phil_rhodes at rocketmail.com Mon Dec 12 05:12:24 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Mon, 12 Dec 2011 04:12:24 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <20111212034636.GA6776@skamandros.andrews-corner.org> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <20111212034636.GA6776@skamandros.andrews-corner.org> Message-ID: Several reactions: 1) You think that "sudo apt-get remove ffmpeg x264 libx264-dev sudo apt-get update sudo apt-get install build-essential checkinstall git libfaac-dev libjack-jackd2-dev \ libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev \ libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html yasm zlib1g-dev cd git clone git://git.videolan.org/x264 cd x264 ./configure --enable-static make sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default sudo apt-get remove libvpx-dev cd git clone ftp://git.chromium.org/webm/libvpx.git cd libvpx ./configure make sudo checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default cd git clone --depth 1 git://source.ffmpeg.org/ffmpeg cd ffmpeg ./configure --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 make sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default hash x264 ffmpeg ffplay ffprobe cd ~/ffmpeg make tools/qt-faststart sudo checkinstall --pkgname=qt-faststart --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default install -Dm755 tools/qt-faststart \ /usr/local/bin/qt-faststart cd ~/x264 make distclean ./configure --enable-static make sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default" is simple??!? 2) I don't think you'd ever get through such a vast amount of very complex shell commands without errors, so in essence, I don't believe you for a picosecond, and 3) If your assertion is that it WOULD work, why on earth is the described procedure not a one-click, automated task? I suspect it isn't automatic because you can't really assume a sequence of shell commands that complex will work repeatably, and there will be changes required. This sort of puts us back at the point of "you have to be a coder," doesn't it? I'd throw Ubuntu on a spare box and prove it, but that would open up the worm-filled can of grub configuration, and I really don't have the requisite nine months to spend on this. P From anaerin at gmail.com Mon Dec 12 06:28:07 2011 From: anaerin at gmail.com (Robert Johnston) Date: Sun, 11 Dec 2011 23:28:07 -0600 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <20111212034636.GA6776@skamandros.andrews-corner.org> Message-ID: <4EE590E7.3060309@gmail.com> On 11/12/2011 10:12 PM, Phil Rhodes wrote: > Several reactions: > > 1) You think that "sudo apt-get remove ffmpeg x264 libx264-dev sudo > apt-get update sudo apt-get install build-essential checkinstall git > libfaac-dev libjack-jackd2-dev \ libmp3lame-dev libopencore-amrnb-dev > libopencore-amrwb-dev libsdl1.2-dev libtheora-dev \ libva-dev > libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html yasm > zlib1g-dev cd git clone git://git.videolan.org/x264 cd x264 ./configure > --enable-static make sudo checkinstall --pkgname=x264 > --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print > $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default sudo > apt-get remove libvpx-dev cd git clone > ftp://git.chromium.org/webm/libvpx.git cd libvpx ./configure make sudo > checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" > --backup=no \ --deldoc=yes --fstrans=no --default cd git clone --depth 1 > git://source.ffmpeg.org/ffmpeg cd ffmpeg ./configure --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 make sudo checkinstall --pkgname=ffmpeg > --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes > --fstrans=no --default hash x264 ffmpeg ffplay ffprobe cd ~/ffmpeg > make tools/qt-faststart sudo checkinstall --pkgname=qt-faststart > --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes > --fstrans=no --default install -Dm755 tools/qt-faststart \ > /usr/local/bin/qt-faststart cd ~/x264 make distclean ./configure > --enable-static make sudo checkinstall --pkgname=x264 > --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print > $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default" is > simple??!? No, but you're not executing that. You are, instead, working in logical batches: ------------------------------------------------------------------------ Step 1: Clear out old FFMpeg ------------------------------------------------------------------------ sudo apt-get remove ffmpeg x264 libx264-dev ------------------------------------------------------------------------ Step 2: Make sure you're running the latest libraries ------------------------------------------------------------------------ sudo apt-get update ------------------------------------------------------------------------ Step 3: Install packages needed to build. ------------------------------------------------------------------------ sudo apt-get install build-essential checkinstall git libfaac-dev \ libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev \ libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libva-dev \ libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html yasm \ zlib1g-dev ------------------------------------------------------------------------ Step 4: Move to your home directory and check out the latest version of x264 ------------------------------------------------------------------------ cd git clone git://git.videolan.org/x264 ------------------------------------------------------------------------ Step 5: Configure, build and install ------------------------------------------------------------------------ cd x264 ./configure --enable-static make sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | awk \ -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default ------------------------------------------------------------------------ Step 6: Clear out old libvpx ------------------------------------------------------------------------ sudo apt-get remove libvpx-dev ------------------------------------------------------------------------ Step 7: Move back to your home directory and grab the latest version of libvpx ------------------------------------------------------------------------ cd git clone ftp://git.chromium.org/webm/libvpx.git ------------------------------------------------------------------------ Step 8: Configure, build and install libvpx ------------------------------------------------------------------------ cd libvpx ./configure make sudo checkinstall --pkgname=libvpx --pkgversion="1:$(date \ +%Y%m%d%H%M)-git" --backup=no --deldoc=yes --fstrans=no --default ------------------------------------------------------------------------ CONGRATULATIONS, your build environment is now complete. Next time you want to compile ffmpeg, you only need to go to step 9. ------------------------------------------------------------------------ Step 9: Go back to the home directory and download the latest ffmpeg ------------------------------------------------------------------------ cd git clone --depth 1 git://source.ffmpeg.org/ffmpeg ------------------------------------------------------------------------ Step 10: Configure, build and install ffmpeg ------------------------------------------------------------------------ cd ffmpeg ./configure --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 make sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date \ +%Y%m%d%H%M)-git" --backup=no --deldoc=yes --fstrans=no --default > 2) I don't think you'd ever get through such a vast amount of very > complex shell commands without errors, so in essence, I don't believe > you for a picosecond, and If you break it down correctly, and approach it piece by piece, it's not near so bad. Even I, as a veritable linux noob, can work it out just from parsing the command-line mess you made. > 3) If your assertion is that it WOULD work, why on earth is the > described procedure not a one-click, automated task? Because it depends on what you have already installed, what the system is running, what dependencies are available, and what capabilities you want. > I suspect it isn't automatic because you can't really assume a sequence > of shell commands that complex will work repeatably, and there will be > changes required. This sort of puts us back at the point of "you have to > be a coder," doesn't it? You don't have to be a coder to throw commands into a shell one at a time and watch what happens. And if something does fail, a quick google search can typically clean up the problem. Putting it all in one shell script (or some other one-click method), however, can cause massive problems as it continues through. For the most part, however, people don't have to compile their own ffmpeg. Distro managers and packagers already do that for you. The only time you would ever need to roll your own is if you want bleeding-edge features, or you are reporting a bug of some description. > I'd throw Ubuntu on a spare box and prove it, but that would open up the > worm-filled can of grub configuration, and I really don't have the > requisite nine months to spend on this. Ah. Sorry, you were trolling. Sorry, I didn't recognise the signs immediately. I apologise for wasting everyone's time baiting this particular example. From imsaurabhrawat at gmail.com Mon Dec 12 07:58:10 2011 From: imsaurabhrawat at gmail.com (s.rawat) Date: Mon, 12 Dec 2011 12:28:10 +0530 Subject: [FFmpeg-user] External UVC Camera Video Streaming/Image Capturing using ffmpeg In-Reply-To: References: Message-ID: I tried replcing this line with the line below in the build.sh # FLAGS="$FLAGS --disable-everything --enable-indevs --enable-protocol=file" FLAGS="$FLAGS --enable-indevs --enable-protocol=file" but it gave this error : ERROR: libvpx decoder version must be >=0.9.1 i tried installing the dev package for libvpx from the synaptic maager, but still the same.Though I could see /lib/libvpx.so.0.9 ./lib/libvpx.so.0.9.5 ./lib/debug/usr/lib/libvpx.so.0.9.5 in the lib directory libvpx.so.0.9.5 is defintely present and which is certainly > =0.9.1 , then Y I am getting this error. Any clue on this ? Rgds, Saurabh "..pain is temporary.....quitting lasts forever......" On Sat, Dec 10, 2011 at 7:43 PM, Carl Eugen Hoyos wrote: > s.rawat gmail.com> writes: > > > ffmpeg -y -t 25 -f video4linux2 -r 15 -s 320*240 -pix_fmt yuyv422 -i > > /dev/video1 -an -f avi Test_QVGA1.avi > > > > But I am the following output/error(see in *Bold* at last) --> > > > > FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers > > This is old, please use current git head, see > http://ffmpeg.org/download.html > > > Requested output format 'avi' is not a suitable output format > > ioctl(VIDIOC_QBUF) > > You specified "--disable-everything" to disable the avi muxer, so it does > not > work. I suggest you first try whatever you want to achieve with an > as-short-as-possible configure line (without --disable-everything and if > possible with static libraries), if it works, add --disable-everything and > the > necessary --enable options (and use --enable-shared if necessary). > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From imsaurabhrawat at gmail.com Mon Dec 12 08:04:10 2011 From: imsaurabhrawat at gmail.com (s.rawat) Date: Mon, 12 Dec 2011 12:34:10 +0530 Subject: [FFmpeg-user] External UVC Camera Video Streaming/Image Capturing using ffmpeg In-Reply-To: References: Message-ID: Hi Moreover can some one point me in the right direction for the intent of my mail --> I am trying to stream to stream the video content upto the Android UI layer.I can findout the inteface on UI layer which accepts the data(basically in buffer format(yuv422) to display ) but which file si need to look into to see this. I figured out ffmpeg.c is the one which records onto a file and ffplay.c is the one which plays the recorded file, I need to stream the video (saving it only when desired by the user besides it keeps in streaming the video above), i need to stream those buffers upto the UI layer.Plz adviceme in this direction. Rgds, saurabh "..pain is temporary.....quitting lasts forever......" On Mon, Dec 12, 2011 at 12:28 PM, s.rawat wrote: > I tried replcing this line with the line below in the build.sh > # FLAGS="$FLAGS --disable-everything --enable-indevs > --enable-protocol=file" > > FLAGS="$FLAGS --enable-indevs --enable-protocol=file" > but it gave this error : > > ERROR: libvpx decoder version must be >=0.9.1 > > i tried installing the dev package for libvpx from the synaptic maager, > but still the same.Though I could see > /lib/libvpx.so.0.9 > ./lib/libvpx.so.0.9.5 > ./lib/debug/usr/lib/libvpx.so.0.9.5 > > > in the lib directory > libvpx.so.0.9.5 is defintely present and which is certainly > =0.9.1 , > then Y I am getting this error. > Any clue on this ? > > Rgds, > Saurabh > > > "..pain is temporary.....quitting lasts forever......" > > > > > On Sat, Dec 10, 2011 at 7:43 PM, Carl Eugen Hoyos wrote: > >> s.rawat gmail.com> writes: >> >> > ffmpeg -y -t 25 -f video4linux2 -r 15 -s 320*240 -pix_fmt yuyv422 -i >> > /dev/video1 -an -f avi Test_QVGA1.avi >> > >> > But I am the following output/error(see in *Bold* at last) --> >> > >> > FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers >> >> This is old, please use current git head, see >> http://ffmpeg.org/download.html >> >> > Requested output format 'avi' is not a suitable output format >> > ioctl(VIDIOC_QBUF) >> >> You specified "--disable-everything" to disable the avi muxer, so it does >> not >> work. I suggest you first try whatever you want to achieve with an >> as-short-as-possible configure line (without --disable-everything and if >> possible with static libraries), if it works, add --disable-everything >> and the >> necessary --enable options (and use --enable-shared if necessary). >> >> Carl Eugen >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > From h.reindl at thelounge.net Mon Dec 12 08:51:09 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Mon, 12 Dec 2011 08:51:09 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> Message-ID: <4EE5B26D.40807@thelounge.net> Am 12.12.2011 03:28, schrieb Phil Rhodes: > I would love one of the clever people who's been disagreeing with my comments to take a > brand new Ubuntu box and enlighten us all, step by step, with what it actually took to > create a build environment for ffmpeg. My suspicion is: quite a lot of banging on text files. i have poszed my whole rpmbuild_SPEC for fedora that you are using ubuntu is your problem the SPEC contains all to install build-dependencies so as said: a trained monkey can build ffmpeg with that -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From h.reindl at thelounge.net Mon Dec 12 08:53:43 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Mon, 12 Dec 2011 08:53:43 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <20111212034636.GA6776@skamandros.andrews-corner.org> Message-ID: <4EE5B307.7000308@thelounge.net> Am 12.12.2011 05:12, schrieb Phil Rhodes: > 3) If your assertion is that it WOULD work, why on earth is the described procedure not a > one-click, automated task? again: pay one if you are too lazy and leave the world fuck in peace i learned to build ffmpeg for my distribution 3 years ago and since them i make weekly builds and distribute them to a lot of machines in a cigarette break, but no for people like you i would not do it even for money -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From spider58 at gmail.com Mon Dec 12 09:42:39 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 10:42:39 +0200 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue Message-ID: Hello. Im using ffmpeg.exe for watermark on windows. 2 different ffmpeg command 1st and* WORKING* (PNG at same location of ffmpeg.exe) *ffmpeg -i c:\myvid.flv -vf "movie=mylogo.png [logo]; [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* 2nd and *Not WORKING* (PNG at different location from ffmpeg.exe) *ffmpeg -i c:\myvid.flv -vf "movie=d:\directory\mylogo.png [logo]; [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* i've got error message about PNG location. ffmpeg is replacing PNG location from *d:\directory\mylogo.png to **directorymylogo.png* i found a way and using command such as (with double slashhes) *ffmpeg -i c:\myvid.flv -vf "movie=d::\\directory\\mylogo.png [logo]; [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* this time ffmpeg is replacing PNG location from *d::\\directory\\mylogo.png to **:\directory\mylogo.png* so loses my D drive LETTER Anyway. How can i use PNG at different locaiton, D, C, E or any drive Thanks for your relations From ffmpeg at gmail.com Mon Dec 12 09:52:30 2011 From: ffmpeg at gmail.com (Geek.Song) Date: Mon, 12 Dec 2011 16:52:30 +0800 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: Please apply the following patch: --- L:/git/ffmpeg/libavfilter/src_movie.c Tue Nov 15 09:47:50 2011 +++ J:/CloudPlayer/trunk/libs/ffmpeg/libavfilter/src_movie.c Mon Dec 12 16:47:49 2011 @@ -37,6 +37,7 @@ #include "libavformat/avformat.h" #include "avcodec.h" #include "avfilter.h" +#include "libavutil/audioconvert.h" typedef struct { /* common A/V fields */ @@ -105,6 +106,18 @@ av_log(ctx, AV_LOG_ERROR, "No filename provided!\n"); return AVERROR(EINVAL); } +#if HAVE_DOS_PATHS + if (args[0] == ':' && (args[1] == '\\' || args[1] == '/')) { + char *p = movie->file_name + strlen(movie->file_name); + while (*args) { + *p++ = *args++; + // try to find second token + if (*args == ':') + break; + } + *p = '\0'; + } +#endif if (*args++ == ':' && (ret = av_set_options_string(movie, args, "=", ":")) < 0) { av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args); On Mon, Dec 12, 2011 at 4:42 PM, spider58 wrote: > Hello. > > Im using ffmpeg.exe for watermark on windows. > > 2 different ffmpeg command > > 1st and* WORKING* (PNG at same location of ffmpeg.exe) > > *ffmpeg -i c:\myvid.flv -vf "movie=mylogo.png [logo]; [in][logo] > overlay=0:0 [out]" c:\mynewvid.flv* > > > 2nd and *Not WORKING* (PNG at different location from ffmpeg.exe) > > *ffmpeg -i c:\myvid.flv -vf "movie=d:\directory\mylogo.png [logo]; > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* > > i've got error message about PNG location. ffmpeg is replacing PNG > location ?from *d:\directory\mylogo.png ? ? to ? ? **directorymylogo.png* > > i found a way and using command such as (with double slashhes) > > *ffmpeg -i c:\myvid.flv -vf "movie=d::\\directory\\mylogo.png [logo]; > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* > > this time ffmpeg is replacing PNG location from > *d::\\directory\\mylogo.png > to ? ?**:\directory\mylogo.png* > > so loses my D drive LETTER Anyway. > > How can i use PNG at different locaiton, ?D, C, E or any drive > > Thanks for your relations > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -- ----------------------------------------------------------------------------------------- My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 -------------- next part -------------- A non-text attachment was scrubbed... Name: fix_dos_path.patch Type: application/octet-stream Size: 1006 bytes Desc: not available URL: From spider58 at gmail.com Mon Dec 12 09:55:50 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 10:55:50 +0200 Subject: [FFmpeg-user] frei0r filter problem Message-ID: Hello. Im using ffmpeg.exe on windows. I've dowloaded lastest ffmpeg.exe from ffmpeg.org and tried to give some effect to my video with frei0r command. My command sample is above *ffmpeg -y -i c:\myvideo.mp4 -vf frei0r="glow:0.5" -f flv c:\mynewvideo.flv > * > but i got an error message *no such filter frei0r.* exe file configured with *--enable-frei0r* as above C:\ffmpegkit\bin>ffmpeg -filters > ffmpeg version N-33818-gd049257, Copyright (c) 2000-2011 the FFmpeg > developers > built on Oct 19 2011 22:57:39 with gcc 4.6.1 > configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect > --ena > ble-avisynth --enable-bzlib *--enable-frei0r* --enable-libopencore-amrnb > --enable- > libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame > --ena > ble-libopenjpeg --enable-librtmp --enable-libschroedinger > --enable-libspeex --en > able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc > --enable-libvorbis > --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid > --enable-zlib > But when i list filters with ffmpeg.exe -filters i cannot see frei0r filter a above Filters: > aconvert Convert the input audio to > sample_fmt:channel_layout:packed_fmt > . > aformat Convert the input audio to one of the specified formats. > anull Pass the source unchanged to the output. > aresample Resample audio data. > ashowinfo Show textual information for each audio frame. > abuffer Buffer audio frames, and make them accessible to the > filterchai > n. > aevalsrc Generate an audio signal generated by an expression. > amovie Read audio from a movie source. > anullsrc Null audio source, return empty audio frames. > abuffersink Buffer audio frames, and make them available to the end > of the > filter graph. > anullsink Do absolutely nothing with the input audio. > blackframe Detect frames that are (almost) black. > boxblur Blur the input. > copy Copy the input video unchanged to the output. > crop Crop the input video to width:height:x:y. > cropdetect Auto-detect crop size. > delogo Remove logo from input video. > deshake Stabilize shaky video. > drawbox Draw a colored box on the input video. > drawtext Draw text on top of video frames using libfreetype > library. > fade Fade in/out input video > fieldorder Set the field order. > fifo Buffer input images and send them when they are requested. > format Convert the input video to one of the specified pixel > formats. > gradfun Debands video quickly using gradients. > hflip Horizontally flip the input video. > hqdn3d Apply a High Quality 3D Denoiser. > lut Compute and apply a lookup table to the RGB/YUV input > video. > lutrgb Compute and apply a lookup table to the RGB input video. > lutyuv Compute and apply a lookup table to the YUV input video. > mp libmpcodecs wrapper. > negate Negate input video. > noformat Force libavfilter not to use any of the specified pixel > formats > for the input to the next filter. > null Pass the source unchanged to the output. > overlay Overlay a video source on top of the input. > pad Pad input image to width:height[:x:y[:color]] (default x > and y: > 0, default color: black). > pixdesctest Test pixel format definitions. > scale Scale the input video to width:height size and/or convert > the i > mage format. > select Select frames to pass in output. > setdar Set the frame display aspect ratio. > setpts Set PTS for the output video frame. > setsar Set the pixel sample aspect ratio. > settb Set timebase for the output link. > showinfo Show textual information for each video frame. > slicify Pass the images of input video on to next video filter as > multi > ple slices. > split Pass on the input to two outputs. > transpose Transpose input video. > unsharp Sharpen or blur the input video. > vflip Flip the input video vertically. > yadif Deinterlace the input image > buffer Buffer video frames, and make them accessible to the > filterchai > n. > color Provide an uniformly colored input, syntax is: > [color[:size[:ra > te]]] > movie Read from a movie source. > mptestsrc Generate various test pattern. > nullsrc Null video source, never return images. > rgbtestsrc Generate RGB test pattern. > testsrc Generate test pattern. > buffersink Buffer video frames, and make them available to the end > of the > filter graph. > nullsink Do absolutely nothing with the input video. > how can i fix my problem. I've tried to recompile ffmpeg with WinGW. But giving *freior.h header not found* error This command is very important for me. Inadvance thanks for your relations. From spider58 at gmail.com Mon Dec 12 09:58:14 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 10:58:14 +0200 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: thanks for too fast anwer. how can i apply this patch. Im using exe file. (ffmpeg.exe on windows) 12 Aral?k 2011 10:52 tarihinde Geek.Song yazd?: > Please apply the following patch: > > > --- L:/git/ffmpeg/libavfilter/src_movie.c Tue Nov 15 09:47:50 2011 > +++ J:/CloudPlayer/trunk/libs/ffmpeg/libavfilter/src_movie.c Mon Dec > 12 16:47:49 2011 > @@ -37,6 +37,7 @@ > #include "libavformat/avformat.h" > #include "avcodec.h" > #include "avfilter.h" > +#include "libavutil/audioconvert.h" > > typedef struct { > /* common A/V fields */ > @@ -105,6 +106,18 @@ > av_log(ctx, AV_LOG_ERROR, "No filename provided!\n"); > return AVERROR(EINVAL); > } > +#if HAVE_DOS_PATHS > + if (args[0] == ':' && (args[1] == '\\' || args[1] == '/')) { > + char *p = movie->file_name + strlen(movie->file_name); > + while (*args) { > + *p++ = *args++; > + // try to find second token > + if (*args == ':') > + break; > + } > + *p = '\0'; > + } > +#endif > > if (*args++ == ':' && (ret = av_set_options_string(movie, args, > "=", ":")) < 0) { > av_log(ctx, AV_LOG_ERROR, "Error parsing options string: > '%s'\n", args); > > On Mon, Dec 12, 2011 at 4:42 PM, spider58 wrote: > > Hello. > > > > Im using ffmpeg.exe for watermark on windows. > > > > 2 different ffmpeg command > > > > 1st and* WORKING* (PNG at same location of ffmpeg.exe) > > > > *ffmpeg -i c:\myvid.flv -vf "movie=mylogo.png [logo]; [in][logo] > > overlay=0:0 [out]" c:\mynewvid.flv* > > > > > > 2nd and *Not WORKING* (PNG at different location from ffmpeg.exe) > > > > *ffmpeg -i c:\myvid.flv -vf "movie=d:\directory\mylogo.png [logo]; > > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* > > > > i've got error message about PNG location. ffmpeg is replacing PNG > > location from *d:\directory\mylogo.png to **directorymylogo.png* > > > > i found a way and using command such as (with double slashhes) > > > > *ffmpeg -i c:\myvid.flv -vf "movie=d::\\directory\\mylogo.png [logo]; > > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* > > > > this time ffmpeg is replacing PNG location from > > *d::\\directory\\mylogo.png > > to **:\directory\mylogo.png* > > > > so loses my D drive LETTER Anyway. > > > > How can i use PNG at different locaiton, D, C, E or any drive > > > > Thanks for your relations > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > -- > > ----------------------------------------------------------------------------------------- > My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > From ffmpeg at gmail.com Mon Dec 12 09:59:46 2011 From: ffmpeg at gmail.com (Geek.Song) Date: Mon, 12 Dec 2011 16:59:46 +0800 Subject: [FFmpeg-user] frei0r filter problem In-Reply-To: References: Message-ID: Please recompile FFmpeg with the support of frei0r On Mon, Dec 12, 2011 at 4:55 PM, spider58 wrote: > Hello. > > Im using ffmpeg.exe on windows. > > I've dowloaded lastest ffmpeg.exe from ffmpeg.org > > and tried to give some effect to my video with frei0r command. ?My command > sample is above > > > > ?*ffmpeg -y -i c:\myvideo.mp4 -vf frei0r="glow:0.5" -f flv c:\mynewvideo.flv >> * >> > > > but i got an error message > > *no such filter frei0r.* -- ----------------------------------------------------------------------------------------- My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 From ffmpeg at gmail.com Mon Dec 12 10:01:06 2011 From: ffmpeg at gmail.com (Geek.Song) Date: Mon, 12 Dec 2011 17:01:06 +0800 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: You should recompile FFmpeg with my patch. 2011/12/12 spider58 : > thanks for too fast anwer. > > how can i apply this patch. Im using exe file. (ffmpeg.exe on windows) > > 12 Aral?k 2011 10:52 tarihinde Geek.Song yazd?: > >> Please apply the following patch: >> >> >> --- L:/git/ffmpeg/libavfilter/src_movie.c ? ? ? Tue Nov 15 09:47:50 2011 >> +++ J:/CloudPlayer/trunk/libs/ffmpeg/libavfilter/src_movie.c ? ?Mon Dec >> 12 16:47:49 2011 >> @@ -37,6 +37,7 @@ >> ?#include "libavformat/avformat.h" >> ?#include "avcodec.h" >> ?#include "avfilter.h" >> +#include "libavutil/audioconvert.h" >> >> ?typedef struct { >> ? ? /* common A/V fields */ >> @@ -105,6 +106,18 @@ >> ? ? ? ? av_log(ctx, AV_LOG_ERROR, "No filename provided!\n"); >> ? ? ? ? return AVERROR(EINVAL); >> ? ? } >> +#if HAVE_DOS_PATHS >> + ? ?if (args[0] == ':' && (args[1] == '\\' || args[1] == '/')) { >> + ? ? ? ?char *p = movie->file_name + strlen(movie->file_name); >> + ? ? ? ?while (*args) { >> + ? ? ? ? ? ?*p++ = *args++; >> + ? ? ? ? ? ?// try to find second token >> + ? ? ? ? ? ?if (*args == ':') >> + ? ? ? ? ? ? ? ?break; >> + ? ? ? ?} >> + ? ? ? ?*p = '\0'; >> + ? ?} >> +#endif >> >> ? ? if (*args++ == ':' && (ret = av_set_options_string(movie, args, >> "=", ":")) < 0) { >> ? ? ? ? av_log(ctx, AV_LOG_ERROR, "Error parsing options string: >> '%s'\n", args); >> >> On Mon, Dec 12, 2011 at 4:42 PM, spider58 wrote: >> > Hello. >> > >> > Im using ffmpeg.exe for watermark on windows. >> > >> > 2 different ffmpeg command >> > >> > 1st and* WORKING* (PNG at same location of ffmpeg.exe) >> > >> > *ffmpeg -i c:\myvid.flv -vf "movie=mylogo.png [logo]; [in][logo] >> > overlay=0:0 [out]" c:\mynewvid.flv* >> > >> > >> > 2nd and *Not WORKING* (PNG at different location from ffmpeg.exe) >> > >> > *ffmpeg -i c:\myvid.flv -vf "movie=d:\directory\mylogo.png [logo]; >> > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* >> > >> > i've got error message about PNG location. ffmpeg is replacing PNG >> > location ?from *d:\directory\mylogo.png ? ? to ? ? **directorymylogo.png* >> > >> > i found a way and using command such as (with double slashhes) >> > >> > *ffmpeg -i c:\myvid.flv -vf "movie=d::\\directory\\mylogo.png [logo]; >> > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* >> > >> > this time ffmpeg is replacing PNG location from >> > *d::\\directory\\mylogo.png >> > to ? ?**:\directory\mylogo.png* >> > >> > so loses my D drive LETTER Anyway. >> > >> > How can i use PNG at different locaiton, ?D, C, E or any drive >> > >> > Thanks for your relations >> > _______________________________________________ >> > ffmpeg-user mailing list >> > ffmpeg-user at ffmpeg.org >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> >> >> -- >> >> ----------------------------------------------------------------------------------------- >> My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 >> >> _______________________________________________ >> 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 -- ----------------------------------------------------------------------------------------- My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 From spider58 at gmail.com Mon Dec 12 10:01:23 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 11:01:23 +0200 Subject: [FFmpeg-user] frei0r filter problem In-Reply-To: References: Message-ID: yes i've tried it but i've got *freior.h header not found* error. (Im using windows) ./configure --enable-frei0r 12 Aral?k 2011 10:59 tarihinde Geek.Song yazd?: > Please recompile FFmpeg with the support of frei0r > > On Mon, Dec 12, 2011 at 4:55 PM, spider58 wrote: > > Hello. > > > > Im using ffmpeg.exe on windows. > > > > I've dowloaded lastest ffmpeg.exe from ffmpeg.org > > > > and tried to give some effect to my video with frei0r command. My > command > > sample is above > > > > > > > > *ffmpeg -y -i c:\myvideo.mp4 -vf frei0r="glow:0.5" -f flv > c:\mynewvideo.flv > >> * > >> > > > > > > but i got an error message > > > > *no such filter frei0r.* > > -- > > ----------------------------------------------------------------------------------------- > My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From spider58 at gmail.com Mon Dec 12 10:02:28 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 11:02:28 +0200 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: an thanks. I tried it and I need frei0r plugin too --enable-frei0r But i've got *freior.h header not found* error 12 Aral?k 2011 11:01 tarihinde Geek.Song yazd?: > You should recompile FFmpeg with my patch. > > 2011/12/12 spider58 : > > thanks for too fast anwer. > > > > how can i apply this patch. Im using exe file. (ffmpeg.exe on windows) > > > > 12 Aral?k 2011 10:52 tarihinde Geek.Song yazd?: > > > >> Please apply the following patch: > >> > >> > >> --- L:/git/ffmpeg/libavfilter/src_movie.c Tue Nov 15 09:47:50 2011 > >> +++ J:/CloudPlayer/trunk/libs/ffmpeg/libavfilter/src_movie.c Mon Dec > >> 12 16:47:49 2011 > >> @@ -37,6 +37,7 @@ > >> #include "libavformat/avformat.h" > >> #include "avcodec.h" > >> #include "avfilter.h" > >> +#include "libavutil/audioconvert.h" > >> > >> typedef struct { > >> /* common A/V fields */ > >> @@ -105,6 +106,18 @@ > >> av_log(ctx, AV_LOG_ERROR, "No filename provided!\n"); > >> return AVERROR(EINVAL); > >> } > >> +#if HAVE_DOS_PATHS > >> + if (args[0] == ':' && (args[1] == '\\' || args[1] == '/')) { > >> + char *p = movie->file_name + strlen(movie->file_name); > >> + while (*args) { > >> + *p++ = *args++; > >> + // try to find second token > >> + if (*args == ':') > >> + break; > >> + } > >> + *p = '\0'; > >> + } > >> +#endif > >> > >> if (*args++ == ':' && (ret = av_set_options_string(movie, args, > >> "=", ":")) < 0) { > >> av_log(ctx, AV_LOG_ERROR, "Error parsing options string: > >> '%s'\n", args); > >> > >> On Mon, Dec 12, 2011 at 4:42 PM, spider58 wrote: > >> > Hello. > >> > > >> > Im using ffmpeg.exe for watermark on windows. > >> > > >> > 2 different ffmpeg command > >> > > >> > 1st and* WORKING* (PNG at same location of ffmpeg.exe) > >> > > >> > *ffmpeg -i c:\myvid.flv -vf "movie=mylogo.png [logo]; [in][logo] > >> > overlay=0:0 [out]" c:\mynewvid.flv* > >> > > >> > > >> > 2nd and *Not WORKING* (PNG at different location from ffmpeg.exe) > >> > > >> > *ffmpeg -i c:\myvid.flv -vf "movie=d:\directory\mylogo.png [logo]; > >> > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* > >> > > >> > i've got error message about PNG location. ffmpeg is replacing PNG > >> > location from *d:\directory\mylogo.png to > **directorymylogo.png* > >> > > >> > i found a way and using command such as (with double slashhes) > >> > > >> > *ffmpeg -i c:\myvid.flv -vf "movie=d::\\directory\\mylogo.png [logo]; > >> > [in][logo] overlay=0:0 [out]" c:\mynewvid.flv* > >> > > >> > this time ffmpeg is replacing PNG location from > >> > *d::\\directory\\mylogo.png > >> > to **:\directory\mylogo.png* > >> > > >> > so loses my D drive LETTER Anyway. > >> > > >> > How can i use PNG at different locaiton, D, C, E or any drive > >> > > >> > Thanks for your relations > >> > _______________________________________________ > >> > ffmpeg-user mailing list > >> > ffmpeg-user at ffmpeg.org > >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > >> > >> > >> > >> -- > >> > >> > ----------------------------------------------------------------------------------------- > >> My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 > >> > >> _______________________________________________ > >> 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 > > > > -- > > ----------------------------------------------------------------------------------------- > My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From ffmpeg at gmail.com Mon Dec 12 10:05:18 2011 From: ffmpeg at gmail.com (Geek.Song) Date: Mon, 12 Dec 2011 17:05:18 +0800 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: 2011/12/12 spider58 : > an thanks. > > I tried it and I need frei0r plugin too > > --enable-frei0r > > But i've got *freior.h header not found* error You should firstly compile and install frei0r properly. I will try build FFmpeg with frei0r support in this evening. -- ----------------------------------------------------------------------------------------- My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 From spider58 at gmail.com Mon Dec 12 10:07:33 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 11:07:33 +0200 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: thanks too much. i will try now. 12 Aral?k 2011 11:05 tarihinde Geek.Song yazd?: > 2011/12/12 spider58 : > > an thanks. > > > > I tried it and I need frei0r plugin too > > > > --enable-frei0r > > > > But i've got *freior.h header not found* error > > You should firstly compile and install frei0r properly. > > I will try build FFmpeg with frei0r support in this evening. > -- > > ----------------------------------------------------------------------------------------- > My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From spider58 at gmail.com Mon Dec 12 10:16:00 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 11:16:00 +0200 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: hello again. im used that commands for compile frei0r on MinGW but i cannot see frei0r.exe cd frei0r ./configure make configure and make is completed. But nothing happened i think thats not enough for installing frei0r for windows 12 Aral?k 2011 11:07 tarihinde spider58 yazd?: > thanks too much. i will try now. > > 12 Aral?k 2011 11:05 tarihinde Geek.Song yazd?: > > 2011/12/12 spider58 : >> > an thanks. >> > >> > I tried it and I need frei0r plugin too >> > >> > --enable-frei0r >> > >> > But i've got *freior.h header not found* error >> >> You should firstly compile and install frei0r properly. >> >> I will try build FFmpeg with frei0r support in this evening. >> -- >> >> ----------------------------------------------------------------------------------------- >> My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > From cehoyos at ag.or.at Mon Dec 12 10:35:44 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 09:35:44 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg issue References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE43F26.3010303@gmail.com> Message-ID: dE . gmail.com> writes: > > Please be 100% assured that the reason FFmpeg does not support MP3 encoding s/support MP3/support native MP3 > > is not that it is proprietary: After all, many other proprietary formats can > > be encoded with FFmpeg. > > (The reason is probably that an MP3 encoder exists that may also be > > distributed under the LGPL and FFmpeg contains a wrapper for this encoder.) > > What? ffmpeg doesn't support mp3? That is what this thread is about, yes. Carl Eugen From cehoyos at ag.or.at Mon Dec 12 10:38:05 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 09:38:05 +0000 (UTC) Subject: [FFmpeg-user] compress security video References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> <4EE46193.4040502@gmail.com> <4EE49EBD.1040902@gmail.com> Message-ID: dE . gmail.com> writes: > >>> I would still love to see evidence that Xvid is better than FFmpeg's native > >>> ASP encoder (which is slightly more difficult to tune). > >> > >> Xvid has better multithreading support and with default setting > >> compresses more (with same quality). > > > > As said, you have to use settings for FFmpeg ("tune") for optimal ASP > > encoding (it uses default settings that make it faster), please refer to the > > FAQ. > > I didn't find anything. Can you point it out? What is unclear about "Which are good parameters for encoding high quality MPEG-4?" (The first hit for "mpeg-4".) Carl Eugen From nicolas.george at normalesup.org Mon Dec 12 10:54:48 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Mon, 12 Dec 2011 10:54:48 +0100 Subject: [FFmpeg-user] compress security video In-Reply-To: References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> <4EE46193.4040502@gmail.com> Message-ID: <20111212095448.GA28229@phare.normalesup.org> Le primidi 21 frimaire, an CCXX, Carl Eugen Hoyos a ?crit?: > As said, you have to use settings for FFmpeg ("tune") for optimal ASP encoding > (it uses default settings that make it faster), please refer to the FAQ. Presets files like the ones for x264 would be very welcome. Regards, -- Nicolas George From felipe.santana at xmobots.com Mon Dec 12 13:06:23 2011 From: felipe.santana at xmobots.com (Felipe Santana) Date: Mon, 12 Dec 2011 10:06:23 -0200 Subject: [FFmpeg-user] Build ffmpeg on QNX In-Reply-To: <4EE1F062.9060602@bbc.co.uk> References: <4EE1F062.9060602@bbc.co.uk> Message-ID: *Hi, * * * *I solved that problem above, and was able to run confiure.* * * *I also could build libavformat, libavutil and libswscale.* *But I cannot build libavcodec. I keep getting errors like the following.* options.c:133: error: initializer element is not constant options.c:133: error: (near initialization for 'options[62].min') options.c:133: error: initializer element is not constant options.c:133: error: (near initialization for 'options[62].max') options.c:134: error: initializer element is not constant options.c:134: error: (near initialization for 'options[63].max') options.c:139: error: initializer element is not constant *The configure command was the following* $ ./configure --enable-shared --disable-ffprobe --disable-ffplay --disable-ffse rver --disable-aandct --disable-dct --disable-golomb --disable-lpc --disable-md ct --disable-rdft --disable-fft --disable-asm --cc=qcc --targ et-os=qnx --enable-cross-compile --arch=arm --enable-pic *I am using ffmpeg-0.8.6* * * *Thanks, for your help.* * * * * On Fri, Dec 9, 2011 at 9:26 AM, Tim Nicholson wrote: > On 09/12/11 10:36, Felipe Santana wrote: > >> Ok, >> Sorry for the lack of information. >> >> My problem is that ./configure fails. I am trying the command bellow, >> *./configure --target-os=QNX --enable-cross-compile --arch=armv7* >> * >> >> * >> Here is the tail of the config.log file. >> *WARNING: pkg-config not found, library detection may fail.* >> > > This can be fixed by setting your PKG_CONFIG_PATH to the correct location > of your cross compile pc files. > > *mktemp -u XXXXXX* >> *./configure[1903]: mktemp: cannot execute - No such file or directory* >> > > This is the test to see if ./configure needs to define its own version of > mktemp so is not a problem in itself. However it is unusual not to have it > on a system as its part of core-utils. > > *WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS* >> > > What version of gcc are you running { try gcc -v)? > > *check_ld* >> *check_cc* >> *BEGIN /tmp/ffconf..localhost..**10706973.c* >> * 1 int main(void){ return 0; }* >> *END /tmp/ffconf..localhost..**10706973.c* >> *gcc -c -o /tmp/ffconf..localhost..**10706973.o >> /tmp/ffconf..localhost..**10706973.c* >> *./configure[2358]: gcc: cannot execute - No such file or directory* >> > > The same error as the mktemp test, but this time its serious.... > > It looks like gcc might not even be installed. > > > >> >> Thank you, for your reply. >> >> Best regards. >> >> > > -- > Tim > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > ______________________________**_________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/**listinfo/ffmpeg-user > -- Felipe Santana Software Developer XMobots Robotic Systems From cehoyos at ag.or.at Mon Dec 12 13:18:23 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 12:18:23 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg PNG watermark location issue References: Message-ID: spider58 gmail.com> writes: > im used that commands for compile frei0r on MinGW but i cannot see > frei0r.exe > > cd frei0r > ./configure > make > > configure and make is completed. But nothing happened Did you try make install? Carl Eugen From cehoyos at ag.or.at Mon Dec 12 13:30:50 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 12:30:50 +0000 (UTC) Subject: [FFmpeg-user] Build ffmpeg on QNX References: <4EE1F062.9060602@bbc.co.uk> Message-ID: Felipe Santana xmobots.com> writes: > *I also could build libavformat, libavutil and libswscale.* > *But I cannot build libavcodec. I keep getting errors like the following.* > > options.c:133: error: initializer element is not constant > options.c:133: error: (near initialization for 'options[62].min') (This does not look like the complete, uncut output of a repeated "make V=1".) Seems to be a known problem with FLT_MAX on your system: http://www.openqnx.com/phpbbforum/viewtopic.php?t=10440 [...] > *The configure command was the following* > > $ ./configure --enable-shared --disable-ffprobe --disable-ffplay > --disable-ffserver > --disable-aandct --disable-dct --disable-golomb --disable-lpc --disable-mdct > --disable-rdft --disable-fft --disable-asm Why? > --cc=qcc --target-os=qnx --enable-cross-compile --arch=arm --enable-pic > > *I am using ffmpeg-0.8.6* This is outdated, please test current git head. Please do not-post, it is considered rude here, Carl Eugen From cehoyos at ag.or.at Mon Dec 12 13:51:29 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 12:51:29 +0000 (UTC) Subject: [FFmpeg-user] External UVC Camera Video Streaming/Image Capturing using ffmpeg References: Message-ID: s.rawat gmail.com> writes: > I tried replcing this line with the line below in the build.sh > # FLAGS="$FLAGS --disable-everything --enable-indevs > --enable-protocol=file" > > FLAGS="$FLAGS --enable-indevs --enable-protocol=file" > but it gave this error : > > ERROR: libvpx decoder version must be >=0.9.1 I suggest you first try whatever you want to achieve with an as-short-as-possible configure line (without --disable-everything and if possible with static libraries), if it works, add --disable-everything and the necessary --enable options (and use --enable-shared if necessary). Or in other words: Try "./configure && make" first, then report further problems providing the tail of config.log. Please do not top post on this mailing list, it is considered rude, Carl Eugen From rodney.baker at iinet.net.au Mon Dec 12 14:03:05 2011 From: rodney.baker at iinet.net.au (Rodney Baker) Date: Mon, 12 Dec 2011 23:33:05 +1030 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120810.45866.rodney.baker@iinet.net.au> Message-ID: <201112122333.05953.rodney.baker@iinet.net.au> On Mon, 12 Dec 2011 12:58:26 Phil Rhodes wrote: > > You simply have to install the right packages. > > There is a great tendency among linux people to leave things out of > instructions, and I suspect this is what you are doing here as what you're > saying simply does not reflect my experience. > Er, no. I was speaking generically rather than distro-specific. The exact steps for installing a build environment are distro-dependant. The exact steps for building ffmpeg depend on what features/external libraries you want to enable in your build and whether or not you want to compile it for the one machine (the one you're compiling on), to install on (an)other machine(s), or cross-compile for a different platform. Someone else has already given you the instructions for ubuntu (which I'd guess would apply pretty much to most other debian-based distros as well). In the case of Fedora and other Red Hat-derived distros, you'd use the relevant yum commands to install the build tools and the relevant shared libraries and headers. For openSuSE, this is done through YaST. Selecting the "software development" pattern in the YaST Package Manager automatically takes care of the build system. Again, you would install the relevant shared libraries and headers and then continue from there. Once you have the build system installed (which on openSuSE at least was taken care of with a few clicks of the mouse and some tiem for downloading and installing to happen automatically), the rest of the steps for downloading/configuring/building ffmpeg (and any shared libs not provided by the distro) are exactly the same across all distros. > An environment capable of building ffmpeg, or at least an ffmpeg useful in > 2011, comprises at least a few thousand files, once you involve > dependencies, dependencies of dependencies, source, headers, makefiles, > scripts, configuration, documentation, executables and libraries for > everything that's required. Each one of those files has to be the right > version with the right permissions in the right place, correctly referred > to in other files, creating a thousands-factorial web of potential > failure, and you furthermore have to worry about which of those files will > land you in bankruptcy court or prison if you happen to give the > executable to a friend. That's what the distro package managers are for (all except the FUD about bankruptcy court or prison). > > Anybody trying to assert that this is in any way trivial or easy is simply > a fantasist. > More FUD. I did it, so anyone can do it. > My direct experience is that it fails much more often than it succeeds. Building what? On what? For what? How long ago? -- =================================================== Rodney Baker VK5ZTV rodney.baker at iinet.net.au =================================================== From mark at mdsh.com Mon Dec 12 14:32:30 2011 From: mark at mdsh.com (Mark Himsley) Date: Mon, 12 Dec 2011 13:32:30 +0000 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <201112120015.40278.demimurych@mail.ru> References: <201112092348.05340.demimurych@mail.ru> <20111209231817.GK10300@leki> <4EE3B632.5010709@mdsh.com> <201112120015.40278.demimurych@mail.ru> Message-ID: <4EE6026E.1040501@mdsh.com> On 11/12/11 22:15, demimurych wrote: > ? ????????? ?? ???????, 10-???-2011 21:42:42 ????? Mark Himsley ???????:> On 09/12/2011 23:18, Cl?ment B?sch wrote:> > On Fri, Dec 09, 2011 at 11:48:05PM +0200, demimurych wrote:> >> Hello.> >> > >> I'm currently working with libavfilter and have a question relating> >> watermarks.> >> > >> What I already know is how to put a watermark on a whole video clip.> >> ffmpeg -i inputfile -vf "movie=650_360_net.png [logo]; [in][logo]> >> overlay=W- w-20:H-h-20 [out]" outpufile> >> > >> What I'm trying to achieve is to place a watermark that would only be> >> visible from some certain point and to some point - for example, only> >> the first 10 seconds of the video clip.> >> > >> If there's a workaround that can make it possible please let me know.> >> I'm stuck on this issue right now so I would be glad to receive an> >> answer.> >> > >> Thanks in advance.> > > > Maybe you could generate a 10 second s video with your source image, and> > use it as overlay? > > Hello again,thank you very much for a fast answer. Using of fade effect is a smart solution indeed. However it's still not really obvious for me, how can I fade just the watermark and not the whole frame. I would appreciate if you could explain the workaround further and tell more details.Thanks in advance,Max Hum, don't know what's happening with line wrapping... Probably my mail server doing something wrong with base64 to 8bit conversion. Generically (assuming your logo has an alpha): ffmpeg -i background.movie -vf "movie=watermark.movie,fade=in:25:25:alpha=1,fade=out:300:25:alpha=1[logo];[in][logo] overlay=0:0 [out]" output.movie -- Mark From dev at rarevision.com Mon Dec 12 14:57:32 2011 From: dev at rarevision.com (Thomas Worth) Date: Mon, 12 Dec 2011 05:57:32 -0800 Subject: [FFmpeg-user] Directly specify MOV atom values through avformat? Message-ID: I am having a little trouble getting MOV output exactly the way I want it. I have tried different combinations of time_base parameters with both AVCodecContext and AVStream, but the MOV keeps getting written with atom values I don't specify. For example, if I force the time_base of both structs to 1000/25000, my MOV is still written with an stts duration of 1001 (the input file is 23.976, so I assume that's where it's coming from). What would be great is if I could just directly specify these values through avformat. I am doing this now via my own code that re-writes these values after avformat is finished, but it would be much more convenient if I could just do this all through avformat. Atoms I would like to specify directly: mvhd (time scale) tkhd (duration) mdhd (time scale) stts (sample duration) The only thing I seem to be able to specify directly is the mdhd time scale. That seems to be directly linked to the stream's time_base. This is probably a Baptiste question, if he's still on this list. From demimurych at mail.ru Mon Dec 12 15:15:41 2011 From: demimurych at mail.ru (demimurych) Date: Mon, 12 Dec 2011 16:15:41 +0200 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <4EE6026E.1040501@mdsh.com> References: <201112092348.05340.demimurych@mail.ru> <201112120015.40278.demimurych@mail.ru> <4EE6026E.1040501@mdsh.com> Message-ID: <201112121615.41204.demimurych@mail.ru> ? ????????? ?? ???????????, 12-???-2011 15:32:30 ????? Mark Himsley ???????: > On 11/12/11 22:15, demimurych wrote: > > ? ????????? ?? ???????, 10-???-2011 21:42:42 ????? Mark Himsley ???????:> > > On 09/12/2011 23:18, Cl?ment B?sch wrote:> > On Fri, Dec 09, 2011 at > > 11:48:05PM +0200, demimurych wrote:> >> Hello.> >> > >> I'm > > currently working with libavfilter and have a question relating> >> > > watermarks.> >> > >> What I already know is how to put a watermark > > on a whole video clip.> >> ffmpeg -i inputfile -vf > > "movie=650_360_net.png [logo]; [in][logo]> >> overlay=W- w-20:H-h-20 > > [out]" outpufile> >> > >> What I'm trying to achieve is to place a > > watermark that would only be> >> visible from some certain point and > > to some point - for example, only> >> the first 10 seconds of the > > video clip.> >> > >> If there's a workaround that can make it > > possible please let me know.> >> I'm stuck on this issue right now so > > I would be glad to receive an> >> answer.> >> > >> Thanks in > > advance.> > > > Maybe you could generate a 10 second > > s video with your source image, and> > use it as overlay? > > > Hello again,thank you very much for a fast answer. Using of fade effect > > is a smart solution indeed. However it's still not really obvious for > > me, how can I fade just the watermark and not the whole frame. I would > > appreciate if you could explain the workaround further and tell more > > details.Thanks in advance,Max > > Hum, don't know what's happening with line wrapping... Probably my mail > server doing something wrong with base64 to 8bit conversion. > > Generically (assuming your logo has an alpha): > > ffmpeg -i background.movie -vf > "movie=watermark.movie,fade=in:25:25:alpha=1,fade=out:300:25:alpha=1[logo]; > [in][logo] overlay=0:0 [out]" output.movie Hello again, thank you for the example and explanation, it's really working if i put another video fragment over my clip and fade it as you meant. The problem is, when I try to place a watermark in the same way, the displayed result is a black rectangle instead of the watermark. I tried it several times using a direct copy-paste of your code with fade:0:0 and fade:0:1 etc, unfortunately still without success. Maybe this behavior is already known and you could tell me what I'm doing wrong? Thanks in advance, Max From demimurych at mail.ru Mon Dec 12 15:29:40 2011 From: demimurych at mail.ru (demimurych) Date: Mon, 12 Dec 2011 16:29:40 +0200 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <201112121615.41204.demimurych@mail.ru> References: <201112092348.05340.demimurych@mail.ru> <4EE6026E.1040501@mdsh.com> <201112121615.41204.demimurych@mail.ru> Message-ID: <201112121629.41112.demimurych@mail.ru> ? ????????? ?? ???????????, 12-???-2011 16:15:41 ????? demimurych ???????: > ? ????????? ?? ???????????, 12-???-2011 15:32:30 ????? Mark Himsley ???????: > > On 11/12/11 22:15, demimurych wrote: > > > ? ????????? ?? ???????, 10-???-2011 21:42:42 ????? Mark Himsley > > > ???????:> > > > > > > On 09/12/2011 23:18, Cl?ment B?sch wrote:> > On Fri, Dec 09, 2011 at > > > > > > 11:48:05PM +0200, demimurych wrote:> >> Hello.> >> > >> I'm > > > currently working with libavfilter and have a question relating> >> > > > watermarks.> >> > >> What I already know is how to put a watermark > > > on a whole video clip.> >> ffmpeg -i inputfile -vf > > > "movie=650_360_net.png [logo]; [in][logo]> >> overlay=W- w-20:H-h-20 > > > [out]" outpufile> >> > >> What I'm trying to achieve is to place a > > > watermark that would only be> >> visible from some certain point and > > > to some point - for example, only> >> the first 10 seconds of the > > > video clip.> >> > >> If there's a workaround that can make it > > > possible please let me know.> >> I'm stuck on this issue right now so > > > I would be glad to receive an> >> answer.> >> > >> Thanks in > > > advance.> > > > Maybe you could generate a 10 second > > > > s video with your source image, and> > use it as overlay? > > > > > Hello again,thank you very much for a fast answer. Using of fade effect > > > is a smart solution indeed. However it's still not really obvious for > > > me, how can I fade just the watermark and not the whole frame. I would > > > appreciate if you could explain the workaround further and tell more > > > details.Thanks in advance,Max > > > > Hum, don't know what's happening with line wrapping... Probably my mail > > server doing something wrong with base64 to 8bit conversion. > > > > Generically (assuming your logo has an alpha): > > > > ffmpeg -i background.movie -vf > > "movie=watermark.movie,fade=in:25:25:alpha=1,fade=out:300:25:alpha=1[logo > > ]; [in][logo] overlay=0:0 [out]" output.movie > > Hello again, > thank you for the example and explanation, it's really working if i put > another video fragment over my clip and fade it as you meant. The problem > is, when I try to place a watermark in the same way, the displayed result > is a black rectangle instead of the watermark. > I tried it several times using a direct copy-paste of your code with > fade:0:0 and fade:0:1 etc, unfortunately still without success. Maybe this > behavior is already known and you could tell me what I'm doing wrong? > Thanks in advance, > Max Sorry, I forgot to mention an important detail: while you probably supposed that I want to use a video sequence as watermark, my watermark is a static PNG image. I really hope it can work this way. Best regards, Max > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From marc at hallmarcwebsites.com Mon Dec 12 15:33:13 2011 From: marc at hallmarcwebsites.com (HallMarc Websites) Date: Mon, 12 Dec 2011 09:33:13 -0500 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <201112122333.05953.rodney.baker@iinet.net.au> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120810.45866.rodney.baker@iinet.net.au> <201112122333.05953.rodney.baker@iinet.net.au> Message-ID: First, I have to say that the activity on this list over the past three days is more than I've seen with all of the other days put together since I joined this list a few months ago. [>] Having said that: here is my 2 cents fwiw. First, off; learning video compression is a full time task in and of itself. There are so many variables that can be involved: type of camera used in the shoot, which country, SD, HD, 3D, which container is best and then which codecs are supported, licensing, interlaced or progressive, which OS will be using, how will the end user be viewing it and these are just SOME of the variables that I am familiar with. Because of this it can be more than just a little overwhelming to the novice. Secondly, you keep complaining about *nix; why? If it isn't the environment you like and/or are familiar with then why are you beating your head against it repeatedly? I suspect you have taken on a project that needs you to learn about LAMP environments. Here's the gist, there are pretty much two flavors of programs and programmers; those that like freedom and those that want all the bells and whistles to just work without knowledge of what makes them work. I like freedom myself in some circumstances and in others I am willing to pay the money to just have it work. In either scenario, money or hard work are required if you need something built by anyone else but you. Mac OSX costs money, so does Windows. They will do a lot with just button mashing. Some things still need to be added separately. Some of those are free and some cost money. Things that are free are great and they also require you to learn all of the workings that go on behind the scenes and by doing so empower the user with the freedom to make it exactly the way he/she wants it. Same argument/debate over closed/open source applies here as well. Getting mad usually not so productive. Next, as far as the documentation, I am still learning a great deal about this field, ffmpeg, the libraries, the builds, the codecs and et al. The documentation I read so far for ffmpeg feels more like a grocery list than information about what it is and how to use it. I wish the documentation read better than it does. C'est la vie. Again, because they are so many different environments that ffmpeg could be installed too, especially when it comes to *nix, that I'm not sure at this point what needs to be done exactly to improve it, yet. I would however, expect the folks that write ffmpeg to be able to sort that one out and improve the documentation. A nice section on the basics would be awesome for those of new to ffmpeg. Learning Linux, Apache, Mac, Win, etc. is also necessary and also not part of this list. Lastly, as far as this list and how they seem to expect people to be somewhat near their level of understanding about all things ffmpeg, I've complained about this as well. This list seems to expect that and if you don't understand the info given to you; tough boogies. What this list seems to be missing is the ability to remember that they are speaking to some of us that are just coming on to ffmpeg and we don't understand the lingo or even the basics sometimes. Kinda why we came to this list to begin with. For instance, stop just telling people, "Missing command line, complete unedited output" without telling them what this is, how to get it and WHY it is so necessary. That little bit of enlightenment will go miles and miles in creating a better experience all around. The responses I've seen for the newbies on this list are condescending to say the least. We come here to learn. What I've done so far to learn: I bought Real World Video Compression on Amazon for about $15 USD and read it from front to back. It's a good primer. Then I went back and started reading the documentation on ffmpeg and I started reading up on the various codecs I might need. I also sat here in my off time (still do as I have just hit the tip of this iceberg) actually running commands on various clips and then checking the results. And has been said more than a few times now, if you don't like *nix then don't f'ing use it! Use what you are familiar with and call it a day. From Donald.McLachlan at crc.ca Mon Dec 12 15:38:33 2011 From: Donald.McLachlan at crc.ca (Donald McLachlan) Date: Mon, 12 Dec 2011 09:38:33 -0500 Subject: [FFmpeg-user] ffmpeg and mpeg4 compression oddities In-Reply-To: <201112121615.41204.demimurych@mail.ru> References: <201112092348.05340.demimurych@mail.ru> <201112120015.40278.demimurych@mail.ru> <4EE6026E.1040501@mdsh.com> <201112121615.41204.demimurych@mail.ru> Message-ID: <4EE611E9.8050308@crc.ca> Hi All, While trying to transcode some 4k content to use as test images on our SAGE wall. (see www.sagecommons.org.) I saw some something funny with the resulting file size versus the qscale value. I used the following script to generate the files: @ i=1 while ($i < 33) ffmpeg -i 'Lupe (4k resolution).mp4' -vcodec mpeg4 -qscale $i Lupe.4kq${i}.mp4 @ i+=1 end The result was not what I expect. crc at crc-fsmanager:/sage/crc/sageMedia> ls -lat Lupe.4kq* -rw-r--r-- 1 crc users 149070003 Dec 9 13:51 Lupe.4kq32.mp4 -rw-r--r-- 1 crc users 150523202 Dec 9 13:47 Lupe.4kq31.mp4 -rw-r--r-- 1 crc users 149615371 Dec 9 13:42 Lupe.4kq30.mp4 -rw-r--r-- 1 crc users 148865216 Dec 9 13:37 Lupe.4kq29.mp4 -rw-r--r-- 1 crc users 150809565 Dec 9 13:33 Lupe.4kq28.mp4 -rw-r--r-- 1 crc users 151622865 Dec 9 13:28 Lupe.4kq27.mp4 -rw-r--r-- 1 crc users 150404994 Dec 9 13:23 Lupe.4kq26.mp4 -rw-r--r-- 1 crc users 150606055 Dec 9 13:18 Lupe.4kq25.mp4 -rw-r--r-- 1 crc users 150568060 Dec 9 13:13 Lupe.4kq24.mp4 -rw-r--r-- 1 crc users 152113205 Dec 9 13:08 Lupe.4kq23.mp4 -rw-r--r-- 1 crc users 153299368 Dec 9 13:03 Lupe.4kq22.mp4 -rw-r--r-- 1 crc users 155767800 Dec 9 12:58 Lupe.4kq21.mp4 -rw-r--r-- 1 crc users 156515015 Dec 9 12:54 Lupe.4kq20.mp4 -rw-r--r-- 1 crc users 160217174 Dec 9 12:49 Lupe.4kq19.mp4 -rw-r--r-- 1 crc users 162110154 Dec 9 12:44 Lupe.4kq18.mp4 -rw-r--r-- 1 crc users 324925893 Dec 9 12:39 Lupe.4kq17.mp4 -rw-r--r-- 1 crc users 328444737 Dec 9 12:34 Lupe.4kq16.mp4 -rw-r--r-- 1 crc users 333311560 Dec 9 12:28 Lupe.4kq15.mp4 -rw-r--r-- 1 crc users 337991031 Dec 9 11:35 Lupe.4kq14.mp4 -rw-r--r-- 1 crc users 345101916 Dec 9 11:27 Lupe.4kq13.mp4 -rw-r--r-- 1 crc users 348555853 Dec 9 11:22 Lupe.4kq12.mp4 -rw-r--r-- 1 crc users 355701217 Dec 9 11:17 Lupe.4kq11.mp4 -rw-r--r-- 1 crc users 364827366 Dec 9 11:12 Lupe.4kq10.mp4 -rw-r--r-- 1 crc users 374580661 Dec 9 11:07 Lupe.4kq9.mp4 -rw-r--r-- 1 crc users 389301775 Dec 9 11:02 Lupe.4kq8.mp4 -rw-r--r-- 1 crc users 407061843 Dec 9 10:56 Lupe.4kq7.mp4 -rw-r--r-- 1 crc users 276467924 Dec 9 10:50 Lupe.4kq6.mp4 -rw-r--r-- 1 crc users 309350328 Dec 9 10:45 Lupe.4kq5.mp4 -rw-r--r-- 1 crc users 362690494 Dec 9 10:40 Lupe.4kq4.mp4 -rw-r--r-- 1 crc users 455177388 Dec 9 10:36 Lupe.4kq3.mp4 -rw-r--r-- 1 crc users 663858946 Dec 9 10:31 Lupe.4kq2.mp4 -rw-r--r-- 1 crc users 668366746 Dec 9 10:25 Lupe.4kq1.mp4 Can anyone explain the step in the file size between Lupe.4kq6.mp4 and Lupe.4kq7.mp4, and why the file sizes between q7 to q17 are larger than for q6? Thanks, Don From spider58 at gmail.com Mon Dec 12 16:17:45 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 17:17:45 +0200 Subject: [FFmpeg-user] Adding Subtitle Error Message-ID: Hello I want to add subtitle to my video. Used some some commands but nothing happened. Sample subtitle 1 > 00:00:10,087 --> 00:00:20,887 > Sample Text > one > > 2 > 00:00:56,097 --> 00:01:00,727 > Sample Text > two > command line 1 ffmpeg -i d:\myvid.mp4 -i d:\mysub.srt d:\mynewvid.mp4 > (Command 1 - *No error but not showing subtitle*) command line 2 ffmpeg -i d:\myvid.mp4 -i d:\mysub.srt -scopy copy d:\mynewvid.mp4 (Command 2 - ffmpeg crashes and stopping works) Thanks inadvance From spider58 at gmail.com Mon Dec 12 16:20:03 2011 From: spider58 at gmail.com (spider58) Date: Mon, 12 Dec 2011 17:20:03 +0200 Subject: [FFmpeg-user] ffmpeg PNG watermark location issue In-Reply-To: References: Message-ID: yes tried but i can't install frei0r on windows. i tried to recompile frei0r but nothing happened. I've solved my watermark location problem with my own ways, but i can't solve frei0r problem yet. 12 Aral?k 2011 14:18 tarihinde Carl Eugen Hoyos yazd?: > spider58 gmail.com> writes: > > > im used that commands for compile frei0r on MinGW but i cannot see > > frei0r.exe > > > > cd frei0r > > ./configure > > make > > > > configure and make is completed. But nothing happened > > Did you try make install? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From joseluis at eserre.com Mon Dec 12 16:22:35 2011 From: joseluis at eserre.com (Jose Luis Rivas) Date: Mon, 12 Dec 2011 10:52:35 -0430 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <20111212034636.GA6776@skamandros.andrews-corner.org> Message-ID: <4EE61C3B.2060702@eserre.com> On 12/11/2011 11:42 PM, Phil Rhodes wrote: > Several reactions: > > 1) You think that "sudo apt-get remove ffmpeg x264 libx264-dev sudo > apt-get update sudo apt-get install build-essential checkinstall git > libfaac-dev libjack-jackd2-dev \ libmp3lame-dev libopencore-amrnb-dev > libopencore-amrwb-dev libsdl1.2-dev libtheora-dev \ libva-dev > libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html yasm > zlib1g-dev cd git clone git://git.videolan.org/x264 cd x264 ./configure > --enable-static make sudo checkinstall --pkgname=x264 > --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print > $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default sudo > apt-get remove libvpx-dev cd git clone > ftp://git.chromium.org/webm/libvpx.git cd libvpx ./configure make sudo > checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" > --backup=no \ --deldoc=yes --fstrans=no --default cd git clone --depth 1 > git://source.ffmpeg.org/ffmpeg cd ffmpeg ./configure --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 make sudo checkinstall > --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no > \ --deldoc=yes --fstrans=no --default hash x264 ffmpeg ffplay ffprobe > cd ~/ffmpeg > make tools/qt-faststart sudo checkinstall --pkgname=qt-faststart > --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes > --fstrans=no --default install -Dm755 tools/qt-faststart \ > /usr/local/bin/qt-faststart cd ~/x264 make distclean ./configure > --enable-static make sudo checkinstall --pkgname=x264 > --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print > $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default" is > simple??!? > > 2) I don't think you'd ever get through such a vast amount of very > complex shell commands without errors, so in essence, I don't believe > you for a picosecond, and > > 3) If your assertion is that it WOULD work, why on earth is the > described procedure not a one-click, automated task? > > I suspect it isn't automatic because you can't really assume a sequence > of shell commands that complex will work repeatably, and there will be > changes required. This sort of puts us back at the point of "you have to > be a coder," doesn't it? > > I'd throw Ubuntu on a spare box and prove it, but that would open up the > worm-filled can of grub configuration, and I really don't have the > requisite nine months to spend on this. > > P You have 3 options, really; 1) Install ffmpeg from Debian repositories. If you use synaptic (which must people use if they want to click and install) you just click on ffmpeg and installs it. But that's a fork, not FFmpeg but LibAV. 2) You could install ffmpeg from Debian-Multimedia.org repositories, with synaptic you add, which anyone using something like Debian will now how to do it, specially on synaptic, and just select ffmpeg, with a click, again. deb http://www.debian-multimedia.org sid main non-free Both, Debian's and Debian-Multimedia's come with libmp3lame by default. So both support mp3, and all the bells and whistles you would like with them. 3) Use the source I created and have been using since a few weeks ago. Being a Debian Developer myself (you can reach me as ghostbar on debian's mail or IRC), and knowing that Debian-Multimedia's ffmpeg will not work the way I want it (I needed the git-tree, not the release), I created a debianization with support for everything I may want, which is everything that FFmpeg could support. It's available at http://github.com/ghostbar/FFmpeg.deb. Instructions are on the README file, and are this: git clone git://github.com/ghostbar/FFmpeg.deb.git git checkout -t -b pristine-tar origin/pristine-tar git checkout -t -b upstream origin/upstream git fetch --tags git checkout master git-buildpackage Just one line, the last one, is the one you need to build the package. Now, if they're just too much for you, then you don't need to build the package, but use option 1 and 2. If you insist that is just too difficult to build it, then I dare you to build it on Windows with One-Click procedure. Is the same for CSS support on DVDs, with debian-multimedia.org repositories, just search DVD CSS on synaptic and with One-Click procedure you will have support for CSS-encrypted DVDs. Pretty easy, isn't it? Of course, if grub is too difficult for you, which my wife -- who is expert in Inkscape and vector illustrations but not in any other computer stuff -- installed with One-Click in the -- oh-so difficult and scary -- Debian, then I hope your work has nothing to do with computers, really. -- Jose Luis Rivas, Web Builder Venezuela - GPGs: 7C4DF50D B9AC8C43 From werner.robitza at gmail.com Mon Dec 12 16:33:16 2011 From: werner.robitza at gmail.com (Werner Robitza) Date: Mon, 12 Dec 2011 16:33:16 +0100 Subject: [FFmpeg-user] Is decoding Apple Component Video YUV422 possible with FFmpeg? Message-ID: >From a DNxHD encoded file, I used MPEG Streamclip to generate a file with an AVI container and the *Apple Component Video YUV422 codec*. Opening the result file with ffprobe or ffmpeg shows "yuv2" as the video codec. *Input #0, avi, from '01-sami-ep01-var01-de.avi':* * Duration: 00:03:09.20, start: 0.000000, bitrate: 830983 kb/s* * Stream #0.0: Video: yuv2 / 0x32767579, 1920x1080, 25 tbr, 25 tbn, 25 tbc* * Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s* *Unsupported codec with id 0 for input stream 0* However, trying to decode the file into any other format throws the error, e.g. by just calling *ffmpeg -i input.avi output.mp4* *[buffer @ 0x100d01380] Invalid pixel format string '-1'* *Error opening filters!* Is the Apple Component Video YUV422 entirely unsupported by FFmpeg? I even tried with the yuyv422 pixel format, but it produces the same error. The resulting AVI video plays fine with QuickTime, so it's not an error in encoding. Best regards, Werner ------- My ffmpeg and libav versions are as follows: *FFmpeg version git-N-28603-g2fd41c9, Copyright (c) 2000-2011 the FFmpeg developers* * built on Mar 24 2011 14:33:08 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)* * configuration: * * libavutil 50. 40. 0 / 50. 40. 0* * libavcodec 52.114. 0 / 52.114. 0* * libavformat 52.103. 0 / 52.103. 0* * libavdevice 52. 3. 0 / 52. 3. 0* * libavfilter 1. 76. 0 / 1. 76. 0* * libswscale 0. 12. 0 / 0. 12. 0* From mark at mdsh.com Mon Dec 12 16:49:35 2011 From: mark at mdsh.com (Mark Himsley) Date: Mon, 12 Dec 2011 15:49:35 +0000 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <201112121629.41112.demimurych@mail.ru> References: <201112092348.05340.demimurych@mail.ru> <4EE6026E.1040501@mdsh.com> <201112121615.41204.demimurych@mail.ru> <201112121629.41112.demimurych@mail.ru> Message-ID: <4EE6228F.5050101@mdsh.com> On 12/12/11 14:29, demimurych wrote: >> Sorry,I forgot to mention an important detail: while you probably >> supposed that I want to use a video sequence as watermark, my >> watermark is a static PNG image.I really hope it can work this >> way.Best regards,Max Ah - yes, I agree. Fading a still image over time doesn't appear to work. As it happens, I need this feature too. I have asked on IRC this morning, but perhaps I'll reiterate my query here in email: Does anyone know how can I get more than 1 frame out of a -vf movie source of an image? N never gets above 0 with -vf "movie=watermark.png,showinfo[logo];[in][logo]overlay=0:0[out]" which means I cannot use the fade filter on an image. Example command (I'm not worried about the quality of this encode - just whether the watermark fades): ffmpeg -loglevel debug -threads 4 -shortest -i "../576i25/Compression test clips.mov" -vf "movie=SD_BBC_blocks_watermark.png,scale=0:0:interl=1,format=yuva420p,fade=in:25:25:alpha=1,fade=out:250:25:alpha=1,showinfo[logo];[in]scale=0:0:interl=1,format=yuv420p,setpts=PTS-STARTPTS,[logo]overlay=0:0,scale=0:0:interl=1[out]" -vcodec mpeg4 -aspect 16:9 -top 1 -an -vframes 300 -y "Compression test clips-out.mov" What I note from the text output is that the showinfo line for the watermark movie is only printed once - so the fade cannot happen as the fade should happen for every frame. ffmpeg version N-35158-g6d16a96, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 25 2011 12:09:02 with gcc 4.4.3 configuration: --arch=x86 --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix=/usr/local --disable-ffplay --disable-ffprobe --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-x11grab --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid libavutil 51. 29. 0 / 51. 29. 0 libavcodec 53. 37. 0 / 53. 37. 0 libavformat 53. 21. 0 / 53. 21. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 49. 0 / 2. 49. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0xad8f660] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0xad8f660] ISO: File Type Major Brand: qt [dvvideo @ 0xad961a0] err{or,}_recognition separate: 1; 1 [dvvideo @ 0xad961a0] err{or,}_recognition combined: 1; 65537 [dvvideo @ 0xad961a0] Unsupported bit depth: 0 [pcm_s16le @ 0xad96f20] err{or,}_recognition separate: 1; 1 [pcm_s16le @ 0xad96f20] err{or,}_recognition combined: 1; 65537 [pcm_s16le @ 0xad9fce0] err{or,}_recognition separate: 1; 1 [pcm_s16le @ 0xad9fce0] err{or,}_recognition combined: 1; 65537 [mov,mp4,m4a,3gp,3g2,mj2 @ 0xad8f660] All info found Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../576i25/Compression test clips.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2009-06-09 16:00:06 Duration: 00:01:46.12, start: 0.000000, bitrate: 30344 kb/s Stream #0:0(eng), 1, 1/25: Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 1/25, 28800 kb/s, SAR 59:54 DAR 295:216, 25 fps, 25 tbr, 25 tbn, 25 tbc Metadata: creation_time : 2009-06-09 16:00:06 handler_name : ?Apple Alias Data Handler Stream #0:1(eng), 47, 1/48000: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s Metadata: creation_time : 2009-06-09 16:00:06 handler_name : ?Apple Alias Data Handler Stream #0:2(eng), 47, 1/48000: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s Metadata: creation_time : 2009-06-09 16:00:06 handler_name : ?Apple Alias Data Handler Stream #0:3(eng), 0, 1/25: Data: none (tmcd / 0x64636D74) Metadata: creation_time : 2009-06-09 16:00:44 handler_name : ?Apple Alias Data Handler [buffer @ 0xadfcb60] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:59/54 sws_param: [png @ 0xad8d580] err{or,}_recognition separate: 1; 1 [png @ 0xad8d580] err{or,}_recognition combined: 1; 65537 [png @ 0xad8d580] err{or,}_recognition separate: 1; 65537 [png @ 0xad8d580] err{or,}_recognition combined: 1; 65537 [movie @ 0xad95440] seek_point:0 format_name:(null) file_name:SD_BBC_blocks_watermark.png stream_index:0 [fade @ 0xadb09c0] Setting value '1' for key 'alpha' [fade @ 0xad8f500] type:in start_frame:25 nb_frames:25 alpha:1 [fade @ 0xadb1300] Setting value '1' for key 'alpha' [fade @ 0xadb1240] type:out start_frame:250 nb_frames:25 alpha:1 [scale @ 0xadb1d80] w:720 h:576 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4 [format @ 0xadb0ee0] TB:0.000001 [scale @ 0xad96100] w:720 h:576 fmt:bgra -> w:720 h:576 fmt:yuva420p flags:0x4 [overlay @ 0xadb1080] main w:720 h:576 fmt:yuv420p overlay x:0 y:0 w:720 h:576 fmt:yuva420p [overlay @ 0xadb1080] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000 exact:1 [scale @ 0xadb28c0] w:720 h:576 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4 [mpeg4 @ 0xadb5260] err{or,}_recognition separate: 1; 1 [mpeg4 @ 0xadb5260] err{or,}_recognition combined: 1; 65537 [mpeg4 @ 0xadb5260] intra_quant_bias = 0 inter_quant_bias = -64 [mpeg4 @ 0xadb5260] Unsupported bit depth: 0 [dvvideo @ 0xad961a0] err{or,}_recognition separate: 1; 65537 [dvvideo @ 0xad961a0] err{or,}_recognition combined: 1; 65537 [dvvideo @ 0xad961a0] Unsupported bit depth: 0 Output #0, mov, to 'Compression test clips-out.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2009-06-09 16:00:06 encoder : Lavf53.21.0 Stream #0:0(eng), 0, 1/25: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 200 kb/s, 25 tbn, 25 tbc Metadata: creation_time : 2009-06-09 16:00:06 handler_name : ?Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (dvvideo -> mpeg4) Press [q] to stop, [?] for help [showinfo @ 0xadb1960] n:0 pts:0 pts_time:0.000000 pos:-1 fmt:yuva420p sar:0/1 s:720x576 i:P iskey:1 type:I checksum:617BE6EC plane_checksum:[410DCF31 88788BD6 88788BD6 00000000] frame= 62 fps= 0 q=31.0 size= 329kB time=00:00:02.48 bitrate=1087.3kbits/s frame= 127 fps=126 q=31.0 size= 397kB time=00:00:05.08 bitrate= 640.1kbits/s frame= 188 fps=125 q=31.0 size= 572kB time=00:00:07.52 bitrate= 623.7kbits/s frame= 247 fps=123 q=31.0 size= 724kB time=00:00:09.88 bitrate= 600.4kbits/s frame= 300 fps=123 q=24.8 Lsize= 825kB time=00:00:12.00 bitrate= 563.3kbits/s video:822kB audio:0kB global headers:0kB muxing overhead 0.393410% -- Mark From mark at mdsh.com Mon Dec 12 16:55:40 2011 From: mark at mdsh.com (Mark Himsley) Date: Mon, 12 Dec 2011 15:55:40 +0000 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <201112121615.41204.demimurych@mail.ru> References: <201112092348.05340.demimurych@mail.ru> <201112120015.40278.demimurych@mail.ru> <4EE6026E.1040501@mdsh.com> <201112121615.41204.demimurych@mail.ru> Message-ID: <4EE623FC.9070802@mdsh.com> On 12/12/11 14:15, demimurych wrote: > > Generically (assuming your logo has an alpha): > > ffmpeg -i background.movie -vf "movie=watermark.movie,fade=in:25:25:alpha=1,fade=out:300:25:alpha=1[logo]; > > [in][logo] overlay=0:0 [out]" output.movie > > Hello again,thank you for the example and explanation, it's really > working if i put another video fragment over my clip and fade it as > you meant. The problem is, when I try to place a watermark in the > same way, the displayed result is a black rectangle instead of the > watermark.I tried it several times using a direct copy-paste of your > code with fade:0:0 and fade:0:1 etc, unfortunately still without > success. Maybe this behavior is already known and you could tell me > what I'm doing wrong The quote "Command line and complete, uncut console output missing" is running through my head. I expect it's an incorrect conversion between yuva and bgra somewhere. -- Mark From felipe.santana at xmobots.com Mon Dec 12 17:37:33 2011 From: felipe.santana at xmobots.com (Felipe Santana) Date: Mon, 12 Dec 2011 14:37:33 -0200 Subject: [FFmpeg-user] Build ffmpeg on QNX In-Reply-To: References: <4EE1F062.9060602@bbc.co.uk> Message-ID: I solved the last error. But when I try to build libavcodec, I get lots of errors with the same messages, for the native headers (math.h, stdio.h, etc.) on QNX directory. *"declaration for parameter ' ' but not such parameter"* * * I am not sending the complete make output, because that is the only type of error that occurs. Do you know what that error could be? Thank you! Regards! On Mon, Dec 12, 2011 at 10:30 AM, Carl Eugen Hoyos wrote: > Felipe Santana xmobots.com> writes: > > > *I also could build libavformat, libavutil and libswscale.* > > *But I cannot build libavcodec. I keep getting errors like the > following.* > > > > options.c:133: error: initializer element is not constant > > options.c:133: error: (near initialization for 'options[62].min') > > (This does not look like the complete, uncut output of a repeated "make > V=1".) > > Seems to be a known problem with FLT_MAX on your system: > http://www.openqnx.com/phpbbforum/viewtopic.php?t=10440 > > [...] > > > *The configure command was the following* > > > > $ ./configure --enable-shared --disable-ffprobe --disable-ffplay > > --disable-ffserver > > > --disable-aandct --disable-dct --disable-golomb --disable-lpc > --disable-mdct > > --disable-rdft --disable-fft --disable-asm > > Why? > > > --cc=qcc --target-os=qnx --enable-cross-compile --arch=arm --enable-pic > > > > *I am using ffmpeg-0.8.6* > > This is outdated, please test current git head. > > Please do not-post, it is considered rude here, Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- Felipe Santana Software Developer XMobots Robotic Systems From de.techno at gmail.com Mon Dec 12 12:24:24 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 16:54:24 +0530 Subject: [FFmpeg-user] compress security video In-Reply-To: References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> <4EE46193.4040502@gmail.com> <4EE49EBD.1040902@gmail.com> Message-ID: <4EE5E468.8030607@gmail.com> On 12/12/11 15:08, Carl Eugen Hoyos wrote: > dE . gmail.com> writes: > >>>>> I would still love to see evidence that Xvid is better than FFmpeg's native >>>>> ASP encoder (which is slightly more difficult to tune). >>>> Xvid has better multithreading support and with default setting >>>> compresses more (with same quality). >>> As said, you have to use settings for FFmpeg ("tune") for optimal ASP >>> encoding (it uses default settings that make it faster), please refer to the >>> FAQ. >> I didn't find anything. Can you point it out? > What is unclear about "Which are good parameters for encoding high quality > MPEG-4?" (The first hit for "mpeg-4".) > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Humm... yeah. So, '-bf 2', '-flags qprd', '-flags mv0', '-flags skiprd' may increase size? From de.techno at gmail.com Mon Dec 12 12:24:44 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 16:54:44 +0530 Subject: [FFmpeg-user] compress security video In-Reply-To: <20111212095448.GA28229@phare.normalesup.org> References: <20111209112529.246440@gmx.com> <4EE3E43F.3060807@das-werkstatt.com> <4EE46193.4040502@gmail.com> <20111212095448.GA28229@phare.normalesup.org> Message-ID: <4EE5E47C.7000701@gmail.com> On 12/12/11 15:24, Nicolas George wrote: > Le primidi 21 frimaire, an CCXX, Carl Eugen Hoyos a ?crit : >> As said, you have to use settings for FFmpeg ("tune") for optimal ASP encoding >> (it uses default settings that make it faster), please refer to the FAQ. > Presets files like the ones for x264 would be very welcome. > > Regards, > I wholeheartedly agree. From de.techno at gmail.com Mon Dec 12 12:32:03 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 17:02:03 +0530 Subject: [FFmpeg-user] External UVC Camera Video Streaming/Image Capturing using ffmpeg In-Reply-To: References: Message-ID: <4EE5E633.7050008@gmail.com> On 12/12/11 12:28, s.rawat wrote: > I tried replcing this line with the line below in the build.sh > # FLAGS="$FLAGS --disable-everything --enable-indevs > --enable-protocol=file" > > FLAGS="$FLAGS --enable-indevs --enable-protocol=file" > but it gave this error : > > ERROR: libvpx decoder version must be>=0.9.1 > > i tried installing the dev package for libvpx from the synaptic maager, but > still the same.Though I could see > /lib/libvpx.so.0.9 > ./lib/libvpx.so.0.9.5 > ./lib/debug/usr/lib/libvpx.so.0.9.5 > > > in the lib directory > libvpx.so.0.9.5 is defintely present and which is certainly> =0.9.1 , then > Y I am getting this error. > Any clue on this ? > > Rgds, > Saurabh > > > "..pain is temporary.....quitting lasts forever......" > > > > On Sat, Dec 10, 2011 at 7:43 PM, Carl Eugen Hoyos wrote: > >> s.rawat gmail.com> writes: >> >>> ffmpeg -y -t 25 -f video4linux2 -r 15 -s 320*240 -pix_fmt yuyv422 -i >>> /dev/video1 -an -f avi Test_QVGA1.avi >>> >>> But I am the following output/error(see in *Bold* at last) --> >>> >>> FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers >> This is old, please use current git head, see >> http://ffmpeg.org/download.html >> >>> Requested output format 'avi' is not a suitable output format >>> ioctl(VIDIOC_QBUF) >> You specified "--disable-everything" to disable the avi muxer, so it does >> not >> work. I suggest you first try whatever you want to achieve with an >> as-short-as-possible configure line (without --disable-everything and if >> possible with static libraries), if it works, add --disable-everything and >> the >> necessary --enable options (and use --enable-shared if necessary). >> >> Carl Eugen >> >> _______________________________________________ >> 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 Headers lie in /usr/include. In Synaptic, check the properties of of the installed -dev file to see it's files. From de.techno at gmail.com Mon Dec 12 12:36:15 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 17:06:15 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE4FFFC.9030408@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> <4EE4ECDE.4020507@thelounge.net> <4EE4FFFC.9030408@thelounge.net> Message-ID: <4EE5E72F.3090209@gmail.com> On 12/12/11 00:39, Reindl Harald wrote: > > Am 11.12.2011 19:54, schrieb Phil Rhodes: >>> try to compile http://www.patrickfrei.ch/webalizer/ on fedora with enabled >>> GeoIP support and you will fail because the GeoIP-devel from Fedora does >>> not contain the static bits as all other devel-packages >> I thought this was all super-simple and could be done by anyone's pet gerbil? > even a trained monkey can install his os in a virtual machine for building > packages and after reading some docs have an isolated build-environment > instead install things without using his package-managment > > that the fedora-devel packages does not contain the static bits has the > simple reason that no single package of the distribution should be static > linked and you should also not do this as user, if you are not satisfied > with this you can even install linux from scratch and learn how to > satisfy your needs > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user I'd suggest gentoo. There're a lot of packages with static USE,e.g. your geoip - dev-libs/geoip Available versions: 1.4.8 {ipv6 perl-geoipupdate static-libs} From de.techno at gmail.com Mon Dec 12 12:39:37 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 17:09:37 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> Message-ID: <4EE5E7F9.8050303@gmail.com> On 12/12/11 01:15, Phil Rhodes wrote: >> i understand partly but i understand not why he refuses to learn > > I am not trying to be unnecessarily combative here (although I get the > feeling you are), but this is not correct. > > If there is something useful I can learn which will help me I will > happily do it; I just don't see the point. Why would I want to take > extra time out to learn how to be a software engineer when I can > simply download the binary onto a windows machine and immediately > start using it with all of the features intact? Why would I want to > spend a lot of time creating source trees, hacking text files, > recompiling things and generally screwing around? > > The analogy would be that we're both trying to get to the top of a > building. I take the elevator while you climb the outside with > mountaineering equipment. > > What is the point? What does all this extra complexity gain anyone, > other than bragging rights? > > P > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user I fail to understand why don't you use repos of your Linux distro. From de.techno at gmail.com Mon Dec 12 12:48:13 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 17:18:13 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> Message-ID: <4EE5E9FD.3030508@gmail.com> On 12/12/11 07:58, Phil Rhodes wrote: >> You simply have to install the right packages. > > There is a great tendency among linux people to leave things out of > instructions, and I suspect this is what you are doing here as what > you're saying simply does not reflect my experience. > > An environment capable of building ffmpeg, or at least an ffmpeg > useful in 2011, comprises at least a few thousand files, once you > involve dependencies, dependencies of dependencies, source, headers, > makefiles, scripts, configuration, documentation, executables and > libraries for everything that's required. Each one of those files has > to be the right version with the right permissions in the right place, > correctly referred to in other files, creating a thousands-factorial > web of potential failure, and you furthermore have to worry about > which of those files will land you in bankruptcy court or prison if > you happen to give the executable to a friend. > > Anybody trying to assert that this is in any way trivial or easy is > simply a fantasist. > > My direct experience is that it fails much more often than it > succeeds. These failures are generally overlooked by the linux > community on the basis that most of them are repairable if you happen > to be an expert in configuration and shell scripts, makefiles, C > itself, and of course the API and coding conventions of every piece of > software that's involved. > > If you are not that person, which I am not, what you will actually > find is that somewhere early, very early, in the procedure, you will > hit a problem, and you will ask about it on a mailing list and > everyone will call you an idiot, because you didn't understand that > when someone said "Perform procedure X", what they actually meant was > to perform the procedure then fix the inevitable problems arising > therefrom. > > I would love one of the clever people who's been disagreeing with my > comments to take a brand new Ubuntu box and enlighten us all, step by > step, with what it actually took to create a build environment for > ffmpeg. My suspicion is: quite a lot of banging on text files. > > P > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Build environment is meant for developers, development is a task of professions (may be not for Con Kolivas) and being a professional isn't easy. I've installed from live GIT cause I'm using Gentoo, so I dont have to compile -- emerge does it for me; otherwise, even I wouldn't have bothered. From Ross.Alexander at EMEA.NEC.COM Mon Dec 12 18:25:13 2011 From: Ross.Alexander at EMEA.NEC.COM (Ross Alexander) Date: Mon, 12 Dec 2011 17:25:13 +0000 Subject: [FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9 Message-ID: Hello, I've recently updated my ffmpeg from 0.8.7 to 0.9.0 and suffered from the syntax change to the command line. I can get around the changes to the -map but it seems that the -profile option is being picked up by both the libx264 and the libfaac codecs. Below is a copy of the command line and the resulting output. mig27 17:22:14$ ffmpeg -i SVU.10.02.Confession.vob -vcodec libx264 -preset fast -tune film -profile main -crf 26 -map 0:0 -acodec libfaac -ab 128k -ac 2 -ar 44100 -map 0:1 -threads 8 -f mp4 -y out/SVU.10.02.Confession.mp4 ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 10:19:19 with gcc 4.6.2 configuration: --prefix=/usr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-gpl --enable-shared --enable-postproc --enable-libxvid --enable-pthreads --enable-nonfree --enable-libfaac --enable-libschroedinger --enable-libmp3lame 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 [mpeg @ 0x9e23ac0] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'SVU.10.02.Confession.vob': Duration: 26:30:43.84, start: 0.158067, bitrate: 166 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s [buffer @ 0x9e28f60] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param: [libx264 @ 0x9e2a220] using SAR=64/45 [libx264 @ 0x9e2a220] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT [libx264 @ 0x9e2a220] profile Main, level 3.0 [libx264 @ 0x9e2a220] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:-1:-1 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=8 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=crf mbtree=1 crf=26.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [NULL @ 0x9e2aba0] [Eval @ 0xff9f1c38] Undefined constant or missing '(' in 'main' [NULL @ 0x9e2aba0] Unable to parse option value "main" [NULL @ 0x9e2aba0] Error setting option profile to value main. Output #0, mp4, to 'out/SVU.10.02.Confession.mp4': Stream #0:0: Video: h264, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 90k tbn, 25 tbc Stream #0:1: Audio: none, 44100 Hz, 2 channels, s16, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (mpeg2video -> libx264) Stream #0:1 -> #0:1 (ac3 -> libfaac) Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height Many thanks, Ross From phil_rhodes at rocketmail.com Mon Dec 12 18:32:51 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Mon, 12 Dec 2011 17:32:51 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120810.45866.rodney.baker@iinet.net.au> <201112122333.05953.rodney.baker@iinet.net.au> Message-ID: > Secondly, you keep complaining about *nix; why? Phil: Hello. This piece of opensource software is causing $PROBLEM under Windows 7, any suggestions? Nerd: Use linux and compile latest svn. Phil: Well, linux isn't for everyone. Now, abut $PROBLEM... Nerd: Linux does everything and is really easy to use and helps cute animals. Phil: Everything? Wow. Is there an equivalent to $SOFTWARE? Nerd: Er... linux isn't for everyone... and ur teh suck. That's why. I make no apology if my response is robust. > I like freedom myself in some circumstances and in others I am willing > to pay the money to just have it work. Pretty much describes my attitude, too. > Again, because they are so many different environments that ffmpeg could > be installed too, especially when it comes to *nix, that I'm not sure at > this point what needs to be done exactly to improve it, yet. Couldn't agree more. The only way to fix these configure-and-build issues is to make all linux distros so similar that there would be very little point in having all these different ones. The core problem is one of a complete lack of consistency and standardisation, and I view this as more or less unsolvable in the realm of linux and free software. > I would however, expect the folks that write > ffmpeg to be able to sort that one out and improve the documentation. And on that day, the devil will be ice-skating to work. > Lastly, as far as this list and how they seem to expect people to be > somewhat near their level of understanding about all things ffmpeg, I've > complained about this as well. I think it's more utter, undisguised contempt for anyone who isn't an expert software engineer. A lot of disciplines suffer this sort of snobbery, but I think the open source community has made arrogance into an absolute science and it is really terrifying to behold the degree of brass-necked snobbery of which these people are capable. The fact that it is neither possible or desirable for every person on the face of the planet to be a linux expert apparently doesn't occur. P From h.reindl at thelounge.net Mon Dec 12 18:36:38 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Mon, 12 Dec 2011 18:36:38 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE5E72F.3090209@gmail.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> <4EE4ECDE.4020507@thelounge.net> <4EE4FFFC.9030408@thelounge.net> <4EE5E72F.3090209@gmail.com> Message-ID: <4EE63BA6.4060005@thelounge.net> Am 12.12.2011 12:36, schrieb dE .: > On 12/12/11 00:39, Reindl Harald wrote: >> that the fedora-devel packages does not contain the static bits has the >> simple reason that no single package of the distribution should be static >> linked and you should also not do this as user, if you are not satisfied >> with this you can even install linux from scratch and learn how to >> satisfy your needs > > I'd suggest gentoo. There're a lot of packages with static USE,e.g. your geoip - > > dev-libs/geoip > Available versions: 1.4.8 {ipv6 perl-geoipupdate static-libs} why do you someone which is quite happy with Fedora, understanding why static-builds are crap and what a package-managment is for a source-based distribution? Gentto is simply unuseable if you have to maintain > 20 machines -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From phil_rhodes at rocketmail.com Mon Dec 12 18:37:28 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Mon, 12 Dec 2011 17:37:28 -0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE5E9FD.3030508@gmail.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <4EE5E9FD.3030508@gmail.com> Message-ID: > Build environment is meant for developers, development is a task of > professions (may be not for Con Kolivas) and being a professional isn't > easy. I agree completely, but it seems that basic features of ffmpeg cannot be obtained (at least on Linux) without building from source. P From h.reindl at thelounge.net Mon Dec 12 18:41:05 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Mon, 12 Dec 2011 18:41:05 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120810.45866.rodney.baker@iinet.net.au> <201112122333.05953.rodney.baker@iinet.net.au> Message-ID: <4EE63CB1.3060402@thelounge.net> Am 12.12.2011 18:32, schrieb Phil Rhodes: > I think it's more utter, undisguised contempt for anyone who isn't an > expert software engineer. A lot of disciplines suffer this sort of snobbery, > but I think the open source community has made arrogance into an absolute > science and it is really terrifying to behold the degree of brass-necked > snobbery of which these people are capable. please stop your idiotic trolling > The fact that it is neither possible or desirable for every person on the face of > the planet to be a linux expert apparently doesn't occur. why in the world do you not use the binary packages of your distribution instead trolling on the upstream-source-list? if the packages do not satisfy make a bugreport, choose another distribution or even change to a totally other software/operating system and if this all does not satisfy consider not using a computer at all! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From Joshua.Tidsbury at bellmedia.ca Mon Dec 12 18:44:41 2011 From: Joshua.Tidsbury at bellmedia.ca (Joshua Tidsbury) Date: Mon, 12 Dec 2011 17:44:41 +0000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE63CB1.3060402@thelounge.net> Message-ID: Please take this offline. I think this conversation is no longer fruitful. Thanks, Josh ----- Joshua Tidsbury | CTV t 416.384.7253 | m 416.433.3968 | joshua.tidsbury at bellmedia.ca On 11-12-12 12:41 PM, "Reindl Harald" wrote: > > >Am 12.12.2011 18:32, schrieb Phil Rhodes: >> I think it's more utter, undisguised contempt for anyone who isn't an >> expert software engineer. A lot of disciplines suffer this sort of >>snobbery, >> but I think the open source community has made arrogance into an >>absolute >> science and it is really terrifying to behold the degree of brass-necked >> snobbery of which these people are capable. > >please stop your idiotic trolling > > >> The fact that it is neither possible or desirable for every person on >>the face of >> the planet to be a linux expert apparently doesn't occur. > >why in the world do you not use the binary packages of your distribution >instead trolling on the upstream-source-list? if the packages do not >satisfy make a bugreport, choose another distribution or even change >to a totally other software/operating system and if this all does >not satisfy consider not using a computer at all! > >_______________________________________________ >ffmpeg-user mailing list >ffmpeg-user at ffmpeg.org >http://ffmpeg.org/mailman/listinfo/ffmpeg-user From de.techno at gmail.com Mon Dec 12 13:16:10 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 17:46:10 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE63BA6.4060005@thelounge.net> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE49ACF.3080307@gmail.com> <4EE4ECDE.4020507@thelounge.net> <4EE4FFFC.9030408@thelounge.net> <4EE5E72F.3090209@gmail.com> <4EE63BA6.4060005@thelounge.net> Message-ID: <4EE5F08A.1040900@gmail.com> On 12/12/11 23:06, Reindl Harald wrote: > > Am 12.12.2011 12:36, schrieb dE .: >> On 12/12/11 00:39, Reindl Harald wrote: >>> that the fedora-devel packages does not contain the static bits has the >>> simple reason that no single package of the distribution should be static >>> linked and you should also not do this as user, if you are not satisfied >>> with this you can even install linux from scratch and learn how to >>> satisfy your needs >> I'd suggest gentoo. There're a lot of packages with static USE,e.g. your geoip - >> >> dev-libs/geoip >> Available versions: 1.4.8 {ipv6 perl-geoipupdate static-libs} > why do you someone which is quite happy with Fedora, understanding why > static-builds are crap and what a package-managment is for a source-based > distribution? Well, he asked for it.... > Gentto is simply unuseable if you have to maintain> 20 machines > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Main problem is the compile time, but if you have identical systems you can buildpkg your way instead. That's a litter harder than binary distros (assuming you already know how to administer Gentoo). From de.techno at gmail.com Mon Dec 12 13:17:05 2011 From: de.techno at gmail.com (dE .) Date: Mon, 12 Dec 2011 17:47:05 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <4EE5E9FD.3030508@gmail.com> Message-ID: <4EE5F0C1.6010605@gmail.com> On 12/12/11 23:07, Phil Rhodes wrote: > >> Build environment is meant for developers, development is a task of >> professions (may be not for Con Kolivas) and being a professional >> isn't easy. > > I agree completely, but it seems that basic features of ffmpeg cannot > be obtained (at least on Linux) without building from source. > > P > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Then that's the package maintainer's issue. I'd suggest reporting a bug. From hguth at listingsmagic.com Mon Dec 12 18:51:27 2011 From: hguth at listingsmagic.com (Hans Guth) Date: Mon, 12 Dec 2011 10:51:27 -0700 Subject: [FFmpeg-user] Video quality Message-ID: <4EE63F1F.2090402@listingsmagic.com> I have an flv video that is about 38M and the quality is excellent. When I try and convert it to SWF which is format I need I can't seem to get a quality output file. The original file is 1920x1088. I want the output to be 640x480 but whatever I am doing it's creating a very choppy output file. I have tried all sorts of different settings but if size is set to 640x480 then I seem to get same/similar results. Note: If I set -sameq then the swf output seems to get screwed up - i.e. it won't start playing but gets hung on frame 1? Here's one command example. /usr/local/bin/ffmpeg -i MOV072.flv -y -s 640x480 -r 30000/1001 -b 200k -bt 240k MOV072.swf Seems stream 0 codec frame rate differs from container frame rate: 59.94 (2997/50) -> 29.92 (359/12) Input #0, flv, from 'MOV072.flv': Duration: 00:00:42.71, start: 0.000000, bitrate: 264 kb/s Stream #0.0: Video: h264, yuv420p, 1920x1088, 200 kb/s, 29.92 tbr, 1k tbn, 59.94 tbc Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s Output #0, swf, to 'MOV072.swf': Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Does the "Seems stream 0 codec frame rate" issue have anything to do with it? Any advice on how to keep the quality level high. Thanks -- Hans Guth President - ListingsMagic 866-831-8639 ext. 704 From h.reindl at thelounge.net Mon Dec 12 18:56:03 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Mon, 12 Dec 2011 18:56:03 +0100 Subject: [FFmpeg-user] Video quality In-Reply-To: <4EE63F1F.2090402@listingsmagic.com> References: <4EE63F1F.2090402@listingsmagic.com> Message-ID: <4EE64033.6010102@thelounge.net> Am 12.12.2011 18:51, schrieb Hans Guth: > I have an flv video that is about 38M and the quality is excellent. When I try and convert it to SWF which is > format I need I can't seem to get a quality output file. The original file is 1920x1088. I want the output to be > 640x480 but whatever I am doing it's creating a very choppy output file. > > I have tried all sorts of different settings but if size is set to 640x480 then I seem to get same/similar > results. Note: If I set -sameq then the swf output seems to get screwed up - i.e. it won't start playing but gets > hung on frame 1? > > /usr/local/bin/ffmpeg -i MOV072.flv -y -s 640x480 -r 30000/1001 -b 200k -bt 240k MOV072.swf > > Seems stream 0 codec frame rate differs from container frame rate: 59.94 (2997/50) -> 29.92 (359/12) > Input #0, flv, from 'MOV072.flv': > Duration: 00:00:42.71, start: 0.000000, bitrate: 264 kb/s > Stream #0.0: Video: h264, yuv420p, 1920x1088, 200 kb/s, 29.92 tbr, 1k tbn, 59.94 tbc > Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s > Output #0, swf, to 'MOV072.swf': > Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc > Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s having a high compressed input with 200 kbit and convert it again with a non-losless format with such a low bitrate leaves no option as a degraded quality 200kbit may be ok if you have really HQ input -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From bostjan.strojan at gmail.com Mon Dec 12 20:08:46 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Mon, 12 Dec 2011 20:08:46 +0100 Subject: [FFmpeg-user] OSX lion, trying to compile from git fails In-Reply-To: References: Message-ID: does this look right: yasm --version yasm 1.2.0 Compiled on Dec 6 2011. Copyright (c) 2001-2011 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ? On Sun, Dec 11, 2011 at 11:17 PM, Jim Worrall wrote: > > On Dec 11, 2011, at 2:50 PM, Carl Eugen Hoyos wrote: > >> Bo?tjan Strojan gmail.com> writes: >> >>> However --cc-clang says to be unsupported switch? >> >> ./configure --cc=clang > > Sorry for the error, Carl is right of course. ?And if it still doesn't work you may > need to get the latest Xcode/Developer's Tools, especially if you haven't > updated that since Lion came out. > >> As said, you should not use --enable-nonfree, it does not do anything useful in >> your configure line. >> Do not use --enable-runtime-cpudetect unless you have a reason to (= if you are >> not a user, but a distributor. This case would be one more reason not to use >> --enable-nonfree) >> >> --enable-pthreads --enable-avfilter --enable-filters are default and should >> therefore be redundant (consider checking configure's output if pthreads are >> correctly detected, I could of course be wrong) >> >> And I would suggest not to use --arch at all unless there is a reason. > > I can't remember why I started using --arch=x86_64, I think one > of my libraries wasn't found correctly without it, but I could be wrong. > I'll try it without. > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -- Bo?tjan Strojan +386 51 324 052 mobile From lou at lrcd.com Mon Dec 12 20:14:04 2011 From: lou at lrcd.com (Lou) Date: Mon, 12 Dec 2011 10:14:04 -0900 Subject: [FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9 In-Reply-To: References: Message-ID: <20111212101404.10268fd0@lrcd.com> On Mon, 12 Dec 2011 17:25:13 +0000 Ross Alexander wrote: > Hello, > > I've recently updated my ffmpeg from 0.8.7 to 0.9.0 and suffered from > the syntax change to the command line. I can get around the changes > to the -map but it seems that the -profile option is being picked up > by both the libx264 and the libfaac codecs. Below is a copy of the > command line and the resulting output. Please try "-vprofile main". This should be documented better, but I would prefer "-profile" to apply to video to be more consistent with x264, and "-aprofile" to apply to audio. From mark at mdsh.com Mon Dec 12 20:17:00 2011 From: mark at mdsh.com (Mark Himsley) Date: Mon, 12 Dec 2011 19:17:00 +0000 Subject: [FFmpeg-user] lbavfilter. watermark. time interval. In-Reply-To: <4EE6228F.5050101@mdsh.com> References: <201112092348.05340.demimurych@mail.ru> <4EE6026E.1040501@mdsh.com> <201112121615.41204.demimurych@mail.ru> <201112121629.41112.demimurych@mail.ru> <4EE6228F.5050101@mdsh.com> Message-ID: <4EE6532C.1020004@mdsh.com> On 12/12/11 15:49, Mark Himsley wrote: > On 12/12/11 14:29, demimurych wrote: > >>> Sorry,I forgot to mention an important detail: while you probably >>> supposed that I want to use a video sequence as watermark, my >>> watermark is a static PNG image.I really hope it can work this >>> way.Best regards,Max > > Ah - yes, I agree. Fading a still image over time doesn't appear to > work. As it happens, I need this feature too. The best work-around I have so far for the fade a single frame issue is to make the watermark image FFmpeg's main input, loop input, and swap around the sources in the overlay filter: Something like this: ffmpeg -threads 4 -loop_input -i "watermark.png" -vf "movie=test_clips.mov,scale=0:0:interl=1,format=yuv420p[bg];[in]scale=0:0:interl=1,format=yuva420p,fade=in:25:25:alpha=1,fade=out:250:25:alpha=1[fg];[bg][fg]overlay=0:0,scale=0:0:interl=1[out]" -vcodec dvvideo -aspect 16:9 -top 0 -an -vframes 300 -y "out.mov" You don't get the sound, so you'd have to do that separately. You'd have to set the -vframes or it tries to go on for ever, and fails when the movie source ends. What would be nice is a loop_input feature on the movie video filter source... That would solve your (and my) problem. Hope this helps (probably not...) -- Mark From bostjan.strojan at gmail.com Mon Dec 12 20:25:16 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Mon, 12 Dec 2011 20:25:16 +0100 Subject: [FFmpeg-user] OSX lion, trying to compile from git fails In-Reply-To: References: Message-ID: got it compiled ! with: ./configure --prefix=${SOURCE} --enable-gpl --enable-libx264 --cc=clang --enable-runtime-cpudetect && make -j 4 && make install thanks 2011/12/12 Bo?tjan Strojan : > does this look right: > > ?yasm --version > yasm 1.2.0 > Compiled on Dec ?6 2011. > Copyright (c) 2001-2011 Peter Johnson and other Yasm developers. > Run yasm --license for licensing overview and summary. > > gcc --version > i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. > build 5658) (LLVM build 2336.1.00) > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. ?There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > ? > > On Sun, Dec 11, 2011 at 11:17 PM, Jim Worrall wrote: >> >> On Dec 11, 2011, at 2:50 PM, Carl Eugen Hoyos wrote: >> >>> Bo?tjan Strojan gmail.com> writes: >>> >>>> However --cc-clang says to be unsupported switch? >>> >>> ./configure --cc=clang >> >> Sorry for the error, Carl is right of course. ?And if it still doesn't work you may >> need to get the latest Xcode/Developer's Tools, especially if you haven't >> updated that since Lion came out. >> >>> As said, you should not use --enable-nonfree, it does not do anything useful in >>> your configure line. >>> Do not use --enable-runtime-cpudetect unless you have a reason to (= if you are >>> not a user, but a distributor. This case would be one more reason not to use >>> --enable-nonfree) >>> >>> --enable-pthreads --enable-avfilter --enable-filters are default and should >>> therefore be redundant (consider checking configure's output if pthreads are >>> correctly detected, I could of course be wrong) >>> >>> And I would suggest not to use --arch at all unless there is a reason. >> >> I can't remember why I started using --arch=x86_64, I think one >> of my libraries wasn't found correctly without it, but I could be wrong. >> I'll try it without. >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > -- > Bo?tjan Strojan > +386 51 324 052?mobile From renaux.jacky at orange.fr Mon Dec 12 20:55:08 2011 From: renaux.jacky at orange.fr (jacky) Date: Mon, 12 Dec 2011 20:55:08 +0100 Subject: [FFmpeg-user] Help me on rtmp and format Message-ID: <3DCAA7CF88494AB6891A079185822774@portable> Hi I try to stream to red5 server using rtmp protocol It works fine using flash media server and like to Use ffmpeg for so I am quite lost : FFMPEG version ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 5 2011 14:22:27 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. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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 I tried several combination using libx264 only changing -f option and follwing are the results setup results or error -vcodec libx264 -f h264 ok for rtmp cannot read the video -vcodec libx264 -f m4v ok for rtmp cannot read the video -vcodec libx264 -f h263 ok for rtmp cannot read the video -vcodec libx264 -f matroska ok for rtmp cannot read the video -vcodec libx264 -f mpegts ok for rtmp cannot read the video -vcodec libx264 -f webm stop -vcodec libx264 -f mp4 non seekable ????? -vcodec libx264 -f mpegvideo stop -vcodec libx264 -f f4v non suitable output format ?? -vcodec libx264 -f aac non suitable output format ?? -vcodec libx264 -f m4a non suitable output format ?? -vcodec libx264 -f flv rtmp error only 3 packets are sent According to the RED5 specs valid streams are Sorensen , vp6, H.264 , Nelly Moser , MP3 , Speex , Aac and NSV Can someone help me ? I am quite sure I made mistakes on codec lib and format association Many thanks Jacky From cehoyos at ag.or.at Tue Dec 13 00:08:32 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 23:08:32 +0000 (UTC) Subject: [FFmpeg-user] Is decoding Apple Component Video YUV422 possible with FFmpeg? References: Message-ID: Werner Robitza gmail.com> writes: > *Apple Component Video YUV422 codec*. > > Opening the result file with ffprobe or ffmpeg shows "yuv2" as the video > codec. Unfortunately not;-( It only reports the fourcc as "yuv2", if the codec would be detected, it would show as "rawvideo". Please provide a sample (preferably one where it is clear how it should look like, including actual colours). For future reports: Please always provide the complete, uncut console output (in one piece) together with the command line, if it is cut (or sliced), the analysis of the problem is usually much, much harder. Carl Eugen From cehoyos at ag.or.at Tue Dec 13 00:04:52 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 23:04:52 +0000 (UTC) Subject: [FFmpeg-user] Video quality References: <4EE63F1F.2090402@listingsmagic.com> Message-ID: Hans Guth listingsmagic.com> writes: > /usr/local/bin/ffmpeg -i MOV072.flv -y -s 640x480 -r 30000/1001 -b 200k > -bt 240k MOV072.swf > > Seems stream 0 codec frame rate differs from container frame rate: 59.94 > (2997/50) -> 29.92 (359/12) > Input #0, flv, from 'MOV072.flv': > Duration: 00:00:42.71, start: 0.000000, bitrate: 264 kb/s > Stream #0.0: Video: h264, yuv420p, 1920x1088, 200 kb/s, 29.92 tbr, > 1k tbn, 59.94 tbc > Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s > Output #0, swf, to 'MOV072.swf': > Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 90k > tbn, 29.97 tbc > Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s > Stream mapping: (Please always post complete, uncut console output instead of the excerpt you posted, it makes understanding your problem significantly harder.) What happens if you significantly increase the value for -b ? Or try 2-pass encoding. Carl Eugen From cehoyos at ag.or.at Tue Dec 13 00:11:15 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 23:11:15 +0000 (UTC) Subject: [FFmpeg-user] OSX lion, trying to compile from git fails References: Message-ID: Bo?tjan Strojan gmail.com> writes: > ./configure --prefix=${SOURCE} --enable-gpl --enable-libx264 > --cc=clang --enable-runtime-cpudetect && make -j 4 && make install Do not use "--enable-runtime-cpudetect" (if you are a user), it hurts the performance of the final executable. (In case it is needed for the compilation to succeed, please report, that would be an unknown bug.) Carl Eugen PS: In case it matters to you: You do not have to install FFmpeg to test it, use it, whatever (but it of course doesn't hurt). From cehoyos at ag.or.at Tue Dec 13 00:13:10 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 12 Dec 2011 23:13:10 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg issue References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE5E7F9.8050303@gmail.com> Message-ID: dE . gmail.com> writes: > I fail to understand why don't you use repos of your Linux distro. In case of FFmpeg, it is often a very bad idea to use the distro's repository... Please cut your quotes and please leave an empty line between the quotes and your text, that eases reading significantly, thanks, Carl Eugen From coniophora at gmail.com Tue Dec 13 00:26:06 2011 From: coniophora at gmail.com (Jim Worrall) Date: Mon, 12 Dec 2011 16:26:06 -0700 Subject: [FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9 In-Reply-To: <20111212101404.10268fd0@lrcd.com> References: <20111212101404.10268fd0@lrcd.com> Message-ID: On Mon, Dec 12, 2011 at 12:14 PM, Lou wrote: > On Mon, 12 Dec 2011 17:25:13 +0000 > Ross Alexander wrote: > > > Hello, > > > > I've recently updated my ffmpeg from 0.8.7 to 0.9.0 and suffered from > > the syntax change to the command line. I can get around the changes > > to the -map but it seems that the -profile option is being picked up > > by both the libx264 and the libfaac codecs. Below is a copy of the > > command line and the resulting output. > > Please try "-vprofile main". This should be documented better, but I > would prefer "-profile" to apply to video to be more consistent with > x264, and "-aprofile" to apply to audio. > Actually "vprofile" does not occur at all in the documentation. It states that the correct option is "profile". Also not quite correct there is the statement that -x264opts "Allow to set any x264 option". Profile and level cannot be passed to x264 that way, I think. Jim From ffmpeg-user at herveybayaustralia.com.au Tue Dec 13 02:09:52 2011 From: ffmpeg-user at herveybayaustralia.com.au (Da Rock) Date: Tue, 13 Dec 2011 11:09:52 +1000 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120810.45866.rodney.baker@iinet.net.au> <201112122333.05953.rodney.baker@iinet.net.au> Message-ID: <4EE6A5E0.5030002@herveybayaustralia.com.au> On 12/13/11 03:32, Phil Rhodes wrote: > >> Secondly, you keep complaining about *nix; why? > > Phil: Hello. This piece of opensource software is causing $PROBLEM > under Windows 7, any suggestions? > Nerd: Use linux and compile latest svn. > Phil: Well, linux isn't for everyone. Now, abut $PROBLEM... > Nerd: Linux does everything and is really easy to use and helps cute > animals. > Phil: Everything? Wow. Is there an equivalent to $SOFTWARE? > Nerd: Er... linux isn't for everyone... and ur teh suck. > > That's why. I make no apology if my response is robust. > >> I like freedom myself in some circumstances and in others I am willing >> to pay the money to just have it work. > > Pretty much describes my attitude, too. > >> Again, because they are so many different environments that ffmpeg >> couldbe installed too, especially when it comes to *nix, that I'm not >> sure atthis point what needs to be done exactly to improve it, yet. > > Couldn't agree more. The only way to fix these configure-and-build > issues is to make all linux distros so similar that there would be > very little point in having all these different ones. The core problem > is one of a complete lack of consistency and standardisation, and I > view this as more or less unsolvable in the realm of linux and free > software. > >> I would however, expect the folks that write >> ffmpeg to be able to sort that one out and improve the documentation. > > And on that day, the devil will be ice-skating to work. > >> Lastly, as far as this list and how they seem to expect people to be >> somewhat near their level of understanding about all things ffmpeg, I've >> complained about this as well. > > I think it's more utter, undisguised contempt for anyone who isn't an > expert software engineer. A lot of disciplines suffer this sort of > snobbery, but I think the open source community has made arrogance > into an absolute science and it is really terrifying to behold the > degree of brass-necked snobbery of which these people are capable. The > fact that it is neither possible or desirable for every person on the > face of the planet to be a linux expert apparently doesn't occur. I have to offer my advice for one last time. You obviously have trouble with linux (as have I, albeit for different reasons but the same cause), so please give FreeBSD a shot. It is predictable, it will mostly compile as advertised every time- just use ports. The hardworking volunteers are software engineers and have done the hard yards for you, all you have to do is open a terminal, cd into the required directory and make install. Dependencies are sorted already, it offers you options in an easier to understand fashion, and it installs in a predictable directory every time. The list is carefully maintained to ensure very helpful volunteers can clear up issues as quickly as possible, while teaching you patiently on what is happening and how and what you need to do. I post this as I don't like people getting the wrong impression here, not all open source is as thorny as some list goers give the impression. FreeBSD is for commercial system administrators, and quite frankly they don't have the time to mess about with all the software engineering- they leave that for others more qualified- so everything is setup to be as easy to maintain as possible. This means new users are better equipped there. I used to think linux was a great training ground for new *nix users, but I think things have gotten a whole lot worse since then. And BSD has really gotten better support for the usually suspects in applications- such as flash and so forth. Anything involving computer software other than windows will take you behind the scenes and involve the black screen, but it is not that scary, and help is not all that obtuse as described here. That said, this list is generally populated with those a bit more experienced than the way you have portrayed yourself. For a trial, send a query (your original one maybe) about ffmpeg to freebsd-questions at freebsd.org. You don't even have to be subscribed (gives you an idea of openness of discussion there), although you will have trouble following if you aren't- follow through the archives in this case or one of the online readers like gmane. I can almost guarantee you won't get a response like you've had in the past. If you don't understand, say so. For the others who think I'm trolling or whatever: I'm not, I'm merely trying to rescue the reputation of and the attitude toward FOSS. Not all projects are the same and they all have their place, but windows users are fleeing to the FOSS community looking for better than what they're being offered, and more will in the years to come- the trend has already started. If you don't want to handle these with kid gloves- let some other system do it. The apps won't die because of it, they'll just be used more somewhere else. There's enough niches for everyone :) From weitzhandler at gmail.com Tue Dec 13 03:24:39 2011 From: weitzhandler at gmail.com (Shimmy Weitzhandler) Date: Tue, 13 Dec 2011 04:24:39 +0200 Subject: [FFmpeg-user] Anyone knows how to use the new AMV encoder supported with FFmpeg 0.9 (Harmony)? Message-ID: From weitzhandler at gmail.com Tue Dec 13 03:34:34 2011 From: weitzhandler at gmail.com (Shimmy Weitzhandler) Date: Tue, 13 Dec 2011 04:34:34 +0200 Subject: [FFmpeg-user] Anyone knows how to use the new AMV encoder supported with FFmpeg 0.9 (Harmony)? In-Reply-To: References: Message-ID: Here are my experiments: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Users\Shimmy\Music\ConversionTests>ffmpeg -i sample.wmv -f amv sample.amv ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 15:34:57 with gcc 4.6.1 configuration: --enable-gpl 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 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from 'sample.wmv': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 11.0.6001.7000 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 title : Wildlife in HD copyright : ?? 2008 Microsoft Corporation comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Mu sic: Steve Ball Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 2 channels, s16, 192 kb/s Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 5942 kb/s, 29.97 tbr, 1k tbn, 1 k tbc [NULL @ 039a7860] Requested output format 'amv' is not a suitable output format sample.amv: Invalid argument ********************************************************************************************************************* D:\Users\Shimmy\Music\ConversionTests>ffmpeg -i sample.wmv -r 16 -vf scale=176:128 -vcodec amv -qmin 3 -qmax 3 -acodec adpcm_ima_amv -ac 1 -ar 22050 -f amv sample.amv ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 15:34:57 with gcc 4.6.1 configuration: --enable-gpl 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 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from 'sample.wmv': Metadata: SfOriginalFPS : 299 WMFSDKVersion : 11.0.6001.7000 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 title : Wildlife in HD copyright : ?? 2008 Microsoft Corporation comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Mu sic: Steve Ball Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 2 channels, s16, 192 kb/s Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 5942 kb/s, 29.97 tbr, 1k tbn, 1 k tbc [NULL @ 01293e00] Requested output format 'amv' is not a suitable output format sample.amv: Invalid argument From de.techno at gmail.com Mon Dec 12 23:52:15 2011 From: de.techno at gmail.com (dE .) Date: Tue, 13 Dec 2011 04:22:15 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE5E7F9.8050303@gmail.com> Message-ID: <4EE6859F.40405@gmail.com> On 12/13/11 04:43, Carl Eugen Hoyos wrote: > dE . gmail.com> writes: > >> I fail to understand why don't you use repos of your Linux distro. > In case of FFmpeg, it is often a very bad idea to use the distro's repository... > > Please cut your quotes and please leave an empty line between the quotes and > your text, that eases reading significantly, thanks, Carl Eugen I still don't understand what you mean... You don't see any vertical lines towards the left and right? > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From belcampo at zonnet.nl Tue Dec 13 08:48:24 2011 From: belcampo at zonnet.nl (belcampo) Date: Tue, 13 Dec 2011 08:48:24 +0100 Subject: [FFmpeg-user] Video quality In-Reply-To: <4EE63F1F.2090402@listingsmagic.com> References: <4EE63F1F.2090402@listingsmagic.com> Message-ID: <4EE70348.2050607@zonnet.nl> On 12/12/2011 06:51 PM, Hans Guth wrote: > I have an flv video that is about 38M and the quality is excellent. When > I try and convert it to SWF which is format I need I can't seem to get a > quality output file. The original file is 1920x1088. I want the output > to be 640x480 but whatever I am doing it's creating a very choppy output > file. > > I have tried all sorts of different settings but if size is set to > 640x480 then I seem to get same/similar results. Note: If I set -sameq > then the swf output seems to get screwed up - i.e. it won't start > playing but gets hung on frame 1? > > Here's one command example. > > /usr/local/bin/ffmpeg -i MOV072.flv -y -s 640x480 -r 30000/1001 -b 200k > -bt 240k MOV072.swf Are you sure the source is 30000/1001 ? What happens if you leave-out "-r 30000/1001" > > Seems stream 0 codec frame rate differs from container frame rate: 59.94 > (2997/50) -> 29.92 (359/12) > Input #0, flv, from 'MOV072.flv': > Duration: 00:00:42.71, start: 0.000000, bitrate: 264 kb/s > Stream #0.0: Video: h264, yuv420p, 1920x1088, 200 kb/s, 29.92 tbr, 1k > tbn, 59.94 tbc > Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s > Output #0, swf, to 'MOV072.swf': > Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, > 29.97 tbc > Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, s16, 64 kb/s > Stream mapping: > Stream #0.0 -> #0.0 > Stream #0.1 -> #0.1 > > Does the "Seems stream 0 codec frame rate" issue have anything to do > with it? Any advice on how to keep the quality level high. > > Thanks > From rawnx2003 at yahoo.com Tue Dec 13 01:56:30 2011 From: rawnx2003 at yahoo.com (carl brown) Date: Mon, 12 Dec 2011 16:56:30 -0800 (PST) Subject: [FFmpeg-user] libxvid not found Message-ID: <1323737790.96428.YahooMailNeo@web113606.mail.gq1.yahoo.com> Hi I'm trying to cross compile ffmpeg on ubuntu 11.10 but i keep getting libxvid not found error any help is greatly appreciated -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: application/octet-stream Size: 160995 bytes Desc: not available URL: From Ross.Alexander at EMEA.NEC.COM Tue Dec 13 10:26:49 2011 From: Ross.Alexander at EMEA.NEC.COM (Ross Alexander) Date: Tue, 13 Dec 2011 09:26:49 +0000 Subject: [FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9 In-Reply-To: <20111212101404.10268fd0@lrcd.com> References: , <20111212101404.10268fd0@lrcd.com> Message-ID: Many thanks Lou, > Please try "-vprofile main". This should be documented better, but I > would prefer "-profile" to apply to video to be more consistent with > x264, and "-aprofile" to apply to audio. That seems to have done the job. I haven't done a full test by modifying my perl script which builds the command line that seems to do the job. Cheers, Ross ________________________________________ From: ffmpeg-user-bounces at ffmpeg.org [ffmpeg-user-bounces at ffmpeg.org] on behalf of Lou [lou at lrcd.com] Sent: 12 December 2011 19:14 To: ffmpeg-user at ffmpeg.org Subject: Re: [FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9 On Mon, 12 Dec 2011 17:25:13 +0000 Ross Alexander wrote: > Hello, > > I've recently updated my ffmpeg from 0.8.7 to 0.9.0 and suffered from > the syntax change to the command line. I can get around the changes > to the -map but it seems that the -profile option is being picked up > by both the libx264 and the libfaac codecs. Below is a copy of the > command line and the resulting output. Please try "-vprofile main". This should be documented better, but I would prefer "-profile" to apply to video to be more consistent with x264, and "-aprofile" to apply to audio. _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user Click https://www.mailcontrol.com/sr/WBgMluuzhUjTndxI!oX7UqpuQnERN3F7eo0CoHj3GWkMD4y34!nE6nVWsae6Oy8Zo6UX7Lt6L8ReTFI5G433hQ== to report this email as spam. From Ross.Alexander at EMEA.NEC.COM Tue Dec 13 10:34:06 2011 From: Ross.Alexander at EMEA.NEC.COM (Ross Alexander) Date: Tue, 13 Dec 2011 09:34:06 +0000 Subject: [FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9 In-Reply-To: References: <20111212101404.10268fd0@lrcd.com>, Message-ID: > Actually "vprofile" does not occur at all in the documentation. > It states that the correct option is "profile". Yep. I foolishly trusted the documentation :-) > Also not quite correct there is the statement that -x264opts > "Allow to set any x264 option". Profile and level cannot be > passed to x264 that way, I think. I tried that and it doesn't work. The ffmpeg people have and are doing a great job so it is rather rude to be picky but it would be nice to have all this tidied up for a 1.0 release. Rather than having codec specific options maybe have some : seperated list so it would be like -o:v profile=main:crf=25 and -o:a ab=128k:profile=ACC_MAIN etc. Cheers for all the help, Ross ________________________________________ From: ffmpeg-user-bounces at ffmpeg.org [ffmpeg-user-bounces at ffmpeg.org] on behalf of Jim Worrall [coniophora at gmail.com] Sent: 12 December 2011 23:26 To: FFmpeg user questions and RTFMs Subject: Re: [FFmpeg-user] Overloaded command line option -profile in ffmpeg-0.9 On Mon, Dec 12, 2011 at 12:14 PM, Lou wrote: > On Mon, 12 Dec 2011 17:25:13 +0000 > Ross Alexander wrote: > > > Hello, > > > > I've recently updated my ffmpeg from 0.8.7 to 0.9.0 and suffered from > > the syntax change to the command line. I can get around the changes > > to the -map but it seems that the -profile option is being picked up > > by both the libx264 and the libfaac codecs. Below is a copy of the > > command line and the resulting output. > > Please try "-vprofile main". This should be documented better, but I > would prefer "-profile" to apply to video to be more consistent with > x264, and "-aprofile" to apply to audio. > Actually "vprofile" does not occur at all in the documentation. It states that the correct option is "profile". Also not quite correct there is the statement that -x264opts "Allow to set any x264 option". Profile and level cannot be passed to x264 that way, I think. Jim _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user Click https://www.mailcontrol.com/sr/s3oBFIEkWqnTndxI!oX7UkEBkbd6cai+nIJx8RaI1VgLJfoNkb!tocjPauZj3vhp9zIKu+P0Bj68ewgPpp7kgg== to report this email as spam. From cehoyos at ag.or.at Tue Dec 13 11:40:52 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 13 Dec 2011 10:40:52 +0000 (UTC) Subject: [FFmpeg-user] Anyone knows how to use the new AMV encoder supported with FFmpeg 0.9 (Harmony)? References: Message-ID: Shimmy Weitzhandler gmail.com> writes: > D:\Users\Shimmy\Music\ConversionTests>ffmpeg -i sample.wmv -r 16 -vf > scale=176:128 -vcodec amv -qmin 3 -qmax 3 -acodec adpcm_ima_amv -ac 1 -ar > 22050 -f amv sample.amv -f avi Carl Eugen From cehoyos at ag.or.at Tue Dec 13 11:46:07 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 13 Dec 2011 10:46:07 +0000 (UTC) Subject: [FFmpeg-user] libxvid not found References: <1323737790.96428.YahooMailNeo@web113606.mail.gq1.yahoo.com> Message-ID: carl brown yahoo.com> writes: > Hi I'm trying to cross compile ffmpeg on ubuntu 11.10 but i keep getting > libxvid not found error any help is greatly appreciated > check_func xvid_global -lxvidcore > check_ld cc -lxvidcore > check_cc > BEGIN /tmp/ffconf.5A0UeVZV.c > 1 extern int xvid_global(); > 2 int main(void){ xvid_global(); } > END /tmp/ffconf.5A0UeVZV.c > i686-w64-mingw32-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -I/home/s/BuildFolder/buildFFmpeg > /external_libs/include -std=c99 -fno-common -fomit-frame-pointer -c -o > /tmp/ffconf.vl0t6MTi.o /tmp/ffconf.5A0UeVZV.c > i686-w64-mingw32-gcc -L/home/s/BuildFolder/buildFFmpeg/external_libs/lib > -Wl,--as-needed -o /tmp/ffconf.yLsjoaus.exe /tmp/ffconf.vl0t6MTi.o -lxvidcore > -lxavs -lx264 -lvpx -lvorbisenc -lvorbis -logg -lvo-amrwbenc -lvo-aacenc > -ltheoraenc -ltheoradec -logg -lspeex -lopenjpeg -lmp3lame -lfaac -lm -lpsapi > -lx264 -lpthread > /tmp/ffconf.vl0t6MTi.o:ffconf.5A0UeVZV.c:(.text+0xc): undefined reference to > `_xvid_global' > collect2: ld returned 1 exit status > ERROR: libxvid not found I suspect your xvid version is too old, xvid_global was added in 2004 (?). Maybe version 1.0 is needed, but that is just a guess. For build problems, it is usually sufficient to post your configure line and the tail of config.log (see above) Carl Eugen From cehoyos at ag.or.at Tue Dec 13 11:54:44 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 13 Dec 2011 10:54:44 +0000 (UTC) Subject: [FFmpeg-user] Adding Subtitle Error References: Message-ID: spider58 gmail.com> writes: > ffmpeg -i d:\myvid.mp4 -i d:\mysub.srt -scopy copy d:\mynewvid.mp4 I don't think we have a mp4 sample containing srt subtitles. Do you have one? Which player plays it? > (Command 2 - ffmpeg crashes and stopping works) Please see http://ffmpeg.org/bugreports.html - crashes are usually important. (I could not reproduce the problem with random srt input.) Generally, please always post complete, uncut console output, it makes understand problems significantly easier / possible at all. Carl Eugen From spider58 at gmail.com Tue Dec 13 13:26:09 2011 From: spider58 at gmail.com (spider58) Date: Tue, 13 Dec 2011 14:26:09 +0200 Subject: [FFmpeg-user] frei0r installed but where is frei0r plugin ? Message-ID: Hello. Im using ffmpeg.exe on windows. i want to to use frei0r plugin with ffmpeg. I seeing --enable-frei0r option when i use ffmpeg -filters command. But i've go an error message after use this command *ffmpeg -i d:\myvid.mp4 -vf "frei0r=glow:0.5" -f flv d:\mynewvid.flv* ERROR is this *No such filter: 'frei0r' Error opening filters!* I'm following your site always for new ffmpeg compiles but all compiles have same problem. Can someone tell me how can i fix this problem. I need this plugin. This is very important for me. Im tried to recompile ffmpeg but got "fei0r.h header not found" error. I don't know how can i install frei0r on windows. Thanks inadvance.... From Ross.Alexander at EMEA.NEC.COM Tue Dec 13 14:18:18 2011 From: Ross.Alexander at EMEA.NEC.COM (Ross Alexander) Date: Tue, 13 Dec 2011 13:18:18 +0000 Subject: [FFmpeg-user] Changes to multiply audio track encoding in FFMPEG-0.9 Message-ID: This isn't a bug report as such but note saying the old method of encoding multiply audio tracks using the -newaudio parameter no longer works. Also the syntax for map has changed since version 0.8.x. Below is an example of converting a VOB rip to AVC/AAC/MP4 with multiple audio streams. Subtitles work the same way with -c:s copy or -c:s dvdsub for examaple. ffmpeg -i NCIS.03.01.KillAriPart1.vob -c:v libx264 -preset fast -tune film -vprofile main -crf 26 -map 0:0 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:2 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:3 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:4 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:5 -threads 8 -f mp4 -y out/NCIS.03.01.KillAriPart1.mp4 Regards, Ross From cehoyos at ag.or.at Tue Dec 13 16:38:31 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 13 Dec 2011 15:38:31 +0000 (UTC) Subject: [FFmpeg-user] Changes to multiply audio track encoding in FFMPEG-0.9 References: Message-ID: Ross Alexander EMEA.NEC.COM> writes: > This isn't a bug report as such but note saying the old method of encoding > multiply audio tracks using the -newaudio parameter no longer works. Also the > syntax for map has changed since version 0.8.x. Correct. If you are a user of FFmpeg, please always use latest git head, it contains more features (and less bugs) than any released version. Carl Eugen From imsaurabhrawat at gmail.com Tue Dec 13 16:38:36 2011 From: imsaurabhrawat at gmail.com (s.rawat) Date: Tue, 13 Dec 2011 21:08:36 +0530 Subject: [FFmpeg-user] Android Media Player playing Streamed Video from the ffmpeg/ffserver combination. Message-ID: Hi, ffplay uses the SDL library for viewing the recorded video.I am creating an android app using both ffmpeg /ffserver to provide the live stream to the Android media player.Is it possible to do feed the live stream to the Android media player.I have googled around and found that RTSP stream is hard to play in the Android using the ffserver/ffmpeg.Plz post your views in this direction. Rgds, Saurabh "..pain is temporary.....quitting lasts forever......" From mike at redtux.org.uk Tue Dec 13 16:58:30 2011 From: mike at redtux.org.uk (Mike Martin) Date: Tue, 13 Dec 2011 15:58:30 +0000 Subject: [FFmpeg-user] Problem creating DVD menu mpeg In-Reply-To: References: <4ED65289.8050409@gmail.com> <4ED7B1B4.1020501@gmail.com> Message-ID: On 2 December 2011 16:45, Mike Martin wrote: >> >> If it works under Linux, I'd like to know... >> > > yep - old version is at burn360.sourceforge.net (just uploaded a fixed rpm) > > I am currently working on a fairly major update (mainly behind the > scenes - not gui) which should be done in about a week For info version 0.9.0 is now available at http://burn360.sourceforge.net From Ross.Alexander at EMEA.NEC.COM Tue Dec 13 17:46:18 2011 From: Ross.Alexander at EMEA.NEC.COM (Ross Alexander) Date: Tue, 13 Dec 2011 16:46:18 +0000 Subject: [FFmpeg-user] Subtitle corruption in FFMPEG-0.9 In-Reply-To: References: <20111212101404.10268fd0@lrcd.com>, Message-ID: I'm not sure if this is an issue with just 0.9 since I've only just started looking at it but when I copy a dvdsub stream it is not copying properly (ffprobe doesn't recognise it and totem completely throws it toys). Look at stream 5 in the output (copied from stream 2 in the input file). mig27 16:09:13$ ffmpeg -i NCIS.03.12.BoxedIn.vob -c:v libx264 -preset fast -tune film -vprofile main -crf 26 -map 0:0 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:11 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:12 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:13 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:14 -c:s copy -map 0:2 -threads 8 -f mp4 -y out/NCIS.03.12.BoxedIn.mp4 ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 10:19:19 with gcc 4.6.2 configuration: --prefix=/usr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-gpl --enable-shared --enable-postproc --enable-libxvid --enable-pthreads --enable-nonfree --enable-libfaac --enable-libschroedinger --enable-libmp3lame 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 [mpeg @ 0x97f3ac0] max_analyze_duration 5000000 reached at 5024000 Input #0, mpeg, from 'NCIS.03.12.BoxedIn.vob': Duration: 00:42:06.33, start: 0.062233, bitrate: 6434 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 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[0x25]: Subtitle: dvd_subtitle Stream #0:7[0x26]: Subtitle: dvd_subtitle Stream #0:8[0x27]: Subtitle: dvd_subtitle Stream #0:9[0x28]: Subtitle: dvd_subtitle Stream #0:10[0x29]: Subtitle: dvd_subtitle Stream #0:11[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:12[0x81]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #0:13[0x82]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s Stream #0:14[0x83]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s [buffer @ 0x9d8e220] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param: [libx264 @ 0x9806040] using SAR=64/45 [libx264 @ 0x9806040] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT [libx264 @ 0x9806040] profile Main, level 3.0 [libx264 @ 0x9806040] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:-1:-1 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=8 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=crf mbtree=1 crf=26.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'out/NCIS.03.12.BoxedIn.mp4': Metadata: encoder : Lavf53.24.0 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 25 tbn, 25 tbc Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, 2 channels, s16, 128 kb/s Stream #0:2: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, 2 channels, s16, 128 kb/s Stream #0:3: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, 2 channels, s16, 128 kb/s Stream #0:4: Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, 2 channels, s16, 128 kb/s Stream #0:5: Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0) Stream mapping: Stream #0:0 -> #0:0 (mpeg2video -> libx264) Stream #0:11 -> #0:1 (ac3 -> libfaac) Stream #0:12 -> #0:2 (ac3 -> libfaac) Stream #0:13 -> #0:3 (ac3 -> libfaac) Stream #0:14 -> #0:4 (ac3 -> libfaac) Stream #0:2 -> #0:5 (copy) Press [q] to stop, [?] for help Input stream #0:11 frame changed from rate:48000 fmt:s16 ch:6 to rate:48000 fmt:s16 ch:2 frame=63160 fps= 51 q=-1.0 Lsize= 298710kB time=00:41:19.48 bitrate= 986.9kbits/s dup=5 drop=0 video:133391kB audio:157817kB global headers:0kB muxing overhead 2.575851% [libx264 @ 0x9806040] frame I:1425 Avg QP:22.66 size: 13544 [libx264 @ 0x9806040] frame P:34602 Avg QP:26.15 size: 2590 [libx264 @ 0x9806040] frame B:27133 Avg QP:27.63 size: 1020 [libx264 @ 0x9806040] consecutive B-frames: 29.9% 32.8% 17.1% 20.3% [libx264 @ 0x9806040] mb I I16..4: 60.7% 0.0% 39.3% [libx264 @ 0x9806040] mb P I16..4: 5.5% 0.0% 1.2% P16..4: 34.2% 5.7% 3.9% 0.0% 0.0% skip:49.6% [libx264 @ 0x9806040] mb B I16..4: 3.1% 0.0% 0.1% B16..8: 17.3% 2.2% 0.1% direct: 7.1% skip:70.3% L0:36.2% L1:59.9% BI: 3.9% [libx264 @ 0x9806040] coded y,uvDC,uvAC intra: 22.7% 52.3% 17.3% inter: 3.4% 14.5% 0.3% [libx264 @ 0x9806040] i16 v,h,dc,p: 56% 17% 10% 17% [libx264 @ 0x9806040] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 16% 25% 5% 5% 6% 4% 5% 3% [libx264 @ 0x9806040] i8c dc,h,v,p: 58% 13% 24% 4% [libx264 @ 0x9806040] Weighted P-Frames: Y:2.8% UV:1.1% [libx264 @ 0x9806040] ref P L0: 73.6% 26.4% [libx264 @ 0x9806040] ref B L0: 79.3% 20.7% [libx264 @ 0x9806040] ref B L1: 96.1% 3.9% [libx264 @ 0x9806040] kb/s:432.53 ffprobe version 0.9, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 12 2011 10:19:19 with gcc 4.6.2 configuration: --prefix=/usr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-gpl --enable-shared --enable-postproc --enable-libxvid --enable-pthreads --enable-nonfree --enable-libfaac --enable-libschroedinger --enable-libmp3lame 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 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8b8dba0] multiple edit list entries, a/v desync might occur, patch welcome Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'NCIS.03.12.BoxedIn.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.24.0 Duration: 00:42:06.40, start: 0.000000, bitrate: 968 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 432 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 1970-01-01 00:00:00 handler_name : VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 127 kb/s Metadata: creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler Stream #0:2(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 127 kb/s Metadata: creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler Stream #0:3(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 127 kb/s Metadata: creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler Stream #0:4(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 127 kb/s Metadata: creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler Stream #0:5(und): Data: none ([224][0][0][0] / 0x00E0) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : Unsupported codec with id 0 for input stream 5 From lbrtchx at gmail.com Tue Dec 13 19:07:57 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Tue, 13 Dec 2011 18:07:57 +0000 Subject: [FFmpeg-user] media files metadata ... In-Reply-To: References: Message-ID: ~ if you use ffprobe's options such as "-show_streams" or "-show_format" ~ ffprobe -unit -show_streams -show_format -loglevel verbose ~ you may get some metadata from the particular file ~ Is there a catch all option to get all the metadata at once, including the metadata you would get from the AVFormatContext AVOptions? ~ Also, and since ffmpeg uses ffprobe underneath for that, I am not sure if my question makes sense or my confusion may relate to my (poor) understanding of the (poor, also?) documentation; what utility dumps more metadata from a media file? ffprobe or ffmpeg? ~ http://ffmpeg.org/ffmpeg.html#Metadata ~ thanks lbrtchx From bostjan.strojan at gmail.com Tue Dec 13 19:21:23 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Tue, 13 Dec 2011 19:21:23 +0100 Subject: [FFmpeg-user] OSX lion, trying to compile from git fails In-Reply-To: References: Message-ID: Actually I'am packing this next to some bash powered droplet, so i assume that 12 core cpu could behave differently than my home quad core? (hence --enable-runtime-cpudetect). Dunno if this is OS related as well? Like Lion vs Snow leopard?. The compilation I do is in RAM disk, so "make install" will copy a binary to a predefined folder only (i think?) The RAM disk is defined as: DISK_ID=$(hdid -nomount ram://26214400) && newfs_hfs -v tempdisk ${DISK_ID} && diskutil mount ${DISK_ID} && SOURCE="/Volumes/tempdisk/sw" && COMPILED="/Volumes/tempdisk/compile" && mkdir ${SOURCE} && mkdir ${COMPILED} && export PATH=${SOURCE}/bin:$PATH Thanks for all the suggestions, iam really glad this worked out. b. On Tue, Dec 13, 2011 at 12:11 AM, Carl Eugen Hoyos wrote: > Bo?tjan Strojan gmail.com> writes: > >> ./configure --prefix=${SOURCE} --enable-gpl --enable-libx264 >> --cc=clang --enable-runtime-cpudetect && make -j 4 && make install > > Do not use "--enable-runtime-cpudetect" (if you are a user), it hurts the > performance of the final executable. > (In case it is needed for the compilation to succeed, please report, that would > be an unknown bug.) > > Carl Eugen > > PS: In case it matters to you: You do not have to install FFmpeg to test it, use > it, whatever (but it of course doesn't hurt). > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From lbrtchx at gmail.com Tue Dec 13 20:54:05 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Tue, 13 Dec 2011 19:54:05 +0000 Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** Message-ID: while using ffprobe: ~ $ ffprobe -version ffprobe version 0.7.1-4:0.7.1-5, Copyright (c) 2007-2011 the Libav developers built on Sep 5 2011 06:22:22 with gcc 4.6.1 configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay libavutil 51. 7. 0 / 51. 7. 0 libavcodec 53. 5. 0 / 53. 5. 0 libavformat 53. 2. 0 / 53. 2. 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 ffprobe 0.7.1-4:0.7.1-5 libavutil 51. 7. 0 / 51. 7. 0 libavcodec 53. 5. 0 / 53. 5. 0 libavformat 53. 2. 0 / 53. 2. 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 ~ on: ~ $ uname -a Linux Microknoppix 3.0.4 #12 SMP PREEMPT Thu Sep 8 05:27:05 CEST 2011 i686 GNU/Linux ~ I -consistently- get that type of error. What is causing it? How could I fix that? ~ thanks lbrtchx ~ *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x6a84a)[0xb68e884a] /lib/i386-linux-gnu/libc.so.6(+0x6c0a8)[0xb68ea0a8] /lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb68ed1ad] /usr/lib/i686/cmov/libavutil.so.51(av_freep+0x12)[0xb6a10152] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe6)[0xb6894e16] ffprobe[0x804a995] ======= Memory map: ======== 08048000-08050000 r-xp 00000000 00:0f 17768 /usr/bin/ffprobe 08050000-08051000 rw-p 00008000 00:0f 17768 /usr/bin/ffprobe 08051000-08099000 rw-p 00000000 00:00 0 [heap] 4167c000-41698000 r-xp 00000000 00:0f 17045 /usr/lib/libopenjpeg-2.1.3.0.so 41698000-41699000 rw-p 0001c000 00:0f 17045 /usr/lib/libopenjpeg-2.1.3.0.so 425ad000-425c7000 r-xp 00000000 00:0f 8697 /usr/lib/sse2/libspeex.so.1.5.0 425c7000-425c8000 rw-p 00019000 00:0f 8697 /usr/lib/sse2/libspeex.so.1.5.0 433c0000-433cc000 r-xp 00000000 00:0f 17041 /usr/lib/libgsm.so.1.0.12 433cc000-433cd000 rw-p 0000b000 00:0f 17041 /usr/lib/libgsm.so.1.0.12 b5a00000-b5a21000 rw-p 00000000 00:00 0 b5a21000-b5b00000 ---p 00000000 00:00 0 b5b59000-b5b5d000 rw-p 00000000 00:00 0 b5b5d000-b5b60000 r-xp 00000000 00:0f 7891 /UNIONFS/lib/libgpg-error.so.0.8.0 b5b60000-b5b61000 rw-p 00002000 00:0f 7891 /UNIONFS/lib/libgpg-error.so.0.8.0 b5b61000-b5b62000 rw-p 00000000 00:00 0 b5b62000-b5b72000 r-xp 00000000 00:0f 7895 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 b5b72000-b5b73000 rw-p 0000f000 00:0f 7895 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 b5b73000-b5b82000 r-xp 00000000 00:0f 7893 /usr/lib/libtasn1.so.3.1.9 b5b82000-b5b83000 rw-p 0000e000 00:0f 7893 /usr/lib/libtasn1.so.3.1.9 b5b83000-b5b87000 r-xp 00000000 00:0f 8090 /usr/lib/libXdmcp.so.6.0.0 b5b87000-b5b88000 rw-p 00003000 00:0f 8090 /usr/lib/libXdmcp.so.6.0.0 b5b88000-b5b8a000 r-xp 00000000 00:0f 8088 /usr/lib/libXau.so.6.0.0 b5b8a000-b5b8b000 rw-p 00001000 00:0f 8088 /usr/lib/libXau.so.6.0.0 b5b8b000-b5c6d000 r-xp 00000000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5c6d000-b5c6e000 ---p 000e2000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5c6e000-b5c72000 r--p 000e2000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5c72000-b5c73000 rw-p 000e6000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5c73000-b5c7b000 rw-p 00000000 00:00 0 b5c7b000-b5c97000 r-xp 00000000 00:0f 8193 /UNIONFS/lib/i386-linux-gnu/libgcc_s.so.1 b5c97000-b5c98000 rw-p 0001b000 00:0f 8193 /UNIONFS/lib/i386-linux-gnu/libgcc_s.so.1 b5c98000-b5cea000 r-xp 00000000 00:0f 17056 /usr/lib/liborc-0.4.so.0.0.0 b5cea000-b5cee000 rw-p 00052000 00:0f 17056 /usr/lib/liborc-0.4.so.0.0.0 b5cee000-b5cf3000 r-xp 00000000 00:0f 8695 /usr/lib/libogg.so.0.7.0 b5cf3000-b5cf4000 rw-p 00004000 00:0f 8695 /usr/lib/libogg.so.0.7.0 b5cf4000-b5d76000 r-xp 00000000 00:0f 7871 /UNIONFS/lib/i386-linux-gnu/libgcrypt.so.11.7.0 b5d76000-b5d79000 rw-p 00081000 00:0f 7871 /UNIONFS/lib/i386-linux-gnu/libgcrypt.so.11.7.0 b5d79000-b5e3a000 r-xp 00000000 00:0f 7874 /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4 b5e3a000-b5e3f000 rw-p 000c0000 00:0f 7874 /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4 b5e3f000-b5e40000 rw-p 00000000 00:00 0 b5e40000-b5e4b000 r-xp 00000000 00:0f 16442 /UNIONFS/lib/libusb-1.0.so.0.0.0 b5e4b000-b5e4c000 rw-p 0000a000 00:0f 16442 /UNIONFS/lib/libusb-1.0.so.0.0.0 b5e4c000-b5e58000 r-xp 00000000 00:0f 18246 /usr/lib/libraw1394.so.11.0.1 b5e58000-b5e59000 rw-p 0000b000 00:0f 18246 /usr/lib/libraw1394.so.11.0.1 b5e59000-b5e60000 r-xp 00000000 00:0f 1019 /UNIONFS/lib/i386-linux-gnu/librt-2.13.so b5e60000-b5e61000 r--p 00006000 00:0f 1019 /UNIONFS/lib/i386-linux-gnu/librt-2.13.so b5e61000-b5e62000 rw-p 00007000 00:0f 1019 /UNIONFS/lib/i386-linux-gnu/librt-2.13.so b5e62000-b5e64000 r-xp 00000000 00:0f 32 /UNIONFS/lib/i386-linux-gnu/libdl-2.13.so b5e64000-b5e65000 r--p 00001000 00:0f 32 /UNIONFS/lib/i386-linux-gnu/libdl-2.13.so b5e65000-b5e66000 rw-p 00002000 00:0f 32 /UNIONFS/lib/i386-linux-gnu/libdl-2.13.so b5e66000-b5e7e000 r-xp 00000000 00:0f 8078 /usr/lib/libxcb.so.1.1.0 b5e7e000-b5e7f000 rw-p 00017000 00:0f 8078 /usr/lib/libxcb.so.1.1.0 b5e7f000-b5e80000 rw-p 00000000 00:00 0 b5e80000-b5e8f000 r-xp 00000000 00:0f 17037 /usr/lib/libva.so.1.0.12 b5e8f000-b5e90000 rw-p 0000e000 00:0f 17037 /usr/lib/libva.so.1.0.12 b5e90000-b5ea8000 rw-p 00000000 00:00 0 b5ea8000-b5f3b000 r-xp 00000000 00:0f 17039 /usr/lib/libdirac_encoder.so.0.1.0 b5f3b000-b5f3d000 rw-p 00093000 00:0f 17039 /usr/lib/libdirac_encoder.so.0.1.0 b5f3d000-b5f3e000 rw-p 00000000 00:00 0 b5f3e000-b5f91000 r-xp 00000000 00:0f 17043 /usr/lib/i386-linux-gnu/libmp3lame.so.0.0.0 b5f91000-b5f93000 rw-p 00052000 00:0f 17043 /usr/lib/i386-linux-gnu/libmp3lame.so.0.0.0 b5f93000-b5fc7000 rw-p 00000000 00:00 0 b5fc7000-b6068000 r-xp 00000000 00:0f 17047 /usr/lib/libschroedinger-1.0.so.0.3.0 b6068000-b606a000 rw-p 000a1000 00:0f 17047 /usr/lib/libschroedinger-1.0.so.0.3.0 b606a000-b606b000 rw-p 00000000 00:00 0 b606b000-b6083000 r-xp 00000000 00:0f 17051 /usr/lib/libtheoradec.so.1.1.4 b6083000-b6084000 rw-p 00017000 00:0f 17051 /usr/lib/libtheoradec.so.1.1.4 b6084000-b60c6000 r-xp 00000000 00:0f 17049 /usr/lib/libtheoraenc.so.1.1.2 b60c6000-b60c7000 rw-p 00041000 00:0f 17049 /usr/lib/libtheoraenc.so.1.1.2 b60c7000-b60ee000 r-xp 00000000 00:0f 8687 /usr/lib/libvorbis.so.0.4.4 b60ee000-b60ef000 rw-p 00026000 00:0f 8687 /usr/lib/libvorbis.so.0.4.4 b60ef000-b60f0000 rw-p 00000000 00:00 0 b60f0000-b6255000 r-xp 00000000 00:0f 8738 /usr/lib/libvorbisenc.so.2.0.7 b6255000-b6266000 rw-p 00165000 00:0f 8738 /usr/lib/libvorbisenc.so.2.0.7 b6266000-b6301000 r-xp 00000000 00:0f 11871 /usr/lib/libvpx.so.0.9.7 b6301000-b6302000 rw-p 0009a000 00:0f 11871 /usr/lib/libvpx.so.0.9.7 b6302000-b630d000 rw-p 00000000 00:00 0 b630d000-b6417000 r-xp 00000000 00:0f 17052 /usr/lib/i686/sse2/libx264.so.116 b6417000-b6418000 rw-p 00109000 00:0f 17052 /usr/lib/i686/sse2/libx264.so.116 b6418000-b6452000 rw-p 00000000 00:00 0 b6452000-b651c000 r-xp 00000000 00:0f 17054 /usr/lib/libxvidcore.so.4.3 b651c000-b6527000 rw-p 000c9000 00:0f 17054 /usr/lib/libxvidcore.so.4.3 b6527000-b6590000 rw-p 00000000 00:00 0 b6590000-b65a0000 r-xp 00000000 00:0f 8190 /UNIONFS/lib/libbz2.so.1.0.4 b65a0000-b65a1000 rw-p 00010000 00:0f 8190 /UNIONFS/lib/libbz2.so.1.0.4 b65a1000-b65a2000 rw-p 00000000 00:00 0 b65a2000-b65b5000 r-xp 00000000 00:0f 46 /usr/lib/libz.so.1.2.3.4 b65b5000-b65b6000 rw-p 00013000 00:0f 46 /usr/lib/libz.so.1.2.3.4 b65b6000-b65cb000 r-xp 00000000 00:0f 18244 /usr/lib/librtmp.so.0 b65cb000-b65cc000 rw-p 00014000 00:0f 18244 /usr/lib/librtmp.so.0 b65cc000-b65fd000 r-xp 00000000 00:0f 18243 /usr/lib/libdc1394.so.22.1.4 b65fd000-b65fe000 rw-p 00030000 00:0f 18243 /usr/lib/libdc1394.so.22.1.4 b65fe000-b663e000 rw-p 00000000 00:00 0 b663e000-b672f000 r-xp 00000000 00:0f 7492 /usr/lib/i386-linux-gnu/libasound.so.2.0.0 b672f000-b6733000 rw-p 000f1000 00:0f 7492 /usr/lib/i386-linux-gnu/libasound.so.2.0.0 b6733000-b6742000 r-xp 00000000 00:0f 17011 /usr/lib/libjack.so.0.0.28 b6742000-b6744000 rw-p 0000e000 00:0f 17011 /usr/lib/libjack.so.0.0.28 b6744000-b674c000 rw-p 00000000 00:00 0 b674c000-b6750000 r-xp 00000000 00:0f 8048 /usr/lib/libXfixes.so.3.1.0 b6750000-b6751000 rw-p 00003000 00:0f 8048 /usr/lib/libXfixes.so.3.1.0 b6751000-b6752000 rw-p 00000000 00:00 0 b6752000-b6760000 r-xp 00000000 00:0f 8065 /usr/lib/libXext.so.6.4.0 b6760000-b6761000 rw-p 0000d000 00:0f 8065 /usr/lib/libXext.so.6.4.0 b6761000-b687a000 r-xp 00000000 00:0f 8042 /usr/lib/libX11.so.6.3.0 b687a000-b687e000 rw-p 00118000 00:0f 8042 /usr/lib/libX11.so.6.3.0 b687e000-b69bc000 r-xp 00000000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b69bc000-b69bd000 ---p 0013e000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b69bd000-b69bf000 r--p 0013e000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b69bf000-b69c0000 rw-p 00140000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b69c0000-b69c3000 rw-p 00000000 00:00 0 b69c3000-b69d8000 r-xp 00000000 00:0f 1021 /UNIONFS/lib/i386-linux-gnu/libpthread-2.13.so b69d8000-b69d9000 r--p 00014000 00:0f 1021 /UNIONFS/lib/i386-linux-gnu/libpthread-2.13.so b69d9000-b69da000 rw-p 00015000 00:0f 1021 /UNIONFS/lib/i386-linux-gnu/libpthread-2.13.so b69da000-b69dc000 rw-p 00000000 00:00 0 b69dc000-b6a00000 r-xp 00000000 00:0f 7490 /UNIONFS/lib/i386-linux-gnu/libm-2.13.so b6a00000-b6a01000 r--p 00023000 00:0f 7490 /UNIONFS/lib/i386-linux-gnu/libm-2.13.so b6a01000-b6a02000 rw-p 00024000 00:0f 7490 /UNIONFS/lib/i386-linux-gnu/libm-2.13.so b6a02000-b6a03000 rw-p 00000000 00:00 0 b6a03000-b6a1f000 r-xp 00000000 00:0f 18241 /usr/lib/i686/cmov/libavutil.so.51.7.0 b6a1f000-b6a20000 rw-p 0001b000 00:0f 18241 /usr/lib/i686/cmov/libavutil.so.51.7.0 b6a20000-b6a24000 rw-p 00000000 00:00 0 b6a24000-b6a62000 r-xp 00000000 00:0f 18239 /usr/lib/i686/cmov/libswscale.so.2.0.0 b6a62000-b6a63000 rw-p 0003d000 00:0f 18239 /usr/lib/i686/cmov/libswscale.so.2.0.0 b6a63000-b6a89000 r-xp 00000000 00:0f 18237 /usr/lib/i686/cmov/libpostproc.so.52.0.0 b6a89000-b6a8a000 rw-p 00026000 00:0f 18237 /usr/lib/i686/cmov/libpostproc.so.52.0.0 b6a8a000-b708e000 r-xp 00000000 00:0f 18235 /usr/lib/i686/cmov/libavcodec.so.53.5.0 b708e000-b709a000 rw-p 00603000 00:0f 18235 /usr/lib/i686/cmov/libavcodec.so.53.5.0 b709a000-b75ec000 rw-p 00000000 00:00 0 b75ec000-b76e4000 r-xp 00000000 00:0f 18233 /usr/lib/i686/cmov/libavformat.so.53.2.0 b76e4000-b76eb000 rw-p 000f8000 00:0f 18233 /usr/lib/i686/cmov/libavformat.so.53.2.0 b76eb000-b76ec000 rw-p 00000000 00:00 0 b76ec000-b7709000 r-xp 00000000 00:0f 18231 /usr/lib/i686/cmov/libavfilter.so.2.4.0 b7709000-b770c000 rw-p 0001c000 00:0f 18231 /usr/lib/i686/cmov/libavfilter.so.2.4.0 b770c000-b7718000 r-xp 00000000 00:0f 18229 /usr/lib/i686/cmov/libavdevice.so.53.0.0 b7718000-b7719000 rw-p 0000b000 00:0f 18229 /usr/lib/i686/cmov/libavdevice.so.53.0.0 b7738000-b773b000 rw-p 00000000 00:00 0 b773b000-b7756000 r-xp 00000000 00:0f 25 /UNIONFS/lib/i386-linux-gnu/ld-2.13.so b7756000-b7757000 r--p 0001b000 00:0f 25 /UNIONFS/lib/i386-linux-gnu/ld-2.13.so b7757000-b7758000 rw-p 0001c000 00:0f 25 /UNIONFS/lib/i386-linux-gnu/ld-2.13.so bf885000-bf8a6000 rw-p 00000000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0807cd90 *** ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x6a84a)[0xb6a4084a] /lib/i386-linux-gnu/libc.so.6(+0x6c0a8)[0xb6a420a8] /lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb6a451ad] /usr/lib/i686/cmov/libavutil.so.51(av_freep+0x12)[0xb6b68152] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe6)[0xb69ece16] ffprobe[0x804a995] ======= Memory map: ======== 08048000-08050000 r-xp 00000000 00:0f 17768 /usr/bin/ffprobe 08050000-08051000 rw-p 00008000 00:0f 17768 /usr/bin/ffprobe 08051000-080c4000 rw-p 00000000 00:00 0 [heap] 4167c000-41698000 r-xp 00000000 00:0f 17045 /usr/lib/libopenjpeg-2.1.3.0.so 41698000-41699000 rw-p 0001c000 00:0f 17045 /usr/lib/libopenjpeg-2.1.3.0.so 425ad000-425c7000 r-xp 00000000 00:0f 8697 /usr/lib/sse2/libspeex.so.1.5.0 425c7000-425c8000 rw-p 00019000 00:0f 8697 /usr/lib/sse2/libspeex.so.1.5.0 433c0000-433cc000 r-xp 00000000 00:0f 17041 /usr/lib/libgsm.so.1.0.12 433cc000-433cd000 rw-p 0000b000 00:0f 17041 /usr/lib/libgsm.so.1.0.12 b5b00000-b5b21000 rw-p 00000000 00:00 0 b5b21000-b5c00000 ---p 00000000 00:00 0 b5cb1000-b5cb5000 rw-p 00000000 00:00 0 b5cb5000-b5cb8000 r-xp 00000000 00:0f 7891 /UNIONFS/lib/libgpg-error.so.0.8.0 b5cb8000-b5cb9000 rw-p 00002000 00:0f 7891 /UNIONFS/lib/libgpg-error.so.0.8.0 b5cb9000-b5cba000 rw-p 00000000 00:00 0 b5cba000-b5cca000 r-xp 00000000 00:0f 7895 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 b5cca000-b5ccb000 rw-p 0000f000 00:0f 7895 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 b5ccb000-b5cda000 r-xp 00000000 00:0f 7893 /usr/lib/libtasn1.so.3.1.9 b5cda000-b5cdb000 rw-p 0000e000 00:0f 7893 /usr/lib/libtasn1.so.3.1.9 b5cdb000-b5cdf000 r-xp 00000000 00:0f 8090 /usr/lib/libXdmcp.so.6.0.0 b5cdf000-b5ce0000 rw-p 00003000 00:0f 8090 /usr/lib/libXdmcp.so.6.0.0 b5ce0000-b5ce2000 r-xp 00000000 00:0f 8088 /usr/lib/libXau.so.6.0.0 b5ce2000-b5ce3000 rw-p 00001000 00:0f 8088 /usr/lib/libXau.so.6.0.0 b5ce3000-b5dc5000 r-xp 00000000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5dc5000-b5dc6000 ---p 000e2000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5dc6000-b5dca000 r--p 000e2000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5dca000-b5dcb000 rw-p 000e6000 00:0f 8300 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 b5dcb000-b5dd3000 rw-p 00000000 00:00 0 b5dd3000-b5def000 r-xp 00000000 00:0f 8193 /UNIONFS/lib/i386-linux-gnu/libgcc_s.so.1 b5def000-b5df0000 rw-p 0001b000 00:0f 8193 /UNIONFS/lib/i386-linux-gnu/libgcc_s.so.1 b5df0000-b5e42000 r-xp 00000000 00:0f 17056 /usr/lib/liborc-0.4.so.0.0.0 b5e42000-b5e46000 rw-p 00052000 00:0f 17056 /usr/lib/liborc-0.4.so.0.0.0 b5e46000-b5e4b000 r-xp 00000000 00:0f 8695 /usr/lib/libogg.so.0.7.0 b5e4b000-b5e4c000 rw-p 00004000 00:0f 8695 /usr/lib/libogg.so.0.7.0 b5e4c000-b5ece000 r-xp 00000000 00:0f 7871 /UNIONFS/lib/i386-linux-gnu/libgcrypt.so.11.7.0 b5ece000-b5ed1000 rw-p 00081000 00:0f 7871 /UNIONFS/lib/i386-linux-gnu/libgcrypt.so.11.7.0 b5ed1000-b5f92000 r-xp 00000000 00:0f 7874 /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4 b5f92000-b5f97000 rw-p 000c0000 00:0f 7874 /usr/lib/i386-linux-gnu/libgnutls.so.26.21.4 b5f97000-b5f98000 rw-p 00000000 00:00 0 b5f98000-b5fa3000 r-xp 00000000 00:0f 16442 /UNIONFS/lib/libusb-1.0.so.0.0.0 b5fa3000-b5fa4000 rw-p 0000a000 00:0f 16442 /UNIONFS/lib/libusb-1.0.so.0.0.0 b5fa4000-b5fb0000 r-xp 00000000 00:0f 18246 /usr/lib/libraw1394.so.11.0.1 b5fb0000-b5fb1000 rw-p 0000b000 00:0f 18246 /usr/lib/libraw1394.so.11.0.1 b5fb1000-b5fb8000 r-xp 00000000 00:0f 1019 /UNIONFS/lib/i386-linux-gnu/librt-2.13.so b5fb8000-b5fb9000 r--p 00006000 00:0f 1019 /UNIONFS/lib/i386-linux-gnu/librt-2.13.so b5fb9000-b5fba000 rw-p 00007000 00:0f 1019 /UNIONFS/lib/i386-linux-gnu/librt-2.13.so b5fba000-b5fbc000 r-xp 00000000 00:0f 32 /UNIONFS/lib/i386-linux-gnu/libdl-2.13.so b5fbc000-b5fbd000 r--p 00001000 00:0f 32 /UNIONFS/lib/i386-linux-gnu/libdl-2.13.so b5fbd000-b5fbe000 rw-p 00002000 00:0f 32 /UNIONFS/lib/i386-linux-gnu/libdl-2.13.so b5fbe000-b5fd6000 r-xp 00000000 00:0f 8078 /usr/lib/libxcb.so.1.1.0 b5fd6000-b5fd7000 rw-p 00017000 00:0f 8078 /usr/lib/libxcb.so.1.1.0 b5fd7000-b5fd8000 rw-p 00000000 00:00 0 b5fd8000-b5fe7000 r-xp 00000000 00:0f 17037 /usr/lib/libva.so.1.0.12 b5fe7000-b5fe8000 rw-p 0000e000 00:0f 17037 /usr/lib/libva.so.1.0.12 b5fe8000-b6000000 rw-p 00000000 00:00 0 b6000000-b6093000 r-xp 00000000 00:0f 17039 /usr/lib/libdirac_encoder.so.0.1.0 b6093000-b6095000 rw-p 00093000 00:0f 17039 /usr/lib/libdirac_encoder.so.0.1.0 b6095000-b6096000 rw-p 00000000 00:00 0 b6096000-b60e9000 r-xp 00000000 00:0f 17043 /usr/lib/i386-linux-gnu/libmp3lame.so.0.0.0 b60e9000-b60eb000 rw-p 00052000 00:0f 17043 /usr/lib/i386-linux-gnu/libmp3lame.so.0.0.0 b60eb000-b611f000 rw-p 00000000 00:00 0 b611f000-b61c0000 r-xp 00000000 00:0f 17047 /usr/lib/libschroedinger-1.0.so.0.3.0 b61c0000-b61c2000 rw-p 000a1000 00:0f 17047 /usr/lib/libschroedinger-1.0.so.0.3.0 b61c2000-b61c3000 rw-p 00000000 00:00 0 b61c3000-b61db000 r-xp 00000000 00:0f 17051 /usr/lib/libtheoradec.so.1.1.4 b61db000-b61dc000 rw-p 00017000 00:0f 17051 /usr/lib/libtheoradec.so.1.1.4 b61dc000-b621e000 r-xp 00000000 00:0f 17049 /usr/lib/libtheoraenc.so.1.1.2 b621e000-b621f000 rw-p 00041000 00:0f 17049 /usr/lib/libtheoraenc.so.1.1.2 b621f000-b6246000 r-xp 00000000 00:0f 8687 /usr/lib/libvorbis.so.0.4.4 b6246000-b6247000 rw-p 00026000 00:0f 8687 /usr/lib/libvorbis.so.0.4.4 b6247000-b6248000 rw-p 00000000 00:00 0 b6248000-b63ad000 r-xp 00000000 00:0f 8738 /usr/lib/libvorbisenc.so.2.0.7 b63ad000-b63be000 rw-p 00165000 00:0f 8738 /usr/lib/libvorbisenc.so.2.0.7 b63be000-b6459000 r-xp 00000000 00:0f 11871 /usr/lib/libvpx.so.0.9.7 b6459000-b645a000 rw-p 0009a000 00:0f 11871 /usr/lib/libvpx.so.0.9.7 b645a000-b6465000 rw-p 00000000 00:00 0 b6465000-b656f000 r-xp 00000000 00:0f 17052 /usr/lib/i686/sse2/libx264.so.116 b656f000-b6570000 rw-p 00109000 00:0f 17052 /usr/lib/i686/sse2/libx264.so.116 b6570000-b65aa000 rw-p 00000000 00:00 0 b65aa000-b6674000 r-xp 00000000 00:0f 17054 /usr/lib/libxvidcore.so.4.3 b6674000-b667f000 rw-p 000c9000 00:0f 17054 /usr/lib/libxvidcore.so.4.3 b667f000-b66e8000 rw-p 00000000 00:00 0 b66e8000-b66f8000 r-xp 00000000 00:0f 8190 /UNIONFS/lib/libbz2.so.1.0.4 b66f8000-b66f9000 rw-p 00010000 00:0f 8190 /UNIONFS/lib/libbz2.so.1.0.4 b66f9000-b66fa000 rw-p 00000000 00:00 0 b66fa000-b670d000 r-xp 00000000 00:0f 46 /usr/lib/libz.so.1.2.3.4 b670d000-b670e000 rw-p 00013000 00:0f 46 /usr/lib/libz.so.1.2.3.4 b670e000-b6723000 r-xp 00000000 00:0f 18244 /usr/lib/librtmp.so.0 b6723000-b6724000 rw-p 00014000 00:0f 18244 /usr/lib/librtmp.so.0 b6724000-b6755000 r-xp 00000000 00:0f 18243 /usr/lib/libdc1394.so.22.1.4 b6755000-b6756000 rw-p 00030000 00:0f 18243 /usr/lib/libdc1394.so.22.1.4 b6756000-b6796000 rw-p 00000000 00:00 0 b6796000-b6887000 r-xp 00000000 00:0f 7492 /usr/lib/i386-linux-gnu/libasound.so.2.0.0 b6887000-b688b000 rw-p 000f1000 00:0f 7492 /usr/lib/i386-linux-gnu/libasound.so.2.0.0 b688b000-b689a000 r-xp 00000000 00:0f 17011 /usr/lib/libjack.so.0.0.28 b689a000-b689c000 rw-p 0000e000 00:0f 17011 /usr/lib/libjack.so.0.0.28 b689c000-b68a4000 rw-p 00000000 00:00 0 b68a4000-b68a8000 r-xp 00000000 00:0f 8048 /usr/lib/libXfixes.so.3.1.0 b68a8000-b68a9000 rw-p 00003000 00:0f 8048 /usr/lib/libXfixes.so.3.1.0 b68a9000-b68aa000 rw-p 00000000 00:00 0 b68aa000-b68b8000 r-xp 00000000 00:0f 8065 /usr/lib/libXext.so.6.4.0 b68b8000-b68b9000 rw-p 0000d000 00:0f 8065 /usr/lib/libXext.so.6.4.0 b68b9000-b69d2000 r-xp 00000000 00:0f 8042 /usr/lib/libX11.so.6.3.0 b69d2000-b69d6000 rw-p 00118000 00:0f 8042 /usr/lib/libX11.so.6.3.0 b69d6000-b6b14000 r-xp 00000000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b6b14000-b6b15000 ---p 0013e000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b6b15000-b6b17000 r--p 0013e000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b6b17000-b6b18000 rw-p 00140000 00:0f 30 /UNIONFS/lib/i386-linux-gnu/libc-2.13.so b6b18000-b6b1b000 rw-p 00000000 00:00 0 b6b1b000-b6b30000 r-xp 00000000 00:0f 1021 /UNIONFS/lib/i386-linux-gnu/libpthread-2.13.so b6b30000-b6b31000 r--p 00014000 00:0f 1021 /UNIONFS/lib/i386-linux-gnu/libpthread-2.13.so b6b31000-b6b32000 rw-p 00015000 00:0f 1021 /UNIONFS/lib/i386-linux-gnu/libpthread-2.13.so b6b32000-b6b34000 rw-p 00000000 00:00 0 b6b34000-b6b58000 r-xp 00000000 00:0f 7490 /UNIONFS/lib/i386-linux-gnu/libm-2.13.so b6b58000-b6b59000 r--p 00023000 00:0f 7490 /UNIONFS/lib/i386-linux-gnu/libm-2.13.so b6b59000-b6b5a000 rw-p 00024000 00:0f 7490 /UNIONFS/lib/i386-linux-gnu/libm-2.13.so b6b5a000-b6b5b000 rw-p 00000000 00:00 0 b6b5b000-b6b77000 r-xp 00000000 00:0f 18241 /usr/lib/i686/cmov/libavutil.so.51.7.0 b6b77000-b6b78000 rw-p 0001b000 00:0f 18241 /usr/lib/i686/cmov/libavutil.so.51.7.0 b6b78000-b6b7c000 rw-p 00000000 00:00 0 b6b7c000-b6bba000 r-xp 00000000 00:0f 18239 /usr/lib/i686/cmov/libswscale.so.2.0.0 b6bba000-b6bbb000 rw-p 0003d000 00:0f 18239 /usr/lib/i686/cmov/libswscale.so.2.0.0 b6bbb000-b6be1000 r-xp 00000000 00:0f 18237 /usr/lib/i686/cmov/libpostproc.so.52.0.0 b6be1000-b6be2000 rw-p 00026000 00:0f 18237 /usr/lib/i686/cmov/libpostproc.so.52.0.0 b6be2000-b71e6000 r-xp 00000000 00:0f 18235 /usr/lib/i686/cmov/libavcodec.so.53.5.0 b71e6000-b71f2000 rw-p 00603000 00:0f 18235 /usr/lib/i686/cmov/libavcodec.so.53.5.0 b71f2000-b7744000 rw-p 00000000 00:00 0 b7744000-b783c000 r-xp 00000000 00:0f 18233 /usr/lib/i686/cmov/libavformat.so.53.2.0 b783c000-b7843000 rw-p 000f8000 00:0f 18233 /usr/lib/i686/cmov/libavformat.so.53.2.0 b7843000-b7844000 rw-p 00000000 00:00 0 b7844000-b7861000 r-xp 00000000 00:0f 18231 /usr/lib/i686/cmov/libavfilter.so.2.4.0 b7861000-b7864000 rw-p 0001c000 00:0f 18231 /usr/lib/i686/cmov/libavfilter.so.2.4.0 b7864000-b7870000 r-xp 00000000 00:0f 18229 /usr/lib/i686/cmov/libavdevice.so.53.0.0 b7870000-b7871000 rw-p 0000b000 00:0f 18229 /usr/lib/i686/cmov/libavdevice.so.53.0.0 b7890000-b7893000 rw-p 00000000 00:00 0 b7893000-b78ae000 r-xp 00000000 00:0f 25 /UNIONFS/lib/i386-linux-gnu/ld-2.13.so b78ae000-b78af000 r--p 0001b000 00:0f 25 /UNIONFS/lib/i386-linux-gnu/ld-2.13.so b78af000-b78b0000 rw-p 0001c000 00:0f 25 /UNIONFS/lib/i386-linux-gnu/ld-2.13.so bfb84000-bfba5000 rw-p 00000000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] ~ From weitzhandler at gmail.com Wed Dec 14 00:42:22 2011 From: weitzhandler at gmail.com (Shimmy Weitzhandler) Date: Wed, 14 Dec 2011 01:42:22 +0200 Subject: [FFmpeg-user] Anyone knows how to use the new AMV encoder supported with FFmpeg 0.9 (Harmony)? In-Reply-To: References: Message-ID: The problem is that the adpcm_ima_amv format doesn't have an encoder in FFmpeg. I wish I would know C, I would then take the adpcm_ima_amv encoder from the amv-codec-tools project and patch it to the FFmpeg. Perhaps, if you're a C programmer you can do this in 5 minutes... I tried -f avi but it complained that adpcm_ima_amv isn't supported and my hardware needs this format, nothing else :( From cehoyos at ag.or.at Wed Dec 14 00:56:16 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 13 Dec 2011 23:56:16 +0000 (UTC) Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** References: Message-ID: Albretch Mueller gmail.com> writes: > $ ffprobe -version > ffprobe version 0.7.1-4:0.7.1-5, Copyright (c) 2007-2011 the Libav developers This is a broken and unsupported version of FFmpeg. Please see http://ffmpeg.org/download.html for supported versions. For users, using current git head is strongly recommended. Carl Eugen From lou at lrcd.com Wed Dec 14 00:56:23 2011 From: lou at lrcd.com (Lou) Date: Tue, 13 Dec 2011 14:56:23 -0900 Subject: [FFmpeg-user] Anyone knows how to use the new AMV encoder supported with FFmpeg 0.9 (Harmony)? In-Reply-To: References: Message-ID: <20111213145623.72b0de3c@lrcd.com> On Wed, 14 Dec 2011 01:42:22 +0200 Shimmy Weitzhandler wrote: > The problem is that the adpcm_ima_amv format doesn't have an encoder > in FFmpeg. > > I wish I would know C, I would then take the adpcm_ima_amv encoder > from the amv-codec-tools > project and patch it to the FFmpeg. Perhaps, if you're a C programmer > you can do this in 5 minutes... > > I tried -f avi but it complained that adpcm_ima_amv isn't supported > and my hardware needs this format, nothing else :( You can submit a feature request on the FFmpeg Bug Tracker: https://ffmpeg.org/trac/ffmpeg/ You could also offer a bounty to possibly give more incentive to get this included. From cehoyos at ag.or.at Wed Dec 14 01:15:54 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 00:15:54 +0000 (UTC) Subject: [FFmpeg-user] Subtitle corruption in FFMPEG-0.9 References: <20111212101404.10268fd0@lrcd.com>, Message-ID: Ross Alexander EMEA.NEC.COM> writes: > I'm not sure if this is an issue with just 0.9 since I've only just started > looking at it but when I copy a dvdsub stream it is not copying properly I don't think this has ever worked, or do you believe this is a regression? Carl Eugen From alexvd at hotmail.fr Wed Dec 14 01:23:16 2011 From: alexvd at hotmail.fr (Alex VD) Date: Wed, 14 Dec 2011 01:23:16 +0100 Subject: [FFmpeg-user] Configure the LAME Encoder Message-ID: Hello everyone, I'm trying to encode in mp3 format with the LAME encoder in FFmpeg, but I would like to configure the stereo mode (Stereo, Joint Stereo, etc.). But after some long researches, i didn't found a way to do that! Thanks for any help! Alex (PS: sorry if my English is not very good, I'm French.) From cehoyos at ag.or.at Wed Dec 14 02:33:54 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 01:33:54 +0000 (UTC) Subject: [FFmpeg-user] Configure the LAME Encoder References: Message-ID: Alex VD hotmail.fr> writes: > I'm trying to encode in mp3 format with the LAME encoder in FFmpeg, > but I would like to configure the stereo mode (Stereo, Joint Stereo, > etc.). FFmpeg currently only supports Joint Stereo and Mono when encoding with lame. (What else do you need?) Carl Eugen From arissirajawali at gmail.com Wed Dec 14 04:16:07 2011 From: arissirajawali at gmail.com (aris sirajawali) Date: Wed, 14 Dec 2011 10:16:07 +0700 Subject: [FFmpeg-user] file for preset 'iphone' not found In-Reply-To: References: Message-ID: thank you very much for answering my question .. how can I see that I already have ffmpeg file ffmpeg presets iphone and if I do not have a preset file iphone how can i get the iphone preset file. thank you JIM 2011/12/7 Jim Worrall > > On Dec 7, 2011, at 4:35 AM, aris sirajawali wrote: > > > I try to encode video for iphone with this command > > > > ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 480x272 -aspect 16:9 -r > > 24 -vcodec libx264 -pass 2 -b 448k -maxrate 752k -bufsize 1504k -g 24 > -vpre > > iphone -f mp4 -acodec libfaac -ac 2 -ar 44100 -ab 96k 01-iPhone.mp4 > > > > but why this error occurs as *files for 'iphone' not found*. > > what causes a message like the above? > > Please fellow friends can help me > > thank you > > > Generally they like you to include the full, unmodified output > including the error. But I can guess the reason for the error is, > you may not have the preset file that you specified with > "-vpre iphone". > > Jim > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From arissirajawali at gmail.com Wed Dec 14 04:19:49 2011 From: arissirajawali at gmail.com (aris sirajawali) Date: Wed, 14 Dec 2011 10:19:49 +0700 Subject: [FFmpeg-user] file for preset 'iphone' not found In-Reply-To: <20111207091851.5d494e5a@lrcd.com> References: <20111207091851.5d494e5a@lrcd.com> Message-ID: thank you very much for answering my question .. whether by using preset file Current iPod presets are "ipod320" and "ipod640 " It can run on the iphone ..? thank you Lou. 2011/12/8 Lou > On Wed, 7 Dec 2011 18:35:46 +0700 > aris sirajawali wrote: > > > I try to encode video for iphone with this command > > > > ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 480x272 -aspect > > 16:9 -r 24 -vcodec libx264 -pass 2 -b 448k -maxrate 752k -bufsize > > 1504k -g 24 -vpre iphone -f mp4 -acodec libfaac -ac 2 -ar 44100 -ab > > 96k 01-iPhone.mp4 > > > > but why this error occurs as *files for 'iphone' not found*. > > what causes a message like the above? > > Please fellow friends can help me > > thank you > > Current iPod presets are "ipod320" and "ipod640". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From 13760746839 at 163.com Wed Dec 14 05:02:03 2011 From: 13760746839 at 163.com (=?GBK?B?0KSyqA==?=) Date: Wed, 14 Dec 2011 12:02:03 +0800 (CST) Subject: [FFmpeg-user] Problem with decoding of MXF files Message-ID: <147ac065.1b930.1343abbf430.Coremail.13760746839@163.com> As I tested,for the latest ffmpeg builds of windows version(FFmpeg git-7d531e8 32-bit Static).It have problems decoding MXF file encoded by Mainconcept, and the previous version is OK When test with ffplay,it resulted the following errors: [mxf @ 034F1B60] invalid KAGSize 0 - guessing 1 [mxf @ 034F1B60] invalid KAGSize 0 - guessing 1 [mxf @ 034F1B60] index entry 380 + TemporalOffset1 = 381,which is out of bounds Please see the sample file at: http://www.datafilehost.com/download-b080b6a2.html From de.techno at gmail.com Wed Dec 14 00:52:28 2011 From: de.techno at gmail.com (dE .) Date: Wed, 14 Dec 2011 05:22:28 +0530 Subject: [FFmpeg-user] Configure the LAME Encoder In-Reply-To: References: Message-ID: <4EE7E53C.80908@gmail.com> On 12/14/11 07:03, Carl Eugen Hoyos wrote: > Alex VD hotmail.fr> writes: > >> I'm trying to encode in mp3 format with the LAME encoder in FFmpeg, >> but I would like to configure the stereo mode (Stereo, Joint Stereo, >> etc.). > FFmpeg currently only supports Joint Stereo and Mono when encoding with lame. > (What else do you need?) > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user As an alternative, you may use lame directly, or if you want this in a video, you can first convert to mp3 using lame, then use ffmpeg (-acodec copy) to fit it all to a container. From alexvd at hotmail.fr Wed Dec 14 11:02:38 2011 From: alexvd at hotmail.fr (Alex VD) Date: Wed, 14 Dec 2011 11:02:38 +0100 Subject: [FFmpeg-user] Configure the LAME Encoder In-Reply-To: <4EE7E53C.80908@gmail.com> References: , , <4EE7E53C.80908@gmail.com> Message-ID: > Date: Wed, 14 Dec 2011 05:22:28 +0530 > From: de.techno at gmail.com > To: ffmpeg-user at ffmpeg.org > Subject: Re: [FFmpeg-user] Configure the LAME Encoder > > On 12/14/11 07:03, Carl Eugen Hoyos wrote: > > Alex VD hotmail.fr> writes: > > > >> I'm trying to encode in mp3 format with the LAME encoder in FFmpeg, > >> but I would like to configure the stereo mode (Stereo, Joint Stereo, > >> etc.). > > FFmpeg currently only supports Joint Stereo and Mono when encoding with lame. > > (What else do you need?) > > > > Carl Eugen > > > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > As an alternative, you may use lame directly, or if you want this in a > video, you can first convert to mp3 using lame, then use ffmpeg (-acodec > copy) to fit it all to a container. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Thank you for your answers, I think I'll use your alternative dE. Carl, in fact I would like to encode in Stereo, not in Joint Stereo. You said only Joint Stereo and Mono are supported, but how the choice between this two modes is done? Is it automatically with the number of channels detected? (So what happens if we encode 6 channels (5.1) in mp3?) Alex From cehoyos at ag.or.at Wed Dec 14 11:13:14 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 10:13:14 +0000 (UTC) Subject: [FFmpeg-user] Configure the LAME Encoder References: , , <4EE7E53C.80908@gmail.com> Message-ID: Alex VD hotmail.fr> writes: > > >> I'm trying to encode in mp3 format with the LAME encoder in FFmpeg, > > >> but I would like to configure the stereo mode (Stereo, Joint Stereo, > > >> etc.). > > > > > > FFmpeg currently only supports Joint Stereo and Mono when encoding with > > > lame. (What else do you need?) > Carl, in fact I would like to encode in Stereo, not in Joint Stereo. I believe it is not very difficult to (also) support Stereo, but a reason for such a patch would be nice;-) (From a quick look, it seems all lame experts strongly suggest not to use Stereo, but the default Joint Stereo.) > You said only Joint Stereo and Mono are supported, but how the > choice between this two modes is done? Is it automatically with > the number of channels detected? (s/detected/requested) Correct. > (So what happens if we encode 6 channels (5.1) in mp3?) lame only supports mono and stereo. Carl Eugen From cehoyos at ag.or.at Wed Dec 14 11:45:15 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 10:45:15 +0000 (UTC) Subject: [FFmpeg-user] Problem with decoding of MXF files References: <147ac065.1b930.1343abbf430.Coremail.13760746839@163.com> Message-ID: ?? <13760746839 163.com> writes: > When test with ffplay,it resulted the following errors: > [mxf @ 034F1B60] invalid KAGSize 0 - guessing 1 > [mxf @ 034F1B60] invalid KAGSize 0 - guessing 1 > [mxf @ 034F1B60] index entry 380 + TemporalOffset1 = 381,which is out of bounds This is now ticket #746, feel free to add yourself to CC. https://ffmpeg.org/trac/ffmpeg/attachment/ticket/746/ For future reports, please always add complete, uncut console output, it usually makes identifying the problem much easier. Thank you for the sample, Carl Eugen From cehoyos at ag.or.at Wed Dec 14 12:29:24 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 11:29:24 +0000 (UTC) Subject: [FFmpeg-user] OSX lion, trying to compile from git fails References: Message-ID: Bo?tjan Strojan gmail.com> writes: > Actually I'am packing this next to some bash powered droplet, so i > assume that 12 core cpu could behave differently than my home quad > core? (hence --enable-runtime-cpudetect). It is required if not all CPUs support AVX. (It should be completely unrelated to the OS.) Carl Eugen From cehoyos at ag.or.at Wed Dec 14 12:37:13 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 11:37:13 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg issue References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <20111212034636.GA6776@skamandros.andrews-corner.org> <4EE61C3B.2060702@eserre.com> Message-ID: Jose Luis Rivas eserre.com> writes: > 1) Install ffmpeg from Debian repositories. If you use synaptic (which > must people use if they want to click and install) you just click on > ffmpeg and installs it. But that's a fork, not FFmpeg but LibAV. Yes, this unfortunately installs an intentionally broken version of FFmpeg;-( Carl Eugen From cehoyos at ag.or.at Wed Dec 14 12:39:12 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 11:39:12 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg issue References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <4EE3E3B0.7080902@turmel.org> <4EE3EA5B.9060905@turmel.org> <4EE3F846.7040407@turmel.org> <4EE4021A.9000007@thelounge.net> <4EE4471E.5020407@thelounge.net> <4EE4AA57.4080000@thelounge.net> <4EE4BF1B.4070709@thelounge.net> <4EE5E7F9.8050303@gmail.com> <4EE6859F.40405@gmail.com> Message-ID: dE . gmail.com> writes: > > Please cut your quotes and please leave an empty line between the quotes and > > your text, that eases reading significantly, thanks, Carl Eugen > > I still don't understand what you mean... You don't see any vertical > lines towards the left and right? No: http://lists.ffmpeg.org/pipermail/ffmpeg-user/2011-December/003779.html http://thread.gmane.org/gmane.comp.video.ffmpeg.user/34166/focus=34304 http://ffmpeg-users.933282.n4.nabble.com/ffmpeg-issue-tp4181189p4188775.html The empty line above is good (it makes reading your mail significantly easier), now please cut the mail footer of the mail you replied to: > > > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Thank you, Carl Eugen From werner.robitza at gmail.com Wed Dec 14 13:00:53 2011 From: werner.robitza at gmail.com (Werner Robitza) Date: Wed, 14 Dec 2011 13:00:53 +0100 Subject: [FFmpeg-user] Is decoding Apple Component Video YUV422 possible with FFmpeg? In-Reply-To: References: Message-ID: > > Please provide a sample (preferably one where it is clear how it should > look > like, including actual colours). > Here is a 55MB sample file, encoded using MPEG Streamclip and selecting the Apple Component Video YUV422 codec. The codec is wrapped in an AVI container. http://www.ani.univie.ac.at/~cacmtv/homepage/videos/apple-component-test.avi This is how the first frame (roughly) should look like: http://www.ani.univie.ac.at/~cacmtv/homepage/videos/apple-component-test.png For future reports: Please always provide the complete, uncut console > output (in > one piece) together with the command line, if it is cut (or sliced), the > analysis of the problem is usually much, much harder. > Here, again, an uncut version of the console output, trying to convert the video. This time, I used a more recent version of FFmpeg. ============================= user at test2:~$ ffmpeg -i apple-component-test.avi test.mp4 ffmpeg version git-2011-11-29-fc09bf5, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 29 2011 13:51:49 with gcc 4.4.3 configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab libavutil 51. 29. 1 / 51. 29. 1 libavcodec 53. 39. 1 / 53. 39. 1 libavformat 53. 22. 0 / 53. 22. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 50. 0 / 2. 50. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x2a087a0] parser not found for codec none, packets or times may be invalid. Input #0, avi, from 'apple-component-test.avi': Duration: 00:00:01.20, start: 0.000000, bitrate: 368646 kb/s Stream #0:0: Video: none (yuv2 / 0x32767579), 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc [buffer @ 0x2a10bc0] Invalid pixel format '-1' Error opening filters! ============================= From de.techno at gmail.com Wed Dec 14 07:49:01 2011 From: de.techno at gmail.com (dE .) Date: Wed, 14 Dec 2011 12:19:01 +0530 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <20111212034636.GA6776@skamandros.andrews-corner.org> <4EE61C3B.2060702@eserre.com> Message-ID: <4EE846DD.3060109@gmail.com> On 12/14/11 17:07, Carl Eugen Hoyos wrote: > Jose Luis Rivas eserre.com> writes: > >> 1) Install ffmpeg from Debian repositories. If you use synaptic (which >> must people use if they want to click and install) you just click on >> ffmpeg and installs it. But that's a fork, not FFmpeg but LibAV. > Yes, this unfortunately installs an intentionally broken version of FFmpeg;-( > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user What? I didn't notice this... what's the difference? I'm installing from Debian multimedia. From h.reindl at thelounge.net Wed Dec 14 13:20:59 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Wed, 14 Dec 2011 13:20:59 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: <4EE846DD.3060109@gmail.com> References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120037.53997.rodney.baker@iinet.net.au> <201112120810.45866.rodney.baker@iinet.net.au> <20111212034636.GA6776@skamandros.andrews-corner.org> <4EE61C3B.2060702@eserre.com> <4EE846DD.3060109@gmail.com> Message-ID: <4EE894AB.3050906@thelounge.net> Am 14.12.2011 07:49, schrieb dE .: > On 12/14/11 17:07, Carl Eugen Hoyos wrote: >> Jose Luis Rivas eserre.com> writes: >> >>> 1) Install ffmpeg from Debian repositories. If you use synaptic (which >>> must people use if they want to click and install) you just click on >>> ffmpeg and installs it. But that's a fork, not FFmpeg but LibAV. >> Yes, this unfortunately installs an intentionally broken version of FFmpeg;-( >> >> Carl Eugen >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user > What? I didn't notice this... what's the difference? I'm installing from Debian multimedia can you please remove the mail-footer from your posts especially for one-liners? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From coniophora at gmail.com Wed Dec 14 14:25:22 2011 From: coniophora at gmail.com (Jim Worrall) Date: Wed, 14 Dec 2011 06:25:22 -0700 Subject: [FFmpeg-user] file for preset 'iphone' not found In-Reply-To: References: <20111207091851.5d494e5a@lrcd.com> Message-ID: On Dec 13, 2011, at 8:19 PM, aris sirajawali wrote: > whether by using preset file Current iPod presets are "ipod320" and "ipod640 > " It can run on the iphone ..? Those presets should work for iPhones, with several caveats. They just set the h264 profile, level, maxrate and bufsize. These values may or may not be optimum for your iPhone, depending on the model, but they should work. The presets do not set the codecs necessary for either iPods or iPhones (generally libx264 and one of the aac codecs, as you were using), not do they scale the video within the maximum specs of the device. You can look up the specs for the iPhone you have in mind and make sure that you have the correct parameters in your command line. I'm not aware of an "iphone" preset. You could easily make one by editing the ipod preset to fit your specs. When I tried that the presets seemed pretty limited as to what options you could put in them (for example, scale, codecs, etc. don't seem to work) Jim From cehoyos at ag.or.at Wed Dec 14 15:23:52 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 14:23:52 +0000 (UTC) Subject: [FFmpeg-user] Is decoding Apple Component Video YUV422 possible with FFmpeg? References: Message-ID: Werner Robitza gmail.com> writes: > Here is a 55MB sample file, encoded using MPEG Streamclip and selecting the > Apple Component Video YUV422 codec. The codec is wrapped in an AVI > container. > > http://www.ani.univie.ac.at/~cacmtv/homepage/videos/apple-component-test.avi Fixed in current git head, worked fine with MPlayer and ffmpeg -vcodec rawvideo. Do all other codecs work (except icod if that is available)? Carl Eugen From werner.robitza at gmail.com Wed Dec 14 15:38:54 2011 From: werner.robitza at gmail.com (Werner Robitza) Date: Wed, 14 Dec 2011 15:38:54 +0100 Subject: [FFmpeg-user] Is decoding Apple Component Video YUV422 possible with FFmpeg? In-Reply-To: References: Message-ID: In fact, it worked when starting the command line with: ffmpeg -vcodec rawvideo -i input.avi ? I did not know that the video codec could be forced like this before the actual input. Thanks for your help. Werner On Wed, Dec 14, 2011 at 3:23 PM, Carl Eugen Hoyos wrote: > Werner Robitza gmail.com> writes: > > > Here is a 55MB sample file, encoded using MPEG Streamclip and selecting > the > > Apple Component Video YUV422 codec. The codec is wrapped in an AVI > > container. > > > > > http://www.ani.univie.ac.at/~cacmtv/homepage/videos/apple-component-test.avi > > Fixed in current git head, worked fine with MPlayer and ffmpeg -vcodec > rawvideo. > Do all other codecs work (except icod if that is available)? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From weitzhandler at gmail.com Wed Dec 14 15:39:06 2011 From: weitzhandler at gmail.com (Shimmy Weitzhandler) Date: Wed, 14 Dec 2011 16:39:06 +0200 Subject: [FFmpeg-user] Anyone knows how to use the new AMV encoder supported with FFmpeg 0.9 (Harmony)? Message-ID: Here it is: https://ffmpeg.org/trac/ffmpeg/ticket/747 I hope you or someone else might be able to help. Thanks in advance! From cehoyos at ag.or.at Wed Dec 14 15:51:48 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 14:51:48 +0000 (UTC) Subject: [FFmpeg-user] Is decoding Apple Component Video YUV422 possible with FFmpeg? References: Message-ID: Werner Robitza gmail.com> writes: > ffmpeg -vcodec rawvideo -i input.avi ? > > I did not know that the video codec could be forced like this before the > actual input. It is not necessarily successful for all possible cases but this is at least how the syntax is supposed to work. Do all other codecs that you can choose in MPEG Streamclip work without -vcodec or similar help (except icod if that is available)? Carl Eugen From stefasab at gmail.com Wed Dec 14 17:40:08 2011 From: stefasab at gmail.com (Stefano Sabatini) Date: Wed, 14 Dec 2011 17:40:08 +0100 Subject: [FFmpeg-user] ffmpeg issue In-Reply-To: References: <1323551116.60968.yint-ygo-j2me@web112813.mail.gq1.yahoo.com> <201112120810.45866.rodney.baker@iinet.net.au> <201112122333.05953.rodney.baker@iinet.net.au> Message-ID: <20111214164007.GB2213@arborea> On date Monday 2011-12-12 17:32:51 -0000, Phil Rhodes encoded: > >Secondly, you keep complaining about *nix; why? > > Phil: Hello. This piece of opensource software is causing $PROBLEM > under Windows 7, any suggestions? > Nerd: Use linux and compile latest svn. > Phil: Well, linux isn't for everyone. Now, abut $PROBLEM... > Nerd: Linux does everything and is really easy to use and helps cute > animals. > Phil: Everything? Wow. Is there an equivalent to $SOFTWARE? > Nerd: Er... linux isn't for everyone... and ur teh suck. > > That's why. I make no apology if my response is robust. > > >I like freedom myself in some circumstances and in others I am willing > >to pay the money to just have it work. > > Pretty much describes my attitude, too. > > >Again, because they are so many different environments that ffmpeg > >couldbe installed too, especially when it comes to *nix, that I'm > >not sure atthis point what needs to be done exactly to improve it, > >yet. > > Couldn't agree more. The only way to fix these configure-and-build > issues is to make all linux distros so similar that there would be > very little point in having all these different ones. The core > problem is one of a complete lack of consistency and > standardisation, and I view this as more or less unsolvable in the > realm of linux and free software. > > >I would however, expect the folks that write > >ffmpeg to be able to sort that one out and improve the documentation. > > And on that day, the devil will be ice-skating to work. > > >Lastly, as far as this list and how they seem to expect people to be > >somewhat near their level of understanding about all things ffmpeg, I've > >complained about this as well. > > I think it's more utter, undisguised contempt for anyone who isn't > an expert software engineer. A lot of disciplines suffer this sort > of snobbery, but I think the open source community has made > arrogance into an absolute science and it is really terrifying to > behold the degree of brass-necked snobbery of which these people are > capable. The fact that it is neither possible or desirable for every > person on the face of the planet to be a linux expert apparently > doesn't occur. For what matters... put it on a different light, consider this situation from the point of view of economics. Using ffmpeg rather than another tool is just a type of deal, you're going to buy something and you have to pay a price. The price is not purely monetary, ffmpeg costs no money (and still it requires some specific equipment and infrastructures which do). Then there is the time that you need to spend investing on it, and other factors which are hardly quantificable (having fun, learning something, whose value is really dependent on too many factors which change from person to person and from time to time). If you have previous expertise in the field (multimedia technology, programming, compilation, building, administration), the price you need to spend in order to make use of this tool is cheap, since you already paid on that (education, work experience, etc.), and you can directly benefit on the control that this tool allows, and on the possibility of extending it to make it suit your needs (which is possible since it is free software), which is added value for you. On the other hand, depending on your formation, your time and your needs, you may just prefer something which costs money but which doesn't require so much knowledge and/or investing so much time on formation/research tasks, and you may not need any of the additional benefits which come with free software (learnability, hackability, etc.) which would have no value for you (if not on an ethical ground, or not in the short term). Now consider the thing from the developer point of view. Free software contributions usually are moved by different kind of motivations: pure interest or want to improve in the programming field or specific application domain, pragmatical interests in developing some specific feature and / or fixing some particular bug due to accidental needs (this is particularly true for occasional contributors), psichological need for recognition in the FLOSS community and / or to contribute to some project to the public benefit, will to earn an income or reputation in the field, etc. etc. and you can classify and enumerate more and more specific reasons for which a developer or even an hobbist with no professional experience / background may want to contribute to such a project. The fact that so many different actors with many different interests and objectives can still give raise to a *consistent* project is quite astonishing, and depends on many critical factors (one of those is finding a core group of developers which is committed to giving continuity to that effort, otherwise most projects tend to just die). Now back to the usability / documentation problem, this is a typical problem with free software projects since it is something for which the typical contributor has no gain, since she has no use of documenting a feature which she developed, or to document a feature which doesn't use, add to this that writing *good* documentation is *hard* and it costs *time* and requires many skills (English language knowledge and good communication/expression skill) which the average programmer may lack. Working on such problems is simply pointless for her, and she may have no interest at all for doing it "just for all the good users out there", unless she is moved by a compassionate heart and she has *plenty of time at her disposal*. So the problem is - what you can do about that? Complaining that free software or this particular tool sucks is just like complaining about the weather, you can't do nothing about that since you can't change the economic and social model on which free software is based. Well you can actually do something if you want something fixed, you can for example try to appeal to the developers ego/sense of duty (you are so great and good, oh mighty developer please do this for me!!), another possibly better way is to pay good money for that, some of the developers may have a physical body which needs to be feeded from time to time, another way is just complaining and pissing off developers so they will fix the problem you claimed (it sometimes works!), but most of the time it is not a very good approach since you defeat the motivation a developer may have of helping you (so it is anti-economic for you - you may still have fun at doing that or just feel less frustrated). Resuming, nobody here is claiming that ffmpeg is the answer to the question of life, universe and everything and is the right tool for you (although it may be!), so it is up to you to evaluate how good is for you to keep up with it (hint - your evaluation may be wrong in the long and/or short term since you don't have a perfect information about the different available choices). It may turn out that it is just the least worse choice or even the only one depending on your constraints. In this case if you want to help fixing its problems and help yourself in the long run, keeping a positive and constructive attitude (filing bugs / feature requests, praising developers or paying them for their service) is usually most effective (and so more convenient for you) rather than just complaining. Just my 0.02, and now back to work, I should have better spent my time by fixing bugs rather than writing this! -- ffmpeg-user random tip #5 FFmpeg documentation: http://www.ffmpeg.org/documentation.html From Ross.Alexander at EMEA.NEC.COM Wed Dec 14 17:51:08 2011 From: Ross.Alexander at EMEA.NEC.COM (Ross Alexander) Date: Wed, 14 Dec 2011 16:51:08 +0000 Subject: [FFmpeg-user] Subtitle corruption in FFMPEG-0.9 In-Reply-To: References: <20111212101404.10268fd0@lrcd.com>, , Message-ID: >> I'm not sure if this is an issue with just 0.9 since I've only just started >> looking at it but when I copy a dvdsub stream it is not copying properly > I don't think this has ever worked, or do you believe this is a regression? Sorry, not sure if this is a regression and my versions have been removed. I'm certainly not claiming it is a regression and it could well be that it has never worked. I didn't really intend to use the subtitle feature but as I was modifying my script I'd add it in but if you feel it has never worked properly then I'll let it rest. Regards, Ross From Andy.Benning at pharos.tv Wed Dec 14 17:05:10 2011 From: Andy.Benning at pharos.tv (Andy Benning) Date: Wed, 14 Dec 2011 16:05:10 +0000 Subject: [FFmpeg-user] How can I convert an mp4 file to a Quicktime file to edit in Final Cut Pro? Message-ID: Hi need some help converting an mp4 I've downloaded from http://www.sintel.org/download. I've used mediainfo to read the source and destination file wrappers and codecs. The output files needs to have a frame size of 720x608 but I'd like to generate two copies. One without black bars top and bottom and one with. I've used this but get an error of rc buffer underflow. ffmpeg -y -pix_fmt uyvy422 -f rawvideo -s 720x608 -i sintel_trailer-480p.mp4 -vcodec mpeg2video -r 25 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 1200000 -rc_init_occupancy 1200000 -rc_buf_aggressivity 0.25 -an sintel_trailer-480p.m2v 1. Input file format General Complete name : sintel-2048-stereo.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 270 MiB Duration : 14mn 48s Overall bit rate : 2 547 Kbps Movie name : Sintel Writing application : Lavf52.78.5 Copyright : (c) copyright Blender Foundation | durian.blender.org desc : Sintel open movie project Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High at L4.0 Format settings, CABAC : Yes Format settings, ReFrames : 3 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 14mn 48s Bit rate mode : Variable Bit rate : 2 353 Kbps Width : 2 048 pixels Height : 872 pixels Display aspect ratio : 2.35:1 Frame rate mode : Constant Frame rate : 24.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.055 Stream size : 249 MiB (92%) Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Format settings, SBR : No Codec ID : 40 Duration : 14mn 48s Bit rate mode : Variable Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Stream size : 20.0 MiB (7%) Language : English 2. Output file format General Complete name : PHTT00075.mov Format : MPEG-4 Format profile : QuickTime Codec ID : qt File size : 5.79 GiB Duration : 26mn 12s Overall bit rate : 31.6 Mbps Encoded date : UTC 2011-11-25 15:29:01 Tagged date : UTC 2011-11-25 15:43:41 Writing library : Apple QuickTime Media/UUID : 463718B7-3684-4FDE-8A41-64E72E810F51 Video ID : 1 Format : MPEG Video Format version : Version 2 Format profile : 4:2:2 at Main Format settings, BVOP : No Format settings, Matrix : Default Format settings, GOP : N=1 Codec ID : mx3p Duration : 40ms Bit rate mode : Constant Bit rate : 30.0 Mbps Width : 720 pixels Height : 576 pixels Original height : 608 pixels Display aspect ratio : 4:3 Frame rate mode : Constant Frame rate : 25.000 fps Standard : PAL Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 8 bits Scan type : Interlaced Scan order : Top Field First Bits/(Pixel*Frame) : 2.894 Stream size : 5.51 GiB (95%) Language : English Encoded date : UTC 2011-11-25 15:29:01 Tagged date : UTC 2011-11-25 15:43:41 Audio ID : 2 Format : PCM Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : sowt Duration : 26mn 12s Bit rate mode : Constant Bit rate : 1 536 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Bit depth : 16 bits Stream size : 288 MiB (5%) Language : English Encoded date : UTC 2011-11-25 15:29:01 Tagged date : UTC 2011-11-25 15:43:41 Menu ID : 3 Language : English Encoded date : UTC 2011-11-25 15:43:41 Tagged date : UTC 2011-11-25 15:43:41 ________________________________ This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender (as shown above). Kindly do not reproduce, print or forward any material received in error, please delete it immediately. Pharos Communications Limited (Company No. 3458137) is incorporated in England and Wales and has its registered office at 83 London Street, Reading, Berkshire, UK, RG1 4QA. Pharos Communications Pte Limited (Company No. 200817005N) is incorporated in Singapore and has its registered office at One Marina Boulevard, #28-00. Singapore 018989 From alexvd at hotmail.fr Wed Dec 14 18:31:11 2011 From: alexvd at hotmail.fr (Alex VD) Date: Wed, 14 Dec 2011 18:31:11 +0100 Subject: [FFmpeg-user] Configure the LAME Encoder In-Reply-To: References: , , , , <4EE7E53C.80908@gmail.com>, , Message-ID: > To: ffmpeg-user at ffmpeg.org > From: cehoyos at ag.or.at > Date: Wed, 14 Dec 2011 10:13:14 +0000 > Subject: Re: [FFmpeg-user] Configure the LAME Encoder > > Alex VD hotmail.fr> writes: > > > > >> I'm trying to encode in mp3 format with the LAME encoder in FFmpeg, > > > >> but I would like to configure the stereo mode (Stereo, Joint Stereo, > > > >> etc.). > > > > > > > > FFmpeg currently only supports Joint Stereo and Mono when encoding with > > > > lame. (What else do you need?) > > > Carl, in fact I would like to encode in Stereo, not in Joint Stereo. > > I believe it is not very difficult to (also) support Stereo, but a reason for > such a patch would be nice;-) > (From a quick look, it seems all lame experts strongly suggest not to use > Stereo, but the default Joint Stereo.) > > > You said only Joint Stereo and Mono are supported, but how the > > choice between this two modes is done? Is it automatically with > > the number of channels detected? > > (s/detected/requested) > Correct. > > > (So what happens if we encode 6 channels (5.1) in mp3?) > > lame only supports mono and stereo. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Thank you very much for your answers Carl. Alex From cehoyos at ag.or.at Wed Dec 14 23:38:34 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 22:38:34 +0000 (UTC) Subject: [FFmpeg-user] How can I convert an mp4 file to a Quicktime file to edit in Final Cut Pro? References: Message-ID: Andy Benning pharos.tv> writes: > Hi need some help converting an mp4 I've downloaded from > http://www.sintel.org/download. > I've used mediainfo to read the source and destination file wrappers and > codecs. It is nearly never helpful to post mediainfo output, please always post complete, uncut output of your FFmpeg command line. [...] > ffmpeg -y -pix_fmt uyvy422 -f rawvideo -s 720x608 -i sintel_trailer-480p.mp4 ^^^^^^^^^^^ This (input format rawvideo) contradicts the mediainfo output below that says isom... > -vcodec mpeg2video -r 25 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k > -b 30000k -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q > -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 1200000 -rc_init_occupancy 1200000 > -rc_buf_aggressivity 0.25 -an sintel_trailer-480p.m2v > 1. Input file format > General > Complete name : sintel-2048-stereo.mp4 > Format : MPEG-4 > Format profile : Base Media > Codec ID : isom [...] > This e-mail and any files transmitted with it are confidential and intended solely for the use of the > individual or entity to whom they are addressed. Since you are posting to a public mailing list, please remove this from your mails, Carl Eugen From hguth at listingsmagic.com Wed Dec 14 23:57:03 2011 From: hguth at listingsmagic.com (Hans Guth) Date: Wed, 14 Dec 2011 15:57:03 -0700 Subject: [FFmpeg-user] Header error help... Message-ID: <4EE929BF.4070309@listingsmagic.com> Have been able to figure out just about any and all formats but this one is giving us trouble? Anyone know why we are getting the message below and more importantly what we can do about it? Thanks. [root at mail 39312]# /usr/local/bin/ffmpeg -i sample_3GPP2.3g2 -y -acodec copy sample_3GPP2.swf FFmpeg version SVN-r18218, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --disable-demuxer=v4l --disable-demuxer=v4l2 --enable-libx264 --enable-gpl --enable-pthreads --enable-libfaac --enable-shared libavutil 50. 2. 0 / 50. 2. 0 libavcodec 52.22. 3 / 52.22. 3 libavformat 52.32. 0 / 52.32. 0 libavdevice 52. 1. 0 / 52. 1. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Mar 29 2009 13:35:57, gcc: 3.4.6 20060404 (Red Hat 3.4.6-10) Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 15.00 (15/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample_3GPP2.3g2': Duration: 00:00:05.00, start: 0.000000, bitrate: 45 kb/s Stream #0.0(eng): Audio: samr / 0x726D6173, 8000 Hz, mono, s16 Stream #0.1(eng): Video: mpeg4, yuv420p, 176x144 [PAR 1:1 DAR 11:9], 15 tbr, 15 tbn, 1k tbc [swf @ 0x99ff9c0]SWF muxer only supports MP3 Output #0, swf, to 'sample_3GPP2.swf': Stream #0.0(eng): Video: flv, yuv420p, 176x144 [PAR 1:1 DAR 11:9], q=2-31, 200 kb/s, 90k tbn, 15 tbc Stream #0.1(eng): Audio: samr / 0x726D6173, 8000 Hz, mono, s16 Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Could not write header for output file #0 (incorrect codec parameters ?) -- Hans Guth President - ListingsMagic 866-831-8639 ext. 704 From cehoyos at ag.or.at Thu Dec 15 00:20:18 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 23:20:18 +0000 (UTC) Subject: [FFmpeg-user] Header error help... References: <4EE929BF.4070309@listingsmagic.com> Message-ID: Hans Guth listingsmagic.com> writes: > [root mail 39312]# /usr/local/bin/ffmpeg -i sample_3GPP2.3g2 -y -acodec > copy sample_3GPP2.swf > > FFmpeg version SVN-r18218, Copyright (c) 2000-2009 Fabrice Bellard, et al. This is unbelievably old, please use current git head. [...] > [swf @ 0x99ff9c0]SWF muxer only supports MP3 Do you think anything can be done to make this message clearer? Carl Eugen From cehoyos at ag.or.at Thu Dec 15 00:35:41 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 14 Dec 2011 23:35:41 +0000 (UTC) Subject: [FFmpeg-user] Subtitle corruption in FFMPEG-0.9 References: <20111212101404.10268fd0@lrcd.com>, Message-ID: Ross Alexander EMEA.NEC.COM> writes: > I'm not sure if this is an issue with just 0.9 since I've only just started > looking at it but when I copy a dvdsub stream it is not copying properly This is now ticket #756, feel free to add yourself to CC: https://ffmpeg.org/trac/ffmpeg/ticket/756 Thank you for the report, Carl Eugen From stredarts at gmail.com Thu Dec 15 05:03:33 2011 From: stredarts at gmail.com (Stuart Strader) Date: Wed, 14 Dec 2011 20:03:33 -0800 Subject: [FFmpeg-user] Live streaming from Flash Player 11 h264, dropping (almost) all frames. Message-ID: <185137D17B8249C1A255708CEA6F3C19@gmail.com> Hey, I'm putting together a webcam conferencing application, and I'm counting on using Flash Player 11 for encoding h264. I'm running into difficulties getting ffmpeg to transcode the streams. After the first couple frames all of the rest are dropped. I'm mostly interested in live transcoding for multi-bitrate delivery and picture in picture composition, but dumped streams reproduce the issue: https://s3.amazonaws.com/ottw_dev/streamdump/dump.f4v (https://s3.amazonaws.com/ottw_dev/streamdump/dump.f4v?AWSAccessKeyId=AKIAI66KR7KZCRFPA3FA&Expires=1324005133&Signature=JUyVAUJ12EkfPsEznbruUl62mvE%3D) ($ rtmpdump --live -o dump.f4v -r rtmp://localhost/live/streampublisher/demo) $ ffmpeg -loglevel debug -i dump.f4v out.mp4 ffmpeg version N-31338-gdcca7d6, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 14 2011 15:42:53 with clang 2.1 (tags/Apple/clang-163.7.1) configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/clang --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-librtmp --cc=clang libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 45. 0 / 53. 45. 0 libavformat 53. 25. 0 / 53. 25. 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 [flv @ 0x7f912203d800] Format flv probed with size=2048 and score=100 [h264 @ 0x7f912204e400] err{or,}_recognition separate: 1; 1 [h264 @ 0x7f912204e400] err{or,}_recognition combined: 1; 10001 [nellymoser @ 0x7f912203fc00] err{or,}_recognition separate: 1; 1 [nellymoser @ 0x7f912203fc00] err{or,}_recognition combined: 1; 10001 [nellymoser @ 0x7f912203fc00] Unsupported bit depth: 0 [flv @ 0x7f912203d800] All info found rfps: 0.083333 0.003837 Last message repeated 1 times rfps: 0.166667 0.015349 Last message repeated 1 times Seems stream 0 codec frame rate differs from container frame rate: 48.00 (48/1) -> 0.08 (1/12) Input #0, flv, from 'dump.f4v': Duration: 00:00:36.75, start: 0.000000, bitrate: 330 kb/s Stream #0:0, 42, 1/1000: Video: h264 (Baseline), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 1/48, 0.08 tbr, 1k tbn, 48 tbc Stream #0:1, 56, 1/1000: Audio: nellymoser, 22050 Hz, mono, s16 File 'out.mp4' already exists. Overwrite ? [y/N] y w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [libx264 @ 0x7f912204c000] err{or,}_recognition separate: 1; 1 [libx264 @ 0x7f912204c000] err{or,}_recognition combined: 1; 10001 [libx264 @ 0x7f912204c000] using mv_range_thread = 40 [libx264 @ 0x7f912204c000] using SAR=1/1 [libx264 @ 0x7f912204c000] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 [libx264 @ 0x7f912204c000] profile High, level 1.2 [libx264 @ 0x7f912204c000] 264 - core 118 r8974+3 e361f4a - 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=1 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 [libfaac @ 0x7f912204ce00] err{or,}_recognition separate: 1; 1 [libfaac @ 0x7f912204ce00] err{or,}_recognition combined: 1; 10001 [h264 @ 0x7f912204e400] err{or,}_recognition separate: 1; 10001 [h264 @ 0x7f912204e400] err{or,}_recognition combined: 1; 10001 [nellymoser @ 0x7f912203fc00] err{or,}_recognition separate: 1; 10001 [nellymoser @ 0x7f912203fc00] err{or,}_recognition combined: 1; 10001 [nellymoser @ 0x7f912203fc00] Unsupported bit depth: 0 Output #0, mp4, to 'out.mp4': Metadata: encoder : Lavf53.25.0 Stream #0:0, 0, 1/1: Video: h264 (![0][0][0] / 0x0021), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 12/1, q=-1--1, 1 tbn, 0.08 tbc Stream #0:1, 0, 1/22050: Audio: aac (@[0][0][0] / 0x0040), 22050 Hz, mono, s16, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (nellymoser -> libfaac) Press [q] to stop, [?] for help [libx264 @ 0x7f912204c000] using mv_range_thread = 40 *** drop! Last message repeated 21 times [h264 @ 0x7f912204e400] AVC: nal size 21102612 [h264 @ 0x7f912204e400] no frame! Error while decoding stream #0:0 *** drop! ? ... Last message repeated 23 times [h264 @ 0x7f912204e400] AVC: nal size 21102612 [h264 @ 0x7f912204e400] no frame! Error while decoding stream #0:0 *** drop! Last message repeated 22 times [h264 @ 0x7f912204e400] AVC: nal size 21102612 [h264 @ 0x7f912204e400] no frame! Error while decoding stream #0:0 *** drop! Last message repeated 21 times [libx264 @ 0x7f912204c000] frame= 0 QP=13.69 NAL=3 Slice:I Poc:0 I:300 P:0 SKIP:0 size=15365 bytes [libx264 @ 0x7f912204c000] frame= 1 QP=14.37 NAL=2 Slice:P Poc:2 I:15 P:48 SKIP:237 size=454 bytes [libx264 @ 0x7f912204c000] frame= 2 QP=15.27 NAL=2 Slice:P Poc:6 I:139 P:161 SKIP:0 size=11100 bytes [libx264 @ 0x7f912204c000] frame= 3 QP=16.19 NAL=0 Slice:B Poc:4 I:134 P:137 SKIP:0 size=9986 bytes [libx264 @ 0x7f912204c000] frame= 4 QP=16.07 NAL=2 Slice:P Poc:8 I:158 P:142 SKIP:0 size=8920 bytes frame= 5 fps= 5 q=-1.0 Lsize= 221kB time=00:00:36.00 bitrate= 50.3kbits/s dup=0 drop=545 video:45kB audio:171kB global headers:0kB muxing overhead 2.064660% [libx264 @ 0x7f912204c000] frame I:1 Avg QP:13.69 size: 15365 [libx264 @ 0x7f912204c000] frame P:3 Avg QP:15.24 size: 6825 [libx264 @ 0x7f912204c000] frame B:1 Avg QP:16.19 size: 9986 [libx264 @ 0x7f912204c000] consecutive B-frames: 60.0% 40.0% 0.0% 0.0% [libx264 @ 0x7f912204c000] mb I I16..4: 28.7% 7.0% 64.3% [libx264 @ 0x7f912204c000] mb P I16..4: 5.0% 19.8% 9.9% P16..4: 14.7% 15.3% 9.0% 0.0% 0.0% skip:26.3% [libx264 @ 0x7f912204c000] mb B I16..4: 5.7% 21.0% 18.0% B16..8: 17.3% 14.0% 7.4% direct:16.7% skip: 0.0% L0: 9.7% L1:62.4% BI:28.0% [libx264 @ 0x7f912204c000] 8x8 transform intra:35.1% inter:26.4% [libx264 @ 0x7f912204c000] coded y,uvDC,uvAC intra: 82.1% 99.2% 95.0% inter: 53.3% 64.5% 57.0% [libx264 @ 0x7f912204c000] i16 v,h,dc,p: 32% 24% 30% 14% [libx264 @ 0x7f912204c000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 20% 29% 3% 3% 4% 5% 4% 6% [libx264 @ 0x7f912204c000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 20% 15% 7% 6% 6% 5% 7% 5% [libx264 @ 0x7f912204c000] i8c dc,h,v,p: 57% 14% 17% 12% [libx264 @ 0x7f912204c000] Weighted P-Frames: Y:66.7% UV:66.7% [libx264 @ 0x7f912204c000] ref P L0: 58.8% 17.4% 6.2% 14.9% 2.8% [libx264 @ 0x7f912204c000] ref B L0: 73.6% 26.4% [libx264 @ 0x7f912204c000] kb/s:6.11 If I try to pull the live stream and republish it to a different rtmp address like so: ffmpeg -i 'rtmp://localhost/live/streampublisher/demo2 live=1' -acodec copy -vcodec copy -f flv rtmp://localhost/live/streampublisher/out It errors out with: [flv @ 0x2bf0da0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 160 >= 160 If I try to change the -vcodec it just drops all of the frames like for the dump. Is there anything I can do to get this working? Has anyone been successful getting h264 from FP 11 to play nice with ffmpeg? From tim.nicholson at bbc.co.uk Thu Dec 15 13:27:01 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 15 Dec 2011 12:27:01 +0000 Subject: [FFmpeg-user] Timecode in DV muxer Message-ID: <4EE9E795.9080801@bbc.co.uk> I have been trying to add timecode to.dv files as the feature was introduced back in July, with ffprobe reporting introduced last month. However I cannot seen to get the timecode added to the .dv files, or at least its not reported by ffprobe. Am I expecting the wrong thing here:- > ffmpeg -i fcp.mov -timecode 09:57:00:00 -target pal-dv -pix_fmt yuv420p -y fcp.dv ffmpeg version N-35732-g917ce9b-by_Tim, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 13 2011 17:06:31 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 --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' --enable-libfaac --enable-libx264 --enable-libfreetype libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 43. 0 / 53. 43. 0 libavformat 53. 25. 0 / 53. 25. 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-12-15 12:15:16 Duration: 00:01:01.80, start: 0.000000, bitrate: 30341 kb/s Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 28800 kb/s, SAR 118:81 DAR 295:162, 25 fps, 25 tbr, 25 tbn, 25 tbc Metadata: creation_time : 2011-12-15 12:15:16 handler_name : ?Apple Alias Data Handler Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s Metadata: creation_time : 2011-12-15 12:15:16 handler_name : ?Apple Alias Data Handler Stream #0:2(eng): Data: none (tmcd / 0x64636D74) Metadata: creation_time : 2011-12-15 12:15:33 handler_name : ?Apple Alias Data Handler [buffer @ 0x177dae0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:118/81 sws_param: Output #0, dv, to 'fcp.dv': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-12-15 12:15:16 encoder : Lavf53.25.0 Stream #0:0(eng): Video: dvvideo, yuv420p, 720x576 [SAR 118:81 DAR 295:162], q=2-31, 200 kb/s, 90k tbn, 25 tbc Metadata: creation_time : 2011-12-15 12:15:16 handler_name : ?Apple Alias Data Handler Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Metadata: creation_time : 2011-12-15 12:15:16 handler_name : ?Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (dvvideo -> dvvideo) Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le) Press [q] to stop, [?] for help frame= 1545 fps= 78 q=0.0 Lsize= 217266kB time=00:01:01.80 bitrate=28800.0kbits/s video:217266kB audio:11588kB global headers:0kB muxing overhead -5.063291% > ffprobe fcp.dv ffprobe version N-35732-g917ce9b-by_Tim, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 13 2011 17:06:31 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 --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' --enable-libfaac --enable-libx264 --enable-libfreetype libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 43. 0 / 53. 43. 0 libavformat 53. 25. 0 / 53. 25. 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 [dv @ 0x1734100] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from 'fcp.dv': Duration: 00:01:01.80, start: 0.000000, bitrate: 28800 kb/s Stream #0:0: Video: dvvideo, yuv420p, 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 -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From Andy.Benning at pharos.tv Thu Dec 15 13:29:18 2011 From: Andy.Benning at pharos.tv (Andy Benning) Date: Thu, 15 Dec 2011 12:29:18 +0000 Subject: [FFmpeg-user] mp4 to quicktime for FCP editing Message-ID: Hi is it possible to convert from the input file format below to the output file format below using ffmpeg? ffmpeg -y -i sintel_trailer-480p.mp4 -vcodec mpeg2video -r 25 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 1200000 -rc_init_occupancy 1200000 -rc_buf_aggressivity 0.25 -an -s 720x608 sintel_trailer-480pFCP.mov The output file generated by the above cli cannot be imported into final cut pro. Am I missing a step here? Input file format ffmpeg -i sintel_trailer-480p.mp4 FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 5 2010 13:54:05 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libdirac --enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads WARNING: library configuration mismatch libpostproc configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-nonfree --enable-libxvid --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libx264 --enable-libdc1394 --enable-pthreads --disable-ffplay --disable-ffprobe --enable-libdirac --enable-libgsm --enable-avfilter 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sintel_trailer-480p.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Sintel Trailer artist : Durian Open Movie Team encoder : Lavf52.62.0 copyright : (c) copyright Blender Foundation | durian.blender.org description : Trailer for the Sintel open movie project Duration: 00:00:52.20, start: 0.000000, bitrate: 669 kb/s Stream #0.0(und): Video: h264, yuv420p, 854x480, 537 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 126 kb/s At least one output file must be specified Output file format ffmpeg -i PHTT00077.mov FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 5 2010 13:54:05 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libdirac --enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads WARNING: library configuration mismatch libpostproc configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-nonfree --enable-libxvid --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libx264 --enable-libdc1394 --enable-pthreads --disable-ffplay --disable-ffprobe --enable-libdirac --enable-libgsm --enable-avfilter 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PHTT00077.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt Duration: 00:13:35.24, start: 0.000000, bitrate: 31642 kb/s Stream #0.0(eng): Video: mpeg2video, yuv422p, 720x608 [PAR 152:135 DAR 4:3], 30000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Stream #0.2(eng): Data: tmcd / 0x64636D74 At least one output file must be specified ________________________________ This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender (as shown above). Kindly do not reproduce, print or forward any material received in error, please delete it immediately. Pharos Communications Limited (Company No. 3458137) is incorporated in England and Wales and has its registered office at 83 London Street, Reading, Berkshire, UK, RG1 4QA. Pharos Communications Pte Limited (Company No. 200817005N) is incorporated in Singapore and has its registered office at One Marina Boulevard, #28-00. Singapore 018989 From ubitux at gmail.com Thu Dec 15 13:39:26 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Thu, 15 Dec 2011 13:39:26 +0100 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <4EE9E795.9080801@bbc.co.uk> References: <4EE9E795.9080801@bbc.co.uk> Message-ID: <20111215123926.GK14110@leki> On Thu, Dec 15, 2011 at 12:27:01PM +0000, Tim Nicholson wrote: > I have been trying to add timecode to.dv files as the feature was > introduced back in July, with ffprobe reporting introduced last > month. > > However I cannot seen to get the timecode added to the .dv files, or > at least its not reported by ffprobe. > The DV demuxer doesn't export a metadata for the timecode yet, like does the GXF one for instance. You might want to open a feature request on the trac for this. [...] -- 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 dave.bevan at bbc.co.uk Thu Dec 15 13:46:57 2011 From: dave.bevan at bbc.co.uk (Dave Bevan) Date: Thu, 15 Dec 2011 12:46:57 -0000 Subject: [FFmpeg-user] mp4 to quicktime for FCP editing In-Reply-To: References: Message-ID: > Hi is it possible to convert from the input file format below to the output file format below using ffmpeg? > ffmpeg -y -i sintel_trailer-480p.mp4 -vcodec mpeg2video -r 25 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 1200000 -rc_init_occupancy 1200000 -rc_buf_aggressivity 0.25 -an -s 720x608 sintel_trailer-480pFCP.mov > The output file generated by the above cli cannot be imported into final cut pro. Am I missing a step here? ======================================================================= So it looks like you're trying to create IMX30 in a MOV wrapper? I'd suggest looking at http://code.google.com/p/ffmbc as it has the ability to create IMX30. The problem you will have is attempting to convert 24fps content to 25fps - where is the extra frame, and audio, going to come from?? In particular, with ffmbc, besides your framerate problem, the conversion is VERY simple: http://code.google.com/p/ffmbc/wiki/IMXD10Encoding. Rgds, --Dave. ======================================================================= Input file format ffmpeg -i sintel_trailer-480p.mp4 FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 5 2010 13:54:05 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libdirac --enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads WARNING: library configuration mismatch libpostproc configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-nonfree --enable-libxvid --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libx264 --enable-libdc1394 --enable-pthreads --disable-ffplay --disable-ffprobe --enable-libdirac --enable-libgsm --enable-avfilter 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sintel_trailer-480p.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Sintel Trailer artist : Durian Open Movie Team encoder : Lavf52.62.0 copyright : (c) copyright Blender Foundation | durian.blender.org description : Trailer for the Sintel open movie project Duration: 00:00:52.20, start: 0.000000, bitrate: 669 kb/s Stream #0.0(und): Video: h264, yuv420p, 854x480, 537 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 126 kb/s At least one output file must be specified Output file format ffmpeg -i PHTT00077.mov FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 5 2010 13:54:05 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libdirac --enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads WARNING: library configuration mismatch libpostproc configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-nonfree --enable-libxvid --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-libx264 --enable-libdc1394 --enable-pthreads --disable-ffplay --disable-ffprobe --enable-libdirac --enable-libgsm --enable-avfilter 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 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PHTT00077.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt Duration: 00:13:35.24, start: 0.000000, bitrate: 31642 kb/s Stream #0.0(eng): Video: mpeg2video, yuv422p, 720x608 [PAR 152:135 DAR 4:3], 30000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s Stream #0.2(eng): Data: tmcd / 0x64636D74 At least one output file must be specified http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From cehoyos at ag.or.at Thu Dec 15 15:11:28 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 15 Dec 2011 14:11:28 +0000 (UTC) Subject: [FFmpeg-user] mp4 to quicktime for FCP editing References: Message-ID: Andy Benning pharos.tv> writes: > FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers This is old, unsupported (and known to be buggy). Please consider testing current git head, see http://ffmpeg.org/download.html> [...] > This e-mail and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. As said, this does not make much sense on a public mailing list that has mirrors on the web. Carl Eugen From cehoyos at ag.or.at Thu Dec 15 15:25:37 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 15 Dec 2011 14:25:37 +0000 (UTC) Subject: [FFmpeg-user] Live streaming from Flash Player 11 h264, dropping (almost) all frames. References: <185137D17B8249C1A255708CEA6F3C19@gmail.com> Message-ID: Stuart Strader gmail.com> writes: > https://s3.amazonaws.com/ottw_dev/streamdump/dump.f4v (Unrelated: There are f4v files, this file is a flv file.) > $ ffmpeg -loglevel debug -i dump.f4v out.mp4 Workaround is to use -r 24 > ffmpeg version N-31338-gdcca7d6, Copyright (c) 2000-2011 the FFmpeg developers This is a few thousand revisions old, please consider using current git head (although your particular problem is still reproducible with today's version.) Carl Eugen From tim.nicholson at bbc.co.uk Thu Dec 15 15:52:04 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 15 Dec 2011 14:52:04 +0000 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <20111215123926.GK14110@leki> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> Message-ID: <4EEA0994.6060705@bbc.co.uk> On 15/12/11 12:39, Cl?ment B?sch wrote: > On Thu, Dec 15, 2011 at 12:27:01PM +0000, Tim Nicholson wrote: >> I have been trying to add timecode to.dv files as the feature was >> introduced back in July, with ffprobe reporting introduced last >> month. >> >> However I cannot seen to get the timecode added to the .dv files, or >> at least its not reported by ffprobe. >> > > The DV demuxer doesn't export a metadata for the timecode yet, like does > the GXF one for instance. You might want to open a feature request on the > trac for this. OK, thanks Cl?ment. I thought you would have the answer... Looking at the patch to fffprobe, it looks like it should always output "timcecode xxxxx" where xxxx is N/A when its not available. Or does it only do this for muxers it is aware support timecode? (I tried with mpeg but saw nothing). -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From ablage-p at arcor.de Thu Dec 15 16:02:56 2011 From: ablage-p at arcor.de (ablage-p at arcor.de) Date: Thu, 15 Dec 2011 16:02:56 +0100 (CET) Subject: [FFmpeg-user] (no subject) Message-ID: <25500117.42225.1323961376405.JavaMail.ngmail@webmail19.arcor-online.net> Hi all, what would I have to do, if wanted ffmpeg to run on my Ubuntu-Linux supporting the NVIDIA GPU? Which compiler-options do i have to use? cu Alex From ubitux at gmail.com Thu Dec 15 16:16:36 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Thu, 15 Dec 2011 16:16:36 +0100 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <4EEA0994.6060705@bbc.co.uk> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> Message-ID: <20111215151636.GM14110@leki> On Thu, Dec 15, 2011 at 02:52:04PM +0000, Tim Nicholson wrote: > On 15/12/11 12:39, Cl?ment B?sch wrote: > >On Thu, Dec 15, 2011 at 12:27:01PM +0000, Tim Nicholson wrote: > >>I have been trying to add timecode to.dv files as the feature was > >>introduced back in July, with ffprobe reporting introduced last > >>month. > >> > >>However I cannot seen to get the timecode added to the .dv files, or > >>at least its not reported by ffprobe. > >> > > > >The DV demuxer doesn't export a metadata for the timecode yet, like does > >the GXF one for instance. You might want to open a feature request on the > >trac for this. > > OK, thanks Cl?ment. I thought you would have the answer... > > Looking at the patch to fffprobe, it looks like it should always > output "timcecode xxxxx" where xxxx is N/A when its not available. > Or does it only do this for muxers it is aware support timecode? (I > tried with mpeg but saw nothing). > Ah the ffprobe timecode print is for codec timecode, and ATM it is only raised with mpeg (extracted from the GOP); it appears with ``ffprobe -show_streams''. ATM only the GXF container raise the timecode through the metadata, and you can see them in the metadata with ``ffprobe -show_format'' (TAG:gxf_timecode=...). I wonder if that could not be renamed to "timecode" btw, so it will be common with the other containers. So yes, FFmpeg is lacking some timecode raising in various format; MXF or DV for instance... Maybe in a not-that-near future it will be available. Opening a feature request might speed up things. -- 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 tim.nicholson at bbc.co.uk Thu Dec 15 17:11:51 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 15 Dec 2011 16:11:51 +0000 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <20111215151636.GM14110@leki> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> <20111215151636.GM14110@leki> Message-ID: <4EEA1C47.2090308@bbc.co.uk> On 15/12/11 15:16, Cl?ment B?sch wrote: > [...] > > Ah the ffprobe timecode print is for codec timecode, and ATM it is only > raised with mpeg (extracted from the GOP); it appears with ``ffprobe > -show_streams''. > > ATM only the GXF container raise the timecode through the metadata, and > you can see them in the metadata with ``ffprobe -show_format'' > (TAG:gxf_timecode=...). I wonder if that could not be renamed to > "timecode" btw, so it will be common with the other containers. > Ahhh, that helps clarify a lot...... I might consider adding in timecode explanations to the docs as at the moment the -timecode feature of certain muxers isn't even mentioned. > So yes, FFmpeg is lacking some timecode raising in various format; MXF or > DV for instance... Maybe in a not-that-near future it will be available. > Opening a feature request might speed up things. I don't like just firing off feature requests because I want something, but it would be nice, so I will consider it... -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From acommuter at hotmail.com Thu Dec 15 18:04:53 2011 From: acommuter at hotmail.com (A Commuter) Date: Thu, 15 Dec 2011 10:04:53 -0700 Subject: [FFmpeg-user] Convert MOV to some lossless format. Message-ID: Hi, I'm looking for a simple ffmpeg command that will convert a MOV file created using a digital camera, to a high quality format that can be read by my DVD creator software. I've tried mov to mpg with no arguments, and my source, 95 MB turned into an output of 5MB. The quality looks a little grainy. FYI. Only a 32 second video if you're wondering. :-) I used this: ffmpeg -i in.mov out.mpg I think I need to specify yuv444p instead of ffmpeg auto-selecting yuv420. Any help is appreciated. Thanks, Jim. From pb at das-werkstatt.com Thu Dec 15 18:15:04 2011 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 15 Dec 2011 18:15:04 +0100 Subject: [FFmpeg-user] Convert MOV to some lossless format. In-Reply-To: References: Message-ID: <4EEA2B18.6080402@das-werkstatt.com> A Commuter wrote: > I'm looking for a simple ffmpeg command that will convert a MOV file created using a digital camera, to a high quality format that can be read by my DVD creator software. I've tried mov to mpg with no arguments, and my source, 95 MB turned into an output of 5MB. The quality looks a little grainy. FYI. Only a 32 second video if you're wondering. :- You're saying that you'd like to use a lossless format, but MPEG is lossy. Depending on the operating system you use, as well as the DVD creator software, different containers/formats would be suitable for your case. For example, if your DVD creator is able to use system codecs, you could install ffdshow-tryouts[1] (for Windows) or Perian[2] (for MacOS) and then use Huffyuv or FFv1 lossless codecs in an AVI container. Another question is, what the actual codec within your original MOV file is (audio/video). MOV is just the container... Depending on the lossy codec inside the MOV, it might be enough to just copy the data into another container - without any transcoding. Like this: ffmpeg -i in.mov -acodec copy -vcodec copy output.avi The "-vcodec copy" and "-acodec copy" arguments tell FFmpeg to leave the actual audio/video data as it is :) If that doesn't work, you could post the output of "ffmpeg -i in.mov", as this should contain information about the audio/video codecs inside. Good luck, Pb From pb at das-werkstatt.com Thu Dec 15 18:16:26 2011 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 15 Dec 2011 18:16:26 +0100 Subject: [FFmpeg-user] Convert MOV to some lossless format. In-Reply-To: References: Message-ID: <4EEA2B6A.8070506@das-werkstatt.com> Sorry, forgot the links to ffdshow-tryouts [1] and perian [2]: [1] http://ffdshow-tryout.sourceforge.net/ [2] http://perian.org/ Pb From tim.nicholson at bbc.co.uk Thu Dec 15 18:16:02 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 15 Dec 2011 17:16:02 +0000 Subject: [FFmpeg-user] Convert MOV to some lossless format. In-Reply-To: References: Message-ID: <4EEA2B52.70904@bbc.co.uk> On 15/12/11 17:04, A Commuter wrote: > > Hi, > > I'm looking for a simple ffmpeg command that will convert a MOV file created using a digital camera, to a high quality format that can be read by my DVD creator software. I've tried mov to mpg with no arguments, and my source, 95 MB turned into an output of 5MB. The quality looks a little grainy. FYI. Only a 32 second video if you're wondering. :-) > > I used this: ffmpeg -i in.mov out.mpg > > I think I need to specify yuv444p instead of ffmpeg auto-selecting yuv420. Hardly, I doubt you will get 444 into an mpeg..... > > Any help is appreciated. > You could try:- ffmpeg -i in.mov -target pal-dvd out.mpg to get some resonable figure for data rates etc. If you are across the pond then s/pal/ntsc/ > Thanks, Jim. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From ubitux at gmail.com Thu Dec 15 18:24:30 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Thu, 15 Dec 2011 18:24:30 +0100 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <4EEA1C47.2090308@bbc.co.uk> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> <20111215151636.GM14110@leki> <4EEA1C47.2090308@bbc.co.uk> Message-ID: <20111215172430.GA16806@leki> On Thu, Dec 15, 2011 at 04:11:51PM +0000, Tim Nicholson wrote: > On 15/12/11 15:16, Cl?ment B?sch wrote: > >[...] > > > >Ah the ffprobe timecode print is for codec timecode, and ATM it is only > >raised with mpeg (extracted from the GOP); it appears with ``ffprobe > >-show_streams''. > > > >ATM only the GXF container raise the timecode through the metadata, and > >you can see them in the metadata with ``ffprobe -show_format'' > >(TAG:gxf_timecode=...). I wonder if that could not be renamed to > >"timecode" btw, so it will be common with the other containers. > > > > Ahhh, that helps clarify a lot...... > > I might consider adding in timecode explanations to the docs as at > the moment the -timecode feature of certain muxers isn't even > mentioned. > I'd wait for the feature to be complete since it might need some changes; I just sent a patch to remove the gxf_ prefixes in timecode metadata for example. The -timecode option should not change much though. > >So yes, FFmpeg is lacking some timecode raising in various format; MXF or > >DV for instance... Maybe in a not-that-near future it will be available. > >Opening a feature request might speed up things. > > I don't like just firing off feature requests because I want > something, but it would be nice, so I will consider it... > Well, I'm sure this feature will benefit a lot of people, but as you wish ;) -- 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 pb at das-werkstatt.com Thu Dec 15 18:35:43 2011 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 15 Dec 2011 18:35:43 +0100 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <20111215172430.GA16806@leki> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> <20111215151636.GM14110@leki> <4EEA1C47.2090308@bbc.co.uk> <20111215172430.GA16806@leki> Message-ID: <4EEA2FEF.6060409@das-werkstatt.com> Cl?ment B?sch wrote: >> I don't like just firing off feature requests because I want >> something, but it would be nice, so I will consider it.. > > Well, I'm sure this feature will benefit a lot of people, but as you wish > ;) > If I understood Tim's request correctly, he was trying to *add* timecode to the DV, and only using ffprobe to check if it succeeded, I think that video-archives would be quite interested in having ffprobe outputting DV-timecode (and other DV metadata, such as error-concealment, for example). So, "yes" I agree with Cl?ment that others would benefit from it, too ;) Pb From daverice at mac.com Thu Dec 15 18:42:22 2011 From: daverice at mac.com (Dave Rice) Date: Thu, 15 Dec 2011 12:42:22 -0500 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <4EEA2FEF.6060409@das-werkstatt.com> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> <20111215151636.GM14110@leki> <4EEA1C47.2090308@bbc.co.uk> <20111215172430.GA16806@leki> <4EEA2FEF.6060409@das-werkstatt.com> Message-ID: <8A96D8D1-7AA7-43BC-B665-5022C95D8E00@mac.com> On Dec 15, 2011, at 12:35 PM, Peter B. wrote: > Cl?ment B?sch wrote: >>> I don't like just firing off feature requests because I want >>> something, but it would be nice, so I will consider it.. >> >> Well, I'm sure this feature will benefit a lot of people, but as you wish >> ;) >> > If I understood Tim's request correctly, he was trying to *add* timecode > to the DV, and only using ffprobe to check if it succeeded, I think that > video-archives would be quite interested in having ffprobe outputting > DV-timecode ffmpeg and ffmbc don't display timecode from the subcode area of an input DV file. This was added to mediainfo a few years ago though, but it would be great to see in ffmpeg. > (and other DV metadata, such as error-concealment, for example). afaik, the only tool to parse dv error concealment data is dvanalyzer, http://mediaarea.net/en/AVPS_DV_Analyzer/Download/. If I had to start that development project from the beginning again I would have probably tried to make a version of it as a patch to libavfilter > So, "yes" I agree with Cl?ment that others would benefit from it, too ;) +1 dave rice > Pb > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From roger at beardandsandals.co.uk Thu Dec 15 18:43:30 2011 From: roger at beardandsandals.co.uk (Roger James) Date: Thu, 15 Dec 2011 17:43:30 +0000 Subject: [FFmpeg-user] SIGABRT in libavcodec when transcoding ac3 stream Message-ID: <4EEA31C2.9030609@beardandsandals.co.uk> Hi, I am trying write a dvd using bombono-dvd which calls ffmpeg to encode the DVD. ffmpeg crashes with a SIGABRT in libavcodec as shown below. *** glibc detected *** ffmpeg: free(): invalid pointer: 0x09645020 *** ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x6ebc2)[0x46ebc2] /lib/i386-linux-gnu/libc.so.6(+0x6f862)[0x46f862] /lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0x47294d] /usr/lib/i686/cmov/libavcodec.so.53(audio_resample+0x42b)[0x126e67b] ffmpeg[0x804cc56] ffmpeg[0x80523fe] ffmpeg[0x804ed47] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x419113] ffmpeg[0x804ee8d] ======= Memory map: ======== Looking at the ffmpeg log it would appear that it is trying to do an unnecessary transcode of the ac3 stream. ffmpeg -i "/home/roger/Music/channel test/export/dvdoutput.mpg" -target pal-dvd -aspect 4:3 -s 676x576 -vf pad=720:576:22:0:black -b 5000k -ab 320k -y -mbd rd -trellis 2 -cmp 2 -subcmp 2 "/home/roger/Music/channel test/export/dvdout/1.dvdoutput.mpg.mpg" ffmpeg version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2000-2011 the Libav developers built on Oct 2 2011 15:12:32 with gcc 4.6.1 configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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 ..... (Conguration wanings removed see below [mpegts @ 0x90d92a0] max_analyze_duration reached [NULL @ 0x90de5a0] start time is not set in av_estimate_timings_from_pts Input #0, mpegts, from '/home/roger/Music/channel test/export/dvdoutput.mpg': Duration: 00:02:56.93, start: 0.000000, bitrate: 1061 kb/s Program 1 Stream #0.0[0x44]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 1:1 DAR 5:4], 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x45](eng): Audio: ac3, 44100 Hz, 5.0, s16, 448 kb/s (hearing impaired) Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [buffer @ 0x90e1780] w:720 h:576 pixfmt:yuv420p [scale @ 0x90d4420] w:720 h:576 fmt:yuv420p -> w:676 h:576 fmt:yuv420p flags:0x4 [pad @ 0x90e08c0] w:676 h:576 -> w:720 h:576 x:22 y:0 color:0x108080FF[yuva] Output #0, dvd, to '/home/roger/Music/channel test/export/dvdout/1.dvdoutput.mpg.mpg': Metadata: encoder : Lavf53.2.0 Stream #0.0: Video: mpeg2video (hq), yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, 5000 kb/s, 90k tbn, 25 tbc Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.0, flt, 320 kb/s (hearing impaired) Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press ctrl-c to stop encoding Input stream #0.1 frame changed from rate:44100 fmt:s16 ch:5 to rate:44100 fmt:flt ch:5 Warning, using s16 intermediate sample format for resampling ERR: ffmpeg failure: broken by signal SIGABRT/SIGIOT Please somebody correct me if I am wrong but ac3 files are fixed format and do not have header information saying that the stream is encoded in s16. Is this something that is wrong in the mpeg2 container produced by avidemux? Why is ffmpeg trying to transcode the audio stream? Roger Full log follows: =========================================================== ffmpeg -i "/home/roger/Music/channel test/export/dvdoutput.mpg" -target pal-dvd -aspect 4:3 -s 676x576 -vf pad=720:576:22:0:black -b 5000k -ab 320k -y -mbd rd -trellis 2 -cmp 2 -subcmp 2 "/home/roger/Music/channel test/export/dvdout/1.dvdoutput.mpg.mpg" ffmpeg version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2000-2011 the Libav developers built on Oct 2 2011 15:12:32 with gcc 4.6.1 configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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.2-1ubuntu1' --arch=i386 --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 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avcodec configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avformat configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avdevice configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avfilter configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay swscale configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay postproc configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --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 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay libavutil 51. 7. 0 / 51. 7. 0 libavcodec 53. 5. 0 / 53. 5. 0 libavformat 53. 2. 0 / 53. 2. 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 [mpegts @ 0x90d92a0] max_analyze_duration reached [NULL @ 0x90de5a0] start time is not set in av_estimate_timings_from_pts Input #0, mpegts, from '/home/roger/Music/channel test/export/dvdoutput.mpg': Duration: 00:02:56.93, start: 0.000000, bitrate: 1061 kb/s Program 1 Stream #0.0[0x44]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 1:1 DAR 5:4], 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x45](eng): Audio: ac3, 44100 Hz, 5.0, s16, 448 kb/s (hearing impaired) Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [buffer @ 0x90e1780] w:720 h:576 pixfmt:yuv420p [scale @ 0x90d4420] w:720 h:576 fmt:yuv420p -> w:676 h:576 fmt:yuv420p flags:0x4 [pad @ 0x90e08c0] w:676 h:576 -> w:720 h:576 x:22 y:0 color:0x108080FF[yuva] Output #0, dvd, to '/home/roger/Music/channel test/export/dvdout/1.dvdoutput.mpg.mpg': Metadata: encoder : Lavf53.2.0 Stream #0.0: Video: mpeg2video (hq), yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, 5000 kb/s, 90k tbn, 25 tbc Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.0, flt, 320 kb/s (hearing impaired) Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press ctrl-c to stop encoding Input stream #0.1 frame changed from rate:44100 fmt:s16 ch:5 to rate:44100 fmt:flt ch:5 Warning, using s16 intermediate sample format for resampling ERR: ffmpeg failure: broken by signal SIGABRT/SIGIOT From acommuter at hotmail.com Thu Dec 15 18:48:24 2011 From: acommuter at hotmail.com (A Commuter) Date: Thu, 15 Dec 2011 10:48:24 -0700 Subject: [FFmpeg-user] Convert MOV to some lossless format. In-Reply-To: <4EEA2B52.70904@bbc.co.uk> References: , <4EEA2B52.70904@bbc.co.uk> Message-ID: Thanks Tim, Thanks Peter, So here are the details from the ffmpeg conversion as suggested by Peter (straight copy). ffmpeg -i F:\MOVS\MVI_0028.MOV -acodec copy -vcodec copy F:\MOVS\MVI_0028.AVI ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 5 2011 14:22:27 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-amrwben c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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: 6000.00 (6000/1) -> 30.00 (30/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F:\MOVS\MVI_0028.MOV': Metadata: major_brand : qt minor_version : 537331968 compatible_brands: qt CAEP creation_time : 2010-02-28 23:02:07 Duration: 00:00:32.93, start: 0.000000, bitrate: 23798 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1280x720, 23090 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc Metadata: creation_time : 2010-02-28 23:02:07 handler_name : Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, 1 channels, s16, 705 kb/s Metadata: creation_time : 2010-02-28 23:02:07 handler_name : Output #0, avi, to 'F:\MOVS\MVI_0028.AVI': Metadata: major_brand : qt minor_version : 537331968 compatible_brands: qt CAEP creation_time : 2010-02-28 23:02:07 ISFT : Lavf53.24.0 Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuvj420p, 1280x720, q=2-31, 23090 kb/s, 30 fps, 3k tbn, 3k tbc Metadata: creation_time : 2010-02-28 23:02:07 handler_name : Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, 705 kb/s Metadata: creation_time : 2010-02-28 23:02:07 handler_name : Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 574 fps= 0 q=-1.0 size= 56263kB time=00:00:19.10 bitrate=24130.9kbits frame= 988 fps= 0 q=-1.0 Lsize= 98023kB time=00:00:32.90 bitrate=24407.3kbits/s video:92830kB audio:2837kB global headers:0kB muxing overhead 2.463734% Now I can't actually see the video, so I'm gussing I don't have the right video codecs, which I'm working to correct. But what's interesting is that the output file is larger than the input, from 95MB to 98MB. Thanks, Jim. > Date: Thu, 15 Dec 2011 17:16:02 +0000 > From: tim.nicholson at bbc.co.uk > To: ffmpeg-user at ffmpeg.org > Subject: Re: [FFmpeg-user] Convert MOV to some lossless format. > > On 15/12/11 17:04, A Commuter wrote: > > > > Hi, > > > > I'm looking for a simple ffmpeg command that will convert a MOV file created using a digital camera, to a high quality format that can be read by my DVD creator software. I've tried mov to mpg with no arguments, and my source, 95 MB turned into an output of 5MB. The quality looks a little grainy. FYI. Only a 32 second video if you're wondering. :-) > > > > I used this: ffmpeg -i in.mov out.mpg > > > > I think I need to specify yuv444p instead of ffmpeg auto-selecting yuv420. > > Hardly, I doubt you will get 444 into an mpeg..... > > > > Any help is appreciated. > > > > You could try:- > > ffmpeg -i in.mov -target pal-dvd out.mpg > > to get some resonable figure for data rates etc. > > If you are across the pond then s/pal/ntsc/ > > > Thanks, Jim. > > > -- > Tim > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From robkacz at googlemail.com Thu Dec 15 16:08:08 2011 From: robkacz at googlemail.com (Rob Kaz) Date: Thu, 15 Dec 2011 08:08:08 -0700 Subject: [FFmpeg-user] FFMPG Error and Server Disconnect Message-ID: Hi I just came across the FFMPG site and am not sure how to post a question. I have recently been presented the following FFMPG error message below on my WHS 2003. The server keeps disconnecting from my netowrk. "Windows Error Reporting uses JavaScript to display content correctly.Please ensure that your browser security settings meet the following requirements: JavaScript must be enabled. Address a problem with FFmpeg FFmpeg has stopped working properly. Support for this product is community-based, providing solutions to common problems through an online user forum. Typically, this type of support lets you search the postings of other users for solutions, or ask the group a question if a solution to your problem is not immediately available" It is important to note as well that I am also getting an WiDMS error. I am not sure if they are related. I have attempted to rectify the WiDMS error as per this post in the microsoft forums: http://social.microsoft.com/Forums/en/whssoftware/thread/35090c89-7657-4b58-87c8-52dadf6d628c Note I have ffdshow installed on the server as well and Tversity. These were originally being used as I was streaming videos to my PS3. What can I do to get rid of the FFFMPG error? Thanks in advance Address a problem with FFmpeg FFmpeg has stopped working properly. Support for this product is community-based, providing solutions to common problems through an online user forum. Typically, this type of support lets you search the postings of other users for solutions, or ask the group a question if a solution to your problem is not immediately available" -- Rob Kaczanowski LinkedIn Profile: http://www.linkedin.com/in/robkaczanowski From tim.nicholson at bbc.co.uk Thu Dec 15 19:27:37 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Thu, 15 Dec 2011 18:27:37 +0000 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <8A96D8D1-7AA7-43BC-B665-5022C95D8E00@mac.com> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> <20111215151636.GM14110@leki> <4EEA1C47.2090308@bbc.co.uk> <20111215172430.GA16806@leki> <4EEA2FEF.6060409@das-werkstatt.com> <8A96D8D1-7AA7-43BC-B665-5022C95D8E00@mac.com> Message-ID: <4EEA3C19.1030008@bbc.co.uk> On 15/12/11 17:42, Dave Rice wrote: > On Dec 15, 2011, at 12:35 PM, Peter B. wrote: > >> Cl?ment B?sch wrote: >>>> I don't like just firing off feature requests because I want >>>> something, but it would be nice, so I will consider it.. >>> >>> Well, I'm sure this feature will benefit a lot of people, but as you wish >>> ;) >>> >> If I understood Tim's request correctly, he was trying to *add* timecode >> to the DV, and only using ffprobe to check if it succeeded, I think that >> video-archives would be quite interested in having ffprobe outputting >> DV-timecode > > ffmpeg and ffmbc don't display timecode from the subcode area of an input DV file. This was added to mediainfo a few years ago though, but it would be great to see in ffmpeg. > >> (and other DV metadata, such as error-concealment, for example). > > afaik, the only tool to parse dv error concealment data is dvanalyzer, http://mediaarea.net/en/AVPS_DV_Analyzer/Download/. If I had to start that development project from the beginning again I would have probably tried to make a version of it as a patch to libavfilter > >> So, "yes" I agree with Cl?ment that others would benefit from it, too ;) > > +1 > dave rice OK OK I give in. Ticket #766. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From lou at lrcd.com Thu Dec 15 19:42:34 2011 From: lou at lrcd.com (Lou) Date: Thu, 15 Dec 2011 09:42:34 -0900 Subject: [FFmpeg-user] Nvidia GPU [was (no subject)] In-Reply-To: <25500117.42225.1323961376405.JavaMail.ngmail@webmail19.arcor-online.net> References: <25500117.42225.1323961376405.JavaMail.ngmail@webmail19.arcor-online.net> Message-ID: <20111215094234.679b8845@lrcd.com> On Thu, 15 Dec 2011 16:02:56 +0100 (CET) ablage-p at arcor.de wrote: > Hi all, > > what would I have to do, if wanted ffmpeg to run on my Ubuntu-Linux > supporting the NVIDIA GPU? Which compiler-options do i have to use? > > cu > Alex Depends on your Ubuntu version. "ffmpeg" from recent Ubuntu (I didn't check which versions other than 11.10) include --enable-vdpau (and --enable-vaapi). However: * Ubuntu now uses "ffmpeg" from the libav/"qatar" fork, not FFmpeg. * If you compile from FFmpeg, then --enable-vdpau and --enable-vaapi are autodetected so you don't need to add those to your configure. Required dependencies are: libva-dev libvdpau-dev. For step-by-step FFmpeg compile instructions: http://ubuntuforums.org/showthread.php?t=786095 * The D in VDPAU stands for Decode, so it don't help the actual encoding, and it doesn't use the GPU, but an onboard acceleration chip, IIRC. This is a subject which I am somewhat unfamiliar, so others may want to add more accurate information or correct me. From stredarts at gmail.com Thu Dec 15 19:45:51 2011 From: stredarts at gmail.com (Stuart Strader) Date: Thu, 15 Dec 2011 10:45:51 -0800 Subject: [FFmpeg-user] Live streaming from Flash Player 11 h264, dropping (almost) all frames. In-Reply-To: References: <185137D17B8249C1A255708CEA6F3C19@gmail.com> Message-ID: Unless homebrew checked out an older commit I don't see how I could be on an older version. The last commit from homebrew's cache of ffmpeg's source: commit 30b996d443aeb105d0017b06ce590c55a0b2f9f4 Author: Michael Niedermayer Date: Thu Dec 15 04:42:13 2011 +0100 flicvideo: input buffer pointer checks. Signed-off-by: Michael Niedermayer Anyways, forcing the frame rate does seem to help greatly. I'm still seeing a large number of dropped frames. I'll send a log as soon as I ride into work. -- Stuart Strader From acommuter at hotmail.com Thu Dec 15 19:50:38 2011 From: acommuter at hotmail.com (A Commuter) Date: Thu, 15 Dec 2011 11:50:38 -0700 Subject: [FFmpeg-user] Convert MOV to some lossless format. In-Reply-To: References: , , <4EEA2B52.70904@bbc.co.uk>, Message-ID: Can't seem to get the video part of the .avi file (Peter's suggestion) to show on my system or my digital media player. This is odd because both of these devices play most formats. The codec is apparently avc1 and ffdshow does pop into the Task Bar when the file is opened, but still only audio. I would like an AVI format as well to keep on my media player. Tim's suggestion for a DVD does work and the output file size is much larger than the first time I tried, but the aspect is off. Looks like 4:3 instead of 16:9. Can a DVD format file still retain 100% quality or will it always be compressed? Sorry I'm not more familiar with this video stuff, so any suggestions is greatly appreciated. Jim. > From: acommuter at hotmail.com > To: ffmpeg-user at ffmpeg.org > Date: Thu, 15 Dec 2011 10:48:24 -0700 > Subject: Re: [FFmpeg-user] Convert MOV to some lossless format. > > > Thanks Tim, Thanks Peter, > > So here are the details from the ffmpeg conversion as suggested by Peter (straight copy). > > ffmpeg -i F:\MOVS\MVI_0028.MOV -acodec copy -vcodec copy F:\MOVS\MVI_0028.AVI > ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers > built on Dec 5 2011 14:22:27 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-amrwben > c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib > libavutil 51. 30. 0 / 51. 30. 0 > libavcodec 53. 40. 0 / 53. 40. 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: 6000.00 (6000/1) -> 30.00 (30/1) > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F:\MOVS\MVI_0028.MOV': > Metadata: > major_brand : qt > minor_version : 537331968 > compatible_brands: qt CAEP > creation_time : 2010-02-28 23:02:07 > Duration: 00:00:32.93, start: 0.000000, bitrate: 23798 kb/s > Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1280x720, 23090 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc > Metadata: > creation_time : 2010-02-28 23:02:07 > handler_name : > Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, 1 channels, s16, 705 kb/s > Metadata: > creation_time : 2010-02-28 23:02:07 > handler_name : > Output #0, avi, to 'F:\MOVS\MVI_0028.AVI': > Metadata: > major_brand : qt > minor_version : 537331968 > compatible_brands: qt CAEP > creation_time : 2010-02-28 23:02:07 > ISFT : Lavf53.24.0 > Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuvj420p, 1280x720, q=2-31, 23090 kb/s, 30 fps, 3k tbn, 3k tbc > Metadata: > creation_time : 2010-02-28 23:02:07 > handler_name : > Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, 705 kb/s > Metadata: > creation_time : 2010-02-28 23:02:07 > handler_name : > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Stream #0:1 -> #0:1 (copy) > Press [q] to stop, [?] for help > frame= 574 fps= 0 q=-1.0 size= 56263kB time=00:00:19.10 bitrate=24130.9kbits > frame= 988 fps= 0 q=-1.0 Lsize= 98023kB time=00:00:32.90 bitrate=24407.3kbits/s > video:92830kB audio:2837kB global headers:0kB muxing overhead 2.463734% > > Now I can't actually see the video, so I'm gussing I don't have the right video codecs, which I'm working to correct. But what's interesting is that the output file is larger than the input, from 95MB to 98MB. > > Thanks, Jim. > > > > Date: Thu, 15 Dec 2011 17:16:02 +0000 > > From: tim.nicholson at bbc.co.uk > > To: ffmpeg-user at ffmpeg.org > > Subject: Re: [FFmpeg-user] Convert MOV to some lossless format. > > > > On 15/12/11 17:04, A Commuter wrote: > > > > > > Hi, > > > > > > I'm looking for a simple ffmpeg command that will convert a MOV file created using a digital camera, to a high quality format that can be read by my DVD creator software. I've tried mov to mpg with no arguments, and my source, 95 MB turned into an output of 5MB. The quality looks a little grainy. FYI. Only a 32 second video if you're wondering. :-) > > > > > > I used this: ffmpeg -i in.mov out.mpg > > > > > > I think I need to specify yuv444p instead of ffmpeg auto-selecting yuv420. > > > > Hardly, I doubt you will get 444 into an mpeg..... > > > > > > Any help is appreciated. > > > > > > > You could try:- > > > > ffmpeg -i in.mov -target pal-dvd out.mpg > > > > to get some resonable figure for data rates etc. > > > > If you are across the pond then s/pal/ntsc/ > > > > > Thanks, Jim. > > > > > > -- > > Tim > > > > http://www.bbc.co.uk/ > > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. > > If you have received it in error, please delete it from your system. > > Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. > > Please note that the BBC monitors e-mails sent or received. > > Further communication will signify your consent to this. > > > > _______________________________________________ > > 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 tevans.uk at googlemail.com Thu Dec 15 20:40:49 2011 From: tevans.uk at googlemail.com (Tom Evans) Date: Thu, 15 Dec 2011 19:40:49 +0000 Subject: [FFmpeg-user] Nvidia GPU [was (no subject)] In-Reply-To: <20111215094234.679b8845@lrcd.com> References: <25500117.42225.1323961376405.JavaMail.ngmail@webmail19.arcor-online.net> <20111215094234.679b8845@lrcd.com> Message-ID: On Thu, Dec 15, 2011 at 6:42 PM, Lou wrote: > * The D in VDPAU stands for Decode, so it don't help the actual > ?encoding, and it doesn't use the GPU, but an onboard acceleration > ?chip, IIRC. > > This is a subject which I am somewhat unfamiliar, so others may want to > add more accurate information or correct me. I believe the decoding (or at least part of it) is offloaded onto the shaders*, and hence performance will differ from card to card, depending on the speed and number of shaders. I've done a little playing, and it seems like** ffmpeg can only use vdpau to display video, not to accelerate the decoding of the source when transcoding, as it cannot read the decoded image back from VRAM. I was trying things like this: > $ ffmpeg -y -c:v h264_vdpau -i f1_2011_bahrain.mkv \ ----> -frames 1000 -c:v libx264 -profile:v main -s 480x272 -aspect:v 480:272 \ ----> -c:a libfaac -ac 2 -b:a 128k \ ----> f1_2011_bahrain.iphone.mp4 Cheers Tom * As always, it is more than possible that I am spouting nonsense, this is all 'IIRC' ** See above From bostjan.strojan at gmail.com Thu Dec 15 20:58:05 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Thu, 15 Dec 2011 20:58:05 +0100 Subject: [FFmpeg-user] atom position in mp4 at encoding time ? Message-ID: HI, I just happen to notice that my ffmpeg h264.mp4 encodes need to completely download before the playback is possible (progressive playback via flash player). Is there a solution inside ffmpeg? a special switch? thanks From h.reindl at thelounge.net Thu Dec 15 21:00:26 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Thu, 15 Dec 2011 21:00:26 +0100 Subject: [FFmpeg-user] atom position in mp4 at encoding time ? In-Reply-To: References: Message-ID: <4EEA51DA.8080601@thelounge.net> Am 15.12.2011 20:58, schrieb Bo?tjan Strojan: > HI, > > I just happen to notice that my ffmpeg h264.mp4 encodes need to completely > download before the playback is possible (progressive playback via flash > player). Is there a solution inside ffmpeg? a special switch? no compile qt-faststart which is in the source tarball and use it after encoding - i have written our ffmpeg wrapper to do this automatically with temp-files before move the target to the final destination quite simple -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From lou at lrcd.com Thu Dec 15 21:09:46 2011 From: lou at lrcd.com (Lou) Date: Thu, 15 Dec 2011 11:09:46 -0900 Subject: [FFmpeg-user] atom position in mp4 at encoding time ? In-Reply-To: References: Message-ID: <20111215110946.290890a0@lrcd.com> On Thu, 15 Dec 2011 20:58:05 +0100 Bo?tjan Strojan wrote: > HI, > > I just happen to notice that my ffmpeg h264.mp4 encodes need to > completely download before the playback is possible (progressive > playback via flash player). Is there a solution inside ffmpeg? a > special switch? > > thanks You can use qt-faststart. It's part of FFmpeg, but if you don't have it then compiling it is easy if you have the FFmpeg source: cd ffmpeg/tools make qt-faststart Usage: qt-faststart input.mp4 output.mp4 Alternatively, you could use MP4Box. Probably something like: MP4Box -add input.mp4 output.mp4 Ah, now I see Reindl already replied because I'm a slow typer, but I'll send anyway. From bostjan.strojan at gmail.com Thu Dec 15 21:20:29 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Thu, 15 Dec 2011 21:20:29 +0100 Subject: [FFmpeg-user] atom position in mp4 at encoding time ? In-Reply-To: <20111215110946.290890a0@lrcd.com> References: <20111215110946.290890a0@lrcd.com> Message-ID: so i assume Usage: qt-faststart will of course need double the disk space temporarily? I think mp4box will basically overwrite the file in place? If so, what would be a decent place to find mp4box bin for OSX (the one that doesnt have problems with 2 giga barrier?) My old scripts seems to be using mp4box file.mp4 -hint as a command line, is that still valid? thanks On Thu, Dec 15, 2011 at 9:09 PM, Lou wrote: > On Thu, 15 Dec 2011 20:58:05 +0100 > Bo?tjan Strojan wrote: > > > HI, > > > > I just happen to notice that my ffmpeg h264.mp4 encodes need to > > completely download before the playback is possible (progressive > > playback via flash player). Is there a solution inside ffmpeg? a > > special switch? > > > > thanks > > You can use qt-faststart. It's part of FFmpeg, but if you don't have it > then compiling it is easy if you have the FFmpeg source: > > cd ffmpeg/tools > make qt-faststart > > Usage: > qt-faststart input.mp4 output.mp4 > > Alternatively, you could use MP4Box. Probably something like: > MP4Box -add input.mp4 output.mp4 > > Ah, now I see Reindl already replied because I'm a slow typer, but I'll > send anyway. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From h.reindl at thelounge.net Thu Dec 15 21:31:03 2011 From: h.reindl at thelounge.net (Reindl Harald) Date: Thu, 15 Dec 2011 21:31:03 +0100 Subject: [FFmpeg-user] atom position in mp4 at encoding time ? In-Reply-To: References: <20111215110946.290890a0@lrcd.com> Message-ID: <4EEA5907.4090600@thelounge.net> Am 15.12.2011 21:20, schrieb Bo?tjan Strojan: > so i assume > Usage: qt-faststart > > will of course need double the disk space temporarily? yes, so what > I think mp4box will basically overwrite the file in place? hopefully not because doing so on large files is idiotic because they are 100% damaged if something goes wrong! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From bostjan.strojan at gmail.com Thu Dec 15 21:33:42 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Thu, 15 Dec 2011 21:33:42 +0100 Subject: [FFmpeg-user] atom position in mp4 at encoding time ? In-Reply-To: <4EEA5907.4090600@thelounge.net> References: <20111215110946.290890a0@lrcd.com> <4EEA5907.4090600@thelounge.net> Message-ID: true, is there an analyzer/tool to check atom position, btw? On Thu, Dec 15, 2011 at 9:31 PM, Reindl Harald wrote: > > > Am 15.12.2011 21:20, schrieb Bo?tjan Strojan: > > so i assume > > Usage: qt-faststart > > > > will of course need double the disk space temporarily? > > yes, so what > > > I think mp4box will basically overwrite the file in place? > > hopefully not because doing so on large files is idiotic because > they are 100% damaged if something goes wrong! > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > From pb at das-werkstatt.com Thu Dec 15 21:40:27 2011 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 15 Dec 2011 21:40:27 +0100 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <8A96D8D1-7AA7-43BC-B665-5022C95D8E00@mac.com> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> <20111215151636.GM14110@leki> <4EEA1C47.2090308@bbc.co.uk> <20111215172430.GA16806@leki> <4EEA2FEF.6060409@das-werkstatt.com> <8A96D8D1-7AA7-43BC-B665-5022C95D8E00@mac.com> Message-ID: <4EEA5B3B.3020903@das-werkstatt.com> Dave Rice wrote: > ffmpeg and ffmbc don't display timecode from the subcode area of an input DV file. This was added to mediainfo a few years ago though, but it would be great to see in ffmpeg @Dave: As DV-Analyzer [2] uses Mediainfo [3], are you familiar with its code? Do you think it would be possible to reuse its implementation for porting it to ffmpeg/ffmbc? > afaik, the only tool to parse dv error concealment data is dvanalyzer, http://mediaarea.net/en/AVPS_DV_Analyzer/Download/. If I had to start that development project from the beginning again I would have probably tried to make a version of it as a patch to libavfilter > I just wanted to look at DV-Analyzer's code, but unfortunately all links to the source seem to be down [1]: "The requested URL /binary/dvanalyzer-gui/1.4.0/AVPS_DV_Analyzer_GUI_1.4.0_GNU_FromSource.tar.bz2 was not found on this server." Regards, Pb == References: [1] http://mediaarea.net/en/AVPS_DV_Analyzer/Download/Source/ [2] http://www.avpreserve.com/dvanalyzer/ [3] http://mediainfo.sourceforge.net/en From pb at das-werkstatt.com Thu Dec 15 21:51:36 2011 From: pb at das-werkstatt.com (Peter B.) Date: Thu, 15 Dec 2011 21:51:36 +0100 Subject: [FFmpeg-user] Convert MOV to some lossless format. In-Reply-To: References: , , <4EEA2B52.70904@bbc.co.uk>, Message-ID: <4EEA5DD8.1010103@das-werkstatt.com> A Commuter wrote: > Can't seem to get the video part of the .avi file (Peter's suggestion) to show on my system or my digital media player. This is odd because both of these devices play most formats. The codec is apparently avc1 and ffdshow does pop into the Task Bar when the file is opened, but still only audio. I would like an AVI format as well to keep on my media player. > Strange that you can't playback the AVI, as h264 for video is quite common these days. Especially, if you've been able to playback the .mov before. hm... Which player are you using? > Tim's suggestion for a DVD does work and the output file size is much larger than the first time I tried, but the aspect is off. I'm not 100% sure, but I think the default for "-target pal-dvd" is to use 4:3. Quoting a webpage I've just found [1], you might be able to use the argument "-aspect 16:9" in your case: ffmpeg -i in.mov -target pal-dvd -aspect 16:9 out.mpg > Looks like 4:3 instead of 16:9. Can a DVD format file still retain 100% quality or will it always be compressed? As you have to convert from h264 to MPEG (lossy) for using it in a DVD player, there is no way of not losing "some" quality. However, the higher the bitrate-value you choose for encoding the MPEG, the better the quality. Pb == References: [1] http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs From cehoyos at ag.or.at Thu Dec 15 22:01:09 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 15 Dec 2011 21:01:09 +0000 (UTC) Subject: [FFmpeg-user] Live streaming from Flash Player 11 h264, dropping (almost) all frames. References: <185137D17B8249C1A255708CEA6F3C19@gmail.com> Message-ID: Stuart Strader gmail.com> writes: > Unless homebrew checked out an older commit I don't see how I could be on an > older version. The last commit from homebrew's cache of ffmpeg's source: > > commit 30b996d443aeb105d0017b06ce590c55a0b2f9f4 > Author: Michael Niedermayer > Date: Thu Dec 15 04:42:13 2011 +0100 Your version line says: ffmpeg version N-31338-gdcca7d6 Mine is (now): ffmpeg version N-35827-g7f9369b gdcca7d6 does not exist, so I now realize you have local patches, originally I only compared the continuous number. Anyway, the sample was just fixed, please update (again). Thank you for the report, Carl Eugen From cehoyos at ag.or.at Thu Dec 15 22:12:16 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 15 Dec 2011 21:12:16 +0000 (UTC) Subject: [FFmpeg-user] Nvidia GPU [was (no subject)] References: <25500117.42225.1323961376405.JavaMail.ngmail@webmail19.arcor-online.net> <20111215094234.679b8845@lrcd.com> Message-ID: Tom Evans googlemail.com> writes: > On Thu, Dec 15, 2011 at 6:42 PM, Lou lrcd.com> wrote: > > * The D in VDPAU stands for Decode, so it don't help the actual > > ?encoding, and it doesn't use the GPU, but an onboard acceleration > > ?chip, IIRC. > > > > This is a subject which I am somewhat unfamiliar, so others may want to > > add more accurate information or correct me. > > I believe the decoding (or at least part of it) is offloaded onto the > shaders*, and hence performance will differ from card to card, > depending on the speed and number of shaders. ffmpeg does NOT support hardware-accelerated video (and audio) decoding. FFmpeg supports video player applications that use xVMC, VDPAU, VA-API or DXVA2. (None of those use the shaders, the decoding speed is not depending at all on the number of shaders, my GT520 which is a low-end card decodes H264 "faster" than any high-end card with ten times as many shaders. De-interlacing speed heavily depends on the number of shaders, but de-interlacing needs no libavcodec support.) Or in other words: libavcodec contains code that other applications can use to decode in hardware, ffmpeg (the application) does not use that code. Carl Eugen Disclaimer: I only know about PureVideo for VDPAU, it is possible that other technologies work differently (but I would be surprised). Disclaimer 2: The situation is different on Android where FFmpeg supports libstagefright to decode H264, but I don't know much about it. From cehoyos at ag.or.at Thu Dec 15 22:20:13 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 15 Dec 2011 21:20:13 +0000 (UTC) Subject: [FFmpeg-user] SIGABRT in libavcodec when transcoding ac3 stream References: <4EEA31C2.9030609@beardandsandals.co.uk> Message-ID: Roger James beardandsandals.co.uk> writes: > ffmpeg version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2000-2011 the Libav > developers This is known to be broken and unsupported, please see http://ffmpeg.org/download.html for supported versions. > Stream #0.1[0x45](eng): Audio: ac3, 44100 Hz, 5.0, s16, 448 kb/s > Input stream #0.1 frame changed from rate:44100 fmt:s16 ch:5 to > rate:44100 fmt:flt ch:5 > Warning, using s16 intermediate sample format for resampling > ERR: ffmpeg failure: broken by signal SIGABRT/SIGIOT > > Please somebody correct me if I am wrong but ac3 files are fixed format > and do not have header information saying that the stream is encoded in > s16. This may be true or not but the (currently) fastest decoder for AC-3 sound outputs float values that the (fastest) AC-3 encoder takes as input. (Quality is not affected but iirc, it was argued that quality is even better with the float implementation.) > Is this something that is wrong in the mpeg2 container produced by > avidemux? Definitely not. > Why is ffmpeg trying to transcode the audio stream? That is what ffmpeg does if you don't explicitly tell it not to. Carl Eugen From cehoyos at ag.or.at Thu Dec 15 22:29:02 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 15 Dec 2011 21:29:02 +0000 (UTC) Subject: [FFmpeg-user] Convert MOV to some lossless format. References: Message-ID: A Commuter hotmail.com> writes: > I've tried mov to mpg with no arguments, and my source, 95 MB turned into an > output of 5MB. The quality looks a little grainy. FYI. Only a 32 second video > if you're wondering. > > I used this: ffmpeg -i in.mov out.mpg If you are only interested in quality, use: ffmpeg -i in.mov -qscale 2 -ab 256k out.mpg This is not lossless, but your applications that seem to have troubles with many standard formats will probably not play any lossless format. I don't think anybody can distinguish the result of above command from the original (except with software). If your dvd authoring application does not do any re-encoding, above line unfortunately will usually not work because the resulting bitrate will be too high for DVD, try -target dvd (and multipass) in that case. > I think I need to specify yuv444p instead of ffmpeg auto-selecting yuv420. Nearly all real-world video is yuv420 as is your input video (see the output of ffmpeg -i MVI_0028.MOV, the "j" in yuv420p only affects the colour dynamics). I also believe it is not (easily) possible to put yuv444 into mpg. Carl Eugen From richardsb771 at gmail.com Thu Dec 15 22:29:30 2011 From: richardsb771 at gmail.com (Bob Richards) Date: Thu, 15 Dec 2011 13:29:30 -0800 Subject: [FFmpeg-user] YUV->RGB Color Shift Message-ID: In 0.9 when transcoding from ProRes 4444 to a DPX sequence I am experiencing a color shift that I believe may be due to the yuv-rgb conversion. I'm assuming ffmpeg does a video level scale/unscale operation in these conversions by default but is it possible to disable this? I did try forcing specific pix_fmts and color_range options without it affecting much change in my output. Sample command: ffmpeg -i input_prores.mov -vcodec dpx sample_seq_%03d.dpx From tevans.uk at googlemail.com Thu Dec 15 22:33:34 2011 From: tevans.uk at googlemail.com (Tom Evans) Date: Thu, 15 Dec 2011 21:33:34 +0000 Subject: [FFmpeg-user] Nvidia GPU [was (no subject)] In-Reply-To: References: <25500117.42225.1323961376405.JavaMail.ngmail@webmail19.arcor-online.net> <20111215094234.679b8845@lrcd.com> Message-ID: On Thu, Dec 15, 2011 at 9:12 PM, Carl Eugen Hoyos wrote: > Tom Evans googlemail.com> writes: > >> On Thu, Dec 15, 2011 at 6:42 PM, Lou lrcd.com> wrote: >> > * The D in VDPAU stands for Decode, so it don't help the actual >> > ?encoding, and it doesn't use the GPU, but an onboard acceleration >> > ?chip, IIRC. >> > >> > This is a subject which I am somewhat unfamiliar, so others may want to >> > add more accurate information or correct me. >> >> I believe the decoding (or at least part of it) is offloaded onto the >> shaders*, and hence performance will differ from card to card, >> depending on the speed and number of shaders. > > ffmpeg does NOT support hardware-accelerated video (and audio) decoding. > > FFmpeg supports video player applications that use xVMC, VDPAU, VA-API or DXVA2. > (None of those use the shaders, the decoding speed is not depending at all on > the number of shaders, my GT520 which is a low-end card decodes H264 "faster" > than any high-end card with ten times as many shaders. De-interlacing speed > heavily depends on the number of shaders, but de-interlacing needs no libavcodec > support.) > > Or in other words: libavcodec contains code that other applications can use to > decode in hardware, ffmpeg (the application) does not use that code. > > Carl Eugen > > Disclaimer: I only know about PureVideo for VDPAU, it is possible that other > technologies work differently (but I would be surprised). > > Disclaimer 2: The situation is different on Android where FFmpeg supports > libstagefright to decode H264, but I don't know much about it. > Thanks for clarifying! Cheers Tom From cehoyos at ag.or.at Thu Dec 15 22:31:15 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 15 Dec 2011 21:31:15 +0000 (UTC) Subject: [FFmpeg-user] YUV->RGB Color Shift References: Message-ID: Bob Richards gmail.com> writes: > ffmpeg -i input_prores.mov -vcodec dpx sample_seq_%03d.dpx Please add complete, uncut console output. Carl Eugen From richardsb771 at gmail.com Thu Dec 15 22:54:09 2011 From: richardsb771 at gmail.com (Bob Richards) Date: Thu, 15 Dec 2011 13:54:09 -0800 Subject: [FFmpeg-user] YUV->RGB Color Shift In-Reply-To: References: Message-ID: On Thu, Dec 15, 2011 at 1:31 PM, Carl Eugen Hoyos wrote: > Bob Richards gmail.com> writes: > > > ffmpeg -i input_prores.mov -vcodec dpx sample_seq_%03d.dpx > > Please add complete, uncut console output. > > Carl Eugen > > _______________________________________________ > $ ffmpeg -i A033C005.mov -vcodec dpx sample_seq_%03d.dpx ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 14 2011 15:50:52 with clang 2.0 (tags/Apple/clang-139) configuration: --prefix=/usr/local/Cellar/ffmpeg/0.9 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/clang --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --disable-ffplay 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 Seems stream 0 codec frame rate differs from container frame rate: 23976.00 (23976/1) -> 23.98 (2997/125) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'A033C005.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt ARRI creation_time : 2011-12-13 19:50:02 Duration: 00:00:11.26, start: 0.000000, bitrate: 281199 kb/s Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuv444p10le, 1920x1080, 277332 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc Metadata: creation_time : 2011-12-13 19:50:02 handler_name : ?Apple Alias Data Handler Stream #0:1(eng): Data: none (tmcd / 0x64636D74) Metadata: creation_time : 2011-12-13 19:50:02 handler_name : ?Apple Alias Data Handler Incompatible pixel format 'yuv444p10le' for codec 'dpx', auto-selecting format 'rgb48le' [buffer @ 0x101613820] w:1920 h:1080 pixfmt:yuv444p10le tb:1/1000000 sar:1/1 sws_param: [buffersink @ 0x101613aa0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x101613e80] w:1920 h:1080 fmt:yuv444p10le -> w:1920 h:1080 fmt:rgb48le flags:0x4 Output #0, image2, to 'sample_seq_%03d.dpx': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt ARRI creation_time : 2011-12-13 19:50:02 encoder : Lavf53.24.0 Stream #0:0(eng): Video: dpx, rgb48le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc Metadata: creation_time : 2011-12-13 19:50:02 handler_name : ?Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (prores -> dpx) Press [q] to stop, [?] for help frame= 27 fps= 2 q=0.0 Lsize= 0kB time=00:00:01.12 bitrate= 0.0kbits/s video:328094kB audio:0kB global headers:0kB muxing overhead -100.000000% From daverice at mac.com Fri Dec 16 00:23:21 2011 From: daverice at mac.com (David Rice) Date: Thu, 15 Dec 2011 18:23:21 -0500 Subject: [FFmpeg-user] Timecode in DV muxer In-Reply-To: <4EEA5B3B.3020903@das-werkstatt.com> References: <4EE9E795.9080801@bbc.co.uk> <20111215123926.GK14110@leki> <4EEA0994.6060705@bbc.co.uk> <20111215151636.GM14110@leki> <4EEA1C47.2090308@bbc.co.uk> <20111215172430.GA16806@leki> <4EEA2FEF.6060409@das-werkstatt.com> <8A96D8D1-7AA7-43BC-B665-5022C95D8E00@mac.com> <4EEA5B3B.3020903@das-werkstatt.com> Message-ID: On Dec 15, 2011, at 3:40 PM, Peter B. wrote: > Dave Rice wrote: >> ffmpeg and ffmbc don't display timecode from the subcode area of an input DV file. This was added to mediainfo a few years ago though, but it would be great to see in ffmpeg > @Dave: As DV-Analyzer [2] uses Mediainfo [3], are you familiar with its > code? I managed the project, design the functions, did the technical writing and research and worked with Jerome (Mediainfo) on the actually code. > Do you think it would be possible to reuse its implementation for > porting it to ffmpeg/ffmbc? It's GPL v3+, so nothing stopping anyone. If anyone was interested in doing this, I'd be willing to help as much as I can. >> afaik, the only tool to parse dv error concealment data is dvanalyzer, http://mediaarea.net/en/AVPS_DV_Analyzer/Download/. If I had to start that development project from the beginning again I would have probably tried to make a version of it as a patch to libavfilter >> > I just wanted to look at DV-Analyzer's code, but unfortunately all links > to the source seem to be down [1]: > "The requested URL > /binary/dvanalyzer-gui/1.4.0/AVPS_DV_Analyzer_GUI_1.4.0_GNU_FromSource.tar.bz2 > was not found on this server." Will fix. Thanks. Dave > > Regards, > Pb > > > == References: > [1] http://mediaarea.net/en/AVPS_DV_Analyzer/Download/Source/ > [2] http://www.avpreserve.com/dvanalyzer/ > [3] http://mediainfo.sourceforge.net/en > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From arissirajawali at gmail.com Fri Dec 16 08:12:16 2011 From: arissirajawali at gmail.com (aris sirajawali) Date: Fri, 16 Dec 2011 14:12:16 +0700 Subject: [FFmpeg-user] video quality problem with ffmpeg command mov to 3gp Message-ID: how to convert video from mp4 to 3gp using ffmpeg. I use a command like the following: ffmpeg-i INPUT.MOV-acodec libfaac-ab 12.2k-ac 2-ar 8000-vcodec h263-s QCIF-r 10-b 32k OUTPUT.3GP but by using the above command, I get the video that is not good. whether there is an error on my order and how do i get the command line with the results of a good video. thank you, please help from friends all.. From spider58 at gmail.com Fri Dec 16 08:47:29 2011 From: spider58 at gmail.com (spider58) Date: Fri, 16 Dec 2011 09:47:29 +0200 Subject: [FFmpeg-user] UDP HD channel record BUFFER error Message-ID: Hello. Im windows user (ffmpeg.EXE) Im using command as below for recording from UDP ffmpeg -y -i UDP://@IPADRESS:PORT -ac 2 -vcodec copy -acodec copy -f flv > c:\myHDvideo.flv > This is recording from UDP HD TV channel but giving warnings about BUFFER during record as below CIRCULAR_BUFFER OVERRUN > This warnings not inperrupting to record. But sometimes ffmpeg is freezing. Sometimes i must record 4-5 hours HD TV Channel without any interruption. How can i solve buffer problem? From cehoyos at ag.or.at Fri Dec 16 12:38:20 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 16 Dec 2011 11:38:20 +0000 (UTC) Subject: [FFmpeg-user] video quality problem with ffmpeg command mov to 3gp References: Message-ID: aris sirajawali gmail.com> writes: > how to convert video from mp4 to 3gp using ffmpeg. > I use a command like the following: ffmpeg-i INPUT.MOV-acodec libfaac-ab > 12.2k-ac 2-ar 8000-vcodec h263-s QCIF-r 10-b 32k OUTPUT.3GP > but by using the above command, I get the video that is not good. Increase the video bitrate, 32k is not much, even for qcif. Carl Eugen From tim.nicholson at bbc.co.uk Fri Dec 16 13:11:50 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Fri, 16 Dec 2011 12:11:50 +0000 Subject: [FFmpeg-user] More on audio stream mapping Message-ID: <4EEB3586.8070804@bbc.co.uk> I have a file containing 1 video and 4 mono audio streams, and wish to create a file with 1 video and 2 stereo audio streams. Under the old API the extra audio stream was added after the output filename, but now it is supposed to be done via the -map and -map_channel commands. It therefore seems that the correct way to now achieve this is:- ffmpeg -i archive.gxf -c:v copy \ -c:a libfaac -b:a 96k -ar 48k \ -map 0:0 -map 0:1 -map 0:2 \ -ac 2 -map_channel 0.1.0:0.1 -map_channel 0.2.0:0.1 \ -ac 2 -map_channel 0.3.0:0.2 -map_channel 0.4.0:0.2 \ out.mp4 From my reading of the documentation the:- -map 0:0 -map 0:1 -map 0:2 maps the video and first two audio streams to the output file, which is not the mapping I actually want but is the only way I can see to add the extra output audio stream. Then the:- -map_channel 0.1.0:0.1 commands overwrite this mapping to put the audio channels where I want them. Adding streams by performing a mapping that is not wanted seems to me to be counter intuitive. Or have I misunderstood things? It also appears that you cannot use -c:a copy if using -map_channel as the copy copies the stream as is, and not the channel. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From imsaurabhrawat at gmail.com Fri Dec 16 14:21:27 2011 From: imsaurabhrawat at gmail.com (s.rawat) Date: Fri, 16 Dec 2011 18:51:27 +0530 Subject: [FFmpeg-user] Passing Compressed bitmap from C to Android Message-ID: Hi, I am trying to send the bitmap of v4l2 buffer(from an external UVC camera) converted to "jpg from the yuv" to the android code but no success .Here is my few code snippets.The code snippet below is more design oriented so plz forgive the syntactics. *Android Code : * Bitmap mBitmap = Bitmap.createBitmap( holder.getSurfaceFrame().right-holder.getSurfaceFrame().left, holder.getSurfaceFrame().bottom-holder.getSurfaceFrame().top,Bitmap.Config.RGB_565 ); *uvcConvert2Bitmap*(mBitmap); *Native Code : * struct vdIn *v4l2buff = 0; JNI_inside_my_package_name>_*uvcConvert2Bitmap*(JNIEnv *env, jobject obj, jobject bitmap) { char* buffer; //grab the buffer using the V4l2 call : uvcGrab (framesizeIn); //encoding to jpeg : compress_yuyv_to_jpeg(v4l2buff, buf, v4l2buff->framesizeIn, 80, v4l2buff->formatIn); if (AndroidBitmap_lockPixels(env, jbitmap, buffer)< 0) { } else { //i am assuming that the jbitmap has the buffer inside it jbmp = jbitmap; } } *Android code:* DrawCanvas.this.onDraw(c, mBitmap); protected void onDraw(Canvas canvas,Bitmap bmp) { // TODO Auto-generated method stub canvas.drawColor(color.black); canvas.drawBitmap(bmp, 0,0, null); } I am not able to get any bitmap in my android application .Can some one plz tell what I m doing wrong. Rgds, Saurabh "..pain is temporary.....quitting lasts forever......" From dev at rarevision.com Fri Dec 16 16:30:51 2011 From: dev at rarevision.com (Thomas Worth) Date: Fri, 16 Dec 2011 07:30:51 -0800 Subject: [FFmpeg-user] av_interleaved_write_frame() buffering entire file in memory?! Message-ID: I am running into some issues with av_interleaved_write_frame(). I have some code that takes separate video and audio files and just copies each file's packets to a single output file. It works, but while copying the program's memory usage skyrockets to several GB (the input files are quite large). If I use av_write_frame(), this doesn't happen. The interesting thing is that ffmpeg.c always writes interleaved, but it does not suffer from this buffering issue. Is there something I need to do before writing the packets? Do I need to modify the packets' pts values before writing? Any help would be appreciated! From bobslf at gmail.com Fri Dec 16 16:47:29 2011 From: bobslf at gmail.com (Bob Self) Date: Fri, 16 Dec 2011 10:47:29 -0500 Subject: [FFmpeg-user] avcodec_decode_video2 question Message-ID: I am trying to get the following program to work to simply get video frames from an avi file. I will run through this outer loop for about 7000 times, and then crashes with an unhandled exception. I'm trying to get individual video frames so I can display them with opengl. I have a VFW version working that does that, but would like to switch to ffmpeg. Is this the correct way to get frames from a video file? thanks, Bob void test_ffmpeg(void) { AVFormatContext *ic; char fname[256]; int err; AVCodec *codec=NULL; AVCodecContext *codec_context = NULL; FILE *stream=NULL; AVFrame *picture=NULL; int frame, got_picture, len; uint8_t inbuf[INBUF_SIZE + FF_INPUT_BUFFER_PADDING_SIZE]; char buf[1024]; AVPacket packet; strcpy(fname, "test.avi"); avcodec_init(); avcodec_register_all(); av_init_packet(&packet); memset(inbuf + INBUF_SIZE, 0, FF_INPUT_BUFFER_PADDING_SIZE); codec = avcodec_find_decoder(CODEC_ID_MPEG4); if (!codec) { goto finis; } codec_context = avcodec_alloc_context(); picture = avcodec_alloc_frame(); codec_context->debug = FF_DEBUG_PICT_INFO; if(codec->capabilities&CODEC_CAP_TRUNCATED) { codec_context->flags|= CODEC_FLAG_TRUNCATED; // we do not send complete frames } if (avcodec_open(codec_context, codec) < 0) { bp = 3; goto finis; } stream = fopen(fname, "rb"); if (!stream) { goto finis; } frame = 0; while(1) { packet.size = fread(inbuf, 1, INBUF_SIZE, stream); // 4096 if (packet.size == 0) { break; } packet.data = inbuf; while (packet.size > 0) { len = avcodec_decode_video2(codec_context, picture, &got_picture, len ? &packet : NULL); if (len < 0) { // do what here? } if (got_picture) { frame++; } else { if (len<0) { break; } } packet.size -= len; packet.data += len; } // while (avpkt.size > 0) { } // while(1) { packet.data = NULL; packet.size = 0; len = avcodec_decode_video2(codec_context, picture, &got_picture, &packet); if (got_picture) { frame++; } finis: FCLOSE(stream); if (codec_context) { avcodec_close(codec_context); av_free(codec_context); codec_context = NULL; } if (picture) { av_free(picture); picture = NULL; } return; } // test_ffmpeg() From blacktrash at gmx.net Fri Dec 16 18:43:46 2011 From: blacktrash at gmx.net (Christian Ebert) Date: Fri, 16 Dec 2011 17:43:46 +0000 Subject: [FFmpeg-user] atom position in mp4 at encoding time ? In-Reply-To: <4EEA51DA.8080601@thelounge.net> References: <4EEA51DA.8080601@thelounge.net> Message-ID: <20111216174346.GL86273@krille.blacktrash.org> * Reindl Harald on Thursday, December 15, 2011 at 21:00:26 +0100 > Am 15.12.2011 20:58, schrieb Bo?tjan Strojan: >> I just happen to notice that my ffmpeg h264.mp4 encodes need to completely >> download before the playback is possible (progressive playback via flash >> player). Is there a solution inside ffmpeg? a special switch? > > no Yes: -moov_size I just don't know how to use it, and my question regarding this went unanswered. c -- Was hei?t hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] free movies --->>> http://www.blacktrash.org/underdogma http://itunes.apple.com/podcast/underdogma-movies/id363423596 From flyingdutchie at gmail.com Fri Dec 16 16:25:48 2011 From: flyingdutchie at gmail.com (Streets Of Boston) Date: Fri, 16 Dec 2011 07:25:48 -0800 (PST) Subject: [FFmpeg-user] Passing Compressed bitmap from C to Android In-Reply-To: References: Message-ID: <15026761.235.1324049148403.JavaMail.geo-discussion-forums@vbnd7> You'd have to show more of the code. Where does *j*bitmap come from? But at least you need to copy the pixels (pixel by pixel) into the buffer of 'bitmap' after you locked it and make sure that pixels copied into there are in the correct format (RGB_565). Look at one of the examples in the API Demoes of the Android SDK. From roger at beardandsandals.co.uk Fri Dec 16 20:46:35 2011 From: roger at beardandsandals.co.uk (Roger James) Date: Fri, 16 Dec 2011 19:46:35 +0000 Subject: [FFmpeg-user] SIGABRT in libavcodec when transcoding ac3 stream In-Reply-To: References: <4EEA31C2.9030609@beardandsandals.co.uk> Message-ID: <4EEBA01B.1060600@beardandsandals.co.uk> On 15/12/11 21:20, Carl Eugen Hoyos wrote: > Roger James beardandsandals.co.uk> writes: > >> ffmpeg version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2000-2011 the Libav >> developers > This is known to be broken and unsupported, please see > http://ffmpeg.org/download.html for supported versions. > Thanks, a recompile from git cured it. Warning messages are now gone and no crash. Roger From de.techno at gmail.com Sat Dec 17 00:05:54 2011 From: de.techno at gmail.com (dE .) Date: Sat, 17 Dec 2011 04:35:54 +0530 Subject: [FFmpeg-user] Header error help... In-Reply-To: <4EE929BF.4070309@listingsmagic.com> References: <4EE929BF.4070309@listingsmagic.com> Message-ID: <4EEBCED2.9080803@gmail.com> On 12/15/11 04:27, Hans Guth wrote: > Have been able to figure out just about any and all formats but this > one is giving us trouble? Anyone know why we are getting the message > below and more importantly what we can do about it? Thanks. > > [root at mail 39312]# /usr/local/bin/ffmpeg -i sample_3GPP2.3g2 -y > -acodec copy sample_3GPP2.swf Do not use non administrative programs as root. This error probably generated cause of incompatible container and codec. From de.techno at gmail.com Sat Dec 17 00:41:03 2011 From: de.techno at gmail.com (dE .) Date: Sat, 17 Dec 2011 05:11:03 +0530 Subject: [FFmpeg-user] FFMPG Error and Server Disconnect In-Reply-To: References: Message-ID: <4EEBD70F.30403@gmail.com> On 12/15/11 20:38, Rob Kaz wrote: > Hi I just came across the FFMPG site and am not sure how to post a > question. I have recently been presented the following FFMPG error message > below on my WHS 2003. The server keeps disconnecting from my netowrk. > > "Windows Error Reporting uses JavaScript to display content > correctly.Please ensure that your browser security settings meet the > following requirements: JavaScript must be enabled. Address a problem > with FFmpeg FFmpeg has stopped working properly. Support for this product > is community-based, providing solutions to common problems through an > online user forum. Typically, this type of support lets you search the > postings of other users for solutions, or ask the group a question if a > solution to your problem is not immediately available" > > It is important to note as well that I am also getting an WiDMS error. I am > not sure if they are related. I have attempted to rectify the WiDMS error > as per this post in the microsoft forums: > > http://social.microsoft.com/Forums/en/whssoftware/thread/35090c89-7657-4b58-87c8-52dadf6d628c > > Note I have ffdshow installed on the server as well and Tversity. These > were originally being used as I was streaming videos to my PS3. What can I > do to get rid of the FFFMPG error? > > Thanks in advance > Address a problem with FFmpeg > > FFmpeg has stopped working properly. > Support for this product is community-based, providing solutions to common > problems through an online user forum. Typically, this type of support lets > you search the postings of other users for solutions, or ask the group a > question if a solution to your problem is not immediately available" > You probably should do the following in order - 1) re-install all drivers 2) re-boot 3) re-install any multimedia programs 4) re-boot 5) Lastly, if doesn't work re-format Windows (as always). Only Bill Gates knows how Windows works -- so you should ask him instead. We use something else. From de.techno at gmail.com Sat Dec 17 01:02:04 2011 From: de.techno at gmail.com (dE .) Date: Sat, 17 Dec 2011 05:32:04 +0530 Subject: [FFmpeg-user] UDP HD channel record BUFFER error In-Reply-To: References: Message-ID: <4EEBDBFC.7040307@gmail.com> On 12/16/11 13:17, spider58 wrote: > Hello. Im windows user (ffmpeg.EXE) > > Im using command as below for recording from UDP > > ffmpeg -y -i UDP://@IPADRESS:PORT -ac 2 -vcodec copy -acodec copy -f flv >> c:\myHDvideo.flv >> > This is recording from UDP HD TV channel but giving warnings about BUFFER > during record as below > > CIRCULAR_BUFFER OVERRUN > This warnings not inperrupting to record. But sometimes ffmpeg is > freezing. Sometimes i must record 4-5 hours HD TV Channel without any > interruption. > > How can i solve buffer problem? > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Uncut console output please. From de.techno at gmail.com Sat Dec 17 01:04:13 2011 From: de.techno at gmail.com (dE .) Date: Sat, 17 Dec 2011 05:34:13 +0530 Subject: [FFmpeg-user] video quality problem with ffmpeg command mov to 3gp In-Reply-To: References: Message-ID: <4EEBDC7D.90209@gmail.com> On 12/16/11 12:42, aris sirajawali wrote: > how to convert video from mp4 to 3gp using ffmpeg. > I use a command like the following: ffmpeg-i INPUT.MOV-acodec libfaac-ab > 12.2k-ac 2-ar 8000-vcodec h263-s QCIF-r 10-b 32k OUTPUT.3GP > but by using the above command, I get the video that is not good. > > whether there is an error on my order and how do i get the command line with > the results of a good video. > > thank you, please help from friends all.. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Maybe you should use -sameq flag instead of all the above, but I'm not use.... From deron at pagestream.org Sat Dec 17 08:42:21 2011 From: deron at pagestream.org (Deron Kazmaier) Date: Sat, 17 Dec 2011 00:42:21 -0700 Subject: [FFmpeg-user] Video capture device Message-ID: <4EEC47DD.3030508@pagestream.org> I have a Decklink HD video card that I would like to use to capture 1280x720 59.94fps video from. I have a sample application that records individual raw video and 48k audio to a file, but would like to extend that to writing some kind of compressed video/audio in a single container. It appears it might be possible to simply pipe this to ffmpeg, but I'm not opposed to digging in and writing some code. This particular device has a (ugg, proprietary) library that makes callback calls with individual frames. What would be the best starting point for this? Thanks, Deron From ubitux at gmail.com Sat Dec 17 10:08:35 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Sat, 17 Dec 2011 10:08:35 +0100 Subject: [FFmpeg-user] More on audio stream mapping In-Reply-To: <4EEB3586.8070804@bbc.co.uk> References: <4EEB3586.8070804@bbc.co.uk> Message-ID: <20111217090835.GE17517@leki> On Fri, Dec 16, 2011 at 12:11:50PM +0000, Tim Nicholson wrote: > I have a file containing 1 video and 4 mono audio streams, and wish > to create a file with 1 video and 2 stereo audio streams. > > Under the old API the extra audio stream was added after the output > filename, but now it is supposed to be done via the -map and > -map_channel commands. > > It therefore seems that the correct way to now achieve this is:- > > ffmpeg -i archive.gxf -c:v copy \ > -c:a libfaac -b:a 96k -ar 48k \ > -map 0:0 -map 0:1 -map 0:2 \ > -ac 2 -map_channel 0.1.0:0.1 -map_channel 0.2.0:0.1 \ > -ac 2 -map_channel 0.3.0:0.2 -map_channel 0.4.0:0.2 \ > out.mp4 > > From my reading of the documentation the:- > > -map 0:0 -map 0:1 -map 0:2 > > maps the video and first two audio streams to the output file, which > is not the mapping I actually want but is the only way I can see to > add the extra output audio stream. Then the:- > > -map_channel 0.1.0:0.1 > > commands overwrite this mapping to put the audio channels where I want them. > > Adding streams by performing a mapping that is not wanted seems to > me to be counter intuitive. Or have I misunderstood things? > > It also appears that you cannot use -c:a copy if using -map_channel > as the copy copies the stream as is, and not the channel. > You can't unfortunately ATM have an output stream composed of multiple input streams (internally an output stream is associated with only one input stream); I though I added a note in the documentation, but my wording is certainly approximative as ever. But this might be possible through the filters when the merge filter will be upstream (there is a pending patch on the mailing list). One could also write some stream preprocessing code to merge the streams. Anyway, you just hit a limitation... -- 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 daverice at mac.com Sat Dec 17 15:50:36 2011 From: daverice at mac.com (David Rice) Date: Sat, 17 Dec 2011 09:50:36 -0500 Subject: [FFmpeg-user] Video capture device In-Reply-To: <4EEC47DD.3030508@pagestream.org> References: <4EEC47DD.3030508@pagestream.org> Message-ID: On Dec 17, 2011, at 2:42 AM, Deron Kazmaier wrote: > I have a Decklink HD video card that I would like to use to capture 1280x720 59.94fps video from. I have a sample application that records individual raw video and 48k audio to a file, but would like to extend that to writing some kind of compressed video/audio in a single container. > > It appears it might be possible to simply pipe this to ffmpeg, but I'm not opposed to digging in and writing some code. This particular device has a (ugg, proprietary) library that makes callback calls with individual frames. What would be the best starting point for this? Have you looked at https://github.com/lu-zero/decklink-ffmpeg or http://smorgasbork.com/bmdcapture/bmdcapture.spec. Blackmagic also linked to their SDK on their support page, this includes their command line capture utility which I think could be used to pipe the streams to ffmpeg. Dave Rice From master at io.ua Sat Dec 17 17:35:48 2011 From: master at io.ua (Anderw Gora) Date: Sat, 17 Dec 2011 18:35:48 +0200 Subject: [FFmpeg-user] New x264 presets Message-ID: <79221515015.20111217183548@io.ua> Hi, My questions is about a canonical way of using libx264 presets for 2-pass encoding in the new ffmpeg 0.8.7 enviroment. There is no such problems with ffmpeg 0.5. 1. Is it enougph to put preset without changing in both passes: ffmpeg ... -pass 1 -vcodec libx264 -preset slow ... ffmpeg ... -pass 2 -vcodec libx264 -preset slow ... With the above settings encoding time differs just twice sometime but differs. Seems, this is to much efforts for the first pass... Some sources tell about, for example, "-preset slow_firstpass" for the first pass with slow preset, but in matter of fact it not working. 2. Is it worth to change presents between passes like: ffmpeg ... -pass 1 -vcodec libx264 -preset superfast ... ffmpeg ... -pass 2 -vcodec libx264 -preset slower ... 3. Is it interesting for honorable community if I share my stats of encoding time and quality with different presets somewhere? --------- Just info of available presets: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo --------- Thank You in advance, Andrew From de.techno at gmail.com Sat Dec 17 14:30:36 2011 From: de.techno at gmail.com (dE .) Date: Sat, 17 Dec 2011 19:00:36 +0530 Subject: [FFmpeg-user] More on audio stream mapping In-Reply-To: <20111217090835.GE17517@leki> References: <4EEB3586.8070804@bbc.co.uk> <20111217090835.GE17517@leki> Message-ID: <4EEC997C.4040408@gmail.com> On 12/17/11 14:38, Cl?ment Boesch wrote: > On Fri, Dec 16, 2011 at 12:11:50PM +0000, Tim Nicholson wrote: >> I have a file containing 1 video and 4 mono audio streams, and wish >> to create a file with 1 video and 2 stereo audio streams. >> >> Under the old API the extra audio stream was added after the output >> filename, but now it is supposed to be done via the -map and >> -map_channel commands. >> >> It therefore seems that the correct way to now achieve this is:- >> >> ffmpeg -i archive.gxf -c:v copy \ >> -c:a libfaac -b:a 96k -ar 48k \ >> -map 0:0 -map 0:1 -map 0:2 \ >> -ac 2 -map_channel 0.1.0:0.1 -map_channel 0.2.0:0.1 \ >> -ac 2 -map_channel 0.3.0:0.2 -map_channel 0.4.0:0.2 \ >> out.mp4 >> >> From my reading of the documentation the:- >> >> -map 0:0 -map 0:1 -map 0:2 >> >> maps the video and first two audio streams to the output file, which >> is not the mapping I actually want but is the only way I can see to >> add the extra output audio stream. Then the:- >> >> -map_channel 0.1.0:0.1 >> >> commands overwrite this mapping to put the audio channels where I want them. >> >> Adding streams by performing a mapping that is not wanted seems to >> me to be counter intuitive. Or have I misunderstood things? >> >> It also appears that you cannot use -c:a copy if using -map_channel >> as the copy copies the stream as is, and not the channel. >> > You can't unfortunately ATM have an output stream composed of multiple > input streams (internally an output stream is associated with only one > input stream); I though I added a note in the documentation, but my > wording is certainly approximative as ever. > > But this might be possible through the filters when the merge filter will > be upstream (there is a pending patch on the mailing list). One could also > write some stream preprocessing code to merge the streams. > > Anyway, you just hit a limitation... > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Also you may extract the multichannel audio first, then merge it using an audio editor like audacity -- that can export all channels to 2 tracks. After exporting from audacity, you can merge it to the video using ffmpeg. From lou at lrcd.com Sat Dec 17 20:09:34 2011 From: lou at lrcd.com (Lou) Date: Sat, 17 Dec 2011 10:09:34 -0900 Subject: [FFmpeg-user] video quality problem with ffmpeg command mov to 3gp In-Reply-To: <4EEBDC7D.90209@gmail.com> References: <4EEBDC7D.90209@gmail.com> Message-ID: <20111217100934.6aca45de@lrcd.com> On Sat, 17 Dec 2011 05:34:13 +0530 "dE ." wrote: > On 12/16/11 12:42, aris sirajawali wrote: > > how to convert video from mp4 to 3gp using ffmpeg. > > I use a command like the following: ffmpeg-i INPUT.MOV-acodec > > libfaac-ab 12.2k-ac 2-ar 8000-vcodec h263-s QCIF-r 10-b 32k > > OUTPUT.3GP but by using the above command, I get the video that is > > not good. > > > > whether there is an error on my order and how do i get the command > > line with the results of a good video. > > > > thank you, please help from friends all.. > > Maybe you should use -sameq flag instead of all the above, but I'm > not use.... The -sameq option is probably the most misused FFmpeg option and it probably doesn't do what you think it does. The old documentation (ffmpeg -h) implied that -sameq meant, "make the output the same quality as the input", but this is not necessarily true. The documentation has been updated, but could still be more descriptive. From coniophora at gmail.com Sat Dec 17 20:25:11 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sat, 17 Dec 2011 12:25:11 -0700 Subject: [FFmpeg-user] video quality problem with ffmpeg command mov to 3gp In-Reply-To: <20111217100934.6aca45de@lrcd.com> References: <4EEBDC7D.90209@gmail.com> <20111217100934.6aca45de@lrcd.com> Message-ID: On Dec 17, 2011, at 12:09 PM, Lou wrote: > On Sat, 17 Dec 2011 05:34:13 +0530 > "dE ." wrote: > >> On 12/16/11 12:42, aris sirajawali wrote: >>> how to convert video from mp4 to 3gp using ffmpeg. >>> I use a command like the following: ffmpeg-i INPUT.MOV-acodec >>> libfaac-ab 12.2k-ac 2-ar 8000-vcodec h263-s QCIF-r 10-b 32k >>> OUTPUT.3GP but by using the above command, I get the video that is >>> not good. >>> >>> whether there is an error on my order and how do i get the command >>> line with the results of a good video. >>> >>> thank you, please help from friends all.. >> >> Maybe you should use -sameq flag instead of all the above, but I'm >> not use.... > > The -sameq option is probably the most misused FFmpeg option and it > probably doesn't do what you think it does. The old documentation > (ffmpeg -h) implied that -sameq meant, "make the output the same > quality as the input", but this is not necessarily true. The > documentation has been updated, but could still be more descriptive. I can't even find sameq in the current manual. From coniophora at gmail.com Sat Dec 17 20:35:30 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sat, 17 Dec 2011 12:35:30 -0700 Subject: [FFmpeg-user] New x264 presets In-Reply-To: <79221515015.20111217183548@io.ua> References: <79221515015.20111217183548@io.ua> Message-ID: <1A3A1907-896C-42BB-A30B-5325F9B432DC@gmail.com> On Dec 17, 2011, at 9:35 AM, Anderw Gora wrote: > Hi, > > My questions is about a canonical way of using libx264 presets > for 2-pass encoding in the new ffmpeg 0.8.7 enviroment. There is no > such problems with ffmpeg 0.5. > > 1. Is it enougph to put preset without changing in both passes: > ffmpeg ... -pass 1 -vcodec libx264 -preset slow ... > ffmpeg ... -pass 2 -vcodec libx264 -preset slow ... > > With the above settings encoding time differs just twice sometime but > differs. Seems, this is to much efforts for the first pass... > > Some sources tell about, for example, "-preset slow_firstpass" for the > first pass with slow preset, but in matter of fact it not working. I don't quite understand what you're saying your problem is. If I understand the x264 --help, the first pass should have faster settings by default, unless you disable that with slow-firstpass (that is a regular option, not a value to follow "-preset" I believe). > 2. Is it worth to change presents between passes like: > ffmpeg ... -pass 1 -vcodec libx264 -preset superfast ... > ffmpeg ... -pass 2 -vcodec libx264 -preset slower ... > > 3. Is it interesting for honorable community if I share my stats of > encoding time and quality with different presets somewhere? > > --------- > Just info of available presets: ultrafast, superfast, veryfast, > faster, fast, medium, slow, slower, veryslow, placebo > --------- I for one would be interested to see your results, including encoding time, file size, and quality. From lbrtchx at gmail.com Sat Dec 17 21:56:55 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Sat, 17 Dec 2011 20:56:55 +0000 Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** In-Reply-To: References: Message-ID: $ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg Cloning into ffmpeg... remote: Counting objects: 192067, done. remote: Compressing objects: 100% (43739/43739), done. remote: Total 192067 (delta 150557), reused 188950 (delta 148049) Receiving objects: 100% (192067/192067), 49.64 MiB | 349 KiB/s, done. Resolving deltas: 100% (150557/150557), done. ~ but then after installing yasm from ~ http://packages.debian.org/squeeze/i386/yasm/download ~ you start getting "ERROR: libdc1394-2 not found" and "libdc1394-2" is nowhere to be found, but libdc1394-22 and libdc1394-22-dev kinds of packages, which I tried and didn't work ~ So what do you do? lbrtchx ~ http://packages.debian.org/search?mode=filename&suite=squeeze§ion=all&arch=any&searchon=contents&keywords=libdc1394 ~ File Packages /usr/lib/debug/usr/lib/libdc1394.so.22.1.4 libdc1394-22-dbg [not kfreebsd-amd64, kfreebsd-i386] /usr/lib/debug/usr/lib/vlc/plugins/access/libdc1394_plugin.so vlc-dbg [not kfreebsd-amd64, kfreebsd-i386] /usr/lib/libdc1394.a libdc1394-22-dev [not kfreebsd-amd64, kfreebsd-i386] /usr/lib/libdc1394.so libdc1394-22-dev [not kfreebsd-amd64, kfreebsd-i386] /usr/lib/libdc1394.so.22 libdc1394-22 [not kfreebsd-amd64, kfreebsd-i386] /usr/lib/libdc1394.so.22.1.4 libdc1394-22 [not kfreebsd-amd64, kfreebsd-i386] /usr/lib/pkgconfig/libdc1394-2.pc libdc1394-22-dev [not kfreebsd-amd64, kfreebsd-i386] /usr/lib/vlc/plugins/access/libdc1394_plugin.so vlc-nox [not kfreebsd-amd64, kfreebsd-i386] /usr/share/doc-base/ldp-en-libdc1394-howto doc-linux-html /usr/share/doc-base/libdc1394-22-doc libdc1394-22-doc /usr/share/doc/HOWTO/en-txt/libdc1394-HOWTO.gz doc-linux-text /usr/share/doc/ffmpeg-doc/html/libdc1394_8c.html ffmpeg-doc /usr/share/doc/ffmpeg-doc/html/libdc1394_8c_source.html ffmpeg-doc /usr/share/doc/libdc1394-22-doc/libdc1394.pdf.gz libdc1394-22-doc /usr/share/doc/libdc1394-22-doc/libdc1394.ps.gz libdc1394-22-doc From cehoyos at ag.or.at Sun Dec 18 01:42:02 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 18 Dec 2011 00:42:02 +0000 (UTC) Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** References: Message-ID: Albretch Mueller gmail.com> writes: > $ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg > Cloning into ffmpeg... > remote: Counting objects: 192067, done. > remote: Compressing objects: 100% (43739/43739), done. > remote: Total 192067 (delta 150557), reused 188950 (delta 148049) > Receiving objects: 100% (192067/192067), 49.64 MiB | 349 KiB/s, done. > Resolving deltas: 100% (150557/150557), done. > ~ > but then after installing yasm from > ~ > http://packages.debian.org/squeeze/i386/yasm/download > ~ > you start getting "ERROR: libdc1394-2 not found" and "libdc1394-2" is > nowhere to be found, but libdc1394-22 and libdc1394-22-dev kinds of > packages, which I tried and didn't work > ~ > So what do you do? I am unable to see any connection between "installing yasm" and "ERROR: libdc1394-2 not found". Please run "./configure && make" in the ffmpeg directory that you cloned. If configure fails, please post the error message and the tail (!) of config.log, if make fails, please run make again, then run "make V=1" and post the complete, uncut console output of "make V=1" (please do not post the complete, uncut console output of the first make run). Carl Eugen From cehoyos at ag.or.at Sun Dec 18 01:45:47 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 18 Dec 2011 00:45:47 +0000 (UTC) Subject: [FFmpeg-user] video quality problem with ffmpeg command mov to 3gp References: <4EEBDC7D.90209@gmail.com> <20111217100934.6aca45de@lrcd.com> Message-ID: Jim Worrall gmail.com> writes: > I can't even find sameq in the current manual. $ ffmpeg -h|grep sameq -sameq use same quantizer as source (implies VBR) sameq works fine for some MPEG-codecs, will probably cause strange issues with other codecs. Carl Eugen From coniophora at gmail.com Sun Dec 18 02:52:34 2011 From: coniophora at gmail.com (Jim Worrall) Date: Sat, 17 Dec 2011 18:52:34 -0700 Subject: [FFmpeg-user] video quality problem with ffmpeg command mov to 3gp In-Reply-To: References: <4EEBDC7D.90209@gmail.com> <20111217100934.6aca45de@lrcd.com> Message-ID: <552E72D8-0E82-4F88-BD58-D97DB83F7918@gmail.com> On Dec 17, 2011, at 5:45 PM, Carl Eugen Hoyos wrote: > Jim Worrall gmail.com> writes: > >> I can't even find sameq in the current manual. > > $ ffmpeg -h|grep sameq > -sameq use same quantizer as source (implies VBR) That's odd, mine, downloaded 2 days ago, and the manual currently at http://ffmpeg.org/ffmpeg.html, both have: " ?same_quant Use same quantizer as source (implies VBR). Note that this is NOT SAME QUALITY. Do not use this option unless you know you need it." From cehoyos at ag.or.at Mon Dec 19 00:06:39 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sun, 18 Dec 2011 23:06:39 +0000 (UTC) Subject: [FFmpeg-user] Problem with decoding of MXF files References: <147ac065.1b930.1343abbf430.Coremail.13760746839@163.com> Message-ID: ?? <13760746839 163.com> writes: > When test with ffplay,it resulted the following errors: > [mxf @ 034F1B60] invalid KAGSize 0 - guessing 1 > [mxf @ 034F1B60] invalid KAGSize 0 - guessing 1 > [mxf @ 034F1B60] index entry 380 + TemporalOffset1 = 381,which is out of bounds > > Please see the sample file at: > http://www.datafilehost.com/download-b080b6a2.html Fixed in current git head and (future) 0.9.1 Thank you for the report, Carl Eugen From lbrtchx at gmail.com Mon Dec 19 03:07:02 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Mon, 19 Dec 2011 02:07:02 +0000 Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** In-Reply-To: References: Message-ID: ~ those were the two files dumping core ~ http://samples.mplayerhq.hu/V-codecs/MJPEGs/grayscale/ ~ I think they, as test files, do dump core ~ About a clean installation of ffmpeg, I am using the following script: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ #!/bin/bash echo "// __ whoami: "$(whoami) echo "// __ ls -l \$0" ls -l $0 # DATE _DT="$(date +%Y%m%d%H%M%S)" echo "// __ _DT: "${_DT} _INST_DIR="/media/sdc1/_/sda1/prjx/ffmpeg/git_clone/ffmpeg" _LOGS_DIR="/media/sdc1/_/sda1/prjx/ffmpeg" _LOG_FL=${_LOGS_DIR}"/ffmpeg_inst_"${_DT}".log.txt" echo "// __ logging to: "${_LOG_FL} _PRFX="/media/sdc1/inst/sw/ffmpeg/" _ARCH="i386" _CPU="686" ${_INST_DIR}"/"configure --prefix=${_PRFX} --arch=${_ARCH} --cpu=${_CPU} \ --enable-libdirac \ --enable-libmp3lame \ --enable-librtmp \ --enable-libx264 \ --enable-libxvid \ --enable-libdc1394 \ --enable-libgsm \ --enable-libschroedinger \ --enable-libspeex \ --enable-libtheora \ --enable-libvorbis \ --enable-zlib \ --enable-bzlib \ --enable-libopenjpeg \ --enable-vdpau \ --enable-pthreads \ --enable-libvpx \ --enable-runtime-cpudetect \ --enable-gpl \ --enable-version3 \ --enable-postproc \ --enable-swscale \ --enable-x11grab \ --disable-network \ --disable-doc \ --disable-ffmpeg \ --disable-ffplay \ --disable-static \ --disable-optimizations \ --disable-static \ --enable-shared \ --disable-stripping \ --disable-mmx \ --disable-mmx2 \ --disable-ssse3 \ --enable-debug=3 \ --samples=${_LOGS_DIR} > ${_LOG_FL} 2>&1 make >> ${_LOG_FL} 2>&1 make install >> ${_LOG_FL} 2>&1 ls -l ${_LOG_FL} tail -n 15 ${_LOG_FL} ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ and what conifg.log is telling me is: ~ $ tail -n 16 config.log 3 int main(void){ return (int) foo; } END /tmp/ffconf.rw0dhMDg.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -pthread -c -o /tmp/ffconf.fsJ2QOWh.o /tmp/ffconf.rw0dhMDg.c gcc -Wl,--as-needed -o /tmp/ffconf.FyKzn4aa /tmp/ffconf.fsJ2QOWh.o -lm -pthread -lz check_mathfunc truncf check_ld cc check_cc BEGIN /tmp/ffconf.rw0dhMDg.c 1 #include 2 float foo(float f) { return truncf(f); } 3 int main(void){ return (int) foo; } END /tmp/ffconf.rw0dhMDg.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -pthread -c -o /tmp/ffconf.fsJ2QOWh.o /tmp/ffconf.rw0dhMDg.c gcc -Wl,--as-needed -o /tmp/ffconf.FyKzn4aa /tmp/ffconf.fsJ2QOWh.o -lm -pthread -lz check_pkg_config libdc1394-2 dc1394/dc1394.h dc1394_new ERROR: libdc1394-2 not found ~ and the log file I use: ~ $ cat /media/sdc1/_/sda1/prjx/ffmpeg/ffmpeg_inst_20111218205614.log.txtERROR: libdc1394-2 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. INSTALL install-progs-yes INSTALL ffmpeg INSTALL ffprobe INSTALL ffserver install: omitting directory `ffmpeg' make: *** [install-progs] Error 1 ~ So what should I do? ~ lbrtchx From lbrtchx at gmail.com Mon Dec 19 03:17:52 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Mon, 19 Dec 2011 02:17:52 +0000 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? Message-ID: the thing is that tika(.apache.org) is sorely missing media file metadata handling ~ http://mail-archives.apache.org/mod_mbox/tika-user/201112.mbox/thread ~ "parsers implementations for media files (mpeg, flv, webm)" ~ and parsing what ffprobe spits is messy and unreliable ~ Have you thought of that? Is this happening any time soon? ~ thanks lbrtchx From cehoyos at ag.or.at Mon Dec 19 05:42:43 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 19 Dec 2011 04:42:43 +0000 (UTC) Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** References: Message-ID: Albretch Mueller gmail.com> writes: > those were the two files dumping core > ~ > http://samples.mplayerhq.hu/V-codecs/MJPEGs/grayscale/ > ~ > I think they, as test files, do dump core The two files work fine for me, what is your problem with them? [...] > --disable-optimizations \ > --disable-mmx \ > --disable-mmx2 \ > --disable-ssse3 \ This does not look very useful, don't you agree? [...] > So what should I do? Please use ./configure && make (or ./configure --prefix=/media/sdc1/inst/sw/ffmpeg/ && make) Carl Eugen From stefano.molfino at libero.it Mon Dec 19 07:57:08 2011 From: stefano.molfino at libero.it (stefano molfino) Date: Mon, 19 Dec 2011 07:57:08 +0100 Subject: [FFmpeg-user] help Message-ID: <6DF654B1-95A1-416A-9AC5-F8B43DC15571@libero.it> Hello I tried to install ffmpeg on Mac Lion but this error: The installation was not successful. ##sudo: /private/etc/sudoers is mode 0644, should be 0440 sudo: no valid sudoers sources found, quitting Thank From tim.nicholson at bbc.co.uk Mon Dec 19 09:02:43 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Mon, 19 Dec 2011 08:02:43 +0000 Subject: [FFmpeg-user] More on audio stream mapping In-Reply-To: <20111217090835.GE17517@leki> References: <4EEB3586.8070804@bbc.co.uk> <20111217090835.GE17517@leki> Message-ID: <4EEEEFA3.3000008@bbc.co.uk> On 17/12/11 09:08, Cl?ment B?sch wrote: > On Fri, Dec 16, 2011 at 12:11:50PM +0000, Tim Nicholson wrote: >> I have a file containing 1 video and 4 mono audio streams, and wish >> to create a file with 1 video and 2 stereo audio streams. >> >> [....] > > You can't unfortunately ATM have an output stream composed of multiple > input streams (internally an output stream is associated with only one > input stream); I though I added a note in the documentation, but my > wording is certainly approximative as ever. > I wasn't entirely sure, which is why I made this post. I will add it to the list of things to look at when I have a go at tidying up the docs.. > But this might be possible through the filters when the merge filter will > be upstream (there is a pending patch on the mailing list). One could also > write some stream preprocessing code to merge the streams. > > Anyway, you just hit a limitation... OK thanks for the clarification Cl?ment -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From zhangjsj at gmail.com Mon Dec 19 09:07:41 2011 From: zhangjsj at gmail.com (Yingzhou Zhang) Date: Mon, 19 Dec 2011 16:07:41 +0800 Subject: [FFmpeg-user] help In-Reply-To: <6DF654B1-95A1-416A-9AC5-F8B43DC15571@libero.it> References: <6DF654B1-95A1-416A-9AC5-F8B43DC15571@libero.it> Message-ID: change /private/etc/sudoers file permission to 0440 2011/12/19 stefano molfino > Hello I tried to install ffmpeg on Mac Lion but this error: > > The installation was not successful. > > ##sudo: /private/etc/sudoers is mode 0644, should be 0440 > sudo: no valid sudoers sources found, quitting > > Thank > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- --------------------- Best Regards From lbrtchx at gmail.com Mon Dec 19 12:08:45 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Mon, 19 Dec 2011 11:08:45 +0000 Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** In-Reply-To: References: Message-ID: On 12/19/11, Carl Eugen Hoyos wrote: > Albretch Mueller gmail.com> writes: > >> those were the two files dumping core >> ~ >> http://samples.mplayerhq.hu/V-codecs/MJPEGs/grayscale/ >> ~ >> I think they, as test files, do dump core > > The two files work fine for me, what is your problem with them? OK, lets try to first install ffmpeg properly and then those two files may ffprobe just fine > > [...] > >> --disable-optimizations \ >> --disable-mmx \ >> --disable-mmx2 \ >> --disable-ssse3 \ > > This does not look very useful, don't you agree? > > [...] Well, it doesn't, but I was trying to disable all optimizations to more easily debug my ffmpeg installation > Please use > ./configure && make > (or ./configure --prefix=/media/sdc1/inst/sw/ffmpeg/ && make) ~ $ ./configure --prefix=/media/sdc1/inst/sw/ffmpeg/ && make yasm not found, use --disable-yasm for a crippled build 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. ~ $ sudo dpkg --install /media/sdc1/_/sda1/prjx/ffmpeg/yasm_0.8.0-1_i386.deb Selecting previously deselected package yasm. (Reading database ... 387468 files and directories currently installed.) Unpacking yasm (from .../ffmpeg/yasm_0.8.0-1_i386.deb) ... Setting up yasm (0.8.0-1) ... Processing triggers for man-db ... ~ then I tried again: ~ $ ./configure --prefix=/media/sdc1/inst/sw/ffmpeg/ && make source path . C compiler gcc ARCH x86 (generic) big-endian no ... ffserver.c:4236:17: warning: 'avcodec_get_context_defaults2' is deprecated (declared at ./libavcodec/avcodec.h:3921) [-Wdeprecated-declarations] LD ffserver_g CP ffserver STRIP ffserver ~ but I don't see anything where the installation should have gone: ~ $ ls -l /media/sdc1/inst/sw/ffmpeg/ total 0 ~ $ tail -n 15 config.log 1 int x; END /tmp/ffconf.jJcsBL5p.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -c -o /tmp/ffconf.eyL1mPW5.o /tmp/ffconf.jJcsBL5p.c check_cflags -Werror=implicit-function-declaration check_cc -Werror=implicit-function-declaration BEGIN /tmp/ffconf.jJcsBL5p.c 1 int x; END /tmp/ffconf.jJcsBL5p.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -c -o /tmp/ffconf.eyL1mPW5.o /tmp/ffconf.jJcsBL5p.c check_cflags -Werror=missing-prototypes check_cc -Werror=missing-prototypes BEGIN /tmp/ffconf.jJcsBL5p.c 1 int x; END /tmp/ffconf.jJcsBL5p.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -c -o /tmp/ffconf.eyL1mPW5.o /tmp/ffconf.jJcsBL5p.c ~ and on the screen I see: ~ ffserver.c: In function 'http_parse_request': ffserver.c:1469:32: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] ffserver.c:1479:32: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] ffserver.c:1482:42: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] ffserver.c: In function 'open_parser': ffserver.c:2124:13: warning: 'parse_only' is deprecated (declared at ./libavcodec/avcodec.h:1754) [-Wdeprecated-declarations] ffserver.c:2126:17: warning: 'parse_only' is deprecated (declared at ./libavcodec/avcodec.h:1754) [-Wdeprecated-declarations] ffserver.c: In function 'open_input_stream': ffserver.c:2190:5: warning: 'read_seek' is deprecated (declared at libavformat/avformat.h:520) [-Wdeprecated-declarations] ffserver.c: In function 'http_prepare_data': ffserver.c:2271:9: warning: 'preload' is deprecated (declared at libavformat/avformat.h:1006) [-Wdeprecated-declarations] ffserver.c:2390:29: warning: 'url_get_max_packet_size' is deprecated (declared at libavformat/avio.h:235) [-Wdeprecated-declarations] ffserver.c: In function 'http_send_data': ffserver.c:2543:21: warning: 'url_write' is deprecated (declared at libavformat/avio.h:230) [-Wdeprecated-declarations] ffserver.c: In function 'rtp_new_av_stream': ffserver.c:3427:9: warning: 'url_open' is deprecated (declared at libavformat/avio.h:227) [-Wdeprecated-declarations] ffserver.c:3430:9: warning: 'url_get_max_packet_size' is deprecated (declared at libavformat/avio.h:235) [-Wdeprecated-declarations] ffserver.c:3453:13: warning: 'url_close' is deprecated (declared at libavformat/avio.h:232) [-Wdeprecated-declarations] ffserver.c: In function 'add_av_stream1': ffserver.c:3490:5: warning: 'av_set_pts_info' is deprecated (declared at libavformat/avformat.h:1731) [-Wdeprecated-declarations] ffserver.c: In function 'parse_ffconfig': ffserver.c:4235:17: warning: 'avcodec_get_context_defaults2' is deprecated (declared at ./libavcodec/avcodec.h:3921) [-Wdeprecated-declarations] ffserver.c:4236:17: warning: 'avcodec_get_context_defaults2' is deprecated (declared at ./libavcodec/avcodec.h:3921) [-Wdeprecated-declarations] LD ffserver_g CP ffserver STRIP ffserver $ From lbrtchx at gmail.com Mon Dec 19 13:15:12 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Mon, 19 Dec 2011 12:15:12 +0000 Subject: [FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 *** In-Reply-To: References: Message-ID: > but I don't see anything where the installation should have gone: ~ Well, I did after running make install ;-) and then both files that were dumping core ffprobed fine ~ thank you lbrtchx ~ $ ls -l /media/sdc1/inst/sw/ffmpeg/ total 16 drwxr-xr-x 2 root root 4096 Dec 19 07:00 bin drwxr-xr-x 9 root root 4096 Dec 19 07:01 include drwxr-xr-x 3 root root 4096 Dec 19 07:01 lib drwxr-xr-x 3 root root 4096 Dec 19 07:00 share ~ $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games $ ffmpeg -version ffmpeg version 0.7.1-4:0.7.1-5, Copyright (c) 2000-2011 the Libav developers built on Sep 5 2011 06:18:41 with gcc 4.6.1 configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --enable-shared --disable-static WARNING: library configuration mismatch avutil configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avcodec configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avformat configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avdevice configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay avfilter configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay swscale configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay postproc configuration: --extra-version='4:0.7.1-5' --arch=i386 --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-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay libavutil 51. 7. 0 / 51. 7. 0 libavcodec 53. 5. 0 / 53. 5. 0 libavformat 53. 2. 0 / 53. 2. 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 ffmpeg 0.7.1-4:0.7.1-5 libavutil 51. 7. 0 / 51. 7. 0 libavcodec 53. 5. 0 / 53. 5. 0 libavformat 53. 2. 0 / 53. 2. 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 $ export PATH=/media/sdc1/inst/sw/ffmpeg/bin:$PATH $ echo $PATH /media/sdc1/inst/sw/ffmpeg/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games $ ffmpeg -version ffmpeg version N-35872-g6d8e6fe, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 19 2011 06:57:29 with gcc 4.6.1 configuration: --prefix=/media/sdc1/inst/sw/ffmpeg libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 ffmpeg N-35872-g6d8e6fe libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 $ ls -l /media/sda1/LklWb/hu/mplayerhq/samples/V-codecs/MJPEGs/grayscale total 14360 -rw-r--r-- 1 knoppix knoppix 3677439 Feb 16 2002 OmpF_Movie.mov -rw-r--r-- 1 knoppix knoppix 897 Dec 10 20:06 index.html -rw-r--r-- 1 knoppix knoppix 90 Dec 18 15:26 md5sum -rw-r--r-- 1 knoppix knoppix 10994043 Feb 8 2006 xz.mov $ ffprobe /media/sda1/LklWb/hu/mplayerhq/samples/V-codecs/MJPEGs/grayscale/OmpF_Movie.mov ffprobe version N-35872-g6d8e6fe, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 19 2011 06:57:29 with gcc 4.6.1 configuration: --prefix=/media/sdc1/inst/sw/ffmpeg libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/sda1/LklWb/hu/mplayerhq/samples/V-codecs/MJPEGs/grayscale/OmpF_Movie.mov': Metadata: creation_time : 2001-11-02 14:13:11 Duration: 00:03:04.62, start: 0.000000, bitrate: 159 kb/s Stream #0:0(eng): Video: mjpeg (mjpa / 0x61706A6D), gray, 100x100 [SAR 72:72 DAR 1:1], 158 kb/s, 8 fps, 8 tbr, 600 tbn, 600 tbc Metadata: creation_time : 2001-11-02 14:13:11 handler_name : ?Apple Alias Data Handler $ ffprobe /media/sda1/LklWb/hu/mplayerhq/samples/V-codecs/MJPEGs/grayscale/xz.mov ffprobe version N-35872-g6d8e6fe, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 19 2011 06:57:29 with gcc 4.6.1 configuration: --prefix=/media/sdc1/inst/sw/ffmpeg libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/sda1/LklWb/hu/mplayerhq/samples/V-codecs/MJPEGs/grayscale/xz.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2006-01-19 18:24:49 Duration: 00:00:10.00, start: 0.000000, bitrate: 8795 kb/s Stream #0:0(eng): Video: mjpeg (jpeg / 0x6765706A), gray, 722x481 [SAR 1:1 DAR 722:481], 8793 kb/s, 10 fps, 10 tbr, 600 tbn, 600 tbc Metadata: creation_time : 2006-01-19 18:24:49 handler_name : ?Apple Alias Data Handler $ From larry at mccourry.net Mon Dec 19 14:19:11 2011 From: larry at mccourry.net (Larry McCourry) Date: Mon, 19 Dec 2011 08:19:11 -0500 Subject: [FFmpeg-user] decoding video frames Message-ID: If I open a mpeg4 file that is almost 2 hours long and read the frames with this function, I only get 2247 frames returned before this function returns false. Is this the correct way to get frames? Why do I only get 2247 frames? bool get_next_frame(void) { int got_picture; AVPacket packet; while (av_read_frame(m_pFormatCtx, &packet) >= 0) { if (packet.stream_index == m_videoStream) { avcodec_decode_video2(m_pCodecCtx, m_pFrame, &got_picture, &packet); if (got_picture) { av_free_packet(&packet); return true; } } av_free_packet(&packet); } return false; } From bobslf at gmail.com Mon Dec 19 14:37:02 2011 From: bobslf at gmail.com (Bob Self) Date: Mon, 19 Dec 2011 08:37:02 -0500 Subject: [FFmpeg-user] decoding video frames Message-ID: If I open a mpeg4 file that is almost 2 hours long and read the frames with this function, I only get 2247 frames returned before this function returns false. Is this the correct way to get frames? Why do I only get 2247 frames? bool get_next_frame(void) { int got_picture; AVPacket packet; while (av_read_frame(m_pFormatCtx, &packet) >= 0) { if (packet.stream_index == m_videoStream) { avcodec_decode_video2(m_pCodecCtx, m_pFrame, &got_picture, &packet); if (got_picture) { av_free_packet(&packet); return true; } } av_free_packet(&packet); } return false; } From stefasab at gmail.com Mon Dec 19 18:41:50 2011 From: stefasab at gmail.com (Stefano Sabatini) Date: Mon, 19 Dec 2011 18:41:50 +0100 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: References: Message-ID: <20111219174149.GB11087@arborea> On date Monday 2011-12-19 02:17:52 +0000, Albretch Mueller encoded: > the thing is that tika(.apache.org) is sorely missing media file > metadata handling > ~ > http://mail-archives.apache.org/mod_mbox/tika-user/201112.mbox/thread > ~ > "parsers implementations for media files (mpeg, flv, webm)" > ~ > and parsing what ffprobe spits is messy and unreliable > ~ > Have you thought of that? Is this happening any time soon? There is a patch floating since more than a month: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/135857 some minor usability issues need to be addressed, since you're a potential user your feedback is very welcome. -- ffmpeg-user random tip #0 Please try to use a reasonably recent version of ffmpeg before asking questions to ffmpeg-user: older versions aren't supported here! From tarotcrcustrasbgfr at gmail.com Mon Dec 19 19:47:08 2011 From: tarotcrcustrasbgfr at gmail.com (Jseb Tarot) Date: Mon, 19 Dec 2011 19:47:08 +0100 Subject: [FFmpeg-user] About HDR-TD10 Message-ID: I want try to work with SONY HDR-TD10 file but ffmpeg "git version!". doesn't support this kind of file. ffprobe answer: ffprobe 00035.MTS ffprobe version N-35517-g070a40f, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 7 2011 21:07:09 with gcc 4.4.4 configuration: --enable-libdc1394 --enable-libmp3lame --enable-x11grab --enable-gpl --enable-nonfree --enable-postproc --enable-libxvid --enable-libtheora --enable-libx264 --enable-libvorbis --prefix=/usr --libdir=/usr/lib64 --enable-libspeex --enable-libschroedinger --enable-libvpx --enable-shared --enable-pic --arch=x86_64 --enable-amd3dnow --enable-amd3dnowext --shlibdir=/usr/lib64 --enable-libxavs --enable-libopenjpeg --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-libopencore-amrnb --enable-libcelt 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 [mpegts @ 0x6128e0] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. [mpegts @ 0x6128e0] probed stream 3 failed [mpegts @ 0x6128e0] parser not found for codec none, packets or times may be invalid. Input #0, mpegts, from '00035.MTS': Duration: 00:00:20.80, start: 1.000033, bitrate: 26380 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) Stream #0:3[0x1012]: Unknown: none (HDMV / 0x564D4448) Unsupported codec with id 0 for input stream 3 I supposes the Stream #0:0 are eye left and steam #0:3 are right eye or invert. but i can't buy this camera, if ffmpeg doesn't support this kind of file. I think SONY create a custom file non-standard. somebody know how to decode this video with ffmpeg with special command ? From tarotcrcustrasbgfr at gmail.com Mon Dec 19 20:44:10 2011 From: tarotcrcustrasbgfr at gmail.com (Jseb Tarot) Date: Mon, 19 Dec 2011 20:44:10 +0100 Subject: [FFmpeg-user] pb SONY HDR-TD10 MTS file Message-ID: I want try to work with SONY HDR-TD10 file but ffmpeg "git version!". doesn't support this kind of file. ffprobe answer: ffprobe 00035.MTS ffprobe version N-35517-g070a40f, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 7 2011 21:07:09 with gcc 4.4.4 configuration: --enable-libdc1394 --enable-libmp3lame --enable-x11grab --enable-gpl --enable-nonfree --enable-postproc --enable-libxvid --enable-libtheora --enable-libx264 --enable-libvorbis --prefix=/usr --libdir=/usr/lib64 --enable-libspeex --enable-libschroedinger --enable-libvpx --enable-shared --enable-pic --arch=x86_64 --enable-amd3dnow --enable-amd3dnowext --shlibdir=/usr/lib64 --enable-libxavs --enable-libopenjpeg --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-libopencore-amrnb --enable-libcelt 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 [mpegts @ 0x6128e0] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. [mpegts @ 0x6128e0] probed stream 3 failed [mpegts @ 0x6128e0] parser not found for codec none, packets or times may be invalid. Input #0, mpegts, from '00035.MTS': Duration: 00:00:20.80, start: 1.000033, bitrate: 26380 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) Stream #0:3[0x1012]: Unknown: none (HDMV / 0x564D4448) Unsupported codec with id 0 for input stream 3 I supposes the Stream #0:0 are eye left and steam #0:3 are right eye or invert. but i can't buy this camera, if ffmpeg doesn't support this kind of file. I think SONY create a custom file non-standard. somebody know how to decode this video with ffmpeg with special command ? I use the git version from 19/12/2011 and that work better thehdmv_pgs_subtitle seem work ;) ffmpeg answer: ffprobe 00035.MTS ffprobe version N-35966-g1d0ae92, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 19 2011 21:16:53 with gcc 4.4.4 configuration: --enable-libdc1394 --enable-libmp3lame --enable-x11grab --enable-gpl --enable-nonfree --enable-postproc --enable-libxvid --enable-libtheora --enable-libx264 --enable-libvorbis --prefix=/usr --libdir=/usr/lib64 --enable-libspeex --enable-libschroedinger --enable-libvpx --enable-shared --enable-pic --arch=x86_64 --enable-amd3dnow --enable-amd3dnowext --shlibdir=/usr/lib64 --enable-libxavs --enable-libopenjpeg --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-libopencore-amrnb --enable-libcelt --enable-libv4l2 --enable-libass libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 1 / 53. 46. 1 libavformat 53. 27. 0 / 53. 27. 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 [mpegts @ 0x6128e0] probed stream 3 failed Input #0, mpegts, from '00035.MTS': Duration: 00:00:20.80, start: 1.000033, bitrate: 26380 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) Stream #0:3[0x1012]: Unknown: none (HDMV / 0x564D4448) Unsupported codec with id 0 for input stream 3 From cehoyos at ag.or.at Tue Dec 20 00:34:44 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 19 Dec 2011 23:34:44 +0000 (UTC) Subject: [FFmpeg-user] pb SONY HDR-TD10 MTS file References: Message-ID: Jseb Tarot gmail.com> writes: > Input #0, mpegts, from '00035.MTS': > > Duration: 00:00:20.80, start: 1.000033, bitrate: 26380 kb/s > Program 1 > Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, > 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc > Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, > 5.1(side), s16, 448 kb/s > Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / > 0x0090) > Stream #0:3[0x1012]: Unknown: none (HDMV / 0x564D4448) > Unsupported codec with id 0 for input stream 3 > > I supposes the Stream #0:0 are eye left and steam #0:3 are right eye or > invert. but i can't buy this camera, if ffmpeg doesn't support this kind of > file. > I think SONY create a custom file non-standard. It looks like MVC to me which is definitely not non-standard (amendment in version 11 of the H.264 standard), but unfortunately is not supported by FFmpeg. Iiuc, the reason is not only the missing MVC decoder but also that it may not be trivial to pass two video streams (0:1 and 0:3) from the demuxer to libavcodec. FFmpeg should decode the "pure" H264 stream fine (that of course is 2D). Could you provide a sample? Carl Eugen http://en.wikipedia.org/wiki/Multiview_Video_Coding From tsinghal18 at gmail.com Tue Dec 20 06:33:28 2011 From: tsinghal18 at gmail.com (Tarun singhal) Date: Tue, 20 Dec 2011 11:03:28 +0530 Subject: [FFmpeg-user] u8 sample format is incompatible with aac Message-ID: Hi everybody, ffmpeg -i a.mp4 -samle_fmt u8 -vcodec libx264 -acodec aac -strict experimental b.mp4 This command gives error that: u8 sample format is incompatible with aac. Assuming s16 by default. Can any body please tell me how can I change the audio resolution of an aac encoded audio stream to u8 using FFmpeg Thanks, Tarun Singhal From moseman at 163.com Tue Dec 20 02:29:16 2011 From: moseman at 163.com (TONY) Date: Tue, 20 Dec 2011 09:29:16 +0800 (CST) Subject: [FFmpeg-user] hello Message-ID: <3860a987.13dd6.13459163aae.Coremail.moseman@163.com> hello? i want to know whether ffmpeg can be compailed in QT.How to do ? thank you! From tarotcrcustrasbgfr at gmail.com Tue Dec 20 09:27:12 2011 From: tarotcrcustrasbgfr at gmail.com (Jseb Tarot) Date: Tue, 20 Dec 2011 09:27:12 +0100 Subject: [FFmpeg-user] pb SONY HDR-TD10 MTS file In-Reply-To: References: Message-ID: Yes! ok! you can download on the URL: http://www.lesnumeriques.com/camescope/sony-hdr-td10-p11050/test.html this site is French. There are 2 videos one with a plane , and other with a car engine. 2011/12/20 Carl Eugen Hoyos > Jseb Tarot gmail.com> writes: > > > Input #0, mpegts, from '00035.MTS': > > > > Duration: 00:00:20.80, start: 1.000033, bitrate: 26380 kb/s > > Program 1 > > Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, > > 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc > > Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, > > 5.1(side), s16, 448 kb/s > > Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / > > 0x0090) > > Stream #0:3[0x1012]: Unknown: none (HDMV / 0x564D4448) > > Unsupported codec with id 0 for input stream 3 > > > > I supposes the Stream #0:0 are eye left and steam #0:3 are right eye or > > invert. but i can't buy this camera, if ffmpeg doesn't support this kind > of > > file. > > I think SONY create a custom file non-standard. > > It looks like MVC to me which is definitely not non-standard (amendment in > version 11 of the H.264 standard), but unfortunately is not supported by > FFmpeg. > Iiuc, the reason is not only the missing MVC decoder but also that it may > not be > trivial to pass two video streams (0:1 and 0:3) from the demuxer to > libavcodec. > FFmpeg should decode the "pure" H264 stream fine (that of course is 2D). > > Could you provide a sample? > > Carl Eugen > > http://en.wikipedia.org/wiki/Multiview_Video_Coding > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From spider58 at gmail.com Tue Dec 20 09:44:43 2011 From: spider58 at gmail.com (spider58) Date: Tue, 20 Dec 2011 10:44:43 +0200 Subject: [FFmpeg-user] Capture Audio From Microphone On Windows Message-ID: Hello. Im using ffmpeg.exe on windows I want to capture sound (Only sound. Not video) from microphone on windows. Im tried to some commands but not accomplished yet. Thanks inadvance. I have "Realtek High Definition Audio" Microphone. From cehoyos at ag.or.at Tue Dec 20 11:11:37 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 20 Dec 2011 10:11:37 +0000 (UTC) Subject: [FFmpeg-user] u8 sample format is incompatible with aac References: Message-ID: Tarun singhal gmail.com> writes: > ffmpeg -i a.mp4 -samle_fmt u8 -vcodec libx264 -acodec aac -strict > experimental b.mp4 > > This command gives error that: u8 sample format is incompatible with aac. > Assuming s16 by default. This is not an error, but a warning to inform you that the sample format had to be changed to to fit the encoder's needs. All aac encoders in FFmpeg currently only accept s16 (and none of the external libraries accept u8 afaict, some would accept s24, s32 and flt). Any reason you want to use u8? Carl Eugen From tsinghal18 at gmail.com Tue Dec 20 13:14:55 2011 From: tsinghal18 at gmail.com (Tarun singhal) Date: Tue, 20 Dec 2011 17:44:55 +0530 Subject: [FFmpeg-user] u8 sample format is incompatible with aac In-Reply-To: References: Message-ID: Oh! Thats a bad news for me. Actually I want to encode a particular media file for thin-end devices and I want to choose the audio resolution as u8 rather than s16 and want to encode it as AAC only.Is there Any way I can achieve that using FFmpeg. And I know that quality will deteriorate but quality is not an issue in my situtation, availibility is. On Tue, Dec 20, 2011 at 3:41 PM, Carl Eugen Hoyos wrote: > Tarun singhal gmail.com> writes: > > > ffmpeg -i a.mp4 -samle_fmt u8 -vcodec libx264 -acodec aac -strict > > experimental b.mp4 > > > > This command gives error that: u8 sample format is incompatible with aac. > > Assuming s16 by default. > > This is not an error, but a warning to inform you that the sample format > had to > be changed to to fit the encoder's needs. > > All aac encoders in FFmpeg currently only accept s16 (and none of the > external > libraries accept u8 afaict, some would accept s24, s32 and flt). > Any reason you want to use u8? > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From Donald.McLachlan at crc.ca Tue Dec 20 15:29:27 2011 From: Donald.McLachlan at crc.ca (Donald McLachlan) Date: Tue, 20 Dec 2011 09:29:27 -0500 Subject: [FFmpeg-user] container for yuv Message-ID: <4EF09BC7.3060309@crc.ca> Hi All, I'm not a video guy so please bear with me if I get some terminology not quite right. I was asked to convert a 4K video to YUV. So I used: ffmpeg -i inputFile.mp4 -f rawvideo outputFile.yuv Because the output file is raw video without a container, players like mplayer cannot play this file without being given the frame size etc. on the command line. I was pointed to YUV4MPEG2 http://wiki.multimedia.cx/index.php?title=YUV4MPEG2 I looked at the output of ffmpeg -codecs, but I did not see anything that looks like this, nor did I see anything that (to me) says it can put YUV into a container. Is there a way one can use ffmpeg to convert a video into YUV format and put it into a container? Thanks, Don From daverice at mac.com Tue Dec 20 15:35:32 2011 From: daverice at mac.com (Dave Rice) Date: Tue, 20 Dec 2011 09:35:32 -0500 Subject: [FFmpeg-user] container for yuv In-Reply-To: <4EF09BC7.3060309@crc.ca> References: <4EF09BC7.3060309@crc.ca> Message-ID: On Dec 20, 2011, at 9:29 AM, Donald McLachlan wrote: > Hi All, > > I'm not a video guy so please bear with me if I get some terminology not quite right. > > I was asked to convert a 4K video to YUV. So I used: The request doesn't really provide enough information. 4K is a vague reference to frame size while YUV is a colorspace. It may be that your 4K file is already in YUV. If not then you could convert it to yuv using the -pix_fmt option. > ffmpeg -i inputFile.mp4 -f rawvideo outputFile.yuv > > Because the output file is raw video without a container, players like mplayer cannot play this file without being given the frame size etc. on the command line. > > I was pointed to YUV4MPEG2 http://wiki.multimedia.cx/index.php?title=YUV4MPEG2 > I looked at the output of ffmpeg -codecs, but I did not see anything that looks like this, nor did I see anything that (to me) says it can put YUV into a container. yuv4mpeg2 is a format rather than a codec Try ffmpeg -i inputFile.mp4 -pix_fmt yuv420p -f yuv4mpegpipe outputFile.y4m If yuv420p is not appropriate use the correct pixel format for the situation. Also note that this command doesn't change the frame size so your output will still be 4K if the input is 4K. Dave Rice From Donald.McLachlan at crc.ca Tue Dec 20 16:17:47 2011 From: Donald.McLachlan at crc.ca (Donald McLachlan) Date: Tue, 20 Dec 2011 10:17:47 -0500 Subject: [FFmpeg-user] container for yuv In-Reply-To: References: <4EF09BC7.3060309@crc.ca> Message-ID: <4EF0A71B.502@crc.ca> On 20/12/2011 9:35 AM, Dave Rice wrote: > On Dec 20, 2011, at 9:29 AM, Donald McLachlan wrote: > >> Hi All, >> >> I'm not a video guy so please bear with me if I get some terminology not quite right. >> >> I was asked to convert a 4K video to YUV. So I used: > The request doesn't really provide enough information. 4K is a vague reference to frame size while YUV is a colorspace. It may be that your 4K file is already in YUV. If not then you could convert it to yuv using the -pix_fmt option. > >> ffmpeg -i inputFile.mp4 -f rawvideo outputFile.yuv >> >> Because the output file is raw video without a container, players like mplayer cannot play this file without being given the frame size etc. on the command line. >> >> I was pointed to YUV4MPEG2 http://wiki.multimedia.cx/index.php?title=YUV4MPEG2 >> I looked at the output of ffmpeg -codecs, but I did not see anything that looks like this, nor did I see anything that (to me) says it can put YUV into a container. > yuv4mpeg2 is a format rather than a codec > Try > ffmpeg -i inputFile.mp4 -pix_fmt yuv420p -f yuv4mpegpipe outputFile.y4m > > If yuv420p is not appropriate use the correct pixel format for the situation. Also note that this command doesn't change the frame size so your output will still be 4K if the input is 4K. > Dave Rice Hi Dave, I did not think the resolution of the video mattered, but I included it just in case. Our goal is to have a file that requires minimal processing at playback time so were will to trade filesize versus cpu. I had checked -pix_fmts and -codecs, but I did not know to check -formats. As I said, I'm not a video guy. Thanks. It works for us. Here is the header output of ffmpeg from a sample file we are using for in house testing. ffmpeg -i 'Lupe (4k resolution).mp4' -f yuv4mpegpipe Lupe4k.y4m ffmpeg version 0.8, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 30 2011 13:01:22 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585] configuration: libavutil 51. 9. 1 / 51. 9. 1 libavcodec 53. 7. 0 / 53. 7. 0 libavformat 53. 4. 0 / 53. 4. 0 libavdevice 53. 1. 1 / 53. 1. 1 libavfilter 2. 23. 0 / 2. 23. 0 libswscale 2. 0. 0 / 2. 0. 0 Seems stream 1 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 23.98 (24000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Lupe (4k resolution).mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isomavc1mp42 creation_time : 2010-07-17 23:35:29 title : Lupe (4k resolution) Duration: 00:02:39.70, start: 0.000000, bitrate: 18790 kb/s Stream #0.0(und): Audio: aac, 48000 Hz, stereo, s16, 122 kb/s Metadata: creation_time : 2010-07-17 23:35:29 Stream #0.1(und): Video: h264 (High), yuv420p, 4096x2304 [PAR 1:1 DAR 16:9], 18665 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc Metadata: creation_time : 2010-07-17 23:35:29 [buffer @ 0x1264c00] w:4096 h:2304 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Output #0, yuv4mpegpipe, to 'Lupe4k.y4m': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isomavc1mp42 creation_time : 2010-07-17 23:35:29 title : Lupe (4k resolution) encoder : Lavf53.4.0 Stream #0.0(und): Video: rawvideo, yuv420p, 4096x2304 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc Metadata: creation_time : 2010-07-17 23:35:29 Stream mapping: Stream #0.1 -> #0.0 Press [q] to stop, [?] for help Thanks again, Don From daverice at mac.com Tue Dec 20 16:25:51 2011 From: daverice at mac.com (Dave Rice) Date: Tue, 20 Dec 2011 10:25:51 -0500 Subject: [FFmpeg-user] container for yuv In-Reply-To: <4EF0A71B.502@crc.ca> References: <4EF09BC7.3060309@crc.ca> <4EF0A71B.502@crc.ca> Message-ID: On Dec 20, 2011, at 10:17 AM, Donald McLachlan wrote: > On 20/12/2011 9:35 AM, Dave Rice wrote: >> >> On Dec 20, 2011, at 9:29 AM, Donald McLachlan wrote: >> >>> Hi All, >>> >>> I'm not a video guy so please bear with me if I get some terminology not quite right. >>> >>> I was asked to convert a 4K video to YUV. So I used: >> The request doesn't really provide enough information. 4K is a vague reference to frame size while YUV is a colorspace. It may be that your 4K file is already in YUV. If not then you could convert it to yuv using the -pix_fmt option. >> >>> ffmpeg -i inputFile.mp4 -f rawvideo outputFile.yuv >>> >>> Because the output file is raw video without a container, players like mplayer cannot play this file without being given the frame size etc. on the command line. >>> >>> I was pointed to YUV4MPEG2 http://wiki.multimedia.cx/index.php?title=YUV4MPEG2 >>> I looked at the output of ffmpeg -codecs, but I did not see anything that looks like this, nor did I see anything that (to me) says it can put YUV into a container. >> yuv4mpeg2 is a format rather than a codec >> Try >> ffmpeg -i inputFile.mp4 -pix_fmt yuv420p -f yuv4mpegpipe outputFile.y4m >> >> If yuv420p is not appropriate use the correct pixel format for the situation. Also note that this command doesn't change the frame size so your output will still be 4K if the input is 4K. >> Dave Rice > > Hi Dave, > > I did not think the resolution of the video mattered, but I included it just in case. Our goal is to have a file that requires minimal processing at playback time so were will to trade filesize versus cpu. If you store a 4K resolution file uncompressed you're likely to hit your disk speed as a bottleneck. If the source is 4096?3112, that's 12,746,752 pixels, since you're likely using yuv420p that 19,120,128 bytes per frame. At 29.97 that's 4.2694 Gb per second. Most hard drives can't output data that fast. > I had checked -pix_fmts and -codecs, but I did not know to check -formats. Try ffmpeg -formats. Dave Rice > As I said, I'm not a video guy. Thanks. It works for us. Here is the header output of ffmpeg from a sample file we are using for in house testing. > > ffmpeg -i 'Lupe (4k resolution).mp4' -f yuv4mpegpipe Lupe4k.y4m > ffmpeg version 0.8, Copyright (c) 2000-2011 the FFmpeg developers > built on Nov 30 2011 13:01:22 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585] > configuration: > libavutil 51. 9. 1 / 51. 9. 1 > libavcodec 53. 7. 0 / 53. 7. 0 > libavformat 53. 4. 0 / 53. 4. 0 > libavdevice 53. 1. 1 / 53. 1. 1 > libavfilter 2. 23. 0 / 2. 23. 0 > libswscale 2. 0. 0 / 2. 0. 0 > > Seems stream 1 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 23.98 (24000/1001) > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Lupe (4k resolution).mp4': > Metadata: > major_brand : mp42 > minor_version : 0 > compatible_brands: isomavc1mp42 > creation_time : 2010-07-17 23:35:29 > title : Lupe (4k resolution) > Duration: 00:02:39.70, start: 0.000000, bitrate: 18790 kb/s > Stream #0.0(und): Audio: aac, 48000 Hz, stereo, s16, 122 kb/s > Metadata: > creation_time : 2010-07-17 23:35:29 > Stream #0.1(und): Video: h264 (High), yuv420p, 4096x2304 [PAR 1:1 DAR 16:9], 18665 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc > Metadata: > creation_time : 2010-07-17 23:35:29 > [buffer @ 0x1264c00] w:4096 h:2304 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: > Output #0, yuv4mpegpipe, to 'Lupe4k.y4m': > Metadata: > major_brand : mp42 > minor_version : 0 > compatible_brands: isomavc1mp42 > creation_time : 2010-07-17 23:35:29 > title : Lupe (4k resolution) > encoder : Lavf53.4.0 > Stream #0.0(und): Video: rawvideo, yuv420p, 4096x2304 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc > Metadata: > creation_time : 2010-07-17 23:35:29 > Stream mapping: > Stream #0.1 -> #0.0 > Press [q] to stop, [?] for help > > Thanks again, > Don > From Donald.McLachlan at crc.ca Tue Dec 20 17:08:24 2011 From: Donald.McLachlan at crc.ca (Donald McLachlan) Date: Tue, 20 Dec 2011 11:08:24 -0500 Subject: [FFmpeg-user] container for yuv In-Reply-To: References: <4EF09BC7.3060309@crc.ca> <4EF0A71B.502@crc.ca> Message-ID: <4EF0B2F8.6090606@crc.ca> On 20/12/2011 10:25 AM, Dave Rice wrote: > On Dec 20, 2011, at 10:17 AM, Donald McLachlan wrote: > >> On 20/12/2011 9:35 AM, Dave Rice wrote: >>> On Dec 20, 2011, at 9:29 AM, Donald McLachlan wrote: >>> >>>> Hi All, >>>> >>>> I'm not a video guy so please bear with me if I get some terminology not quite right. >>>> >>>> I was asked to convert a 4K video to YUV. So I used: >>> The request doesn't really provide enough information. 4K is a vague reference to frame size while YUV is a colorspace. It may be that your 4K file is already in YUV. If not then you could convert it to yuv using the -pix_fmt option. >>> >>>> ffmpeg -i inputFile.mp4 -f rawvideo outputFile.yuv >>>> >>>> Because the output file is raw video without a container, players like mplayer cannot play this file without being given the frame size etc. on the command line. >>>> >>>> I was pointed to YUV4MPEG2http://wiki.multimedia.cx/index.php?title=YUV4MPEG2 >>>> I looked at the output of ffmpeg -codecs, but I did not see anything that looks like this, nor did I see anything that (to me) says it can put YUV into a container. >>> yuv4mpeg2 is a format rather than a codec >>> Try >>> ffmpeg -i inputFile.mp4 -pix_fmt yuv420p -f yuv4mpegpipe outputFile.y4m >>> >>> If yuv420p is not appropriate use the correct pixel format for the situation. Also note that this command doesn't change the frame size so your output will still be 4K if the input is 4K. >>> Dave Rice >> >> Hi Dave, >> >> I did not think the resolution of the video mattered, but I included >> it just in case. Our goal is to have a file that requires minimal >> processing at playback time so were will to trade filesize versus cpu. > > If you store a 4K resolution file uncompressed you're likely to hit > your disk speed as a bottleneck. If the source is 4096?3112, > that's 12,746,752 pixels, since you're likely using yuv420p > that 19,120,128 bytes per frame. At 29.97 that's 4.2694 Gb per second. > Most hard drives can't output data that fast. Not a problem for our RAID array. Worst case sequential read speed is 916 MB/sec = 7.328 Gb per second :-) crc-fsmanager:/usr/local/src/iozone3_398/src/current # ./iozone -a -s 36G -i 0 -i 1 -f /sage/junk Iozone: Performance Test of File I/O Version $Revision: 3.398 $ Compiled for 64 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer. Ben England. Run began: Fri Dec 16 10:21:25 2011 Auto Mode File size set to 37748736 KB Command line used: ./iozone -a -s 36G -i 0 -i 1 -f /sage/junk Output is in Kbytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 Kbytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride KB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 37748736 4 1646784 1751053 1623316 1612042 37748736 8 1957188 2119167 1639095 1607022 37748736 16 2264275 2363946 1592283 1579286 37748736 32 2356344 2520561 1553067 1543598 37748736 64 2505691 2592686 1489351 1477467 37748736 128 2518238 2604410 1391418 1381205 37748736 256 2504904 2586447 938562 933364 37748736 512 2528407 2595810 940123 951379 37748736 1024 2517605 2580054 960786 955005 37748736 2048 2505202 2592549 932404 933584 37748736 4096 2419229 2464026 929779 940346 37748736 8192 2155905 2212610 923048 917926 37748736 16384 2120693 2153394 922434 916141 > >> I had checked -pix_fmts and -codecs, but I did not know to check >> -formats. > > Try ffmpeg -formats. > Dave Rice Now I know I'll check that next time. Thanks again, Don > >> As I said, I'm not a video guy. Thanks. It works for us. Here is >> the header output of ffmpeg from a sample file we are using for in >> house testing. >> >> ffmpeg -i 'Lupe (4k resolution).mp4' -f yuv4mpegpipe Lupe4k.y4m >> ffmpeg version 0.8, Copyright (c) 2000-2011 the FFmpeg developers >> built on Nov 30 2011 13:01:22 with gcc 4.5.1 20101208 >> [gcc-4_5-branch revision 167585] >> configuration: >> libavutil 51. 9. 1 / 51. 9. 1 >> libavcodec 53. 7. 0 / 53. 7. 0 >> libavformat 53. 4. 0 / 53. 4. 0 >> libavdevice 53. 1. 1 / 53. 1. 1 >> libavfilter 2. 23. 0 / 2. 23. 0 >> libswscale 2. 0. 0 / 2. 0. 0 >> >> Seems stream 1 codec frame rate differs from container frame >> rate: 47.95 (5994/125) -> 23.98 (24000/1001) >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Lupe (4k resolution).mp4': >> Metadata: >> major_brand : mp42 >> minor_version : 0 >> compatible_brands: isomavc1mp42 >> creation_time : 2010-07-17 23:35:29 >> title : Lupe (4k resolution) >> Duration: 00:02:39.70, start: 0.000000, bitrate: 18790 kb/s >> Stream #0.0(und): Audio: aac, 48000 Hz, stereo, s16, 122 kb/s >> Metadata: >> creation_time : 2010-07-17 23:35:29 >> Stream #0.1(und): Video: h264 (High), yuv420p, 4096x2304 [PAR >> 1:1 DAR 16:9], 18665 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc >> Metadata: >> creation_time : 2010-07-17 23:35:29 >> [buffer @ 0x1264c00] w:4096 h:2304 pixfmt:yuv420p tb:1/1000000 >> sar:1/1 sws_param: >> Output #0, yuv4mpegpipe, to 'Lupe4k.y4m': >> Metadata: >> major_brand : mp42 >> minor_version : 0 >> compatible_brands: isomavc1mp42 >> creation_time : 2010-07-17 23:35:29 >> title : Lupe (4k resolution) >> encoder : Lavf53.4.0 >> Stream #0.0(und): Video: rawvideo, yuv420p, 4096x2304 [PAR >> 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc >> Metadata: >> creation_time : 2010-07-17 23:35:29 >> Stream mapping: >> Stream #0.1 -> #0.0 >> Press [q] to stop, [?] for help >> >> Thanks again, >> Don >> > From mccmvos at xs4all.nl Tue Dec 20 18:35:08 2011 From: mccmvos at xs4all.nl (Mark Vos) Date: Tue, 20 Dec 2011 18:35:08 +0100 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recording which will play on it? Message-ID: hi list members, I have subscribed to this list because I have spent the last few days desperately trying to convert a VOB file (made by my harddisk/DVD recorder (LG RH7500 ) into an AVI, which can also be played by the same harddisk/DVD recorder (LG RH7500). So I just want to make AVI files from my own recordings. Afraid this device is quite choosy with AVI files. However it does seem to play most of the AVI's I find on the internet, but I have BIG trouble making one myself which will play on the LG RH7500. I did succeed to make AVI test files with ffmpeg which play fine on my other DVD player (Provision), but I would still like the files to be compatible with the recorder aswell, before I start converting en masse. But back to the LG RH7500 recorder: with ffmpeg I succeeded in making a test file of 5 minutes playing time. At first I thought I'd done it. But after a few secs it just quits playing and I get returned into the file menu. I would be very gratefull if some expert could provide a clue, or even better a command line I could try for ffmpeg (Windows build). ------------------------------- All info concerning AVI files from the LG RH7500 recorder manual as follows: About DivX movie files DivX disc compatibility with this recorder is limited as follows:  Available resolution size of the DivX file is under 720x576 (W x H) pixel.  The file name of the DivX subtitle is limited to characters.  The total number of files and folders on the disc should be less than 1999.  If the number of the screen frame is over 29.97 frames per second, this unit may not operate normally.  If the video and audio structure of recorded file is not interleaved, returns to the menu screen.  If the file is recorded with GMC, the unit supports only 1-point of the record level. * GMC? GMC is the acronym for Global Motion Compensation. It is an encoding tool specified in MPEG4 standard. Some MPEG4 encoders, like DivX or Xvid, have this option. There are different levels of GMC encoding, usually called 1-point, 2-point, or 3-point GMC. Playable DivX file ".avi", ".divx" Playable DivX subtitle ".smi", ".srt", ".sub (Micro DVD format only)", ".txt (Micro DVD format only)"  Divx subtitle except those listed above is not displayed on the TV screen. Playable Codec format "DIV3", "MP43", "DIVX", "XVID", "DX50" Playable Audio format "AC3", "PCM", "MP2", "MP3", "WMA"  Sampling frequency: within 8 - 48 kHz (MP3), within 32 - 48kHz (WMA)  Bit rate: within 8 - 320kbps (MP3), 32 - 192kbps (WMA) ------------------------------- Thanks for any working solution! regards, |\ /| | \/ |@rk \../ \/os From dave.bevan at bbc.co.uk Tue Dec 20 18:38:58 2011 From: dave.bevan at bbc.co.uk (Dave Bevan) Date: Tue, 20 Dec 2011 17:38:58 -0000 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recording whichwill play on it? References: Message-ID: Hi Mark. ... >I would be very gratefull if some expert could provide a clue, or even better a command line I could try for ffmpeg (Windows build). ... Do a ffmpeg -i .avi and post the entire output to the list. It will give us an idea of what version you are running and the original, as created by the recorder, file format. --D. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From cehoyos at ag.or.at Tue Dec 20 19:05:20 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 20 Dec 2011 18:05:20 +0000 (UTC) Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recording which will play on it? References: Message-ID: Mark Vos xs4all.nl> writes: > I have subscribed to this list because I have spent the last few days > desperately trying to convert a VOB file (made by my harddisk/DVD recorder (LG > RH7500 ) into an AVI, which can also be played by the same harddisk/DVD > recorder (LG RH7500). (-vtag XVID ?) Please always post your failing command line (in your case the FFmpeg command line that produces the file that does not play on your device) together with complete, uncut console output. Carl Eugen From cehoyos at ag.or.at Tue Dec 20 19:08:13 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 20 Dec 2011 18:08:13 +0000 (UTC) Subject: [FFmpeg-user] container for yuv References: <4EF09BC7.3060309@crc.ca> <4EF0A71B.502@crc.ca> Message-ID: Donald McLachlan crc.ca> writes: > ffmpeg -i 'Lupe (4k resolution).mp4' -f yuv4mpegpipe Lupe4k.y4m > ffmpeg version 0.8, Copyright (c) 2000-2011 the FFmpeg developers Please note that this is old and since it contains many (fixed) bugs it should be considered unsupported. I also consider it unusual that the performance of -yuv4mpegpipe is superior to all other options, but if your RAID is fast enough... Carl Eugen From cehoyos at ag.or.at Tue Dec 20 19:10:45 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 20 Dec 2011 18:10:45 +0000 (UTC) Subject: [FFmpeg-user] u8 sample format is incompatible with aac References: Message-ID: Tarun singhal gmail.com> writes: > Oh! Thats a bad news for me. Actually I want to encode a particular media > file for thin-end devices and I want to choose the audio resolution as u8 > rather than s16 and want to encode it as AAC only. I am certainly no AAC expert but did you check the MPEG-4 audio specification if it says anything about encoding u8? I would have expected that AAC does not support such low resolutions. Please do not top-post on FFmpeg mailing lists, Carl Eugen From mccmvos at xs4all.nl Tue Dec 20 19:15:38 2011 From: mccmvos at xs4all.nl (Mark Vos) Date: Tue, 20 Dec 2011 19:15:38 +0100 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhichwill play on it? References: Message-ID: ----- Original Message ----- From: "Dave Bevan" To: "FFmpeg user questions and RTFMs" Sent: Tuesday, December 20, 2011 6:38 PM Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhichwill play on it? > Hi Mark. > > ... >>I would be very gratefull if some expert could provide a clue, or even >>better a command line I could try for ffmpeg (Windows build). > ... > > Do a ffmpeg -i .avi and post the > entire output to the list. It will give us an idea of what version you are > running and the original, as created by the recorder, file format. > > --D. > hi Dave, I assume you meant ffmpeg -i .VOB, as my recorder produces .VOB files. The result is as follows: D:\temp3\ffmpeg\bin>ffmpeg -i VTS_01_1.VOB ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 13:50:00 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. 32. 0 / 51. 32. 0 libavcodec 53. 43. 0 / 53. 43. 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 [mpeg @ 020D9320] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'VTS_01_1.VOB': Duration: 00:05:00.44, start: 0.218044, bitrate: 4245 kb/s Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DA R 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc At least one output file must be specified D:\temp3\ffmpeg\bin> regards, |\ /| | \/ |@rk \../ \/os From mccmvos at xs4all.nl Tue Dec 20 19:20:51 2011 From: mccmvos at xs4all.nl (Mark Vos) Date: Tue, 20 Dec 2011 19:20:51 +0100 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? References: Message-ID: ----- Original Message ----- From: "Carl Eugen Hoyos" To: Sent: Tuesday, December 20, 2011 7:05 PM Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? > Mark Vos xs4all.nl> writes: > >> I have subscribed to this list because I have spent the last few days >> desperately trying to convert a VOB file (made by my harddisk/DVD >> recorder (LG >> RH7500 ) into an AVI, which can also be played by the same harddisk/DVD >> recorder (LG RH7500). > > (-vtag XVID ?) > > Please always post your failing command line (in your case the FFmpeg > command > line that produces the file that does not play on your device) together > with > complete, uncut console output. > hi Carl, Here are details: ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K -flags +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi D:\temp3\ffmpeg\bin>ffmpeg -i VTS_01_1.VOB ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 13:50:00 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. 32. 0 / 51. 32. 0 libavcodec 53. 43. 0 / 53. 43. 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 [mpeg @ 020D9320] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'VTS_01_1.VOB': Duration: 00:05:00.44, start: 0.218044, bitrate: 4245 kb/s Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DA R 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc At least one output file must be specified regards, |\ /| | \/ |@rk \../ \/os From craze4suresh at gmail.com Tue Dec 20 10:07:13 2011 From: craze4suresh at gmail.com (suresh) Date: Tue, 20 Dec 2011 01:07:13 -0800 (PST) Subject: [FFmpeg-user] overlay livestream videos from IP axis camera Message-ID: <1324372033000-4217115.post@n4.nabble.com> hey guys can anyone suggest how to overlay 2 live stream videos in ffmpeg using the overlay command. the streams are coming from the axis IP camera -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/overlay-livestream-videos-from-IP-axis-camera-tp4217115p4217115.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From dave.bevan at bbc.co.uk Tue Dec 20 20:29:00 2011 From: dave.bevan at bbc.co.uk (Dave Bevan) Date: Tue, 20 Dec 2011 19:29:00 -0000 Subject: [FFmpeg-user] How to make AVI files from LG RH7500recordingwhichwill play on it? References: Message-ID: >> Hi Mark. >> >> ... >>>I would be very gratefull if some expert could provide a clue, or even >>>better a command line I could try for ffmpeg (Windows build). >> ... >> >> Do a ffmpeg -i .avi and post the >> entire output to the list. It will give us an idea of what version you are >> running and the original, as created by the recorder, file format. >> >> --D. >> The relevant segment from your output was: >Input #0, mpeg, from 'VTS_01_1.VOB': > Duration: 00:05:00.44, start: 0.218044, bitrate: 4245 kb/s > Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s > Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc So, using http://code.google.com/p/ffmbc/, I did this: $ ffmbc -i 201112165232EU-SPAIN-ZAPATEROY_RAJOY.mpg -target dvd mark.vob FFmbc version 0.7-rc4 Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers Input #0, mpeg, from '201112165232EU-SPAIN-ZAPATEROY_RAJOY.mpg': Duration: 00:00:57.21, start: 0.270644, bitrate: 7117 kb/s Stream #0.0[0x1e0](und): Video: mpeg2video (Main), yuv420p, 720x576i tff [PAR 64:45 DAR 16:9], 6500 kb/s, 25.00 fps Stream #0.1[0x1c0](und): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Output #0, dvd, to 'mark.vob': Metadata: encoder: FFmbc 0.7 Stream #0.0(und): Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 6000 kb/s, 25.00 fps Stream #0.1(und): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop, [?] for help [mpeg2video @ 0x1d098a0] rc buffer underflow frame= 1431 fps=137 q=2.0 Lsize= 45660kB time=00:00:57.20 bitrate=6539.3kbits/s 00:00:00.46 video:41681kB audio:3131kB global headers:0kB muxing overhead 1.893800% FFmbc has -target, so selecting "dvd" created a file with the same properties (mpeg2video, ac3 audio) as your source VOB file. Carl will whine about not using a current version, but this is what I use, and it's created what you want - the "output" section matches what I think you need. Rgds, --Dave. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From mccmvos at xs4all.nl Tue Dec 20 21:29:40 2011 From: mccmvos at xs4all.nl (Mark Vos) Date: Tue, 20 Dec 2011 21:29:40 +0100 Subject: [FFmpeg-user] How to make AVI files from LGRH7500recordingwhichwill play on it? In-Reply-To: References: Message-ID: <023DF13A075741958703748031A9C1BE@PCvanMarkVos> ----- Original Message ----- From: "Dave Bevan" To: "FFmpeg user questions and RTFMs" Sent: Tuesday, December 20, 2011 8:29 PM Subject: Re: [FFmpeg-user] How to make AVI files from LGRH7500recordingwhichwill play on it? >>> Hi Mark. >>> >>> ... >>>>I would be very gratefull if some expert could provide a clue, or even >>>>better a command line I could try for ffmpeg (Windows build). >>> ... >>> >>> Do a ffmpeg -i .avi and post >>> the >>> entire output to the list. It will give us an idea of what version you >>> are >>> running and the original, as created by the recorder, file format. >>> >>> --D. >>> > > > The relevant segment from your output was: > > >>Input #0, mpeg, from 'VTS_01_1.VOB': >> Duration: 00:05:00.44, start: 0.218044, bitrate: 4245 kb/s >> Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s >> Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR >> 16:15 DAR 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc > > > So, using http://code.google.com/p/ffmbc/, I did this: > > $ ffmbc -i 201112165232EU-SPAIN-ZAPATEROY_RAJOY.mpg -target dvd mark.vob > FFmbc version 0.7-rc4 > Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers > Input #0, mpeg, from '201112165232EU-SPAIN-ZAPATEROY_RAJOY.mpg': > Duration: 00:00:57.21, start: 0.270644, bitrate: 7117 kb/s > Stream #0.0[0x1e0](und): Video: mpeg2video (Main), yuv420p, 720x576i > tff [PAR 64:45 DAR 16:9], 6500 kb/s, 25.00 fps > Stream #0.1[0x1c0](und): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s > Output #0, dvd, to 'mark.vob': > Metadata: > encoder: FFmbc 0.7 > Stream #0.0(und): Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR > 16:9], 6000 kb/s, 25.00 fps > Stream #0.1(und): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s > Stream mapping: > Stream #0.0 -> #0.0 > Stream #0.1 -> #0.1 > Press [q] to stop, [?] for help > [mpeg2video @ 0x1d098a0] rc buffer underflow > frame= 1431 fps=137 q=2.0 Lsize= 45660kB time=00:00:57.20 > bitrate=6539.3kbits/s 00:00:00.46 > video:41681kB audio:3131kB global headers:0kB muxing overhead 1.893800% > > > FFmbc has -target, so selecting "dvd" created a file with the same > properties (mpeg2video, ac3 audio) as your source VOB file. > > Carl will whine about not using a current version, but this is what I use, > and it's created what you want - the "output" section matches what I think > you need. > > Rgds, Thanks for your reply, but I don't quite grasp what you have done. I need to make an AVI file (xvid/divx or whatever) from my original recorded VTS_01_1.VOB. And, to be more specific, one that can also be played on the LG RH7500. I'm at a loss with all the parameters :-( I'm not a video guru, just a modest computer user... Could you suggest an ffmpeg command line to accomplish this? Is info from an AVI file (from internet made by someone else, which does play fine) of any help? ----------------- D:\temp3\ffmpeg\bin>ffmpeg -i archie.avi ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 13:50:00 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. 32. 0 / 51. 32. 0 libavcodec 53. 43. 0 / 53. 43. 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 [mpeg4 @ 020D9C20] Invalid and inefficient vfw-avi packed B frames detected Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (300 00/1) -> 29.97 (30000/1001) Input #0, avi, from 'archie.avi': Metadata: encoder : VirtualDubMod 1.5.4.1 (build 2178/release) IAS1 : English Duration: 00:25:31.49, start: 0.000000, bitrate: 1094 kb/s Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 112 kb /s At least one output file must be specified D:\temp3\ffmpeg\bin> ----------------- regards, |\ /| | \/ |@rk \../ \/os From cehoyos at ag.or.at Tue Dec 20 22:48:23 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 20 Dec 2011 21:48:23 +0000 (UTC) Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recording which will play on it? References: Message-ID: Mark Vos xs4all.nl> writes: > ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K -flags > +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi Does it work without -flags +ilme+ildct? Did you try lower bitrates? Carl Eugen From jpsasi at gmail.com Wed Dec 21 02:04:00 2011 From: jpsasi at gmail.com (Sasikumar JP) Date: Wed, 21 Dec 2011 06:34:00 +0530 Subject: [FFmpeg-user] iOS WMA stream decoding Message-ID: Hi All, I am new to ffmpeg. if this question is already answered please bear with me. I have an application already in appstore which supports aacp and mp3 audio formats. now i want to support WMA. As this format is not supported by apple natively, i am planning to use ffmpeg (libavcodec) library in my iOS app. Basically i have to convert the WMA format to PCM format and play the audio. Could some one guide me, how to handle this using ffmpeg libraries. Any help is highly appreciated. Thanks Sasikumar JP From 13760746839 at 163.com Wed Dec 21 07:50:05 2011 From: 13760746839 at 163.com (=?GBK?B?0KSyqA==?=) Date: Wed, 21 Dec 2011 14:50:05 +0800 (CST) Subject: [FFmpeg-user] How to seek to begin when need to decode second time for a file? Message-ID: <17c2e990.a6b1.1345f624ddc.Coremail.13760746839@163.com> I have an application to capture random frame of video files.My step is as follows: 1.av_open_input_file()... to open the video file. 2.av_read_frame(),avcodec_decode_video2()...to decode and get frames. 3.av_close_input_file()... At step 2, if first time I captrue frame 100, and next 80.I need decode again from beginning of the file and decode to frame 80.So before read_frame(),I called av_seek_frame(pFormatCtx, -1, 0, AVSEEK_FLAG_BACKWARD | AVSEEK_FLAG_ANY | AVSEEK_FLAG_BYTE).for most files,it can seek to beginning of the file.But for some files,like wmv,when use av_read_frame(pFormatCtx, &packet) to get the first frame, the dts and pts resulted to a quite large value. Is there any way to reset pts and dts values?or reset the decoding kernel to beginning of the file(like fseek(file, 0, SEEK_SET))? From spider58 at gmail.com Wed Dec 21 08:22:54 2011 From: spider58 at gmail.com (spider58) Date: Wed, 21 Dec 2011 09:22:54 +0200 Subject: [FFmpeg-user] FFMPEG Crashes while UDP streaming without error(s) Message-ID: Hello. Im recording video from several UDP channels. (24 hours) I have a problem only 1 channel record is working 10 hours or 15 hours etc.. and ffmpeg is crashes. Windows error *FFMPEG HAS STOPPED WORKS* Im using this command *ffmpeg -i udp://@IPADRESS:PORT?buffer_size:655535 -t 14000 -ar 44100 -ac 2 -vcodec copy -async 1 d:\myvid.mp4* My output is below. ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 6 2011 22:02:08 with gcc 4.6.1 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. 24. 0 / 51. 24. 0 libavcodec 53. 28. 0 / 53. 28. 0 libavformat 53. 19. 0 / 53. 19. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 47. 0 / 2. 47. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpegts @ 01E58A80] Unable to seek back to the start [mpeg2video @ 03800940] mpeg_decode_postinit() failure Last message repeated 10 times [mpegts @ 01E58A80] max_analyze_duration 5000000 reached at 5016000 [mpegts @ 01E58A80] Estimating duration from bitrate, this may be inaccurate Input #0, mpegts, from 'udp://@239.40.25.11:1000?buffer_size=65535': Duration: N/A, start: 87132.388433, bitrate: 15384 kb/s Program 35 Metadata: service_name : ?TNT service_provider: ?DOGAN TV Stream #0:0[0x20d]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 15000 kb/s, 27.05 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x30c](tur): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 256 kb/s Stream #0:2[0x30d](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 128 kb/s Stream #0:3[0x11ef]: Unknown: none ([11][0][0][0] / 0x000B) Output #0, mp4, to 'c:\TNTTVPazar.mp4': Metadata: encoder : Lavf53.19.0 Stream #0:0: Video: mpeg2video (a[0][0][0] / 0x0061), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 15000 kb/s, 27.05 fps, 25 tbn, 25 tbc Stream #0:1(tur): Audio: aac (@[0][0][0] / 0x0040), 44100 Hz, 2 channels, s16, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (mp2 -> libvo_aacenc) Press [q] to stop, [?] for help discarding 1049 audio samples frame= 120 fps= 0 q=-1.0 size= 1352kB time=00:00:05.59 bitrate=1979.9kbits/s frame= 140 fps=136 q=-1.0 size= 1544kB time=00:00:06.08 bitrate=2078.7kbits/s frame= 147 fps= 96 q=-1.0 size= 1644kB time=00:00:06.59 bitrate=2041.7kbits/s frame= 164 fps= 80 q=-1.0 size= 1848kB time=00:00:07.17 bitrate=2109.5kbits/s frame= 179 fps= 70 q=-1.0 size= 1949kB time=00:00:07.63 bitrate=2090.2kbits/s frame= 188 fps= 62 q=-1.0 size= 2073kB time=00:00:08.12 bitrate=2089.5kbits/s frame= 203 fps= 56 q=-1.0 size= 2213kB time=00:00:08.66 bitrate=2093.1kbits/s frame= 215 fps= 52 q=-1.0 size= 2379kB time=00:00:09.19 bitrate=2119.8kbits/s frame= 227 fps= 49 q=-1.0 size= 2538kB time=00:00:09.68 bitrate=2147.4kbits/s frame= 242 fps= 47 q=-1.0 size= 2698kB time=00:00:10.17 bitrate=2172.9kbits/s frame= 249 fps= 44 q=-1.0 size= 2846kB time=00:00:10.65 bitrate=2187.3kbits/s frame= 265 fps= 43 q=-1.0 size= 3078kB time=00:00:11.23 bitrate=2244.0kbits/s . . *there are 16 hours record without error(s).* . frame=1451481 fps= 25 q=-1.0 size=20852373kB time=16:07:45.46 bitrate=2941.9kbits/s frame=1451492 fps= 25 q=-1.0 size=20852515kB time=16:07:46.02 bitrate=2941.9kbits/s frame=1451506 fps= 25 q=-1.0 size=20852671kB time=16:07:46.48 bitrate=2941.9kbits/s frame=1451521 fps= 25 q=-1.0 size=20852793kB time=16:07:46.97 bitrate=2941.9kbits/s frame=1451532 fps= 25 q=-1.0 size=20852938kB time=16:07:47.51 bitrate=2941.9kbits/s frame=1451543 fps= 25 q=-1.0 size=20853078kB time=16:07:48.06 bitrate=2941.9kbits/s frame=1451558 fps= 25 q=-1.0 size=20853249kB time=16:07:48.55 bitrate=2941.9kbits/s frame=1451570 fps= 25 q=-1.0 size=20853378kB time=16:07:49.06 bitrate=2941.9kbits/s frame=1451582 fps= 25 q=-1.0 size=20853506kB time=16:07:49.62 bitrate=2941.8kbits/s frame=1451598 fps= 25 q=-1.0 size=20853661kB time=16:07:50.13 bitrate=2941.8kbits/s frame=1451612 fps= 25 q=-1.0 size=20853779kB time=16:07:50.62 bitrate=2941.8kbits/s frame=1451622 fps= 25 q=-1.0 size=20853931kB time=16:07:51.15 bitrate=2941.8kbits/s frame=1451633 fps= 25 q=-1.0 size=20854034kB time=16:07:51.66 bitrate=2941.8kbits/s AND Windows error *FFMPEG HAS STOPPED WORKS No error message, no warning etc. Inadvance thanks. * From thesauce at gmail.com Tue Dec 20 21:26:20 2011 From: thesauce at gmail.com (Malcolm Bechard) Date: Tue, 20 Dec 2011 15:26:20 -0500 Subject: [FFmpeg-user] FLAC or Vorbis audio in .mov file Message-ID: Hey, I'm trying to encode FLAC or vorbis audio to a .mov file using the following command ffmpeg -i input.mov -i input.mp3 -vcodec mjpeg -acodec flac output.mov ffmpeg -i input.mov -i input.mp3 -vcodec mjpeg -acodec libvorbis output.mov I see the error: Warning, using MS style audio codec tag, the file may be unplayable! And the file is infact unplayable in VLC player. According to this page (which I understand isn't the definitive answer), both of these codecs should be legal in that container: http://en.wikipedia.org/wiki/Comparison_of_container_formats#Audio_formats_supported Looking into the ffmpeg code, I see in the file libavformat/isom.c has the list of codec->tags which are legal. Vorbis is commented out in that file, and FLAC is missing. Is this just a matter of adding these codecs to this list, or is there other work that needs to be done to add proper support for this audio codecs in this container format? Thanks Malcolm From humingyin at 126.com Wed Dec 21 08:29:45 2011 From: humingyin at 126.com (humingyin) Date: Wed, 21 Dec 2011 15:29:45 +0800 Subject: [FFmpeg-user] ./configure --enable-shared --prefix=/usr/local/ffmpeg error Message-ID: <201112211529380595970@126.com> root at ubuntu:/home/humy/ffmpeg# ./configure --enable-shared --prefix=/usr/local/ffmpeg yasm not found, use --disable-yasm for a crippled build 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. root at ubuntu:/home/humy/ffmpeg# 2011-12-21 humingyin From bostjan.strojan at gmail.com Wed Dec 21 09:34:21 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Wed, 21 Dec 2011 09:34:21 +0100 Subject: [FFmpeg-user] split output to predefined size while transcoding? Message-ID: Say i have a long AVC.mp4 file as input and i'am converting this to some editing format (like prores). Is it possible to make the output split into several files, based on size maybe (or maybe based on position of original I frames?), so i get: file1.mov file2.mov file3 < still transcoding and i can use file1 and 2 at once for editing, while the rest is still generating? thanks From tim.nicholson at bbc.co.uk Wed Dec 21 10:06:46 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Wed, 21 Dec 2011 09:06:46 +0000 Subject: [FFmpeg-user] split output to predefined size while transcoding? In-Reply-To: References: Message-ID: <4EF1A1A6.6080208@bbc.co.uk> On 21/12/11 08:34, Bo?tjan Strojan wrote: > Say i have a long AVC.mp4 file as input and i'am converting this to some > editing format (like prores). Is it possible to make the output split into > several files, based on size maybe (or maybe based on position of original > I frames?), so i get: > file1.mov > file2.mov > file3< still transcoding > and i can use file1 and 2 at once for editing, while the rest is still > generating? I think you would need a batch file and make use of the "-ss" and "-t" options to iterate over parts of the source file. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From de.techno at gmail.com Wed Dec 21 05:01:42 2011 From: de.techno at gmail.com (dE .) Date: Wed, 21 Dec 2011 09:31:42 +0530 Subject: [FFmpeg-user] hello In-Reply-To: <3860a987.13dd6.13459163aae.Coremail.moseman@163.com> References: <3860a987.13dd6.13459163aae.Coremail.moseman@163.com> Message-ID: <4EF15A26.6010107@gmail.com> On 12/20/11 06:59, TONY wrote: > hello? > i want to know whether ffmpeg can be compailed in QT.How to do ? thank you! > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user QT is not an OS or hardware -- it's a toolkit. From james.darnley at gmail.com Wed Dec 21 10:37:06 2011 From: james.darnley at gmail.com (James Darnley) Date: Wed, 21 Dec 2011 10:37:06 +0100 Subject: [FFmpeg-user] ./configure --enable-shared --prefix=/usr/local/ffmpeg error In-Reply-To: <201112211529380595970@126.com> References: <201112211529380595970@126.com> Message-ID: <4EF1A8C2.6040506@gmail.com> On 2011-12-21 08:29, humingyin wrote: > root at ubuntu:/home/humy/ffmpeg# ./configure --enable-shared --prefix=/usr/local/ffmpeg > yasm not found, use --disable-yasm for a crippled build What about this do you not understand? You need to install yasm. From bostjan.strojan at gmail.com Wed Dec 21 10:37:45 2011 From: bostjan.strojan at gmail.com (=?UTF-8?Q?Bo=C5=A1tjan_Strojan?=) Date: Wed, 21 Dec 2011 10:37:45 +0100 Subject: [FFmpeg-user] split output to predefined size while transcoding? In-Reply-To: <4EF1A1A6.6080208@bbc.co.uk> References: <4EF1A1A6.6080208@bbc.co.uk> Message-ID: right, is it possible to make a list of I frame positions using ffmpeg? On Wed, Dec 21, 2011 at 10:06 AM, Tim Nicholson wrote: > On 21/12/11 08:34, Bo?tjan Strojan wrote: > >> Say i have a long AVC.mp4 file as input and i'am converting this to some >> editing format (like prores). Is it possible to make the output split into >> several files, based on size maybe (or maybe based on position of original >> I frames?), so i get: >> file1.mov >> file2.mov >> file3< still transcoding >> and i can use file1 and 2 at once for editing, while the rest is still >> generating? >> > > I think you would need a batch file and make use of the "-ss" and "-t" > options to iterate over parts of the source file. > > > -- > Tim > > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > ______________________________**_________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/**listinfo/ffmpeg-user > From de.techno at gmail.com Wed Dec 21 05:24:35 2011 From: de.techno at gmail.com (dE .) Date: Wed, 21 Dec 2011 09:54:35 +0530 Subject: [FFmpeg-user] u8 sample format is incompatible with aac In-Reply-To: References: Message-ID: <4EF15F83.1090502@gmail.com> On 12/20/11 17:44, Tarun singhal wrote: > Oh! Thats a bad news for me. Actually I want to encode a particular media > file for thin-end devices and I want to choose the audio resolution as u8 > rather than s16 and want to encode it as AAC only.Is there Any way I can > achieve that using FFmpeg. > And I know that quality will deteriorate but quality is not an issue in my > situtation, availibility is. > On Tue, Dec 20, 2011 at 3:41 PM, Carl Eugen Hoyos wrote: > >> Tarun singhal gmail.com> writes: >> >>> ffmpeg -i a.mp4 -samle_fmt u8 -vcodec libx264 -acodec aac -strict >>> experimental b.mp4 >>> >>> This command gives error that: u8 sample format is incompatible with aac. >>> Assuming s16 by default. >> This is not an error, but a warning to inform you that the sample format >> had to >> be changed to to fit the encoder's needs. >> >> All aac encoders in FFmpeg currently only accept s16 (and none of the >> external >> libraries accept u8 afaict, some would accept s24, s32 and flt). >> Any reason you want to use u8? >> >> Carl Eugen >> >> _______________________________________________ >> 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 Why not just reduce the sample rate and bitrate? From tim.nicholson at bbc.co.uk Wed Dec 21 11:19:17 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Wed, 21 Dec 2011 10:19:17 +0000 Subject: [FFmpeg-user] split output to predefined size while transcoding? In-Reply-To: References: <4EF1A1A6.6080208@bbc.co.uk> Message-ID: <4EF1B2A5.7000004@bbc.co.uk> On 21/12/11 09:37, Bo?tjan Strojan wrote: > right, is it possible to make a list of I frame positions using ffmpeg? > Yes, use the select filter chained into the showinfo filter:- ffmpeg -i in.mp4 -vf "select='eqpict_type\,I)', showinfo" -f mp4 -y /dev/null > On Wed, Dec 21, 2011 at 10:06 AM, Tim Nicholsonwrote: > >> On 21/12/11 08:34, Bo?tjan Strojan wrote: >> >>> Say i have a long AVC.mp4 file as input and i'am converting this to some >>> editing format (like prores). Is it possible to make the output split into >>> several files, based on size maybe (or maybe based on position of original >>> I frames?), so i get: >>> file1.mov >>> file2.mov >>> file3< still transcoding >>> and i can use file1 and 2 at once for editing, while the rest is still >>> generating? >>> >> >> I think you would need a batch file and make use of the "-ss" and "-t" >> options to iterate over parts of the source file. >> >> >> -- >> Tim -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From cehoyos at ag.or.at Wed Dec 21 12:02:36 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 21 Dec 2011 11:02:36 +0000 (UTC) Subject: [FFmpeg-user] FFMPEG Crashes while UDP streaming without error(s) References: Message-ID: spider58 gmail.com> writes: > Hello. Im recording video from several UDP channels. (24 hours) > > I have a problem only 1 channel > > record is working 10 hours or 15 hours etc.. and ffmpeg is crashes. > > Windows error *FFMPEG HAS STOPPED WORKS* Please read http://ffmpeg.org/bugreports.html Carl Eugen From cehoyos at ag.or.at Wed Dec 21 13:32:23 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 21 Dec 2011 12:32:23 +0000 (UTC) Subject: [FFmpeg-user] FLAC or Vorbis audio in .mov file References: Message-ID: Malcolm Bechard gmail.com> writes: > ffmpeg -i input.mov -i input.mp3 -vcodec mjpeg -acodec flac output.mov I believe this produces a playable file > ffmpeg -i input.mov -i input.mp3 -vcodec mjpeg -acodec libvorbis output.mov I am not so sure about this one... > I see the error: > Warning, using MS style audio codec tag, the file may be unplayable! So to sum up your report: "FFmpeg warned me that my output file may be unplayable, but the file does not play with vlc!" I assume it works fine with ffplay (for both) and MPlayer (for flac)? If you want to help, please try to fine the stream specifiers in the sources of http://xiph.org/quicktime/ (I did not succeed). You could also try if ffmpeg -i input.mov -acodec flac outf.wav play with vlc: If it does, vlc needs to read riff twoccs for tags starting with "ms" (and it also means many certainly valid files will likely not play), if it does not play, I would assume vlc does not define twoccs for (vorbis and) flac (and I would consider it a bad idea if they invent new ones). Carl Eugen From mccmvos at xs4all.nl Wed Dec 21 14:15:29 2011 From: mccmvos at xs4all.nl (Mark Vos) Date: Wed, 21 Dec 2011 14:15:29 +0100 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? In-Reply-To: References: Message-ID: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> ----- Original Message ----- From: "Carl Eugen Hoyos" To: Sent: Tuesday, December 20, 2011 10:48 PM Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? > Mark Vos xs4all.nl> writes: > >> ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K -flags >> +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi > > Does it work without -flags +ilme+ildct? > Did you try lower bitrates? > Yes, I took care to stay under 720x576 as stated in my user manual notes, posted in my initial message. But I'm at a total loss about all the other ffmpeg parameters. Though they are mentioned in the help, they are not really explained what they are used for and when to use or not to use them. Isn't there some example command line ensuring maxumum hardware compatibility? One other hint, I remember getting an avi file called "delete.avi" made by ffmpeg. No idea where it came from, I hadn't used that name. For testing I had it also copied to DVD. When I tried playing it, it worked... and even kept playing, but it was without sound. I think I still have it on the other PC. regards, |\ /| | \/ |@rk \../ \/os From ipodobin at gmail.com Wed Dec 21 14:27:03 2011 From: ipodobin at gmail.com (=?UTF-8?Q?Igor_Podobi=C5=84ski?=) Date: Wed, 21 Dec 2011 14:27:03 +0100 Subject: [FFmpeg-user] muxing into mxf im50 Message-ID: Hello, I am trying to mux files into mxf container. Input files: - test.m2v - test_1.wav - test_2.wav - test_3.wav - test_4.wav Output file: output.mxf Used command: --- ffmpeg -y -i test.m2v -i test_1.wav -i test_2.wav -i test_3.wav -i test_4.wav -acodec copy -ac 4 -map_channel 1.0.0:0.1 -map_channel 2.0.0:0.1 -map_channel 3.0.0:0.1 -map_channel 4.0.0:0.1 -b:v 50000k -f mxf_d10 output.mxf --- I am receiving this file: --- Stream #0:0 -> #0:0 (copy) --- Input #0, mxf, from 'output.mxf': Duration: 00:00:14.24, start: 0.000000, bitrate: 50178 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 608:405 DAR 16 :9], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc --- but I want to get something like this: --- Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 [channel: 0 -> 0] Stream #2.0 -> #0.1 [channel: 0 -> 1] Stream #3.0 -> #0.1 [channel: 0 -> 2] Stream #4.0 -> #0.1 [channel: 0 -> 3] --- Input #0, mxf, from 'ffmbc_d10.mxf': Duration: 00:00:14.24, start: 0.000000, bitrate: 62569 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 608:405 DAR 16 :9], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s --- (done using ffmbc with command: --- ffmbc -y -i test.m2v -i test_1.wav -i test_2.wav -i test_3.wav -i test_4.wav -map_audio_channel 1:0:0:0:1 -map_audio_channel 2:0:0:0:1 -map_audio_channel 3:0:0:0:1 -map_audio_channel 4:0:0:0:1 -timecode 00:00:11:01 -vcodec copy -target imx50 -acodec pcm_s16le -ac 4 -f mxf_d10 test_d10.mxf ---) Does anyone knows how to do mapping audio file into specific channel in output file? Thanks, Igor -- Igor Podobi?ski mob: +48 501031552 mail: ipodobin at gmail.com From ubitux at gmail.com Wed Dec 21 14:34:51 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Wed, 21 Dec 2011 14:34:51 +0100 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: References: Message-ID: <20111221133451.GD28001@leki> On Wed, Dec 21, 2011 at 02:27:03PM +0100, Igor Podobi?ski wrote: [...] > but I want to get something like this: > --- > Stream #0.0 -> #0.0 > Stream #1.0 -> #0.1 [channel: 0 -> 0] > Stream #2.0 -> #0.1 [channel: 0 -> 1] > Stream #3.0 -> #0.1 [channel: 0 -> 2] > Stream #4.0 -> #0.1 [channel: 0 -> 3] Audio stream merging is not yet implemented; quoting the documentation: Note that "-map_channel" is currently limited to the scope of one input for each output; you can't for example use it to pick multiple input audio files and mix them into one single output. [...] -- 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 ipodobin at gmail.com Wed Dec 21 14:40:01 2011 From: ipodobin at gmail.com (=?UTF-8?Q?Igor_Podobi=C5=84ski?=) Date: Wed, 21 Dec 2011 14:40:01 +0100 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: <20111221133451.GD28001@leki> References: <20111221133451.GD28001@leki> Message-ID: Thanks. I must have missed this. Do you have any idea when it will be implemented? Thanks, Igor -- Igor Podobi?ski mob: +48 501031552 mail: ipodobin at gmail.com 2011/12/21 Cl?ment B?sch > On Wed, Dec 21, 2011 at 02:27:03PM +0100, Igor Podobi?ski wrote: > [...] > > but I want to get something like this: > > --- > > Stream #0.0 -> #0.0 > > Stream #1.0 -> #0.1 [channel: 0 -> 0] > > Stream #2.0 -> #0.1 [channel: 0 -> 1] > > Stream #3.0 -> #0.1 [channel: 0 -> 2] > > Stream #4.0 -> #0.1 [channel: 0 -> 3] > > Audio stream merging is not yet implemented; quoting the documentation: > > Note that "-map_channel" is currently limited to the scope of one > input for each output; you can't for example use it to pick multiple > input audio files and mix them into one single output. > > [...] > > -- > Cl?ment B. > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > From ubitux at gmail.com Wed Dec 21 14:48:35 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Wed, 21 Dec 2011 14:48:35 +0100 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: References: <20111221133451.GD28001@leki> Message-ID: <20111221134835.GE28001@leki> On Wed, Dec 21, 2011 at 02:40:01PM +0100, Igor Podobi?ski wrote: > Thanks. I must have missed this. > > Do you have any idea when it will be implemented? > Not sure. A workaround may be available as soon as the "amerge" audio filter is upstream. One developer is working on it but I can't estimate his motivation, his time and the amount of work needed from his side. You can follow the developer mailing list and eventually grab more information. Another possibility is to add an audio stream merging "hack" before the streams are processed in ffmpeg.c as I mentioned in a recent mail on this mailing list. AFAIK, no issue is yet opened for this feature yet; you might want to open one on the bug tracker to follow the related development. Note: It is considered rude to top post on this mailing list, please don't do it. -- 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 tim.nicholson at bbc.co.uk Wed Dec 21 15:08:13 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Wed, 21 Dec 2011 14:08:13 +0000 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: <20111221133451.GD28001@leki> References: <20111221133451.GD28001@leki> Message-ID: <4EF1E84D.8050107@bbc.co.uk> On 21/12/11 13:34, Cl?ment B?sch wrote: > On Wed, Dec 21, 2011 at 02:27:03PM +0100, Igor Podobi?ski wrote: > [...] >> but I want to get something like this: >> --- >> Stream #0.0 -> #0.0 >> Stream #1.0 -> #0.1 [channel: 0 -> 0] >> Stream #2.0 -> #0.1 [channel: 0 -> 1] >> Stream #3.0 -> #0.1 [channel: 0 -> 2] >> Stream #4.0 -> #0.1 [channel: 0 -> 3] > > Audio stream merging is not yet implemented; quoting the documentation: > > Note that "-map_channel" is currently limited to the scope of one > input for each output; you can't for example use it to pick multiple > input audio files and mix them into one single output. To which perhaps should be added:= "..you can't for example use it to pick multiple input audio channels from separate streams and mix them into one single output stream. I am working on the wording for a patch at the moment.. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From tim.nicholson at bbc.co.uk Wed Dec 21 15:12:07 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Wed, 21 Dec 2011 14:12:07 +0000 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: <20111221134835.GE28001@leki> References: <20111221133451.GD28001@leki> <20111221134835.GE28001@leki> Message-ID: <4EF1E937.3080203@bbc.co.uk> On 21/12/11 13:48, Cl?ment B?sch wrote: > On Wed, Dec 21, 2011 at 02:40:01PM +0100, Igor Podobi?ski wrote: >> Thanks. I must have missed this. >> >> Do you have any idea when it will be implemented? >> > > Not sure. A workaround may be available as soon as the "amerge" audio > filter is upstream. One developer is working on it but I can't estimate > his motivation, his time and the amount of work needed from his side. You > can follow the developer mailing list and eventually grab more > information. > Using a filter for simple remapping feels OTT imho. > Another possibility is to add an audio stream merging "hack" before the > streams are processed in ffmpeg.c as I mentioned in a recent mail on this > mailing list. > The ffmbc syntax is pretty straightforward and understandable and I would suggest a good model to follow. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From lists at baums-on-web.de Wed Dec 21 15:20:59 2011 From: lists at baums-on-web.de (Heiko Baums) Date: Wed, 21 Dec 2011 15:20:59 +0100 Subject: [FFmpeg-user] Capturing from DVB-T card Message-ID: <20111221152059.28e72091@darkstar> Hi, I tried to capture a VHS-Video with ffmpeg but only got a black picture while the sound was captured correctly. I tried it with these commands: ffmpeg -f alsa -ac 2 -i plughw:0 -f video4linux2 -i /dev/video0 movie.mpg ffmpeg -f alsa -ac 2 -ar 48000 -i plughw:0 -f video4linux2 -pix_fmt yuv422p -s 768x576 -r 30000/1001 -i/dev/video0 -pix_fmt yuv422p -vcodec huffyuv -vsync 2 -aspect 4:3 -f avi -s 768x576 -r 30000/1001 -y movie.avi I'm not sure if this is the problem, but I have a Terratec Cinergy 1400 DVB-T with a cx88 chip. It has a combined S-Video and Composite input. So for v4l2 there can be selected three video sources (DVB-T, S-Video and Composite) of which I need the Composite source. man ffmpeg says: "Note that you must activate the right video source and channel before launching ffmpeg with any TV viewer such as xawtv ("http://linux.bytesex.org/xawtv/") by Gerd Knorr." The problem is that the source can only be set for the particular application but not system wide. So either the application saves the default by itself or the selection is lost. It defaults to DVB-T. And while having xawtv or tvtime running it's not possible to capture with ffmpeg because the device is busy. Is there a way to handle this with ffmpeg or should I file a bug report or a feature request? Or am I missing anything or am I doing anything else wrong? It would be nice if someone could help me. Cheers, Heiko From ubitux at gmail.com Wed Dec 21 15:21:45 2011 From: ubitux at gmail.com (=?utf-8?B?Q2zDqW1lbnQgQsWTc2No?=) Date: Wed, 21 Dec 2011 15:21:45 +0100 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: <4EF1E937.3080203@bbc.co.uk> References: <20111221133451.GD28001@leki> <20111221134835.GE28001@leki> <4EF1E937.3080203@bbc.co.uk> Message-ID: <20111221142145.GA352@leki> On Wed, Dec 21, 2011 at 02:12:07PM +0000, Tim Nicholson wrote: > On 21/12/11 13:48, Cl?ment B?sch wrote: > >On Wed, Dec 21, 2011 at 02:40:01PM +0100, Igor Podobi?ski wrote: > >>Thanks. I must have missed this. > >> > >>Do you have any idea when it will be implemented? > >> > > > >Not sure. A workaround may be available as soon as the "amerge" audio > >filter is upstream. One developer is working on it but I can't estimate > >his motivation, his time and the amount of work needed from his side. You > >can follow the developer mailing list and eventually grab more > >information. > > > > Using a filter for simple remapping feels OTT imho. > It might be a workaround for a first, not a final solution. > > >Another possibility is to add an audio stream merging "hack" before the > >streams are processed in ffmpeg.c as I mentioned in a recent mail on this > >mailing list. > > > > The ffmbc syntax is pretty straightforward and understandable and I > would suggest a good model to follow. > If a filter exists, it can be reused in ffmpeg.c: any solution will lead to the same usage. This is more a dev discussion, but as I see the thing it will either use the filter, a ffmpeg.c hack, or a new helper in libswr or lavu; whatever the solution the goal is then to integrate it with -map_channel, and not request a particular usage from the users. -- 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 phil_rhodes at rocketmail.com Wed Dec 21 15:22:10 2011 From: phil_rhodes at rocketmail.com (Phil Rhodes) Date: Wed, 21 Dec 2011 14:22:10 -0000 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? In-Reply-To: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> References: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> Message-ID: > Isn't there some example command line ensuring maxumum hardware > compatibility? Sadly no. Hardware devices tend to be very picky about what they will and won't play, simply because they can't possibly have the internal flexibility that software does. There are a huge number of variables concerning how modern video codecs are set up, so even if you have two files of a notionally identical format, which one piece of software considers the same and handles fine, you may find that your set top box will play one but not the other. Unfortunately this is exactly the point where you will probably have to start playing with all of the trickiest and most advanced options, and as you've realised there is very little documentation. About all you can do is ask on this list and hope someone can help you out. P From cehoyos at ag.or.at Wed Dec 21 15:26:22 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 21 Dec 2011 14:26:22 +0000 (UTC) Subject: [FFmpeg-user] Capturing from DVB-T card References: <20111221152059.28e72091@darkstar> Message-ID: Heiko Baums baums-on-web.de> writes: > ffmpeg -f alsa -ac 2 -i plughw:0 -f video4linux2 -i /dev/video0 > movie.mpg Does mplayer tv:// work? If yes, run it (and exit) before trying above command line (same with xawtv). Carl Eugen From openworld at uralweb.ru Wed Dec 21 16:15:50 2011 From: openworld at uralweb.ru (Alexander Bokovikov) Date: Wed, 21 Dec 2011 20:15:50 +0500 Subject: [FFmpeg-user] ./configure --enable-shared --prefix=/usr/local/ffmpeg error In-Reply-To: <201112211529380595970@126.com> References: <201112211529380595970@126.com> Message-ID: <95497FAB-299C-45F6-88E6-22004ED70359@uralweb.ru> On 21.12.2011, at 12:29, humingyin wrote: > yasm not found, use --disable-yasm for a crippled build And what is unclear here? > If you think configure made a mistake, "If you think" is the key word here. Do you think it does??? Why not install yasm? From lists at baums-on-web.de Wed Dec 21 17:08:56 2011 From: lists at baums-on-web.de (Heiko Baums) Date: Wed, 21 Dec 2011 17:08:56 +0100 Subject: [FFmpeg-user] Capturing from DVB-T card In-Reply-To: References: <20111221152059.28e72091@darkstar> Message-ID: <20111221170856.27e92e67@darkstar> Am Wed, 21 Dec 2011 14:26:22 +0000 (UTC) schrieb Carl Eugen Hoyos : > Heiko Baums baums-on-web.de> writes: > > > ffmpeg -f alsa -ac 2 -i plughw:0 -f video4linux2 -i /dev/video0 > > movie.mpg > > Does mplayer tv:// work? > If yes, run it (and exit) before trying above command line (same with > xawtv). mplayer tv:// doesn't work. It only gives a black picture, too. To get the picture with mplayer I have to call it this way: mplayer tv:// -tv driver=v4l2:normid=3:input=1 Exiting mplayer when run with these parameters, and running ffmpeg afterwards doesn't work, too. The same for xawtv. Heiko From de.techno at gmail.com Wed Dec 21 12:25:37 2011 From: de.techno at gmail.com (dE .) Date: Wed, 21 Dec 2011 16:55:37 +0530 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? In-Reply-To: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> References: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> Message-ID: <4EF1C231.608@gmail.com> On 12/21/11 18:45, Mark Vos wrote: > ----- Original Message ----- From: "Carl Eugen Hoyos" > To: > Sent: Tuesday, December 20, 2011 10:48 PM > Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 > recordingwhich will play on it? > > >> Mark Vos xs4all.nl> writes: >> >>> ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K -flags >>> +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi >> >> Does it work without -flags +ilme+ildct? >> Did you try lower bitrates? >> > > > > Yes, I took care to stay under 720x576 as stated in my user manual > notes, posted in my initial message. > But I'm at a total loss about all the other ffmpeg parameters. Though > they are mentioned in the help, they are not really explained what > they are used for and when to use or not to use them. > Isn't there some example command line ensuring maxumum hardware > compatibility? > > One other hint, I remember getting an avi file called "delete.avi" > made by ffmpeg. No idea where it came from, I hadn't used that name. > For testing I had it also copied to DVD. When I tried playing it, it > worked... and even kept playing, but it was without sound. I think I > still have it on the other PC. > > > > regards, > > |\ /| > | \/ |@rk > \../ > \/os > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Considering your device plays mpeg4 compatible streams with divx vtag (I think xvid will too work) - ffmpeg -i $FILE -threads -bf 2 -flags qprd -flags mv0 -flags skiprd -vcodec mpeg4 -aq 2 -acodec libmp3lame $out_file.avi From lytithwyn at gmail.com Wed Dec 21 18:27:30 2011 From: lytithwyn at gmail.com (Matthew Morgan) Date: Wed, 21 Dec 2011 12:27:30 -0500 Subject: [FFmpeg-user] Capturing from DVB-T card In-Reply-To: <20111221170856.27e92e67@darkstar> References: <20111221152059.28e72091@darkstar> <20111221170856.27e92e67@darkstar> Message-ID: <4EF21702.4000002@gmail.com> On 12/21/2011 11:08 AM, Heiko Baums wrote: > Am Wed, 21 Dec 2011 14:26:22 +0000 (UTC) > schrieb Carl Eugen Hoyos: > >> Heiko Baums baums-on-web.de> writes: >> >>> ffmpeg -f alsa -ac 2 -i plughw:0 -f video4linux2 -i /dev/video0 >>> movie.mpg >> Does mplayer tv:// work? >> If yes, run it (and exit) before trying above command line (same with >> xawtv). Have you tried using v4l2-ctl to set the input? That program usually comes with ivtv-tools (or a similarly named package on your distro). That's what I use to control the input source on my Asus PVR-450 which also has a cx88 chipset. I'm doing captures directly from the mpeg encoder using `cat /dev/video0 > myvideo.mpg`, but I think it should still apply to using ffmpeg as well. > mplayer tv:// doesn't work. It only gives a black picture, too. To get > the picture with mplayer I have to call it this way: > mplayer tv:// -tv driver=v4l2:normid=3:input=1 > > Exiting mplayer when run with these parameters, and running ffmpeg > afterwards doesn't work, too. The same for xawtv. > > Heiko > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user From mccmvos at xs4all.nl Wed Dec 21 20:27:22 2011 From: mccmvos at xs4all.nl (Mark Vos) Date: Wed, 21 Dec 2011 20:27:22 +0100 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? References: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> <4EF1C231.608@gmail.com> Message-ID: <87B4FBD6C36F48188EDE7E76906691D9@cmv8e7b020d5e0> ----- Original Message ----- From: "dE ." To: "FFmpeg user questions and RTFMs" Sent: Wednesday, December 21, 2011 12:25 PM Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? > On 12/21/11 18:45, Mark Vos wrote: >> ----- Original Message ----- From: "Carl Eugen Hoyos" >> To: >> Sent: Tuesday, December 20, 2011 10:48 PM >> Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 >> recordingwhich will play on it? >> >> >>> Mark Vos xs4all.nl> writes: >>> >>>> ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K -flags >>>> +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi >>> >>> Does it work without -flags +ilme+ildct? >>> Did you try lower bitrates? >>> >> >> >> >> Yes, I took care to stay under 720x576 as stated in my user manual notes, >> posted in my initial message. >> But I'm at a total loss about all the other ffmpeg parameters. Though >> they are mentioned in the help, they are not really explained what they >> are used for and when to use or not to use them. >> Isn't there some example command line ensuring maxumum hardware >> compatibility? >> >> One other hint, I remember getting an avi file called "delete.avi" made >> by ffmpeg. No idea where it came from, I hadn't used that name. For >> testing I had it also copied to DVD. When I tried playing it, it >> worked... and even kept playing, but it was without sound. I think I >> still have it on the other PC. >> >> >> >> regards, >> >> |\ /| >> | \/ |@rk >> \../ >> \/os >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Considering your device plays mpeg4 compatible streams with divx vtag (I > think xvid will too work) - > > ffmpeg -i $FILE -threads -bf > 2 -flags qprd -flags mv0 -flags skiprd -vcodec mpeg4 -aq 2 -acodec > libmp3lame $out_file.avi > _______________________________________________ Afraid I got the following errors: D:\temp3\ffmpeg\bin>ffmpeg -i VTS_01_1.VOB -threads 2 -bf 2 -flags qprd -flags m v0 -flags skiprd -vcodec mpeg4 -aq 2 -acodec libmp3lame nogeen.avi ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 13:50:00 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. 32. 0 / 51. 32. 0 libavcodec 53. 43. 0 / 53. 43. 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 [mpeg @ 020D9620] max_analyze_duration 5000000 reached at 5000000 Input #0, mpeg, from 'VTS_01_1.VOB': Duration: 00:05:00.44, start: 0.218044, bitrate: 4245 kb/s Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DA R 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc [buffer @ 02322E60] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15 sws_param: [NULL @ 02423020] [Eval @ 0022DB18] Undefined constant or missing '(' in 'qprdmv 0skiprd' [NULL @ 02423020] Unable to parse option value "qprdmv0skiprd" [NULL @ 02423020] Error setting option flags to value qprdmv0skiprd. Output #0, avi, to 'nogeen.avi': Stream #0:0: Video: none, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream #0:1: Audio: none, 48000 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0:1 -> #0:0 (mpeg2video -> mpeg4) Stream #0:0 -> #0:1 (ac3 -> libmp3lame) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height regards, |\ /| | \/ |@rk \../ \/os From lou at lrcd.com Wed Dec 21 20:43:40 2011 From: lou at lrcd.com (Lou) Date: Wed, 21 Dec 2011 10:43:40 -0900 Subject: [FFmpeg-user] ./configure --enable-shared --prefix=/usr/local/ffmpeg error In-Reply-To: <201112211529380595970@126.com> References: <201112211529380595970@126.com> Message-ID: <20111221104340.65dffc68@lrcd.com> On Wed, 21 Dec 2011 15:29:45 +0800 "humingyin" wrote: > > root at ubuntu:/home/humy/ffmpeg# ./configure --enable-shared > --prefix=/usr/local/ffmpeg yasm not found, use --disable-yasm for a > crippled build 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. > root at ubuntu:/home/humy/ffmpeg# > 2011-12-21 > > humingyin I assume you are using Ubuntu. See the Ubuntu FFmpeg compile guide for step-by-step instructions: http://ubuntuforums.org/showthread.php?t=786095 From lists at baums-on-web.de Wed Dec 21 21:36:37 2011 From: lists at baums-on-web.de (Heiko Baums) Date: Wed, 21 Dec 2011 21:36:37 +0100 Subject: [FFmpeg-user] Capturing from DVB-T card In-Reply-To: <4EF21702.4000002@gmail.com> References: <20111221152059.28e72091@darkstar> <20111221170856.27e92e67@darkstar> <4EF21702.4000002@gmail.com> Message-ID: <20111221213637.2b9b733d@darkstar> Am Wed, 21 Dec 2011 12:27:30 -0500 schrieb Matthew Morgan : > Have you tried using v4l2-ctl to set the input? That program usually > comes with ivtv-tools (or a similarly named package on your distro). > That's what I use to control the input source on my Asus PVR-450 > which also has a cx88 chipset. I'm doing captures directly from the > mpeg encoder using `cat /dev/video0 > myvideo.mpg`, but I think it > should still apply to using ffmpeg as well. I haven't tried it, yet. But this doesn't work, too. With "v4l2-ctl -s 3" I can permanently set the video standard to PAL. If I set the video input to 1 (Composite) with "v4l2-ctl -i 1" and run "v4l2-ctl -I" it still says "1 (Composite: ok)". But if I run ffmpeg afterwards I get a black picture again and "v4l2-ctl -I" says "0 (DVB: ok)" again. It doesn't matter if I run v4l2-ctl as unprivileged user or as root. Heiko From tarotcrcustrasbgfr at gmail.com Wed Dec 21 22:09:40 2011 From: tarotcrcustrasbgfr at gmail.com (Jseb Tarot) Date: Wed, 21 Dec 2011 22:09:40 +0100 Subject: [FFmpeg-user] pb SONY HDR-TD10 MTS file Message-ID: Yes! ok! you can download on the URL: http://www.lesnumeriques.com/camescope/sony-hdr-td10-p11050/test.html this site is French. There are 2 videos one with a plane , and other with a car engine. From koxaniy at mail.ru Wed Dec 21 23:03:59 2011 From: koxaniy at mail.ru (Tuuls) Date: Wed, 21 Dec 2011 14:03:59 -0800 (PST) Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: References: Message-ID: <1324505039959-4223428.post@n4.nabble.com> you use : ffmbc -y -i test.m2v -i test_1.wav -i test_2.wav -i test_3.wav -i test_4.wav -map_audio_channel 1:0:0:0:1 -map_audio_channel 2:0:0:0:1 -map_audio_channel 3:0:0:0:1 -map_audio_channel 4:0:0:0:1 -timecode 00:00:11:01 -vcodec copy -target imx50 -acodec pcm_s16le -ac 4 -f mxf_d10 test_d10.mxf i use : ffmbc -y -i test.m2v -i test_1.wav -i test_2.wav -i test_3.wav -i test_4.wav -map_audio_channel 1:0:0:0:1:0 -map_audio_channel 2:0:0:0:1:1 -map_audio_channel 3:0:0:0:1:2 -map_audio_channel 4:0:0:0:1:3 -timecode 00:00:11:01 -vcodec copy -target imx50 -acodec pcm_s16le -ac 4 -f mxf_d10 test_d10.mxf at the command line describing the mapping of channels indicated: -map_audio_channel 1(in_file):0(in_stream):0(in_channel):0(out_file):1(out_stream):0(out_channel) -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/muxing-into-mxf-im50-tp4221697p4223428.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From koxaniy at mail.ru Wed Dec 21 23:14:14 2011 From: koxaniy at mail.ru (Tuuls) Date: Wed, 21 Dec 2011 14:14:14 -0800 (PST) Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: <1324505039959-4223428.post@n4.nabble.com> References: <1324505039959-4223428.post@n4.nabble.com> Message-ID: <1324505654571-4223454.post@n4.nabble.com> you have an error in this place -vcodec copy -target imx50 -vcodec copy copies a video stream without transcoding in IMX50 use only -target imx50 -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/muxing-into-mxf-im50-tp4221697p4223454.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From cehoyos at ag.or.at Thu Dec 22 01:45:34 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 22 Dec 2011 00:45:34 +0000 (UTC) Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recording which will play on it? References: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> Message-ID: Mark Vos xs4all.nl> writes: > >> ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K -flags > >> +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi > > > > Does it work without -flags +ilme+ildct? Did you test without? > > Did you try lower bitrates? > > > > Yes, I took care to stay under 720x576 as stated in my user manual notes, "720x576" is the resolution, the "bitrate" is what you set with "-b" (now -vb or -b:v), please try a lower value, especially if your device starts playing a video, but stops after a few frames. Carl Eugen From cehoyos at ag.or.at Thu Dec 22 02:00:09 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 22 Dec 2011 01:00:09 +0000 (UTC) Subject: [FFmpeg-user] Capturing from DVB-T card References: <20111221152059.28e72091@darkstar> <20111221170856.27e92e67@darkstar> Message-ID: Heiko Baums baums-on-web.de> writes: > > Does mplayer tv:// work? > > If yes, run it (and exit) before trying above command line (same with > > xawtv). > > mplayer tv:// doesn't work. It only gives a black picture, too. To get > the picture with mplayer I have to call it this way: > mplayer tv:// -tv driver=v4l2:normid=3:input=1 Please try ffmpeg -f v4l2 -standard 3 -channel 1 -i /dev/video0 (I just found out about "-channel" and I cannot explain its name, standard seems slightly clearer...) Carl Eugen From lists at baums-on-web.de Thu Dec 22 02:45:08 2011 From: lists at baums-on-web.de (Heiko Baums) Date: Thu, 22 Dec 2011 02:45:08 +0100 Subject: [FFmpeg-user] Capturing from DVB-T card In-Reply-To: References: <20111221152059.28e72091@darkstar> <20111221170856.27e92e67@darkstar> Message-ID: <20111222024508.4f608a4c@darkstar> Am Thu, 22 Dec 2011 01:00:09 +0000 (UTC) schrieb Carl Eugen Hoyos : > Please try ffmpeg -f v4l2 -standard 3 -channel 1 -i /dev/video0 > (I just found out about "-channel" and I cannot explain its name, > standard seems slightly clearer...) -standard 3 doesn't work. I get the message "Unknown standard '3'". But I can set the video standard with v4l2-ctl. -channel is indeed the right switch for selecting the video source (DVB-T, S-Video or Capture). Now I get at least a picture that looks like a VHS video. Thanks so far. Btw., for some reason "ffmpeg ... -channel ..." sets the video source permanently which isn't done by tvtime, xawtv, mplayer and v4l2-ctl. That said, after running "ffmpeg ... -channel 1 ..." "v4l2-ctl -I" says "1 (Composite1: ok)". And it's maybe a good idea to add the -channel switch to the manpage. But now I seem to have an a/v-sync issue similar to the one I have with mencoder and lavc. And the picture quality doesn't seem to be the best with vcodec=huffyuv or vcodec=rawvideo, it looks at least a bit worse than with tvtime. But I hadn't had time to look closer at every ffmpeg option and which options I currently have set in tvtime. So I'll probably find it out by myself later. If you have a hint about good settings for good video quality and avoiding sync issues I'd be glad to hear about it. Otherwise I'll ask again later if I won't find a solution for the issues by myself. Heiko From cehoyos at ag.or.at Thu Dec 22 03:07:33 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 22 Dec 2011 02:07:33 +0000 (UTC) Subject: [FFmpeg-user] Capturing from DVB-T card References: <20111221152059.28e72091@darkstar> <20111221170856.27e92e67@darkstar> <20111222024508.4f608a4c@darkstar> Message-ID: Heiko Baums baums-on-web.de> writes: > But now I seem to have an a/v-sync issue similar to the one I have with > mencoder and lavc. -async 1 should fix it > And the picture quality doesn't seem to be the best with vcodec=huffyuv or > vcodec=rawvideo, But that is not FFmpeg's fault;-) (Both variants save what the tv card outputs, without the slightest change.) > it looks at least a bit worse than with tvtime. But I hadn't had time to look > closer at every ffmpeg option and which options I currently have set in > tvtime. Use a post-processing filter to improve visual quality, the MPlayer manual informations should apply. Carl Eugen From xinghuaifei at potevio.com Thu Dec 22 04:33:31 2011 From: xinghuaifei at potevio.com (=?gb2312?B?0M+7s7fJ?=) Date: Thu, 22 Dec 2011 11:33:31 +0800 Subject: [FFmpeg-user] Help about MPEG TS Encode Message-ID: <11DA87F535A93047A46A639DE1DAE49F037BA970A870@EXMB.china-putian.com> Hi Everybody, I am doing a trancoding job using ffmpeg. I tried to tanscode a MPEG2 Video to a H264 video with a MPEG TS container. I found The PCR interval default is 80ms, but the standared in DVB is less than 40ms. What Can I do to conform the stardard? I look forward for you help. Thanks. Huaifei xing 2011-12-22 From dedoogong at gmail.com Thu Dec 22 03:46:28 2011 From: dedoogong at gmail.com (Innertia) Date: Wed, 21 Dec 2011 18:46:28 -0800 (PST) Subject: [FFmpeg-user] Frame/gop accurate video splitting (fps, gop, length known) In-Reply-To: References: <749C3CA322EF4A0D94CFC8E9AAD03A7E@indigobox> <20100106114719.GB2892@www.stare.cz> <3AB0B2BA90FC4C0EA778721B3038207C@indigobox> <11907e9c1001061433xc757441n396b083dae3c0597@mail.gmail.com> Message-ID: <1324521988397-4224028.post@n4.nabble.com> Hi ^^ I'm also seeking the way to split video accurately enough as possible. um, I think -ss and -t is not enough to do it. let's assume that if I have a 10:00 length video file, and I want to split it into two parts, one is of length of 5:00, and the other is of also 5:00; but if there're keyframes located at 4:55 and 5:05, ffmpeg must be trying to seek keyframe to split. I want to say that first part will be accurately 5:00, and second one will be 5:05 becuase of the fact that delta frames near the end border have their key frame, so there's no problem. but when second one trying to start at 5:00, it will recognize that there's no key frame to refer to start and make perfect frame, so it will ignore the -ss 00:05:00 option; I believe there's no way yet to avoid the duplication when splitting...only we can fix and customize the ffmpeg source;; and that's what I'm doing recently(that's too difficult to do...it's out of my ability (T.T)~~I just hope any brilliant developers help us~!) -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Frame-gop-accurate-video-splitting-fps-gop-length-known-tp989756p4224028.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From spider58 at gmail.com Thu Dec 22 08:57:43 2011 From: spider58 at gmail.com (spider58) Date: Thu, 22 Dec 2011 09:57:43 +0200 Subject: [FFmpeg-user] UDP Recording error: Part of diagram lost due to insufficient buffer size Message-ID: Hi. Im using ffmpeg.exe on windows. while recording im getting this error and ffmpeg is stopping work. *Part of diagram lost due to insufficient buffer siz*e My command is below ffmpeg -i udp://@IPADRESS:PORT?buffer_size:65535 -re -ac2 -t 87000 -acodec libmp3lame -ar 44100 -ab96k -ac 2 -vcodec copy -async 1 d:\mynewvid.ts after 16 hours record result is this frame=1452746 fps= 25 q=-1.0 size = 37445399kB time=16:08:30.53 birrate=5278.8kbit *Part of diagram lost due to insufficient buffer siz*e Inadvance thanks. From nicolas.george at normalesup.org Thu Dec 22 11:57:22 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Thu, 22 Dec 2011 11:57:22 +0100 Subject: [FFmpeg-user] More on audio stream mapping In-Reply-To: <4EEB3586.8070804@bbc.co.uk> References: <4EEB3586.8070804@bbc.co.uk> Message-ID: <20111222105722.GA22806@phare.normalesup.org> Le sextidi 26 frimaire, an CCXX, Tim Nicholson a ?crit?: > It also appears that you cannot use -c:a copy if using -map_channel > as the copy copies the stream as is, and not the channel. That one is true, and is not an arbitrary limitation of ffmpeg, it is an inherent limitation of the audio encoding system: a lot of codecs encode channels together, not separately. This is quite normal, as channels are usually very similar, and compression is all about taking advantage of redundancy. For the same reason, you can not crop or scale a video without decoding and reencoding it. It is, of course, possible to do these things with some codecs. With the uncompressed ones, of course, and there are other examples: you can crop JPEG without decoding it, as long as the left and top dimensions are multiple of 16. But these examples are very specific, and there is no generic way to do anything. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From nicolas.george at normalesup.org Thu Dec 22 12:10:00 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Thu, 22 Dec 2011 12:10:00 +0100 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: <4EF1E937.3080203@bbc.co.uk> References: <20111221133451.GD28001@leki> <20111221134835.GE28001@leki> <4EF1E937.3080203@bbc.co.uk> Message-ID: <20111222111000.GB22806@phare.normalesup.org> > On 21/12/11 13:48, Cl?ment B?sch wrote: >> Not sure. A workaround may be available as soon as the "amerge" audio >> filter is upstream. One developer is working on it but I can't estimate >> his motivation, his time and the amount of work needed from his side. You >> can follow the developer mailing list and eventually grab more >> information. It has greatly progressed last Thursday. At this time, I need to figure out why it mangles the audio in 32-bits while it works perfectly in 16-bits. Then I will have to stress-test it, clean up and write the doc. This is currently my highest-priority task on the ffmpeg queue. Le primidi 1er niv?se, an CCXX, Tim Nicholson a ?crit?: > Using a filter for simple remapping feels OTT imho. I see the it the other way around: filters should be the default way to do anything, as they have a generic interface and can be ordered with regard to each other. (A non-audio example for the part on the ordering: depending on how you state your arithmetic and what you want to do exactly, you may want to scale and then crop or on the contrary crop and then scale: scaling and cropping need to be filters you can organize as you need.) OTOH, the filtering system has currently a limitation that makes it slightly awkward to use it for mapping: filters can have only have a fixed number of inputs and outputs, which means that if you need to merge three streams, you have to use two merge filters. I wonder if that limitation could be lifted. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From mccmvos at xs4all.nl Thu Dec 22 14:54:01 2011 From: mccmvos at xs4all.nl (Mark Vos) Date: Thu, 22 Dec 2011 14:54:01 +0100 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? References: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> Message-ID: <34E2EF90FD6C4AA7824147DFB089E773@cmv8e7b020d5e0> ----- Original Message ----- From: "Carl Eugen Hoyos" To: Sent: Thursday, December 22, 2011 1:45 AM Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? > Mark Vos xs4all.nl> writes: > >> >> ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K -flags >> >> +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi >> > >> > Does it work without -flags +ilme+ildct? > > Did you test without? > >> > Did you try lower bitrates? >> > >> >> Yes, I took care to stay under 720x576 as stated in my user manual notes, > > "720x576" is the resolution, the "bitrate" is what you set with "-b" > (now -vb or > -b:v), please try a lower value, especially if your device starts playing > a > video, but stops after a few frames. > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Thanks for your input. >From your advice I used following line: ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -vb 1000K -s 640x572 -acodec libmp3lame -ab 128K test7.avi Result was bad: it started playing but the video displayed bizarre coloured patterns. ALSO: quits playing after about 5 secs. regards, |\ /| | \/ |@rk \../ \/os From cehoyos at ag.or.at Fri Dec 23 02:45:07 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 23 Dec 2011 01:45:07 +0000 (UTC) Subject: [FFmpeg-user] Help about MPEG TS Encode References: <11DA87F535A93047A46A639DE1DAE49F037BA970A870@EXMB.china-putian.com> Message-ID: ??? potevio.com> writes: > I am doing a trancoding job using ffmpeg. I tried to tanscode a MPEG2 Video > to a H264 video with a MPEG TS container. I found The PCR interval default is > 80ms, but the standared in DVB is less than 40ms. (iirc, the MPEG standard only requires 100ms.) I suspect setting "-muxrate" to a value >1 makes a difference. Carl Eugen From hans at guardianproject.info Fri Dec 23 03:12:39 2011 From: hans at guardianproject.info (Hans-Christoph Steiner) Date: Thu, 22 Dec 2011 18:12:39 -0800 Subject: [FFmpeg-user] (RUN_AVX_INSTR:6) cannot reference symbol `sizeofm9' in preprocessor Message-ID: I'm building ffmpeg 0.9 for ARM cortex-a8 NEON using the Android NDKr7 (gcc 4.4.3) and I'm getting this bizarre error that I is stumping me: libswscale/x86/scale.asm:660: error: (RUN_AVX_INSTR:6) cannot reference symbol `sizeofm9' in preprocessor First, its building something for x86. Second 'sizeofm9' doesn't seem to exist anywhere. here's the complete build log: https://build.safermobile.org/job/android-ffmpeg/7/console Here's how I am configuring: https://github.com/guardianproject/android-ffmpeg/blob/master/configure_ffmpeg.sh I can make it go away by doing '--disable-yasm'. .hc ---------------------------------------------------------------------------- "[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore From de.techno at gmail.com Fri Dec 23 00:07:19 2011 From: de.techno at gmail.com (dE .) Date: Fri, 23 Dec 2011 04:37:19 +0530 Subject: [FFmpeg-user] Readability of your ffmpeg-user replies In-Reply-To: <20111221105153.23cb574b@lrcd.com> References: <20111221105153.23cb574b@lrcd.com> Message-ID: <4EF3B827.10200@gmail.com> On 12/22/11 01:21, Lou wrote: > Hi, > > This is what Carl was trying to describe about your replies to > ffmpeg-user: > > http://pastebin.com/itEMGbuD > > Your replies do not have a space between the quoted message you are > replying to, and the footers are not trimmed away so there is extra junk > to parse to find your reply. I don't mean to nitpick here, but I thought > I'd point it out to you so you can see how your replies appear to > others. > > Lou Ok, I see. Maybe you all should use a mail client like Thunderbird. From cehoyos at ag.or.at Fri Dec 23 11:48:22 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 23 Dec 2011 10:48:22 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?=28RUN=5FAVX=5FINSTR=3A6=29_cannot_refere?= =?utf-8?q?nce_symbol_=60sizeofm9=27_in_preprocessor?= References: Message-ID: Hans-Christoph Steiner guardianproject.info> writes: > I'm building ffmpeg 0.9 for ARM cortex-a8 NEON using the Android NDKr7 (gcc > 4.4.3) and I'm getting this bizarre error that I is stumping me: > > libswscale/x86/scale.asm:660: error: (RUN_AVX_INSTR:6) cannot reference symbol > `sizeofm9' in preprocessor Please consider using current git head and "./configure --enable-cross..." instead of (a fork and) a script that looks not entirely correct to me. Carl Eugen From cehoyos at ag.or.at Fri Dec 23 11:53:38 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 23 Dec 2011 10:53:38 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?=28RUN=5FAVX=5FINSTR=3A6=29_cannot_refere?= =?utf-8?q?nce_symbol_=60sizeofm9=27_in_preprocessor?= References: Message-ID: Hans-Christoph Steiner guardianproject.info> writes: > https://github.com/guardianproject/android-ffmpeg/blob/ > master/configure_ffmpeg.sh The resulting binary of this fork looks non-free (proprietary, unredistributable software), so please be careful what you do with such a binary! Carl Eugen From tim.nicholson at bbc.co.uk Fri Dec 23 13:02:38 2011 From: tim.nicholson at bbc.co.uk (Tim Nicholson) Date: Fri, 23 Dec 2011 12:02:38 +0000 Subject: [FFmpeg-user] muxing into mxf im50 In-Reply-To: <20111222111000.GB22806@phare.normalesup.org> References: <20111221133451.GD28001@leki> <20111221134835.GE28001@leki> <4EF1E937.3080203@bbc.co.uk> <20111222111000.GB22806@phare.normalesup.org> Message-ID: <4EF46DDE.3060207@bbc.co.uk> On 22/12/11 11:10, Nicolas George wrote: >> On 21/12/11 13:48, Cl?ment B?sch wrote: >>> [...] > > Le primidi 1er niv?se, an CCXX, Tim Nicholson a ?crit : >> Using a filter for simple remapping feels OTT imho. > > I see the it the other way around: filters should be the default way to do > anything, as they have a generic interface and can be ordered with regard to > each other. > Whilst that is true, the generic interface can be somewhat tortuous for users, for example avoiding spaces if not quoting, where to quote, what type of quote (single double) what characters to escape, when to escape, which punctuation where, etc. However if it is implemented as a filter, and a shortcut (by means of the mapping control) is arranged, then we will have the best of both worlds. Total control when it is needed. But simplicity when it is not. -- Tim http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. From rhodri at kynesim.co.uk Fri Dec 23 13:56:21 2011 From: rhodri at kynesim.co.uk (Rhodri James) Date: Fri, 23 Dec 2011 12:56:21 -0000 Subject: [FFmpeg-user] Readability of your ffmpeg-user replies In-Reply-To: <4EF3B827.10200@gmail.com> References: <20111221105153.23cb574b@lrcd.com> <4EF3B827.10200@gmail.com> Message-ID: On Thu, 22 Dec 2011 23:07:19 -0000, dE . wrote: > On 12/22/11 01:21, Lou wrote: >> Your replies do not have a space between the quoted message you are >> replying to, and the footers are not trimmed away so there is extra junk >> to parse to find your reply. I don't mean to nitpick here, but I thought >> I'd point it out to you so you can see how your replies appear to >> others. > > Ok, I see. Maybe you all should use a mail client like Thunderbird. If you're going to pretend to mailer superiority, using a real sig separator would help your case. -- Rhodri James Kynesim Ltd From philip at turmel.org Fri Dec 23 15:53:31 2011 From: philip at turmel.org (Phil Turmel) Date: Fri, 23 Dec 2011 09:53:31 -0500 Subject: [FFmpeg-user] Readability of your ffmpeg-user replies In-Reply-To: <4EF3B827.10200@gmail.com> References: <20111221105153.23cb574b@lrcd.com> <4EF3B827.10200@gmail.com> Message-ID: <4EF495EB.4070801@turmel.org> On 12/22/2011 06:07 PM, dE . wrote: > On 12/22/11 01:21, Lou wrote: >> Hi, >> >> This is what Carl was trying to describe about your replies to >> ffmpeg-user: >> >> http://pastebin.com/itEMGbuD >> >> Your replies do not have a space between the quoted message you are >> replying to, and the footers are not trimmed away so there is extra junk >> to parse to find your reply. I don't mean to nitpick here, but I thought >> I'd point it out to you so you can see how your replies appear to >> others. >> >> Lou > > Ok, I see. Maybe you all should use a mail client like Thunderbird. I use Thunderbird. Your replies were formatted poorly. Maybe *you* need to learn to use your mail client. I wasn't offering you any help, so I hadn't commented before. As a mere *user*, I often have little to offer. You should realize that *developers* like Carl are volunteers, and don't have any obligation to reply to you. If you annoy them with garbage after repeated requests, don't be surprised if they start ignoring you. Hope this helps you understand how you are coming across. Phil From de.techno at gmail.com Fri Dec 23 11:39:43 2011 From: de.techno at gmail.com (dE .) Date: Fri, 23 Dec 2011 16:09:43 +0530 Subject: [FFmpeg-user] How to make AVI files from LG RH7500 recordingwhich will play on it? In-Reply-To: <34E2EF90FD6C4AA7824147DFB089E773@cmv8e7b020d5e0> References: <1B54E452EDFD44CC925D649C526B8A21@PCvanMarkVos> <34E2EF90FD6C4AA7824147DFB089E773@cmv8e7b020d5e0> Message-ID: <4EF45A6F.8020905@gmail.com> On 12/22/11 19:24, Mark Vos wrote: > > ----- Original Message ----- From: "Carl Eugen Hoyos" > To: > Sent: Thursday, December 22, 2011 1:45 AM > Subject: Re: [FFmpeg-user] How to make AVI files from LG RH7500 > recordingwhich will play on it? > > >> Mark Vos xs4all.nl> writes: >> >>> >> ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -b 1800K >>> -flags >>> >> +ilme+ildct -s 640x572 -acodec libmp3lame -ab 128K test6.avi >>> > >>> > Does it work without -flags +ilme+ildct? >> >> Did you test without? >> >>> > Did you try lower bitrates? >>> > >>> >>> Yes, I took care to stay under 720x576 as stated in my user manual >>> notes, >> >> "720x576" is the resolution, the "bitrate" is what you set with "-b" >> (now -vb or >> -b:v), please try a lower value, especially if your device starts >> playing a >> video, but stops after a few frames. >> >> Carl Eugen >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > > > Thanks for your input. > From your advice I used following line: > > ffmpeg -i VTS_01_1.VOB -f avi -vcodec mpeg4 -vtag DIVX -vb 1000K -s > 640x572 -acodec libmp3lame -ab 128K test7.avi > > Result was bad: it started playing but the video displayed bizarre > coloured patterns. ALSO: quits playing after about 5 secs. > > > > regards, > > |\ /| > | \/ |@rk > \../ > \/os > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Those were wrong parameters, sorry about that. Try this - ffmpeg -i $input -threads -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 2 -vcodec mpeg4 -ac 2 -aq 2 -acodec libmp3lame $output.avi From de.techno at gmail.com Fri Dec 23 11:57:05 2011 From: de.techno at gmail.com (dE .) Date: Fri, 23 Dec 2011 16:27:05 +0530 Subject: [FFmpeg-user] Readability of your ffmpeg-user replies In-Reply-To: <4EF495EB.4070801@turmel.org> References: <20111221105153.23cb574b@lrcd.com> <4EF3B827.10200@gmail.com> <4EF495EB.4070801@turmel.org> Message-ID: <4EF45E81.7090505@gmail.com> On 12/23/11 20:23, Phil Turmel wrote: > On 12/22/2011 06:07 PM, dE . wrote: >> On 12/22/11 01:21, Lou wrote: >>> Hi, >>> >>> This is what Carl was trying to describe about your replies to >>> ffmpeg-user: >>> >>> http://pastebin.com/itEMGbuD >>> >>> Your replies do not have a space between the quoted message you are >>> replying to, and the footers are not trimmed away so there is extra junk >>> to parse to find your reply. I don't mean to nitpick here, but I thought >>> I'd point it out to you so you can see how your replies appear to >>> others. >>> >>> Lou >> Ok, I see. Maybe you all should use a mail client like Thunderbird. > I use Thunderbird. Your replies were formatted poorly. Maybe *you* need > to learn to use your mail client. > > I wasn't offering you any help, so I hadn't commented before. As a mere > *user*, I often have little to offer. You should realize that *developers* > like Carl are volunteers, and don't have any obligation to reply to you. If > you annoy them with garbage after repeated requests, don't be surprised if > they start ignoring you. > > Hope this helps you understand how you are coming across. > > Phil > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user You don't need to tell me who's a volunteer and who's not. I've probably got more opensource experience than you (I'm an admin). PS: I hope this message is properly formatted. From nicolas.george at normalesup.org Fri Dec 23 17:40:24 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Fri, 23 Dec 2011 17:40:24 +0100 Subject: [FFmpeg-user] Readability of your ffmpeg-user replies In-Reply-To: <4EF45E81.7090505@gmail.com> References: <20111221105153.23cb574b@lrcd.com> <4EF3B827.10200@gmail.com> <4EF495EB.4070801@turmel.org> <4EF45E81.7090505@gmail.com> Message-ID: <20111223164024.GA19452@phare.normalesup.org> Le tridi 3 niv?se, an CCXX, dE . a ?crit?: > PS: I hope this message is properly formatted. No, it is not. That part should never have been included: # >Phil # >_______________________________________________ # >ffmpeg-user mailing list # >ffmpeg-user at ffmpeg.org # >http://ffmpeg.org/mailman/listinfo/ffmpeg-user And while your were at it, you could have trimmed the ~15 lines of triple quotation. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From hans at guardianproject.info Sat Dec 24 03:27:46 2011 From: hans at guardianproject.info (Hans-Christoph Steiner) Date: Fri, 23 Dec 2011 18:27:46 -0800 Subject: [FFmpeg-user] (RUN_AVX_INSTR:6) cannot reference symbol `sizeofm9' in preprocessor In-Reply-To: <4F759C66-71B7-437D-8BCD-DB38F2180768@at.or.at> References: <4F759C66-71B7-437D-8BCD-DB38F2180768@at.or.at> Message-ID: On Dec 23, 2011, at 2:53 AM, Carl Eugen Hoyos wrote: > Hans-Christoph Steiner guardianproject.info> writes: >> I'm building ffmpeg 0.9 for ARM cortex-a8 NEON using the Android NDKr7 (gcc >> 4.4.3) and I'm getting this bizarre error that I is stumping me: >> >> libswscale/x86/scale.asm:660: error: (RUN_AVX_INSTR:6) cannot reference symbol >> `sizeofm9' in preprocessor >> > Please consider using current git head and "./configure --enable-cross..." > instead of (a fork and) a script that looks not entirely correct to me. > >> https://github.com/guardianproject/android-ffmpeg/blob/ >> master/configure_ffmpeg.sh > > The resulting binary of this fork looks non-free (proprietary, unredistributable > software), so please be careful what you do with such a binary! The scripts here are just purely to manage all of the ./configure flags, then run 'make'. I have --enable-cross.. et. al in there. As for my fork, it just adds two filters to libavfilter and they compile fine. I'll try head with the same flags. As for the license, the script is using --enable-gpl. Can you tell me what in particular I'm doing that is making it non-free? .hc ---------------------------------------------------------------------------- Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams From cehoyos at ag.or.at Sat Dec 24 04:02:56 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Sat, 24 Dec 2011 03:02:56 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?=28RUN=5FAVX=5FINSTR=3A6=29_cannot_refere?= =?utf-8?q?nce_symbol_=60sizeofm9=27_in_preprocessor?= References: <4F759C66-71B7-437D-8BCD-DB38F2180768@at.or.at> Message-ID: Hi! Hans-Christoph Steiner guardianproject.info> writes: > > The resulting binary of this fork looks non-free (proprietary, > > unredistributable software), so please be careful what you do with such a > > binary! > > The scripts here are just purely to manage all of the ./configure flags, then > run 'make'. I have --enable-cross.. et. al in there. The problem is "et. al". Or in other words: Either arm compilation is broken (with useful configure options), then please report this / send a patch to fix it, or it works fine, then such a script should not be useful (and not used, especially not when reporting problems). > As for my fork, it just adds two filters to libavfilter and they compile > fine. I'll try head with the same flags. > > As for the license, the script is using --enable-gpl. Can you tell me what in > particular I'm doing that is making it non-free? One of the two filters has a license header that does not look compatible with FFmpeg. If you believe the filters are useful (I cannot comment), please add an appropriate license header (if you are the author of the file) and send patches to ffmpeg-devel. Merry Christmas, Carl Eugen From de.techno at gmail.com Sat Dec 24 01:14:22 2011 From: de.techno at gmail.com (dE .) Date: Sat, 24 Dec 2011 05:44:22 +0530 Subject: [FFmpeg-user] Readability of your ffmpeg-user replies In-Reply-To: <20111223164024.GA19452@phare.normalesup.org> References: <20111221105153.23cb574b@lrcd.com> <4EF3B827.10200@gmail.com> <4EF495EB.4070801@turmel.org> <4EF45E81.7090505@gmail.com> <20111223164024.GA19452@phare.normalesup.org> Message-ID: <4EF5195E.6020806@gmail.com> On 12/23/11 22:10, Nicolas George wrote: > Le tridi 3 niv?se, an CCXX, dE . a ?crit : >> PS: I hope this message is properly formatted. > No, it is not. That part should never have been included: > > #>Phil > #>_______________________________________________ > #>ffmpeg-user mailing list > #>ffmpeg-user at ffmpeg.org > #>http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > And while your were at it, you could have trimmed the ~15 lines of triple > quotation. Sorry about that. It'll take some time to take up the habit. From nicolas.george at normalesup.org Sat Dec 24 10:21:48 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Sat, 24 Dec 2011 10:21:48 +0100 Subject: [FFmpeg-user] Readability of your ffmpeg-user replies In-Reply-To: <4EF5195E.6020806@gmail.com> References: <20111221105153.23cb574b@lrcd.com> <4EF3B827.10200@gmail.com> <4EF495EB.4070801@turmel.org> <4EF45E81.7090505@gmail.com> <20111223164024.GA19452@phare.normalesup.org> <4EF5195E.6020806@gmail.com> Message-ID: <20111224092148.GA5042@phare.normalesup.org> Le quartidi 4 niv?se, an CCXX, dE . a ?crit?: > Sorry about that. It'll take some time to take up the habit. This one is good, thanks for your effort. In the long run, it makes the mails easier to read for everyone. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From e_x_blofeld at yahoo.de Sat Dec 24 14:16:01 2011 From: e_x_blofeld at yahoo.de (blofeld) Date: Sat, 24 Dec 2011 05:16:01 -0800 (PST) Subject: [FFmpeg-user] do a composite from a bitmap and a video file Message-ID: <1324732561612-4231122.post@n4.nabble.com> hello, i am supposed to do a simple editor in which a composited video has to be generated from a useruploaded video file and a background bitmap. inside the editor the user is able to rotate and scale the video and then place it at a certain position inside the background then the backend has to encode a new video with the whole composition. since the frontend is not able to do the encoding itself, i would like to pass the backgroundbitmap and the source video to the backend and make it do the rotating/scaling, placing and rendering acording to some kind of config file. is this possible with ffmpeg? thanks a lot for any input, and have nice holidays! -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/do-a-composite-from-a-bitmap-and-a-video-file-tp4231122p4231122.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From renaux.jacky at orange.fr Sat Dec 24 15:11:29 2011 From: renaux.jacky at orange.fr (jacky_free) Date: Sat, 24 Dec 2011 15:11:29 +0100 Subject: [FFmpeg-user] From Webcam (windows PC ) to red5 rtmp (linux) Message-ID: Hi I would like to direct stream from webcam to red5 On windows PC to linux red5 My command line are set prog=ffmpeg.exe set bb=400k set ss=720x576 set aspect=4:3 set fps=25.00 set f_out="rtmp://myserver/oflaDemo playpath=oflaDemo/canal1 live=1 " set lcmd0= -vcodec flv -g %gg% -b:v %bb% -r %fps% -s %ss% -aspect %aspect% -an -benchmark set lcmd1= -cmp 2 -subcmp 2 -mbd 2 -flags -aic-cbp-mv0-mv4 -trellis 1 %prog% -debug 1 -dump -re -f vfwcap -i 0 %lcmd0% %lcmd1% -an -y %f_out% The results are ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 5 2011 14:22:27 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. 30. 0 / 51. 30. 0 libavcodec 53. 40. 0 / 53. 40. 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 [vfwcap @ 020C9FE0] BITMAPINFOHEADER [vfwcap @ 020C9FE0] biSize: 40 [vfwcap @ 020C9FE0] biWidth: 320 [vfwcap @ 020C9FE0] biHeight: 240 [vfwcap @ 020C9FE0] biPlanes: 1 [vfwcap @ 020C9FE0] biBitCount: 24 [vfwcap @ 020C9FE0] biCompression: 0 [vfwcap @ 020C9FE0] biCompression: "" [vfwcap @ 020C9FE0] biSizeImage: 230400 [vfwcap @ 020C9FE0] biXPelsPerMeter: 0 [vfwcap @ 020C9FE0] biYPelsPerMeter: 0 [vfwcap @ 020C9FE0] biClrUsed: 0 [vfwcap @ 020C9FE0] biClrImportant: 0 [vfwcap @ 020C9FE0] CAPTUREPARMS [vfwcap @ 020C9FE0] dwRequestMicroSecPerFrame: 66667 [vfwcap @ 020C9FE0] fMakeUserHitOKToCapture: 0 [vfwcap @ 020C9FE0] wPercentDropForError: 10 [vfwcap @ 020C9FE0] fYield: 0 [vfwcap @ 020C9FE0] dwIndexSize: 34952 [vfwcap @ 020C9FE0] wChunkGranularity: 0 [vfwcap @ 020C9FE0] fUsingDOSMemory: 0 [vfwcap @ 020C9FE0] wNumVideoRequested: 5 [vfwcap @ 020C9FE0] fCaptureAudio: 1 [vfwcap @ 020C9FE0] wNumAudioRequested: 4 [vfwcap @ 020C9FE0] vKeyAbort: 27 [vfwcap @ 020C9FE0] fAbortLeftMouse: 1 [vfwcap @ 020C9FE0] fAbortRightMouse: 1 [vfwcap @ 020C9FE0] fLimitEnabled: 0 [vfwcap @ 020C9FE0] wTimeLimit: 0 [vfwcap @ 020C9FE0] fMCIControl: 0 [vfwcap @ 020C9FE0] fStepMCIDevice: 0 [vfwcap @ 020C9FE0] dwMCIStartTime: 0 [vfwcap @ 020C9FE0] dwMCIStopTime: 0 [vfwcap @ 020C9FE0] fStepCaptureAt2x: 0 [vfwcap @ 020C9FE0] wStepCaptureAverageFrames: 0 [vfwcap @ 020C9FE0] dwAudioBufferSize: 0 [vfwcap @ 020C9FE0] fDisableWriteCache: 0 [vfwcap @ 020C9FE0] AVStreamMaster: 0 [rawvideo @ 02789A60] err{or,}_recognition separate: 1; 1 [rawvideo @ 02789A60] err{or,}_recognition combined: 1; 65537 [vfwcap @ 020C9FE0] All info found [vfwcap @ 020C9FE0] Estimating duration from bitrate, this may be inaccurate Input #0, vfwcap, from '0': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0, 1, 1/1000: Video: rawvideo, bgr24, 320x240, 1001/30000, 29.97 tbr, 1k tbn, 29.97 tbc [NULL @ 027C3EC0] Unable to find a suitable output format for 'rtmp://.........../oflaDemo playpath=oflaDemo/canal1 live=1 ' rtmp://.........../oflaDemo playpath=oflaDemo/canal1 live=1 : Invalid argument I did mask server address It seems there are discrepencies between vcodec from webcam and vcodec to rtmp which must be flv Is there something which I can modify ? Is there a way to pipe on windows (from webcam to temp_file , and temp_file to rtmp Allowing to reencode to AVC to rtmp stream ?) Thanks and have a nice christmas fest Regards jacky From caseymwise at gmail.com Sun Dec 25 03:57:02 2011 From: caseymwise at gmail.com (Casey Wise) Date: Sat, 24 Dec 2011 21:57:02 -0500 Subject: [FFmpeg-user] Tried installing and configuring ffmpeg got the following Message-ID: Hi, attempting to install and get ffmpeg running - I attempted following the instructions at http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289 - I'm using ubuntu 10.04. - Attaching config.log per instructions. - Here's where I ran in to trouble: user at box:~/ffmpeg$ ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \ > --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx \ > --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab 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. Thanks for your help and happy holidays -- Casey Wise -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log.zip Type: application/zip Size: 20743 bytes Desc: not available URL: From andrew at andrews-corner.org Sun Dec 25 10:12:44 2011 From: andrew at andrews-corner.org (andrew) Date: Sun, 25 Dec 2011 20:12:44 +1100 Subject: [FFmpeg-user] Tried installing and configuring ffmpeg got the following In-Reply-To: References: Message-ID: <20111225091244.GA30365@skamandros.andrews-corner.org> On Sat, Dec 24, 2011 at 09:57:02PM -0500, Casey Wise wrote: > ERROR: libmp3lame >= 3.98.3 not found Have you followed step 5 in this excellent guide: Install LAME 5. This is used to encode mp3 audio. This should give you the lame/lame.h that the FFmpeg configure could not find. And a happy holiday to you as well :). Andrew -- You think that's air you're breathing now? From bsaintmartin at mediabroadcast-t.com Sun Dec 25 20:21:06 2011 From: bsaintmartin at mediabroadcast-t.com (Boris Saint-Martin) Date: Sun, 25 Dec 2011 20:21:06 +0100 Subject: [FFmpeg-user] Watermark video file Message-ID: Hi, I would like to watermark a video file using FFmpeg but without success... Here is my FFmepg -version : 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. 32. 0 / 51. 32. 0 libavcodec 53. 46. 1 / 53. 46. 1 libavformat 53. 27. 0 / 53. 27. 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 ffmpeg N-35966-g1d0ae92 libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 1 / 53. 46. 1 libavformat 53. 27. 0 / 53. 27. 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 The command line : C:\Users\BobaL>C:\Users\BobaL\ffmpeg.exe -i C:\Users\BobaL\222425_1.mp4 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" outputvideo.mp4 And my error log : [overlay @ 0000000001C37DE0] Overlay area (-358,-573)<->(342,278) not within the main area (0,0)<->(352,288) or zero-sized Error opening filters! Any idea ? Regards. Boris From Bob at Hodgemail.us Mon Dec 26 03:36:03 2011 From: Bob at Hodgemail.us (Bob at Hodgemail.us) Date: Sun, 25 Dec 2011 18:36:03 -0800 Subject: [FFmpeg-user] Need Help to Serve Live YCbCr Stream to Flash SWF Message-ID: <5CF131464EF84617940DFB0ACBC11DC1@PANASONICWIN7> Hi, I have access to real time YCbCr 4:2:0 video frames (15FPS). I am using Window 7 64bit OS. I can send these frames via UDP. If I send each frame via a UDP packet, how can I use FFMpeg to receive each frame then send it to a FFServer with a channel feed (.FFM), so I can view the video frames on my web browser with Flash Player (using the FFServer output format of SWF)? I have spent lots of time reviewing FFMpeg and FFServer documentation and believe this is possible, but I can?t figure out the command line options that would be needed for FFMpeg to do this. Thanks in advance for any help you may provide. Bob From tsinghal18 at gmail.com Mon Dec 26 05:16:51 2011 From: tsinghal18 at gmail.com (Tarun singhal) Date: Mon, 26 Dec 2011 09:46:51 +0530 Subject: [FFmpeg-user] Watermark video file In-Reply-To: References: Message-ID: Could you please mention here, specs(width and height) of your Image and video file. I am pretty sure the dimensions of your image watermark.png exceeds that of video file Regards, Tarun Singhal On Mon, Dec 26, 2011 at 12:51 AM, Boris Saint-Martin < bsaintmartin at mediabroadcast-t.com> wrote: > Hi, > > I would like to watermark a video file using FFmpeg but without success... > > Here is my FFmepg -version : > > 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. 32. 0 / 51. 32. 0 > libavcodec 53. 46. 1 / 53. 46. 1 > libavformat 53. 27. 0 / 53. 27. 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 > ffmpeg N-35966-g1d0ae92 > libavutil 51. 32. 0 / 51. 32. 0 > libavcodec 53. 46. 1 / 53. 46. 1 > libavformat 53. 27. 0 / 53. 27. 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 > > The command line : > > C:\Users\BobaL>C:\Users\BobaL\ffmpeg.exe -i C:\Users\BobaL\222425_1.mp4 > -vf "movie=watermark.png [watermark]; [in][watermark] > overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" outputvideo.mp4 > > And my error log : > > [overlay @ 0000000001C37DE0] Overlay area (-358,-573)<->(342,278) not > within the main area (0,0)<->(352,288) or zero-sized > Error opening filters! > > > Any idea ? > > > Regards. > Boris > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From tsinghal18 at gmail.com Mon Dec 26 09:42:02 2011 From: tsinghal18 at gmail.com (Tarun singhal) Date: Mon, 26 Dec 2011 14:12:02 +0530 Subject: [FFmpeg-user] FFmpeg, Tarun singhal has invited you to open a Gmail account Message-ID: I've been using Gmail and thought you might like to try it out. Here's an invitation to create an account. You're Invited to Gmail! Tarun singhal has invited you to open a Gmail account. Gmail is Google's free email service, built on the idea that email can be intuitive, efficient, and fun. Gmail has: *Less spam* Keep unwanted messages out of your inbox with Google's innovative technology. *Lots of space* Enough storage so that you'll never have to delete another message. *Built-in chat* Text or video chat with Tarun singhal and other friends in real time. *Mobile access* Get your email anywhere with Gmail on your mobile phone. You can even import your contacts and email from Yahoo!, Hotmail, AOL, or any other web mail or POP accounts. Once you create your account, Tarun singhal will be notified of your new Gmail address so you can stay in touch. Learn moreor get started ! Sign up Google Inc. | 1600 Ampitheatre Parkway | Mountain View, California 94043 From tsinghal18 at gmail.com Mon Dec 26 10:09:49 2011 From: tsinghal18 at gmail.com (Tarun singhal) Date: Mon, 26 Dec 2011 14:39:49 +0530 Subject: [FFmpeg-user] Undefined reference to _aacplusEncOpen Message-ID: Hi, Following is the copy of my config.log file-> http://pastebin.com/embed_js.php?i=UyTBTTZv Following is copy of configure file-> http://pastebin.com/embed_js.php?i=2c15zppN I have also put it in the path. and configure is now also searching for aacplus.h header file.but it is what I guess is not able to link to the function. I have also put the path in the ld.so.conf file. Please help me resolving this issue Regards, Tarun Singhal From yhkang at icube.co.kr Mon Dec 26 15:10:56 2011 From: yhkang at icube.co.kr (=?ks_c_5601-1987?B?sK2/68jx?=) Date: Mon, 26 Dec 2011 23:10:56 +0900 Subject: [FFmpeg-user] (RUN_AVX_INSTR:6) cannot reference symbol `sizeofm9' in preprocessor In-Reply-To: References: Message-ID: <012901ccc3d8$2fa75730$8ef60590$@co.kr> I have the same problem. Errors have occurred on '.../x86/...' stuffs, while we are building for ARM. Is 'yasm' working on ARM cortex-a8 NEON? If not, '--disable-yasm' looks appropriate. I'm not sure which is right. Waiting for other's opinion...Thanks, in advance. -----Original Message----- From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user- bounces at ffmpeg.org] On Behalf Of Hans-Christoph Steiner Sent: Friday, December 23, 2011 11:13 AM To: ffmpeg-user at ffmpeg.org Subject: [FFmpeg-user] (RUN_AVX_INSTR:6) cannot reference symbol `sizeofm9' in preprocessor I'm building ffmpeg 0.9 for ARM cortex-a8 NEON using the Android NDKr7 (gcc 4.4.3) and I'm getting this bizarre error that I is stumping me: libswscale/x86/scale.asm:660: error: (RUN_AVX_INSTR:6) cannot reference symbol `sizeofm9' in preprocessor First, its building something for x86. Second 'sizeofm9' doesn't seem to exist anywhere. here's the complete build log: https://build.safermobile.org/job/android- ffmpeg/7/console Here's how I am configuring: https://github.com/guardianproject/android- ffmpeg/blob/master/configure_ffmpeg.sh I can make it go away by doing '--disable-yasm'. ..hc ---------------------------------------------------------------------------- "[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user From cehoyos at ag.or.at Mon Dec 26 16:13:45 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 26 Dec 2011 15:13:45 +0000 (UTC) Subject: [FFmpeg-user] =?utf-8?q?=28RUN=5FAVX=5FINSTR=3A6=29_cannot_refere?= =?utf-8?q?nce_symbol_=60sizeofm9=27_in_preprocessor?= References: <012901ccc3d8$2fa75730$8ef60590$@co.kr> Message-ID: ??? icube.co.kr> writes: > I have the same problem. > Errors have occurred on '.../x86/...' stuffs, while we are building for ARM. Please provide your configure line, run make, run make again, run "make V=1" and provide the complete, uncut output of "make V=1". (Please do not provide complete, uncut output of your first call to make.) If you are using a script that you did not write yourself, please report your problem wherever you found the script. Carl Eugen From cehoyos at ag.or.at Mon Dec 26 16:15:34 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Mon, 26 Dec 2011 15:15:34 +0000 (UTC) Subject: [FFmpeg-user] Watermark video file References: Message-ID: Boris Saint-Martin mediabroadcast-t.com> writes: > I would like to watermark a video file using FFmpeg but without success... If you want to report a usage problem here, please do not only report your command line, FFmpeg version and part of the console output, but please always provide the command line together with the complete, uncut console output. Carl Eugen From bigwhale at lubica.net Tue Dec 27 10:44:48 2011 From: bigwhale at lubica.net (David Klasinc) Date: Tue, 27 Dec 2011 10:44:48 +0100 Subject: [FFmpeg-user] Near lossless encoding is it even possible? Message-ID: <4EF99390.7020406@lubica.net> Greetings all, After days of searching trying and experimenting I gave up on getting 'lossless' screen capture. I am running Ubuntu 11.10 and I've built ffmpeg from source with the help of this guide: http://ubuntuforums.org/showthread.php?t=786095 I am grabbing screen with x11grab and no matter how I encode the video there are always problems with some 'bleeding' artifacts in the video. First I suspected that it might be the problem with x11grab, but grabbing a single frame works and there is no bleed. Here's the command line I used for grabbing: $ ffmpeg -y -f x11grab -r 1 -s 800x600 -i :0.0+0,0 \ -f image2 test_frame.png And here's the result: http://ubuntuone.com/4xWZkewo3PTU0kwbj5hEoJ Now, below is a comparison of real image on the left side and a captured screen on the right side. http://ubuntuone.com/6CoEBUnoPUM644PPOSiY84 Please note the very obvious color bleed in the terminal window where letters are red. The command used to capture this: $ ffmpeg -y -f x11grab -r 25 -s 800x800 -i :0.0+0,0 \ -vcodec huffyuv test_vid.avi The problem is that I get those artifacts no matter how I encode the video among the various commands that I tried are those listed below: http://pastebin.com/RH41evEB Results are pretty much the same with various levels of artifacts. Most of the things I am grabbing are actually terminal screens and this red bleed is really visible and I'd like to get rid of it. If anyone has any suggestions on which codec, parameter, preset or whatever, I should use to get the best result, I am open for all suggestions. Oh and here's my ffmpeg version: ffmpeg version N-32924-gb725443, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 27 2011 09:12:18 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 libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 48.100 / 53. 48.100 libavformat 53. 28.100 / 53. 28.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 54.100 / 2. 54.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 Pulled from git and built today. :) Regards, David From nicolas.george at normalesup.org Tue Dec 27 11:01:21 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Tue, 27 Dec 2011 11:01:21 +0100 Subject: [FFmpeg-user] Near lossless encoding is it even possible? In-Reply-To: <4EF99390.7020406@lubica.net> References: <4EF99390.7020406@lubica.net> Message-ID: <20111227100121.GA19287@phare.normalesup.org> Le septidi 7 niv?se, an CCXX, David Klasinc a ?crit?: > $ ffmpeg -y -f x11grab -r 1 -s 800x600 -i :0.0+0,0 \ > -f image2 test_frame.png > Now, below is a comparison of real image on the left side and a captured > screen on the right side. > > http://ubuntuone.com/6CoEBUnoPUM644PPOSiY84 Try mplayer -vo x11 to play the video you have encoded with the command-line above. If it does not help, show us the full output of both ffmpeg and mplayer. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From bigwhale at lubica.net Tue Dec 27 11:48:07 2011 From: bigwhale at lubica.net (David Klasinc) Date: Tue, 27 Dec 2011 11:48:07 +0100 Subject: [FFmpeg-user] Near lossless encoding is it even possible? In-Reply-To: <20111227100121.GA19287@phare.normalesup.org> References: <4EF99390.7020406@lubica.net> <20111227100121.GA19287@phare.normalesup.org> Message-ID: <4EF9A267.7040603@lubica.net> On 12/27/2011 11:01 AM, Nicolas George wrote: >> >> http://ubuntuone.com/6CoEBUnoPUM644PPOSiY84 > > Try mplayer -vo x11 to play the video you have encoded with the command-line > above. If it does not help, show us the full output of both ffmpeg and > mplayer. Well, I'll be ... If I capture with: $ ffmpeg -y -f x11grab -r 25 -s 800x800 -i :0.0+0,0 \ -vcodec huffyuv lala.avi And play with mplayer -vo x11 the output is crystal clear. If I encode with x264 and use -vo x11 the output is still not what I want it to be, but different than when I don't use -vo x11. Here's the comparison: http://ubuntuone.com/22mp70vCLuMdPD5peX4xDK Here's the output of ffmpeg when encoding: bigwhale at thefish:~$ ffmpeg -y -f x11grab -r 25 -s 800x800 -i :0.0+0,0 -vcodec libx264 -preset ultrafast -qp 0 lala.mkv ffmpeg version N-32924-gb725443, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 27 2011 09:12:18 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 libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 48.100 / 53. 48.100 libavformat 53. 28.100 / 53. 28.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 54.100 / 2. 54.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 [x11grab @ 0x29b1a20] device: :0.0+0,0 -> display: :0.0 x: 0 y: 0 width: 800 height: 800 [x11grab @ 0x29b1a20] shared memory extension found [x11grab @ 0x29b1a20] Estimating duration from bitrate, this may be inaccurate Input #0, x11grab, from ':0.0+0,0': Duration: N/A, start: 1324981724.074622, bitrate: 512000 kb/s Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 800x800, 512000 kb/s, 25 tbr, 1000k tbn, 25 tbc Incompatible pixel format 'bgra' for codec 'libx264', auto-selecting format 'yuv420p' [buffer @ 0x29c4ca0] w:800 h:800 pixfmt:bgra tb:1/1000000 sar:0/1 sws_param: [buffersink @ 0x29c2b00] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' [scale @ 0x29c33c0] w:800 h:800 fmt:bgra -> w:800 h:800 fmt:yuv420p flags:0x4 [libx264 @ 0x29bf580] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 0x29bf580] profile High 4:4:4 Predictive, level 3.1, 4:2:0 8-bit [libx264 @ 0x29bf580] 64 - core 120 r2120 0c7dab9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 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=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0 Output #0, matroska, to 'lala.mkv': Metadata: encoder : Lavf53.28.100 Stream #0:0: Video: h264, yuv420p, 800x800, q=-1--1, 1k tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> libx264) Press [q] to stop, [?] for help frame= 151 fps= 25 q=-1.0 Lsize= 1410kB time=00:00:06.00 bitrate=1924.4kbits/s video:1408kB audio:0kB global headers:0kB muxing overhead 0.113894% [libx264 @ 0x29bf580] frame I:1 Avg QP: 0.00 size:130235 [libx264 @ 0x29bf580] frame P:150 Avg QP: 0.00 size: 8739 [libx264 @ 0x29bf580] mb I I16..4: 100.0% 0.0% 0.0% [libx264 @ 0x29bf580] mb P I16..4: 24.5% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0.0% skip:75.4% [libx264 @ 0x29bf580] coded y,uvDC,uvAC intra: 6.7% 11.5% 11.2% inter: 0.1% 0.2% 0.2% [libx264 @ 0x29bf580] i16 v,h,dc,p: 97% 3% 0% 0% [libx264 @ 0x29bf580] i8c dc,h,v,p: 86% 7% 7% 0% [libx264 @ 0x29bf580] kb/s:1908.81 ********************* And here from mplayer (first with no parameters, then with -vo x11) ********************* bigwhale at thefish:~$ mplayer lala.mkv mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking MPlayer SVN-r33713-4.6.1 (C) 2000-2011 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing lala.mkv. libavformat file format detected. [matroska,webm @ 0x29af3a0] Estimating duration from bitrate, this may be inaccurate [lavf] stream 0: video (h264), -vid 0 VIDEO: [H264] 800x800 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s) Clip info: ENCODER: Lavf53.28.100 Load subtitles in ./ open: No such file or directory [MGA] Couldn't open: /dev/mga_vid open: No such file or directory [MGA] Couldn't open: /dev/mga_vid [VO_TDFXFB] Can't open /dev/fb0: Permission denied. [VO_3DFX] Unable to open /dev/3dfx. Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [vdpau] Error when calling vdp_device_create_x11: 1 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Audio: no sound Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Movie-Aspect is 1.00:1 - prescaling to correct movie aspect. VO: [xv] 800x800 => 800x800 Planar YV12 V: 3.0 0/ 0 6% 1% 0.0% 0 0 bigwhale at thefish:~$ mplayer -vo xv lala.mkv mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking MPlayer SVN-r33713-4.6.1 (C) 2000-2011 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing lala.mkv. libavformat file format detected. [matroska,webm @ 0x126f4a0] Estimating duration from bitrate, this may be inaccurate [lavf] stream 0: video (h264), -vid 0 VIDEO: [H264] 800x800 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s) Clip info: ENCODER: Lavf53.28.100 Load subtitles in ./ ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Audio: no sound Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Movie-Aspect is 1.00:1 - prescaling to correct movie aspect. VO: [xv] 800x800 => 800x800 Planar YV12 V: 6.0 0/ 0 4% 0% 0.0% 0 0 From nicolas.george at normalesup.org Tue Dec 27 12:37:08 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Tue, 27 Dec 2011 12:37:08 +0100 Subject: [FFmpeg-user] Near lossless encoding is it even possible? In-Reply-To: <4EF9A267.7040603@lubica.net> References: <4EF99390.7020406@lubica.net> <20111227100121.GA19287@phare.normalesup.org> <4EF9A267.7040603@lubica.net> Message-ID: <20111227113708.GA1473@phare.normalesup.org> Le septidi 7 niv?se, an CCXX, David Klasinc a ?crit?: > If I capture with: > > $ ffmpeg -y -f x11grab -r 25 -s 800x800 -i :0.0+0,0 \ > -vcodec huffyuv lala.avi > > And play with mplayer -vo x11 the output is crystal clear. Then my lucky guess was right. > If I encode > with x264 and use -vo x11 the output is still not what I want it to be, > but different than when I don't use -vo x11. Here's the comparison: The problem you have is in fact the same, either at encoding time or at playback time (when using mplayer without -vo x11): > Incompatible pixel format 'bgra' for codec 'libx264', auto-selecting > format 'yuv420p' The pixel format yuv420p subsamples the chrominance channels at half the resolution. You need to use another pixel format. When you used hufyuv, the encoding was done in RGB, without subsampling, but the playback was converted to yuv420 by mplayer to use the Xv driver. When using x264, you can not use RGB, you need to explicitly use a pixel format that does not subsamples. I believe it is called something like yuv444, although the exact meaning of each digit still baffles me. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From bigwhale at lubica.net Tue Dec 27 12:56:59 2011 From: bigwhale at lubica.net (David Klasinc) Date: Tue, 27 Dec 2011 12:56:59 +0100 Subject: [FFmpeg-user] Near lossless encoding is it even possible? In-Reply-To: <20111227113708.GA1473@phare.normalesup.org> References: <4EF99390.7020406@lubica.net> <20111227100121.GA19287@phare.normalesup.org> <4EF9A267.7040603@lubica.net> <20111227113708.GA1473@phare.normalesup.org> Message-ID: <4EF9B28B.4030602@lubica.net> On 12/27/2011 12:37 PM, Nicolas George wrote: > The pixel format yuv420p subsamples the chrominance channels at half the > resolution. You need to use another pixel format. When you used hufyuv, the > encoding was done in RGB, without subsampling, but the playback was > converted to yuv420 by mplayer to use the Xv driver. > > When using x264, you can not use RGB, you need to explicitly use a pixel > format that does not subsamples. I believe it is called something like > yuv444, although the exact meaning of each digit still baffles me. Thanks for the input. I was just about to reply that I discovered subsampling problem with a little help of a friend. I tried yuv444p, yuv440p and a few others and it didn't really help. Thanks for the info, at least now I know it is not me who is doing something wrong. :) Regards, David From cehoyos at ag.or.at Tue Dec 27 18:58:09 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Tue, 27 Dec 2011 17:58:09 +0000 (UTC) Subject: [FFmpeg-user] Near lossless encoding is it even possible? References: <4EF99390.7020406@lubica.net> <20111227100121.GA19287@phare.normalesup.org> <4EF9A267.7040603@lubica.net> <20111227113708.GA1473@phare.normalesup.org> Message-ID: Nicolas George normalesup.org> writes: > > $ ffmpeg -y -f x11grab -r 25 -s 800x800 -i :0.0+0,0 \ > > -vcodec huffyuv lala.avi > > > > And play with mplayer -vo x11 the output is crystal clear. > > Then my lucky guess was right. Very impressive! To the OP: Please always post complete, uncut console output to make the guessing easier ;-) Instead of -vo x11, use -vo gl (or -vf format=rgba -vo gl) to get "better" output without reduced performance. Carl Eugen From lbrtchx at gmail.com Tue Dec 27 20:30:56 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Tue, 27 Dec 2011 19:30:56 +0000 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: <20111219174149.GB11087@arborea> References: <20111219174149.GB11087@arborea> Message-ID: > since you're a potential user your feedback is very welcome. ~ two+ questions: ~ 1) for which version of ffmpeg/ffprobe will this patch be implemented as a command line option, say: ~ ffmpeg -xml-meta ... ~ and will it be based on some sort of xml schemas? ~ The thing is that and "xml" option for metadata would streamline the coding/interface greatly. Installing a patch becomes a user issue and any kinds of etceteras would throw them off ~ 2) What do you do when errors must be reported? say: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ VXTR_6639_201001062057170000.avi ~ [avi @ 0x8e16b80] parser not found for codec none, packets or times may be invalid. [avi @ 0x8e16b80] Could not find codec parameters (Video: none (VXTR / 0x52545856), 320x240) http://samples.mplayerhq,hu//V-codecs/VXTR.avi: Operation not permitted ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ clip5_6676_201109070601120000.avi ~ [avi @ 0x8e16b80] scale/rate is 10/0 which is invalid. (This file has been generated by broken software.) [avi @ 0x8e16b80] chunk size is too big during header parsing http://samples.mplayerhq,hu//V-codecs/GMP4/clip5.avi: Operation not permitted ~ lbrtchx From lbrtchx at gmail.com Tue Dec 27 23:56:48 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Tue, 27 Dec 2011 22:56:48 +0000 Subject: [FFmpeg-user] standard err or out? Message-ID: ~ are there assumptions or any explicit guidelines regarding where do ffmpeg/ffprobe report to? ~ what is reported on standard err also includes: ~ built on Dec 19 2011 06:57:29 with gcc 4.6.1 configuration: --prefix=/media/sdc1/inst/sw/ffmpeg ~ which is included when it is run on a file. ~ $ ffprobe -version ffprobe version N-35872-g6d8e6fe, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 19 2011 06:57:29 with gcc 4.6.1 configuration: --prefix=/media/sdc1/inst/sw/ffmpeg libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 ffprobe N-35872-g6d8e6fe libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 $ ffprobe /media/sdc1/tmp/eslpod/eslpod02/ESLPod100.mp3 ffprobe version N-35872-g6d8e6fe, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 19 2011 06:57:29 with gcc 4.6.1 configuration: --prefix=/media/sdc1/inst/sw/ffmpeg libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 [mp3 @ 0x8e16b80] max_analyze_duration 5000000 reached at 5015510 [mp3 @ 0x8e16b80] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from '/media/sdc1/tmp/eslpod/eslpod02/ESLPod100.mp3': Metadata: title : ESLPod100 genre : Podcast TBP : 120 encoded_by : iTunes v6.0.1 artist : Center for Educational Development TCM : Center for Educational Development album : English as a Second Language Podcast date : 2005 Duration: 00:13:35.03, start: 0.000000, bitrate: 64 kb/s Stream #0:0: Audio: mp3, 44100 Hz, mono, s16, 64 kb/s ~ since I am coding based on those streams I would like to have some idea of the logic behind it ~ lbrtchx From markus at fischer.name Wed Dec 28 01:04:09 2011 From: markus at fischer.name (Markus Fischer) Date: Wed, 28 Dec 2011 01:04:09 +0100 Subject: [FFmpeg-user] Preserving subtitles when transcoding mkv to wmv (or avi)? Message-ID: <4EFA5CF9.5080805@fischer.name> Hi, when I transcode a mkv to avi, I cannot seem to retain the subtitles. Example: $ ffmpeg.exe -i sample.mkv -an -scodec copy -y test.wmv ffmpeg version N-36193-gf514695, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 26 2011 17:55:53 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. 33.100 / 51. 33.100 libavcodec 53. 48.100 / 53. 48.100 libavformat 53. 28.100 / 53. 28.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 54.100 / 2. 54.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 Input #0, matroska,webm, from 'sample.mkv': Duration: 02:13:14.99, start: 0.000000, bitrate: 5857 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x696 [SAR 1:1 DAR 160:87], 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) Stream #0:2(eng): Subtitle: text (default) [buffer @ 0000000003C97DA0] w:1280 h:696 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: Output #0, asf, to 'test.wmv': Metadata: WM/EncodingSettings: Lavf53.28.100 Stream #0:0(eng): Video: msmpeg4 (MP43 / 0x3334504D), yuv420p, 1280x696 [SAR 1:1 DAR 160:87], q=2-31, 200 kb/s, 1k tbn, 23.98 tbc (default) Stream #0:1(eng): Subtitle: text (default) Stream mapping: Stream #0:0 -> #0:0 (h264 -> msmpeg4) Stream #0:2 -> #0:1 (copy) Could not write header for output file #0 (incorrect codec parameters ?) Leaving out "-scodec copy" successfully transcodes the file. Is this a problem with ffmpeg? or with the WMV container format? I think AVI would also be an option, but in this case I get a clear message that a special format is required for the subtitles: ffmpeg.exe -i sample.mkv -an -scodec copy -y test.avi ffmpeg version N-36193-gf514695, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 26 2011 17:55:53 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. 33.100 / 51. 33.100 libavcodec 53. 48.100 / 53. 48.100 libavformat 53. 28.100 / 53. 28.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 54.100 / 2. 54.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 Input #0, matroska,webm, from 'sample.mkv': Duration: 02:13:14.99, start: 0.000000, bitrate: 5857 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x696 [SAR 1:1 DAR 160:87], 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) Stream #0:2(eng): Subtitle: text (default) [buffer @ 0000000003E17DA0] w:1280 h:696 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: [avi @ 0000000003DCDF80] Subtitle streams other than DivX XSUB are not supported by the AVI muxer. Output #0, avi, to 'test.avi': Metadata: encoder : Lavf53.28.100 Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1280x696 [SAR 1:1 DAR 160:87], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc (default) Stream #0:1(eng): Subtitle: text (default) Stream mapping: Stream #0:0 -> #0:0 (h264 -> mpeg4) Stream #0:2 -> #0:1 (copy) Could not write header for output file #0 (incorrect codec parameters ?) The important line is: [avi @ 0000000003DCDF80] Subtitle streams other than DivX XSUB are not supported by the AVI muxer. All I'm trying is get videos playing on my XBOX 360 properly supporting subtitles. thanks, - Markus From stefasab at gmail.com Wed Dec 28 01:39:07 2011 From: stefasab at gmail.com (Stefano Sabatini) Date: Wed, 28 Dec 2011 01:39:07 +0100 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: References: <20111219174149.GB11087@arborea> Message-ID: <20111228003907.GA2723@arborea> On date Tuesday 2011-12-27 19:30:56 +0000, Albretch Mueller encoded: > > since you're a potential user your feedback is very welcome. > ~ > two+ questions: > ~ > 1) for which version of ffmpeg/ffprobe will this patch be implemented > as a command line option, say: > ~ > ffmpeg -xml-meta ... Pushed the patch today, try it with ffprobe -print_format xml. > ~ > and will it be based on some sort of xml schemas? doc/ffprobe.xsd > The thing is that and "xml" option for metadata would streamline the > coding/interface greatly. Installing a patch becomes a user issue and > any kinds of etceteras would throw them off > ~ > 2) What do you do when errors must be reported? say: errors will make ffprobe complain and exit, without spitting any output. [...] -- ffmpeg-user random tip #4 ffmpeg -i FILE prints information about the container format and the streams in a file. From stefasab at gmail.com Wed Dec 28 01:41:59 2011 From: stefasab at gmail.com (Stefano Sabatini) Date: Wed, 28 Dec 2011 01:41:59 +0100 Subject: [FFmpeg-user] standard err or out? In-Reply-To: References: Message-ID: <20111228004159.GB2723@arborea> On date Tuesday 2011-12-27 22:56:48 +0000, Albretch Mueller encoded: > ~ > are there assumptions or any explicit guidelines regarding where do > ffmpeg/ffprobe report to? ffmpeg mostly prints on stderr, in particular all error and debug messages. ffprobe uses stderr for debug/error messages, and stdout for the processed output. > ~ > what is reported on standard err also includes: > ~ > built on Dec 19 2011 06:57:29 with gcc 4.6.1 > configuration: --prefix=/media/sdc1/inst/sw/ffmpeg > ~ > which is included when it is run on a file. > ~ > $ ffprobe -version > ffprobe version N-35872-g6d8e6fe, Copyright (c) 2007-2011 the FFmpeg developers > built on Dec 19 2011 06:57:29 with gcc 4.6.1 > configuration: --prefix=/media/sdc1/inst/sw/ffmpeg > libavutil 51. 32. 0 / 51. 32. 0 > libavcodec 53. 46. 0 / 53. 46. 0 > libavformat 53. 26. 0 / 53. 26. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 53. 0 / 2. 53. 0 > libswscale 2. 1. 0 / 2. 1. 0 > ffprobe N-35872-g6d8e6fe > libavutil 51. 32. 0 / 51. 32. 0 > libavcodec 53. 46. 0 / 53. 46. 0 > libavformat 53. 26. 0 / 53. 26. 0 > libavdevice 53. 4. 0 / 53. 4. 0 > libavfilter 2. 53. 0 / 2. 53. 0 > libswscale 2. 1. 0 / 2. 1. 0 This changed, now -version only prints the version message (on stdout) once. From stefasab at gmail.com Wed Dec 28 01:45:49 2011 From: stefasab at gmail.com (Stefano Sabatini) Date: Wed, 28 Dec 2011 01:45:49 +0100 Subject: [FFmpeg-user] Preserving subtitles when transcoding mkv to wmv (or avi)? In-Reply-To: <4EFA5CF9.5080805@fischer.name> References: <4EFA5CF9.5080805@fischer.name> Message-ID: <20111228004549.GC2723@arborea> On date Wednesday 2011-12-28 01:04:09 +0100, Markus Fischer encoded: > Hi, > > when I transcode a mkv to avi, I cannot seem to retain the subtitles. IIRC AVI doesn't support soft subtitles, mkv is one of the few formats supporting it (and maybe MP4, I may be wrong). > Example: > > $ ffmpeg.exe -i sample.mkv -an -scodec copy -y test.wmv > ffmpeg version N-36193-gf514695, Copyright (c) 2000-2011 the FFmpeg > developers > built on Dec 26 2011 17:55:53 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. 33.100 / 51. 33.100 > libavcodec 53. 48.100 / 53. 48.100 > libavformat 53. 28.100 / 53. 28.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 54.100 / 2. 54.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 5.100 / 0. 5.100 > libpostproc 51. 2.100 / 51. 2.100 > Input #0, matroska,webm, from 'sample.mkv': > Duration: 02:13:14.99, start: 0.000000, bitrate: 5857 kb/s > Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x696 [SAR 1:1 DAR > 160:87], 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) > Stream #0:2(eng): Subtitle: text (default) > [buffer @ 0000000003C97DA0] w:1280 h:696 pixfmt:yuv420p tb:1/1000000 > sar:1/1 sws_param: > Output #0, asf, to 'test.wmv': > Metadata: > WM/EncodingSettings: Lavf53.28.100 > Stream #0:0(eng): Video: msmpeg4 (MP43 / 0x3334504D), yuv420p, > 1280x696 [SAR 1:1 DAR 160:87], q=2-31, 200 kb/s, 1k tbn, 23.98 tbc (default) > Stream #0:1(eng): Subtitle: text (default) > Stream mapping: > Stream #0:0 -> #0:0 (h264 -> msmpeg4) > Stream #0:2 -> #0:1 (copy) > Could not write header for output file #0 (incorrect codec parameters ?) > > Leaving out "-scodec copy" successfully transcodes the file. > > Is this a problem with ffmpeg? or with the WMV container format? > > I think AVI would also be an option, but in this case I get a clear > message that a special format is required for the subtitles: [...] > All I'm trying is get videos playing on my XBOX 360 properly supporting > subtitles. What you can try is to *burn* the subtitles on the video, using the ass filter, so first you'll need to convert the subtitles to ass (using ffmpeg -scodec ass). Otherwise you'll have to choose a container with full support for soft subtitles. -- ffmpeg-user random tip #0 Please try to use a reasonably recent version of ffmpeg before asking questions to ffmpeg-user: older versions aren't supported here! From networks1 at cox.net Wed Dec 28 02:37:12 2011 From: networks1 at cox.net (networks1 at cox.net) Date: Tue, 27 Dec 2011 17:37:12 -0800 Subject: [FFmpeg-user] Severe stuttering on playback of HDPVR recordings Message-ID: <20111227203712.ROY2D.468067.imail@fed1rmwml205> Greetings. I am getting severe stuttering on ffmpeg playback of recordings made with HDPVR (via MythTV). Output of the ffmpeg command line for one of these recordings is below. I have posted on this subject on some MythTV forums but have not been able to get help. Can someone on this list give me advice how to debug this? Comment about the container/codec frame rate seems like a possible clue, but I don't have any idea how to address that. Thanks, Steve [mythtv at mythtv mythtv]$ ffmpeg -i /video/recordings/2008_20111224163000.mpg ffmpeg version 0.7.6-rpmfusion, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 23 2011 17:45:03 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --extra-version=rpmfusion --enable-bzlib --enable-libcelt --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --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/lib64 --enable-runtime-cpudetect libavutil 50. 43. 0 / 50. 43. 0 libavcodec 52.122. 0 / 52.122. 0 libavformat 52.110. 0 / 52.110. 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 [h264 @ 0x1afc3a0] sps_id out of range [h264 @ 0x1afc3a0] non-existing SPS 15 referenced in buffering period [h264 @ 0x1afc3a0] non-existing PPS referenced [h264 @ 0x1afc3a0] sps_id out of range [h264 @ 0x1afc3a0] non-existing SPS 15 referenced in buffering period [h264 @ 0x1afc3a0] non-existing PPS 0 referenced [h264 @ 0x1afc3a0] decode_slice_header error [h264 @ 0x1afc3a0] no frame! [h264 @ 0x1afc3a0] sps_id out of range [snip] [h264 @ 0x1afc3a0] non-existing SPS 32 referenced in buffering period [h264 @ 0x1afc3a0] non-existing PPS referenced [h264 @ 0x1afc3a0] sps_id out of range [h264 @ 0x1afc3a0] non-existing SPS 32 referenced in buffering period [h264 @ 0x1afc3a0] non-existing PPS referenced [h264 @ 0x1afc3a0] sps_id out of range [h264 @ 0x1afc3a0] non-existing SPS 32 referenced in buffering period [h264 @ 0x1afc3a0] non-existing PPS 0 referenced [h264 @ 0x1afc3a0] decode_slice_header error [h264 @ 0x1afc3a0] no frame! [h264 @ 0x1afc3a0] mmco: unref short failure Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Input #0, mpegts, from '/video/recordings/2008_20111224163000.mpg': Duration: 00:59:53.93, start: 0.408378, bitrate: 11124 kb/s Program 1 Stream #0.0[0x1011]: Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 82.39 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0.1[0x1100]: Audio: aac, 48000 Hz, stereo, s16, 129 kb/s At least one output file must be specified From lbrtchx at gmail.com Wed Dec 28 02:50:17 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Wed, 28 Dec 2011 01:50:17 +0000 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: <20111228003907.GA2723@arborea> References: <20111219174149.GB11087@arborea> <20111228003907.GA2723@arborea> Message-ID: thanks a lot Stefano et al, >> 2) What do you do when errors must be reported? say: > errors will make ffprobe complain and exit, without spitting any output. I assume you mean ffprobe complains to the standard error stream, right? Also, and I am just asking for clarifications ;-), errors are not (will not be?) reported in any particular format, just as they show up thanks again guys you are making tika's development/maintenance way easier lbrtchx From cehoyos at ag.or.at Wed Dec 28 03:32:58 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 28 Dec 2011 02:32:58 +0000 (UTC) Subject: [FFmpeg-user] Severe stuttering on playback of HDPVR recordings References: <20111227203712.ROY2D.468067.imail@fed1rmwml205> Message-ID: cox.net> writes: > ffmpeg version 0.7.6-rpmfusion, Copyright (c) 2000-2011 the FFmpeg developers Is this also reproducible with current git head? If yes, I believe it is unlikely to get fixed without a sample, if not, please tell me which fix I have to (try to) backport;-) Carl Eugen From diesql at googlemail.com Wed Dec 28 16:26:24 2011 From: diesql at googlemail.com (Jamie Tufnell) Date: Wed, 28 Dec 2011 10:26:24 -0500 Subject: [FFmpeg-user] Command line option to convert to square pixels? In-Reply-To: <18F2304FDF7A49479E988E5DEF565261@gtv.local> References: <90D645E5-1E58-4A2F-96F6-96593F2A9B61@lesspain.de> <18F2304FDF7A49479E988E5DEF565261@gtv.local> Message-ID: On Sat, Nov 19, 2011 at 11:43 PM, Dan Flett wrote: > >> On Nov 18, 2011, at 18:06 , Jamie Tufnell wrote: >> >> > How can I convert to square pixels IF necessary, AND >> maintain height >> > based the input file's display aspect ratio? [snip] > When doing any sort of scaling, the first thing in my -vf sequence is this: > > -vf scale=iw*sar:ih > > This scales the width to make square pixels. ?Any subsequent transformations > are then done on square pixel video. Great, thanks! J From networks1 at cox.net Wed Dec 28 17:47:05 2011 From: networks1 at cox.net (steve) Date: Wed, 28 Dec 2011 09:47:05 -0700 Subject: [FFmpeg-user] Severe stuttering on playback of HDPVR recordings In-Reply-To: References: <20111227203712.ROY2D.468067.imail@fed1rmwml205> Message-ID: <4EFB4809.8090301@cox.net> On 12/27/2011 7:32 PM, Carl Eugen Hoyos wrote: > cox.net> writes: > >> ffmpeg version 0.7.6-rpmfusion, Copyright (c) 2000-2011 the FFmpeg developers > Is this also reproducible with current git head? > If yes, I believe it is unlikely to get fixed without a sample, if not, please > tell me which fix I have to (try to) backport;-) > Don't know. Have never used git so I'm not sure how to install something with it. Is there another way to get a more recent version? The ver above is the latest offered by the repository, tho I see it's a couple of decimals behind. From cehoyos at ag.or.at Wed Dec 28 20:41:38 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Wed, 28 Dec 2011 19:41:38 +0000 (UTC) Subject: [FFmpeg-user] Severe stuttering on playback of HDPVR recordings References: <20111227203712.ROY2D.468067.imail@fed1rmwml205> <4EFB4809.8090301@cox.net> Message-ID: steve cox.net> writes: > On 12/27/2011 7:32 PM, Carl Eugen Hoyos wrote: > > cox.net> writes: > > > >> ffmpeg version 0.7.6-rpmfusion, Copyright (c) 2000-2011 > > > > Is this also reproducible with current git head? > > If yes, I believe it is unlikely to get fixed without a sample, if not, > > please tell me which fix I have to (try to) backport > > > Don't know. Have never used git so I'm not sure how to install > something with it. Is there another way to get a more recent version? http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz See also http://ffmpeg.org/download.html Carl Eugen From mm at agileweboperations.com Wed Dec 28 21:50:08 2011 From: mm at agileweboperations.com (Matthias Marschall) Date: Wed, 28 Dec 2011 21:50:08 +0100 Subject: [FFmpeg-user] ffmpeg hangs while transcoding .dv to .mov Message-ID: <62CF7E46-7E34-4162-BD99-80ABE1D76B86@agileweboperations.com> Hi, I already transcoded some dv files to mov using the very same command on the very same box successfully. Now I encountered at least two file where ffmpeg simply hangs fully using one CPU without finishing the transcode. Please see http://pastebin.com/rz6tipT3 for details. Any help is highly appreciated! Thanks. Matthias From networks1 at cox.net Wed Dec 28 22:08:45 2011 From: networks1 at cox.net (steve) Date: Wed, 28 Dec 2011 14:08:45 -0700 Subject: [FFmpeg-user] Severe stuttering on playback of HDPVR recordings In-Reply-To: References: <20111227203712.ROY2D.468067.imail@fed1rmwml205> <4EFB4809.8090301@cox.net> Message-ID: <4EFB855D.7060103@cox.net> On 12/28/2011 12:41 PM, Carl Eugen Hoyos wrote: > steve cox.net> writes: > >> On 12/27/2011 7:32 PM, Carl Eugen Hoyos wrote: >>> cox.net> writes: >>> >>>> ffmpeg version 0.7.6-rpmfusion, Copyright (c) 2000-2011 >>> Is this also reproducible with current git head? >>> If yes, I believe it is unlikely to get fixed without a sample, if not, >>> please tell me which fix I have to (try to) backport >>> >> Don't know. Have never used git so I'm not sure how to install >> something with it. Is there another way to get a more recent version? > http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz > See also http://ffmpeg.org/download.html > > Carl Eugen > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > I think I have determined that this problem was caused by too small of a buffer being allocated to VDPAU. Changing that seemed to fix the problem. Thanks for the come-back though! Steve From arissirajawali at gmail.com Thu Dec 29 06:11:24 2011 From: arissirajawali at gmail.com (aris sirajawali) Date: Thu, 29 Dec 2011 12:11:24 +0700 Subject: [FFmpeg-user] mpeg4 bitrate encoding problem too low Message-ID: hi, I have a problem when I encode the video with mpeg4 code. I use this command: ffmpeg-y-threads 8-i-croptop INPUT.MOV cropbottom 90-90-s QCIF-aspect 16:9-r 24-vcodec mpeg4-pass 1-b 224k-maxrate 704k-bufsize 1408k-g 24-an-deinterlace OUTPUT.MP4 & & / ffmpeg-y-threads 8-i-croptop INPUT.MOV cropbottom 90-90-s QCIF-aspect 16:9 -r 24-vcodec mpeg4-pass 2-b 224k-maxrate 704k-bufsize 1408k-g 24-acodec libfaac -ac 2-ar 44100-ab 32k-deinterlace OUTPUT.mp4 by using the command I get an error message like the following: Error: bitrate too low for this video with these parameters. error while opening codec for output stream # 0.0 - maybe incorrect parameters Such as bit_rate, rate, width or height. please help thanks a lot From stefasab at gmail.com Thu Dec 29 12:29:01 2011 From: stefasab at gmail.com (Stefano Sabatini) Date: Thu, 29 Dec 2011 12:29:01 +0100 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: References: <20111219174149.GB11087@arborea> <20111228003907.GA2723@arborea> Message-ID: <20111229112901.GA6575@arborea> On date Wednesday 2011-12-28 01:50:17 +0000, Albretch Mueller encoded: > thanks a lot Stefano et al, > > >> 2) What do you do when errors must be reported? say: > > > errors will make ffprobe complain and exit, without spitting any output. > > I assume you mean ffprobe complains to the standard error stream, right? Yes. > Also, and I am just asking for clarifications ;-), errors are not > (will not be?) reported in any particular format, just as they show up Yes, this is what is done right now. Showing an error at the application level may be interesting, at this level we have the error code and we can get a corresponding string from that. Using the exit() value is not feasible since FFmpeg error codes are not in the 0-255 integer range, reporting the error code/string is an interesting idea (but keep in mind that sometimes FFmpeg error codes are bogus). > thanks again guys you are making tika's development/maintenance way easier -- ffmpeg-user random tip #3 Some few multimedia formats (mpeg-1, mpeg-2:PS, DV) support physical merge consistency, which means you can merge two files with cat. E.g.: cat input1.mpeg input2.mpeg > output.mpeg See: http://www.ffmpeg.org/faq.html#SEC25 From cehoyos at ag.or.at Thu Dec 29 12:30:41 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 29 Dec 2011 11:30:41 +0000 (UTC) Subject: [FFmpeg-user] mpeg4 bitrate encoding problem too low References: Message-ID: aris sirajawali gmail.com> writes: > I have a problem when I encode the video with mpeg4 code. > I use this command: > > ffmpeg-y-threads 8-i-croptop INPUT.MOV cropbottom 90-90-s QCIF-aspect 16:9-r > 24-vcodec mpeg4-pass 1-b 224k-maxrate 704k-bufsize 1408k-g 24-an-deinterlace > OUTPUT.MP4 Please always post a (readable!) command line together with complete, uncut console output and please try to provide an as-short-as-possible command line to reproduce the problem. (Or is -pass n needed to reproduce your issue?) Carl Eugen From cehoyos at ag.or.at Thu Dec 29 12:32:59 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Thu, 29 Dec 2011 11:32:59 +0000 (UTC) Subject: [FFmpeg-user] ffmpeg hangs while transcoding .dv to .mov References: <62CF7E46-7E34-4162-BD99-80ABE1D76B86@agileweboperations.com> Message-ID: Matthias Marschall agileweboperations.com> writes: > I already transcoded some dv files to mov using the very same command on the > very same box successfully. > > Now I encountered at least two file where ffmpeg simply hangs fully using one > CPU without finishing the transcode. > > Please see http://pastebin.com/rz6tipT3 for details. Please always post all necessary information (command line and complete, uncut console output) on the mailing list, external resources tend to disappear. Is your problem also reproducible if you do not use an external library (libx264 and libfaac)? Carl Eugen From werner.robitza at gmail.com Fri Dec 30 00:20:43 2011 From: werner.robitza at gmail.com (Werner Robitza) Date: Fri, 30 Dec 2011 00:20:43 +0100 Subject: [FFmpeg-user] ffmpeg hangs while transcoding .dv to .mov In-Reply-To: References: <62CF7E46-7E34-4162-BD99-80ABE1D76B86@agileweboperations.com> Message-ID: It appears the problem has been resolved by upgrading to FFmpeg 0.9 http://superuser.com/q/372417/48078 Best, Werner On Thu, Dec 29, 2011 at 12:32 PM, Carl Eugen Hoyos wrote: > Matthias Marschall agileweboperations.com> writes: > > > I already transcoded some dv files to mov using the very same command on > the > > very same box successfully. > > > > Now I encountered at least two file where ffmpeg simply hangs fully > using one > > CPU without finishing the transcode. > > > > Please see http://pastebin.com/rz6tipT3 for details. > > Please always post all necessary information (command line and complete, > uncut > console output) on the mailing list, external resources tend to disappear. > > Is your problem also reproducible if you do not use an external library > (libx264 > and libfaac)? > > Carl Eugen > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > From huglester at gmail.com Fri Dec 30 01:31:36 2011 From: huglester at gmail.com (Jaroslav) Date: Fri, 30 Dec 2011 02:31:36 +0200 Subject: [FFmpeg-user] problem compiling ffmpeg 0.8.2 Message-ID: Hello guys, have you solved this problem yet? I can't seem to find the solution. Tried so many variants that I can think of.. with still no luck. My error is similar.. Here are the instalation options: # x264 cd $HOME git clone git://git.videolan.org/x264 cd x264 ./configure --enable-shared --enable-pic # I have tried without --enable-pic, but someone on the internet said it helped him) make sudo checkinstall --pkgname=x264 --default --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes #Install libvpx cd $HOME git clone http://git.chromium.org/webm/libvpx.git cd libvpx ./configure --enable-shared make sudo checkinstall --pkgname=libvpx --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ --default --deldoc=yes # Install FFmpeg cd $HOME git clone git://github.com/FFmpeg/FFmpeg.git ffmpeg cd ffmpeg ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \ --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx \ --enable-libx264 --enable-shared --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab make at this step I get the error: LD libavutil/libavutil.so.51 LD libavcodec/libavcodec.so.53 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libvorbisenc.a(vorbisenc.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libvorbisenc.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libavcodec/libavcodec.so.53] Error 1 Any help is greatly appreciated... I'm running Debian Squeeze, 64 bit version Thank you in advance! From cehoyos at ag.or.at Fri Dec 30 14:26:55 2011 From: cehoyos at ag.or.at (Carl Eugen Hoyos) Date: Fri, 30 Dec 2011 13:26:55 +0000 (UTC) Subject: [FFmpeg-user] problem compiling ffmpeg 0.8.2 References: Message-ID: Jaroslav gmail.com> writes: > git clone git://github.com/FFmpeg/FFmpeg.git ffmpeg This is not "0.8.2" but it is the version that you should use;-) [...] > /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libvorbisenc.a: could > not read symbols: Bad value Simply remove --enable-libvorbis from your configure line (or install a shared version if you really need shared libraries and vorbis encoding). Carl Eugen From nielsen.sebastian at gmail.com Fri Dec 30 20:40:11 2011 From: nielsen.sebastian at gmail.com (sebastian nielsen) Date: Fri, 30 Dec 2011 20:40:11 +0100 Subject: [FFmpeg-user] Disable buffering completely when encoding mp3. Message-ID: How I do to disable buffering completely when encoding with the LAME mp3 encoder? I have a application which is streamed over a VNC session, that also uses sound. The problem is that the sound lags behind like 30 seconds. Eg, if I do something on the screen, I hear the corresponding sound 30 seconds later. I did this: First I use a vsound hook to catch the application's sounds and pipe them to STDOUT in SUN AU format. (the server host 10 different instances of the same application so I need to catch the application sound with vsound, I cannot just use the sound from the soundcard since theres only one soundcard on server). Then I pipe it to a FIFO file. Lets call it "fifo_tmp". Then I do ffmpeg -f au -i fifo_tmp -f mp3 pipe:1 | cat > fifo_new fifo_new is a another FIFO file. Then I use this perl script hosted at a web server to pipe everything to the user via HTTP streaming: #!/usr/bin/perl use CGI ':standard'; local $| = 1; print "Content-Type: audio/mpeg\n\n"; binmode STDOUT; open(PIPE, "fifo_new"); binmode PIPE; while (read(PIPE,$data,1000000)) { print $data; } close(PIPE); The argument 1000000 says how much data to read at max each iteration, have tried many different values here ranging from 1 byte to 100000000 but with the exactly same result. I guess ffmpeg buffers when mp3-encoding. How I do to disable that buffering completely, pushing out data frames as soon they are done. From gofish at evilbill.org Fri Dec 30 21:48:49 2011 From: gofish at evilbill.org (Bill Adams) Date: Fri, 30 Dec 2011 12:48:49 -0800 Subject: [FFmpeg-user] MOV to MP4 for PS3 In-Reply-To: <922620079.180326.1321216226099.JavaMail.root@zmbs2.ppohosted.fi> References: <922620079.180326.1321216226099.JavaMail.root@zmbs2.ppohosted.fi> Message-ID: <4EFE23B1.6030803@evilbill.org> On 11/13/2011 12:30 PM, timo orava wrote: > I have been trying to get my .MOV-files to work on PS3. I used ffmpeg to convert them to MP4 but they still don't work. > > I tried the following: ffmpeg.exe -i "%e" -vprofile baseline -aq 224k -b 4000k "%e.mp4 > > What are the parameters for PS3 as it seems to be quite picky? I have tried both PS3 Media Server and TVersity without any luck. To encode 1080p for the PS3, the ffmpeg command line needs one of: -x264opts bluray-compat=1 or -x264opts b-pyramid=strict Here is an example full command line I use for 1080p with surround: ffmpeg -y -i path/to/source/file -map 0.0 -map 0.1 -metadata title="The Title" -metadata album="Movies" -acodec libfaac -ac 6 -ab 384k -f mp4 -vcodec libx264 -crf 24 -r 24 -preset slower -deinterlace -refs 4 -x264opts bluray-compat=1:level=41 -threads 0 outputfile.m4v Good luck. b. From salmjuh at hotmail.com Fri Dec 30 12:30:57 2011 From: salmjuh at hotmail.com (juha s.) Date: Fri, 30 Dec 2011 11:30:57 +0000 Subject: [FFmpeg-user] =?windows-1256?q?MOOV_Atom_problem_capturing_RSTP?= =?windows-1256?q?=FE_/_x264?= Message-ID: HiWhen recording RTSP feed some files are corrupted and some files work fine. Any ideas what might cause this behavior ??ffmpeg -i rtsp://10.10.22.31:8555 -aspect 16:9 -copyts -vcodec libx264 -b_strategy 2 -flags2 +bpyramid -coder 1 -flags +loop -deblockalpha 0 -deblockbeta 0 -flags2 +wpred -me_method hex -subq 8 -keyint_min 20 -crf 17 -threads 0 -y /tmp/test.mp4root at CVod1:~# ffmpeg -i /tmp/test.mp4ffmpeg version N-31684-g6071e4d, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 29 2011 09:01:07 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. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 55.100 / 2. 55.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1a3b7e0] moov atom not found/tmp/test.mp4: Operation not permittedroot at Vod1:~# x264 -Vx264 0.120.2120 0c7dab9(libswscale 2.1.100)(libavformat 53.29.100)built on Dec 29 2011, gcc: 4.6.1configuration: --bit-depth=8 --chroma-format=allx264 license: GPL version 2 or laterMoutsly files are OK so hope that some one can help with this.Hope someone can help me with this.Cheers,Jii From salmjuh at hotmail.com Fri Dec 30 14:49:30 2011 From: salmjuh at hotmail.com (juha s.) Date: Fri, 30 Dec 2011 13:49:30 +0000 Subject: [FFmpeg-user] =?windows-1256?q?FW=3A_MOOV_Atom_problem_capturing_?= =?windows-1256?q?RSTP=FE_/_x264?= In-Reply-To: References: , Message-ID: Hi I noticed that file that doesn't work is not ended normal way and here is last 30 lines from LOG of file which is failed: [libx264 @ 0x2a8b6e0] frame=170408 QP=17.95 NAL=2 Slice:P Poc:316 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170409 QP=17.95 NAL=2 Slice:P Poc:318 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170410 QP=17.95 NAL=2 Slice:P Poc:320 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170411 QP=17.95 NAL=2 Slice:P Poc:322 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170412 QP=17.95 NAL=2 Slice:P Poc:324 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170413 QP=17.95 NAL=2 Slice:P Poc:326 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170414 QP=17.95 NAL=2 Slice:P Poc:328 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170415 QP=17.95 NAL=2 Slice:P Poc:330 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170416 QP=17.95 NAL=2 Slice:P Poc:332 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170417 QP=17.95 NAL=2 Slice:P Poc:334 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170418 QP=17.95 NAL=2 Slice:P Poc:336 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170419 QP=17.95 NAL=2 Slice:P Poc:338 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170420 QP=17.95 NAL=2 Slice:P Poc:340 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170421 QP=17.95 NAL=2 Slice:P Poc:342 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170422 QP=17.95 NAL=2 Slice:P Poc:344 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170423 QP=17.95 NAL=2 Slice:P Poc:346 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170424 QP=17.95 NAL=2 Slice:P Poc:348 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170425 QP=17.95 NAL=2 Slice:P Poc:350 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170426 QP=17.95 NAL=2 Slice:P Poc:352 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170427 QP=17.95 NAL=2 Slice:P Poc:354 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170428 QP=17.95 NAL=2 Slice:P Poc:356 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170429 QP=17.95 NAL=2 Slice:P Poc:358 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170430 QP=17.95 NAL=2 Slice:P Poc:360 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170431 QP=17.95 NAL=2 Slice:P Poc:362 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170432 QP=17.95 NAL=2 Slice:P Poc:364 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170433 QP=17.95 NAL=2 Slice:P Poc:366 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170434 QP=17.95 NAL=2 Slice:P Poc:368 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170435 QP=17.95 NAL=2 Slice:P Poc:370 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170436 QP=17.95 NAL=2 Slice:P Poc:372 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170437 QP=17.95 NAL=2 Slice:P Poc:374 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170438 QP=17.95 NAL=2 Slice:P Poc:376 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170439 QP=17.95 NAL=2 Slice:P Poc:378 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170440 QP=17.95 NAL=2 Slice:P Poc:380 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170441 QP=17.95 NAL=2 Slice:P Poc:382 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170442 QP=17.95 NAL=2 Slice:P Poc:384 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170443 QP=17.95 NAL=2 Slice:P Poc:386 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170444 QP=17.95 NAL=2 Slice:P Poc:388 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170445 QP=17.95 NAL=2 Slice:P Poc:390 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170446 QP=17.95 NAL=2 Slice:P Poc:392 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170447 QP=17.95 NAL=2 Slice:P Poc:394 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170448 QP=17.95 NAL=2 Slice:P Poc:396 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170449 QP=17.95 NAL=2 Slice:P Poc:398 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170450 QP=17.95 NAL=2 Slice:P Poc:400 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170451 QP=17.95 NAL=2 Slice:P Poc:402 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170452 QP=17.95 NAL=2 Slice:P Poc:404 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170453 QP=17.95 NAL=2 Slice:P Poc:406 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170454 QP=17.95 NAL=2 Slice:P Poc:408 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170455 QP=17.95 NAL=2 Slice:P Poc:410 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170456 QP=17.95 NAL=2 Slice:P Poc:412 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170457 QP=17.95 NAL=2 Slice:P Poc:414 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170458 QP=17.95 NAL=2 Slice:P Poc:416 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170459 QP=17.95 NAL=2 Slice:P Poc:418 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170460 QP=17.95 NAL=2 Slice:P Poc:420 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170461 QP=17.95 NAL=2 Slice:P Poc:422 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170462 QP=17.95 NAL=2 Slice:P Poc:424 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170463 QP=17.95 NAL=2 Slice:P Poc:426 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170464 QP=17.95 NAL=2 Slice:P Poc:428 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170465 QP=17.95 NAL=2 Slice:P Poc:430 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170466 QP=17.95 NAL=2 Slice:P Poc:432 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170467 QP=17.95 NAL=2 Slice:P Poc:434 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170468 QP=17.95 NAL=2 Slice:P Poc:436 I:0 P:5 SKIP:915 size=37 bytes[libx264 @ 0x2a8b6e0] frame=170469 QP=17.95 NAL=2 Slice:P Poc:438 I:0 P:5 SKIP:915 size=37 bytes Files which are OK, is ended with summary of encoding: [libx264 @ 0x24c4b00] frame= 124 QP=21.65 NAL=0 Slice:B Poc:246 I:69 P:440 SKIP:395 size=4547 bytes[libx264 @ 0x24c4b00] frame= 125 QP=17.96 NAL=2 Slice:P Poc:250 I:2 P:176 SKIP:742 size=466 bytes[libx264 @ 0x24c4b00] frame= 126 QP=16.51 NAL=2 Slice:P Poc:252 I:0 P:55 SKIP:865 size=150 bytesframe= 127 fps= 30 q=-1.0 Lsize= 920kB time=00:00:05.00 bitrate=1506.8kbits/s dup=5 drop=0video:834kB audio:80kB global headers:0kB muxing overhead 0.583887%[libx264 @ 0x24c4b00] frame I:2 Avg QP: 5.69 size: 13375[libx264 @ 0x24c4b00] frame P:48 Avg QP:18.04 size: 9275[libx264 @ 0x24c4b00] frame B:77 Avg QP:21.63 size: 4955[libx264 @ 0x24c4b00] consecutive B-frames: 15.0% 7.9% 14.2% 63.0%[libx264 @ 0x24c4b00] mb I I16..4: 67.1% 0.0% 32.9%[libx264 @ 0x24c4b00] mb P I16..4: 8.7% 0.0% 14.0% P16..4: 24.5% 12.9% 3.3% 0.0% 0.0% skip:36.6%[libx264 @ 0x24c4b00] mb B I16..4: 1.9% 0.0% 5.7% B16..8: 34.3% 13.2% 2.4% direct: 4.5% skip:38.0% L0:38.5% L1:44.3% BI:17.2%[libx264 @ 0x24c4b00] coded y,uvDC,uvAC intra: 60.8% 59.0% 37.7% inter: 17.4% 16.7% 4.2%[libx264 @ 0x24c4b00] i16 v,h,dc,p: 53% 23% 14% 11%[libx264 @ 0x24c4b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 21% 17% 5% 6% 6% 6% 6% 7%[libx264 @ 0x24c4b00] i8c dc,h,v,p: 38% 27% 24% 11%[libx264 @ 0x24c4b00] Weighted P-Frames: Y:0.0% UV:0.0%[libx264 @ 0x24c4b00] ref P L0: 71.3% 6.9% 16.4% 5.4%[libx264 @ 0x24c4b00] ref B L0: 90.1% 8.3% 1.6%[libx264 @ 0x24c4b00] ref B L1: 94.3% 5.7%[libx264 @ 0x24c4b00] kb/s:1344.08Received signal 15: terminating. So as you can see, I'm using "kill PID" for stopping the job. Why this usually works but sometimes makes unworking videofile ? Cheers,Jii From: salmjuh at hotmail.com To: ffmpeg-user at ffmpeg.org Subject: MOOV Atom problem capturing RSTP? / x264 Date: Fri, 30 Dec 2011 11:30:57 +0000 HiWhen recording RTSP feed some files are corrupted and some files work fine. Any ideas what might cause this behavior ??ffmpeg -i rtsp://10.10.22.31:8555 -aspect 16:9 -copyts -vcodec libx264 -b_strategy 2 -flags2 +bpyramid -coder 1 -flags +loop -deblockalpha 0 -deblockbeta 0 -flags2 +wpred -me_method hex -subq 8 -keyint_min 20 -crf 17 -threads 0 -y /tmp/test.mp4root at CVod1:~# ffmpeg -i /tmp/test.mp4ffmpeg version N-31684-g6071e4d, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 29 2011 09:01:07 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. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 55.100 / 2. 55.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1a3b7e0] moov atom not found/tmp/test.mp4: Operation not permittedroot at Vod1:~# x264 -Vx264 0.120.2120 0c7dab9(libswscale 2.1.100)(libavformat 53.29.100)built on Dec 29 2011, gcc: 4.6.1configuration: --bit-depth=8 --chroma-format=allx264 license: GPL version 2 or laterMoutsly files are OK so hope that some one can help with this.Hope someone can help me with this.Cheers,Jii From john at pitney.org Sat Dec 31 04:16:04 2011 From: john at pitney.org (John Pitney) Date: Fri, 30 Dec 2011 21:16:04 -0600 Subject: [FFmpeg-user] Audio stream missing Message-ID: I hope I'm not missing something obvious here, but I can't see why the output from the ffmpeg encode below has no audio channel included. I've run ffmpeg encodes with similar arguments but with other input files, and I got audio streams with those. What am I doing wrong that causes me to get no audio? --- begin paste --- $ ffmpeg -i dvd_rip.vob -vcodec libx264 -preset fast -crf 22 -threads 8 -acodec libfaac -ac 2 -t 60 -ab 128k -y audiotest.mp4 ffmpeg version N-36295-gb6ffcee, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 30 2011 20:33:51 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-nonfree libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 55.100 / 2. 55.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 [mpeg2video @ 0x20b0c60] ac-tex damaged at 11 7 [mpeg2video @ 0x20b0c60] Warning MVs not available [mpeg2video @ 0x20b0c60] concealing 1035 DC, 1035 AC, 1035 MV errors [mpeg @ 0x20aa7a0] max_analyze_duration 5000000 reached at 5024000 Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 59.94 (60000/1001) Input #0, mpeg, from 'dvd_rip.vob': Duration: 01:02:07.82, start: 0.280633, bitrate: 668 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 9800 kb/s, 23.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:2[0x81]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s Stream #0:3[0x82]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s Stream #0:4[0x83]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s [buffer @ 0x20b2d80] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27 sws_param: [libx264 @ 0x218acc0] using SAR=32/27 [libx264 @ 0x218acc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 0x218acc0] profile High, level 3.1 [libx264 @ 0x218acc0] 264 - core 120 r2120 0c7dab9 - 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=8 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=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'audiotest.mp4': Metadata: encoder : Lavf53.29.100 Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=-1--1, 60k tbn, 59.94 tbc Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 2 channels, s16, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (mpeg2video -> libx264) Stream #0:1 -> #0:1 (ac3 -> libfaac) Press [q] to stop, [?] for help [mpeg2video @ 0x20b0c60] ac-tex damaged at 11 7 [mpeg2video @ 0x20b0c60] Warning MVs not available [mpeg2video @ 0x20b0c60] concealing 1035 DC, 1035 AC, 1035 MV errors Last message repeated 1 times frame= 3596 fps=264 q=30.0 Lsize= 10053kB time=00:00:00.00 bitrate= 0.0kbits/s dup=2165 drop=0 video:10017kB audio:0kB global headers:0kB muxing overhead 0.352582% [libx264 @ 0x218acc0] frame I:22 Avg QP:18.50 size: 30071 [libx264 @ 0x218acc0] frame P:2227 Avg QP:25.46 size: 4225 [libx264 @ 0x218acc0] frame B:1347 Avg QP:28.02 size: 138 [libx264 @ 0x218acc0] consecutive B-frames: 44.1% 14.6% 9.6% 31.7% [libx264 @ 0x218acc0] mb I I16..4: 29.1% 57.8% 13.1% [libx264 @ 0x218acc0] mb P I16..4: 0.5% 1.6% 0.4% P16..4: 22.0% 9.1% 5.8% 0.0% 0.0% skip:60.6% [libx264 @ 0x218acc0] mb B I16..4: 0.1% 0.2% 0.0% B16..8: 5.3% 0.2% 0.0% direct: 0.5% skip:93.6% L0:60.2% L1:35.3% BI: 4.5% [libx264 @ 0x218acc0] 8x8 transform intra:63.2% inter:69.3% [libx264 @ 0x218acc0] coded y,uvDC,uvAC intra: 63.0% 60.3% 20.9% inter: 10.1% 7.6% 0.2% [libx264 @ 0x218acc0] i16 v,h,dc,p: 55% 18% 10% 17% [libx264 @ 0x218acc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 11% 17% 5% 6% 9% 6% 9% 7% [libx264 @ 0x218acc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 23% 13% 5% 7% 9% 5% 7% 4% [libx264 @ 0x218acc0] i8c dc,h,v,p: 57% 15% 23% 5% [libx264 @ 0x218acc0] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x218acc0] ref P L0: 86.0% 14.0% [libx264 @ 0x218acc0] ref B L0: 94.5% 5.5% [libx264 @ 0x218acc0] ref B L1: 99.5% 0.5% [libx264 @ 0x218acc0] kb/s:1367.76 $ ffprobe dvd_rip.vob ffprobe version N-36295-gb6ffcee, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 30 2011 20:33:51 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-nonfree libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 55.100 / 2. 55.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 [mpeg2video @ 0x33cdd80] ac-tex damaged at 11 7 [mpeg2video @ 0x33cdd80] Warning MVs not available [mpeg2video @ 0x33cdd80] concealing 1035 DC, 1035 AC, 1035 MV errors [mpeg @ 0x33c78e0] max_analyze_duration 5000000 reached at 5024000 Input #0, mpeg, from 'dvd_rip.vob': Duration: 01:02:07.82, start: 0.280633, bitrate: 668 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 9800 kb/s, 23.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s Stream #0:2[0x81]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s Stream #0:3[0x82]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s Stream #0:4[0x83]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s $ ffprobe audiotest.mp4 ffprobe version N-36295-gb6ffcee, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 30 2011 20:33:51 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-nonfree libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 55.100 / 2. 55.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'audiotest.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.29.100 Duration: 00:00:59.99, start: 0.000000, bitrate: 1372 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1367 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc Metadata: creation_time : 1970-01-01 00:00:00 handler_name : --- end paste --- Thanks, John From Cecil at decebal.nl Sat Dec 31 09:49:42 2011 From: Cecil at decebal.nl (Cecil Westerhof) Date: Sat, 31 Dec 2011 09:49:42 +0100 Subject: [FFmpeg-user] Making a DVD with menu's Message-ID: <87zke9m8gp.fsf@Compaq.site> I am asked by an acquaintance to make a DVD with a start menu. He is going to deliver flv files. I understood these have to be converted to vob files. Is this a task to do with ffmpeg? If so, is there a good tutorial how to do this? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof From lbrtchx at gmail.com Sat Dec 31 14:52:07 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Sat, 31 Dec 2011 13:52:07 +0000 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: <20111229112901.GA6575@arborea> References: <20111219174149.GB11087@arborea> <20111228003907.GA2723@arborea> <20111229112901.GA6575@arborea> Message-ID: ~ -print_format xml option is giving me an empty xml file ~ what am i mistaking? ~ $ ffprobe -print_format xml /media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv ffprobe version N-36301-g81980bf, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 31 2011 08:26:41 with gcc 4.6.1 configuration: --prefix=/media/sdb1/inst/sw libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 56.100 / 2. 56.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 Input #0, flv, from '/media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv': Metadata: starttime : 0 totalduration : 259 totaldatarate : 368 bytelength : 11911909 canseekontime : true sourcedata : B4A7DD646HH1325136036615908 purl : pmsg : Duration: 00:04:18.64, start: 0.000000, bitrate: 368 kb/s Stream #0:0: Video: h264 (Main), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 260 kb/s, 29.92 tbr, 1k tbn, 59.83 tbc Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 107 kb/s ~ Also ffprobe -version does not include anymore the "built on" and configuration stanzas. I think it is best if it includes it in both the version and the regular ffprobe runs ~ $ ffprobe -version ffprobe N-36301-g81980bf libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 56.100 / 2. 56.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 ~ thank you lbrtchx From derschu50 at googlemail.com Sat Dec 31 16:59:45 2011 From: derschu50 at googlemail.com (DasDing) Date: Sat, 31 Dec 2011 07:59:45 -0800 (PST) Subject: [FFmpeg-user] Low FPS with MPEG-TS (H264) Encoding Message-ID: <1325347185913-4248779.post@n4.nabble.com> Hi all, I want to encode and stream a video from a HTTP source to a RTMP server (adobe flash media server). The source-file has a MPEG-TS container with a H.264 encoder. The audio is an ac3 5.1 codec. I get the video from a tv programm that streams the tv channel to a HTTP address. It only happens with HD channel who have an ac3 5.1 codec. HD channel with ac3 2.0 codec works quiet well. And channel with SD quality works good for a long time. Here the ffmpeg-console: http://www0.xup.in/exec/ximg.php?fid=62464421 You can see that the FPS is only at 15, but it must be 25, and there are a lot of red lines. Here my ffmpeg line: /ffmpeg\ffmpeg -isync -i "http://127.0.0.1:2345" -vcodec libx264 -r 25 -b 850k -minrate 800k -maxrate 900k -bufsize 2000k -s 720x400 -bt 5k -acodec libmp3lame -ab 96k -ar 44100 -channels 2 -async 50 -ac 2 -threads 0 -fpre ffmpeg/.ffmpeg//libx264-main.ffpreset -f flv "rtmp://111.11.111.11:1935/live/test flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)"/ ffmpeg must encode to flv (flash), other formats do not support adobe flash media server. If you need more informations, please ask me :). -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Low-FPS-with-MPEG-TS-H264-Encoding-tp4248779p4248779.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From stefasab at gmail.com Sat Dec 31 17:06:23 2011 From: stefasab at gmail.com (Stefano Sabatini) Date: Sat, 31 Dec 2011 17:06:23 +0100 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: References: <20111219174149.GB11087@arborea> <20111228003907.GA2723@arborea> <20111229112901.GA6575@arborea> Message-ID: <20111231160623.GB21305@arborea> On date Saturday 2011-12-31 13:52:07 +0000, Albretch Mueller encoded: > ~ > -print_format xml option is giving me an empty xml file > ~ > what am i mistaking? You need to tell what you want to print (-show_streams, -show_format, -show_packets). > ~ > $ ffprobe -print_format xml > /media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv > ffprobe version N-36301-g81980bf, Copyright (c) 2007-2011 the FFmpeg developers > built on Dec 31 2011 08:26:41 with gcc 4.6.1 > configuration: --prefix=/media/sdb1/inst/sw > libavutil 51. 33.100 / 51. 33.100 > libavcodec 53. 49.100 / 53. 49.100 > libavformat 53. 29.100 / 53. 29.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 56.100 / 2. 56.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 5.100 / 0. 5.100 > Input #0, flv, from > '/media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv': > Metadata: > starttime : 0 > totalduration : 259 > totaldatarate : 368 > bytelength : 11911909 > canseekontime : true > sourcedata : B4A7DD646HH1325136036615908 > purl : > pmsg : > Duration: 00:04:18.64, start: 0.000000, bitrate: 368 kb/s > Stream #0:0: Video: h264 (Main), yuv420p, 320x240 [SAR 1:1 DAR > 4:3], 260 kb/s, 29.92 tbr, 1k tbn, 59.83 tbc > Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 107 kb/s > > > > ~ > Also ffprobe -version does not include anymore the "built on" and > configuration stanzas. I think it is best if it includes it in both > the version and the regular ffprobe runs Dunno, that was a recent change, affecting all the ff* tools. From de.techno at gmail.com Sat Dec 31 12:35:45 2011 From: de.techno at gmail.com (dE .) Date: Sat, 31 Dec 2011 17:05:45 +0530 Subject: [FFmpeg-user] mpeg4 bitrate encoding problem too low In-Reply-To: References: Message-ID: <4EFEF391.3050200@gmail.com> On 12/29/11 10:41, aris sirajawali wrote: > hi, > I have a problem when I encode the video with mpeg4 code. > I use this command: > > ffmpeg-y-threads 8-i-croptop INPUT.MOV cropbottom 90-90-s QCIF-aspect 16:9-r > 24-vcodec mpeg4-pass 1-b 224k-maxrate 704k-bufsize 1408k-g 24-an-deinterlace > OUTPUT.MP4& & > / ffmpeg-y-threads 8-i-croptop INPUT.MOV cropbottom 90-90-s QCIF-aspect 16:9 > -r 24-vcodec mpeg4-pass 2-b 224k-maxrate 704k-bufsize 1408k-g 24-acodec > libfaac -ac 2-ar 44100-ab 32k-deinterlace OUTPUT.mp4 > > by using the command I get an error message like the following: > Error: bitrate too low for this video with these parameters. > error while opening codec for output stream # 0.0 - maybe incorrect > parameters Such as bit_rate, rate, width or height. > > please help > > thanks a lot > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user I'd suggest you remove -maxrate (and it's argument) and increase the number after the -b (to, for e.g. 400k) From de.techno at gmail.com Sat Dec 31 12:49:00 2011 From: de.techno at gmail.com (dE .) Date: Sat, 31 Dec 2011 17:19:00 +0530 Subject: [FFmpeg-user] Audio stream missing In-Reply-To: References: Message-ID: <4EFEF6AC.4080702@gmail.com> On 12/31/11 08:46, John Pitney wrote: > I hope I'm not missing something obvious here, but I can't see why the > output from the ffmpeg encode below has no audio channel included. > I've run ffmpeg encodes with similar arguments but with other input > files, and I got audio streams with those. > > What am I doing wrong that causes me to get no audio? > > --- begin paste --- > > $ ffmpeg -i dvd_rip.vob -vcodec libx264 -preset fast -crf 22 -threads > 8 -acodec libfaac -ac 2 -t 60 -ab 128k -y audiotest.mp4 > ffmpeg version N-36295-gb6ffcee, Copyright (c) 2000-2011 the FFmpeg developers > built on Dec 30 2011 20:33:51 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) > configuration: --enable-gpl --enable-libfaac --enable-libmp3lame > --enable-libx264 --enable-nonfree > libavutil 51. 33.100 / 51. 33.100 > libavcodec 53. 49.100 / 53. 49.100 > libavformat 53. 29.100 / 53. 29.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 55.100 / 2. 55.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 5.100 / 0. 5.100 > libpostproc 51. 2.100 / 51. 2.100 > [mpeg2video @ 0x20b0c60] ac-tex damaged at 11 7 > [mpeg2video @ 0x20b0c60] Warning MVs not available > [mpeg2video @ 0x20b0c60] concealing 1035 DC, 1035 AC, 1035 MV errors > [mpeg @ 0x20aa7a0] max_analyze_duration 5000000 reached at 5024000 > > Seems stream 0 codec frame rate differs from container frame rate: > 59.94 (60000/1001) -> 59.94 (60000/1001) > Input #0, mpeg, from 'dvd_rip.vob': > Duration: 01:02:07.82, start: 0.280633, bitrate: 668 kb/s > Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 > [SAR 32:27 DAR 16:9], 9800 kb/s, 23.94 fps, 59.94 tbr, 90k tbn, 59.94 > tbc > Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s > Stream #0:2[0x81]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s > Stream #0:3[0x82]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s > Stream #0:4[0x83]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s > [buffer @ 0x20b2d80] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27 > sws_param: > [libx264 @ 0x218acc0] using SAR=32/27 > [libx264 @ 0x218acc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 > FastShuffle SSE4.2 AVX > [libx264 @ 0x218acc0] profile High, level 3.1 > [libx264 @ 0x218acc0] 264 - core 120 r2120 0c7dab9 - 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=8 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=crf > mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 > aq=1:1.00 > Output #0, mp4, to 'audiotest.mp4': > Metadata: > encoder : Lavf53.29.100 > Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 720x480 > [SAR 32:27 DAR 16:9], q=-1--1, 60k tbn, 59.94 tbc > Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 2 > channels, s16, 128 kb/s > Stream mapping: > Stream #0:0 -> #0:0 (mpeg2video -> libx264) > Stream #0:1 -> #0:1 (ac3 -> libfaac) > Press [q] to stop, [?] for help > [mpeg2video @ 0x20b0c60] ac-tex damaged at 11 7 > [mpeg2video @ 0x20b0c60] Warning MVs not available > [mpeg2video @ 0x20b0c60] concealing 1035 DC, 1035 AC, 1035 MV errors > Last message repeated 1 times > frame= 3596 fps=264 q=30.0 Lsize= 10053kB time=00:00:00.00 bitrate= > 0.0kbits/s dup=2165 drop=0 > video:10017kB audio:0kB global headers:0kB muxing overhead 0.352582% > [libx264 @ 0x218acc0] frame I:22 Avg QP:18.50 size: 30071 > [libx264 @ 0x218acc0] frame P:2227 Avg QP:25.46 size: 4225 > [libx264 @ 0x218acc0] frame B:1347 Avg QP:28.02 size: 138 > [libx264 @ 0x218acc0] consecutive B-frames: 44.1% 14.6% 9.6% 31.7% > [libx264 @ 0x218acc0] mb I I16..4: 29.1% 57.8% 13.1% > [libx264 @ 0x218acc0] mb P I16..4: 0.5% 1.6% 0.4% P16..4: 22.0% > 9.1% 5.8% 0.0% 0.0% skip:60.6% > [libx264 @ 0x218acc0] mb B I16..4: 0.1% 0.2% 0.0% B16..8: 5.3% > 0.2% 0.0% direct: 0.5% skip:93.6% L0:60.2% L1:35.3% BI: 4.5% > [libx264 @ 0x218acc0] 8x8 transform intra:63.2% inter:69.3% > [libx264 @ 0x218acc0] coded y,uvDC,uvAC intra: 63.0% 60.3% 20.9% > inter: 10.1% 7.6% 0.2% > [libx264 @ 0x218acc0] i16 v,h,dc,p: 55% 18% 10% 17% > [libx264 @ 0x218acc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 11% 17% 5% > 6% 9% 6% 9% 7% > [libx264 @ 0x218acc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 23% 13% 5% > 7% 9% 5% 7% 4% > [libx264 @ 0x218acc0] i8c dc,h,v,p: 57% 15% 23% 5% > [libx264 @ 0x218acc0] Weighted P-Frames: Y:0.0% UV:0.0% > [libx264 @ 0x218acc0] ref P L0: 86.0% 14.0% > [libx264 @ 0x218acc0] ref B L0: 94.5% 5.5% > [libx264 @ 0x218acc0] ref B L1: 99.5% 0.5% > [libx264 @ 0x218acc0] kb/s:1367.76 > > $ ffprobe dvd_rip.vob > ffprobe version N-36295-gb6ffcee, Copyright (c) 2007-2011 the FFmpeg developers > built on Dec 30 2011 20:33:51 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) > configuration: --enable-gpl --enable-libfaac --enable-libmp3lame > --enable-libx264 --enable-nonfree > libavutil 51. 33.100 / 51. 33.100 > libavcodec 53. 49.100 / 53. 49.100 > libavformat 53. 29.100 / 53. 29.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 55.100 / 2. 55.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 5.100 / 0. 5.100 > libpostproc 51. 2.100 / 51. 2.100 > [mpeg2video @ 0x33cdd80] ac-tex damaged at 11 7 > [mpeg2video @ 0x33cdd80] Warning MVs not available > [mpeg2video @ 0x33cdd80] concealing 1035 DC, 1035 AC, 1035 MV errors > [mpeg @ 0x33c78e0] max_analyze_duration 5000000 reached at 5024000 > Input #0, mpeg, from 'dvd_rip.vob': > Duration: 01:02:07.82, start: 0.280633, bitrate: 668 kb/s > Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 > [SAR 32:27 DAR 16:9], 9800 kb/s, 23.94 fps, 59.94 tbr, 90k tbn, 59.94 > tbc > Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s > Stream #0:2[0x81]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s > Stream #0:3[0x82]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s > Stream #0:4[0x83]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s > > $ ffprobe audiotest.mp4 > ffprobe version N-36295-gb6ffcee, Copyright (c) 2007-2011 the FFmpeg developers > built on Dec 30 2011 20:33:51 with gcc 4.6.1 20110908 (Red Hat 4.6.1-9) > configuration: --enable-gpl --enable-libfaac --enable-libmp3lame > --enable-libx264 --enable-nonfree > libavutil 51. 33.100 / 51. 33.100 > libavcodec 53. 49.100 / 53. 49.100 > libavformat 53. 29.100 / 53. 29.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 55.100 / 2. 55.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 5.100 / 0. 5.100 > libpostproc 51. 2.100 / 51. 2.100 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'audiotest.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > creation_time : 1970-01-01 00:00:00 > encoder : Lavf53.29.100 > Duration: 00:00:59.99, start: 0.000000, bitrate: 1372 kb/s > Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, > 720x480 [SAR 32:27 DAR 16:9], 1367 kb/s, 59.94 fps, 59.94 tbr, 60k > tbn, 119.88 tbc > Metadata: > creation_time : 1970-01-01 00:00:00 > handler_name : > --- end paste --- > > Thanks, > John > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user Seems like a bug to me. Did you try a different codec just to see where the problem lies? From de.techno at gmail.com Sat Dec 31 12:50:04 2011 From: de.techno at gmail.com (dE .) Date: Sat, 31 Dec 2011 17:20:04 +0530 Subject: [FFmpeg-user] Making a DVD with menu's In-Reply-To: <87zke9m8gp.fsf@Compaq.site> References: <87zke9m8gp.fsf@Compaq.site> Message-ID: <4EFEF6EC.6040008@gmail.com> On 12/31/11 14:19, Cecil Westerhof wrote: > I am asked by an acquaintance to make a DVD with a start menu. He is > going to deliver flv files. I understood these have to be converted to > vob files. Is this a task to do with ffmpeg? If so, is there a good > tutorial how to do this? > There're various applications to do this -- DVDstyler devede To name a few. From mark at mdsh.com Sat Dec 31 19:03:12 2011 From: mark at mdsh.com (Mark Himsley) Date: Sat, 31 Dec 2011 18:03:12 +0000 Subject: [FFmpeg-user] -vf split + overlay uses all RAM Message-ID: <4EFF4E60.9010604@mdsh.com> Running this command uses all RAM (and lots of swap) and outputs no frames to the output file: ffmpeg -loglevel verbose -i input.mov -vf "split[one][two];[one][two]overlay=0:0" -aspect 16:9 -vcodec dvvideo -acodec pcm_s16le -ac 2 -y output.mov I know it's a crazy command, but I was trying to overlay a smaller version of a video over its self, like this: ./ffmpeg -loglevel verbose -i input.mov -vf "split[one][two];[two]scale=200:200[three];[one][three]overlay=0:0[out]" -aspect 16:9 -vcodec dvvideo -acodec pcm_s16le -ac 2 -y output.mov That also uses all RAM and swap and doesn't output any frames, so I tried the simpler version. Can anyone else confirm this? This is the full command and output: $ ./ffmpeg -loglevel verbose -i input.mov -vf "split[one][two];[one][two]overlay=0:0" -aspect 16:9 -vcodec dvvideo -acodec pcm_s16le -ac 2 -y output.mov ffmpeg version N-36253-g1941549, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 30 2011 11:24:18 with gcc 4.0.1 (Apple Inc. build 5490) configuration: --cpu=i686 --extra-cflags='-I$PREFIX/include' --extra-libs='-L$PREFIX/lib' --prefix=/usr/local --disable-ffplay --disable-indev=x11_grab_device --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libvpx --enable-libx264 libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 55.100 / 2. 55.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 libpostproc 51. 2.100 / 51. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov': Metadata: creation_time : 2008-03-05 08:55:33 Duration: 00:00:22.00, start: 0.000000, bitrate: 28899 kb/s Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 28800 kb/s, SAR 118:81 DAR 295:162, 25 fps, 25 tbr, 25k tbn, 25 tbc Metadata: creation_time : 2008-03-05 08:55:34 handler_name : ?Apple Alias Data Handler [buffer @ 0x1223620] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:118/81 sws_param: [overlay @ 0x1224110] auto-inserting filter 'auto-inserted scale 0' between the filter 'Parsed_split_0' and the filter 'Parsed_overlay_1' [scale @ 0x1224410] w:720 h:576 fmt:yuv420p -> w:720 h:576 fmt:yuva420p flags:0x4 [overlay @ 0x1224110] main w:720 h:576 fmt:yuv420p overlay x:0 y:0 w:720 h:576 fmt:yuva420p [overlay @ 0x1224110] main_tb:1/1000000 overlay_tb:1/1000000 -> tb:1/1000000 exact:1 Output #0, mov, to 'output.mov': Metadata: creation_time : 2008-03-05 08:55:33 encoder : Lavf53.29.100 Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc Metadata: creation_time : 2008-03-05 08:55:34 handler_name : ?Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (dvvideo -> dvvideo) Press [q] to stop, [?] for help Killed -- Mark From nicolas.george at normalesup.org Sat Dec 31 20:11:32 2011 From: nicolas.george at normalesup.org (Nicolas George) Date: Sat, 31 Dec 2011 20:11:32 +0100 Subject: [FFmpeg-user] -vf split + overlay uses all RAM In-Reply-To: <4EFF4E60.9010604@mdsh.com> References: <4EFF4E60.9010604@mdsh.com> Message-ID: <20111231191132.GA2359@phare.normalesup.org> Le primidi 11 niv?se, an CCXX, Mark Himsley a ?crit?: > Running this command uses all RAM (and lots of swap) and outputs no > frames to the output file: > > ffmpeg -loglevel verbose -i input.mov -vf > "split[one][two];[one][two]overlay=0:0" -aspect 16:9 -vcodec dvvideo > -acodec pcm_s16le -ac 2 -y output.mov > > I know it's a crazy command, but I was trying to overlay a smaller > version of a video over its self, like this: > > ./ffmpeg -loglevel verbose -i input.mov -vf > "split[one][two];[two]scale=200:200[three];[one][three]overlay=0:0[out]" > -aspect 16:9 -vcodec dvvideo -acodec pcm_s16le -ac 2 -y output.mov > > That also uses all RAM and swap and doesn't output any frames, so I > tried the simpler version. > > Can anyone else confirm this? I can confirm, and I can suggest a workaroun: insert a FIFO before the first input of your overlay filter: [one] fifo, [three]overlay=0:0[out] What happens, I believe, is that when the filter gets a frame for the background, it requests a frame for the overlay, not knowing that it will get one immediately. As a result, the split filter outputs a frame for the overlay as requested, but also for the background, and that recurse. There is clearly room for improvement here. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From lbrtchx at gmail.com Sat Dec 31 20:18:45 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Sat, 31 Dec 2011 19:18:45 +0000 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: <20111231160623.GB21305@arborea> References: <20111219174149.GB11087@arborea> <20111228003907.GA2723@arborea> <20111229112901.GA6575@arborea> <20111231160623.GB21305@arborea> Message-ID: great! ~ ffprobe -show_streams, -show_format -print_format xml ~ is exactly what I needed! ~ $ ffprobe -show_streams -show_format -print_format xml /media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv ffprobe version N-36301-g81980bf, Copyright (c) 2007-2011 the FFmpeg developers built on Dec 31 2011 08:26:41 with gcc 4.6.1 configuration: --prefix=/media/sdb1/inst/sw libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 49.100 / 53. 49.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 56.100 / 2. 56.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 Input #0, flv, from '/media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv': Metadata: starttime : 0 totalduration : 259 totaldatarate : 368 bytelength : 11911909 canseekontime : true sourcedata : B4A7DD646HH1325136036615908 purl : pmsg : Duration: 00:04:18.64, start: 0.000000, bitrate: 368 kb/s Stream #0:0: Video: h264 (Main), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 260 kb/s, 29.92 tbr, 1k tbn, 59.83 tbc Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 107 kb/s From mark at mdsh.com Sat Dec 31 20:51:38 2011 From: mark at mdsh.com (Mark Himsley) Date: Sat, 31 Dec 2011 19:51:38 +0000 Subject: [FFmpeg-user] -vf split + overlay uses all RAM In-Reply-To: <20111231191132.GA2359@phare.normalesup.org> References: <4EFF4E60.9010604@mdsh.com> <20111231191132.GA2359@phare.normalesup.org> Message-ID: <4EFF67CA.8020703@mdsh.com> On 31/12/11 19:11, Nicolas George wrote: > Le primidi 11 niv?se, an CCXX, Mark Himsley a ?crit : >> Running this command uses all RAM (and lots of swap) and outputs no >> frames to the output file: >> >> ffmpeg -loglevel verbose -i input.mov -vf >> "split[one][two];[one][two]overlay=0:0" -aspect 16:9 -vcodec dvvideo >> -acodec pcm_s16le -ac 2 -y output.mov >> >> I know it's a crazy command, but I was trying to overlay a smaller >> version of a video over its self, like this: >> >> ./ffmpeg -loglevel verbose -i input.mov -vf >> "split[one][two];[two]scale=200:200[three];[one][three]overlay=0:0[out]" >> -aspect 16:9 -vcodec dvvideo -acodec pcm_s16le -ac 2 -y output.mov >> >> That also uses all RAM and swap and doesn't output any frames, so I >> tried the simpler version. >> >> Can anyone else confirm this? > > I can confirm, and I can suggest a workaroun: insert a FIFO before the first > input of your overlay filter: > > [one] fifo, [three]overlay=0:0[out] Thank you Nicolas - perfect workaround > What happens, I believe, is that when the filter gets a frame for the > background, it requests a frame for the overlay, not knowing that it will > get one immediately. As a result, the split filter outputs a frame for the > overlay as requested, but also for the background, and that recurse. > > There is clearly room for improvement here. Thanks. Interesting. -- Mark From lbrtchx at gmail.com Sat Dec 31 20:53:23 2011 From: lbrtchx at gmail.com (Albretch Mueller) Date: Sat, 31 Dec 2011 19:53:23 +0000 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: References: <20111219174149.GB11087@arborea> <20111228003907.GA2723@arborea> <20111229112901.GA6575@arborea> <20111231160623.GB21305@arborea> Message-ID: Stefano, last two things (I hope ;-)) ~ 1) mixing plain and xml-structured text is not that "useful". If user wants xml output, this is what she/he wants ~ 2) in ffprobe -version output, I would include the version and the build, a la: ~ ... ~ lbrtchx From mark at mdsh.com Sat Dec 31 20:59:04 2011 From: mark at mdsh.com (Mark Himsley) Date: Sat, 31 Dec 2011 19:59:04 +0000 Subject: [FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata? In-Reply-To: References: <20111219174149.GB11087@arborea> <20111228003907.GA2723@arborea> <20111229112901.GA6575@arborea> <20111231160623.GB21305@arborea> Message-ID: <4EFF6988.8060306@mdsh.com> On 31/12/11 19:53, Albretch Mueller wrote: > Stefano, last two things (I hope ;-)) > ~ > 1) mixing plain and xml-structured text is not that "useful". If user > wants xml output, this is what she/he wants I don't think it's mixed. XML output is on stdout and "text" output is on stderr. Try your command again, but redirect the output to a file ffprobe -show_streams -show_format -print_format xml /media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv >output.xml the console will contain the "text" part, and the file "output.xml" will contain the XML. -- Mark