[Ffmpeg-devel-irc] ffmpeg.log.20120512
burek
burek021 at gmail.com
Sun May 13 02:05:01 CEST 2012
[00:00] <UngureanuVlad> yes, both of them
[00:00] <UngureanuVlad> the same errors
[00:00] <cbsrobot> hmmm ok - so as burek said - file a bug
[00:00] <UngureanuVlad> when i try to view the video with VLC everything is working perfect
[00:01] <UngureanuVlad> so no chance to be resolved soon i guess :(
[00:01] <burek> Antres, did you try, just out of curiosity, to recompress your mp3
[00:01] <burek> to see if the timestamps will match?
[00:01] <cbsrobot> not so sure
[00:02] <UngureanuVlad> cbsrobot: i should provide sample of video from the camera?
[00:02] <cbsrobot> can you create a sample with openrtsp ?
[00:02] <cbsrobot> sure
[00:02] <UngureanuVlad> if you can show me how i can
[00:02] <UngureanuVlad> i don`t really know how to use openrtsp very well
[00:02] <cbsrobot> nah - neve used it
[00:03] Action: burek sets mode: +beer cbsrobot
[00:04] <Antres> burek, no how could I do that?
[00:05] <cbsrobot> burek: thanks
[00:06] <burek> Antres, ffmpeg -y -loop 1 -i done.png -i intro.mp3 -acodec libmp3lame -ab 320k -ar 44100 -ac 2 -vcodec mpeg2video -shortest tmp.mpg
[00:06] Action: cbsrobot burps
[00:08] <Antres> hmm now the overhead is ~ 1.306%
[00:08] <cbsrobot> Antres: are you using variable bitrate ?
[00:08] <UngureanuVlad> cbsrobot: how can i cut first 5 seconds of the video with ffmpeg ?
[00:09] <Antres> cbsrobot: unfortunately I'm not sure, but I think so...
[00:09] <cbsrobot> UngureanuVlad: cut away ?
[00:09] <UngureanuVlad> to put in a separate file the 1st 5 seconds of my sample
[00:09] <cbsrobot> Antres: I guess the length of a vbr mp3 is not very accurate
[00:09] <cbsrobot> UngureanuVlad: use -t 5
[00:10] <cbsrobot> Antres: In my experience at least ...
[00:10] <Antres> cbsrobot: I see, thank you :)
[00:11] <Antres> cbsrobot: so basically it is impossible to tell the exact length of a vbr mp3?
[00:12] <cbsrobot> Antres: I'm not 100% sure but I had some problems with them too
[00:12] <cbsrobot> never checked it with ffmpeg though
[00:12] <burek> UngureanuVlad, ffmpeg -i input.avi -t 5 -vcodec copy -acodec copy out.avi
[00:12] <cbsrobot> it's just my experience with vbr mp3
[00:12] <UngureanuVlad> burek: thx, 2morrow i will file the bug
[00:13] <UngureanuVlad> for the moment good night :)
[00:13] <cbsrobot> gn
[00:14] <Antres> cbsrobot: well thank you again, I thought this was (probably) the best achievable outcome, but I wanted to make sure
[00:21] <TACPILOT> trying to use a newer version of ffmpeg with x264. none of the presets I am use to are there. looking for things like veryslow etc...
[00:21] <TACPILOT> are they depricated ?
[00:23] <cbsrobot> TACPILOT: show me your old encoding parameters
[00:23] <cbsrobot> the presets are gone in the sense that you can pass em directly to x264
[00:24] <TACPILOT> ffmpeg -i infile.MTS -vcodec libx264 -preset veryslow -crf 20 -r "60000/1001" -threads 0 outfile.mkv
[00:24] <TACPILOT> aah
[00:26] <TACPILOT> what is the best way to make my old params use the new versions ?
[00:26] <cbsrobot> don't use the old parameters
[00:27] <TACPILOT> veryslow params with new version
[00:27] <TACPILOT> how to translate
[00:28] <cbsrobot> ^ here you find the parameters you can pass to x264
[00:44] <TACPILOT> I'll take a look and see if I can read the setting in the old profile and compare to what is in link u sent . tnx
[01:31] <tg2> any way to speed up decoding/encoding of aac? more than 1 thread maybe?
[01:56] <filo1234> is it possible to merge a couple of video with ffmpeg?
[01:57] <aphid> yep - some formats are easier than others, though
[01:59] <filo1234> aphid: avi or flv
[02:00] <filo1234> mpeg4 codec
[02:01] <aphid> http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f
[02:02] <filo1234> I'm just reading there :D
[02:02] <aphid> but i think mencoder can just do it on one line, like mencoder -forceidx -ovc copy -oac copy -o file.avi p1.avi p2.avi {etc}
[02:03] <filo1234> aphid: I've used avimerge, but the audio in some case result broken
[02:04] <Agiofws> is this just me or do all of you see the names of the channels scroll down on ON all freenode channel ??
[02:04] <Agiofws> channels*
[04:50] <muppethouse> hi ffmpeg folk, cannot compile ffmpeg with x264 even though I have the latest svn/git versions of each and I was able to compile x264 just fine
[04:50] <muppethouse> ERROR: libx264 not found
[04:50] <sacarasc> What does config.log say?
[04:51] <muppethouse> lookin'
[04:52] <muppethouse> x264.h not found
[04:52] <sacarasc> Did you install x264 to some weird place?
[04:52] <muppethouse> trying to figure out where make install from x264 put it
[04:52] <muppethouse> just straight old ./configure; make; sudo make install
[04:54] <muppethouse> make install seems to have done nothing useful with x264.h
[04:54] <muppethouse> I have got it, but not copied anywhere useful
[04:56] <muppethouse> I really don't know off hand where I should copy this for ffmpeg to correctly find it
[04:58] <sacarasc> Did x264 compile properly?
[04:59] <muppethouse> yes
[05:00] <muppethouse> I've got x264.h, and a /usr/local/bin/x264
[05:01] <muppethouse> I think this is something goofy with the x264 make install not doing the right thing
[05:01] <muppethouse> I manually copied the header files out to /usr/local/include and I get further in config.log
[05:01] <muppethouse> ld: library not found for -lx264 collect2: ld returned 1 exit status ERROR: libx264 not found
[05:03] <muppethouse> ok, copied libx264.a out to /usr/local/lib
[05:04] <muppethouse> configure completed and now I'm building. not sure why x264 Makefile install target is only copying out the binary x264 and not the headers / libraries
[05:11] <tg_> is there a way to dynamically add feed and stream config blocks to ffserver on the fly?
[09:01] <vgrimmer> Hi Guys, I'm trying to compile ffmpeg on OSX(Lion) to generate the dylibs that I need, and I got the "ran out of register ..." error while compiling h264_cabac.c
[09:02] <vgrimmer> The command I'm using is: ./configure --disable-static --enable-shared --disable-outdev=sdl --enable-runtime-cpudetect --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --cc="clang -m32"
[09:02] <vgrimmer> Does anyone have a clue how to solve this?
[09:03] <vgrimmer> the code is the latest grabbed from git repository
[09:37] <Milos> Can ffmpeg understand a 000000000.00 format?
[09:37] <Milos> e.g.
[09:37] <Milos> Instead of ffmpeg -f image2 -i img_%04d.jpg my_new_video.mpg.
[09:37] <Milos> I have ffmpeg -f image2 -i img_%04d\.%02d.jpg my_new_video.mpg.
[09:38] <Milos> Without the backslash
[11:17] <Milos> I don't really understand how to do this.
[11:18] <Milos> ffmpeg -f image2 -i snap%10d.jpg out.mpg
[11:18] <Milos> How do I just get it to look at the files in my directory and use one and then the next available alphabetically?
[11:29] <Milos> nvm I got it
[11:47] <Milos> How can I make the output format less lossy? I have very very similar frames but it's not incorporating their changes.
[14:17] <lerra> Hi, how can I combine two udp streams, video h264 and audio is mp3 (can be changed)? I tried "ffmpeg -i udp://@:5012 -vcodec h264 -i udp://@:5032 -acodec copy -re -threads 2 -vsync 2 -map 0.0:1.0 -map 1.0 -f mpegts udp://224.0.0.2:1236
[14:17] <lerra> But it gave me errors such as [h264 @ 0x92fb4a0] non-existing PPS referenced [h264 @ 0x92fb4a0] decode_slice_header error [h264 @ 0x92fb4a0] no frame!
[14:18] <lerra> and the streams is confirmed working
[14:18] <burek> change @ to localhost
[14:18] <lerra> http://pastie.org/3899603
[14:18] <lerra> burek: aah, will test, hang on
[14:19] <burek> wait
[14:19] <burek> that's not the only change needed
[14:19] <burek> just a sec
[14:19] <lerra> ok :-)
[14:20] <burek> ffmpeg -i udp://@:5012 -i udp://@:5032 -vcodec copy -acodec copy -vsync 2 -f mpegts udp://224.0.0.2:1236
[14:20] <burek> try that
[14:20] <lerra> burek: giving no frames errors :(
[14:20] <burek> can you please use pastebin.com, to show your command line and its output?
[14:21] <burek> btw, since when ffmpeg supports @ instead of localhost (thumbs up) :)
[14:21] <lerra> one moment
[14:24] <lerra> http://pastie.org/3899613 seams to work but only working for 40 sec and then it just gets stuck and the fps just drops one frame by frame in the console
[14:26] <burek> lerra, please give the full output
[14:26] <burek> without any modifications
[14:29] <lerra> http://gigabit.nu/~sajko/ffmpeg.log
[14:31] <lerra> burek: _sajko is the man that is running it :-)
[14:31] <_sajko> oh hi :)
[14:33] <burek> 1280x720 at 90fps?
[14:33] <burek> what video is that ??
[14:33] <_sajko> should be 1280x720p in 30fps
[14:33] <_sajko> that's what gstreamer tells me anyway
[14:33] <_sajko> ah sorry, putting out 60fps now
[14:33] <_sajko> video/x-h264, width=(int)1280, height=(int)720, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, stream-format=(string)byte-stream, alignment=(string)au, level=(string)3.2, profile=(string)constrained-baseline
[14:34] <burek> you might wanna fix that first
[14:35] <_sajko> where does it say it's running in 90fps btw?
[14:35] <burek> Stream #0:0[0x40]: Video: h264 (Constrained Baseline) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 90k tbr, 90k tbn, 1073741824.00 tbc
[14:35] <_sajko> 90k?
[14:35] <burek> not even 90, but 90k :))) 90,000
[14:36] <burek> something is really wrong with your video :)
[14:36] <_sajko> ofcourse... i'm beginning to hate gstreamer
[14:38] <burek> what are you using gstreamer for?
[14:39] <lerra> its to get a blackmagic hdmi capturecard to work, the setup is the following
[14:39] <lerra> http://gigabit.nu/~sajko/gstreamer_birdie.pdf
[14:40] <lerra> there is a plugin that makes gstreamer able to get the data from the card
[14:40] <burek> why don't you do it with ffmpeg?
[14:40] <_sajko> Stream #0:0[0x40]: Video: h264 (Constrained Baseline) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 30 tbr, 90k tbn, 1073741824.00 tbc
[14:41] <_sajko> better?
[14:41] <burek> I guess :)
[14:41] <_sajko> burek: does ffmpeg support blackmagic cards?
[14:41] <burek> sec
[14:41] <lerra> hm
[14:41] <lerra> https://github.com/lu-zero/decklink-ffmpeg
[14:41] <lerra> maybe :-)
[14:42] <_sajko> trying to remember why i decided to move away from using ffmpeg last weekend...
[14:49] <burek> well
[14:49] <burek> does your linux recognize the card
[14:49] <_sajko> yes
[14:49] <burek> did it create appropriate /dev/videoX
[14:49] <_sajko> /dev/blackmagic0 :)
[14:49] <burek> then try ffmpeg -f video4linux2 -i /dev/blackmagic0
[14:50] <_sajko> [video4linux2,v4l2 @ 0xa20c400] Not a video capture device.
[14:50] <_sajko> /dev/blackmagic0: No such device
[14:50] <burek> check also /dev/vide0
[14:50] <_sajko> sadly :/
[14:51] <_sajko> there's no video0
[14:53] <burek> well, if it's not a video capture device, then what is it?
[14:54] <burek> try just ffmpeg -i /dev/blackmagic0
[14:54] <_sajko> it is... gstreamer can pick up the hdmi in without a problem... the problem i'm having with gstreamer is that is refusing to merge the streams
[14:54] <_sajko> invalid argument >_<
[14:54] <burek> can you please use pastebin.com, to show your command line and its output?
[14:55] <_sajko> http://pastie.org/3899712
[14:56] <burek> try this ffmpeg -f rawvideo -s 1920x1080 -i /dev/blackmagic/serial0 -b 768k -f h264 test.avi
[14:57] <_sajko> http://pastie.org/3899719
[14:57] <_sajko> i will have to configure the card somehow thou, but that looks promising
[14:57] <burek> try ffmpeg -f rawvideo -s 1920x1080 -i /dev/blackmagic/serial0 out.mpg
[14:58] <_sajko> http://pastie.org/3899725
[14:59] <burek> hm
[14:59] <burek> try ffmpeg -t 30 -f rawvideo -s 1920x1080 -i /dev/blackmagic/card0 -vcodec libx264 out.flv
[15:00] <_sajko> Unknown encoder 'libx264'
[15:00] <burek> that's such a big shame
[15:00] <burek> to compile ffmpeg without libx264 :(
[15:00] <burek> well ok
[15:01] <burek> try ffmpeg -t 30 -f rawvideo -s 1920x1080 -i /dev/blackmagic/card0 out.avi
[15:01] <burek> that should work
[15:01] <_sajko> well that's no biggie, i can recompile it again... probably just some miss
[15:02] <_sajko> http://pastie.org/3899747
[15:02] <burek> ok, well your card doesn't want to cooperate :)
[15:02] <burek> http://ffmpeg.org/pipermail/ffmpeg-devel/2012-March/122559.html
[15:02] <burek> try that thing
[15:02] <burek> if it doesn't work like that
[15:02] <burek> buy another card and drop that into the garbage :)
[15:03] <_sajko> will need to fix that libx264 then
[15:03] <_sajko> burek: problem is that we probably won't have time to buy another card... this setup is gonna be torn down on monday morning and then i'm driving it to a LAN party event which starts building on tuesday :P
[15:04] <burek> buy some logitech webcam and it'll do the job I guess :) if you are streaming something live :)
[15:04] <_sajko> well we're going to live stream everything that is show on the projectors :)
[15:05] <_sajko> Unknown input format: 'decklink'
[15:05] <_sajko> ofcourse :P
[16:10] <_sajko> burek: can you recieve a udp stream with ffmpeg? it just hangs when i try to open it
[16:11] <burek> _sajko, try the latest git ffmpeg
[16:11] <burek> if you dont want to compile, try static version from here: http://ffmpeg.gusari.org/static/
[16:11] <_sajko> 0.8.1-4:0.8.1-0ubuntu1 <-- newer than that?
[16:11] <burek> that's old
[16:11] <_sajko> oh ok
[16:12] <_sajko> then i'll just get to uppgrading then :P
[16:12] <burek> ok :)
[16:13] <_sajko> running the same on the capturing machine apparently :P
[16:14] <_sajko> hmm... still hangs when using the latest static build
[16:14] <burek> can you please use pastebin.com, to show your command line and its output?
[16:15] <_sajko> http://pastie.org/3900034
[16:15] <_sajko> it just sits there and does nothing else
[16:15] <burek> there is nothing on port 1236 to be received
[16:16] <burek> that's why it's hanging
[16:16] <burek> remove @ from hostname
[16:16] <_sajko> http://pastie.org/3900040 <-- that's the output from capture
[16:17] <_sajko> still hangs in exactly the same way, with or without the @
[16:17] <burek> it doesn't hang
[16:17] <burek> it receives nothing
[16:17] <_sajko> ofcourse
[16:17] <burek> try troubleshooting your network
[16:17] <burek> install tcpdump
[16:17] <burek> or something
[16:17] <burek> and take a look at udp traffic
[16:17] <burek> to make sure you actually get some
[18:01] <raven> hi
[18:01] <raven> unknown encoder libfaac - any ideas?
[18:07] <BW^-> in a previous FFMPEG version I used the option -cqp 20 to set quality level. in the new ffmpeg this option is not available anymore. what option should i use now to get the same effect? (-crf, some doc hints perhaps?)
[18:07] <JEEBsv> cqp sounds like constant quants, which is the best most encoders have to offer for 'quality level'
[18:08] <JEEBsv> (while it isn't exactly that)
[18:08] <JEEBsv> crf is libx264's rate control mode
[18:08] <JEEBsv> which is much more usable as 'constant quality' mode compared to other encoders :)
[18:09] <raven> unknown encoder libfaac - any ideas?
[18:10] <JEEBsv> you haven't built ffmpeg with it
[18:10] <JEEBsv> it's a library
[18:10] <raven> i have
[18:10] <JEEBsv> you certainly have not if it's telling you that :)
[18:10] <JEEBsv> was it ffmpeg -codecs ? grep that for faac
[18:13] <BW^-> jeebsv: aha nice, sounds good :)
[18:14] <BW^-> *testing
[18:14] <JEEBsv> not sure what crf maps to in other encoders, if to anything :)
[18:14] <BW^-> jeebsv: do you think 20 sounds like a reasonable value for crf too?
[18:14] <BW^-> for cqp i found it to provide small enough files, while maintaining a good quality sufficient for archiving
[18:15] <JEEBsv> yes, a generally good number to begin checking unless you're dealing with HD stuff where you could begin from 23 or so, and then rising it if it looks good, and lowering it if it looks bad :)
[18:33] <BW^-> feebsv: seemed to work great, thx :)
[18:36] <BW^-> jeebsv: ^
[18:37] <JEEBsv> also, I don't think old ffmpeg versions had the -preset switch, I recommend you check it out. It sets the libx264 speed/compression preset
[18:39] <JEEBsv> http://mewiki.project357.com/wiki/X264_Settings#preset
[18:40] <BW^-> jeebsv: yes, when compressing now i just skip the preset file option
[18:40] <BW^-> since none of the bundled presets files seem to make sense, they seem to be hardcoded to particular resolutions all of them
[18:40] <JEEBsv> that's because there are the internal presets in libx264 :P
[18:41] <JEEBsv> the need for generic presets for libx264 was removed as ffpreset files
[18:41] <JEEBsv> the link I posted contains the listing of presets in libx264
[18:45] <BW^-> jeebsv: aha - how do i apply the "veryslow" option? (it's not by --preset "veryslow")
[18:46] <JEEBsv> it should just be -preset veryslow :)
[19:52] <TACPILOT> trying to encode h.264 using the -preset veryslow .. was told that passing options to x264 is no longer supported. What is the recommended way to do this ??
[20:04] <burek> type x264 --help
[20:04] <burek> and look into -preset -profile -tune
[20:05] <burek> in ffmpeg, just specify the same options (-preset, -profile, -tune)
[20:16] <TACPILOT> the old version of ffmpeg i had let me do that .. Now using new version of ffmpeg and it errors telling me "no option preset"
[20:16] <sacarasc> Can you paste the full output and command line to a paste bin type site?
[20:17] <TACPILOT> k brb
[20:22] <TACPILOT> http://pastebin.com/TycTY69e
[20:23] <sacarasc> You're using an over 2 year old version.
[20:23] <sacarasc> ffmpeg moved to git at the start of 2010 and stopped updating svn.
[20:24] <TACPILOT> on a stand alone machine I have a version I just git and compiled yesterday with same issue .. just easier to post from this machine
[20:25] <burek> just use -preset slow
[20:25] <sacarasc> -preset wasn't added until about a year ago, so of course it won't work with a 2 year old version.
[20:25] <burek> and type x264 --help to see what presets are available
[20:33] <TACPILOT> not sure why I couldnt get it working on the new install yesterday. Seems to be working now even though the presets slow veryslow etc are no longer included with ffmpeg ?
[20:33] <TACPILOT> will check logs ?
[20:34] <burek> no presets are included with ffmpeg anymore
[20:34] <burek> direct mapping of x264 presets is now being used
[20:38] <TACPILOT> good to know .. I'll dig around to see where I got tripped up. thanks all
[20:39] <burek> :beer: :)
[20:57] <aphid> burek - what kind?
[22:07] <raven> hi
[22:07] <raven> how to select only one (left) channel of stereo pcm audio?
[22:08] <cbreak> for mplayer there are -af channels and -af pan
[22:08] <cbreak> I am sure ffmpeg has something similar
[22:09] <cbreak> yep, looks like ffmpeg also has pan
[22:10] <ubitux> or -map_channel
[22:11] <raven> ok tnx ill look for it
[22:57] <burek> aphid, a cold one :)
[22:57] <burek> raven, use lavfi and pan filter
[22:58] <aphid> i usually drink 'em at cellar temp
[23:06] <hwk> hello everyone.
[23:07] <hwk> is it possible to generate multiple screenshots of a video in a single file(image)
[23:07] <hwk> ?
[23:08] <burek> hwk, can you please elaborate more on that?
[23:09] <hwk> something like media player classic does: http://www.bobhobby.com/wp-content/uploads/2008/01/thumbs20080115135242.jpg
[23:09] <burek> I don't think ffmpeg can do that
[23:09] <hwk> i know it can generate multiple images but they must be merge after
[23:09] <hwk> merged*
[23:10] <burek> well, nobody requested such a feature before, I guess, so it wasn't even considered to be added
[23:10] <burek> so, you'll have to use mpc :)
[23:10] <hwk> works from cli on linux?
[23:11] <burek> install wine and run mpc
[23:11] <hwk> never used media player classic before :)
[23:11] <hwk> it in an automated process
[23:11] <hwk> :)
[23:11] <burek> well, if you never used it
[23:11] <burek> how can you tell its mpc that generated that img sequence
[23:11] <hwk> because its signed by it. and i know it can do that :)
[23:11] <hwk> darn... :)
[23:12] <burek> if you know, then do it :)
[23:12] <beastd> hwk: ffmpeg has the tile video filter the output of which could be put into an image file via lavf img2
[23:13] <hwk> the only option i think right now is to use ffmpeg to generate multiple screenshots @ different frames
[23:14] <hwk> and use imagemagick after to merge them into a single big image
[23:14] <beastd> unfortunately what tile does is not exactly what you neet :) if you can produce those pictures sequence with other techniques from ffmpeg before tile it could work out
[23:14] <cbsrobot> hwk: see http://ffmpeg.org/libavfilter.html#thumbnail and the next section: tile
[23:15] <hwk> thanks
[23:15] <cbsrobot> as beastd said - you will probably need to run two commands
[23:16] <hwk> can i request such a feature in future ffmpeg releases? :)
[23:17] <sacarasc> hwk: It's not likely anyone will listen here...
[23:17] <hwk> in some bugtracker or smth
[23:17] <beastd> hwk: i think you can request such a feature. just open a enhancement request on our trac
[23:18] <hwk> i must register.... :(
[23:18] <beastd> hwk: is it a problem?
[23:19] <beastd> you will therefore get attention from all developers following trac and you will be notified if someone responds to your request
[23:20] <hwk> registering new accounts is becoming a nightmare for me. oAuth or something should be implemented.... :)
[23:20] <beastd> hwk: just a small question. how do you tell mpc at which points in the video stream it should take the sub pictures?
[23:20] <hwk> you can mark the video, or you can tell it the number of screens you want
[23:21] <beastd> hwk: if there is smth for supporting it available in trac you could also open a request that someone evaluates that.
[23:21] <hwk> :))
[23:21] <beastd> hwk: if you tell the number it just uses consecutive frames?
[23:21] <ubitux> there is already a feature request for the scene detection
[23:22] <ubitux> and a few discussions on the mailing lists
[23:22] <ubitux> you can +1 the feature on the trac
[23:22] <burek> maybe select could be used
[23:22] <burek> followed with tile
[23:22] <hwk> duration / no. screen = no of seconds to increment to next frame
[23:22] <ubitux> yes select can help
[23:22] <beastd> select sounds good
[23:23] <ubitux> you can select a frame each N frames
[23:23] <ubitux> but that's not a smart scene detection ;)
[23:23] <hwk> 120000 secs / 20 screens = 6000 frames
[23:23] <ubitux> (anyway: http://ffmpeg.org/trac/ffmpeg/ticket/442)
[23:23] <hwk> 6000 -> 12000 -> 18000
[23:24] <ubitux> (http://ffmpeg.org/pipermail/ffmpeg-user/2011-September/002235.html)
[23:24] <ubitux> select='mod(n\,1000)' should do the trick
[23:25] <hwk> yep
[23:26] <ubitux> with the tile filter it might give the rendering you want
[23:28] <hwk> libavfilter must be compiled with ffmpeg so tile to work?
[23:28] <ubitux> ./ffmpeg -i in.webm -vf select='not(mod(n\,100)),tile' -frames:v 1 out.png
[23:28] <ubitux> that worked for me
[23:28] <hwk> No such filter: 'tile'
[23:28] <hwk> Error opening filters!
[23:28] <hwk> its from the debian repo
[23:29] <ubitux> debian doesn't package ffmpeg but a fork
[23:29] <hwk> so i must compile
[23:29] <ubitux> and the fork doesn't have this feature
[23:29] <ubitux> i think you have some packages available
[23:29] <ubitux> check http://www.debian-multimedia.org/
[23:29] <burek> hwk, you can check http://ffmpeg.gusari.org/static/ for a test
[23:29] <ubitux> not sure if it's up to date
[23:29] <hwk> yep, that repo i used. not updated
[23:30] <hwk> it would be nice if it had the feature cuz, the plugin im writing is used on many debian boxes, and compiling ffmpeg on each of them can be a pain and confusing for some users
[23:32] <burek> that's a very cool feature :)
[23:32] <burek> http://s17.postimage.org/d1bzrr64v/out.png
[23:32] <burek> I just tested it and it works :)
[23:32] <ubitux> of course it works
[23:32] <ubitux> ;)
[23:33] <burek> I <3 FFmpeg :)
[23:33] <hwk> needs some image timestamping
[23:33] <hwk> but its very nice :)
[23:33] <ubitux> drawtext can do it
[23:34] <hwk> :-?
[23:35] <hwk> things are getting to complicated for me... ill stick to the original version :)
[23:35] <ubitux> -vf drawtext=text=%h-%m-%s,scale=...,select=...,tile
[23:35] <hwk> dude... do you work in a studio or something?
[23:35] <ubitux> nope i'm trying to do that stuff at the moment
[23:36] <ubitux> it's fun :)
[23:36] <ubitux> i'm going to add an example when i'm satisfied
[23:36] <hwk> write some blog entries with that stuff... its usefull
[23:36] <ubitux> good point
[23:36] <beastd> hwk: your task is very well suited to lavfi
[23:37] <ubitux> but i think adding it to the documentation will have more visibility :p
[23:37] <cbsrobot> ubitux: /nick ubidude
[23:37] <ubitux> :(
[23:37] <hwk> trust me, your blog will be more visible on search engines than on ffmpeg website
[23:37] Action: beastd had some idea about ffmpeg commandline examples
[23:38] <hwk> since the content treated is mostly ffmpeg and lisible
[23:38] <hwk> FFFMPEG WORKOUTS @ blogspot :)
[23:39] <cbsrobot> hwk: you can put it on the trac wiki
[23:39] <cbsrobot> but you'll still need to create a account
[23:39] <hwk> :))
[23:39] <cbsrobot> problem is maintaining all the scripts !
[23:40] <cbsrobot> ffmpeg redefines its cli options every other month ...
[23:41] <cbsrobot> thats why there are so many outdated tuts on the net
[23:41] <ubitux> eeeh~ the drawtext is using my local time... T_T
[23:41] <ubitux> dafuck
[23:41] <hwk> :))
[23:42] <ubitux> well there is still the timecode.
[23:43] <cbsrobot> saste is more a streaming type I guess
[23:43] <beastd> i thought about building up a snippit library in the trac wiki. add an plugin providing an efficient search interface. the repository would be entirely everyone helps everyone and if someone stumbles over a non-working snippit he could correct it right away in the wiki
[23:44] <beastd> i got the idea because users ask repeatedly about how to come up with the proper command line
[23:45] <hwk> libavfilter 1. 80. 0 / 1. 80. 0
[23:45] <hwk> what do i need to use tile filter?
[23:45] Action: beastd admits that the process is indeed not easy especiall when not following ffmpeg user/development lists
[23:46] <hwk> got this: ffmpeg version 0.7.12,
[23:47] <cbsrobot> beastd: good idea - but you still need an account for editing
[23:47] <ubitux> hwk: it's not ffmpeg, it's libav
[23:48] <ubitux> hwk: just git clone git://source.ffmpeg.org/ffmpeg.git, ./configure --enable-gpl --enable-fontconfig --enable-libfreetype (and any other fancy options you want), and make
[23:48] <beastd> cbsrobot: yes. but i still don't see it as a problem (sorry hwk ;) )
[23:48] <ubitux> then ./ffmpeg [whatever]
[23:49] <cbsrobot> beastd: me neither
[23:52] <hwk> i found some extra libavfilter librarier in the debian repos :D
[23:52] <hwk> libraries* packages
[23:54] <burek> wiki can be setup so that it doesn't require people to register at all
[23:54] <burek> like wikipedia
[23:54] <hwk> openid/oauth
[23:55] <hwk> provides some valid info about the user
[00:00] --- Sun May 13 2012
More information about the Ffmpeg-devel-irc
mailing list