[Ffmpeg-devel-irc] ffmpeg.log.20111207

burek burek021 at gmail.com
Thu Dec 8 02:05:02 CET 2011


[01:00] <darkstarbyte> does dual pass encoding produce better results?
[01:04] <cbsrobot> darkstarbyte: normally yes
[01:04] <darkstarbyte> what about for a dvd, you know like a home movie for a class?
[01:06] <cbsrobot> darkstarbyte: Your decision ...
[01:06] <darkstarbyte> ???
[01:07] <darkstarbyte> How about mpeg2 in general?
[01:08] <cbsrobot> darkstarbyte: sorry - whats the question ?
[01:08] <darkstarbyte> multi-pass encoding on mpeg-2 size/quality
[01:09] <darkstarbyte> in general
[01:10] <darkstarbyte> high bitrate
[01:11] <darkstarbyte> no quality cut
[01:11] <cbsrobot> darkstarbyte: I cannot help you - just ask a proper question.
[01:11] <cbsrobot> mpeg2 vs. what ?
[01:12] <darkstarbyte> Well I have wondered if mpeg4 part2 is worth the extra time it takes to encode for a divx dvd
[01:14] <darkstarbyte> vs an mpeg2 dvd
[01:14] <cbsrobot> I'd say yes, but I never compared them
[01:15] <darkstarbyte> Ok
[01:15] <darkstarbyte> I am going to start encoding in mpeg2 until I can find something that says other wise
[01:15] <cbsrobot> mpeg2 1 pass with ffmepg is pretty fast nice aswell
[01:16] <darkstarbyte> ffmpeg it is
[01:22] <TomCat2> I don't know what you mean by a divx dvd though... are you talking about a DIVX dvd (i.e. failed video rental format) or putting a DivX file on a DVD to play on a PC?
[01:23] <TomCat2> actually technically DIVX disc != DVD - although similar
[01:27] <TomCat2> if you're talking putting a file onto DVD media to play on a PC (or set top device that can recognize files on a DVD) use h.264
[01:27] <TomCat2> for quality
[01:34] <darkstarbyte> I have noticed that my dvd player will play things encoded in xvid
[01:35] <darkstarbyte> I found out when I forgot to re-convert a file off of my camera.
[01:35] <TomCat2> it's likely a feature of your dvd player
[01:35] <TomCat2> some will play .mp3 files too
[01:36] <TomCat2> for compatibility - if you want to be able to give the dvd to others to play, stick with the standards
[01:36] <TomCat2> which means authoring the dvd in the proper format - VOB files, etc., is what you'll see in the final print
[01:38] <darkstarbyte> dvdauthor
[01:40] <TomCat2> make an h.264 version of it anyway tho - if it's a keepsake, you never know, you might want to watch it on your blu-ray (or better) device in years to come
[01:40] <TomCat2> h.264 will transcode directly to what goes on a blu-ray w/o any loss
[01:41] <TomCat2> unless u can keep your master files - even better
[01:43] <darkstarbyte> I wish movies could be kept on flash memory.
[01:43] <darkstarbyte> instead
[01:43] <darkstarbyte> of disks
[01:45] <TomCat2> why can't they?
[01:46] <darkstarbyte> Because a flash drive is easier to loose than a dvd I think
[01:47] <TomCat2> you can put a movie on a flash drive... whether or not you lose it is irrelevant
[01:47] <darkstarbyte> I am talking about after
[01:47] <darkstarbyte> blu ray
[01:47] <sacarasc> Flash drives are more expensive than DVDs.
[01:48] <TomCat2> price doesn't determine whether it can or cannot get done either
[01:48] <sacarasc> But whether it will or not.
[01:49] <TomCat2> and actually I disagree with the notion of a flash drive is easier to lose than a disc :D
[01:49] <TomCat2> I've never lost either of my 160GB SSD's but lost Blu Ray discs plenty of times
[01:50] <TomCat2> yet I still manage to copy my blu ray backups onto either of the SSD's and play it back in my PCH when that happens
[02:14] <teratorn> is it supported to encode a packet once, with avcodec_encode_video() and then write it out using av_interleaved_write_frame() to multiple different format contexts? assuming same format/stream layout of course
[04:50] <Algo> Hi, how do I  make my ffmpeg convert wmv to flv correctly? "ffmpeg -i <input>.wmv <output>.flv" seems to fail
[04:54] <hi117> Algo both of those are containers, try ffmpeg -i input.wmv -acodec copy -vcodec copy output.flv
[05:08] <kode54> copy probably won't work for that
[05:08] <kode54> since flv probably doesn't support windows media codecs
[05:10] <hi117> maybe it did work, its been 10 mins and he hasnt responded
[05:17] <Algo> Thanks for the reply hi117: if output is "Motion9.wmv" - it works fine. if output is "Motion9.flv" - it doesn't work. Output for "Motion9.flv":http://pastebin.com/nNVvXyLE Output for "Motion9.wmv":http://pastebin.com/6AWswG5P 
[05:20] <hi117> my guess is what kode54 said, i forgot that it probably doesnt support the same stuff, flv seems to be able to support h264, use that
[05:20] <kode54> flv seems to support h264, aac, and mp3
[05:21] <kode54> there's also some other primitive video crap that nobody should encode to anymore
[05:21] <hi117> so it would be ffmpeg -i input.wmv -vcodec libx264 output.flv (your video doesnt have audio according to your pastebins)
[05:21] <kode54> ah
[05:23] <hi117> also, is there a way to pass some advanced stuff to x264 from ffmpeg, like the path to x264 and custom options?
[05:24] <hi117> on my system i have 2 x264s, one for 8 bit and one for 10 bit and i would like to pass a lot of advanced stuff to it, not just profiles and presets
[05:24] <hi117> would -vcodec x264:bla work maybe?
[05:25] <Algo> hi117: http://pastebin.com/e6hC4CY6 
[05:25] <hi117> ... did it fail? i dont see anything blatantly wrong
[05:26] <kode54> ffmpeg uses the library directly, not the x264 binary
[05:26] <kode54> the options are probably supported, but I'm not sure of the syntax
[05:27] <hi117> ah, still can i specify which library to use? i can recompile 2 my 10 bit x264 with --enable-shared if needed
[05:27] <Algo> hi117: Doesn't work... blank still ;p
[05:27] <hi117> kode54 do you see anything wrong with it?
[05:29] <kode54> weird frame rate issue there, I'm not sure what else
[05:29] <hi117> it always says that the video framerate differs from container when i do it
[05:30] <hi117> maybe we could try telling it what framerate to use?
[05:31] <hi117> well, im going to bed, as a tip to help kode54, post the output of ffmpeg -i input.wmv
[05:32] <kode54> I may not be able to help much, and I may not be staying around much longer for the night, but I leave my client idling
[05:33] <kode54> and other people who may be more helpful will still be here
[05:33] <Algo> kode54: Thanks!
[07:04] <GordonFreeman> hi
[07:05] <GordonFreeman> can someone help in ffmpeg? libavcodec.so and libavformat.so
[07:05] <GordonFreeman> these files are not found after installing ffmpeg 
[07:05] <GordonFreeman> Package ffmpeg-0.6.1-1.el6.rf.x86_64 already installed and latest version
[07:05] <GordonFreeman> but i have these /usr/lib64/libavcodec.so.52
[07:05] <GordonFreeman> /usr/lib64/libavcodec.so.52.72.2
[07:06] <GordonFreeman> /usr/lib64/libavformat.so.52
[07:06] <GordonFreeman> /usr/lib64/libavformat.so.52.64.2
[07:36] <sam1> hi guys,  i want to use  "ass filer",  what's command?
[07:37] <sam1> i use  "ffmpeg -i *.avi  -vf "ass=*.ass"  -vcodec libx264  -acodec copy  *.avi 
[07:38] <sam1> but the out avi  without  ass
[07:39] <Sehns> Anyone have experience with embedding subtitles?
[07:59] <sam1> anyone use  ass  filter??
[08:08] <ubitux> sam1: are the '*' really in the command?
[08:08] <ubitux> any special output on ffmpeg while opening the ass file?
[08:09] <ubitux> could you paste your full command line and output on pastebin?
[08:31] <sam1>  Hi ubitux, 
[08:33] <sam1> ffmpeg   -i  /home/video/test0.avi   -vcodec  libx264  -an    -frames  50   -s  720x576  -vf  "ass=/home/video/test0.ass"   -y  /home/output/test1.avi 
[08:34] <sam1> i use this  command line 
[08:59] <ubitux> sam1: does ffmpeg output say anything?
[09:02] <ubitux> could you paste it on pastebin.com?
[09:05] <relaxed> ubitux: Is it possible to use an ass profile with srt subs?
[09:06] <relaxed> Similar to mplayer's '-ass-force-style'?
[09:08] <ubitux> you can not burn anything else than ass atm
[09:08] <ubitux> the filter is just a temporary workaround
[09:08] <ubitux> i'm working on something more mature for subtitles in my free time, but it might take a while
[09:09] <ubitux> basically if you want to burn a srt, just convert it to ass with gaupol or similar, customize it, and burn it with vf ass
[09:13] <relaxed> I applaud your effort
[09:13] <sam1> hi ubitux , you mean  ass could burn into a movie?
[09:14] <ubitux> sam1: that's not what you wanted?
[09:14] <relaxed> It's most commonly referred to as hardsubbing.
[09:15] <sam1> yes  i want that ,but i use the command  "ffmpeg   -i  /home/video/test0.avi   -vcodec  libx264  -an    -frames  50   -s  720x576  -vf  "ass=/home/video/test0.ass"   -y  /home/output/test1.avi"  
[09:15] <sam1> the test1.avi does not have  subtitle
[09:15] <ubitux> sam1: i asked 2 times that you paste the ffmpeg output somewhere :p
[09:16] <sam1> i paste  here? 
[09:16] <sam1> i open your wedsite 
[09:16] <relaxed> ubitux: Do the subs have to be external?
[09:17] <ubitux> relaxed: yes, it is limited to vf=file :p
[09:17] <ubitux> sam1: just create a new paste copypasting the ffmpeg on pastebin.com and share the url here
[09:18] <sam1> ok  
[09:18] <ubitux> the ffmpeg output*
[09:18] <sam1> i do it  ,ubitux
[09:20] <relaxed> ubitux: I assume the more muture version will be able to specify an internal stream?
[09:20] <relaxed> mature*
[09:20] <ubitux> relaxed: yes we will certainly use the source audio/video filter
[09:20] <ubitux> adding a support for subtitles
[09:21] <relaxed> That's great! I appreciate your work on this. 
[09:21] <ubitux> relaxed: i started a dev thread here: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-November/117059.html
[09:22] <ubitux> if you're interested in following it
[09:22] <relaxed> I think this will appeal to a large number of people.
[09:22] <ubitux> yes, but better get some work done first ;)
[09:22] <ubitux> right now, we have the ass filter by Stefano which is great
[09:22] <relaxed> Yes, I started following the thread early on but there wasn't much attention.
[09:22] <sam1> hi  ubitux   ,there is  website   : http://pastebin.com/2QW59uav
[09:24] <relaxed> ubitux: Of course, the current solution is better than no solution. :)
[09:24] <ubitux> sam1: you added some debug? :)
[09:24] <sam1> yes 
[09:24] <sam1> you see it ?
[09:25] <sam1> does  the command line is right ?
[09:25] <ubitux> it looks right yes
[09:25] <ubitux> do you mind sharing the ass file?
[09:25] <sam1> how 
[09:26] <sam1> where  i put 
[09:28] <ubitux> i don't know, upload it somewhere, or as a cheap solution you can use pastebin
[09:29] <sam1> wait a moment
[09:31] <sam1> http://pastebin.com/Rvmm0Kn6
[09:31] <sam1> there is  ass 
[09:31] <sam1> ubitux, do you burn ass into a movie?
[09:34] <ubitux> just a sec, i'm testing
[09:34] <sam1> ok
[09:34] <sam1> thanks 
[09:36] <ubitux> sam1: the duration or your subtitles is zero&
[09:36] <ubitux> look at the timestamp
[09:36] <ubitux> all the subtitles are from 00:00:00.00 to 00:00:00.00
[09:36] <sam1> o  
[09:37] <sam1> but  it could work with vlc 
[09:38] <ubitux> could?
[09:38] <ubitux> how so?
[09:39] <ubitux> heh fun, mplayer displays all of them
[09:39] <sam1> i play test0.avi  ,and reload  ass
[09:39] <sam1> wait a sec ,i test it with  kmplayer
[09:39] <ubitux> anyway, the timestamps looks wrong to me
[09:40] <ubitux> i'm not why mplayer display them though
[09:41] <sam1> i also find it,but  this ass could play with kmplay ,
[09:41] <ubitux> all the subtitles are displayed at the same time, right?
[09:42] <ubitux> it's a pretty strange behaviour though
[09:43] <sam1> only one  sub 
[09:43] <ubitux> ok so we have 3 different behaviour
[09:43] <sam1> only the first sub
[09:44] <sam1> do you play my ass ?
[09:44] <ubitux> yes
[09:44] <ubitux> mplayer shows them all at once here
[09:44] <ubitux> ffmpeg doesn't show them (which is likely the correct behaviour imho)
[09:44] <ubitux> and you say your players display just the first one?
[09:45] <sam1> kmplayer 
[09:45] <ubitux> yes ok, so well& just fix your subtitle ;)
[09:45] <sam1> i fix it ,wait a sec 
[09:45] <sam1> thanks 
[09:46] <ubitux> where does this file comes from? did you "craft" it yourself?
[09:46] <sam1> i use visualsubsync
[09:47] <sam1> i have a sub,and convert to ass  with  this tool
[09:47] <ubitux> and the timestamp where trashed? :p
[09:47] <sam1> trash?
[09:48] <ubitux> i mean, wrong
[09:49] <sam1> i see the source sub,
[09:49] <sam1> its timestamp  all {0}
[09:50] <sam1> maybe  source is wrong?
[09:51] <ubitux> the source has 0 as initial and final timestamp?
[09:52] <sam1> yes 
[09:52] <sam1> {0}{0}Just gonna stand there and watch me burn
[09:52] <sam1> {0}{0}But thats alright because I like the way it hurts
[09:52] <sam1> {0}{0}Just gonna stand there and hear me cry
[09:52] <sam1> {0}{0}But thats alright because I love the way you lie
[09:52] <sam1> {0}{0}I love the way you lie
[09:52] <sam1> {0}{0}I cant tell you what it really is
[09:52] <sam1> {0}{0}I can only tell you what it feels like
[09:52] <sam1> {0}{0}And right now its a still night in my wind pipe
[09:52] <sam1> {0}{0}I cant breathe but I still fight while I can fight
[09:52] <sam1> {0}{0}As long as the wrong feels right its like Im in flight
[09:52] <sam1> this is the sub 
[09:56] <ubitux> sam1: microdvd right?
[09:57] <ubitux> (.sub)
[09:57] <ubitux> i don't how that's supposed to work with microdvd
[09:57] <ubitux> the microdvd "specs" might says something about this like "display them all the time"
[09:57] <ubitux> but it might not match the ASS specs (but it's likely undefined)
[09:58] <ubitux> so well, better set the timestamp manually :)
[09:58] <sam1> microdvd ??
[09:59] <ubitux> the format name is bad :)
[09:59] <ubitux> iirc it was a software called with that name
[09:59] <ubitux> https://en.wikipedia.org/wiki/MicroDVD
[09:59] <sam1> o ,but this sub could play with kmplay,not vlc
[10:00] <ubitux> it's not surprising
[10:01] <ubitux> well anyway, you just have to fix the frame in case of the microdvd file (your .sub with {0}{0}), and/or set the correct timestamps in the ASS file
[10:01] <sam1> you mean  unstandard  sub  could play ? 
[10:02] <ubitux> ?
[10:02] <sam1> i do it 
[10:02] <sam1> ubitux: it's not surprising
[10:02] <sam1> you mean  ?
[10:02] <ubitux> i just don't understand what you are asking
[10:05] <sam1> i mean wrong sub 
[10:05] <sam1> irregular  sub
[10:05] <sam1> kmplay could play irregular sub ?
[10:05] <ubitux> well, the .sub is not really standard you know
[10:06] <ubitux> it's just a software (that lives for 1 year) make such subtitles
[10:06] <sam1> i konw 
[10:06] <ubitux> and support for those subtitles was added in various players
[10:06] <ubitux> so "irregular" doesn't have much sense here
[10:07] <ubitux> unspecified behaviour is just differently interpreted between players
[10:07] <sam1> o  
[10:07] <sam1> i see 
[10:07] <ubitux> (the original software behaviour should be considered the standard though)
[10:07] <sam1> ubitux, i see your RFC
[10:08] <sam1> you are going to do the work?
[10:09] <sam1> and you mean current ffmpeg could burn ass into a movie? you test it?
[10:11] <ubitux> what work?
[10:11] <ubitux> -vf ass=... is the way to burn ass
[10:11] <ubitux> if you want muxed ass, it's also in ffmpeg since a while now
[10:11] <ubitux> and sure i tested both
[10:12] <sam1> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-November/117059.html
[10:12] <sam1> [FFmpeg-devel] [RFC] Talk about subtitles
[10:12] <sam1> i see it 
[10:13] <ubitux> ah, yes i'll take some time to improve the subtitles support
[10:14] <sam1> add  str filter  like  ass filter ?
[10:14] <sam1> srt  filter
[10:14] <ubitux> something like that
[10:14] <sam1> sorry 
[10:14] <ubitux> actually ffmpeg already has a srt and sub support
[10:14] <ubitux> but not for burning
[10:15] <ubitux> the aim is to make use of that support and add the subtitle burning
[10:15] <sam1> only  decode and encode ?
[10:15] <ubitux> but it means some thinking
[10:15] <ubitux> there is a partial support for decode/encode/mux/remux, but nothing for burning
[10:16] <sam1> burning  only for ass??
[10:16] <ubitux> yes
[10:16] <ubitux> at the moment.
[10:16] <sam1> does  it support  ass decode/encode/mux/remux ??
[10:17] <ubitux> yes afaik
[10:19] <sam1> thanks 
[10:19] <sam1> i read ffmpeg source 
[10:20] <sam1> so bulky
[12:18] <leristo> hey, is this the correct channel for questions on using ffmpeg with c++?
[13:14] <impulze> is the video/audio synching chapter of the sdl/ffmpeg tutorial still up to date? seems like a lot of code is needed
[14:51] <impulze> way too much code indeed, there must be some library i can use that basically provides me with an easier interface, no?
[14:56] <impulze> what i basically want is to play a cutscene from within my 2d game
[15:00] <Tjoppen> take ffplay.c, cut away all the crap -> done?
[15:01] <impulze> yeah well i'd still have to maintain it and as i fail to understand most parts of the code i suppose this is a huge place for bugs :P
[15:02] <Mavrik> well use a player library then
[15:02] <impulze> can you recommend one/some?
[15:05] <gst-kaps> is ffmpeg flac encoding faster then libflac one ?
[15:06] <kriegerod> please dear libavcodec hackers, look at this bug, need help here: http://trac.videolan.org/vlc/ticket/5620#comment:3
[15:06] <Mavrik> impulze, not really, I've seen some references to SMPEG, but nothing portable :\
[15:06] <impulze> maybe libvlc?
[15:23] <Kuukunen> impulze: ffmpegsource?
[15:24] <gst-kaps> is ffmpeg flac encoding faster then libflac one ?
[15:24] <impulze> maybe ask more often
[15:25] <impulze> Kuukunen: looks interesting at first glance, thank you
[15:28] <JEEB> Kuukunen, is it a playback lib tho?
[15:28] <JEEB> although I guess you can use it as such
[15:29] <JEEB> since aegisub uses it too
[15:29] <Kuukunen> JEEB: well, now that I think about it, having to index stuff might cause a bit of an overhead
[15:29] <Kuukunen> but... you can store the index in a file too
[15:29] <JEEB> yeah
[15:29] <JEEB> and you can use a specific lib version for it
[15:30] <JEEB> so you can just use the pre-created index
[16:11] <teratorn> does it work to encode a packet once, and write it out to multiple different AVFormatContext's ?
[16:12] <teratorn> basically I want to stream some content to multiple clients, but only incur the encoding cost once.... presumably I can only start streaming to a new client on the next key frame?
[16:18] <Mavrik> teratorn, there should be no problems with sending a packet to multiple avformatcontexts, just make sure the timestamps are ok
[16:18] <Mavrik> and you can start streaming to client before keyframe, however the player will probably start playing when it reaches the first keyframe (depending on format/player)
[16:20] <teratorn> Mavrik: thanks
[16:42] <GordonFreeman> hi
[16:42] <GordonFreeman> so? noone knows?
[16:45] <Zeranoe> Do subtitles work like any other stream? If I wanted to add .srt subtitles to a video, would it be done like: ffmpeg -i "input-video.mp4" -i "input-subtitles.srt"
[16:49] <ubitux> Zeranoe: yes
[16:49] <ubitux> and just like -acodec and -vcodec you have -scodec
[16:50] <ubitux> (or -c:a, -c:v, -c:s iirc)
[16:53] <filo1234> hi all
[16:53] <filo1234> hey guys does ffmpeg have some filter about brightness ?
[16:55] <ubitux> mmh you may try the eq2 filter
[16:55] <ubitux> through mplayer wrapper
[16:56] <ubitux> http://ffmpeg.org/libavfilter.html#mp  look for "brightness"
[16:57] <Skaag> I made the mistake of pressing D during an ffmpeg run, how do I disable debug output? ;-)
[16:57] <filo1234> ubitux: I'll look
[16:57] <filo1234> thanks
[17:00] <filo1234> ubitux: how can I see wich brighness value has my video?
[17:01] <Zeranoe> ubitux: Thanks for confirming it
[17:01] <ubitux> filo1234: i guess the default is 1.0 if that's your question
[17:02] <filo1234> ubitux: nope I mean which value has my source video
[17:02] <filo1234> my input video
[17:03] <ubitux> i'm not sure how you're supposed to evaluate this
[17:03] <ubitux> average Y maybe, there is nothing in ffmpeg afaik to extract such information
[17:03] <filo1234> ok
[17:04] <GordonFreeman> [065938] <GordonFreeman> can someone help in ffmpeg? "libavcodec.so and libavformat.so" these files are not found after installing ffmpeg Package "ffmpeg-0.6.1-1.el6.rf.x86_64 already installed and latest version"
[17:05] <GordonFreeman> [070018] <GordonFreeman> but i have these /usr/lib64/libavcodec.so.52 /usr/lib64/libavcodec.so.52.72.2 /usr/lib64/libavformat.so.52 /usr/lib64/libavformat.so.52.64.2
[17:05] <filo1234> so I have to try some values
[17:06] <ubitux> filo1234: as i said, the reference is 1.0 i guess
[17:06] <ubitux> so 1.0 will likely not change the brightness
[17:06] <ubitux> while 0.5 will darken it by half
[17:06] <ubitux> you need to check mplayer man though
[17:07] <ubitux> my bad, it's 0.0 by default, and you set a value from -1 to 1
[17:11] <filo1234> ubitux: yes I'm reading... but is that only a filter while I see videos with mplayer? or can I pass mp=eq2[parms] to ffmpeg conversion?
[17:13] <ubitux> ffmpeg as a wrapper on the mplayer filters through the filter "mp"
[17:13] <ubitux> so ffmpeg -i ... -vf mp=eq2...
[17:14] <filo1234> oh -vf well thank as well
[17:18] <filo1234> o.0 argh -vf means? video format??
[17:18] <filo1234> do you mean vcodec that I use?
[17:18] <ubitux> video filter
[17:19] <filo1234> ok but ffmeg say me that it doesn't recognise -vf option
[17:19] <filo1234> ffmpeg*
[17:19] <ubitux> paste your command
[17:19] <ubitux> how old is your ffmpeg?
[17:20] <filo1234> this is my version FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2
[17:20] <impulze> Kuukunen: from what i see, i have to do the whole syncing with ffmpegsource on my own aswell, don't i?
[17:20] <impulze> at least i can't figure out where in the source they do that
[17:21] <ubitux> filo1234: the current version is 0.8.x you know :p
[17:21] <filo1234> and my command is ffmpeg -i myvideo -sameq -vf mp=eq2=1.0:2:0.5 output
[17:21] <ubitux> ffmpeg 0.5 hasn't mp wrapper
[17:21] <filo1234> ubitux: :/ yeah but I need to compile it if I want new version
[17:21] <ubitux> it's too old
[17:21] <Kuukunen> impulze: yea well usually it's meant less for playing and more for video editing etc... but at least it should still be easier than ffmpeg
[17:21] <filo1234> ok :|
[17:21] <Kuukunen> impulze: might want to check something else too :P
[17:21] <ubitux> well i won't do it for you
[17:22] <ubitux> filo1234: just upgrade your repositories
[17:22] <ubitux> or yes, build it from source
[17:22] <filo1234> yeah I think so
[17:23] <filo1234> well going to work 
[17:23] <filo1234> ubitux: thanks a lot bye
[17:23] <ubitux> 0.5 was released march 2009 btw&
[18:44] <JodaZ> can i encode multiple ranges of video from a source video into a target video
[18:44] <JodaZ> so like seconds 5 to 10 followed by seconds 20 to 25...
[18:47] <leristo> is it possible to encode data from opencv iplimage with ffmpeg?
[18:53] <relaxed> leristo: what formats can it output?
[19:11] <leristo> relaxed: opencv's iplimage ?
[19:14] <relaxed> yes
[19:15] <leristo> its a basic c++ structure with a pointer to the image data
[19:17] <leristo> http://opencv.willowgarage.com/documentation/basic_structures.html#iplimage
[19:18] <leristo> question would be: is it possible to encode data from char pointer using ffmpeg
[19:18] <leristo> i cant find guides on this, only stuff where files are handled
[19:34] <GordonFreeman> latest snapshot fails.
[19:35] <GordonFreeman> errors in include.h-s
[19:42] <JodaZ> hmm, i want to make something like moving thumbnails... for that i need to extract like a few 2-5 second snipets of video from a movie and concat them, does anyone have any recommendations as for how to do that ?
[19:46] <GordonFreeman> /usr/local/lib/libavformat.a(file.o):(.data+0x0): multiple definition of `file_protocol'
[19:46] <GordonFreeman> ffmpeg.o:(.data+0x60): first defined here
[19:46] <GordonFreeman> /usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
[19:46] <ubitux> JodaZ: heh, i'm working on a video filter for such thing
[19:47] <GordonFreeman> so they put up these untested, how cool
[19:47] <ubitux> i need to get something done on it, and it should be available upstream in a while
[19:47] <JodaZ> :/ video filters are simple librarys ?
[19:47] <JodaZ> or do they need to be integrated into ffmpeg ?
[19:47] <ubitux> libavfilters is part of ffmpeg
[19:48] <ubitux> you will do sth like: ffmpeg -i input.mp4 -vf thumbnail,scale=320:240 -vframes 5 out.mjpeg
[19:48] <ubitux> or something like that :p
[19:48] <GordonFreeman> looks like i must download them all and go from svn to back in time
[19:49] <ubitux> GordonFreeman: svn? we're using git right now
[19:49] <GordonFreeman> ok i mean latest version.
[19:49] <ubitux> you might want to ask ffmpeg-users if you get no answer here for your issue
[19:49] <GordonFreeman> since latest snapshot doesn't work with motion
[19:49] <ubitux> you should report such issue :)
[19:50] <GordonFreeman> well i did report it
[19:50] <GordonFreeman> here now
[19:50] <ubitux> the persons that can solve it might not be available now, or even reading this channel
[19:50] <ubitux> the bug tracker exists for such purpose
[19:51] <ubitux> also, you can try to point out the regression or find the incriminated code and discuss the issue on #ffmpeg-devel
[19:51] <GordonFreeman> so http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome http://ffmpeg.org/releases/
[19:52] <GordonFreeman> and http://ffmpeg.org/
[19:52] <ubitux> JodaZ: if you need a workaround, i'd say you could use vf select
[19:52] <ubitux> JodaZ: vf select has a eval that might help you picking 1 frame each N frames
[19:53] <ubitux> something like -vf select=eq(n%100\,0)
[19:53] <JodaZ> ubitux, thats not really what i want
[19:53] <ubitux> not sure about the mod operator, you need to have a look to the documentation
[19:53] <JodaZ> i want 5 seconds of video every 10 minutes of source video
[19:54] <ubitux> oh, i misunderstood then sorry
[19:54] <ubitux> mmh there is a segmenter, but i'm not sure it is mature enough (some ppl are working on it right now)
[19:55] <ubitux> you can do it manually though
[19:55] <ubitux> with a script, using -t and -ss
[19:55] <JodaZ> that needs like two reencodes >_>
[19:55] <JodaZ> i want to concat all the 5 second snipets
[19:56] <ubitux> reencode? no
[19:56] <ubitux> just using -c copy
[19:57] <JodaZ> and how do i concat ?
[19:58] <ubitux> mmh not all kind of video will support this, but you have the concat protocol
[19:58] <ubitux> iirc you can even use ffmpeg -i ... -i ... 
[19:58] <ubitux> but i may be wrong
[19:59] <pasteeater> GordonFreeman: how can your issue be duplicated?
[20:00] <JodaZ> ubitux, doesn't seem to work, even tho i read somewhere that it ought
[20:00] <GordonFreeman> download this, make install, http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
[20:00] <GordonFreeman> then try to compile, make this http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
[20:00] <GordonFreeman> it will say there are errors in the .h files
[20:01] <GordonFreeman> (on linux and gcc)
[20:01] <pasteeater> how did you configure ffmpeg?
[20:02] <GordonFreeman> default
[20:03] <GordonFreeman> ./configure && make
[20:03] <pasteeater> oh, i see you started asking this in ffmpeg-devel. this is a more appropriate channel.
[20:05] <pasteeater> by "this" i mean #ffmpeg
[20:29] <Sehns> Anyone here looking for consulting work? We're hiring a contractor who has the mustard to go over our ffmpeg settings.. apologise in advance for the spam, we've had no luck on elance/odesk etc
[20:30] <Sehns> mainly need someone to help with scripts/command line settings and thumbnails .. fyi we already have some bad code in place that kind of sucks
[20:38] <burek> sucks in which way
[20:47] <Compn> Sehns : i've only got an hour of free time right now, you want me to check it out ? i'll have more time tonight / tomorrow 
[20:48] <Sehns> Sure
[21:52] <GordonFreeman> hi
[21:52] <GordonFreeman> anybody used to grab video from webcam?
[21:52] <GordonFreeman> what command line do you use?
[23:20] <alyawn> I have an odd video with 8 channels of audio. I'm trying to transcode. any idea how to reduce it to the first 2?
[23:27] <ubitux> -ac 2
[23:27] <ubitux> you mean just pick the first two, or downmix to two?
[23:28] <alyawn> pick the first two
[23:28] <ubitux> -map_channel 0.0.0 -map_channel 0.0.1 then
[23:28] <ubitux> GordonFreeman: on linux you have v4l2 available
[23:29] <ubitux> GordonFreeman: http://ffmpeg.org/ffmpeg.html#Video-and-Audio-grabbing
[23:30] <ubitux> alyawn: http://ffmpeg.org/ffmpeg.html#Advanced-options  just scroll down a little for everything about -map_channel
[23:31] <alyawn> thanks, ubitux
[00:00] --- Thu Dec  8 2011


More information about the Ffmpeg-devel-irc mailing list