Ffmpeg-devel-irc
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
December 2011
- 1 participants
- 67 discussions
[00:01] <luke-jr> beandog: I'll be updating that bug with results when I find out if I can enable NEON
[00:02] <beandog> Hmm, okay, I'm looking for why it was turned off
[00:05] <beandog> https://bugs.gentoo.org/show_bug.cgi?id=349814
[00:06] <beandog> looks like it got switched in the 0.8 branch
[00:06] <beandog> in 0.7 it only disables them if you pass custom-cflags
[00:07] <luke-jr> beandog: I don't see hwo that bug is relevant
[00:07] Action: luke-jr notes 0.8 doesn't use custom CFLAGS no matter what you do :/
[00:07] <beandog> alright, ignore it then :)
[00:07] <beandog> hmm ... that got dropped too
[00:07] <beandog> very odd.
[00:11] <beandog> Okay I see what happened.
[00:14] <luke-jr> beandog: --extra-cflags='-mfpu=neon' without --disable-optimizations builds a NEON-enabled ffmpeg for me
[00:14] <luke-jr> beandog: ?
[00:14] <beandog> luke-jr: https://bugs.gentoo.org/show_bug.cgi?id=394493
[00:15] <beandog> I think it was just an oversight
[00:16] <luke-jr> beandog: your bug should block 392451 ;)
[00:16] <beandog> yahp
[00:17] <beandog> thx
[00:21] <beandog> thanks for the bug report
[00:21] <luke-jr> np
[00:22] <luke-jr> (yay, a friendly Gentoo developer! :P)
[00:23] Action: mystica555_ wonders when darkice will get bumped..
[00:23] <beandog> luke-jr: :D
[00:26] <luke-jr> beandog: I plan to add test results to my bug for 0.8 soonish
[00:35] <walisser> is there a reason why I get little to no MP speedup with bframes enabled (MPEG4)
[00:42] <_hc> I'm trying to figure out how to use the new audio filters along with a video
[00:43] <_hc> I have the filters working but it only then outputs the video, I want to output both video and audio
[00:43] <_hc> and apply filters to both
[00:43] <_hc> I'm using master from git
[00:43] <_hc> and doing
[00:43] <_hc> ./ffmpeg -f lavfi -i "amovie=midr-mjpeg.mov,volume=5" -acodec copy -y /tmp/output.mov
[00:43] <_hc> that works fine
[00:46] <_hc> but the result is only audio
[00:46] <_hc> but I haven't found a way to make it keep the video
[00:46] <pasteeater> walisser: what's "MP"?
[00:57] <_hc> ah, I found it:
[00:57] <_hc> ./ffmpeg -f lavfi -i "movie=midr-mjpeg.mov" -f lavfi -i "amovie=midr-mjpeg.mov,volume=5" -acodec copy -y /tmp/output.mov
[02:05] <Shimmy> Is there an FFMPEG option to print help for specific format/codec?
[02:08] <Shimmy> I want to get some info on how to use the AMV format (which is now supported in version 0.9)
[02:38] <keeperofdakeys> Shimmy: everything uses that same options, unless it is an external library like lame or x264
[03:00] <Shimmy> Anyone knows if there is a parameter/argument to get help about specific format/codec?
[03:02] <Seph> there isn't. It's all in -h
[03:15] <Shimmy> Anyone has any idea how to use the AMV encoder included in FFmpeg version 0.9 (Harmony)?
[03:18] <Shimmy> @Seph, I output the whole help to a file, searched for my specifc format, and it doesn't have any specs, when I'm trying to use it here is what happens: http://pastebin.com/RtC3bMzC
[03:20] <Shimmy> The AMV codec is now supported in version .9 as stated here http://ffmpeg.org/#pr9
[03:20] <Shimmy> But I don't know how on earth to use it
[03:22] <Shimmy> I also tried simple ffmpeg -i sample.wmv -f amv output.amv
[03:22] <Shimmy> and it doesn't work: http://pastebin.com/46syEpUQ
[03:25] <dashcloud> just a general comment here: is there any particular reason you build with --enable-decoder ?
[03:28] <Shimmy> @dashcloud are you talking to me?
[03:28] <dashcloud> yes
[03:31] <dashcloud> I'll try to see if I can get amv to encode- but I believe you don't use -f
[03:38] <Shimmy> As per why I configured it --enable-decoder, it's because I made a batch that reads all available encoders/muxers/filter etc. and sets them all --enable-decoder=ENCODER at configure
[03:38] <dashcloud> you don't need to enable any decoders that don't have lib in front
[03:38] <Shimmy> I just wanted to make sure I have a version with all goodies possible
[03:39] <dashcloud> I'm also pretty sure that unless you happen to use --disable-* first, you'll get them all anyway
[03:39] <Shimmy> what ever
[03:39] <Shimmy> as per the AMV issue it happens anywhere
[03:40] <Shimmy> Take a look: http://pastebin.com/iVCDzGhm
[03:40] <Shimmy> This is a simple ffmpeg build with just -enable-gpl
[03:42] <Shimmy> And I'm encountering the same errors when trying to convert to AMV
[03:48] <relaxed> Shimmy: did you try a different input?
[03:49] <pasteeater> Shimmy: you could try 'ffmpeg -i input -c:v amv output.mkv' or output.avi
[03:51] <dashcloud> do you have an existing amv on hand? I found some in the samples archive, and this one has amv video (yuvj420p) and adpcm_ima_amv
[03:52] <Shimmy> @dashcloud - yes I do - check it out: http://pastebin.com/ASJH45mB
[03:55] <relaxed> hmm, just built most recent git and I'm getting " D A D adpcm_ima_amv ADPCM IMA AMV"
[03:56] <dashcloud> it appears there's multiple generations of amv- do you need the oldest, or can your player handle some of the newer ones?
[03:56] <relaxed> maybe it meant the amv video codec is now supported.
[03:56] <relaxed> and not the format as a whole "-f amv"
[03:57] <dashcloud> because it can generate the video (though apparently not in a straight .amv file- you need to use .avi and then re-name it)
[03:58] <relaxed> Shimmy: what does `ffmpeg -codecs 2>&1| grep ima_amv` return?
[03:59] <Shimmy> @dashcloud I don't have the player handy. I just know my output file has to stick to the working example http://pastebin.com/ASJH45mB
[04:01] <dashcloud> if you need something now, you may have to use this instead: http://code.google.com/p/amv-codec-tools/
[04:01] <Shimmy> @relaxed 1) I tried diff input - same error 2) -f amv is indeed not supported just plain
[04:02] <Shimmy> @pasteeater I tried your line and it works, but I'm not sure my hardware will play it (as mentioned, I don't have it handy)
[04:03] <relaxed> Shimmy: well, `ffmpeg -codecs` should list "D A D adpcm_ima_amv ADPCM IMA AMV" which means you can't encode amv audio. So I'm guess it's not a true amv format?
[04:04] <Shimmy> I believe you're right :(
[04:04] <Shimmy> I'm affraid so :'(
[04:04] <dashcloud> if you look here: http://samples.mplayerhq.hu/amv/ there's amvs with a number of other video/audio codecs in them
[04:04] <beastwick> hello dash!
[04:05] <beastwick> I now have a real problem you can possibly help me fix
[04:05] <beastwick> if you have time :D
[04:05] <dashcloud> and if you really do need that format, you'll probably have to use http://code.google.com/p/amv-codec-tools/
[04:05] <beastwick> oh sry you are helping someone already
[04:05] <dashcloud> which is old, but it does offer amv support builtin
[04:05] <relaxed> Shimmy: Don't worry, I'm sure they'll add support.
[04:05] <dashcloud> just ask your question and if someone can answer it, they will
[04:05] <Shimmy> @dashcloud thanks for the link, I'll ask my customer to check which AMVs work on his device
[04:05] <Shimmy> The question is how long it's gonna take :)
[04:06] <Shimmy> @beastwick how ya doin
[04:06] <beastwick> I am well
[04:06] <beastwick> let me see if I can sort it out solo
[04:07] <beastwick> I will put on pastebin
[04:07] <beastwick> http://pastebin.com/7MXtjFH0
[04:07] <Shimmy> My main problem is, I'm a .NET dev i built a converter using FFmpeg and then the customer asked for additional support for AMV now my whole thing is already based on ffmpeg
[04:10] <Shimmy> I found this library which managed to convert to amv with this: http://code.google.com/p/amv-codec-tools/ but since I donno C I don't know how to merge it with FFmpeg cuz it's supported input format is limited according to its supplied FFmpeg version;
[04:11] <Shimmy> Maybe I should combine it with the new FFmpeg, I have no clue how tho, I don't C at all, just the basics newbies
[04:13] <relaxed> you decode and pipe yuv4mpeg/wav from a recent ffmpeg to the old amv-codec-tools ffmpeg and encode that way. (yeah, it's horrible but would work)
[04:14] <relaxed> a temp solution until ffmpeg has total support.
[04:18] <beastwick> Would anyone be able to show me what to remove in the following script so I only grab VIDEO and not AUDIO?
[04:18] <beastwick> I am doing this off of an example
[04:19] <beastwick> http://pastebin.com/0f7GqCC3
[04:20] <beastwick> oh and would i just do -b:v 500K for 500 KB/S bit rate?
[04:25] <dashcloud> you could try this: http://pastebin.com/3AnEdKJY
[04:30] <beastwick> WOOT!
[04:30] <beastwick> it works
[04:30] <beastwick> check out twitch.tv/gamebeasttv password is pass to see how awesome u r!
[04:30] <beastwick> now I gotta figure out audio - I don't want pulse as everythign will come in through line-in via a hardware mixer
[04:32] <beastwick> oops
[04:32] <beastwick> pls dont steal my stream lol -.-
[04:41] <beastwick> dash how can I make sure it doesn't go above 600 KB/SEC upload?
[04:42] <beastwick> just add -b:v 500K ^ same question as above
[04:42] <beastwick> I have poor internet, and I need to make sure.
[04:59] <buhman> http://absdev.org/ffmpeg.png
[04:59] <buhman> erm, I pushed some key-combination, and ffmpeg started giving me all sorts of bizzare hex
[04:59] <buhman> what key was that and how do I tell it to stop?
[05:00] <relaxed> buhman: hit "?" and look around
[05:21] <Shimmy> Found how to use amv codec
[05:21] <Shimmy> I'm using amv-codec-tools http://code.google.com/p/amv-codec-tools with the new ffmpeg
[05:55] <GordonFreeman> http://ivebeentrippineversince.tumblr.com/
[05:55] <GordonFreeman> some pics are mega c00l here <;
[06:50] <plushka> Hi all! Who is alive?
[06:50] <plushka> Pls need help with building
[06:56] <loon> Hello all.
[06:57] <loon> i am having an issue installing libx264 with ffmpeg
[07:10] <burek> what kind of issue
[07:11] <burek> plushka, what's the problem
[07:12] <plushka> burek, With this bugs, at compile "ERROR: libx264 version must be >= 0.118." - This
[07:12] <burek> its not a bug
[07:12] <burek> your libx264 is old
[07:12] <burek> probably you used your package manager to install it
[07:12] <burek> ages ago
[07:12] <burek> you need to update it
[07:16] <plushka> burek, But how, if (>>> No outdated packages were found on your system.) mm?
[07:18] <burek> apt-get update
[07:18] <burek> apt-get dist-upgrade
[07:18] <plushka> gentoo
[07:18] <burek> then make uninstall
[07:19] <burek> and git clone..
[07:19] <plushka> pls write links
[07:19] <plushka> on git
[07:19] <burek> http://pastebin.com/LhRkXhzZ
[07:19] <burek> dont forget ldconfig
[07:20] <plushka> ld.so.conf edit? Write path to .so?
[07:21] <drv> the version in gentoo ~x86 is new enough i think, no need to build it by hand
[07:22] <plushka> error after ./configure -> make http://pastebin.com/GRngussq
[07:23] <plushka> drv, and ~64?
[07:23] <drv> yeah, same version
[07:25] <burek> only git version is new enough :)
[07:25] <plushka> That is no difference, still with his hands?
[07:26] <burek> ?
[07:26] <drv> latest ~amd64 and ~x86 version is 0.118 api
[07:26] <drv> http://packages.gentoo.org/package/media-libs/x264
[07:26] <burek> if you compile latest ffmpeg with libx264, obviously you need latest libx264
[07:26] <burek> because new features are being added all the time, and old one deprecated, etc
[07:27] <plushka> burek, git repo with x264 not compile
[07:29] <burek> you can't compile latest libx264 from git?
[07:29] <plushka> yepp
[07:29] <burek> can you please use pastebin.com, to show your command line and its output?
[07:29] <plushka> one minute
[07:31] <plushka> Is it end make.compile http://pastebin.com/7dnSsdPF
[07:33] <burek> i dont see your cmd line there
[07:34] <drv> if this is amd64, i'm not sure where the -march=i686 is coming from
[07:35] <plushka> burek, cmd line - ammm?
[07:35] <plushka> What need?
[07:37] <plushka> You need a cmd that I run?
[07:39] <burek> yes
[07:39] <burek> cmd + complete output
[07:41] <plushka> Look at http://pastebin.com/JAaYGL46 please
[07:41] <jasta> i'm trying to confirm that ffmpeg does not handle RTCP packets from a peer when ffmpeg is operating as the streaming server, is that correct?
[07:44] <burek> plushka, I can't help you without cmd+output
[07:44] <burek> i need to see what version of gcc you have
[07:44] <burek> and what kind of config gets created for your machine before compile
[07:45] <burek> so, please provide cmd+full output (not just the error)
[07:45] <burek> if you are concerned about privacy, make your paste private and expire in 10 minutes
[07:45] <plushka> burek, listen i exec ./configure --enable-static --enable-shared --system-libx264
[07:46] <plushka> And make - done
[07:46] <plushka> what is mean?
[07:46] <burek> i don't understand you
[07:46] <plushka> Ohhh my bad english
[07:46] <plushka> Minute
[07:47] <burek> anyway, please join #videolan
[07:47] <burek> and ask your question there
[07:47] <burek> because they are developing libx264
[07:47] <burek> and they could provide more help then we could
[07:47] <jasta> hmm. how on earth am i supposed to detect a dead peer when operating as a server of RTP/RTSP
[07:48] <jasta> im using ffmpeg for the protocol support, but i realized there's this terrible issue in my server where i will encode and send packets forever to dead peers.
[07:48] <plushka> I did ./configure --enable-static --enable-shared --system-libx264. And after that libx264 assembled correctly. Faithful if this config?
[07:48] <burek> read more on those protocols and understand how they work?
[07:48] <jasta> i would have thought RTCP could be used for this, but it _seems_ that ffmpeg discards these packets when operating as the server
[07:49] <burek> plushka, what did you configure? ffmpeg or x264?
[07:49] <jasta> burek: it's not actually the protocol that is the concern. i'm fairly certain RTCP is used for this. the issue is what ffmpeg does with these packets to expose this.
[07:49] <plushka> x264
[07:49] <burek> plushka, http://pastebin.com/LhRkXhzZ
[07:50] <burek> jasta, did you read the source code for rtcp support in ffmpeg?
[07:51] <plushka> burek, i know. But i add --system-libx264 in line ./configure. After that make done without error
[07:51] <burek> why would you add that if nobody told you to do so plushka ?
[07:52] <plushka> Is it correct?
[07:52] <burek> no
[07:52] <plushka> ok.
[07:52] <jasta> burek: i did. it very much suggests to me that ffmpeg discards RTCP packets when operating as the server.
[07:53] <jasta> i was hoping to have a developer confirm this. there is much code dealing with RTCP packets in ffmpeg, but it all _appears_ to me to be relevant only to ffmpeg operating as an RTP/RTSP client.
[07:53] <burek> http://git.videolan.org/?p=ffmpeg.git&a=search&h=HEAD&st=commit&s=rtcp
[07:53] <burek> see who is developing that part of the code
[07:53] <burek> and try asking them
[07:53] <jasta> ok thank you
[07:54] <plushka> However, with this flag to build the library fine, then I normally set ffmpeg
[07:54] <plushka> burek, thx
[07:54] <burek> :beer:
[09:46] <burek> did any of you guys use EasyCAP? is it worth something?
[11:48] <Shimmy> Anyone with experience on the AMV format? The new 0.9 version states that it supports it but it doesn't
[11:48] <Shimmy> I tried to amv-codec-tools from here, but then it doesn't work with the new version either
[11:49] <JEEB> well, the "AMV video encoder" is there, not "full AMV bleh bleh support"
[11:49] <JEEB> and I think you got the -vcodec set
[11:49] <JEEB> anyways, dot-amv is just an avi with certain fields' values changed
[11:49] <JEEB> in the header
[11:49] <JEEB> I think I told you to try it damn it
[11:50] <JEEB> to output to avi
[11:50] <JEEB> anyways, you are getting money out of this and the format sucks, I have no obligation to help any more :P
[11:50] <JEEB> I used enough time trying to help you yesterday
[11:51] <JEEB> (note: the audio looked like normal PCM/WAV/whatever, shouldn't be hard to recreate)
[11:52] <Shimmy> @JEEB wanna get paid?
[11:52] <Shimmy> And do this job for me?
[11:55] <mystica555_> audio is ima-adpcm with some slight modifications
[11:55] <mystica555_> according to wiki
[11:55] <JEEB> yeah
[11:57] <Shimmy> how can i contact u
[11:57] <Shimmy> u forgot that the adpcm_ima_amv is not supported for encoding
[11:58] <Shimmy> got priv
[11:58] <JEEB> the audio can be handled other ways if explicitly needed
[11:59] <Shimmy> even it's for hardware player?
[12:00] <speedo666> hi guys
[12:00] <speedo666> little question, i want to extract frames from file
[12:00] <speedo666> but the sequence of png filename is always starting with 0
[12:00] <JEEB> more like with using different things to do the audio and the video, but I'm looking at how it was implemented in the "dead for long" google code project
[12:01] <speedo666> can i change that to othert number? starting seq diff than 0
[12:01] <speedo666> ?
[12:01] <MT`> hey, I'm trying to do a x264 2 pass encode, but it seems that whatever profile/preset/tune I choose has crf enabled on the first pass. I can't find what has happened to presets like 'fast_firstpass' - any ideas?
[12:01] <JEEB> MT`, presets are now used from libx264
[12:02] <JEEB> http://mewiki.project357.com/wiki/X264_Settings#preset
[12:02] <JEEB> and the default rate control mode in libx264 has now been crf for a while
[12:02] <MT`> thanks, I can use google too :(
[12:02] <JEEB> so you need to set a bitrate if you explicitly need it
[12:03] <JEEB> the presets shouldn't affect your rate control mode
[12:03] <MT`> I dont want to set a bitrate, I just want to do a first pass to achieve a better quality encode
[12:03] <JEEB> you are making no sense
[12:03] <MT`> ok, 6 months ago, with x264/ffmpeg, I could do a 2 pass x264 encode
[12:03] <JEEB> two pass encoding gives pretty much the same quality as one pass crf, the difference being in what you exactly want to achieve
[12:04] <JEEB> two-pass is for achieving a certain file size (bitrate)
[12:04] <MT`> now I cannot, the ffmpeg profile that did it 6 months ago is gone
[12:04] <JEEB> you can still do two-pass encoding
[12:04] <MT`> and there is no equivalent firstpass profile in x264 that does the same
[12:04] <JEEB> you have to set that you are doing a first pass?
[12:05] <MT`> yes, I pass -pass 1 to ffmpeg
[12:05] <JEEB> can you pastebin your exact ffmpeg command lines and their output?
[12:05] <JEEB> also, if you just want quality
[12:05] <JEEB> you don't need two-pass
[12:05] <JEEB> just use the highest crf value that looks good >_>
[12:06] <MT`> hmm
[12:06] <JEEB> also, I am commenting like this because you clearly are either confused or not sure what you are doing as I read from "<MT`> I dont want to set a bitrate, I just want to do a first pass to achieve a better quality encode"
[12:07] <MT`> that is so condescending
[12:07] <MT`> ...
[12:07] <JEEB> because two passes are only needed in the case of "I want the best possible quality while easily setting a file size (bitrate) to which the encode will be done."
[12:08] <JEEB> (you could achieve the same result by finding the crf value that gives you that size, but let's just say that you usually don't want to do X test encodes to find it :) )
[12:08] <JEEB> "I just want quality" => find the highest crf value that still looks good for you, use it. no need to set passes or anything, just set crf and preset and you're off.
[12:09] <MT`> 2pass allows the encoder to base early frames on the knowledge garnered in the earlier run
[12:09] <MT`> crf does the same thing by averaging over a much smaller timespan
[12:09] <MT`> I want the highest quality with the lowest possible bitrate, which 2 pass should give me
[12:10] <JEEB> the thing is, when you are not limiting your encode bitrate-wise, you don't really need the data you get from a first pas
[12:10] <JEEB> *pass
[12:10] <JEEB> I wish there was D_S or someone here who could argue you down, but unfortunately they are not here :)
[12:10] <JEEB> "I want my encode to end up exactly of size X/bitrate X and look good" => two-pass bitrate encoding
[12:11] <MT`> OK, let me ask a different question: does ffmpeg only allow me to configure x264 using profile/preset/tune, or can I explicitly provide encoding options
[12:11] <JEEB> with bitrate encoding we have to know which parts of the clip need more bitrate, and which less to make an optimized encode when hitting a certain size
[12:12] <JEEB> you can provide libx264 settings, yes
[12:12] <JEEB> While with crf you are globally just setting a certain rate factor
[12:12] <JEEB> thus there is no need to optimize anything
[12:12] <JEEB> you are optimizing for a different result :3
[12:12] <MT`> JEEB: look, you're clearly sold on this, you're not convincing me
[12:12] <MT`> i dont want to waste your time
[12:12] <JEEB> ok, you can ask Dark_Shikari
[12:12] <JEEB> or any other dev
[12:13] <JEEB> and they will say the same
[12:13] <MT`> fine
[12:13] <JEEB> that if you just care about quality, use crf
[12:13] <JEEB> and if you want to hit (in a relatively short period of time) a certain bitrate with good quality
[12:13] <JEEB> then 2pass
[12:13] <MT`> I dont just care about quality
[12:13] <MT`> thats the entire point :(
[12:14] <JEEB> well, you are caring about compression, and I don't see crf being any worse off than bitrate-based
[12:14] <JEEB> the same algorithm is just being optimized for a different thing
[12:18] <JEEB> because you can hit the same file size with crf and get same/better by 0.x%/worse by 0.x% results, but that just doesn't make sense if you just want to hit a certain file size, now does it (in my testing with SSIM and actually munching through crf values crf came up better, but as the troll there said it _can_ be 0.blehbleh% better or worse, not a notable difference when you have an actual end result you want to achieve)?
[12:21] <JEEB> and you are free to check whatever I am saying on any of the developers of x264
[12:21] <JEEB> :3
[14:08] <Shimmy> Any news?
[14:09] <GordonFreeman> do you like fractals?
[14:10] <Shimmy> u askin me?
[14:45] <Ceida> hi , i m having problem on webm codec , i want to reset image decode to "all image" to clean all. vpx_codec_decode(&decoder, compressed_video_buffer, sizeof(compressed_video_buffer), 0, 0) <= when this function fails , i want to reset codec , how can i reset ? someone know?
[18:54] <TimN> drawtext plus timecode whoop whoop, thanks ubitux:
[19:04] <ubitux> TimN: woot at least one user ;)
[19:08] <TimN> ubitux: one *big time* user, and given the possible confusion over the syntax with the use of : in the timecode I have added an example to https://ffmpeg.org/trac/ffmpeg/wiki/FilteringGuide
[19:09] <ubitux> ah nice one
[19:09] <ubitux> maybe you could even send a patch to ffmpeg-devel to add an example in the documentation?
[19:10] <ubitux> but well not that important
[19:10] <ubitux> otoh, you may change your example to deal with ntsc material and drop frame
[19:10] <ubitux> ';'
[19:11] <ubitux> it will also show you can set the rate in rationnal form
[19:11] <ubitux> 30000/1001
[19:11] <TimN> I am working on patches to the filter doc as discussed earlier, its just that other work has been rather pressing recently, and include NTSC
[19:11] <ubitux> anyway, thanks :)
[19:11] <ubitux> what were you using so far for the timecode btw?
[19:12] <TimN> Well for odds and ends Telestream..... :( but I have just been asked about doing several thousand hours worth so your patch is timely....
[19:13] <ubitux> i meant how did you burn it before :)
[19:14] <TimN> You can burn in using Telestream, or using a hardware box on the incoming stream....
[19:14] <ubitux> oh ok
[19:52] <symtab> hi
[19:53] <symtab> i'm using this: http://pastebin.com/LG4jxY3e
[19:53] <symtab> to convert my video to a format supportted on most mobile phones
[19:53] <symtab> however recent ffmpeg versions dont have the baseline preset
[19:53] <symtab> any ideas how i can achieve exactly the same with current ffmpeg version 0.9
[19:53] <symtab> ?
[19:55] <JEEB> use libx264 features?
[19:55] <JEEB> -profile baseline -level 3 -preset <your libx264 speed/compression preset>
[19:55] <JEEB> http://mewiki.project357.com/wiki/X264_Settings#profile
[19:56] <JEEB> ^ the documentation'ish thing for the x264 settings
[19:56] <JEEB> in ffmpeg you can at least control the main ones
[19:56] <JEEB> profile, preset, level
[19:59] <symtab> let me try that
[19:59] <symtab> thank you
[20:03] <symtab> i get some errors: http://pastebin.com/wVLPFP6S
[20:03] <symtab> any ideas?
[20:03] <symtab> [NULL @ 0x98a4bc0] [Eval @ 0xbfbc4908] Undefined constant or missing '(' in 'baseline'
[20:04] <JEEB> you make me sad with that command line :)
[20:05] <symtab> i'm sorry
[20:05] <symtab> :)))
[20:05] <JEEB> you can drop most of the x264-related things
[20:05] <symtab> its the only thing that works on all mobile phones i've tested
[20:05] <MT`> symtab: the problem is that it is attempting to apply the profile to libfaac as well
[20:05] <MT`> symtab: you need to prefix it so that it is just for video codec
[20:05] <JEEB> symtab, you don't need to set them manually any more
[20:05] <symtab> i found with google to use -vprofile
[20:05] <symtab> using that now
[20:06] <JEEB> profile and level set those things now
[20:06] <JEEB> lemme see
[20:06] <symtab> i will find time to test without all the options (but its not easy, because i only have android 2.3)
[20:06] <JEEB> I assure you
[20:06] <MT`> the exact same thing hit me yesterday
[20:06] <symtab> -vprofile works
[20:06] <JEEB> -vprofile baseline -level 3 works
[20:06] <MT`> -profile:v would also work, and is the new cool afaict
[20:06] <symtab> Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x176 [SAR 44:45 DAR 16:9], 372 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
[20:06] <symtab> PERFECT
[20:07] <JEEB> sigh...
[20:07] <symtab> -level 1.3
[20:07] <symtab> -level 3 wont work on all phones
[20:07] <symtab> only new ones
[20:07] <JEEB> uhh
[20:07] <JEEB> level 3 has worked on any phone that can handle baseline during the last two-three years
[20:07] <JEEB> but sure
[20:07] <JEEB> you can drop the level lower if you want
[20:07] <JEEB> the one thing I'm sure about is that you don't need to play with
[20:07] <JEEB> -flags +loop -cmp +chroma -partitions 0 -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71
[20:08] <JEEB> -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4
[20:08] <JEEB> these
[20:08] <JEEB> you can keep your maxrate and bufsize
[20:08] <symtab> so drop everything except maxrate and bufsize?
[20:09] <symtab> everything related to x264
[20:09] <JEEB> yes, because the libx264 wrapper in ffmpeg is no longer stupid :3
[20:09] <JEEB> you have more chances of ruining stuff than making stuff work :D
[20:09] <JEEB> (by setting that stuff manually)
[20:10] <symtab> ok
[20:10] <symtab> thank you
[20:10] <JEEB> note: the braindeadness of the ffmpeg's libx264 wrapper was what kept me from using libx264 with it for a long time
[20:10] <JEEB> although... I still don't use it if I can use x264 itself
[20:13] <JEEB> and I think it was trying to apply the -profile to the audio encoder because it was set after it :)
[20:14] <symtab> yes
[20:14] <symtab> using -vprofile works correctly
[20:15] <JEEB> ffmpeg -i 15.mp4 -vcodec libx264 -preset slow -profile baseline -level 1.3 -b 375k -maxrate 10M -bufsize 10M -threads 0 -aspect 16:9 -s 320x176 -acodec libfaac -ac 2 -ab 128k -ar 44100 15.mobile.mp4
[20:15] <JEEB> this should work as well
[20:16] <JEEB> (also, libx264 used to be less nice to be used as well, f.ex. the level flag and maybe even the profile flags were just setting flags in the stream, not actually keeping settings inside those limitations)
[20:16] <JEEB> been a year or more now that it started controlling those things :3
[20:20] <MT`> JEEB: position is irrelevant, if you dont specify a stream specifier for a profile, it applies it to all streams (well, certainly a+v)
[20:20] <JEEB> ah
[20:20] <JEEB> so they changed that
[20:21] <MT`> i tried all the variations working that one out ;)
[20:21] <JEEB> I still remember when profile and preset very pretty much libx264-specific things
[20:21] <JEEB> IIRC
[20:21] <JEEB> and vprofile or whatever that loaded those files was for that
[20:21] <MT`> yep
[20:22] <JEEB> shows how much I use avconv/ffmpeg for encoding
[20:22] <MT`> I dont know much about the history of x264, but I think the profiles were ffmpeg, or at least the profiles I was using
[20:22] <JEEB> the first profiles were
[20:22] <MT`> and they simply specified different x264 flags
[20:22] <JEEB> yes
[20:22] <JEEB> then libx264 got its own presets
[20:22] <JEEB> (note: in H.264 profiles are pretty much feature sets)
[20:23] <MT`> yep, certainly makes things easier to grok
[20:23] <JEEB> so ffmpeg then got a setting (-preset) to load the libx264 presets IIRC
[20:23] <JEEB> and then a few other settings IIRC
[20:23] <JEEB> and thus the old preset files were pretty much made unneeded
[20:24] <MT`> still need them for libvpx, but yeah
[20:24] <MT`> and of course, the ffmpeg settings sometimes had different names to the ones in x264
[20:25] <JEEB> yeah
[20:25] <JEEB> +1 reason why I would've not used ffmpeg for libx264 encoding back then
[20:47] <Seph> Anyway I can get a list of all the libx264 presets?
[20:49] <JEEB> http://mewiki.project357.com/wiki/X264_Settings#profile
[20:49] <JEEB> presets are under the profiles
[20:49] <JEEB> also you can IIRC get them with x264 --fullhelp | grep "placebo"
[20:50] <JEEB> because it should grab the line with placebo on it, which is the most "you don't really want to use this for anything else but benchmarks" preset
[20:51] <Seph> yeah just found x264 --fullhelp listed under ffmpeg -h
[20:54] <Seph> Any reason you suggested using -threads 0?
[21:03] <JEEB> Seph, unless that is default in the ffmpeg wrapper now as well
[21:03] <JEEB> I guess it is since it's the libx264 default
[21:03] <JEEB> d'oh
[21:07] <Seph> does it disable threading or allow libx264 to choose? I've always had threads set to 8 as that's how many (virtual) cores my cpu has
[21:08] <JEEB> --threads 0 in libx264 context means "auto"
[21:09] <Seph> excellent then
[21:10] <Seph> I just updated ffmpeg and libx264 so I figured I should probably get rid of my old manual settings and just use a preset
[21:10] <Seph> next up is getting ffmpeg to support fonts and subtitles :/
[22:05] <rocketmagnet> hi all, os there the oposite switch to -y ????
[22:05] <Ave> dont use -y and it wont overwrite without asking
[22:05] <rocketmagnet> is there
[22:07] <pasteeater> TimN: what does "(change the : to a ; before the frame count)_________________________________________________________" mean?
[22:20] <cbsrobot> pasteeater: I think TimN tries to draw a line in asciiart to the ;
[22:22] <pasteeater> ah, i see. duh.
[22:38] <dowdle> Ok, so -ss will let me jump to a particular place to start encoding. Is there (what is the) flag that will let me start at the beginning of a video but stop encoding before the end of the video?
[22:39] <dowdle> Basically I have a video that is two videos in one, and I want to chop it into two. I can encode the second half easily with -ss but I can't seem how to encode the first half and stop where the second one begins.
[22:50] <pasteeater> dowdle: -t option
[22:51] <pasteeater> ffmpeg -i input -ss 10 -t 20... will skip first 20 seconds and make output 10 seconds long.
[22:52] <dowdle> pasteeater: Thanks. I'll give that a try.
[23:00] <cbsrobot> pasteeater: it's other way round -no ?
[23:01] <cbsrobot> skip first 10 seconds and make output 20 seconds long
[23:13] <Seph> Have I misunderstood something, shouldn't ffmpeg support ssa/ass subtitles?
[23:13] <Seph> And mp4 as well.
[23:14] <Seph> http://pastie.org/private/0larhdufpbenhei3acftg <- see line 55 and 78
[23:16] <pasteeater> cbsrobot: yes, i transposed my numberos
[23:21] <alpha--> hello
[23:21] <alpha--> I'm converting some .flac files to .mp3 files using this command: ffmpeg -i in.flac -vn -ab 192k -acodec libmp3lame out.mp3
[23:21] <alpha--> so the output bitrate is set to 192 kbit/s
[23:22] <alpha--> but when I play the resulting file with mplayer, it detects it as AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400)
[23:22] <alpha--> 48 kbit/s
[23:22] <alpha--> is my command wrong, or is mplayer guessing wrong or what?
[23:25] <pasteeater> alpha--: you can find out the average bitrate of the file manually
[23:26] <pasteeater> (3.25 MB * 8192 [converts MB to kilobits]) / 240 seconds = ~110 kilobits/s
[23:26] <pasteeater> for example
[23:26] <ubitux> Seph: please also copy the command line you used&
[23:26] <alpha--> hmm 1 sec
[23:26] <ubitux> Seph: it looks like you're remuxing, ass filter is usable this way: -vf ass=/path/to/file.ass
[23:27] <ubitux> but maybe you actually want a remuxing&
[23:27] <pasteeater> does mp4 support ass?
[23:27] <jbwiv> I've tried a few times to reduce a video size on ubuntu with ffmpeg by reducing the bitrate, but no matter what i use the file size ends up growing. based on past irc discussions, I believe this many have something to do with ubuntu's build or use of libav. are there any distros out there which package a full-blown tried and true non-libav version of ffmpeg?
[23:27] <pasteeater> jbwiv: ubuntu if you compile ffmpeg.
[23:27] <pasteeater> http://ubuntuforums.org/showthread.php?t=786095
[23:28] <pasteeater> also, use a pastebin site to show your ffmpeg command and the complete console output
[23:28] <alpha--> yes pasteeater, it adds up correctly that way
[23:29] <alpha--> I also discovered another problem, mplayer can not detect file duration correctly
[23:29] <alpha--> but vlc ... something is wrong with my mp3
[23:29] <alpha--> vlc can*
[23:29] <jbwiv> pasteeater, ok, yeah, did that before but all the files are at home. I'll do that when I get there tonight. thanks
[23:30] <pasteeater> alpha--: are you using an old mplayer (or ffmpeg too)?
[23:30] <alpha--> ffmpeg 0.7.5
[23:30] <alpha--> MPlayer SVN-r32624-4.4.4
[23:39] <Seph> ubitux: sorry, not trying to mux it in
[23:39] <Seph> I want the subtitle embedded into the mp4 container so that it's a soft subtitle
[23:39] <ubitux> yes that's what i meant
[23:39] <ubitux> no one can guess your command line
[23:39] <ubitux> so no one can help you fixing it
[23:40] <Seph> http://pastie.org/3012862 <- this is the command line
[23:40] <Seph> yeah I thought it was included in the ffmpeg output since the configure argument is.
[23:40] <Seph> the subtitle is in the $base (mkv) file being read.
[23:46] <Seph> hmm no, it actually seems mp4 does not support ass subtitles. Have to be converted to timed text format
[23:48] <walisser> I am trying to make MPEG 4 ASP Level 5, compliant file, what rc-buffer-size should be used? Wikipedia says 1792 kb but I can't find a combination of bitrate flags that will work with that
[00:00] --- Wed Dec 14 2011
1
0
[00:02] <burek> if i need just to get the latest updates from git (i did git clone ... around 1st december) is it enough to type git update or i need to remove all files and again do git clone?
[00:07] <Compn> a git pull should be enough
[00:07] Action: Compn nto sure what git update does
[00:07] <Compn> svn update ...
[00:07] <burek> yes, git pull sorry :)
[00:07] <burek> thanks :)
[00:12] <ubitux> michaelni: you're not mentionning libass filter in the changelog? :)
[00:12] <michaelni> git: 'update' is not a git command. See 'git --help'.
[00:14] <Compn> i wonder if someone could come up with a little script
[00:14] <Compn> it converts 'svn up' to 'git pull' and 'svn commit' to 'git commit' + 'git push'
[00:14] <Compn> ;p
[00:32] <_Thomas> Any devs alive currently? I have the needed docs for the hw codecs of an ARM-based SoC, and want to add support for this in ffmpeg, but I can't seem to find any info on where I should put this in ffmpeg?
[00:33] <_Thomas> the hw codecs does full decode, not just acceleration of some of the steps in h.264 (for instance)
[00:33] <j-b> openmax il?
[00:34] <_Thomas> No, I was hoping to do ffmpeg -> hw, without using any openmax
[00:34] <_Thomas> ;)
[00:35] <Compn> _Thomas : you are looking for the ffmpeg docs in git ?
[00:35] <Compn> or what ?
[00:35] Action: Compn confused
[00:35] <Compn> oh, what file the hw support goes in ?
[00:35] <_Thomas> Compn: I'm just looking for some hints on what parts of ffmpeg I should modify / add libs to to make ffmpeg use hw codecs on the platform
[00:36] <_Thomas> Compn: yes :)
[00:36] <_Thomas> Compn: My platform does decode of h264, h263, mpeg2, mpeg4, vc1
[00:36] <_Thomas> and encode h264, h264, mpeg4
[00:36] <Compn> i'd look at similar code like crystalhd wrapper or vdpau
[00:36] <Compn> but you should ask michaelni
[00:36] <Compn> because i'm not sure :)
[00:37] <merbanan> _Thomas: you could look at the stagefright api implementation
[00:37] <_Thomas> stagefright uses ffmpeg?
[00:37] <merbanan> no there is a stagefright_h264 decoder in ffmpeg
[00:38] <merbanan> instead of using the software decoder it uses the hardware decoder through the stagefright api
[00:38] <_Thomas> ah
[00:38] <merbanan> look how that code integrates with the rest of the ffmpeg internal api
[00:38] <_Thomas> The SoC in question is the Exynos 4210, btw
[00:39] <Compn> it probably depends if your hardware does full h264 accel or parts of the codec accel like cabac or stuff like that
[00:39] <merbanan> hopefully you feed it annexb frames
[00:39] <merbanan> with not to much quirks
[00:40] <_Thomas> you feed frames, yes
[00:40] <_Thomas> raw (for the encoder) and annexb (I think) for the decoder
[00:40] <merbanan> anyway, wbs knows a few things about this
[00:40] <_Thomas> seems like crystalhd.c also is a place to look?
[00:40] <merbanan> yes
[00:41] <merbanan> they should have implemented the needed framing
[00:41] <_Thomas> cool
[00:43] <_Thomas> thanks, I think I got what I asked for :)
[00:47] <Compn> _Thomas : btw if you want to submit something that lets other devels know where hwaccel code is/goes, that would be helpful for future people :)
[00:49] <_Thomas> Compn: Good point :)
[00:54] <_Thomas> First step to getting XBMC working is ffmpeg with hw support
[01:02] <merbanan> I think we might need to fix the api so one can choose decoders for a codec
[01:02] <merbanan> now there is only one IIRC
[01:43] <CIA-49> ffmpeg: 03Diego Biurrun 07master * rda9cea77e3 10ffmpeg/ (51 files in 9 dirs): Fix a bunch of common typos.
[01:43] <CIA-49> ffmpeg: 03Martin Storsjö 07master * re2484fb644 10ffmpeg/libavformat/ (movenc.c movenc.h movenchint.c): (log message trimmed)
[01:43] <CIA-49> ffmpeg: movenc: Use the actual converted sample for RTP hinting
[01:43] <CIA-49> ffmpeg: If an annex b bitstream is muxed into mov, the actual written
[01:43] <CIA-49> ffmpeg: sample is reformatted to mp4 syntax before writing.
[01:43] <CIA-49> ffmpeg: Currently, the RTP hints that copy data from the normal video
[01:43] <CIA-49> ffmpeg: track, where the payload data might be offset compared to the
[01:43] <CIA-49> ffmpeg: original sample that the RTP hinting used (when 3 byte
[01:43] <CIA-49> ffmpeg: 03Luca Abeni 07master * re0a3c287b4 10ffmpeg/libavformat/rtpenc_h264.c:
[01:43] <CIA-49> ffmpeg: rtpenc: Add support for mp4 format h264
[01:43] <CIA-49> ffmpeg: Signed-off-by: Martin Storsjö <martin(a)martin.st>
[01:43] <CIA-49> ffmpeg: 03Martin Storsjö 07master * r0ebd4083e1 10ffmpeg/libavformat/sdp.c:
[01:44] <CIA-49> ffmpeg: sdp: Restore the original mp4 format h264 extradata if converted
[01:44] <CIA-49> ffmpeg: If the sdp is generated before the rtp muxer is initialized
[01:44] <CIA-49> ffmpeg: (e.g. as when called from the rtsp muxer), this has to be done,
[01:44] <CIA-49> ffmpeg: otherwise the rtp muxer doesn't know that the input really is
[01:44] <CIA-49> ffmpeg: in mp4 format.
[01:44] <CIA-49> ffmpeg: Signed-off-by: Martin Storsjö <martin(a)martin.st>
[01:44] <CIA-49> ffmpeg: 03Mans Rullgard 07master * r373211d828 10ffmpeg/ (8 files in 4 dirs):
[01:44] <CIA-49> ffmpeg: Remove extraneous semicolons
[01:44] <CIA-49> ffmpeg: These semicolons cause invalid empty top-level declarations.
[01:44] <CIA-49> ffmpeg: Signed-off-by: Mans Rullgard <mans(a)mansr.com>
[01:44] <CIA-49> ffmpeg: 03Andrey Utkin 07master * r5b3265a718 10ffmpeg/libavfilter/Makefile:
[01:44] <CIA-49> ffmpeg: lavfi: install libavfilter/vsrc_buffer.h
[01:44] <CIA-49> ffmpeg: It declares API necessary for filtering apps.
[01:44] <CIA-49> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[01:44] <CIA-49> ffmpeg: 03Mans Rullgard 07master * r3383a53e7d 10ffmpeg/ (23 files in 3 dirs): (log message trimmed)
[01:45] <durandal_1707> anybody have free time to spend it for me?
[01:47] <Daemon404> ?
[01:48] <durandal_1707> i think i finally found cdxl with RGB encoded video
[01:49] <CIA-49> ffmpeg: 03Michael Niedermayer 07master * r02a01c2fa1 10ffmpeg/tests/Makefile:
[01:49] <CIA-49> ffmpeg: fate: replace forgotten avconv by ffmpeg in vsynth / asynth stuff
[01:49] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:05] <CIA-49> ffmpeg: 03Michael Niedermayer 07master * rcd2f7ed000 10ffmpeg/libavformat/seek-test.c:
[02:05] <CIA-49> ffmpeg: seek-test: use standard format specifiers in snprintf()
[02:05] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:06] <michaelni> durandal_1707, if theres anything i can help with just ask ...
[02:07] <durandal_1707> well i'm now attepting to decode rgb data in cdxl
[02:35] <RT|AO> "This channel is publically logged" # who is doing that besides me?
[02:35] <Compn> wheres your logs RT|AO ?
[02:36] <Compn> http://ffmpeg.org/pipermail/ffmpeg-devel-irc/
[02:36] <Compn> seems burek is doing them :)
[02:36] <RT|AO> I see. Mine is password protected. ;-)
[02:36] <RT|AO> http://roy.orz.hm/irclog/%23ffmpeg-devel/latest.log.html
[04:38] <Compn> did ffmpeg ever get midi support ?
[04:38] <Compn> or is that not committed ?
[07:27] <ubitux> Compn: should work with libmodplug wrapper
[07:28] <ubitux> but not when muxed though
[09:35] <Tjoppen> make: *** [fate-utvideo_rgba_left] Error 1
[09:35] <Tjoppen> FYI
[09:36] <ubitux> Tjoppen: even after a fate rsync?
[09:37] <Tjoppen> aha
[09:37] <Tjoppen> yeah, that updated the samples
[09:40] <Tjoppen> success!
[10:01] <Tjoppen> time to post some patche
[10:01] <Tjoppen> s
[14:55] <ubitux> mmh i wanted to extract the frame rate directly in the filtergraph (for timecode burning)
[14:55] <ubitux> the filterchain has access to the time_base
[14:55] <ubitux> while it seems to work with mxf material (for instance) where i get a 24/1 frame rate
[14:56] <ubitux> it doesn't if it is some classic mpeg2 file, where i have a 1/90000 tb
[14:56] <ubitux> atm the patch use the user specified frame rate, but maybe i could do some specific heuristic?
[14:57] <Tjoppen> I'm fairly sure timecodes can be parsed from mpeg2
[14:57] <ubitux> (so we can avoid the need of a -r)
[14:57] <ubitux> that's not the issue :)
[14:57] <Tjoppen> it shouldn't depend on time_base at all
[14:57] <ubitux> ok
[14:57] <Tjoppen> you should consider timecodes to just be frame metadata
[14:57] <ubitux> so the asking the user to specify the rate looks mandatory to you?
[14:58] <Tjoppen> well, I'm thinking of the case where there actually are timecodes
[14:58] <ubitux> note i'm just talking about timecode burning
[14:58] <Tjoppen> in which case ffmpeg shouldn't go inventing its own
[14:58] <ubitux> i sent a patchset last week for this
[14:58] <ubitux> using drawtext to burn the specified timecode
[14:58] <ubitux> sth like -vf drawtext=font=...:text='TCR ':timecode=00...:r=30000/1001
[14:59] <Tjoppen> I see it now. hm
[14:59] <ubitux> i just wanted to check if the rate couldn't be guessed based on the time base
[14:59] <ubitux> which is available in the filterchain
[14:59] <Tjoppen> avg_frame_rate?
[14:59] <ubitux> is that realiable?
[14:59] <ubitux> afaik it's not in the filterchain anyway
[15:00] <Tjoppen> well, it seems reliable for "normal" files
[15:00] <Tjoppen> codec->time_base is often twice the framerate and stream->time_base is usually whatever
[15:00] <ubitux> how do you guess the frame rate when you have for instance a mpeg with 90000/1 tb ?
[15:01] <Tjoppen> lavf looks at the timestamps. I think it has some magic to properly detect 23.98 fps and such
[15:02] <Tjoppen> also note: timecode != timestamp
[15:03] <Tjoppen> in case you were thinking of computing them like initial_timecode + delta_pts * some_constant
[15:03] <Tjoppen> it can work fine for PAL, but for NTSC timecodes and timestamps are off by 1 ppm
[15:04] <ubitux> no no i know that
[15:04] <Tjoppen> good :)
[15:04] <ubitux> all the code is actually working; i'm just trying to see if i can avoid the need of a rate parameter :p
[15:04] <ubitux> reliably
[15:04] <ubitux> but i guess i'll just go with the current version
[15:04] <ubitux> requesting the user to specify the input rate
[15:05] <Tjoppen> you could perhaps have certain values for avg_frame_rate be OK
[15:05] <Tjoppen> if you can access it. or the ffmpeg CLI can look at the value and set the option accordingly?
[15:05] <ubitux> avg_frame_rate is not available in the lavfi scope
[15:06] <ubitux> i don't understand what you're saying about the cli
[15:06] <Tjoppen> it could set the optional automagically if avg_frame_rate is any of the outer product {24,25,30}*{1/1,1000/1001}
[15:06] <Tjoppen> *options
[15:07] <Tjoppen> so tricky stuff like VFR still requires the option
[15:08] <ubitux> ok, i'll eventually add optionnal specific heuristics later
[15:10] <Tjoppen> AVFrame doesn't have metadata yet?
[15:10] <ubitux> michaelni: could you check if this looks better for ff_ to avpriv_ bump? http://blackhole.ubitux.fr/tc/0004-timecode-rename-internal-ff_-symbols-to-…
[15:10] <ubitux> Tjoppen: AVFrame is not in the filterchain
[15:11] <Tjoppen> ah
[15:31] <ubitux> haha Nicolas G. :D
[15:31] <ubitux> Maybe lose the "0.": 0.8.7 becomes 8.7, 0.9 becomes 9.0, and the next major release would be 10.0.
[15:31] <ubitux> and then 100.0, left shift each time
[15:31] <ubitux> 1000.0, 10000.0...
[15:35] <michaelni> it shouldnt be hard to add a avg_frame_rate field to some struct in lavfi if that helps
[15:36] <ubitux> i don't think it's worth the effort, at least at first
[15:36] <Tjoppen> ubitux: do all your use cases use sane containers and/or codecs?
[15:36] <michaelni> ff/avpriv patch LGTM
[15:36] <ubitux> Tjoppen: it should& but i hope i won't be the only user ;)
[15:36] <Tjoppen> as in, do all of them have proper timecodes and could be exposed somehow?
[15:37] <ubitux> you can have timecode at different levels
[15:37] <ubitux> codecs & formats
[15:37] <ubitux> user might want to choose between them
[15:37] <Tjoppen> yeah. like mpeg2 can have timecodes per frame but in mxf it's just StartTimecode + delta from there
[15:39] <Tjoppen> for op1a at least.. though there needs to be at least one contiguous timecode track
[15:40] <ubitux> michaelni: i'll push the whole patchset soon then, if you don't have a better idea for the user input frame rate in drawtext filter
[15:40] <ubitux> michaelni: and thx for having a look
[15:42] <michaelni> you can calculate the average framerate from the timestamps of the past frames but then it would not be available at first
[15:42] <ubitux> Tjoppen: also, avg_frame_rate might not be enough; i'm not sure you can guess accuratly all the frame rate in rationnal form from this
[15:43] <ubitux> michaelni: i was thinking of using time_base from the filter chain at first
[15:43] <Tjoppen> why not just burn pts and time_base as-is?
[15:43] <Tjoppen> and maybe a running mean FPS
[15:43] <ubitux> but while it seems to work sometimes (got a 24/1 with a mxf file for instance) it doesn't for a mpeg2 one
[15:43] <ubitux> (90000/1)
[15:44] <Tjoppen> considering timecode is just a glorified frame counter
[15:45] <ubitux> i don't understand what you propose :p
[15:47] <michaelni> when you have a frame with timestamp 0 and the next with timestamp 3750 and tb=1/90000 then the avg fps is 24
[15:47] <ubitux> yes i got that
[15:48] <ubitux> but unfortunately i need the first frame to be processed too
[15:49] <michaelni> that either requires user input or passing the avg fps through the chain or some added init pass for filters where they get the first frames twice so they can learn these parameters before actual filtering
[15:51] <ubitux> then user input will be just fine imho
[15:51] <CIA-49> ffmpeg: 03Martin Storsjö 07master * r8349dbfe46 10ffmpeg/libavcodec/x86/cabac.h:
[15:51] <CIA-49> ffmpeg: x86: Require 7 registers for the cabac asm
[15:51] <CIA-49> ffmpeg: The change in 599b4c6ef didn't turn out to work properly on
[15:51] <CIA-49> ffmpeg: i386 on OS X, where it broke building with PIC enabled.
[15:51] <CIA-49> ffmpeg: Signed-off-by: Martin Storsjö <martin(a)martin.st>
[15:51] <CIA-49> ffmpeg: (cherry picked from commit f1dba9e4988e78738ad9065e4639b82b8355774a)
[15:51] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[15:51] <ubitux> i'll push the patchset in a moment
[17:22] <ubitux> someone is asking for a gradual fade on the mailing list afaiu
[17:22] <ubitux> i wonder if the alpha parameter of the fate filter couldn't be an eval
[17:22] <ubitux> so it can be computed according to the pts
[17:27] <Compn> thats all anyone wants
[17:28] <Compn> gapless playback, fading between videos
[17:28] <Compn> uhh
[17:34] <ubitux> shouldn't be too hard to do
[17:37] <CIA-49> ffmpeg: 03Michael Niedermayer 07master * ree731c1ab0 10ffmpeg/ffmpeg.c:
[17:37] <CIA-49> ffmpeg: ffmpeg: fix codecids with ffserver + ffmpeg + ffm
[17:37] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[17:53] <CIA-49> ffmpeg: 03Clément BSsch 07master * r66160bdb01 10ffmpeg/libavcodec/ (libx264.c proresdec2.c): cleanup: remove two extraneous semicolons.
[17:53] <CIA-49> ffmpeg: 03Clément BSsch 07master * r98aca4bbef 10ffmpeg/libavcodec/timecode.c: timecode: better input checks in init function.
[17:53] <CIA-49> ffmpeg: 03Clément BSsch 07master * rad5ade6615 10ffmpeg/libavcodec/ (timecode.c timecode.h): timecode: add avpriv_timecode_to_string().
[17:53] <CIA-49> ffmpeg: 03Clément BSsch 07master * rfa4e30af7e 10ffmpeg/ (doc/filters.texi libavfilter/vf_drawtext.c): drawtext: allow burning the timecode.
[17:53] <CIA-49> ffmpeg: 03Clément BSsch 07master * r80914cde6f 10ffmpeg/ (7 files in 3 dirs):
[17:53] <CIA-49> ffmpeg: timecode: rename internal ff_* symbols to avpriv_*.
[17:53] <CIA-49> ffmpeg: Those functions are shared between libs.
[17:53] <CIA-49> ffmpeg: Also fix a typo in function names: smtpe smpte.
[18:35] <CIA-49> ffmpeg: 03Tomas Härdin 07master * rc0ee522df6 10ffmpeg/libavformat/mxfdec.c:
[18:35] <CIA-49> ffmpeg: mxfdec: Bring back accumulated_offset that was removed in 5e67e3e
[18:35] <CIA-49> ffmpeg: I thought it had to do with file offsets, but's actually the offset inside
[18:35] <CIA-49> ffmpeg: the essence container.
[18:35] <CIA-49> ffmpeg: In other words, unbreak multiple EditUnitByteCounts.
[18:35] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:35] <CIA-49> ffmpeg: 03Tomas Härdin 07master * r1e14bfc117 10ffmpeg/libavformat/mxfdec.c:
[18:35] <CIA-49> ffmpeg: mxfdec: Add support for Avid indexes
[18:35] <CIA-49> ffmpeg: These indexes duplicate every entry and have the total size of the essence
[18:35] <CIA-49> ffmpeg: container as the last entry.
[18:35] <CIA-49> ffmpeg: This patch also computes the size of the packets when unknown.
[18:35] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:35] <CIA-49> ffmpeg: 03Tomas Härdin 07master * r0bcada9f61 10ffmpeg/libavformat/mxfdec.c:
[18:35] <CIA-49> ffmpeg: mxfdec: Add Avid's essence element key
[18:35] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:35] <CIA-49> ffmpeg: 03Tomas Härdin 07master * r8a2cb2abbf 10ffmpeg/libavformat/mxfdec.c:
[18:35] <CIA-49> ffmpeg: mxfdec: Only sort IndexTableSegments once
[18:36] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:36] <CIA-49> ffmpeg: 03Tomas Härdin 07master * r7d531e83b6 10ffmpeg/ (libavformat/mxfdec.c tests/ref/seek/lavf_mxf):
[18:36] <CIA-49> ffmpeg: mxfdec: Set DTS and PTS on video packets
[18:36] <CIA-49> ffmpeg: This involves computing DTS/PTS from the index tables.
[18:36] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:36] <CIA-49> ffmpeg: 03Tomas Härdin 07master * r89cc8c17df 10ffmpeg/libavformat/mxfdec.c:
[18:36] <CIA-49> ffmpeg: mxfdec: Check slice_count before freeing slice_offset_entries
[18:36] <CIA-49> ffmpeg: This fixes SIGSEGV on sliceless (single stream) VBR files
[18:36] <CIA-49> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:36] <luke-jr> Why does ffmpeg 0.8.7 ignore CFLAGS, and leave out -mfpu=neon, for the NEON configure test? <.<
[19:38] <Compn> luke-jr : because it hates you :P
[19:38] <luke-jr> Compn: sure, even if I use --extra-cflags to add it, it fails to assemble ;)
[19:39] <luke-jr> in fact, I can't seem to get ffmpeg to build on ARM at all
[19:39] <Compn> why .8.7 and not master ?
[19:39] <Compn> does libav build ? mru does the arm/neon stuff
[19:39] <luke-jr> I don't know how stable master is.
[19:40] <Compn> master is stable , not api stable, but then again, nothing is api stable anymore
[19:43] <luke-jr> Compn: well, if I'm just interested in mplayer/mplayer2, will master work? >_<
[19:45] <Compn> mplayer svn automatically pulls ffmpeg git master if you compile mplayer manually...
[19:46] <Compn> so yes, it will work
[19:46] <Compn> well, on x86
[19:46] <Compn> i dont think mplayer has anyone testing on arm lately
[19:46] <Compn> mplayer is lacking devels something bad.
[19:46] <Compn> will older ffmpeg work on newer mplayer? dunno
[20:01] <michaelni> luke-jr, check fate.ffmpeg.org there are 2 ARM clients
[20:02] <michaelni> http://fate.ffmpeg.org/report.cgi?time=20111212162021&slot=qemu-armv7-ubunt…
[20:02] <michaelni> above lists the used flags
[20:02] <Compn> michaelni : luke-jr wants you to fix 8.7 on arm tho
[20:03] <michaelni> 8.7 is worse than master ?
[20:03] <michaelni> 0.8.7 :)
[20:03] <Compn> he said it fails to assemble
[20:03] <Compn> 0.8.7
[20:05] <luke-jr> in many different ways :/
[20:06] <luke-jr> 0.7.7/8 isn't any better either
[20:06] <Compn> luke-jr : does master fail ?
[20:06] <luke-jr> Compn: still waiting for it to clone
[20:06] <Compn> shouldnt take that long
[20:06] <michaelni> master has to work because well its working for me :)
[20:06] <Compn> :D
[20:06] <michaelni> id test 0.8.7 but arm-qemu is SLOOOOOOOW
[20:07] <ubitux> same here, so it definitely works
[20:07] <luke-jr> Compn: well, 5 MB/s disk bandwidth and 600 MHz CPU&
[20:07] <Compn> ah
[20:07] <Compn> you guys need to cross compile :P
[20:07] <michaelni> a single compile + fate under qemu is 6h IIRC so i wont start testing before i know what to test
[20:07] <ubitux> hey btw i tried to make fate with valgrind, and got a lot of issues :)
[20:08] <ubitux> in various places
[20:08] <luke-jr> fate?
[20:08] <av500> michaelni: cross compile
[20:08] <ubitux> ffmpeg automated testing env (iirc)
[20:08] <michaelni> ubitux, what issues ?
[20:08] <luke-jr> compile doesn't take *that* long on my system <.<
[20:08] <ubitux> michaelni: invalid read and similar
[20:08] <Compn> fate is ffmpeg's complete testing system to look for regressions or errors in compilation
[20:08] <ubitux> michaelni: i'll make a fate instance "soon"
[20:08] <michaelni> :)
[20:10] <ubitux> TARGET_EXEC=valgrind --error-exitcode=1 --malloc-fill=0x2a --undef-value-errors=no
[20:10] <ubitux> you can try with this
[20:10] <luke-jr> fwiw, I'm using (for the rest of my system, ffmpeg ignores it&) CFLAGS='-O2 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=hard'
[20:10] <michaelni> av500, if i cross compile then theres no single person on earth who tests native compile ;)
[20:10] <luke-jr> michaelni: does qemu really count as native? ;)
[20:11] <av500> michaelni: you can do both
[20:11] <michaelni> if i find the time i might setup both ...
[20:12] <michaelni> my fate client uses -extra-cflags='-mfpu=neon -mfloat-abi=softfp' --disable-debug --cpu=cortex-a8
[20:12] <michaelni> and --cc='ccache gcc-4.5' of course
[20:12] <burek> was there any effort about creating an ffmpeg/ffplay player as a browser plugin?
[20:13] <luke-jr> ./configure --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --cc=armv7a-hardfloat-linux-gnueabi-gcc --disable-optimizations --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libtheora --enable-libvorbis --enable-libxvid --
[20:13] <luke-jr> disable-indev=v4l --disable-indev=jack --enable-x11grab --enable-libfreetype --enable-pthreads --enable-libgsm --enable-libspeex --enable-libopenjpeg --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx --disable-mmx2 --disable-ssse3 --cpu=cortex-a8 --enable-hardcoded-tables
[20:13] <luke-jr> ^ full configure :p
[20:13] <luke-jr> (that's for 0.8.7)
[20:13] Action: luke-jr ponders why he's disabling v4l
[20:14] <av500> burek: there is mplayer and vlc for the browser, no?
[20:14] <luke-jr> NEON enabled no <-- master fails to detect NEON at least
[20:14] <burek> yes, but they are kinda unstable :/
[20:15] <michaelni> for me with master (and my configrue command) NEON enabled yes
[20:16] <Compn> michaelni : what did you ask about the ffmpeg website again? link to something ?
[20:16] Action: Compn has time to work now
[20:16] <michaelni> also naively --disable-optimizations somehow looks like a bad idea
[20:16] <michaelni> Compn, there are some new texi files that get changed to html automatically but i think we have no links to them
[20:16] <Compn> luke-jr : can you paste the errors during make to pastebin ?
[20:16] <Compn> oh
[20:17] <michaelni> like http://ffmpeg.org/platform.html
[20:17] <Compn> in /doc/ then :)
[20:18] <michaelni> none of this is new "info" its just splited out of existing texi files or converted from .txt
[20:18] <Compn> right , i see ubitux committed something already, i think
[20:18] <michaelni> http://ffmpeg.org/documentation.html has some links to the generated html but not complete
[20:19] <luke-jr> michaelni: why does ffmpeg ignore CFLAGS, and require --extra-cflags?
[20:19] <Compn> er no, derek buitenhuis made a patch that is...
[20:20] <Compn> luke-jr : at least it helps show up in the ffmpeg info how it was compiled :P
[20:20] <Compn> but i dont know if that was the reason
[20:20] <luke-jr> usually CFLAGS does too ;)
[20:20] <luke-jr> err, well in config.log at least
[20:20] <luke-jr> no reason ffmpeg couldn't include it in its own stuff too
[20:22] <michaelni> luke-jr, i dont know at all, maybe its so that host and target cflags dont get mixed, but iam just guessing
[20:22] <luke-jr> doesn't explain it for native builds ;)
[20:23] <michaelni> maybe its a bug for native builds
[20:26] <michaelni> CFLAGS=FUN ./configure fails for me so they are not ignored
[20:27] <michaelni> CFLAGS='-O0' ./configure seems working as expected, so where is the problem ?
[20:27] <Compn> luke-jr : what make, bash, gcc and as version are you running ?
[20:29] <luke-jr> GNU Make 3.82
[20:29] <luke-jr> GNU bash, version 4.1.9(1)-release (armv7a-hardfloat-linux-gnueabi)
[20:29] <luke-jr> gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3
[20:29] <luke-jr> GNU assembler (GNU Binutils) 2.21.1
[20:31] <luke-jr> master is still building fwiw
[20:32] Action: Compn wonders why libav moved platform specific out of general docs anyhow
[20:33] <Compn> michaelni : want to just revert 1de6e14efe1f3966023ad1121a6ce3fcbbb1b573
[20:33] <Compn> theres really no reason to move it out to a new file. just means another click a user has to make to find documentation :P
[20:34] <Compn> and they put build rules under 'developer documentation' , but building isnt devel-only instructions... but i guess this is just me talking to myself
[20:34] <michaelni> Compn, if people agree that the platform split was a bad idea i can revert it
[20:34] <Compn> i'll ask on list then
[20:34] <michaelni> ok
[20:37] <Compn> i mean if you want to seperate it so it makes changes from them easier, i can understand that
[20:37] <Compn> i'm not really paying attention to the merges recently, so i dont know the plan.
[20:41] <michaelni> I doubt there will be enough changes to platform.texi to make much of a difference to the merge work
[20:43] <Compn> gotta replace ramiro's url on the platform page too
[20:51] <CIA-49> ffmpeg: 03Reimar Döffinger 07master * r6c723f3f9d 10ffmpeg/tests/ (10 files in 2 dirs):
[20:51] <CIA-49> ffmpeg: lavf-regression: minimal metadata test.
[20:51] <CIA-49> ffmpeg: This tests writing the global "title" metadata.
[20:51] <CIA-49> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[21:13] <luke-jr> http://paste.pocoo.org/show/519905/
[21:17] <michaelni> luke-jr, is this with disabled optimizations ?
[21:20] <luke-jr> michaelni: no idea :D
[21:20] <luke-jr> # ./configure --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --cc=armv7a-hardfloat-linux-gnueabi-gcc --disable-optimizations --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-vaapi --disable-vdpau --enable-gnutls --enable-libmp3lame --enable-libvo-aacenc --enable-libtheora --enable-libvorbis --
[21:20] <luke-jr> enable-libxvid --disable-indev=v4l --disable-indev=jack --enable-x11grab --enable-libv4l2 --enable-libfreetype --enable-libass --enable-pthreads --enable-libgsm --enable-libmodplug --enable-libspeex --enable-libopenjpeg --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx --disable-mmx2 --disable-ssse3 --disable-vis --disable-iwmmxt --cpu=cortex-a8 --enable-hardcoded-tables
[21:20] <michaelni> --disable-optimizations <-- try without this
[21:21] <michaelni> disabling optimizations will break asm on x86 so i would not be surprised if itz does the same on arm
[21:32] <Compn> should have a warning when some smart user tries to --disable-optimizations
[21:33] <kierank> or some silly distro
[21:46] <MT`> hi all
[21:47] <luke-jr> it seems Gentoo always tries to --disable-optimization <.<
[21:47] <MT`> im trying to track down why my ffmpeg build is segfaulting when trying to transcode sd mpeg-2 to x264, but having difficulty getting gdb to cooperate
[21:47] <MT`> im currently using these options to configure:
[21:48] <MT`> --extra-cflags="-g -O0" --enable-debug=3 --disable-stripping
[21:49] <MT`> which is at least getting me a decent stack trace, but in each frame, gdb doesnt recognise any symbols
[21:49] <MT`> so i have the entry arguments, all globals, but no locals
[21:49] <MT`> any ideas?
[21:50] <teratorn> MT`: pastebin?
[21:50] <MT`> of the traceback? sure
[21:52] <MT`> http://pastebin.com/5my7M3g6
[21:53] <MT`> i'd like to be able to do fr 0; p po
[21:53] <MT`> but gdb wails :(
[21:55] <CIA-49> ffmpeg: 03Reimar Döffinger 07master * r31a68ad554 10ffmpeg/tests/ref/seek/ (7 files):
[21:55] <CIA-49> ffmpeg: Update seek reference for added metadata to lavf tests.
[21:55] <CIA-49> ffmpeg: As far as I could see the only change is increased pos values,
[21:55] <CIA-49> ffmpeg: which is as expected with additional metadata in the files.
[21:55] <CIA-49> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[21:55] <pasteeater> kierank: tell me that's not for real.
[21:56] <Compn> MT` : well, try to get a smaller command line, could help in reproducing :P
[21:57] <MT`> heh, true :)
[21:57] <Compn> looks like it crashes in copying ac3 audio to mp4
[21:57] <MT`> I think i can track down that problem, I really just want to get a debuggable build
[21:57] <Compn> so just ffmpeg -vn -acodec copy -i blah out.mp4
[21:57] <Compn> btw that trace looks complete to me, but i dont know what i'm talking about sometimes
[21:58] <MT`> ah, but if i attempt to look at any locals inside each frame, they've been optimised away
[21:58] <Compn> each frame of what ?
[21:58] <MT`> in gdb
[21:58] <Compn> oh i havent gone that far in gdb so i dunno ;)
[21:58] <Compn> did you verify things compiled with -O0 ?
[21:59] <MT`> http://pastebin.com/TLEWrPrW
[21:59] <MT`> that sort of thing
[21:59] <MT`> yar, I passed this to configure:
[21:59] <MT`> --extra-cflags="-g -O0" --enable-debug=3 --disable-stripping
[21:59] <Compn> wouldnt you want p flags ?
[21:59] <Compn> but i mean did you verify that it ran gcc -O0 on each file...
[22:00] <MT`> no, that was going to be my second question :) how can i turn off the quiet compilation mode :)
[22:00] <MT`> i do a gmake clean before each build
[22:00] <MT`> btw, p flags?
[22:01] <Compn> instead of p po
[22:01] <Compn> p flags
[22:01] Action: Compn has no clue about programming or debugging
[22:02] <MT`> aha I see! I thought you meant compile time flags, -p/-pg is for profiling :D
[22:02] <Compn> no
[22:02] <Compn> i meant it says if po->flags
[22:03] <Compn> so type p flags into gdb
[22:04] <Compn> gmake? what os are you on ?
[22:04] <MT`> freebsd
[22:04] <Compn> what make / gmake version
[22:04] <Compn> ah
[22:04] <Compn> its nice to see someone using master on bsd :)
[22:05] <MT`> I think what im trying to do is illegal, and its dieing before it gets to tell me
[22:05] <michaelni> MT`, make sure its not using -fomit-frame-pointer
[22:05] <MT`> its not as daunting as people make out, I keep meaning to make a blog post
[22:05] <MT`> michaelni: thx, ill kick off a build with -fno-omit-frame-pointer
[22:06] <Compn> we have some bsd instructions, send a patch to update those if you want to... http://ffmpeg.org/platform.html#BSD
[22:06] <Compn> our bsd instructions just say to use gmake, but more info would be nice :)
[22:09] <MT`> yes, thats pretty much it, install latest binutils and gcc46 from ports, configure with --with-cc= --with-as=, use gmake
[22:09] <MT`> might get interesting when we get a bsd clang/llvm toolchain :)
[22:31] <durandal_1707> does ffmpeg have some api to handle different ways of storing graphics info in memory?
[22:46] <MT`> thx for the help guys (and for ffmpeg obv), found the problem - PEBKAC, I had some old profile files installed, and was still trying to use them, which new ffmpeg did not agree with
[22:46] <MT`> do you want a bug report, it probably shouldnt have seg faulted on it
[22:59] <michaelni> MT`, yes please report it
[23:03] <luke-jr> michaelni: without --disable-optimizations, my system crashes during build <.<
[00:00] --- Tue Dec 13 2011
1
0
[00:11] <pasteeater> weeee... hard drive failure on this server. see you guys.
[00:51] <Seph> Can I have ffmpeg copy over soft subtitles (ass) and the fonts used when converting from mkv container to mp4 container?
[00:51] <Seph> Trying to use -scodec copy tries to copy the subtitles but fails, and it also does not include the embedded fonts
[00:55] <dashcloud> you may need the data copy as well
[00:56] <dashcloud> -dcodec copy
[00:57] <dashcloud> if the copy is failing, that may not help much, but if the embedded fonts show up as data streams, -dcodec copy should help there
[01:07] <Seph> thanks dashcloud, that gives me something to work with at least. I had not seen dcodec before.
[01:08] <dashcloud> also, make sure the mp4 container actually supports the subtitle type you are trying to put in it
[01:09] <dashcloud> mkv will accept nearly everything- I don't think mp4 accepts a lot of those
[01:13] <Seph> The subtitle format is ass, should be supported.
[01:15] <dashcloud> sorry then- not terribly sure
[01:15] <Seph> Wait no, it's ssa, my brain corrected it for me, so it might actually not be supported.
[01:16] <Seph> Let me first check if ffmpeg is compiled with support for this subtitle format.
[01:21] <Seph> seems like ssa is included under ass support
[01:36] <Seph> Kinda weird, ffmpeg claims not to support ssa but it uses libass which does support it.
[03:17] <jasonlfunk> I have a handful of mp3s with variable length and some associated jpegs. I want to match each jpg with it's mp3 and make a video out of it. Can this be done with ffmpeg?
[03:40] <beastwick> Hello, I am trying to capture with a Dazzle DVC100 on arch linux with ffmpeg (ati catalyst drivers) but I am unsure of what I am doing exactly.
[03:40] <beastwick> is this the right channel for support?
[03:46] <dashcloud> possibly- if all you need are the defaults mostly for your capture device, then yes
[03:47] <beastwick> OK, well using the basic commands that man ffmpeg provide for video grab
[03:47] <beastwick> it captures succesffuly
[03:47] <beastwick> but playing it back in VLC gave me just a black screen
[03:48] <beastwick> (i have video overlay turned off cause of problems with my driver) vid overlay flickers my screen and causes my monitor to become inaccessible
[03:48] <beastwick> will that prohibit seeing the video?
[03:50] <dashcloud> did your copy of ffmpeg come with ffprobe?
[03:51] <beastwick> yes
[03:52] <dashcloud> can you run ffprobe on your output file, and put the output of the ffprobe command on ffmpeg.pastebin.com ?
[03:52] <beastwick> oh sure
[03:56] <beastwick> http://pastebin.com/B7QQEcQs
[03:56] <beastwick> for my output
[03:56] <beastwick> btw I am trying to capture SVIDEO
[03:57] <beastwick> do I need to switch the channels via command line?
[03:57] <beastwick> does it default to COMPOSITE?
[04:00] <dashcloud> if you have v4l2-ctl, that will tell you pretty much everything about your card
[04:02] <beastwick> would you like me to paste what v4l2-ctl outputs?
[04:02] <dashcloud> that output file should play- it's the FFmpeg video codec tag for xvid
[04:02] <dashcloud> the problem is, FFmpeg doesn't really offer control over inputs/outputs and such for v4l2 devices
[04:02] <beastwick> LOL
[04:03] <beastwick> I think it only sees composite!
[04:03] <beastwick> look at my pastebin, let me show you.
[04:03] <dashcloud> which is quite possible- I believe it opens the device with defaults, plus any options you specify
[04:04] <beastwick> http://pastebin.com/96q0jC7Z
[04:04] <beastwick> it says COMPOSITE OK
[04:04] <beastwick> and nothing about SVIDEO
[04:04] <beastwick> so I believe it can't see svideo =/
[04:05] <beastwick> I need composite though for TV so I can see what I am doing (video games) anyway to switch?
[04:05] <beastwick> my tv does not support svideo
[04:05] <beastwick> so I run svideo to the capture card
[04:05] <dashcloud> mplayer/mencoder give you access to the full range of v4l2 controls if you need them
[04:06] <beastwick> yes
[04:06] <beastwick> but can mencoder stream?
[04:06] <beastwick> I want to stream the video to twitch.tv
[04:09] <dashcloud> not so sure about the streaming part- I just use it for capturing video from my tv capture card
[04:10] <dashcloud> I believe you can send video from mencoder to another program using pipes ( | ), and from there you can do whatever you need to do in the other program
[04:11] <beastwick> yes I was right
[04:11] <beastwick> tested with composite
[04:11] <beastwick> and it works
[04:12] <beastwick> Maybe I can split a composite signal
[04:13] <beastwick> thank you for showing me ffprobe!
[04:13] <beastwick> big help
[04:14] <dashcloud> glad I could sort of help
[09:25] <sam1> hi guy, i want to crop a movie and encode it ,i used this command " ffmpeg -i test.avi -an -vcodec libx264 -vf crop=1920:784:0:184 -s 720x576 test.mp4", but it doesn't work
[09:43] <burek> sam1
[09:43] <burek> can you please use pastebin.com, to show your command line and its output?
[09:52] <sam1> ok
[09:52] <sam1> wait a sec
[10:00] <sam1> hi burek
[10:01] <sam1> http://pastebin.com/0Gdnhpxb
[10:01] <sam1> it is result
[10:02] <ubitux> what about -vf crop=1920:784:0:184,scale=720:576 ?
[10:02] <burek> try using scale
[10:03] <sam1> ok
[10:03] <sam1> i try it
[10:04] <sam1> not work
[10:05] <sam1> http://pastebin.com/2aWLFSyC
[10:05] <burek> :)
[10:06] <burek> try reading what ubitux has wrote
[10:06] <burek> and remove -s option
[10:06] <sam1> ./ffmpeg -ss 00:00:50 -i /home/mfsmount/video_source/v/test/test.avi -vcodec libx264 -an -vf crop=1920:784:0:148 scale=720x576 -frames 100 -y /home/output/test0.avi
[10:06] <sam1> Input #0, avi, from '/home/mfsmount/video_source/v/test/test.avi':
[10:06] <sam1> Metadata:
[10:06] <sam1> encoder : Lavf52.47.0
[10:06] <sam1> Duration: 00:04:24.96, start: 0.000000, bitrate: 6662 kb/s
[10:06] <sam1> Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
[10:06] <sam1> Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 320 kb/s
[10:06] <sam1> [NULL @ 0x9f48540] Unable to find a suitable output format for 'scale=720x576'
[10:06] <sam1> scale=720x576: Invalid argument
[10:06] <sam1> ubitux ?
[10:06] <sam1> i remove -s
[10:06] <burek> <ubitux> what about -vf crop=1920:784:0:184,scale=720:576 ?
[10:08] <sam1> it is wrong format
[10:08] <sam1> "," is not need
[10:08] <burek> pastebin?
[10:09] <sam1> ok
[10:09] <sam1> http://pastebin.com/Hfd85ASY
[10:10] <burek> remove blank space before ,
[10:11] <ubitux> did i put a space? :)
[10:11] <sam1> ok
[10:11] <sam1> doesn't work
[10:11] <ubitux> you can put a space but you need to add quotes
[10:12] <sam1> need "" ?
[10:12] <burek> pb again
[10:12] <ubitux> scale=720x576
[10:12] <ubitux> use a ':'
[10:12] <ubitux> did i put a 'x' or a ':'?
[10:12] <sam1> scale=720:576 ?
[10:12] <ubitux> 10:02:54 <@ubitux> what about -vf crop=1920:784:0:184,scale=720:576 ?
[10:13] <ubitux> seriously, just read what we write :p
[10:13] <burek> sam1, just copy/paste what he provided for you
[10:13] <sam1> i try it
[10:17] <sam1> it works
[10:18] <sam1> thanks ubitux and burek
[10:18] <burek> :beer:
[10:18] <ubitux> :apple juice:
[10:18] <burek> ^^
[10:18] <sam1> but i don't understand why it can't work with -s 720x576
[10:19] <sam1> yeah
[10:21] <burek> sam1,
[10:22] <burek> if you take a look at your first pastebin http://pastebin.com/0Gdnhpxb
[10:22] <burek> you'll see that ffmpeg has already used -s option
[10:22] <burek> and then moved on to -vf
[10:22] <burek> it first resized your input and then started cropping
[10:22] <burek> so it couldn't crop anymore at those coordinates that you wished for
[10:23] <sam1> you mean i put -s before -vf?
[10:23] <burek> no, im just explaining what has happened
[10:23] <sam1> o i know
[10:24] <burek> buffer -> scale -> crop
[10:24] <burek> scale = -s
[10:24] <sam1> o ,crop last
[10:26] <sam1> i have a question for scale ,
[10:26] <burek> btw, you could create a bug report for that
[10:26] <burek> im not sure if it is a bug really
[10:26] <burek> but it makes sense what you did
[10:27] <burek> ffmpeg should have first passed through the -vf and after that -s
[10:27] <sam1> first -vf ?
[10:27] <sam1> or first -s ?
[10:27] <burek> :)
[10:27] <burek> never mind, just ignore me :)
[10:28] <sam1> o , i have a question a again,
[10:29] <sam1> if i want to pu a logo on top of movie,and scale the logo, and same i want to sacle movie ,how use scale?
[10:29] <sam1> put
[10:29] <burek> try to scale logo outside ffmpeg
[10:29] <burek> prepare the exact image you need and then use ffmpeg to overlay that image
[10:29] <burek> because it's not possible right now to scale logo + scale video
[10:30] <burek> ffmpeg is encodin/decoding tool after all
[10:30] <burek> not a movie editor :)
[10:30] <sam1> only one time for logo or video ?
[10:30] <burek> input+logo and then scale (together)
[10:31] <burek> or, maybe you can try -vf scale=...,logo(movie)=...,scale
[10:31] <burek> i dunno
[10:31] <burek> try and let us know :)
[10:31] <sam1> you mean scale logo out ffmpeg?
[10:32] <burek> try and see :)
[10:32] <sam1> ok i try
[10:32] <sam1> wait a sec
[10:45] <sam1> burek ,i put a logo overlay the image , use command
[10:45] <sam1> "./ffmpeg -i /home/mfsmount/video_source/v/test/test.avi -vcodec libx264 -acodec libaacplus -ab 64k -vf "movie=/home/mfsmount/video_source/watermark/logo.png, scale=400:-1 [watermark]; [in] [watermark] overlay=0:0 [out] " -frames 50 -aspect 16:9 -y /home/output/test.mp4
[10:45] <sam1> "
[10:46] <sam1> scale=400:-1 for logo
[10:47] <sam1> add -s 720x576 for scale video,it works,
[10:47] <burek> no no
[10:47] <burek> you got it all wrong
[10:47] <sam1> where?
[10:47] <burek> http://ffmpeg.org/libavfilter.html#Tutorial
[10:47] <sam1> i got the video
[10:47] <burek> try reading that
[10:48] <sam1> where is wrong ?
[10:48] <sam1> i read it ,and accoring to it
[10:52] <burek> ffmpeg -y -i video.flv -vf "movie=logo.png [logo];[in] scale=500:400 [s1], [s1][logo] overlay=10:main_h-overlay_h-10, scale=200:100 [out]" out.flv
[10:52] <burek> that works
[10:53] <burek> there is a difference between ; and ,
[10:53] <burek> so read more carefuly, try to understand that difference
[10:53] <burek> and you'll see it's not that hard
[10:53] <burek> and if you want to scale just the logo and overlay it on the original video
[10:53] <burek> hmh let me see
[10:55] <burek> ffmpeg -y -i video.flv -vf "movie=logo.png [logo];[logo] scale=50:40 [logo1];[in][logo1] overlay=10:main_h-overlay_h-10, scale=200:100 [out]" out.flv
[10:56] <sam1> i need to read it carefully, burek
[10:56] <sam1> hmh?
[10:56] <burek> that would 1) define a logo 2) scale the logo to 50x40 3) start from the input + apply the logo with options in overlay=... 4) scale it (all together to 200:100 and thats the output
[10:57] <sam1> o , i got it .
[10:57] <burek> there is a difference between ; and ,
[10:57] <burek> read the tutorial
[10:57] <sam1> ; for a input ?
[10:57] <burek> no
[10:58] <burek> , concatenates filters
[10:58] <sam1> [input1];[input2]?
[10:58] <burek> read the tutorial...
[10:58] <sam1> ok
[10:58] <sam1> thanks
[11:14] <ludde> what's a good CRF value to use?
[11:21] <JEEB> the highest that still looks good for you
[11:21] <JEEB> start from 24 or so
[11:21] <JEEB> then go down if it looks bad
[11:21] <JEEB> go up if it looks fine for you
[11:21] <JEEB> 24 is high enough that you actually might get "looks bad" with your first try, yet low enough that it might also look good enough while applying a certain amount of compression
[11:22] <JEEB> s/applying/resulting in/
[11:27] <ludde> JEEB: thanks
[11:27] <ludde> JEEB: what does dup=24 drop=0 mean in the ffmpeg output?
[11:27] <JEEB> sounds like duplicated frames and dropped frames >_>
[11:27] <JEEB> no idea tho
[11:27] <ludde> :)
[11:41] <Mavrik> ludde, while encoding, 24 frames were duplicated and 0 dropped
[11:41] <ludde> Mavrik: what does duplicated mean
[11:41] <Mavrik> um, what's unclear?
[11:41] <ludde> Mavrik: is it because framerate is different in the output?
[11:41] <Mavrik> yes
[11:41] <ludde> oh hm
[11:41] <Mavrik> or maybe the output is longer than input
[11:42] <ludde> how can i get ffmpeg to use the same framerate as the input
[11:42] <ludde> right now i used -r and specified what i thought was the same
[11:42] <ludde> but maybe it differs in the decimals
[11:42] <Mavrik> hmm
[11:42] <ludde> er
[11:42] <JEEB> you don't specify it?
[11:42] <JEEB> then it should keep it the same
[11:42] <Mavrik> ludde, if you'd have different framerate you'd have ALOT more than just 24 frames duplicated
[11:42] <JEEB> Mavrik, depends on the length of the clip
[11:43] <JEEB> as well as the difference
[11:43] <ludde> this is a 2h clip
[11:43] <Mavrik> JEEB, yes, of coure
[11:43] <Mavrik> I was assuming he has a longer clip
[11:43] <JEEB> 24000/1001 versus 24 for example
[11:43] <ludde> I specified 23.98 while the original might have been 23.978
[11:43] <Mavrik> ludde, ah, that's expected then
[11:43] <JEEB> derp, I hate how ffmpeg likes to output those frame rates as such :|
[11:43] <JEEB> just output 60/1.001 or something, or 60000/1001
[11:43] <JEEB> or 24/1.001
[11:43] <ludde> ffmpeg only prints 2 decimals, so i can't know if it's 23.98 or 23.978 :|
[11:43] <JEEB> and 24000/1001
[11:44] <Mavrik> ludde, I wouldn't worry about that in your place
[11:44] <JEEB> Mavrik, -.-
[11:44] <Mavrik> JEEB, honestly I think the sync/framerate code in ffmpeg is quite a mess
[11:44] <JEEB> he should worry about the fact that he is doing a frame rate conversion in itself
[11:44] <ludde> yes I want to avoid frame rate conversion
[11:44] <JEEB> thus, "do not set" is usually better
[11:44] <JEEB> ludde, yes -- then you should just not set a frame rate
[11:44] <ludde> I thoght do not set defaulted to like 25
[11:44] <Mavrik> yeah, not setting framerate is the best option
[11:45] <Mavrik> ludde, no, it defaults to the same framerate as input
[11:45] <Mavrik> unless you're creating a DV with -target or some such format which is framerate dependant
[11:46] <JEEB> ludde, applications usually do that when they either don't support reading the input frame rate from somewhere, or cannot do it (as in, the data doesn't exist)
[11:46] <ludde> i c
[11:46] <Mavrik> JEEB, btw, how is that handled with h.264 which doesn't have a concept of framerate?
[11:46] <ludde> frame= 1712 fps= 66 q=28.0 size= 18952kB time=00:01:08.98 bitrate=2250.6kbits/s
[11:46] <JEEB> well, you've got your timestamps
[11:46] <ludde> is this bitrate value the average bitrate of the whole movie so far
[11:46] <ludde> or is it some local average?
[11:47] <JEEB> so far most probably
[11:47] <JEEB> depending on the application you can either calculate the difference between the first and second timestamps, or calculate the differences in all of the timestamps > Mavrik
[11:47] <JEEB> if you need to show a frame rate
[11:48] <Mavrik> assuming that the video has constant framerate.
[11:48] <JEEB> well, you are just in need of a "frame rate" field to show the luser
[11:49] <JEEB> if you are a perfectionist you might say "average frame rate" and then maximums and minimums or whatever
[11:49] <JEEB> if you don't handle it as timestamps on the background I'll have someone hit you with a hammer :3
[11:49] <JEEB> also, X/Y frame rates > float output
[11:49] <Mavrik> that's what I wanted to know ^^
[11:51] <JEEB> also, the timestamps the application would receive depend not only on the video format itself, but also the container it is muxed in
[11:51] <JEEB> so you get funny cases such as matroska
[11:51] <ludde> JEEB: having specified the wrong framerate, will ffmpeg now attempt to interpolate all frames to achieve the desired framerate?
[11:51] <Mavrik> hmm, irrc video streams have independent timestamps of the container
[11:51] <Mavrik> *iirc
[11:52] <JEEB> Mavrik, they can have of course
[11:52] <ludde> JEEB: or does it just insert duplicates randomly
[11:52] <JEEB> but not everyone always specifies the correct frame rate during encoding if they encoded to raw H.264 or whatever > Mavrik
[11:52] <Mavrik> ludde, it inserts duplicates when it must to keep your specified framerate
[11:52] <ludde> JEEB: and what happens with the sound? hm
[11:52] <ludde> JEEB: will the sound start lagging behind now
[11:52] <JEEB> ludde, sound is unrelated as it tries to keep the clip's length the same
[11:52] <ludde> but then it should've dropped frames too
[11:52] <ludde> hm
[11:52] <Mavrik> JEEB, tell me about it... while working on encoders for our iptv provider I wanted to beat TV channel stream providers with a hammer :(
[11:52] <ludde> nvm
[11:53] <ludde> i see what you mean
[11:54] <JEEB> Anyways, matroska is funny because it specifies timestamps in a somewhat different way from most containers. And if you mux a stream with timestamps as-is from mkv to mp4 for example, most hardware players will most probably fail with it :3
[11:54] <JEEB> http://matroska.org/technical/specs/index.html , ctrl+F for TimecodeScale
[11:55] <Mavrik> JEEB, hmm... where's the problem? that looks just like a timebase?
[11:56] <JEEB> yes
[11:56] <JEEB> but
[11:56] <JEEB> the problem is in
[11:56] <JEEB> how big these numbers will be
[11:57] <JEEB> now think about devices that barely support uint16_t or int16_t for timestamps
[11:57] <Mavrik> I see
[11:57] <JEEB> thus, it becomes imperative that you try to seek what is the actual frame rate that was given the muxer for it to generate timestamps :)
[11:57] <JEEB> "something close enough"
[11:58] <Shimmy> AMV is now supported in FFmpeg 9.0 However, i am unable to encode to AMV.
[11:59] <Shimmy> I tried: ffmpeg -i sample.wmv -s 176x128 -r 16 -ac 1 -ar 22050 -qmin 3 -qmax -3 sample .amv
[11:59] <Shimmy> But here is the result:
[11:59] <Mavrik> Shimmy, why don't you paste your command line and ffmpeg output to a pastebin and show us what happens?
[11:59] <Shimmy> ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 12:34:19 with gcc 4.6.1 configuration: --enable-decoder=aac --enable-decoder=dca --enable-decoder=libopencore_amrwb --enable-decoder=aac_ latm --enable-decoder=dfa --enable-decoder=libopenjpeg --enable-decoder=aasc --enable-decoder=dirac --enable-decode r=libschroedinger --enable-decoder=ac3 --enable-decoder=dnxhd --enable-decoder=libspeex --ena
[12:00] <Shimmy> @Marvik
[12:00] <Shimmy> OK
[12:00] Last message repeated 1 time(s).
[12:00] <Shimmy> ************************************* Sorrrrrry
[12:01] <Shimmy> Check it out: http://pastebin.com/gDzjMBya
[12:02] <Shimmy> Thiank and sorry for the hassle
[12:02] <Shimmy> Any ideas please?
[12:02] <JEEB> uhh
[12:02] <JEEB> you didn't specify audio or video codecs?
[12:02] <JEEB> nor a format
[12:03] <JEEB> also, my face at that configure line
[12:04] <Shimmy> No I did specify
[12:04] <Shimmy> Read the first line in the paste bin link http://pastebin.com/gDzjMBya
[12:04] <Shimmy> The extension appears in a different line because of the screen buffer, but it's valid
[12:05] <JEEB> no you did not, you have only specified "output to a file something.amv"
[12:05] <JEEB> you have not set a video or audio codec
[12:05] <JEEB> if this amv or whatever is supported encoding-wise
[12:05] <JEEB> also that configure line, no idea if it has the support enabled :D
[12:05] <JEEB> why the heck can't people just do ./configure and --enable-gpl if they need + needed libraries if needed
[12:06] <Shimmy> @Jeeb - ./configure --enable-gpl means?
[12:06] <Shimmy> Enable all the goodies or what?
[12:06] <Shimmy> I ran a batch that enable ALL the encoders/decoders/muxers/demuxers etc.
[12:07] <JEEB> ...
[12:07] Action: JEEB goes slit his wrist
[12:07] <Shimmy> I need an FFmpeg version that has EVERYTHING
[12:07] <Shimmy> I don't mind it's weight
[12:07] <JEEB> You are DoingItWrong
[12:07] <JEEB> by default, the configure will enable everything that is LGPL
[12:08] <JEEB> if you need GPL or nonfree parts, you do --enable-gpl and --enable-nonfree as needed
[12:08] <JEEB> and then enable those libraries you need if you need any external libraries
[12:08] <JEEB> end of story
[12:08] <Shimmy> I tried letting the configure do its thing alone but the amv didn appear on the least at all
[12:09] <Shimmy> but i just read that amv is now part of ffmpeg, no ext libraries
[12:09] <Shimmy> btw JEEB before u get me wrong
[12:09] <Shimmy> im a .net dev and a complete beginner in FFmpeg/C/UNIX/Makefiles/Configure and all this stuff
[12:10] <JEEB> I'm sorry, I've said everything I can say about the configure already
[12:10] <Shimmy> ok
[12:10] <JEEB> default is to enable everything that is LGPL
[12:10] <JEEB> then you enable GPL and nonfree parts if needed
[12:10] <JEEB> nonfree is usually for some external libraries and will make your binary non-distributable
[12:11] <JEEB> if you don't get it with ./configure --enable-gpl then it just isn't there or needs an external library
[12:11] <Shimmy> OK
[12:11] <JEEB> (oh right, ffmpeg might've had an --enable-gplv3 or whatever switch)
[12:11] <Shimmy> will try to configure -gpl and see if it's in the encoders list
[12:11] <JEEB> see ./configure --help
[12:12] <Shimmy> i know i switched all the flags ON
[12:12] <Shimmy> we're talking about a different issue
[12:12] <Shimmy> im talking about that it doesn't work
[12:12] <Mavrik> Shimmy, you're missing -vcodec amv spec
[12:13] <Mavrik> -acodec as well
[12:13] <Shimmy> lemme try
[12:13] <JEEB> Shimmy, I did mention that you lacked setting for audio and video formats
[12:13] <JEEB> which are, surprise, -vcodec and -acodec
[12:13] <JEEB> derp
[12:14] <Mavrik> we need a SOTI protocol
[12:15] <Shimmy> @JEEB I hope you both were right, if thats the case u made my day
[12:15] <Shimmy> lemme try
[12:57] <Shimmy> @JEEB, I just made a fresh configure no params (gpl is disable by default as per the help) and amv appears in both decoders and encoders
[12:58] <Shimmy> The problem is don't know how to use it
[12:59] <foo-nix> ffmpeg, in particular the libav{codec,format,...}.h lib, doesn't support adding a hinting track to a (mp4) file, does it?
[13:02] <Shimmy> I made another simple test attempting to convert to amv and it doesn't work: http://pastebin.com/CVEA8H9v
[13:03] <Shimmy> To be noted that there is no documentation on how to use the amv codec
[13:03] <Shimmy> Is there a command to get specific help/info for a certain ffmpeg-supported format?
[13:03] <Shimmy> My screen buffer just doesn't contain the whole huge bunch of help...
[13:04] <JEEB> stop ignoring what you have been told
[13:04] <JEEB> <JEEB> Shimmy, I did mention that you lacked setting for audio and video formats
[13:04] <JEEB> <JEEB> which are, surprise, -vcodec and -acodec
[13:09] <Shimmy> @JEEB take it easy bro im an ffmpeg newb man
[13:14] <Shimmy> When converting to AMV what are the required args for -acodec -vcodec etc.
[13:14] <foo-nix> Shimmy, I would say that you aren't telling ffmpeg exactly enough what you want to have as output. it can detect the input format and codecs easily, but it just ask god for the output-format.
[13:14] <foo-nix> Shimmy, so you could start by specifying the frame-rate (or timebase to be exact)
[13:14] <JEEB> I have no idea, but you told me that it showed amv as a decoder and encoder, soo....
[13:14] <foo-nix> Shimmy, by adding an option -r25
[13:15] <JEEB> foo-nix, I bet he doesn't want to do frame rate conversion
[13:15] <JEEB> I have no idea why he added that there
[13:15] <JEEB> unless he really wanted frame rate conversion
[13:15] <JEEB> anyways, you got your vcodec if it is 'amv' as you saw in the configure output
[13:16] <JEEB> also, you did know that you can output the standard output of an application to a file?
[13:16] <JEEB> ffmpeg -help/whatever > derp.txt
[13:16] <JEEB> you might want to consider that if you do not have better ways of reading through the help command's output
[13:17] <foo-nix> Shimmy, I think JEEB is trying to tell you that you dit specify the format (read collection of streams) but did not specify the codec for the streams. With -acodec and -vcodec you can tell it what codecs to use for the audio and video stream. In mp4 these can be aac and mpeg4 for example
[13:18] <foo-nix> Shimmy, and probably from that ffmpeg can guess everything else, but I have no idea what codecs the amv-format supports.
[13:19] <Shimmy> @JEEB thanks for the tip on the output help to file. I tried with or without framerate and I get this error: http://pastebin.com/vEiv0vGg
[13:19] Action: JEEB points at the gawd damn -r
[13:20] <JEEB> also, what the <beep> is that -target
[13:20] <JEEB> without a setting
[13:20] <JEEB> note: if you think that you have to specify output file with a -target, no you don't
[13:20] <JEEB> you just specify it as-is, without an option
[13:21] <JEEB> so noow it is most probably trying to find a target that is called sample.amv
[13:21] <JEEB> and understandably failing at it
[13:21] <foo-nix> JEEB, it tries to tell you you need to specify the target propperty, google suggests these can be -target {pal,ntsc,film}-film
[13:21] <JEEB> ....
[13:22] <foo-nix> JEEB, -target pal-film
[13:22] <JEEB> you definitely did not understand what I just said, did I
[13:22] <JEEB> HE IS WRITING -target sample.amv
[13:22] <JEEB> > -target sample.amv
[13:22] <JEEB> I was pointing that out
[13:22] <JEEB> that -target IS NOT "output file name"
[13:23] <foo-nix> JEEB, so try -target pal-foo.amv. It's a suggesting given by ffmpeg. I don't really understand why you didn't try that
[13:23] <JEEB> ...
[13:23] Action: JEEB facepalms
[13:23] <JEEB> the level of dumb just went over my head
[13:24] <foo-nix> JEEB, you cannot expect the world to fix your problems. It works like this: you se an error. You google the hell out of it, untill you fix it. If you did, be happy. But before you ask a question, be sure to know how for example the target-propperty works.
[13:25] <JEEB> note: do see who actually used that command line, and how I am commenting on it
[13:25] <JEEB> I am trying to tell Shimmy -- who used that command line
[13:25] <JEEB> that A) I don't know where he got his random -r 16 and B) that he is using -target wrong
[13:25] <JEEB> it seems like Shimmy is understanding -target as "output file name"
[13:25] <JEEB> thus, <JEEB> you definitely did not understand what I just said, did I
[13:26] <JEEB> s/I/you/
[13:26] <foo-nix> JEEB, if you did try prefixing pal or film or ntsc, and it's still giving an error, you did that wrong.
[13:26] Action: JEEB sighs
[13:26] <JEEB> can you read at all?
[13:26] <foo-nix> JEEB, no, I can't
[13:26] <JEEB> I mean, I've been trying to say all the time that I am the one helping Shimmy
[13:26] <JEEB> not the other way
[13:26] <JEEB> and that there is no amv-related targets, but that is just details
[13:26] <JEEB> he is using -target like "this is the output file name"
[13:27] <JEEB> which is not needed
[13:27] <JEEB> and is, indeed, incorrect usage of -target
[13:27] <foo-nix> Ah, damn
[13:27] <foo-nix> touche
[13:28] <Shimmy> @JEEB the truth is that I learnt all these quicky params from here: http://code.google.com/p/amv-codec-tools/wiki/HowToConvertToAMV I thought this library is built by the same rules as FFmpeg.
[13:28] <Shimmy> @JEEB I do apologize for drivin u nuts and appreciate you help
[13:28] <Shimmy> I wish I would know what I have to do.
[13:29] <mdsh> 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
[13:29] <Shimmy> What I do know is, I have a working amv file, here is its info: http://pastebin.com/1QZMymww
[13:29] <JEEB> generally an avconv/ffmpeg command line bases on ffmpeg/avconv -i input.file -vcodec herp <insert rate control mode here> -acodec derp out.file
[13:29] <Shimmy> I need to make my WMV file to look like that AMV file
[13:30] <JEEB> well, note the audio and video codecs
[13:30] <JEEB> then note the resolution
[13:30] <JEEB> and... that's it
[13:31] <JEEB> and then there's rate control, but I have no idea how the AMV codec works
[13:31] <Shimmy> According to here: http://code.google.com/p/amv-codec-tools/wiki/HowToConvertToAMV It has strict rate limits
[13:32] <JEEB> ok
[13:32] <JEEB> that generally looks good
[13:32] <JEEB> lemme see the resize video filter documentation
[13:35] <JEEB> ffmpeg -i file.derp -vf scale=160,120 -vcodec amv -qmin 3 -qmax 3 -acodec adpcm_ima_amv -ac 1 -ar 22050 out.amv
[13:35] <JEEB> this might work
[13:35] <JEEB> never used that format
[13:35] <JEEB> and never used the scale filter :P
[13:36] <JEEB> also, I have no idea if the ac and ar settings are still there or if they do the same thing
[13:36] <JEEB> and I guess your sample was 176,128
[13:36] <JEEB> (176x128)
[13:38] <JEEB> and hardware players seem to be limited to 16fps
[13:38] <JEEB> thus you'd probably want to add -r 16 somewhere
[13:38] <JEEB> don't ask me if it goes before or after the -i input setting
[13:38] <JEEB> probably after
[13:40] <JEEB> oh, and it seems like ffmpeg wants the video filter settings separated with a : not ,
[13:40] <JEEB> thus 176:128
[13:42] <Shimmy> @Jeeb I tried your line
[13:42] <JEEB> something a la ffmpeg -i input.derp -r 16 -vf scale=176:128 -vcodec amv -qmin 3 -qmax 3 -acodec adpcm_ima_amv -ac 1 -ar 22050 out.amv
[13:43] <Shimmy> Now it says
[13:43] <Shimmy> [NULL @ 03a47a80] Unable to find a suitable output format for 'sample.amv' sample.amv: Invalid argument
[13:43] <JEEB> pastebin it all :V
[13:43] <Shimmy> sec
[13:45] <Shimmy> http://pastebin.com/8Mhd9NLi
[13:48] <JEEB> Shimmy, looking at your ffmpeg output it's Yet Another Example of something that was Configured Very Badly
[13:48] <JEEB> are you sure this build has all that stuff enabled?
[13:48] <JEEB> :3
[13:48] <JEEB> as in, the stuff you actually need
[13:49] <JEEB> ./configure --enable-gpl should give you both LGPL and GPL(v2) stuff which should be over 90% of everything there is
[13:49] <JEEB> and then re-build
[13:49] <JEEB> don't forget to make distclean once
[13:49] <JEEB> then configure
[13:49] <JEEB> and then make
[13:52] <Shimmy> The FFmpeg Windows builds in the http://ffmpeg.zeranoe.com/builds/ site are outdated and don't contain the new version 9.0 released a week ago that enabled AMV support
[13:53] <JEEB> you are seemingly compiling it by yourself
[13:53] <Shimmy> Here is where all problems start. meanwhile i mangaed to learn a thing or two in C programming, probably by hurting other ppl }:)
[13:53] <JEEB> at least I don't think anyone else is as pants-on-head retarded about configure options
[13:53] <Shimmy> yes.
[13:53] <Shimmy> me.
[13:53] <Shimmy> i never used configure before
[13:54] <JEEB> anyways, try adding -f amv
[13:54] <JEEB> after -ar I guess
[13:54] <JEEB> not between -ar and the number of course
[13:54] <JEEB> but after setting the -ar value
[13:58] <Shimmy> I now checked ffmpeg -codecs and both lines appear amv and adpcm_ima_amv
[14:01] <JEEB> I hope you read what I wrote
[14:02] <Shimmy> I tried setting -f amv and I get the same issue of here http://pastebin.com/rgVAKgtJ
[14:02] <JEEB> question
[14:02] <JEEB> why is there two spaces between amv and sample.amv
[14:03] <JEEB> also, derp @ -f amv failing
[14:03] <Shimmy> BTW, I made a configuration version that enables ANY encoder/dec/mux whatever in it see it yourself and laugh: http://pastebin.com/eQaGkGee
[14:03] <JEEB> but I guess it indeed doesn't exist
[14:03] <JEEB> Shimmy, ./configure --enable-gpl would've enabled pretty much all of that and is much more easier to read -.-
[14:04] <JEEB> (I think the GPLv3 stuff would be the only thing not enabled, because IIRC that was in a separate configure option, but that's just a single unrelated codec)
[14:04] <Shimmy> u know what lemme make a new version with --enable-gpl the configure+make take painfully long
[14:04] <Shimmy> can u teach me how to clean?
[14:04] <JEEB> make distclean
[14:05] <Shimmy> tx, will get back after i test with new version
[14:05] <JEEB> make clean is for smaller cleanings, make distclean is for full clean-up
[14:05] <Shimmy> thanks jeeb for all ur help!!
[14:05] <JEEB> I wish I got paid for this :P
[14:05] <Shimmy> haha
[14:07] <Shimmy> look what they say here: http://ffmpeg.org/#donate2011
[14:07] <Shimmy> funny
[14:07] <JEEB> I'm not related to ffmpeg in any way
[14:07] <Shimmy> ffmpeg geex r the best freakin ppl in the world
[14:07] <Shimmy> just wanted to show u
[14:08] <JEEB> also
[14:08] <JEEB> it might just be that there's an AMV encoder now
[14:08] <JEEB> but whatever that amv container is
[14:08] <JEEB> I have no idea
[14:08] <JEEB> it only speaks of an encoder
[14:08] <JEEB> of course, I have a kind of a feeling that the amv container is just avi
[14:08] <JEEB> :P
[14:09] <JEEB> [avi @ 013c8340] scale/rate is 0/0 which is invalid. (This file has been generated by broken software.)
[14:09] <JEEB> yes
[14:09] <JEEB> seems so
[14:09] <Shimmy> http://wiki.multimedia.cx/index.php?title=AMV
[14:09] <JEEB> from your sample output
[14:10] <Shimmy> honestly i donno, somebody asked me to make a .NET video/audio converter
[14:10] <Shimmy> god i wish i would know C/C++ `natively`
[14:10] <Shimmy> aight lemme build the project a new
[14:11] <JEEB> I will guess that the -f needs to avi
[14:11] <JEEB> unless now suddenly amv works
[14:11] <JEEB> or just amv without -f starts working
[14:12] <Shimmy> It might be able to convert, the problem is that it has to be tested on some chinese crap device that has to be able to play it
[14:12] <Shimmy> and here is where it sux
[14:12] <JEEB> 'AMV files are a variant of AVI with the strings "AVI" and "avih" in the header replaced with "AMV" and "amvh"'
[14:13] <JEEB> this doesn't sound like too hard to do
[14:13] <JEEB> even if after conversion
[14:13] <JEEB> anyways, get that ffmpeg re-built first
[14:20] <JEEB> Shimmy, you know it would be cool to get some status reports so I can stop caring about this after you get finished with it :V
[15:09] <MDijkstra> hi, I'm trying to do mov->mp4 remuxing while preserving the exif Rotation metadata...
[15:09] <MDijkstra> can't seem to figure out how to get ffmpeg to write the rotation flag to the resulting mp4 file:
[15:10] <MDijkstra> Rotation : 0
[15:10] <MDijkstra> even though it was 90 in the original .mov
[15:11] <Mavrik> did you use map_metadata?
[15:12] <MDijkstra> yeah, I tried that
[15:13] <MDijkstra> -map_meta_data 0:0 and 0.1:0.1
[15:13] <MDijkstra> err
[15:13] <MDijkstra> 0.0:0.0
[15:13] <MDijkstra> but even if I do -metadata Rotation="90" it still won't set anything
[15:18] <ludde> I encoded a 2 hour movie, and I'm seeing close to 6MB of mp4 headers in the beginning of the file. Can I do something about this, so I can use it for http streaming?
[15:47] <MDijkstra> right, just noticed my ffmpeg version is ancient
[15:47] <MDijkstra> will try again with 0.9
[16:02] <dark-sun> hi every1
[16:03] <dark-sun> I'm using debian 6 stable, I can't convert anything to H.264 MPEG-4 cause of missing plugin, any idea?
[16:04] <Mavrik> missing plugin?
[16:04] <dark-sun> i even tried to compile ffmpeg from src but result was nothing
[16:04] <MDijkstra> right, looking at ffmpeg git support is simply largely missing for the rotation flag
[16:05] <dark-sun> Madtree: yes, it tries to look for missing plugin but it can't find anything.
[16:05] <Mavrik> what "plugin"?
[16:05] <Mavrik> dark-sun, put your command and output to a pastebin and link it here.
[16:06] <dark-sun> Mavrik: I'm using a gui called transmageddon :
[16:06] <dark-sun> MPEG-4 AAC encoder
[16:06] <dark-sun> H.264 encoder
[16:06] <Mavrik> I see.
[16:06] <Mavrik> Lose the GUI. Come back.
[16:07] <dark-sun> Mavrik: gimme a command then :)
[16:16] <dark-sun> using cli was a good idea! looks like I have to move all compiled libraries to /usr/lib/
[16:17] Action: dark-sun hope it works...
[16:21] <dark-sun> I should remove my ffmpeg before compiling it from source?
[16:21] <dark-sun> it's debian 6
[17:42] <Am1GO> hi guys, i'm trying to re-stream rtsp to flv. i'm using jw player, but flv stream after some amount of bytes transfered stops. only refreshing page where jw player placed can solve this problem (streaming restarts, but hangs again after some time). my ffserver config http://pastebin.com/HbN082gj. can anyone give any advice?
[17:58] <Am1GO> nice community -_-
[18:04] <Am1GO> vlc solve the problem, thanks
[18:15] <rocketmagnet> hi all, how on earth can i convert an mp4 file to an mp3 file ??
[18:15] <Ave> that makes no sense, but continue
[18:16] <rocketmagnet> me ?
[18:19] <ubitux> ffmpeg -i in.mp4 out.mp3
[18:20] <Ave> so I was wrong, it made sense
[18:21] <rocketmagnet> ubitux: the mp4 file have the ending .mp3...
[18:21] <rocketmagnet> should i rename them to mp4 and then let ffmpeg do the rest
[18:21] <ubitux> Ave: no it doesn't but ffmpeg should handle it anyway :D
[18:22] <ubitux> file type recognition is based not based on extension *at first*
[18:22] <ubitux> is not based
[18:22] <ubitux> if you think it's mp3 just rename to mp3, what's the point?
[18:22] <Ave> I've always said "the filename doesnt matter" (except in windows)
[18:24] <ubitux> afaik at least the output format may be guessed from the extension
[18:24] <ubitux> not sure about the input
[18:26] <Ave> yeah, that happens
[18:33] <rocketmagnet> ubitux: i've renamed my mp3 file (which is actualy an mp4) to .mp3 but that gives me "Unsupported codec for output stream #0.0"
[18:38] <rocketmagnet> ubitux: i've renamed the mp3 file (which is an mp4 file) into .mp4 and then tried ffmpeg -i myfile.mp4 myfile.mp3, but that gives me "Unsupported codec for output stream #0.0"
[18:39] <rocketmagnet> ubitux: does i need to install the liblibmp3lame codec for libffmpeg somehow ??
[18:52] <rocketmagnet> how to make ffmpeg be able to use use libmp3lame ????
[18:52] <microchip_> rocketmagnet: install lame-devel and recompile ffmpeg
[18:53] <rocketmagnet> there is no lame-devel package =(
[18:54] <microchip_> rocketmagnet: whatever the lame development pkg is named on your distro
[18:54] <microchip_> could be lame-dev, i dunno
[18:55] <luke-jr> Why does ffmpeg 0.8.7 ignore CFLAGS, and leave out -mfpu=neon, for the NEON configure test? <.<
[18:55] <microchip_> point is, you need lame devel files to have support for libmp3lame
[18:55] <rocketmagnet> i found librwolame-dev but it's allready installed =(
[18:56] <rocketmagnet> libtwolame-dev
[18:56] <rocketmagnet> i'm using squeete
[18:56] <rocketmagnet> squezze debian
[19:06] <rocketmagnet> now when i do ./configure --list-encoders i get libmp3lame listed
[19:06] <rocketmagnet> and compile again
[19:06] <ubitux> rocketmagnet: it's a non-free package afaik
[19:07] <ubitux> so you have to enable the appropriate repository
[19:07] <ubitux> (don't ask me how though)
[19:10] <rocketmagnet> ubitux: found one - thank you
[19:10] <rocketmagnet> when i compile it myself, can i just remove my installed ffmpeg with apt-get remove ffmpeg and then use make install to integrate my compiled one into the system ?
[19:35] <ak|ra> is this channel appropriate for asking about developing with (not for) ffmpeg/libav* or would it be better to join #ffmpeg-devel?
[19:37] <sacarasc> With is this channel, for is -devel.
[19:38] <ak|ra> i ve decoded some audiopackets into a buffer .. whats the layout of the samples in that buffer (assuming s16)?
[19:59] <burek> ak|ra, the best would be to read the existing source code examples if you can
[19:59] <burek> rocketmagnet, you can, but there is an easier way too
[20:00] <burek> you can start your compiled ffmpeg with: LD_LIBRARY_PATH=/usr/local/lib ffmpeg -i ...
[20:00] <burek> that way you keep both versions, if needed
[20:02] <burek> and it's libmp3lame-dev
[20:07] <ASnyder> Hey guys, sorry for the stupid question. I'm trying to encode a video using ffmpeg, and set the -g option for keyframes so I can seek the video, however, the outputted video still doesn't seek. Is there something else I need to do in addition to the -g option? I tried using the -i option on other videos in our collection to see how they're set, but it seems as if their metadata was added via other metadata tools.
[20:08] <burek> you can use flvmeta
[20:09] <burek> if you are dealing with flv files
[20:09] <ASnyder> burek: so if they're flv files, ffmpeg natively won't do anything when it's converted? In regards to adding keyframes so it'll seek?
[20:10] <ASnyder> so for example, if the source is .flv, and I'm converting to .mp4 and specifying the -g option, that will have no effect?
[20:10] <burek> it depends what the effect is :)
[20:10] <ASnyder> burek: as far as the intended desired effect
[20:10] <ASnyder> in being able for the video to start without being completely loaded and to seek
[20:10] <burek> do you use ffmpeg/ffplay to play/seek?
[20:13] <ASnyder> apparantly not, just native flash player media commands
[20:14] <burek> then your problem is not just gp
[20:14] <burek> gop*
[20:15] <burek> do you work with mp4 or with flv
[20:16] <ASnyder> mp4 primarily
[20:16] <ASnyder> I know about mp4box and flvtool
[20:16] <ASnyder> I'm assuming I need to run these tools post ffmpeg conversion
[20:17] <burek> well, I'm afraid you are dealing with moov atom problem
[20:17] <ASnyder> burek: I'm sorry?
[20:17] <burek> and most probably you'll end up needing to use segmented http streaming (iirc)
[20:17] <ASnyder> burek: I think we do use segmented http streaming via lighthttpd
[20:18] <burek> in mp4 container, metadata is at the end of file
[20:18] <burek> so you have to download entire media to read metadata
[20:18] <burek> you need to move it to the front
[20:18] <burek> using global header or something
[20:18] <burek> i think qtfaststart deals with that
[20:19] <burek> and it's progressive http streaming, not segmented, sorry :)
[20:19] <ak|ra> how to detect the length of a sound file (without decoding it and counting samples)?
[20:20] <burek> ak|ra, hardly..
[20:20] <burek> especially if it's VBR
[20:21] <burek> or if you wrote metadata after the creation of the file
[20:21] <ak|ra> ah, ok
[20:24] <ak|ra> http://stackoverflow.com/questions/2697324/how-to-get-the-duration-of-an-au…
[20:24] <ak|ra> mhhh
[20:24] <ak|ra> reliable?
[20:33] <ak|ra> av_update_stream_timings()
[20:33] <ak|ra> mhh
[20:33] <pasteeater> Zeranoe: ping
[20:48] <Zeranoe> I'm wondering if anyone can tell me what the -formats D means? It say demuxing, but 3g2 doesn't say it supports demuxing yet 3g2 can be converted with FFmpeg. Does it refer to demuxing (splitting the streams inside the container) or to decoding?
[20:51] <pasteeater> Zeranoe: can you take a look http://ffmpeg.org/pipermail/ffmpeg-user/2011-December/003720.html
[20:51] <pasteeater> this guy has been asking this question in several places...including, strangely, ubuntuforums.
[20:51] <pasteeater> and i have a feeling he's using your build
[20:54] <ak|ra> burek: is it enough to skip through the file packet by packet and check pkt.duration?
[20:54] <ak|ra> or is pkg.duration unreliable as well and i have to decode the samples and count them?
[21:05] <Zeranoe> pasteeater: Will do.
[21:31] <joltman> I'm setting up a headless Ubuntu 11.10 x64 machine (actually VM running on ESXi 4.1u2) and I want to compile ffmpeg. When i follow the directions in the guide, it tries to install X11. Is there a way to compile ffmpeg and not install X11? My goal is to install Subsonic (which I already have a license for) and stream music to my phone over the internet. Thanks!
[21:37] <Accelerator> When compiling the lates x264 with the latest ffmpeg build, it errors out: http://pastie.org/3007072
[21:38] <sacarasc> Do you have 2 x264s installed?
[21:43] <joltman> i can compile these things on another server that is also 11.10 but has X11 installed...then copy the DEBs to my headless...woudl that work?
[21:43] <Accelerator> Somehow, I think I do
[21:43] <Accelerator> and I don't know how that happened
[21:44] <Accelerator> This is a fresh Arch Linux install, something else must have installed it without me noticing
[21:46] <pasteeater> joltman: just don't install libsdl1.2-dev libx11-dev libxfixes-dev
[21:46] <joltman> pasteeater, i tried that, didn't work
[21:46] <pasteeater> and you won't need --enable-x11grab
[21:46] <joltman> i'll try again
[21:47] <pasteeater> explain "didn't work". that's a very common message here.
[21:47] <joltman> yeah, i'm sorry, when i tried removing those lines, x11-common still wanted to install
[21:49] <pasteeater> one of the other dependences might be pulling that in for some reason.
[21:50] <joltman> i'm doing the compile on a diff system right now...i'll get to the headless in a second
[21:51] <joltman> pasteeater: thanks for your patience!
[21:52] <pasteeater> 'apt-cache rdepends x11-common' doesn't show anything obvious, but it could depend on one of x11-common depends.
[21:53] <pasteeater> you could install each dependency from the guide individually to see what wants x11-common, but that might be slow n' inelegant
[21:53] <joltman> slow is no problem, i'm at work not doing any actual work
[21:53] <joltman> lol
[21:53] <pasteeater> just looking busy
[21:54] <joltman> it's nice having a compile running in a black window
[21:54] <joltman> unfortunately, i'm not a programmer...but it REALLY helps not having the director of the dept in this week
[21:58] <joltman> ok, i'll give it a try
[22:01] <rocketmagnet> hi all, i've a strange problem here: i've converted a bunch of mp3 files to ogg files without any troubles, now i've mp3 files that i want to try to convert to ogg and that gives me the error : "Encoder (codec none) not found for output stream #0:0"=( =(
[22:01] <rocketmagnet> i've no idea what's wrong, the other files all did work
[22:01] <pasteeater> rocketmagnet: use a pastebin site to show your ffmpeg command and the complete console output
[22:02] <pasteeater> joltman: i'd be interested to know what package(s) want x11-common if you figure it out
[22:02] <joltman> i'll let u know
[22:02] <joltman> doing them one at a time
[22:02] <pasteeater> thanks
[22:04] <rocketmagnet> http://pastebin.com/G6C0BgCn
[22:05] <rocketmagnet> in the end effect i want to have an ogg file
[22:05] <joltman> i'm also assuming i don't need to install libva-dev or libvdpau-dev
[22:06] <joltman> this is wanting to install some X11 looking things, but not x11-common exactly
[22:06] <joltman> http://pastebin.com/7BDqtJd4
[22:09] <joltman> should i install libva if i want to stream video files from subsonic to my phone?
[22:12] <SMJ> rocketmagnet: try adding -vn somewhere
[22:13] <rocketmagnet> what should that mean ?
[22:14] <rocketmagnet> and can i add this to all my commands because i write a script to convert all my music files to ogg so my mp3 player understands them
[22:14] <SMJ> replace 'ffmpeg' from the beginning of that line you used to f
[22:14] <SMJ> 'ffmpeg -vn'
[22:15] <SMJ> mp4 can include video, -vn makes ffmpeg ignore it
[22:15] <rocketmagnet> SMJ: same result
[22:15] <rocketmagnet> SMJ: and yes - it can has something to do with video - because i had one mp4 file that had video where it worked
[22:15] <SMJ> can you pastebin that too?
[22:17] <pasteeater> joltman: you don't need libva and libvdpau. those are probably the culprits.
[22:17] <pasteeater> those are for playback only, i think
[22:18] <rocketmagnet> SMJ: i generally want to have only the audio data
[22:19] <joltman> pasteeater, yeah, i got rid of those and i think it's all good now
[22:19] <SMJ> yes, that's why you should use -vn
[22:19] <rocketmagnet> so i can use -vn in all cases to ignore the audio part ?
[22:19] <SMJ> yes
[22:19] <rocketmagnet> can an mp3 also have audio ?
[22:19] <SMJ> mp3 can have only audio
[22:20] <rocketmagnet> is there a tool that shows me all information about audio file so i can see the differences between the files ?
[22:22] <SMJ> I don't know, but can you show the output for this? [23:15:18] <rocketmagnet> SMJ: same result
[22:23] <SMJ> http://paste.servut.us/ this is less cluttered
[22:24] <rocketmagnet> http://pastebin.com/JYQfHiHw
[22:25] <SMJ> okay, I guess you have to put it before the output file name
[22:25] <rocketmagnet> what?
[22:26] <rocketmagnet> the -vn ?
[22:26] <SMJ> yes
[22:26] <rocketmagnet> HEY - it seems to work - mom i test it
[22:27] <rocketmagnet> damn =)
[22:27] <rocketmagnet> it does work =)
[22:27] <rocketmagnet> cool man
[22:27] <SMJ> :D
[22:27] <rocketmagnet> thanks alot !!
[22:27] <SMJ> np
[22:27] <rocketmagnet> where on hell do you know this from =
[22:27] <rocketmagnet> maybe i dismissed the command syntax :x
[22:27] <SMJ> experience, and the manual
[22:28] <rocketmagnet> so i can put the -vn everywhere before the output file and all will be fine =)
[22:30] <SMJ> sure, but you can't put it middle of '-acodec libmp3lame' -> '-acodec -vn libmp3lame' nor other settings like that
[22:31] <rocketmagnet> SMJ: when i want to use -ab for the bitrate, where to place this argument ?
[22:32] <SMJ> probably easiest to add them right before the output filename
[22:34] <joltman> ok, everything looks like it compiled ok
[22:35] <pasteeater> good to hear
[22:36] <pasteeater> rocketmagnet: ffmpeg [input options] input [output options] output
[22:36] <pasteeater> basically
[22:37] <SMJ> rocketmagnet: http://goo.gl/B40eO this first post says ffmpeg ignores -ab, because Vorbis .ogg is always VBR so you should use -aq instead
[22:37] <SMJ> with some number from the table on the right http://en.wikipedia.org/wiki/Vorbis#Technical_details
[22:38] <SMJ> "The values don't correspond to the oggenc values though, being a number ranging from 10-100 (or more, I don't know what the maximum is)" oh nevermind
[22:41] <rocketmagnet> SMJ: SBR ? i'm completely new to codecs and stuff like this - do you know where i can start learn how this stuff works? i program for a longer time but newer had to do with audio/video codecs and suff like this
[22:41] <rocketmagnet> SMJ: but with mp3 the -ab does work ?
[22:42] <SMJ> wait, I'll just test this
[22:45] <rocketmagnet> SMJ - what's -acodec for ?
[22:45] <SMJ> I took another look at the outputs you posted...
[22:46] <SMJ> are you trying to encode them with Ogg Vorbis? because you're encoding them with FLAC accidentally
[22:46] <pasteeater> ffmpeg will automatically choose flac for the audio for ogg outputs unless you use -c:a (or -acodec)
[22:46] <rocketmagnet> SMJ: means this that .ogg files allways only have a bitrate around 60 ???
[22:47] <rocketmagnet> that's a really bad quality
[22:47] <SMJ> no, it means they're automatically lossless
[22:47] <rocketmagnet> SMJ: so i don't have to care about bad quality =) ?
[22:48] <MT`> only disk space
[22:50] <SMJ> rocketmagnet: are you going to play the files on your PC only? in that case I would use Vorbis, otherwise MP3
[22:55] <rocketmagnet> SMJ: the case is that i want to understand how things work internaly from the pointer of a programmer
[22:57] <rocketmagnet> and do you know a tool that can check if an mp3 file has errors and tries to correct them ?
[22:58] <SMJ> mp3check does something
[23:00] <SMJ> "
[23:00] <SMJ> mp3check is a program that checks mp3 files for consistency and prints several errors and warnings. It lists stream attributes (color). Layer 1,2,3, mpeg1.0+2.0 are currently supported. CRC check for layer 3. mp3check is very useful for incomplete mp3
[23:00] <SMJ> detection as it can be used to scan through your mp3 collection and find all mp3s that aren't perfect. Good for use with Napster and other bulk downloading of mp3s.
[23:01] <SMJ> text should become shorter when copying from monospace terminal :/
[23:01] <rocketmagnet> SMJ: does this tool also works with ogg files ?
[23:01] <SMJ> I don't think so
[23:02] <pasteeater> if it sounds fine then it's good enough for me
[23:10] <rocketmagnet> SMJ: i still have video informaition when using -vn =(
[23:11] <rocketmagnet> sorry
[23:11] <rocketmagnet> mom
[23:12] <MT`> SMJ: shows how old that tool is, its talking about the original napster
[23:12] <SMJ> shows how old MP3 is
[23:12] <MT`> idd
[23:16] <SMJ> rocketmagnet: what says there's still video information?
[23:17] <rocketmagnet> was another problem
[23:17] <rocketmagnet> i see that some of my music files have no file extensions at all !!
[23:17] <rocketmagnet> but nautilus shows me that they are mp4 files
[23:17] <SMJ> :1 input or output files?
[23:18] <rocketmagnet> and the file command also shows the file type, but i have no file extensions which is bad for my script
[23:19] <rocketmagnet> how can this happen ???
[23:20] <SMJ> I think it figures it out by reading the headers of the file
[23:21] <MT`> it happens by magic (seriously)
[23:21] <rocketmagnet> hm, do you know a good way of finding out the filetype so i my script knows the type ?
[23:21] <rocketmagnet> i experiment with parsing the "file" command output
[23:22] <SMJ> I know only the basics of scripting
[23:22] <rocketmagnet> k
[23:22] <MT`> wouldnt your script know the type?
[23:22] <rocketmagnet> i also need a list of all file formats ffmpeg does support
[23:22] <rocketmagnet> ffmpeg -formats gives me a list but i don't realy understand the output
[23:23] <rocketmagnet> with a list of possible extensions i could code something to overcome this problem
[23:23] <MT`> what dont you get?
[23:23] <SMJ> D means ffmpeg can read it, E means it can output it
[23:23] <MT`> yep
[23:23] <MT`> decode/encode
[23:25] <MT`> its not listing 'file extensions' though, its listing formats
[23:25] <rocketmagnet> hmm... when i want to parse this information, is there a way i can skip the header with ffmpet version etc...??
[23:25] <rocketmagnet> because this can vary from version to version i think
[23:25] <MT`> for instance 'mkv' isnt in the list, but 'matroska' is
[23:26] <MT`> if you're asking how to skip the first few lines of output, this isnt really the place, you need a scripting forum
[23:27] <rocketmagnet> k
[23:27] <rocketmagnet> i think the best would be to starting parsing after the line "File formats:"
[23:27] <MT`> that is the first line of output anyway
[23:28] <SMJ> I think it's best to start parsing after the line "--"
[23:28] <MT`> the version and build info goes to stderr, not stdout, that starts with 'File formats'
[23:36] <luke-jr> it builds without --disable-optimizations
[23:36] <luke-jr> is it fair to tell Gentoo that upstream ffmpeg doesn't suppport this flag? :P
[23:47] <relaxed> luke-jr: One guy came in here with "-encode" in his USE flags. Guess what he couldn't do?
[23:50] <luke-jr> LOL
[23:50] <luke-jr> relaxed: but --disable-optimizations is currently MANDATORY in Gentoo ;)
[23:52] <relaxed> all the more reason to build it by hand
[23:52] <mystica555_> luke-jr: what exactly do you mean by that?
[23:53] <mystica555_> that its mandatory?
[23:53] <luke-jr> mystica555_: there is no USE flag to remove --disable-optimizations
[23:53] <luke-jr> relaxed: all the more reason to file a bug report ;)
[23:53] <mystica555_> hm interesting
[23:54] <mystica555_> so does that mean ive been building a very unoptimized ffmpeg this entire time?
[23:54] <beandog> whut
[23:54] <luke-jr> mystica555_: I guess. I can't get it to build that way on ARM :P
[23:54] <mystica555_> ah
[23:54] <beandog> there was some reason for that, iirc
[23:55] <luke-jr> beandog: for making it unbuildable? ;p
[23:56] <relaxed> luke-jr: click on the test next to the ARCH you're targeting. http://fate.libav.org/
[23:56] <beandog> pastebin the fail
[23:56] <luke-jr> beandog: https://bugs.gentoo.org/show_bug.cgi?id=392451
[23:57] <beandog> hmm. that's poopy
[23:57] <beandog> not much I can do about arm
[23:59] <mystica555_> luke-jr: with that build log, im seeing 'optimizations yes' from the configure log
[23:59] <mystica555_> just its not optimized for size
[23:59] <luke-jr> beandog: well upstream doesn't support --disable-optimizations and says it breaks x86 too
[23:59] <luke-jr> [15:21:36] <michaelni> disabling optimizations will break asm on x86 so i would not be surprised if itz does the same on arm
[00:00] --- Tue Dec 13 2011
1
0
[00:07] <ubitux> wow, what's going on ffmpeg-users? oO
[00:08] <ubitux> ("[FFmpeg-user] ffmpeg issue")
[00:11] Action: Compn isnt following ffmpeg-user
[00:11] <ubitux> heh, phil rhodes taking the opportunity to troll again with licensing :)
[00:12] <Compn> goody
[00:29] <_Thomas> what's the best way of integrating ffmpeg and hw codecs?
[00:42] <ubitux> mmh i wonder if copying the a/v defaults and callbacks in lavfi for subtitles is really worth the effort
[00:42] <ubitux> it really sounds overkill in the case of the subtitles&
[01:12] <CIA-41> ffmpeg: 03Kostya Shishkov 07master * r19341c58e0 10ffmpeg/ (7 files in 4 dirs):
[01:12] <CIA-41> ffmpeg: Dxtory capture format decoder
[01:12] <CIA-41> ffmpeg: Signed-off-by: Anton Khirnov <anton(a)khirnov.net>
[01:12] <CIA-41> ffmpeg: 03Luca Barbato 07master * r0395d37abb 10ffmpeg/doc/faq.texi:
[01:12] <CIA-41> ffmpeg: doc: remove some stale entries from the faq
[01:12] <CIA-41> ffmpeg: Some entries should be still amended.
[01:12] <CIA-41> ffmpeg: 03Janne Grunau 07master * r2b53e696c8 10ffmpeg/libavcodec/ptx.c:
[01:12] <CIA-41> ffmpeg: ptx: emit a warning on insufficient picture data
[01:12] <CIA-41> ffmpeg: Return the whole packet as consumed in this case and not the size the
[01:12] <CIA-41> ffmpeg: packet should have had. Move the insufficient data check into the for
[01:12] <CIA-41> ffmpeg: condition to fix a ISO C90 error on bigendian.
[01:13] <CIA-41> ffmpeg: 03Aneesh Dogra 07master * r97334f106c 10ffmpeg/tests/ (9 files in 2 dirs):
[01:13] <CIA-41> ffmpeg: utvideo: add fate tests covering all codec variants
[01:13] <CIA-41> ffmpeg: Signed-off-by: Janne Grunau <janne-libav(a)jannau.net>
[01:13] <CIA-41> ffmpeg: 03Justin Ruggles 07master * r28101f6c4e 10ffmpeg/libavformat/flacenc_header.c:
[01:13] <CIA-41> ffmpeg: flac muxer: fix writing of file header and STREAMINFO header from extradata
[01:13] <CIA-41> ffmpeg: fixes Bug 119
[01:13] <CIA-41> ffmpeg: 03Paul B Mahol 07master * r3c1f60860d 10ffmpeg/libavformat/flacdec.c:
[01:13] <CIA-41> ffmpeg: flacdec: Support for tracks in cuesheet metadata block
[01:13] <CIA-41> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[02:04] <michaelni> hi durandal_1707
[02:04] <michaelni> vcodec copy with escape130 to avi works now :)
[02:06] <durandal_1707> yeah, i noticed
[02:09] <durandal_1707> is there any way to get full duration of stream when muxing
[02:19] <Daemon404> i think the best you can get without a full pass trhough the stream is an estimate
[02:31] <michaelni> it shouldnt be hard to pass duration over from the demuxer but as Daemon404 said its just an estimate
[02:31] <michaelni> so iam not sure if its usefull for anything on the muxer side
[02:32] <durandal_1707> file format of particular codec set number of sample in header at begining of file
[02:32] <durandal_1707> and seektable depends on number of samples
[02:32] <durandal_1707> reference encoder creates temporary file
[02:32] <durandal_1707> it is just brain dead design
[02:36] <durandal_1707> does anyone have CDXLPlay.exe, elf is no use to me. exe and source seems no more available on net
[02:40] <durandal_1707> argh, there was gscoc task for cdxl demuxer
[02:51] <durandal_1707> heh source is gone
[02:52] <durandal_1707> on gmane but i'm lucky it is archived
[03:03] <Compn> durandal_1707 : do you have address of where it was hosted ?
[03:03] <Compn> i can probably find it for you
[03:03] Action: Compn is a wiz at finding things
[03:06] <Compn> ftp://static.88-198-9-197.clients.your-server.de/gfx/show/cdxlplay-sdl.i386-aros.zip
[03:06] <durandal_1707> well i'm intereted in exe
[03:06] <durandal_1707> but looks like i will need to read pascal
[03:08] <Compn> oh , is there an exe
[03:08] <Compn> i'll looksee
[03:09] <durandal_1707> pascal looks awfull
[03:09] <durandal_1707> i hate basic
[03:12] <Compn> durandal_1707 : http://www.a500.org/downloads/video/cdxlplay-sdl.win32.rar
[03:12] <Compn> there
[03:13] <Compn> there is exe in there this time :)
[03:14] <Compn> http://www.a500.org/downloads/video/index.xhtml
[03:16] <durandal_1707> tnx, got it working with wine
[03:18] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r1f183733e0 10ffmpeg/MAINTAINERS:
[03:18] <CIA-41> ffmpeg: MAINTAINERS: extend syntax for entries
[03:18] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[03:18] <CIA-41> ffmpeg: 03Hanspeter Niederstrasser 07master * rbed04e2b03 10ffmpeg/ (Doxyfile doc/platform.texi ffplay.c libavutil/mem.c):
[03:18] <CIA-41> ffmpeg: Correct use of OSX to Mac OS X and properly format yasm providers on Mac OS X
[03:18] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[03:55] <durandal_1707> anyone willing to translate some gernam to english?
[03:55] <durandal_1707> s/gernam/german
[04:19] <Daemon404> comments?
[04:19] <Daemon404> (i dont speak german)
[04:21] <durandal_1707> well google did it
[04:25] <Compn> theres a few german speaking people in here
[04:26] Action: Compn is slow
[04:34] <Daemon404> btw could be worse
[04:34] <Daemon404> certain encoders are still written in FORTRAN.
[04:46] <durandal_1707> yes!!!!, got sound working
[04:55] <Compn> durandal_1707 : with ffmpeg ?
[05:18] <durandal_1707> Compn: yup
[05:25] <Daemon404> i have an extra amd geod (lol) and cortex a8 boards lyign around... what's something interesting to do with em?
[06:13] <durandal_1707> can i use av_get_packet in read_packet() for both audio and video at same time?
[06:17] <michaelni> durandal_1707, you can call av_get_packet() multiple times yes
[06:18] <michaelni> Daemon404, ffmpeg fate clients
[06:18] <durandal_1707> and how it will know which is video and which is audio?
[06:19] <michaelni> stream_index
[06:20] <michaelni> AVPacket.stream_index
[06:28] <Daemon404> michaelni, i was vaguely thinking about trying to set up win32/fate
[06:28] <Daemon404> on the geode
[06:28] <Daemon404> er, win32/clang/fate
[06:30] <michaelni> :)))))
[06:30] Action: Daemon404 doesnt see any windows clang on either projects fate sites
[06:38] <durandal_1707> now it would be nice if there is more cdxl samples
[06:39] <durandal_1707> making encoder before decoder is not fun at all
[06:39] Action: michaelni goes to bed
[06:39] <Daemon404> night
[06:40] <Daemon404> durandal_1707, http://wiki.multimedia.cx/index.php?title=CDXL
[06:40] <Daemon404> have you read that?
[06:40] <durandal_1707> i stopped counting when it was reached 11
[06:41] <durandal_1707> there was even new concept for cdxl ...
[06:42] <durandal_1707> i fail to fetch any other sample from aminet
[06:48] <durandal_1707> oh got one more sample that is 2
[06:53] <Daemon404> cdxl seems pretty straightforward except for the HAM stuff
[06:53] <Daemon404> which i couldnt be arsed to read up on
[06:57] <durandal_1707> luckily i have sample which do not use HAM but RGB
[06:58] <durandal_1707> shesh, i dont
[06:58] <Daemon404> lol
[06:58] <durandal_1707> both two samples are encoded with HAM
[06:58] <Daemon404> have fun
[06:59] <Daemon404> thats why i avoided it
[06:59] Action: Daemon404 runs
[07:02] <Daemon404> btw durandal_1707
[07:02] <Daemon404> are you a gci student?
[07:02] <Daemon404> (sorry to ask. there's a lot around lately.)
[07:07] <durandal_1707> gci students are mostly making code looks good
[07:08] <durandal_1707> i wonder how much points they get for that
[07:09] <durandal_1707> imho they are just trolling libav irc and mailing list
[07:10] <durandal_1707> i think there is HAM6/HAM8 support for IFF
[07:11] <durandal_1707> perhaps i could just use IFF ass video codec in cdxl demuxer ....
[07:15] <durandal_1707> well this will mostly need refactor, to prevent code duplication
[07:15] <durandal_1707> gtg
[09:45] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r33a43695c6 10ffmpeg/tests/ref/seek/lavf_wtv:
[09:45] <CIA-41> ffmpeg: Add wtv seek test.
[09:45] <CIA-41> ffmpeg: I am not entirely sure the seek functionality is working correctly,
[09:45] <CIA-41> ffmpeg: there are some strange cases like successful seek but no dts value.
[09:45] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[09:45] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r5335bff9ec 10ffmpeg/tests/ (lavf-regression.sh ref/lavf/wtv):
[09:45] <CIA-41> ffmpeg: Add wtv lavf regression test.
[09:45] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[09:45] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r60b252eb57 10ffmpeg/tests/ (lavf-regression.sh ref/lavf/caf):
[09:45] <CIA-41> ffmpeg: Add caf format regression test.
[09:45] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[09:45] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r7c875c2d59 10ffmpeg/tests/ (lavf-regression.sh ref/lavf/sox):
[09:45] <CIA-41> ffmpeg: Add regression test for "sox" format muxer/demuxer.
[09:45] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[11:58] <CIA-41> ffmpeg: 03Stefano Sabatini 07master * r6c44ff38d6 10ffmpeg/ (6 files in 3 dirs): lavfi: add cellauto source
[12:15] <j-b> burek: you have 2 tasks to review
[13:26] <ubitux> mmh fate is a bit yellow today :)
[13:54] <michaelni> ubitux, mostly its just that the machines havent yet gotten the utvideo samples
[13:55] <michaelni> there seems to be a bug in wtv too (which is a test added yesterday)
[13:56] <ubitux> ok :)
[14:13] <CIA-41> ffmpeg: 03Clément BSsch 07master * rcc2355817d 10ffmpeg/ (doc/filters.texi libavfilter/vsrc_life.c): life: add mold, mold_color, life_color and death_color options.
[14:13] <CIA-41> ffmpeg: 03Clément BSsch 07master * rc88d6b18ce 10ffmpeg/libavfilter/vsrc_life.c: life: add seed information in filter summary.
[16:24] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r87d781de7a 10ffmpeg/tests/ (lavf-regression.sh ref/lavf/wtv):
[16:24] <CIA-41> ffmpeg: regressiontest: try to fix wtv
[16:24] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[17:07] <burek> j-b, ok, done.
[17:59] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * ra7aa628e9c 10ffmpeg/tests/ (lavf-regression.sh ref/lavf/wtv ref/seek/lavf_wtv):
[17:59] <CIA-41> ffmpeg: regressiontest: try mp2 for wtv
[17:59] <CIA-41> ffmpeg: our ac3 decoder outputs different things on different platforms.
[17:59] <CIA-41> ffmpeg: Idea-by: Reimar
[17:59] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:17] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * rc3068d43a8 10ffmpeg/libavformat/nsvdec.c:
[18:17] <CIA-41> ffmpeg: Support VP8 in NSV.
[18:17] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[18:29] <Compn> whos putting vp8 in nsv
[18:29] <Compn> whos still using nsv? :D
[18:32] <Daemon404> who EVER used nsv except nullsoft?
[18:33] <Compn> hehe
[18:33] <Compn> i guess winamptv is still around
[19:23] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r616eaea8ad 10ffmpeg/doc/ffmpeg.texi:
[19:23] <CIA-41> ffmpeg: doc/ffmpeg.texi
[19:23] <CIA-41> ffmpeg: Merge changes done to avconv.texi since the last merge into ffmpeg.texi
[19:23] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:23] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r16abd68779 10ffmpeg/ (libavformat/seek-test.c tests/ref/seek/lavf_wtv):
[19:23] <CIA-41> ffmpeg: seektest: floatfree
[19:23] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[20:44] <durandal_1707> so this cdxl format may have several kind of encoded video
[20:44] <durandal_1707> should i create video codec for each encoded version
[20:44] <durandal_1707> or put all shit into cdxl video decoder?
[20:52] <michaelni> if there are several streams then the demuxer should create several AVStreams
[20:52] <michaelni> havnt looked at the spec ...
[20:53] <durandal_1707> format have two streams per frame header: video and audio
[20:53] <durandal_1707> but video can be encoded in 4 ways
[20:56] <durandal_1707> so i will create CODEC_ID_CDXL_(RGB,HAM,YUV,AVM) and put them in libavcodec/cdxl.c
[21:02] <michaelni> cant say from that if 4 codec_ids or 1 codec_id + something in extradata is better ...
[21:02] <michaelni> AVCodecContext.extradata that is
[21:29] <merbanan> durandal_1707: if they are similar in structure use the same codec id
[21:30] <merbanan> durandal_1707: should be easy to start with one format to begin with
[22:40] <Compn> http://techcrunch.com/2011/12/09/apple-made-a-deal-with-the-devil-no-worse-…
[22:40] <ubitux> michaelni: n0.9? why not v0.9? :p
[22:41] <Compn> apple going after open source (android) and yet i hear nothing about it.
[22:41] <ubitux> and thx for the release anyway
[22:44] <michaelni> ubitux, libav uses v* tags so that would cause a conflict
[22:44] <ubitux> oh, ok
[23:08] <pasteeater> michaelni: can you also update #ffmpeg topic?
[23:08] <_Thomas> Is there some docs on where in the ffmpeg structure to add support for hardware encoders? (for various SoCs, for instance)
[23:09] <_Thomas> Some SoCs support complete deocding / encoding of various codecs, for instance
[00:00] --- Mon Dec 12 2011
1
0
[00:04] <ubitux> exiff: -vf ass=/path/to/subtitles.ass
[00:04] <ubitux> this is atm the only workaround, we are working on something better for the subtitles support
[00:05] <ubitux> but it may take a while
[00:05] <exiff> I see... we all appreciate the hard work.
[00:07] <exiff> what of subtitles that are part of the video? I tried the "-sst" option but it shows no subtitles
[00:10] <ubitux> you just can't now
[00:10] <ubitux> (you may extract them though)
[00:10] <ubitux> but well, better use mplayer or vlc
[00:11] <Canadian1296> Anyone active here?
[00:12] <ludde> what does the q=26.0 value in the ffmpeg output mean
[00:13] <exiff> I'm having a few problems vlc. I'll try mplayer for now... thanks again. ^^,
[00:14] <CSMan> hi there!
[00:14] <CSMan> how can I add subtitles when converting videos?
[00:25] <bysidemyreflecti> hello, i have a question of compiling ffmpeg on osx 10.7 with libfreetype flag
[00:25] <bysidemyreflecti> i've tried a few things to provide the compile that osx already has libfreetype, but i haven't been successful
[00:27] <bysidemyreflecti> i've tried this: http://pastebin.com/MryAYyFn
[00:29] <bysidemyreflecti> i get "ERROR: freetype2 not found". i've tried installing free type through homebrew and it says there already is one installed
[00:33] <jesselang> How can I get ffmpeg to encode an image into a 30s video?
[00:34] <jesselang> I've tried -t 00:00:30, and I've tried setting -r 30000/1001
[00:34] <jesselang> I'm also using -target ntsc-dv, since that's the output format.
[00:34] <jesselang> It encodes 1 frame, which is then less than 1s long.
[00:43] <jesselang> -loop_input.
[00:46] <ludde> if I want a 1000k bitrate video that works well for internet streaming and seeking, what should I set vbv-maxrate and vbv-buffer to?
[00:46] <jesselang> Now that I've got that...
[00:47] <jesselang> Can anyone tell me why the DV encoder is non-deterministic? The produced video flutters around the text.
[00:47] <jesselang> Or what I can do to get a better quality output when encoding from an image to DV?
[00:48] <freeminds> is there a list of efficient convertings flags for common containers, like "If you want to play this by default on windows use this and that"?
[00:50] <ubitux> exiff: you may try mplayer2 too, which is (imo) more reliable so far
[00:51] <exiff> I'll try that, thanks for the suggestions.. I'm actually busy updating gstreamer
[01:36] <uncleRoy> Is the support forum still working at all?
[01:38] <uncleRoy> Well if anyone is around and feels like helping ...
[01:39] <uncleRoy> I'm geting the Stream #0.0: Invalid Codec type -1 error
[01:39] <uncleRoy> it seems that this means that a codec isn't supported
[01:40] <uncleRoy> but I think both my input & output codecs are install
[01:40] <uncleRoy> ed
[01:40] <uncleRoy> If anyone has a suggestion, the log is here http://pastebin.com/n5EHifV2
[01:40] <uncleRoy> thanks
[01:41] <uncleRoy> environment is OSX 10.6.8, latest ffmpeg from subversion
[01:42] <newl> <parrot mode> get git the svn is suppose to be antique </>
[01:42] <uncleRoy> oh!
[01:43] <uncleRoy> I need to read better :(
[01:44] <newl> does it say that somewhere? i was just repeating what i heard
[01:44] <newl> compiling new ffmpeg lost it's fun factor a long long time agp
[01:45] <uncleRoy> ugh is there git for OSX?
[01:45] <newl> ? what is osx?
[01:45] <iive> mac os x
[01:46] <uncleRoy> yeah that :)
[01:46] <iive> uncleRoy: try it, it should compile. if it doesn't then it is bug.
[01:46] <uncleRoy> I built it fine from svn
[01:46] <newl> iive will help you if you have trouble
[01:46] <uncleRoy> I just have to figure out how to get the git source I guess
[01:47] <uncleRoy> oh ... wow if I was more stupid today I'd be a vegetable
[01:47] <uncleRoy> thanks folks
[01:47] <newl> radish or lettuce?
[01:56] <ludde> what's happened to the slow_firstpass preset
[02:05] <uncleRoy> Well at the risk of setting myself up for ridicule again ...
[02:05] <uncleRoy> OSX 10.6.8, latest ffmpeg from git
[02:05] <uncleRoy> trying to convert h264 to webm
[02:05] <uncleRoy> it seems webm isn't recognized ... gives this error
[02:05] <uncleRoy> Encoder (codec none) not found for output stream #0:0
[02:06] <uncleRoy> full log is here: http://pastebin.com/Ww0wK2d0
[02:06] <newl> you uploading to youtube?
[02:06] <uncleRoy> no, converting for a private website
[02:08] <newl> i don't think i can blame ya - it is the best format interms of size/playing speed on a small system
[02:08] <newl> must be great on a bigger system
[02:09] <newl> on windows?
[02:10] <uncleRoy> I'm converting on Mac OSX
[02:11] <newl> yea i remembered after posting that :)
[02:11] <iive> uncleRoy: i think you should specify video encoder. webm is mkv variant so it can take any encoder
[02:13] <newl> matroska is on by default?
[02:17] <uncleRoy> so with -target webm ?
[02:18] <sacarasc> Just make the output file foo.webm
[02:18] <newl> fmpeg -i foo.avi foo.webm
[02:19] <uncleRoy> it already is
[02:19] <uncleRoy> The log has this:
[02:19] <uncleRoy> Output #0, webm, to 'movie1.webm':
[02:22] <newl> uncleRoy: do ffmpeg -formats > file and go through file for the Matroska
[02:28] <schwede_> What's the best way to stream video using ffmpeg?
[02:29] <uncleRoy> new1: thanks ... I see it on two lines
[02:29] <newl> as in real stream? -> icecast/shoutcast
[02:29] <uncleRoy> should I be using matroska instead of webm?
[02:29] <schwede_> newl: like realtime streaming
[02:32] <schwede_> Right now I'm going from my webcam -> ffmpeg -> netcat -> mplayer (and it works, but it's just a little too slow)
[02:32] <newl> uncleRoy: pastebin ffmpeg -i foo.avi foo.webm
[02:34] <newl> schwede_: up the -bandwidth 5000000
[02:34] <newl> in mplayer
[02:34] <schwede_> I've messed with -cache, but I'll have to try that too
[02:35] <uncleRoy> new1: http://pastebin.com/Ww0wK2d0
[02:37] <newl> uncleRoy: all i see is 'ffmpeg-webm-error'
[02:37] <newl> did you paste anything there?
[02:37] <uncleRoy> um
[02:37] <sacarasc> uncleRoy: You don't have ffmpeg compiled with libx264.
[02:38] <newl> sacarasc: did you see a paste there?
[02:38] <sacarasc> newl: Yes.
[02:38] <uncleRoy> OH :(
[02:38] <uncleRoy> good lord you'd never know I was a software professional :(
[02:38] <sacarasc> Though, I thought that webm used VP8 usually (with libvpx in ffmpeg).
[02:39] <newl> clicking on raw gives a blank page ...
[02:39] <uncleRoy> looks like lots of things aren't available by default
[02:39] <uncleRoy> I'll try reconfigure and rebuild
[02:39] <uncleRoy> thanks
[02:40] <sacarasc> I might be wrong, though, I am pretty tired. :D
[02:41] <schwede_> newl: It didn't really play any smoother.
[02:41] <uncleRoy> of course now I have to find the libx264 build
[02:43] <newl> uncleRoy: http://peppoj.net/2010/09/run-ffmpeg-on-mac-without-compiling-anything/
[02:43] <newl> that is as close to a mac as i ever want to get :)
[02:43] <uncleRoy> new1: Thank you ... My Google-fu is weak today apparently
[02:44] <newl> it is l not 1
[02:44] <newl> your tab complete is shot too
[02:45] <uncleRoy> er what?
[02:45] <uncleRoy> oh :D
[02:45] <uncleRoy> no just my eyesight
[02:49] <schwede_> newl: Ok, it works pretty well but then it starts to lag after about 30 seconds or so.
[02:49] <newl> increase cache?
[02:49] <newl> get a better pipe
[02:51] <schwede_> like use something besides netcat?
[02:53] <newl> that is an abuse of netcat ... use icecast
[02:55] <uncleRoy> newl: of course that doesn't have WebM
[02:55] <uncleRoy> Oh well
[02:55] <uncleRoy> Lost in a twisty maze of little dependencies
[02:56] <newl> or the wrong os?
[02:56] <uncleRoy> hmph
[02:56] <uncleRoy> :)
[02:57] <newl> compile it with all missing and you can be an osx ffmpeg hero?
[02:59] <schwede_> newl: Would icecast cache the video on the disk also? I'd like it send the video only.
[03:00] <uncleRoy> sounds good newl I'll be back in a month or two :)
[03:00] <uncleRoy> thanks for your patience
[03:01] <newl> uncleRoy: only takes a day
[03:02] <uncleRoy> I was thinking about finding all the individual libraries and compiling them as well
[03:02] <uncleRoy> building x264 now
[03:18] <uncleRoy> sacarasc: recompiled with libx264 but still no webm output
[03:19] <sacarasc> uncleRoy: In ffmpeg -codecs, do you have vpx (might be libvpx) and an E next to either vorbis or libvorbis?
[03:19] <sacarasc> They are the codecs that usually go in webm.
[03:19] <uncleRoy> no vpx, no vorbis
[03:20] <uncleRoy> thanks
[03:20] <sacarasc> EA libvorbis libvorbis Vorbis
[03:20] <sacarasc> DEA vorbis Vorbis
[03:20] <sacarasc> Neither of them? :i
[03:21] <uncleRoy> nope
[03:21] <sacarasc> Weird. What version of ffmpeg are you compiling?
[03:22] <uncleRoy> top snapshot from http://ffmpeg.org/download.html
[03:22] <newl> do you have libvorbis installed?
[03:22] <sacarasc> That should allow ffmpeg's vorbis, I think...
[03:22] <uncleRoy> it reports ffmpeg version 0.8.7.git-964912a
[03:22] <uncleRoy> no I don't newl
[03:22] <uncleRoy> so off to find that now
[03:23] <uncleRoy> whee
[03:24] <sacarasc> You'll also need libvpx.
[03:24] <uncleRoy> okay thanks
[03:26] <newl> uncleRoy: what were the orginal files? avi?
[03:27] <uncleRoy> "ISO Media" ... it's an m4v file
[03:28] <uncleRoy> came from a flip video camera
[03:28] <uncleRoy> I think
[03:29] <newl> maybe you are tripping the anti-upskirt filter on macosx?
[04:28] <uncleRoy> Thanks for all your help, got a webm file finally.
[04:28] <newl> so what did you do?
[04:29] <uncleRoy> compiled and installed yasm, libvpx, libogg, libvorbis (and x264) and then built ffmpeg again
[04:33] <uncleRoy> all in a day's work for us Mac folks :)
[04:34] <uncleRoy> Now I just have to figure out how to adjust the quality
[04:34] <newl> me notes apple didn't even have yasm
[04:35] <newl> x264 has some nice presets
[04:38] <mshadle_> quick question. is there an easy way to dump out information on a video file without using ffmpeg -i <file> and having to parse out text chunks?
[05:13] <mshadle_> relaxed!
[05:20] <relaxed> mshadle_: hello
[08:41] <patrakov> hi. I am using this command to create screencasts (for further editing): ffmpeg -f x11grab -s 1024x768 -r 30 -i :0 -f alsa -ac 2 -ar 48000 -i hw:0 -vcodec mpeg4 -qmin 5 -qmax 5 -acodec pcm_s16le -y video.mov
[08:41] <patrakov> problem: after ~10-20 minutes, it gets ALSA underruns
[08:42] <patrakov> and these underruns are long, up to 5 seconds of lost audio data
[08:42] <patrakov> how to debug this?
[09:44] <cryptopsy> i want to produce a video from 3 images, each image lasting for a custom amount of time
[09:44] <cryptopsy> can this be done automatically with ffmpeg?
[10:19] <CDToon> hi! i'm on ubuntu, trying to run ffmpeg from cron... i use this line in cron: "0 19 * * 0 ffmpeg -i http://thisistheurlofthestream -f mp3 -acodec libmp3lame -ab 128k -ar 44100 -t 7200 outfile.mp3" everytime it runs, it gives me a working mp3 file, but it stops recording after 10 seconds although i limited the time to 7200 seconds. is there a way to do this, cron + ffmpeg ?
[10:26] <cryptopsy> if it runs under normal conditions, ask the cron team the proper syntax to list a command
[10:33] <cryptopsy> i want to produce a 5 second video clip of a picture, here's the output failing ompldr.org/vYm9ycA
[10:34] <cryptopsy> -f image2 doesn't help
[11:24] <cryptopsy> getting Invalid seek to negative position!
[11:24] <cryptopsy> on those files
[11:37] <cryptopsy> 05:31:51 < cryptopsy> i want to produce a 5 second video clip of a picture, here's the output failing ompldr.org/vYm9ycA
[11:37] <cryptopsy> seems some use flag is missing?
[11:37] <cryptopsy> jpeg2000 is not the same as jpeg
[11:37] <cryptopsy> and i have encode
[11:39] <mystica555_> and whats the actual result thats produced with that?
[11:39] <cryptopsy> yes
[11:39] <mystica555_> ie the file 1.mpg
[11:39] <cryptopsy> here's the output failing ompldr.org/vYm9ycA
[11:39] <cryptopsy> 06:23:11 < cryptopsy> getting Invalid seek to negative position!
[11:39] <cryptopsy> the ! is part of the output
[11:39] <mystica555_> ok.. so is a 1.mpg created at all?
[11:40] <cryptopsy> yes
[11:40] <cryptopsy> that's the output from mplayer
[11:40] <cryptopsy> trying to play ti
[11:40] <cryptopsy> it*
[11:40] <cryptopsy> do you know if bellard is releasing his pi code?
[11:40] <cryptopsy> and do you happen to have the old pihex project's code? that guy's website is down on the university server
[11:41] <mystica555_> no idea
[11:41] <mystica555_> can you ompload the 1.mpg you end up with?
[11:41] <cryptopsy> yes
[11:41] <cryptopsy> do you use omp?
[11:41] <cryptopsy> i can mediafire
[11:42] <cryptopsy> ompldr.org/vYm90NA
[11:42] Last message repeated 1 time(s).
[11:42] <cryptopsy> wow how strange
[11:42] <mystica555_> and that seems to be just a jpeg
[11:42] <cryptopsy> the first link is supposed to be .mpg and the second is supposed to be mp4, but they're the same!!
[11:42] <cryptopsy> mystica555_: yes its a jpeg turned to mpg
[11:43] <cryptopsy> it's supposed to be a video of a picture but nothing plays
[11:43] <cryptopsy> mystica555_: i did tow upload commands and it produced identical links
[11:43] <cryptopsy> 100 17555 100 2492 100 15063 3305 19979 --:--:-- --:--:-- --:--:-- 31446
[11:43] <cryptopsy> 100 17550 100 2487 100 15063 4433 26852 --:--:-- --:--:-- --:--:-- 34390
[11:43] <cryptopsy> different sizes --------------------------------------------^
[11:43] <mystica555_> one has a lavf header too
[11:43] <mystica555_> well, the one im looking at
[11:44] <cryptopsy> the first is supposed to be mpg, so you probably got mp4
[11:44] <mystica555_> both a JFIF header and a 'created by lavf version'
[11:44] <cryptopsy> are you decoding to view the header?
[11:44] <mystica555_> im looking at it in less
[11:44] <cryptopsy> ah
[11:44] <mystica555_> after wget said the server told it 'image/jpeg'
[11:44] <mystica555_> i then looked at it in feh, which was just a jpeg
[11:45] <mystica555_> then i looked at it in less to see what the actual file headers were
[11:45] <mystica555_> so its not being created as an mpeg frame at all
[11:45] <mystica555_> youve likely multiplexed a jpeg image into some container
[11:46] <mystica555_> and im not quite sure why/how this happened.
[11:46] <mystica555_> perhaps specificatino of a codec is needed
[11:53] <cryptopsy> try the same link
[11:53] <cryptopsy> should be a girl with a dog
[11:53] <cryptopsy> anyways ...
[11:53] <cryptopsy> yes i have no idea which codec
[11:53] <cryptopsy> can i produce another video output format?
[11:54] <cryptopsy> use use DEBUG to get more info?
[11:56] <mystica555_> look at the output of ffmpeg -codecs
[11:56] <mystica555_> youd likely want -codec mpeg1video
[11:56] <mystica555_> or mpeg2video
[11:56] <mystica555_> or mpeg4
[11:57] <mystica555_> or libx264
[11:57] <cryptopsy> there's no use flag for those
[11:58] <mystica555_> well ffmpeg in and of itself has mpeg1/2/4 built in.
[11:58] <cryptopsy> ompldr.org/vYm90YQ
[11:58] <mystica555_> libx264 is the only separated one from that list
[11:58] <cryptopsy> oh i understand now
[11:58] <cryptopsy> you can see what codec it was compiled with in my output
[11:58] <cryptopsy> i pasted earlier
[11:59] <mystica555_> youd need USE=x264 for the libx264 codec;
[11:59] <cryptopsy> DEVSDT mpeg2video MPEG-2 video
[11:59] <mystica555_> yep thats internal to ffmpeg
[11:59] <mystica555_> encoder/decoder
[11:59] <cryptopsy> so it should produce a working .mp4 in this case
[11:59] <mystica555_> if you do -codec mpeg4 on the commandline, and the output of .mkv or .mov or .avi sure
[11:59] <mystica555_> if you have it .mpg then its going to multiplex it strangely
[12:00] <cryptopsy> oh so it doesn't know by the file type
[12:00] <mystica555_> it infers the multiplexing type by the extension
[12:00] <mystica555_> ie: .mp4 would produce whatever codecs inside of a .mov/mp4 container
[12:00] <cryptopsy> then it should produce a working mp4 whether or not i specify -codec
[12:00] <mystica555_> multiplexing != compression
[12:00] <cryptopsy> what's the difference?
[12:00] <mystica555_> container vs actual codec
[12:01] <cryptopsy> is there a book on this?
[12:01] <mystica555_> 'mkv' is not a video format; it is simply a container format that can encapsulate just about anything
[12:01] <mystica555_> mpeg1/2 usually can be multiplexed into a few different formats.. elemental stream, transport stream, a few others
[12:01] <cryptopsy> multiplexing is the process of producing the mkv format?
[12:02] <mystica555_> doom9/doom10 are great for info
[12:02] <mystica555_> (forums)
[12:02] <mystica555_> multiplexing : combining multiple elemental streams such as audio, video, subtitle, etc, into 1 useful file
[12:03] <mystica555_> so you have say, mp3 audio, h264 video, and you want to make a .avi.
[12:03] <mystica555_> .avi is the format its multiplexed into; avi is the container
[12:04] <cryptopsy> so mp3 h264 are the codecs and compressing is what produces them, but multiplexing is combining them
[12:04] <mystica555_> mind you, the term multiplexing has a wide use outside of the digital video specifics
[12:05] <mystica555_> yep
[12:05] <cryptopsy> yes
[12:05] <mystica555_> multiplexing is simply combining multi into 1
[12:06] <cryptopsy> then specifying a codex isn't necessary
[12:06] <mystica555_> extrapolate what that means to your specific situation :) for a DSL tech, multiplexing would be taking the individual subscriber lines into the DSLAM and then you have 1 connection going to the telco network out of that DSLAM
[12:06] <mystica555_> im not sure why you think that
[12:06] <cryptopsy> since the input image is the codec, and mpg is the container
[12:07] <mystica555_> the input image isnt the codec specifically; yes, jpeg (in this case, it treats it as a 1 frame mjpeg movie) is the input codec; you want something else as the output codec however.
[12:07] <mystica555_> for the mpg container, you would likely be best served with mpeg2video
[12:08] <cryptopsy> can mplayer play encoded mp4s without them being in containers?
[12:08] <cryptopsy> i suppose so
[12:08] <mystica555_> it uses a bunch of detection magic to figure out what sort of file it is; a container provides synchronizing marks that are much easier to identify
[12:08] <cryptopsy> seems to work
[12:08] <mystica555_> so while yes, it might be able to, don't expect other programs/devices to
[12:09] <mystica555_> ie, for mpeg4 video, you can have a raw h264 output, or, it can be multiplexed into the mp4 container
[12:09] <cryptopsy> i'm encoding for some 1000+ frames on 25fps but the playback is a flash
[12:09] <mystica555_> ipods won't play simple .aac files; they must have that mpeg4 container as well
[12:09] <cryptopsy> blackberries play flac files
[12:09] <mystica555_> irrelevant, but yes they d
[12:09] <mystica555_> *do
[12:10] <cryptopsy> ompldr.org/vYm90aA
[12:10] <cryptopsy> new output
[12:12] <cryptopsy> no matter how large i make the number of frames, it will encode 0.04 seconds of video
[12:12] <mystica555_> you may need -loop
[12:13] <mystica555_> its interesting; the current ffmpeg manpage shows that -loop_input and -loop_output are deprecated, both stating to use '-loop' yet -loop is absent from the manpage
[12:13] <cryptopsy> it works
[12:13] <cryptopsy> just one more question, if i want to produce a slideshow with different intervals, i have to make multiple out files and then concatenate them?
[12:14] <mystica555_> from that link i pasted in #gentoo, that seems to be the case
[12:14] <mystica555_> multiple outputs, concatenated
[12:17] <cryptopsy> thanks
[12:19] <cryptopsy> the produced mp4 files don't know when the file ends - that's because the container is missing?
[12:23] <mystica555_> cryptopsy: possibly. to completely follow that tutorial however, youd likely need mpeg2 video with an mpeg container
[12:23] <mystica555_> as im not 100% sure if mpeg4 video is concatenatable, or if the containers are
[12:24] <mystica555_> http://en.wikipedia.org/wiki/Comparison_of_container_formats
[12:26] <cryptopsy> using -vcodec mp4 with an .mpg extension produces unplayable files
[12:26] <mystica555_> indeed it does
[12:26] <mystica555_> thus why i linked you to the container format page
[12:26] <mystica555_> that seems to give a pretty good idea of what codecs are usable with which format
[12:58] <slacker> Hi, I am having a problem decoding a stream
[12:58] <slacker> http://pastebin.com/wKgVCx0Y <--- the command and output
[12:59] <slacker> redirecting to mplayer and vlc gives the same error
[13:01] <mystica555_> what i find interesting, is that it plays fine if you redirect to a file, then play that file..
[13:03] <mystica555_> same aac errors, but, then its like at the end of the stream, it tries a different demuxer (mplayer that is)
[13:05] <slacker> mystica555_, [h264 @ 0x330f7e4b20]no frame!
[13:05] <slacker> other then that it seems fine
[13:05] <mystica555_> that seems to be more of a problem with the encoder than the decoder
[13:06] <mystica555_> i just don't know why its unable to demux it immediately
[13:06] <mystica555_> of note, mplayer2 plays it fine without the massive amount of aac errors
[13:07] <mystica555_> at least, 'fine' in demultiplexes immediately, but maybe not 'fine' in stream is fast enough to support realtime streaming
[13:08] <mystica555_> ooh maybe that was a fluke
[13:08] <mystica555_> second time tried, same aac issues.
[13:09] <slacker> Ill fill in the bug report
[15:30] <razakal> when i try to convert a mkv file into a flv file it's like slow motion and the duration is doubled
[15:30] <razakal> anyone here who knows how to fix this?
[15:31] <mystica555_> ive seen similar things with 60fps video converting to 30fps; potentially something to do with in/out fps matching?
[15:35] <razakal> i tried changing framerates but it's still the same duration
[15:37] <mystica555_> hm
[15:40] <razakal> i am trying to make it a flash compatible video so i will try to convert it to mp4 instead maybe that will work
[16:23] <ludde> can i re-mux an avi file into mp4 without transcoding everything? if so, how?
[16:30] <JEEB> ludde, ffmpeg/avconv -i derp.avi -acodec copy -vcodec copy derp.mp4
[16:30] <JEEB> given that those streams can be put into mp4
[16:30] <ludde> thanks
[17:10] <hackeron> hey, question, I have this mpeg-es from an IP camera: http://itstar.co.uk/test.cmp - it has mpeg4 audio and I believe g726 audio - but ffmpeg does not detect the audio. Any ideas?
[17:31] <ludde> [libx264 @ 0000000004770080] --psnr used with psy on: results will be invalid!
[17:31] <ludde> what does this mean
[17:36] <JEEB> It means that you have set --psnr to calculate psnr values, but you still have psy optimizations on. Thus the PSNR values will end up lower than when optimizing for PSNR.
[17:36] <JEEB> psychovisual enhancements lower PSNR, and some of them lower SSIM
[17:36] <JEEB> in a nutshell: These numbers you will get will be invalid for any kind of benchmark or test.
[17:38] <ludde> i want to play with different codec options and just have some metric so i can decide what works best.
[17:39] <ludde> as long as PSY always is enabled, the numbers should be comparable, right
[17:39] <CDToon1> can someone please show me how to use ffmpeg with cron? If i try it i get a file of less than 1MB with at most 20 seconds of music... the command i use works perfectly from the command line (on ubuntu)
[17:49] <JEEB> ludde, exact opposite
[17:49] <ludde> JEEB: okay?
[17:49] <JEEB> psy-optimizations optimize for a metric that tries to simulate how a person sees something
[17:50] <JEEB> or well, how it would "look better to the viewer"
[17:50] <JEEB> PSNR is basically "I love blur"
[17:50] <ludde> JEEB: so how can i get a metric i can use to compare CRF vs 1 pass ABR vs 2 pass ABR
[17:50] <JEEB> ugh
[17:50] <JEEB> why are you even comparing those?
[17:50] <JEEB> they are for completely different uses
[17:51] <ludde> i want to figure out which one to use..
[17:51] <ludde> I want to stream video on a web site, similar to youtube
[17:51] <JEEB> do you care to have all files to a certain file size or do you care about quality?
[17:51] <ludde> I want to limit them to about 1.5Mbps
[17:52] <JEEB> in what sense?
[17:52] <ludde> I want them to be playable on a 1.5Mbps +/- 10-20% connection
[17:52] <JEEB> ok
[17:52] <JEEB> so you need vbv
[17:53] <JEEB> anyways
[17:53] <ludde> figured as much.. i'm using vbv-maxrate=1500:vbv-bufsize=3000
[17:53] <JEEB> you can use either crf or 2pass ABR
[17:53] <JEEB> whichever you want
[17:53] <ludde> how do i know which crf value to use? if I set the value too low, maybe it would conflict too much with the vbV?
[17:54] <JEEB> x264 will limit itself to the vbv values
[17:54] <JEEB> with your values, for example you have a region of 3000 where the average bitrate does not exceed 1500
[17:54] <JEEB> (that's roughly how vbv works)
[17:54] <ludde> yeah
[17:54] <ludde> so there's not much room for saving bits
[17:54] <JEEB> and you select crf by finding the highest crf where the clip still looks good
[17:55] <CSMan> is there a way to get subtitles from the ffmpeg command line?
[17:55] <JEEB> ludde, how come?
[17:55] <ludde> it can just save 3000k bits
[17:55] Action: JEEB scratches his head
[17:55] <ludde> i mean
[17:55] <JEEB> you do understand that in case of crf if the clip really does not need as much bitrate, it will not go close to the limits
[17:55] <JEEB> ?
[17:55] <ludde> assuming the start of the movie is really slow.. then non-VBV could save a lot of bits there, for use in more high intensive scenes.
[17:56] <CSMan> does ffmpeg support subtitles at all
[17:56] <JEEB> it does to a level as far as I know
[17:56] <ludde> JEEB: yes.. i noticed crf became a lot smaller compared to ABR at same vbv-settings
[17:57] <JEEB> vbv only controls maximum, as in "do not exceed this average bitrate calculated in areas by the size of bufsize"
[17:58] <ludde> yeah
[17:58] <JEEB> anyways, ABR would always make your files the maximum size (and vbv keeps it within the bandwidth limits), and CRF would vary depending on content
[17:58] <JEEB> between the ABR size and whatever is needed to achieve a certain CRF value
[18:00] <ludde> I'm kinda fine with the movie ending up smaller than 1.5mbits
[18:01] <ludde> as long as it doesn't look worse than 1.5mbits ABR
[18:02] <JEEB> well, if you find the highest crf value that still looks good for a type of content, it usually works for most similar content
[18:02] <JEEB> (and possibly some other)
[18:02] <ludde> frame= 4990 fps= 27 q=25.0 PSNR=Y:1.#J U:1.#J V:1.#J *:1.#J size= 40680kB time=00:03:25.08 bitrate=1624.9kbits/s
[18:02] <ludde> what does the q=25.0 value mean here?
[18:05] <JEEB> no idea
[18:09] <hackeron> hmm, does ffmpeg not support uLaw or aLaw audio?
[18:14] <robbe-> I would like to record some VHS tapes on my linux computer. Does anyone have some good pointers on where to start? I have a video capture card, and I need to know how to go from there, what software could I use for example?
[18:16] <JodaZ> robbe-, your video capture card propably comes with software
[18:17] <robbe-> Not linux software.
[18:17] <JodaZ> do you know if there is a driver for linux ?
[18:18] <robbe-> I think so, chip is Bt878, and http://www.linuxquestions.org/questions/linux-hardware-18/video-capture-car… seems to suggest it works.
[18:18] <robbe-> I'm about to fiddle a bit with xawtv.
[18:18] <robbe-> But if someone could show me some pointers that would save me time :)
[18:19] <JodaZ> robbe-, keyword might be video4linux, or v4l2 for short
[18:20] <robbe-> okay, ty
[18:20] <JodaZ> ffmpeg -f video4linux -i /dev/video0 something something might do something
[18:20] <robbe-> ah, cool, so ffmpeg should be able to do it :)
[18:21] <JodaZ> http://transcoding.org/transcode?Video4linux_Examples
[18:21] <robbe-> not that that came unexpected ;)
[18:21] <robbe-> thanks for the link, looks interesting :)
[18:27] <hackeron> I have this file: http://itstar.co.uk/video.es -- it is recorded from an IP camera - it is an mpeg-es with mpeg4 video and u-law audio - it seems ffmpeg doesnt' recognise an audio track at all :/ - any ideas?
[18:35] <JodaZ> hmm, how do i do firefox html5 video tag video ?
[18:44] <JodaZ> -_-
[18:44] <JodaZ> needs a correct mime header
[18:44] <JodaZ> fucking browsers
[18:45] <JodaZ> also, ffmpeg somehow lets audio go for 12 seconds when the video is already at its last picture when i specify -t 10
[18:59] <ludde> how do I encode AAC 5.1 audio with ffmpeg?
[18:59] <ludde> Stream #0:1 -> #0:1 (ac3 -> libvo_aacenc)
[18:59] <ludde> Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[19:05] <JodaZ> how do i set width in ffmpeg (and have height auto determined from current aspect ratio)
[19:35] <JodaZ> nvm
[19:35] <JodaZ> i asked a while ago how i can concatenate videos, can anyone tell me ?
[19:37] <ubitux> http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f
[19:44] <JodaZ> i don't really want to use mpg...
[19:46] <superlinux> hi. how can i show a progressbar in ffmpeg? or @ least the percentage?
[19:52] <ludde> how can i check if the mp4 headers are in the front or in the back of the movie?
[19:53] <JodaZ> ludde, after ffmpeg they will always be in the back afaik
[19:53] <ludde> JodaZ: can i relocate them to the front, somehow
[19:54] <JodaZ> ludde, yes, qt-faststart
[19:56] <JodaZ> or MP4Box
[19:57] <ludde> thanks
[20:33] <Kuukunen> JodaZ: which format are you using? mkvmerge and mp4box can concat videos in their formats
[20:34] <ludde> how can i inspect the keyframe interval in an mp4 file?
[20:34] <Kuukunen> or I think you can have different source formats too, but you probably end up with a mkv or mp4
[20:35] <Kuukunen> ludde: avinaptic might tell something
[20:41] <JodaZ> Kuukunen, what i actually want to do is to cut trailer like snipets from movies, like 6 times 10 seconds during the first third
[20:42] <Kuukunen> JodaZ: should be doable with both programs
[20:43] <Kuukunen> JodaZ: but of course you can only cut at keyframes
[20:43] <JodaZ> is there something like that for avis ?
[20:43] <JodaZ> avi and secondarily mkv would be what i am mainly interested in
[21:04] <ludde> how can i encode 5.1 AAC with ffmpeg?
[21:17] <ludde> how would i extract the sound of a movie into a wav file
[21:18] <ludde> figured it out
[21:27] <brontosaurusrex> trying to compile ffmpeg git on lion, having some trouble: http://pastebin.com/BLLCY7kE
[21:28] <brontosaurusrex> clues on what to try?
[21:31] <pasteeater> we need a lion ffmpeg compile guide
[21:33] <pasteeater> brontosaurusrex: these are superfluous: --enable-pthreads --enable-version3 --enable-nonfree --enable-avfilter --enable-filters --enable-runtime-cpudetect
[21:33] <brontosaurusrex> pasteeater, like default already?
[21:34] <pasteeater> some of those don't exist as options, some are not autodetect, and runtime-cpudetect is generally for something that will be distributed (ffmpeg from a distro).
[21:34] <kode54> oops
[21:34] <kode54> you screwed up
[21:34] <pasteeater> s/not autodetect/now autodetected
[21:34] <kode54> --arch=x86, should be x86_64
[21:35] <pasteeater> --enable-version3 --enable-nonfree are for use with some external encoders that require license goofiness.
[21:35] <brontosaurusrex> pasteeater, isn't that for internal prores as well?
[21:37] <cbsrobot> brontosaurusrex: no, prores is lgpl
[21:38] <brontosaurusrex> cbsrobot, is that enabled by default?
[21:38] <pasteeater> there is a prores encoder and two decoders and i don't think you need to add any additional config options to enable them
[21:39] <brontosaurusrex> thanks, just trying with only --arch=x86_64 and nothing else
[21:40] <brontosaurusrex> ok, that worked
[21:41] <pasteeater> do you even need the arch with lion?
[21:41] <kode54> possibly not
[21:41] Action: pasteeater is OS X ignoramus
[21:41] <kode54> but x86 appears to not work
[21:41] <brontosaurusrex> no idea, aim just following some guides and hopefully the binary should run on snow leopard as well
[21:42] <kode54> according to output from some build scripts I've seen
[21:42] <kode54> you allegedly cannot redistribute binaries produced with the nonfree option enabled
[21:45] <pasteeater> brontosaurusrex: you may want --enable-gpl. it will enable some additional filters: blackframe, boxblur, cropdetect, delogo, deshake, drawbox...
[21:45] <brontosaurusrex> kode54, would x.264 count as non-free as well?
[21:45] <brontosaurusrex> pasteeater, thanks
[21:46] <kode54> I'm not sure
[21:46] <brontosaurusrex> does: ./configure --prefix=${SOURCE} --enable-gpl --arch=x86_64 --enable-libx264 && make -j 4 && make install
[21:46] <brontosaurusrex> looks good?
[21:46] <pasteeater> sure, if the only external encoder you want is libx264
[21:46] <pasteeater> (and --enable-libx264 only requires --enable-gpl)
[21:47] <brontosaurusrex> pasteeater, yes
[21:48] <pasteeater> are you remembering to 'make distclean' between make attempts?
[21:49] <brontosaurusrex> what i need is prores, h.264, utvideo rewraper or at least decoder, AAC
and some filters like crop, resize, yadif
[21:49] <pasteeater> to decode H.264 you need nothing extra. to enable libx264 as you are currently doing.
[21:50] <pasteeater> to enable _H.264 encoding_ enable libx264...
[21:50] <brontosaurusrex> just literally 'make distclean' ?
[21:50] <pasteeater> yes
[21:51] <brontosaurusrex> ok, that goes into my ffmpegnotes.txt
[21:51] <brontosaurusrex> btw, any clues about ut video status?
[21:52] <pasteeater> utvideo decoding should be covered with your configure
[21:52] <brontosaurusrex> the last i tried the decoder is working, but i can't rewrap from avi to mov for example
[21:52] <pasteeater> you mean: ffmpeg -i input.avi -c copy output.mov?
[21:52] <pasteeater> is mov a common container for mov?
[21:53] <pasteeater> duh
[21:53] <pasteeater> utvideo
[21:53] <brontosaurusrex> "Undefined symbols for architecture x86_64:
." , ill try without arch
[21:53] <brontosaurusrex> pasteeater, nope, but there is quicktime component for it now
[21:53] <JEEB> I think they were talking about utvideo in mov lately, but I'm not even sure if they've set it already
[21:53] <JEEB> as in, spec'd
[21:53] <brontosaurusrex> i couldn't make the component work either btw
[21:54] <JEEB> you can ask misterhatt about that I guess
[21:54] <JEEB> he has a mac and finally got internets
[21:54] <brontosaurusrex> JEEB, developer?
[21:54] <JEEB> nope
[21:54] <JEEB> an ass
[21:54] <pasteeater> I welcome misterhatt to 1992.
[21:54] <JEEB> but he did comment on installing the quicktime component
[21:54] <JEEB> and he does have an idea on some stuff
[21:55] <JEEB> (also, he can code but everything he thought about doing ended up being done by Daemon404)
[21:55] <JEEB> (including the ut video patches for ffmpeg)
[21:57] <brontosaurusrex> i see
[21:58] <JEEB> <MisterHatt> for future reference if anyone cares, open finder, make sure you can view HDD (hit up preferences if not), go to Library/QuickTime, and just drag the component in
[21:58] <JEEB> <MisterHatt> easy enough
[21:58] <JEEB> this is what he said at least
[21:58] <JEEB> :V
[21:59] <JEEB> although the component can of course fail with stuff
[21:59] <brontosaurusrex> JEEB, oh, i tried all that
[21:59] <JEEB> because the developer is rather new to macs
[21:59] <brontosaurusrex> JEEB, it doesn't really show up anywhere
[21:59] <JEEB> after all, he was all hurr durr about mov
[21:59] <JEEB> so I'm not even sure if it supports mov at all
[21:59] <JEEB> whatever can output avi, I think it might work there >_>
[21:59] Action: JEEB has NFI
[22:00] <brontosaurusrex> ok, that would explain things ...
[22:01] <brontosaurusrex> should that work with streamclip - export as avi?
[22:02] <JEEB> sorry, I'm not a mac user
[22:04] <brontosaurusrex> ok, so for now the transcode to prores or something uncompressed should do
[22:04] <brontosaurusrex> btw, do i need nasm, or yams is enough?
[22:04] <brontosaurusrex> yasm even
[22:05] <JEEB> for ffmpeg?
[22:05] <JEEB> yasm
[22:05] <JEEB> yasm is a replacement for nasm anyways
[22:05] <JEEB> they share asm syntax
[22:05] <brontosaurusrex> right
[22:09] <brontosaurusrex> getting this when trying to compile with x264 - http://pastebin.com/UEZXbkcX
[22:54] <Seph> Is there any way to tell which version of the x264 lib ffmpeg is linking against? I'm trying to compile a clone of git repo and it's giving me an error in libx264
[22:56] <pasteeater> Seph: what error?
[22:56] <Seph> http://pastie.org/pastes/3002324/text?key=io2y4jvpevwizgcmdvhrxg
[22:57] <pasteeater> you have an old x264 interfering
[23:12] <pasteeater> ubitux: thanks.
[23:12] <ubitux> np :)
[23:31] <Seph> pasteeater: yes I figured that, thus why I'm trying to figure out which one ffmpeg is linking against
[23:35] <ludde> what value for -crf is a good starting point?
[23:37] <JEEBsv> 24
[23:37] <JEEBsv> because it's relatively high
[23:49] <burek> is this possible to achieve with ffmpeg: http://www.youtube.com/watch?v=iwZdbN4Gwdw#t=2m11s (rewind to 02:11) and see the letter D rotating with video inside that letter :)
[23:50] <burek> shortly is it possible to tell ffmpeg to cut the video using custom polygon
[00:00] --- Mon Dec 12 2011
1
0
[00:03] <Tjoppen> I'll take a look in the morning
[01:08] <Tjoppen> took a quick peek. patches look decent I guess. haven't look at the offendine sample though
[01:09] <Tjoppen> *looked *offending
[01:22] <Compn> anyone remember the email when ruby said he would work on j2k even tho he missed GSoC ?
[01:22] <Compn> digging in the archives i cant find it
[01:22] <Compn> maybe he said in on irc
[01:32] <pasteeater> Compn: when was this?
[01:57] <Compn> pasteeater : 2011 soc , so march/april/may
[01:58] <Compn> i see a bunch of posts where he asks about gsoc, and his mails have that in the subject
[01:58] <Compn> then ... just him working on soc
[01:58] <Compn> brb, must restart compootor
[02:08] <CIA-41> ffmpeg: 03Luca Barbato 07master * rb73a01eaf1 10ffmpeg/Doxyfile: doxy: change hue value to match our green
[02:08] <CIA-41> ffmpeg: 03Luca Barbato 07master * r1ebbdda1d2 10ffmpeg/doc/ (Makefile fate.texi fate.txt):
[02:08] <CIA-41> ffmpeg: doc: document fate in a texinfo
[02:08] <CIA-41> ffmpeg: Summarize the information provided in the wiki and the one provided
[02:08] <CIA-41> ffmpeg: in fate.txt
[02:08] <CIA-41> ffmpeg: 03Luca Barbato 07master * rc1f5da698b 10ffmpeg/doc/t2h.init:
[02:08] <CIA-41> ffmpeg: doc: provide fallback css and customize @float
[02:08] <CIA-41> ffmpeg: Add "note" or "important" class to the generated div.
[02:08] <CIA-41> ffmpeg: 03Luca Barbato 07master * r2f017d9791 10ffmpeg/doc/ (Makefile git-howto.texi): doc: port the git-howto to texinfo
[02:08] <CIA-41> ffmpeg: 03Luca Barbato 07master * r1de6e14efe 10ffmpeg/doc/ (Makefile general.texi platform.texi):
[02:08] <CIA-41> ffmpeg: doc: split platform specific information
[02:08] <CIA-41> ffmpeg: Move the platform-specific information in its own file.
[02:08] <CIA-41> ffmpeg: 03Luca Barbato 07master * r9bdfe9ac1c 10ffmpeg/doc/general.texi: doc: extend external library coverage
[02:08] <CIA-41> ffmpeg: 03Luca Barbato 07master * rca410b4eb0 10ffmpeg/doc/demuxers.texi:
[02:08] <CIA-41> ffmpeg: doc: update demuxers section
[02:09] <CIA-41> ffmpeg: Cleanup tags usage and update commandline examples.
[02:09] <CIA-41> ffmpeg: 03Luca Barbato 07master * rd5837d7fe9 10ffmpeg/doc/ (6 files): doc: update documentation to use avconv
[02:09] <CIA-41> ffmpeg: 03Justin Ruggles 07master * r8e8c51318c 10ffmpeg/ (6 files in 3 dirs):
[02:09] <CIA-41> ffmpeg: movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs
[02:09] <CIA-41> ffmpeg: Use Sound Sample Description Version 2 for all MOV files.
[02:09] <CIA-41> ffmpeg: Updated FATE references accordingly.
[02:09] <CIA-41> ffmpeg: Note that ADPCM is treated as compressed audio in version 2.
[02:09] <CIA-41> ffmpeg: 03Justin Ruggles 07master * rb2890f5ed6 10ffmpeg/libavutil/ (audioconvert.h avutil.h): audioconvert: add some additional channel and channel layout macros
[02:09] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rc59b80c8d3 10ffmpeg/: (log message trimmed)
[02:09] <CIA-41> ffmpeg: Merge remote-tracking branch 'qatar/master'
[02:09] <CIA-41> ffmpeg: * qatar/master:
[02:09] <CIA-41> ffmpeg: isom: sort and pretty-print codec_movaudio_tags[]
[02:09] <CIA-41> ffmpeg: isom: remove pointless comments in codec_movaudio_tags[]
[02:09] <CIA-41> ffmpeg: isom: remove commented-out tag for vorbis
[02:09] <CIA-41> ffmpeg: movenc: write 'chan' tag for AC-3 in MOV
[02:09] <CIA-41> ffmpeg: 03Justin Ruggles 07master * r60cd802daf 10ffmpeg/libavformat/movenc.c: movenc: write 'chan' tag for AC-3 in MOV
[02:09] <CIA-41> ffmpeg: 03Justin Ruggles 07master * r21ebf2d493 10ffmpeg/libavformat/isom.c: isom: remove commented-out tag for vorbis
[02:25] <Compn> pasteeater : i looked all over ffmpeg-devel , libav-devel and such to no luck
[02:25] <Compn> must have been on irc or some soc list i cant find
[02:30] <michaelni> btw, can someone add links to the splited out htmls like http://ffmpeg.org/platform.html ?
[02:31] <michaelni> http://ffmpeg.org/fate.html
[02:31] <michaelni> http://ffmpeg.org/git-howto.html
[02:31] <michaelni> possibly more are missing links
[02:32] <pasteeater> Compn: i found several email threads [JPEG2000 decoder, GSoC project (JPEG 2000), JPEG 2000, Regarding GSoC], but i didn't see a specific mention of missing gsoc in a quick search
[03:05] <Compn> michaelni : ping me later about it
[03:05] <Compn> also we need to link to the wiki, remember that thread died ?
[03:08] Action: michaelni will forget
[03:59] <ubitux> what is the unit name for the step between 2 close component?
[03:59] <ubitux> for instance, the red component goes from 0xAA to 0xAB, it is increased by one what?
[04:01] <michaelni> redness unit ;)
[04:01] <ubitux> okay =)
[04:07] <durandal_1707> does ljpeg encoder actually works?
[04:17] <michaelni> durandal_1707, tests/data/vsynth1/ljpeg.avi looks ok so it works for that case at least
[04:17] <michaelni> what problem do you see with it ?
[04:17] <durandal_1707> well i just use avconv to create avi with ljpeg stream
[04:18] <michaelni> well ...
[04:18] <durandal_1707> that is probably dumbest idea ever
[04:18] <michaelni> you should be using ffmpeg
[04:23] <durandal_1707> amv encoder produce strange stuff on top pixels
[04:25] <michaelni> i dont see anything like this in tests/data/vsynth1/amv.avi (which is generated by ffmpeg)
[04:25] <michaelni> do you have a reproduceable testcase ?
[04:27] <durandal_1707> yes
[04:30] <michaelni> can you show us that testcase ?
[04:37] <durandal_1707> hmm, it seems to happen with h264 (High) as input
[04:41] <michaelni> durandal_1707, are you using latest ffmpeg git master ?
[04:42] <michaelni> if yes, i probably need a short piece of the source file with which it can be reproduced
[04:42] <durandal_1707> it does not happens with mpeg4
[04:43] <durandal_1707> i'm not sure if this is heightxweight issue actually
[04:44] <durandal_1707> 720x404
[04:45] <michaelni> we need a testcase not random values
[04:45] <durandal_1707> you want me to upload input video?
[04:46] <michaelni> yes, preferable a small part of it (the smaller the better)
[04:46] <michaelni> small in terms of length
[04:46] <michaelni> that is if 1second is enough then just upload that
[04:50] <ubitux> Compn: wasn't ruby a girl?
[04:50] Action: Compn eats a pomelo
[04:50] <Compn> possibly
[04:50] <Compn> but i'd rather call a girl as a guy than call a guy as a girl ;)
[04:51] <ubitux> that's because you're not a girl
[04:51] <Compn> its because i'd rather insult a girl than to insult a guy who may use fists in a fit of rage :P
[04:51] <ubitux> :D
[04:52] <ubitux> you should defend yourself by saying calling him a man is actually a compliment
[04:52] <ubitux> calling her*
[04:52] <ubitux> :p
[04:53] <Compn> did someone reply to my mail ?
[04:53] <ubitux> not yet afaik
[04:53] <ubitux> anyway it's late, 'night ppl :)
[04:54] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r4ac862f43c 10ffmpeg/Makefile:
[04:54] <CIA-41> ffmpeg: Makefile: disable compiling avconv by default.
[04:54] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[04:54] <CIA-41> ffmpeg: 03Hendrik Leppkes 07master * rb7bf93b923 10ffmpeg/libavcodec/mlp_parser.c:
[04:54] <CIA-41> ffmpeg: mlp: Use correct speaker locations in TrueHD channel layout.
[04:54] <CIA-41> ffmpeg: (cherry picked from commit d7787835ad737d4f4d8b6f17e04d981632eeaa91)
[04:54] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[05:01] <burek> is there a way to tell ffmpeg to ignore a duration, that is found in WAV header?
[05:01] <burek> because some ip cameras seem to send stream of audio
[05:02] <burek> in wav format, with duration set to 32 seconds
[05:03] <CIA-41> ffmpeg: 03Paul B Mahol 07master * r85cd1eb12f 10ffmpeg/libavcodec/ (dcaenc.c mjpegenc.c):
[05:03] <CIA-41> ffmpeg: add missing long_name for amv and dca encoder
[05:03] <CIA-41> ffmpeg: Reviewed-by: Carl Eugen Hoyos
[05:03] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[05:03] <Compn> you mean the audio stream stops but video continues ?
[05:03] <Compn> burek : ffmpeg -an -i ... ?
[05:04] <burek> why -an
[05:04] <burek> no no
[05:04] <burek> only audio
[05:04] <burek> http://pastie.org/2994411
[05:04] <burek> you see "Duration: 00:00:32.76, bitrate: N/A"
[05:05] <burek> but it's not 32 seconds, it's an endless stream
[05:05] <Compn> does it stop after 32 seconds ?
[05:05] <burek> yes
[05:05] <Compn> just making sure :D
[05:05] <burek> :))
[05:05] <michaelni> burek, this is not latest ffmpeg
[05:05] <Compn> do you want the audio ?
[05:06] <burek> michaelni, how can we tell the latest ffmpeg to ignore the duration?
[05:06] <burek> Compn, yes
[05:06] <michaelni> well, if its reproduceable with latest ffmpeg submit a bugreport and ill look into it
[05:07] <durandal_1707> i uploaded amv_in.mp4 to incoming on upload.ffmpeg.org
[05:07] <burek> ok
[05:07] <michaelni> burek, or just give me the file and skip the report
[05:07] <burek> ok just a second
[05:07] <burek> hackeron, if your webcam is accessible via internet
[05:07] <burek> could you leave your url here
[05:08] <hackeron> burek: IP camera, it isn't, but give me a minute :)
[05:08] <burek> ok
[05:10] <hackeron> help yourself: curl http://admin:@82.13.197.168:82/audio.cgi
[05:11] <burek> michaelni, will the url be enough?
[05:11] <hackeron> working command: curl http://admin:@82.13.197.168:82/audio.cgi | sox --ignore-length - -o test.wav -- I'm looking for something similar in ffmpeg to be able to ignore the header length/duration
[05:12] <burek> ok, hackeron, please wait a little bit now :)
[05:12] <hackeron> :)
[05:16] <durandal_1707> michaelni: can you reproduce amv encoder bug?
[05:17] <michaelni> durandal_1707, yes
[05:21] <burek> michaelni, I've tried the ip cam url above, and loop_input doesn't help.. should it be reported as a bug or as a feature or how?
[05:24] <burek> also, when I use "-loop 1" it says "Option loop not found." :) and when I use "-loop_input" it says "-loop_input is deprecated, use -loop 1" :) so I'll report this too :)
[05:40] <hackeron> burek: any luck?
[05:44] <michaelni> hackeron, ive added a ignore-length option, ill push it in a few moments
[05:46] <hackeron> michaelni: fantastic, thank you :)
[05:46] <hackeron> that was quick, heh
[05:48] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r02acfb1c01 10ffmpeg/libavformat/wav.c:
[05:48] <CIA-41> ffmpeg: wavdec: add ignore length option to ignore incorrect lengthes
[05:48] <CIA-41> ffmpeg: like SOX
[05:48] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[05:48] <hackeron> thank you :)
[05:50] <hackeron> one more thing since I'm here - in gstreamer, I can do src do-timestamp=true ! decodebin ! encoder - this is very useful with IP cameras that have an mjpeg stream (no timestampts) - I couldn't find anything equivalent in ffmpeg - am I missing something?
[05:54] <michaelni> hackeron, i dont really know gstreamer, what does that do ?
[05:56] <hackeron> michaelni: the problem is it's a live source - http multipart. When I open it with ffmpeg, it sets an fps and generates timestamps based on the fps - but the source is variable framerate with no timestamps (mjpeg) - anyway to make ffmpeg treat it like a live source and set timestamps of "now" for every incoming frame? - I tried -timestamp now but it had no effect
[05:58] <hackeron> do-timestamp=true description on the gstreamer website is: Timestamps are set on the buffers as they arrive from the camera. These are used by the mime/multipart demultiplexer to emit timestamps on the JPEG-encoded video frame buffers.
[05:58] <hackeron> This allows the multiplexer to timestamp the frames in the resulting file.
[05:59] <michaelni> not sure if we support that but it should be quite easy to add
[06:00] <michaelni> probably best if you add feature request to our bug tracker otherwise i might forget
[06:00] <hackeron> would be very useful, pretty much every mjpeg IP camera I tried has this problem with ffmpeg - I will file a feature request, thank you :)
[06:01] <burek> is it possible to get a reencoded file after -vcodec copy -acodec copy ?
[06:02] <hackeron> ffmpeg bugs/requests go here, right? < http://ffmpeg.org/trac/ffmpeg/report
[06:02] <burek> yes
[06:03] <burek> anyway, a guy used -acodec copy -vcodec copy and got a video output that is not the same as the original (he says it's fuzzy): http://ffmpeg.org/trac/ffmpeg/ticket/728
[06:03] <burek> so I was wondering if ffmpeg did reencode the video or what could have happened
[06:05] <michaelni> burek, SVN-r0.5.1 is too old
[06:05] <michaelni> thats years old
[06:05] <burek> oh sorry wrong link
[06:05] <burek> http://pastebin.com/F08P2ugT
[06:06] <burek> I made the guy compile the latest git ^^
[06:08] <michaelni> better update the ticket before someone closes it in rage, screaming that its too old ;)
[06:08] <durandal_1707> well streams can be same but muxing does not need to be
[06:09] <burek> well I understand that part, but can the muxing cause the video to become "fuzzy" ? :)
[06:10] <durandal_1707> what is "fuzzy"?
[06:11] <durandal_1707> well with copy you can trivialy make file which will not play with ffplay (because you can copy unsupported codecs)
[06:11] <hackeron> hope this is descriptive enough: https://ffmpeg.org/trac/ffmpeg/ticket/730
[06:12] <burek> I asked him to provide a sample of a "fuzzy" file, so I will know what to answer :)
[06:14] <durandal_1707> here is stupid example: ffmpeg -i escape130.rpl -vcodec copy out.avi
[06:15] <durandal_1707> in theory this could be supported because escape130 codec have header which define width and height and it could be played from avi ;)
[06:51] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r02ce07f8c4 10ffmpeg/libavcodec/mpegvideo_enc.c:
[06:51] <CIA-41> ffmpeg: amvenc: support videos with heights that are not a multiple of 16.
[06:51] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[07:13] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rcd519b7e83 10ffmpeg/libavformat/riff.c:
[07:13] <CIA-41> ffmpeg: avi: add escape130 support
[07:13] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[07:13] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rf5ecc4c616 10ffmpeg/libavcodec/avcodec.h:
[07:13] <CIA-41> ffmpeg: lavc: 1000l, unbreak ABI
[07:13] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[10:03] <jeremyS> What's the deal with libavfilter planar audio?
[10:03] <jeremyS> How do the channels map to the data[i] buffers?
[11:07] <Tjoppen> so, do any of the mxf patches on the list fix #721?
[11:07] <Tjoppen> looking quickly it seems it uses the same essence_container_ul for both streams?
[13:03] <mateo`> hello, i am currently writing a filter to merge two audio tracks. I could not find a way to detect inputs sample rate or force a given sample on inputs. Any ideas ?
[14:23] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r2483f53693 10ffmpeg/libavformat/mxfdec.c:
[14:23] <CIA-41> ffmpeg: mxfdec: do not try to use an obviously broken index.
[14:23] <CIA-41> ffmpeg: Also fixes a memleak.
[14:23] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[14:43] <michaelni> mateo`, AVFilterLink contains a sample_rate field, which should tell you the input sample rate
[14:45] <GordonFreeman> hi guys
[14:46] <GordonFreeman> what is your opinion about Fractal Image Compression ?
[14:55] <mateo`> michaelni: AVFilterLink sample_rate is not set at init time
[14:56] <mateo`> michaelni: in init function i tried to use ctx->inputs[0]->sample_rate but it set to 0 :(
[14:57] <mateo`> i didn't find a way to autoinsert a aconvert filter by requesting a specific sample rate in query_formats
[14:59] <michaelni> mateo`, why do you need the sample rate at init time ?
[15:00] <michaelni> GordonFreeman, my opinion is that you should implement it and send a patch
[15:00] <GordonFreeman> :Ö
[15:00] <GordonFreeman> :)
[15:00] <michaelni> mateo`, sample rate can change anyway later :)
[15:01] <GordonFreeman> well i have tested a fractal image compression program 10 years ago
[15:01] <GordonFreeman> the compression is slow, but image quality and compression ratio is superior
[15:01] <GordonFreeman> http://en.wikipedia.org/wiki/Fractal_compression
[15:01] <mateo`> michaelni: my goal was to avoid doing the resampling job myself
[15:02] <mateo`> and let an autoinserted aconvert doing it for me
[15:05] <michaelni> i still dont understand why you need any resample at all, why does the sample rate matter to your filter ?
[15:06] <mateo`> to merge two audio tracks at two different sample rates.
[15:06] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * r5207f9597e 10ffmpeg/libavformat/mxfdec.c:
[15:06] <CIA-41> ffmpeg: Separate mxf_essence_container_uls for audio and video.
[15:06] <CIA-41> ffmpeg: It is a really bad idea to assign a video codec id
[15:06] <CIA-41> ffmpeg: when we have set codec_type to audio and vice versa.
[15:06] <CIA-41> ffmpeg: Fixes ticket #721.
[15:06] <GordonFreeman> if i'd implement a fractal image compression algorithm then i'd say it's free until you use it in a software you sell, then you have to give me share, is it correct?
[15:23] <GordonFreeman> i'm doing bilinear interpolation for fun with matrices now :)
[15:48] <michaelni> GordonFreeman, if you implement something, then you can do so under any license you choose
[15:49] <GordonFreeman> and how to enforce my rights for some code?
[15:49] <michaelni> lawyer ;)
[15:50] <GordonFreeman> hehe, but it has to be registered somewhere to be correct i think
[15:50] <GordonFreeman> like with patents
[15:50] <GordonFreeman> what if the judge does not believe our database is real?
[15:50] <GordonFreeman> ;/
[15:51] <michaelni> you of course must pay the judge more than your opponent pays him ;)
[15:51] <GordonFreeman> and like the source of my code has date defined in my filesystem
[15:51] <GordonFreeman> ahaha
[15:52] <GordonFreeman> hmm though i could probably prove my rights if i show my whole development tree to the judge no?
[15:53] <GordonFreeman> like 10000 versions backed up
[15:55] <GordonFreeman> it'd be hard to believe someone created the exact same code without development
[15:56] <michaelni> just put the code on a public github repo then you have many witnesses that can say it was there and was put there by you
[15:58] <michaelni> mateo`, such filter probably is easiest to implement with some extensions to the framework
[15:58] <michaelni> so that its possible for a filter to request equal sample rates on input
[15:59] <michaelni> i mean such merge filter could probably even handle changing sample rates just not mismatching between inputs
[16:07] <GordonFreeman> michaelni<< well the witness thing is ok, though then anybody can copy all sources that i was wiling to show the judge to be my development history :)
[16:08] <michaelni> GordonFreeman, you should not write code but become lawyer
[16:09] <GordonFreeman> hehe :)
[16:09] <GordonFreeman> you'r right, its lawyer's duty...
[16:10] <GordonFreeman> i'm just bothered by ms like companies stealing free code and making money out of it
[16:11] <GordonFreeman> they'd just copy paste my work and don't give a fuck referring to my
[17:13] <CIA-41> ffmpeg: 03Nicolas George 07master * r337ce558b6 10ffmpeg/ (5 files in 2 dirs): fftools: add -report option.
[18:49] <ubitux> mmpf we really need a ffserver maintainer
[18:50] <ubitux> libav ppl are just removing it step by step instead of fixing the regressions :(
[18:54] <michaelni> ubitux, libav plans to drop ffserver ?
[18:54] <ubitux> well, from what i see they are trying to drop some broken features
[18:55] <michaelni> :)
[18:55] <ubitux> http://lists.libav.org/pipermail/libav-devel/2011-December/016292.html
[18:57] <michaelni> and yes we need a ffserver maintainer
[18:58] <michaelni> also the code elenril drops has been partially fixed by me already :)
[18:59] Action: michaelni kicks CIA-41
[18:59] <CIA-41> ow
[19:00] <michaelni> CIA-41, where are the commits i just pushed ?
[19:50] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r257c85cddd 10ffmpeg/libavcodec/adpcm.c:
[19:50] <CIA-41> ffmpeg: adpcm: fix division by zero in fate/creative/intro-partial.wav with -s 2 and -r 0.001:1
[19:50] <CIA-41> ffmpeg: Bug-Found-by: Shitiz Garg
[19:50] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:50] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r5b2873c1d5 10ffmpeg/libavcodec/ (h264.c h264_refs.c):
[19:50] <CIA-41> ffmpeg: h264: switch from qatars has_b_frames calculation back to mine.
[19:50] <CIA-41> ffmpeg: Their 2nd try does like the first not work at all.
[19:50] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:50] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rcc61643123 10ffmpeg/libavcodec/h264.c:
[19:50] <CIA-41> ffmpeg: h264: improve "no picture" debug output.
[19:50] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:51] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r0849a0ebb2 10ffmpeg/libavformat/rtmpproto.c:
[19:51] <CIA-41> ffmpeg: rtmpproto: make condition work in overflow case.
[19:51] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[19:51] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r8b8a47f6fb 10ffmpeg/libavformat/flvdec.c:
[19:51] <CIA-41> ffmpeg: Make detection of single-stream flv work again.
[19:51] <CIA-41> ffmpeg: It had become dead code when code was added to avoid
[19:51] <CIA-41> ffmpeg: exporting audio and video codec id as metadata.
[19:51] <CIA-41> ffmpeg: Untested due to lack of sample.
[19:51] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[19:51] <CIA-41> ffmpeg: 03Reimar Döffinger 07master * r78fde9323d 10ffmpeg/tests/ (4 files in 3 dirs):
[19:51] <CIA-41> ffmpeg: Run zmbv regression without md5sum.
[19:51] <CIA-41> ffmpeg: Judging by the differences this should make all FATE
[19:51] <CIA-41> ffmpeg: machines pass the test.
[19:51] <CIA-41> ffmpeg: Signed-off-by: Reimar Döffinger <Reimar.Doeffinger(a)gmx.de>
[21:04] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r934fe00680 10ffmpeg/ffmpeg.c:
[21:04] <CIA-41> ffmpeg: ffmpeg: better warning about loop_input
[21:04] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:05] <michaelni> burek, see above and if you have a better idea for a warning, please suggest it, iam happy to change it
[21:52] <J_Darnley> Is there a check in configure for SSE4.1 which sets a define like HAVE_SSSE3?
[21:52] <J_Darnley> I guess there isn't since there ist a HAVE_SSE4 define
[21:52] <J_Darnley> Can I use HAVE_AVX instead?
[21:58] <burek> michaelni, it's better now :) also, maybe the documentation should be updated too?
[21:59] <michaelni> J_Darnley, yes, use something close, or add a configure check but these HAVE_X86_CPU_FEATURES are not very usefull
[22:00] <michaelni> burek, sure, do you have a suggestion or ... better ... a patch :)
[22:03] <burek> :)
[22:03] <burek> Well, just add the same line, like you did in the source code
[22:03] <burek> just mention that the option is meant for -f image2, that'll do
[23:39] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r8743400961 10ffmpeg/libavcodec/h264.c:
[23:39] <CIA-41> ffmpeg: h264: reset prev_poc_msb to the same value everywhere.
[23:39] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:39] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r3dea28cc2e 10ffmpeg/libavcodec/h264.c:
[23:39] <CIA-41> ffmpeg: h264: Fix concealment regression introduced by babf4fe01a808327d53977ba319c113a930180b1
[23:39] <CIA-41> ffmpeg: Limit the new case to when the decoder is flushed instead of at each idr frame
[23:39] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:39] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rcdba9b617f 10ffmpeg/doc/eval.texi:
[23:39] <CIA-41> ffmpeg: eval.texi: document that variables are not shared between expressions.
[23:39] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[00:00] --- Sun Dec 11 2011
1
0
[00:00] <JodaZ> get a mjpeg that works on gstreamer and write a proxy that turns your one into that format
[00:00] <hackeron> yeh, then all I need to do is souphttpsrc location=${URL}mjpeg.cgi do-timestamp=true ! multipartdemux ! jpegdec !
[00:05] <hackeron> JodaZ: sounds perfect: "Timestamps are set on the buffers as they arrive from the camera. These are used by the mime/multipart demultiplexer to emit timestamps on the JPEG-encoded video frame buffers. This allows the Matroska multiplexer to timestamp the frames in the resulting file."
[00:05] <JodaZ> yes
[00:05] <JodaZ> from where ?
[00:06] <hackeron> JodaZ: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-p…
[00:06] <hackeron> JodaZ: filed a but for their multipartdemux, just working on a proxy now as a temporary solution
[00:06] <hackeron> a bug*
[00:37] <hackeron> JodaZ: ( echo "--video boundary--"; curl http://camera/MJPEG.CGI ) | < heh ;)
[00:37] <JodaZ> that fixed it ?
[00:37] <hackeron> well, gstreamer is no longer complaining :) - now need to check the output file
[00:38] <hackeron> right now I'm using a fakesink, so just adding muxing to the pipeline
[01:06] <ludde> I can't figure out how to run libx264 in multithreaded mode on linux. It works on windows out of the box. The libx264 log line when running ffmpeg says threads=1
[01:10] <JodaZ> what about adding threads=2 in the config ?
[01:10] <JodaZ> nvm that
[01:11] <JodaZ> -threads [count]
[01:11] <pasteeater> ludde: use a pastebin site to show your ffmpeg command and the complete console output
[01:11] <hackeron> JodaZ: yep, it works fine! :) - guess ffmpeg just can't handle a live stream without timestamps - this is what I ended up with: ( echo "--video boundary--"; curl ${URL}mjpeg.cgi; ) | gst-launch -e -v fdsrc do-timestamp=true ! multipartdemux boundary="video boundary--" ! image/jpeg,width=640,height=480 ! matroskamux ! filesink location="out.mkv" -- perfect a/v sync and handling of dynamic framerate, woo!
[01:12] <JodaZ> nice
[01:12] <JodaZ> also works longer than 30 secs ?
[01:13] <hackeron> recorded 2 minutes, did time 120; killall gst-launch - compared the output file, exactly 2 minutes and playing the video and audio at the same time (2 separate files) looks/sounds pretty much perfect
[01:13] <hackeron> and pretty much identical duration
[01:14] <hackeron> was only a quick test, but looks very promising :)
[01:15] <ludde> pasteeater: http://pastebin.com/fjrJrTPF
[01:17] <JodaZ> ludde, why do you write threads=1 and then wonder why it uses only one thread ?
[01:17] <ludde> JodaZ: i've tried many values there, it has no effect
[01:18] <pasteeater> you probably don't need refs either as the preset will apply an appropriate ref, and since you did not declare a preset then '-preset medium' will be used
[01:19] <pasteeater> '-threads 0' will automatically choose an appropriate value for your CPU. -threads 0 is now default, but i'm unsure if it is default on 0.8.x
[01:19] <ludde> using -threads 12 directly to ffmpeg seems to work
[01:19] <ludde> however, I only get like 20 fps encoding performance, while on a windows box I get > 60
[01:20] <ludde> hmm 35 on the window box, 19 on the linux box
[01:21] <pasteeater> use -threads 0 if 0.8.x doesn't use it by default
[01:21] <pasteeater> are your two boxes using the same hardware, and the inputs the same, are you using the same encoding options?
[01:21] <ludde> same options, but different build flags
[01:22] <pasteeater> hardware, inputs?
[01:22] <ludde> not sure about the hardware.. but the linux box is a kinda high end server with 32GB RAM, while the windows box is just a normal desktop i7
[01:23] <ludde> CPU0: Intel(R) Xeon(R) CPU L5630 @ 2.13GHz stepping 02
[01:23] <ludde> CPU1: Intel(R) Xeon(R) CPU L5630 @ 2.13GHz stepping 02
[01:23] <ludde> ...
[01:23] <ludde> [ 0.951709] Total of 8 processors activated (34134.79 BogoMIPS).
[01:25] <pasteeater> are you using the same input file for your windows v linux comparison?
[01:26] <ludde> yep
[01:26] <ludde> 1080p britney spears movie
[01:29] <pasteeater> i don't know. when i compared encoding on win7 and linux (both 64-bit) on the same machine linux was slightly faster, but i was lazy and didn't compile ffmpeg on windows.
[01:30] <pasteeater> what reason did you add the -r option?
[01:31] <pasteeater> if you're performing a single pass encode then you should use -crf instead of -b. 24 is a good starting value.
[01:57] <stonie> hi
[01:58] <stonie> ffmpeg with lamemp3 always encodes any video with mp3 in joint stereo... how can i aboid that and encode real stereo from source?
[02:01] <pasteeater> stonie: you can pipe to lame as i showed you yesterday
[02:02] <stonie> also with the video included?
[02:02] <pasteeater> you never responded after i asked you what you wanted to do with the video
[02:02] <stonie> seems i didnt read your answer at all sorry
[02:03] <stonie> err your 2nd question :)
[02:03] <stonie> i want to encode the video stream to x264 and audio to mp3
[02:04] <pasteeater> you can do them separately and mux them afterwards
[02:05] <stonie> mh yes but i dont want to do this in two steps.. is there no way to tell ffmpeg that already while it encodes?
[02:11] <pasteeater> i don't know, but it's not that hard to do it in two steps.
[03:13] <bf4648> hey I'm trying to do a -vcopy and -acopy on a file & I'm getting the following error message: "Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (30/1)" ...any ideas why?
[03:52] <burek> bf4648, that's just a warning, not an error
[04:03] <bf4648> really?
[04:03] <bf4648> but the video is coming out all fuzzy
[04:16] <burek> can you please use pastebin.com, to show your command line and its output?
[04:17] <newl> fuzzy is in - a counter balance to the hd and blueray movement
[04:20] <bf4648> no
[04:21] <bf4648> Well, I thought it was a bug so I submitted the command line & a sample to ffmpeg..you can look @ the ticket @ the following link: http://ffmpeg.org/trac/ffmpeg/ticket/728
[04:22] <bf4648> do u all know what I did wrong or whether is was a bug or not?
[04:22] <bf4648> error message is: "Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (30/1)" and the video is all fuzzy"
[04:23] <burek> bf4648, just to let you know, your ffmpeg is _way_ old
[04:24] <burek> if you compiled it yourself, instead of svn, you should use git
[04:24] <bf4648> I did a sudo apt-get install ffmpeg
[04:24] <burek> because, iirc, svn has not been updated for a long time
[04:24] <bf4648> this was the version that was installed
[04:24] <bf4648> I realize that but I'm just copying the streams...not anything else too difficult
[04:24] <burek> and also, the output show no errors
[04:24] <burek> so, what exactly the problem is?
[04:25] <newl> fuzzy he said
[04:25] <bf4648> The video is not viewable...looks like a lot of frames were dropped or something...it is not the same quality as the original
[04:26] <burek> Stream #0.0(und): Video: 0x0000
[04:26] <bf4648> I'm just simply trying to copy the video at -ss time for a certain duration
[04:26] <burek> there should be: Stream #0.0(und): Video: h264
[04:27] <burek> you need to update your ffmpeg
[04:27] <burek> the ffmepg actually reencodes your video
[04:27] <burek> I don't know why
[04:27] <burek> but, since it's the ancient version of ffmpeg, I doubt anyone would bother looking into the today's source code
[04:28] <burek> hoping to find that bug, which was probably fixed long time ago
[04:29] <bf4648> great...well why don't they update the repository with the new ffmpeg version
[04:29] <burek> which distro do you use
[04:29] <bf4648> so that a sudo apt-get install ffmpeg will install the latest
[04:29] <bf4648> ubuntu 10.014
[04:29] <bf4648> 10.04
[04:29] <burek> Ubuntu 11.10 is current
[04:30] <burek> so your system is also old
[04:30] <burek> you should probably update everything
[04:30] <burek> apt-get update
[04:30] <burek> apt-get dist-upgrade
[04:31] <bf4648> I did that & it says everything is new
[04:32] <newl> wow color comes to freenode
[04:33] <bf4648> burek...do you have any idea why a sudo apt-get dist-upgrade doesn't upgrade everything?
[04:34] <burek> I'm not sure really
[04:34] <burek> if I were you
[04:34] <burek> I would just apt-get --purge remove ffmpeg
[04:34] <burek> and went to ffmpeg's website
[04:34] <burek> and compiled latest ffmpeg
[04:35] <burek> if you read the topic of this channel
[04:35] <burek> Ubuntu compilation guide: http://bit.ly/3xSE5
[04:35] <burek> :)
[04:35] <bf4648> dang I'm going to have to re-submit that ticket if I have the same problem
[04:35] <bf4648> after upgrading
[04:36] <newl> why did you convert this perfect movie to begin with and did you use 'copy'
[04:37] <bf4648> well, I just wanted clips out of the video so I figured I could just copy the streams so that ffmpeg wouldn't have to re-encode
[04:37] <burek> bf4648, your command is correct, and if you compile the latest ffmpeg, it should produce what you expected
[04:38] <burek> I can help you with compile
[04:38] <burek> it will take max 10-15 mins
[04:38] <bf4648> I'll got a script that does it for me
[04:38] <bf4648> from Google code
[04:38] <burek> script for what
[04:39] <bf4648> to install & compile the latest ffmpeg
[04:39] <newl> 10-15min? took me a full day - you think he has all the proper libs
[04:39] <burek> why on earth would you use a script for that?
[04:39] <burek> it's 3-4 commands
[04:39] <bf4648> Yes, just a sec..I'll get u the link to the script
[04:40] <bf4648> really...how so?
[04:40] <burek> you just need (in your case) to install libx264
[04:40] <burek> that's all
[04:40] <newl> how do you know what is causing the fuzzy - could be libavformat?
[04:40] <burek> newl, I told before
[04:40] <burek> ffmpeg should just copy the a/v stream
[04:41] <burek> but his version of ffmpeg reencodes it instead
[04:41] <burek> thats where fuzzyness comes from
[04:42] <bf4648> could you download the sample in the ffmpeg bug report link & attempt to do a -vcodec copy -acodec copy /
[04:42] <bf4648> ?
[04:43] <bf4648> Here's the link to the script that I use to install ffmpeg: http://code.google.com/p/x264-ffmpeg-up-to-date/
[04:44] <burek> wait
[04:44] <newl> round about and drawn out process to get the world to see that goatse guy
[04:45] <bf4648> newl...what? goatse guy?
[04:45] <bf4648> Here's the link directly to the sh script: http://code.google.com/p/x264-ffmpeg-up-to-date/downloads/detail?name=ffmpe…
[04:46] <hackeron> sox has an option --ignore-length -- so I can do curl http://admin:@192.168.0.108/audio.cgi | sox --ignore-length - -o test.wav --- is there any equivalent in ffmpeg?
[04:46] <burek> bf4648, your sample is not valid
[04:46] <burek> you just cut the first part of the file
[04:46] <burek> no moov atom (metadata)
[04:46] <burek> so its unusable
[04:46] <bf4648> ok..how do I fix that?
[04:47] <burek> just compile ffmpeg
[04:47] <bf4648> alright...how do I do it w/ out the script?
[04:47] <burek> and for god's sake, don't use scripts
[04:47] <burek> for compilation
[04:47] <burek> just do
[04:47] <burek> apt-get install libmp3lame
[04:47] <burek> read this how to compile latest libx264
[04:47] <burek> http://pastebin.com/LhRkXhzZ
[04:48] <burek> and read this how to compile latest ffmpeg
[04:48] <burek> http://pastebin.com/7ngnxisS
[04:48] <bf4648> my distro isn't up 2 date though so apt-get install won't give me the latest
[04:48] <burek> or read the topic of this channel if you need the complete tutorial
[04:49] <burek> hackeron, what exactly ignore-length does?
[04:50] <hackeron> burek: ignores the length of the header - IP cameras set a WAVE header to a default length of 32 seconds but give an endless audio stream
[04:51] <hackeron> burek: ffmpeg stops reading after 32 seconds and hangs there - I would like some way of telling ffmpeg to ignore the duration and just keep encoding till EOF
[04:51] <hackeron> like --ignore-length in sox
[04:52] <newl> hackeron: doesn't it do that anyway?
[04:52] <hackeron> newl: no, it stop reading after 32 seconds and hangs there waiting for an EOF that never comes
[04:53] <burek> hackeron, did you try -loop 1
[04:53] <hackeron> newl: here's a related issue with vlc: http://forum.videolan.org/viewtopic.php?f=14&t=92003 - in VLC you can use :loop which isn't ideal but works - I'm after either looping or telling ffmpeg to ignore the reported length in the WAVE header
[04:54] <bf4648> burek...found out why my sudo apt-get dist-upgrade doesn't work: apt-get dist-upgrade will not upgrade the distribution, it will upgrade the packages of the current distribution:
[04:55] <burek> bf4648, http://pastebin.com/GXmbYV6x
[04:55] <hackeron> burek: that says Invalid value '1' for option 'loop'
[04:55] <burek> it takes 15 mins max
[04:55] <burek> hackeron, then you have an old ffmpeg
[04:55] <burek> use -loop_input
[04:55] <hackeron> burek: says "Currently it works only for image streams."
[04:55] <bf4648> lol...yes I will follow those instructions but I wanted to know why it wasn't working
[04:56] <hackeron> burek: and tried it anyway, ffmpeg froze at 32.76 seconds
[04:56] <burek> bf4648, your distribution maintainer decided (for some reason) to use that svn version of your ffmepg, so you actually do have "the latest" version that your maintainer supports
[04:57] <burek> which is obviously not the one you need
[04:57] <bf4648> yup..exactly
[04:57] <newl> bf4648: cause int he code there is a if (bf4648) fuzzymode = 1;
[04:57] <burek> hackeron
[04:57] <burek> can you please use pastebin.com, to show your command line and its output?
[04:58] <burek> :)
[04:58] <hackeron> burek: http://pastie.org/2994411
[04:58] <hackeron> burek: it records till 32.76 seconds and stops there because the WAVE header reported by the IP camera says the length of the stream is 32 seconds
[04:59] <hackeron> you can see it in the pastebin too: Input #0, wav, from 'http://admin:@192.168.0.108/audio.cgi': Duration: 00:00:32.76, bitrate: N/A
[04:59] <hackeron> I need a way to tell ffmpeg that no, ignore that duration, it's not true
[05:00] <burek> yes I see
[05:00] <burek> I just don't understand why the camera uses wav with fixed duration
[05:00] <burek> for a stream..
[05:00] <hackeron> they all do, I donno either
[05:00] <hackeron> I guess its a requirement of the WAVE header? - I donno
[05:01] <burek> can you configure your camera audio output?
[05:01] <hackeron> no, I can enable and disable it, that's it
[05:01] <hackeron> it's a d-link camera - so not a no name brand one - panasonic cameras are the same :(
[05:02] <bf4648> I'm running "./configure --enable-static --enable-shared" but I'm getting "Found no assembler
[05:02] <bf4648> Minimum version is yasm-1.0.0
[05:02] <bf4648> If you really want to compile without asm, configure with --disable-asm.
[05:02] <bf4648> ...any ideas why?
[05:02] <hackeron> bf4648: install yasm?
[05:02] <impulze> probably beacause yasm isn't installed?
[05:02] <burek> apt-get install yasm
[05:02] <burek> bf4648,
[05:03] <burek> hackeron, just a second please
[05:03] <burek> i've asked this in developers' channel
[05:03] <burek> will see what do they say :)
[05:04] <hackeron> thanks :)
[05:04] <bf4648> sudo apt-get install yasm then ./configure --enable-static --enable-shared but then getting error message of "Found yasm 0.8.0.2194
[05:04] <bf4648> Minimum version is yasm-1.0.0
[05:04] <bf4648> If you really want to compile without asm, configure with --disable-asm.
[05:05] <bf4648> I'm just using the google script
[05:05] <impulze> do you actually read the errors?
[05:05] <bf4648> yes...but my distro is out of date & I don't know how to update it
[05:05] <hackeron> bf4648: but curl http://admin:@192.168.0.108/audio.cgi | sox --ignore-length - -o test.wav < works fine - just would be nice to do this with ffmpeg and with gstreamer that can use ffmpeg decoders and muxers :)
[05:05] <impulze> not our problem, really :S
[05:05] <burek> bf4648, i think your best bet is to read how to upgrade your ubuntu to 11.x?
[05:05] <burek> 10.x is way old
[05:06] <bf4648> It's the LTS
[05:06] <hackeron> bf4648: #ubuntu
[05:06] <bf4648> required to use LTS (Long Term Support Version)
[05:06] <bf4648> My workplace requires it
[05:06] <burek> bf4648, then use some other machine to compile ffmpeg
[05:06] <burek> and do the actual work on it..
[05:07] <burek> hackeron,
[05:07] <hackeron> bf4648: hen you're shit out of luck and jolly well.. you know :)
[05:07] <burek> can you please join #ffmpeg-devel
[05:07] <hackeron> well*
[05:07] <bf4648> lol..well why do they produce an Ubuntu LTS then
[05:08] <burek> also, hackeron you could use the latest ffmpeg :)
[05:09] <burek> because if that was a bug (the duration thing) it could have been already fixed so far :)
[05:09] <burek> bf4648, i dunno :)
[05:09] <burek> i guess they want to have a "stable" one :)
[05:10] <burek> anyway, you can disable asm
[05:10] <burek> just to see if the job can be done
[05:10] <impulze> i can guarantee there will be other issues
[05:12] <burek> me too, but still.. the hope dies the last :)
[05:12] <bf4648> alright...shell script isn't working...I guess I'll disable asm
[05:13] <burek> you don't need shell script..
[05:13] <burek> use the pastebin or topic's url and learn some stuff
[05:13] <burek> it's not that hard :)
[05:20] <bf4648> using ./configure --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-libx264 --enable-libaacplus results in the following message, "ERROR: libaacplus >= 2.0.0 not found"
[05:20] <bf4648> I'm following your paste bin
[05:20] <bf4648> http://pastebin.com/7ngnxisS
[05:21] <impulze> what did i tell you?
[05:21] <impulze> stop trying things that aren't possible
[05:21] <bf4648> yasm isn't install...
[05:21] <bf4648> install yasm
[05:22] <burek> bf4648, try this
[05:22] <burek> http://pastebin.com/GXmbYV6x
[05:22] <impulze> ffs
[05:22] <bf4648> ok mom
[05:22] <impulze> EOD for me
[05:22] <burek> or just do apt-get install x264
[05:22] <bf4648> working on it
[05:23] <burek> but in the end, you'll end up with problems, i agree :)
[05:23] <burek> you should use your home machine and latest ubuntu/debian
[05:25] <bf4648> true
[05:25] <bf4648> but not there
[05:27] <bf4648> what does the make command do any ways as well as the make install...create a binary & then install the binary?
[05:27] <burek> do you know what compiling means?
[05:28] <bf4648> make a binary?
[05:28] <bf4648> make install
[05:28] <bf4648> install -d /usr/local/bin
[05:28] <bf4648> install x264 /usr/local/bin
[05:28] <bf4648> install: cannot create regular file `/usr/local/bin/x264': Permission denied
[05:28] <bf4648> make: *** [install-cli] Error 1
[05:29] <bf4648> I did a sudo make install & it worked
[05:29] <burek> ok
[05:29] <burek> now ffmpeg
[05:29] <burek> :)
[05:31] <bf4648> yup...downloading it now
[05:31] <bf4648> Never did tell me what a make & make install does though
[05:32] <burek> it compiles source code and makes binaries out of it
[05:33] <bf4648> ok..so what does a make install do ..install the binary @ certain locations in ubuntu?
[05:33] <burek> yes
[05:33] <burek> so you can use it as any other system wide cmd
[05:34] <bf4648> alright...I got that one right
[05:34] <burek> if you want to remove that from your system
[05:34] <burek> just cd into that same directory
[05:35] <burek> and type make uninstall
[05:35] <bf4648> what about clean ?
[05:35] <burek> it removes compiled/linked files and leaves just the original source code
[05:36] <bf4648> interesting I didn't know the difference until you just explained it to me..I did know there was a difference though
[05:36] <bf4648> this is taking a while
[05:38] <impulze> yep, great idea to install into /usr where the package manager installs stuff
[05:38] <impulze> and executing stuff as superuser that you don't know anything about is a good idea too :P
[05:40] <bf4648> how would I install into /usr ?
[05:43] <bf4648> I'm @ the last step but can't update libraries: ldconfig results in "no command 'idconfig'
[05:44] <impulze> rigt
[05:44] <impulze> *right
[05:45] <bf4648> Why does it install into /usr/local/bin/ffmpeg instead of /usr/bin ?
[05:45] <bf4648> any idea?
[05:46] <bf4648> anybody?
[05:48] <burek> not idconfig
[05:48] <burek> sudo ldconfig
[05:48] <burek> LDCONFIG
[05:49] <burek> bf4648, you should read more about linux :)
[05:49] <burek> /usr/local is where you keep your local (compiled) stuff
[05:51] <bf4648> if I wanted to place ffmpeg into /usr/bin, how would I do that?
[05:52] <burek> i think the better question is why would you want to do that
[05:53] <impulze> perfect way to trash a system
[05:55] <bf4648> I see
[05:55] <bf4648> Well, same exact problem
[05:55] <bf4648> w/ the newest version of ffmpeg
[05:55] <bf4648> video is "fuzzy"
[05:55] <burek> bf4648, is the original video fuzzy too?
[05:56] <bf4648> nope..crystal clear
[05:56] <burek> can you please use pastebin.com, to show your command line and its output?
[05:56] <bf4648> alright...just a sec
[05:57] <bf4648> http://pastebin.com/F08P2ugT
[05:59] <bf4648> last line says: "frame= 239 fps= 0 q=-1.0 Lsize= 826kB time=00:00:06.75 bitrate=1001.1kbits/s " ....fps = 0 ...that's no normal is it?
[06:00] <burek> that's summary
[06:00] <burek> i think you just found a bug :)
[06:00] <bf4648> oh wonderful...I got to resubmit that ticket
[06:01] <burek> wait :)
[06:02] <bf4648> yup, I'm waiting...
[06:05] <burek> bf4648, can you try without -ss and -t
[06:05] <burek> to see if the result will be the same as the input
[06:06] <bf4648> yup
[06:06] <bf4648> hold on
[06:08] <bf4648> same problem
[06:09] <bf4648> want to see my paste bin?
[06:09] <burek> same?
[06:10] <burek> hmh.. gee..
[06:10] <burek> yes please
[06:12] <burek> also, is it possible that you create a small output, for example -t 5
[06:12] <burek> and upload it as an example?
[06:12] <burek> so we can see what "fuzzy" means
[06:12] <burek> :)
[06:12] <bf4648> I accidently corrupted the file so I'm going to have to get a fresh copy just a sec
[06:12] <burek> ok
[06:14] <burek> (also, update your bug report, so that people don't yell at you for using SVN version) :)
[06:15] <bf4648> Already updated the report
[06:15] <bf4648> Alright...submitted w/ out the -ss & -t options results in an exact copy of the original w/ no fuzzyness
[06:16] <bf4648> but w/ the -ss & -t options results in "fuzzyness"
[06:20] <bf4648> Here's my pastebin w/ the most recent ffmpeg version: http://pastebin.com/Z2xw9nMF
[06:22] <burek> how would you describe what's "fuzzyness"
[06:24] <bf4648> Alight...just download the newly attached fuzzy file using the following link: http://ffmpeg.org/trac/ffmpeg/attachment/ticket/728/
[06:24] <bf4648> I'm playing the file w/ vlc player
[06:29] <bf4648> any idea burek?
[06:35] <bf4648> u there?
[07:04] <burek> bf4648, ok, i guess you can now only wait to see if any of developers can reproduce the same thing
[07:04] <burek> if you can, provide the small original + small fuzzy output of that original
[07:05] <burek> that would create the fastest results
[09:11] <jeremyS> How do the packing formats work in libavfilter?
[09:11] <jeremyS> I understand that AVFILTER_PACKED means that all the data is in one buffer interleaved a sample at a time.
[09:13] <jeremyS> But how does PLANAR work? Is it broken up into each of the data[i] fields?
[09:19] <ubitux> yes, one channel per data afaik
[09:20] <ubitux> but i don't know if it is really raised actually
[09:20] <ubitux> since the planar formats were introduced recently
[09:20] <ubitux> you may ask on #ffmpeg-devel btw
[09:20] <ubitux> this is related to development
[09:37] <Peace-> hi i have a problem with ffmpeg and gif
[09:38] <Peace-> i used this
[09:38] <Peace-> ffmpeg -s $(xrandr | awk '/, current /{print $8}')x$(xrandr | awk '/, current /{gsub(/\,/,"");print $10}') -f x11grab -r 10 -i :0.0 -b 500k -pix_fmt rgb24 -y -loop_output 0 output.gif
[09:38] <Peace-> now ... it's working but te files are too much big
[09:38] <Peace-> and the quality sucks
[09:38] <Peace-> i have tried to reduce the frame rate
[09:38] <Peace-> and bitrate
[09:39] <Peace-> but no way i get 30mb for 10 seconds with 5kb for bitrate
[09:39] <Peace-> with the byzaz recorder i get 10 time less space for my file
[14:28] <Hattori> hello
[14:29] <Hattori> i'm trying to run the same watermarking command on 2 different machines
[14:29] <Hattori> centOS and ubuntu
[14:29] <Hattori> on ubuntu i got it working, on centOs is giving me an error
[14:29] <Hattori> i think i've installed ffmpeg pretty much in the same way
[14:30] <Hattori> but on ubuntu it works, in centOS doesn't
[14:30] <Hattori> http://pastebin.com/4dVbkTtW
[14:30] <Hattori> here is the detail of what is happening
[14:30] <Hattori> anybody have a clue of what is going on?
[14:41] <JodaZ> Hattori, i asume something is wrong with image2 on the cent os
[14:42] <Hattori> what is image2?
[14:44] <JodaZ> good question, i wonder what library is used for it
[14:49] <JodaZ> Hattori, try another image format, bmp or something
[15:03] <GordonFreeman> what is your opinion about Fractal Image Compression ?
[15:36] <Hattori> yeah in the end it looks like is the png that was screwed
[15:40] <exiff> hello
[16:06] <ludde> what are recommended libx264 options for getting good picture quality?
[16:49] <dashcloud> ludde: you'll want to use one of the x264 presets, and use 2 pass if you need a certain size, otherwise use crf
[16:50] <JEEB> http://mewiki.project357.com/wiki/X264_Settings#preset
[18:01] <ludde> dashcloud: what is crf
[18:09] <sacarasc> ludde: Constant Rate Factor, it's quality based encoding rather than size based.
[18:57] <ludde> how slow are the various x264 presets relative to the quality?
[19:19] <ludde> what does the q=29.0 thing mean in the log output
[20:12] <pisto> hi. I'm trying to add an audio stream to a mkv which has a video stream plus many subtitle tracks. is there a way to apply -scodec copy to all of the subtitles? It seems tat it copies only the first stream instead.
[20:19] <sacarasc> pisto: Try using mkvmerge instead, or, to make it even easier, mmg (mkvmerge GUI).
[20:24] <pisto> sacarasc, thanks, but I tried ffmpeg -i input1.mkv -i input2.dts -map 0 -map 1 -scodec copy -acodec copy -vcodec copy outfile.mkv and it worked.
[21:30] <Muzer> I'm trying to use ffmpeg to generate files that are playable on the 3DS. I first tried to write my own command with which to do it, but whatever I tried, I couldn't get the 3DS to recognise the video. I then found a set of three commands online, and they worked fine. But I can't figure out what the difference is, why theirs works and mine doesn't - it would be nice to be able to use one command as that would save time and st
[21:30] <Muzer> orage space.
[21:30] <Muzer> I'll just pastebin the commands I've tried
[21:50] <Muzer> ah, the two -sses needed to come before the two -is
[21:50] <Muzer> er, or maybe not...
[21:54] <Muzer> oh, hang on, did anyone actually receive the messages I sent?
[21:55] <cbsrobot> Muzer: no
[21:56] <Muzer> ah.
[21:56] <Muzer> I'll pastebin them all
[21:56] <Muzer> http://pastebin.com/7qQtku14
[21:58] <Muzer> I'm still trying a few combinations of -ss in different places as I think that might be the key...
[21:59] <cbsrobot> that looks wron: scale=427:240
[21:59] <cbsrobot> *wrong
[21:59] <Muzer> it's right, that scales to around 16:9 (couldn't get the exact ratio), then the pad adds black bars
[21:59] <burek> Muzer, -ss before -i makes ffmpeg just skip the input frames (this is not very precise)
[21:59] <burek> and -ss after -i makes ffmpeg first process input frames
[21:59] <burek> (decode)
[22:00] <burek> and then to seek, which is very precise
[22:00] <Muzer> the only combination I've managed to get to play so far is -ss after the first -i and the second -i
[22:00] <cbsrobot> My advice: never scale to odd numbers
[22:00] <Muzer> but that causes the video to be different for each eye
[22:00] <Muzer> which is... just weird :p
[22:00] <Muzer> cbsrobot: but I'm padding to even numbers afterwards, shouldn't that make it all right?
[22:00] <Muzer> (the final video ends up at 480x240)
[22:01] <cbsrobot> whats your input width and height ?
[22:02] <burek> also -s and -aspect are opposite options, you only actually need one of them, not both
[22:02] <cbsrobot> and yes you can do it - but I do not recommend it
[22:02] <burek> -s 800x240 -aspect 2:1 ?
[22:02] <burek> 800:400 = 2:1
[22:02] <burek> but 800:240=..?
[22:03] <Muzer> cbsrobot: 1920x1080, sbs (so 960x1080 per eye)(
[22:03] <Muzer> burek: that's in the command I got off the internet, not mine
[22:03] <Muzer> that's the one that works
[22:03] <Muzer> (I don't think the 3DS actually looks at the aspect, as it's undefined in its own camera videos)
[22:04] <Muzer> but yeah... what combination of -ss should I be using, first of all? I obviously want both sides to be at the same point, and I don't want one to be shorter than the other (which seems to happen a lot for some reason)
[22:05] <Muzer> (I use -ss because there's decoding errors at the start, it being broadcast it just starts in the middle of a stream without a keyframe)
[22:07] <burek> then use -ss AFTER -i
[22:07] <burek> so you'll have a properly decoded frames to seek to
[22:10] <Muzer> but which -i? One or both?
[22:10] <Muzer> because I've tried both
[22:12] <burek> ok, so you have an input
[22:12] <burek> that has 1 video, split horizontally
[22:12] <burek> which you want to split into 2 video streams
[22:12] <burek> muxed in 1 container (file)
[22:12] <burek> ?
[22:13] <Muzer> yes
[22:13] <Muzer> the second set of commands works perfectly, but it is too awkward and takes up more space as it does it in three parts.
[22:13] <Muzer> so I'd like to have a one-liner if possible
[22:15] <cbsrobot> Muzer try: ffmpeg -i in3d.ts -map 0:1 -map 0:0 -ss 60 -t 10 -qscale 1 -vf yadif,crop=960:1080:0:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -acodec libmp3lame -ar 44100 -ab 96k -ac 2 VID_0042.AVI -i in3d.ts -ss 60 -t 10 -qscale 1 -vf yadif,crop=960:1080:960:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -map 1:0 -newvideo
[22:15] <cbsrobot> I changed the audio codec - just to be sure it's not because of the audio
[22:15] <cbsrobot> and its untested btw
[22:15] <Muzer> cbsrobot: note that the third command in the set of three that works puts it back to the ima audio codec
[22:16] <Muzer> the mp3 one is obviously just used as an interim
[22:16] <Muzer> (horrible!)
[22:16] <cbsrobot> ah ok
[22:16] <cbsrobot> so
[22:16] <cbsrobot> ffmpeg -i in3d.ts -map 0:1 -map 0:0 -ss 60 -t 10 -qscale 1 -vf yadif,crop=960:1080:0:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -acodec adpcm_ima_wav -ac 2 -ar 44100 -ab 96k VID_0042.AVI -i in3d.ts -ss 60 -t 10 -qscale 1 -vf yadif,crop=960:1080:960:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -map 1:0 -newvideo
[22:17] <Muzer> Codec type mismatch for mapping #1.0 -> #0.2
[22:17] <cbsrobot> shit ok wait
[22:17] <Muzer> pretty sure we want the last map command to be 1:1
[22:17] <Muzer> because 1.0 is audio, 0.2 is video
[22:17] <Muzer> I'll give it a try with that
[22:18] <cbsrobot> maybe: ffmpeg -i in3d.ts -map 0:1 -map 0:0 -ss 60 -t 10 -qscale 1 -vf yadif,crop=960:1080:0:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -acodec adpcm_ima_wav -ac 2 -ar 44100 -ab 96k VID_0042.AVI -i in3d.ts -ss 60 -t 10 -qscale 1 -vf yadif,crop=960:1080:960:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -an -map 1:0 -newvideo
[22:20] <burek> i always thought -newvideo should go first, kinda like -i goes before -vcodec -acodec and stuff
[22:20] <Muzer> cbsrobot: that causes the two streams to be at different points.
[22:20] <Muzer> burek: yeah, I found that odd...
[22:21] <Muzer> the input file, if you're interested, is 3D video recorded from the Astra 3D demo channel at 19.2°E
[22:21] <cbsrobot> did you use 1:1 ?
[22:21] <cbsrobot> -map 1:1 ?
[22:23] <ubitux> wasn't -newvideo removed?
[22:24] <Muzer> cbsrobot: yeah
[22:24] <cbsrobot> so: ffmpeg -ss 60 -i in3d.ts -t 10 -map 0:1 -map 0:0 -t 10 -qscale 1 -vf yadif,crop=960:1080:0:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -acodec adpcm_ima_wav -ac 2 -ar 44100 -ab 96k VID_0042.AVI -ss 60 -i in3d.ts -t 10 -qscale 1 -vf yadif,crop=960:1080:960:0,scale=416:234,pad=480:240:32:2 -r 20 -vcodec mjpeg -an -map 1:1 -newvideo
[22:24] <Muzer> what I don't get, though, is why the two streams end up different lengths when I do -ss before the output filename
[22:24] <Muzer> because surely that should mean that it seeks in the output... so it should cut off both streams at the same point?
[22:25] <Muzer> doesn't seem to make any sense...
[22:25] <burek> try this: ffmpeg -y -i "in3d.ts" -ss 60 -t 10 -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=400:240:0:0 -acodec adpcm_ima_wav -ac 2 -ar 44100 final.avi -ss 60 -t 10 -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=400:240:400:0 -an -newvideo
[22:25] <cbsrobot> ubitux: yeah I think so
[22:26] <Muzer> hmm... my copy obviously didn't get that memo ;)
[22:26] <Muzer> not sure what version I'm using...
[22:26] <ubitux> -s ? you should use -vf scale instead
[22:26] <Muzer> 0.7.8
[22:27] <Muzer> burek: trying...
[22:27] <Muzer> burek: that looks promising.
[22:27] <burek> if you make it work, just get rid of all -s -aspect and :scale
[22:27] <burek> i mean, choose just one of them
[22:28] <Muzer> both the same length, and the right part of the video
[22:28] <Muzer> I'll give it a go
[22:28] <burek> ok
[22:28] <Muzer> what exactly is the main difference? The fact that you didn't use a second -i?
[22:29] <burek> well, yes, when you use -newvideo
[22:29] <burek> its like you are starting a new set of input/output options
[22:29] <burek> i figure it like the ffmpeg only keeps the -i
[22:29] <burek> so you don't have to repeat it
[22:29] <burek> the rest is cleared
[22:30] <burek> so i just appended the 2nd command to the 1st
[22:30] <burek> after the output final.avi
[22:30] <burek> and that's it
[22:30] <burek> the 3rd cmd isn't needed actually, because all it was doing was -vcodec copy -acodec copy
[22:30] <Muzer> I think that has worked :)
[22:31] <ludde> i want to make video optimized for internet streaming.. should I use the -b:v flag, or is VBV preferred?
[22:32] <burek> ludde, every video is optimized for internet streaming :D
[22:32] <burek> if you have enough bandwidth ^^
[22:32] <ludde> optimized kinda implies that you don't have enough bandwidth, otherwise there'd be no need for optimization.
[22:33] <ludde> :)
[22:33] <Muzer> thanks a lot... I'll try to adapt mine to have the same format as it, as I also prefer my options (retains the correct aspect ratio, does some other nice things)
[22:33] <burek> ok :beer: :)
[22:34] <Muzer> done this works :D ffmpeg -i in3d.ts -ss 60 -t 10 -qscale 1 -vf yadif,crop=960:1080:0:0,scale=427:240,pad=480:0:'(ow-iw)'/2:0 -r 20 -aspect 2 -vcodec mjpeg -acodec adpcm_ima_wav -ac 1 -ar 16k 3dsmall.avi -ss 60 -t 10 -vf yadif,crop=960:1080:960:0,scale=427:240,pad=480:0:'(ow-iw)'/2:0 -r 20 -qscale 1 -aspect 2 -vcodec mjpeg -an -newvideo
[22:34] <burek> -aspect should be x:y ?
[22:35] <Muzer> I thought it also accepted film-style aspects (with just one figure)
[22:36] <Muzer> but anyway, aspect isn't read by 3DS AFAICT
[22:36] <Muzer> hmm... the extra 80 pixels aren't actually used... how odd
[22:37] <Muzer> (even though its own video is taken in 480x240)
[22:38] <burek> why do you use scale
[22:38] <Muzer> <@ubitux> -s ? you should use -vf scale instead
[22:38] <Muzer> also, it happens to be the one I found first :p
[22:38] <burek> ok, then why do you use -aspect
[22:39] <burek> you do realize that those options all do the same thing, right?
[22:39] <Muzer> otherwise for some reason it decides it should be a 1:1 aspect
[22:39] <Muzer> (I've tried it without)
[22:39] <burek> putting them together in the same line may give you unexpected results
[22:39] <Muzer> 3DS doesn't care, but it looks stretched on a PC
[22:40] <burek> you wanted to crop the half of the video and then to strech it horizontally twice the width, right?
[22:41] <Muzer> mm
[22:41] <Muzer> yeah
[22:42] <burek> then just remove: ,scale=427:240,pad=480:0:'(ow-iw)'/2:0
[22:42] <Muzer> but then it won't be the right size...
[22:43] <burek> what size do you need it to be
[22:43] <Muzer> 400-480x240
[22:43] <burek> I don't understand
[22:44] <Muzer> what that big monster of a command does: yadif,crop=960:1080:0:0,scale=427:240,pad=480:0:'(ow-iw)'/2:0
[22:44] <Muzer> * Deinterlace
[22:44] <Muzer> * Crop away the right half of the video
[22:44] <Muzer> * Scale it to 427x240 (bringing it to the original 16:9 aspect ratio, or near enough)
[22:44] <Muzer> * Padding the extra with black bars
[22:45] <Muzer> finally making it 480x240
[22:46] <Muzer> then the -aspect 2 sets the aspect ratio to be 2:1, making it look OK when played through a computer (otherwise it tries to keep the original aspect ratio, causing it to become 1:1 as the original aspect ratio was wrong because it's SBS 3D)
[22:46] <burek> so, you want to have a video of 427x240 in the black frame of 480x240
[22:46] <Muzer> yes
[22:46] <Muzer> and this way works
[22:47] <burek> ok
[22:49] <ludde> is there some way to analyze an mp4 file to look at the bitrate curve, keyframe interval, etc?
[22:53] <burek> ludde, virtualdub, avidemux, adobe premiere..?
[22:53] <ludde> okay
[22:54] <ludde> virtualdub can't open mp4 files
[22:55] <burek> remux it into avi :)
[22:58] <ludde> does opengop worsen seek performance?
[23:11] <JEEB> also remember that open gop isn't spec'd in mp4 container
[23:11] <JEEB> they still haven't decided how to specify points at which you can "start decoding"
[23:13] <GordonFreeman> http://imgbit.com/images/48e70cac5b1256227869.jpg
[23:13] <GordonFreeman> some CSI megazoom ;>
[23:25] <knneth> GordonFreeman: haha. you made my day!
[23:30] <ludde> JEEB: okay
[23:30] <ludde> JEEB: but you can only start decoding at keyframes, right?
[23:42] <exiff> how do I make ffplay show subtitles?
[23:47] <ubitux> you can use vf ass ATM, but that's all
[23:49] <exiff> and how do I "use vf ass"?
[00:00] --- Sun Dec 11 2011
1
0
[00:18] <CIA-41> ffmpeg: 03Mans Rullgard 07master * r392107ad07 10ffmpeg/libavcodec/arm/ (rv40dsp_init_neon.c rv40dsp_neon.S):
[00:18] <CIA-41> ffmpeg: rv40: NEON optimised rv40 qpel motion compensation
[00:18] <CIA-41> ffmpeg: Based on patch by Janne Grunau.
[00:18] <CIA-41> ffmpeg: Signed-off-by: Mans Rullgard <mans(a)mansr.com>
[00:18] <CIA-41> ffmpeg: 03Paul B. Mahol 07master * r04a5eaa1a5 10ffmpeg/libavcodec/cljr.c:
[00:18] <CIA-41> ffmpeg: cljr: release picture at end of decoding
[00:18] <CIA-41> ffmpeg: Otherwise after transcoding from cljr we get: Found 1 unreleased buffers!
[00:18] <CIA-41> ffmpeg: Signed-off-by: Janne Grunau <janne-libav(a)jannau.net>
[00:19] <CIA-41> ffmpeg: 03Diego Biurrun 07master * r9a5d6c23c5 10ffmpeg/ (5 files in 3 dirs): tests/tools/examples: Replace direct exit() calls by return.
[00:19] <CIA-41> ffmpeg: 03Diego Biurrun 07master * r4dccfff9dd 10ffmpeg/ (4 files in 3 dirs): tests/examples: Mark some variables only used within their files as static.
[00:19] <CIA-41> ffmpeg: 03Diego Biurrun 07master * r47b20a1db0 10ffmpeg/doc/Makefile: build: merge lists of HTML documentation targets
[00:19] <CIA-41> ffmpeg: 03Paul B Mahol 07master * re93947b7d8 10ffmpeg/ (6 files in 4 dirs):
[00:19] <CIA-41> ffmpeg: cljr: add encoder
[00:19] <CIA-41> ffmpeg: Signed-off-by: Diego Biurrun <diego(a)biurrun.de>
[00:19] <CIA-41> ffmpeg: 03John Brooks 07master * r8562d9bd6c 10ffmpeg/libavcodec/shorten.c:
[00:19] <CIA-41> ffmpeg: shorten: avoid abort() on unknown audio types
[00:19] <CIA-41> ffmpeg: Signed-off-by: Janne Grunau <janne-libav(a)jannau.net>
[00:19] <CIA-41> ffmpeg: 03Luca Barbato 07master * rf75e3d25d0 10ffmpeg/avconv.c:
[00:19] <CIA-41> ffmpeg: avconv: remove unsubstantiated comment
[00:19] <CIA-41> ffmpeg: All the currently supported OS-es manage to use return values
[00:19] <CIA-41> ffmpeg: properly.
[00:19] <CIA-41> ffmpeg: 03Luca Barbato 07master * r12dca02e9e 10ffmpeg/doc/general.texi: doc: add pulseaudio to the input list
[00:19] <CIA-41> ffmpeg: 03Paul B Mahol 07master * rca52bae6ec 10ffmpeg/libavcodec/cljr.c:
[00:20] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r25b9eef410 10ffmpeg/: (log message trimmed)
[00:20] <CIA-41> ffmpeg: Merge remote-tracking branch 'qatar/master'
[00:20] <CIA-41> ffmpeg: * qatar/master:
[00:20] <CIA-41> ffmpeg: cljr: K&R cosmetics
[00:20] <CIA-41> ffmpeg: cljr: return a more sensible value when encountering invalid headers
[00:20] <CIA-41> ffmpeg: cljr: drop unnecessary emms_c() calls without MMX code
[00:20] <CIA-41> ffmpeg: cljr: remove useless casts
[00:20] <CIA-41> ffmpeg: 03Sean McGovern 07master * rbe0675ce67 10ffmpeg/libavutil/x86/cpu.c:
[00:20] <CIA-41> ffmpeg: x86 cpuid: set vendor union members separately
[00:20] <CIA-41> ffmpeg: Solaris Studio (suncc) has difficulty with filling in
[00:20] <CIA-41> ffmpeg: members of a union. Instead, let's retrieve and store the
[00:20] <CIA-41> ffmpeg: cpuid() results separately. This is still a compiler bug,
[00:21] <CIA-41> ffmpeg: however this fix does not cause a regression on other platforms.
[00:21] <CIA-41> ffmpeg: Signed-off-by: Janne Grunau <janne-libav(a)jannau.net>
[01:23] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r43a36ad2ee 10ffmpeg/libavcodec/cljr.c:
[01:23] <CIA-41> ffmpeg: cljrenc: Add dither to avoid the banding artifcats caused by the very low
[01:23] <CIA-41> ffmpeg: number of bits used to represent brightness levels.
[01:23] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:04] <bcoudu> Tjoppen, are you around ?
[02:49] <Compn> http://hosted.ap.org/dynamic/stories/U/US_CIA_ROMANIA?SITE=AP&SECTION=HOME&…
[03:47] <CIA-41> ffmpeg: 03Michael Niedermayer 07release/0.8 * rd38580a7bb 10ffmpeg/libavformat/mpegtsenc.c: (log message trimmed)
[03:47] <CIA-41> ffmpeg: mpegtsenc: fix handling of large audio packets
[03:47] <CIA-41> ffmpeg: (sorry i have no sample, just a user report)
[03:47] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[03:47] <CIA-41> ffmpeg: (cherry picked from commit e31c5ebe1146d98d17a5121312c5444432c81904)
[03:47] <CIA-41> ffmpeg: Conflicts:
[03:47] <CIA-41> ffmpeg: libavformat/mpegtsenc.c
[08:48] <Tjoppen> bcoudu: I am now
[10:44] <CIA-41> ffmpeg: 03Michael Niedermayer 07release/0.7 * r0125c10217 10ffmpeg/libavformat/mpegtsenc.c: (log message trimmed)
[10:44] <CIA-41> ffmpeg: mpegtsenc: fix handling of large audio packets
[10:44] <CIA-41> ffmpeg: (sorry i have no sample, just a user report)
[10:44] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[10:44] <CIA-41> ffmpeg: (cherry picked from commit e31c5ebe1146d98d17a5121312c5444432c81904)
[10:44] <CIA-41> ffmpeg: Conflicts:
[10:44] <CIA-41> ffmpeg: libavformat/mpegtsenc.c
[13:25] <Tjoppen> one thing to consider for mxfdec is to sort material tracks by TrackID
[13:25] <Tjoppen> atm it can end up seeking semi-randomly unless the tracks are in order
[13:25] Action: av500 will publish these irc logs as the "MXF monologues" one day...
[13:27] <Tjoppen> heh
[13:39] <kcm1700> ls
[13:39] <kcm1700> oops sorry
[14:22] <ubitux> michaelni: why don't you ask for specs, samples, bugreports & contributions instead? :)
[14:22] <ubitux> also, flattr should be able to handle donations easily
[14:23] <ubitux> and also, we might need donations for hosting at least
[14:24] <ubitux> anyway, i'm sure the mentionned ffmtech can handle this nicely :)
[15:24] <OanaStratulat> I have a task for GCI to find bugs in ffmpeg. is there a set of files on which i can test like the fate system for libav?
[15:56] <CIA-41> ffmpeg: 03Stefano Sabatini 07master * ra1c676c248 10ffmpeg/doc/filters.texi: filters.texi: remove confusing reference to never integrated -af option
[18:31] <Compn> oh man
[18:31] <Compn> i sent huge email
[18:31] <Compn> about ffmtech
[18:32] <Compn> in reply to michaelni's donation leaks patch
[18:34] <av500> donations leaked?
[18:34] <Compn> no
[18:34] <Compn> donation and wikileaks news entry
[18:37] <av500> ah you plan to travel to russia :)
[18:39] <Compn> i forgot kostya isnt in russia anymore
[18:39] <Compn> or ukraine
[18:39] <Compn> was going to ask him whats going on over there
[18:51] <ubitux> i must say it's a bit frustrating not having some view on what's going on @ffmtech
[18:51] <ubitux> i think i know who they are but there is no visibility on what they do
[18:53] <ubitux> btw, does anyone know the kind of visual difference we observe when fading two colors with the interpolating method and the "constant" one?
[18:54] <ubitux> interpolating: the component speed is different so all the component reach the final second color at the same time
[18:55] <ubitux> constant: the component are changed with constant (same constant between comp, whatever the differences)
[18:56] <ubitux> example: 0xFFAA00 0x000000; with interpolation the green will decrease slower than the red, while with the second method the green will reach 0x00 faster than the red
[18:57] <ubitux> (is there a name for the second method so i could google)
[18:57] <ubitux> +?
[19:02] <kierank> tis a bit silly to put that wikileaks thing up
[19:02] <kierank> makes ffmpeg look less professional
[19:02] <kierank> makes it look childish in fact
[19:03] <ubitux> i'd say it looks more like robin hood
[19:03] <gnafu> If you care about donating to WikiLeaks, I would certainly hope you're already aware of them.
[19:03] <ubitux> i don't agree with the "childish"
[19:04] <ubitux> the idea of giving to other is pretty nice imo
[19:04] <ubitux> i might not have selected wikileaks though, but why not&
[19:06] <Compn> how is it childish kierank ?
[19:06] <buzz_> which wikileaks thing ?
[19:06] <Compn> i'm just curious
[19:06] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r523da37f4c 10ffmpeg/libavcodec/cljr.c:
[19:06] <CIA-41> ffmpeg: cljrenc: 2x2 ordered dither support.
[19:06] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:06] <buzz_> got a link ?
[19:06] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r74d9b21340 10ffmpeg/libavcodec/cljr.c:
[19:06] <CIA-41> ffmpeg: cljrenc: add AVOption to disable dither
[19:06] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[19:06] <Compn> buzz_ : ffmpeg-devel list, michael's patch for news entry
[19:06] <buzz_> k
[19:07] <Compn> just posted in the last two days
[19:07] <Compn> kierank : are you saying the wording is childish or the donating to wikileaks ?
[19:07] <buzz_> i dont see a problem with that news at all
[19:08] <Compn> ubitux : you want to say that about ffmtech to the list ? if they get enough people saying they have a problem, maybe they will fix it ?
[19:08] <kierank> donating to wikileaks part
[19:08] <kierank> it sounds like ffmpeg has a political agenda
[19:09] <Compn> ffmpeg had an anti-software patents political agenda
[19:09] <Compn> which i think we all agreed to
[19:09] <kierank> yes but that has little link to wikileaks
[19:09] <buzz_> erm.. well. it does of course.. in regards to patents and openess
[19:09] <kierank> like if it was donate to the eff that would be ok
[19:09] <kierank> (imo)
[19:09] <Compn> wikileaks has released cables and documents which show secret copyright and patent talks, i think
[19:10] <buzz_> kierank, well. feel free to suggest to donate to that on projects you run then :)
[19:10] <Compn> and no matter how good the eff is, they are not able to uncover secret documents
[19:10] <kierank> problem is all the secret stuff wikileaks releases has no context
[19:11] <kierank> anyway this is miles OT now
[19:11] <Compn> i like hearing new opinions, but ok
[19:12] <Compn> your point is true, wikileaks does not have a direct affect on ffmpeg
[19:12] <Compn> effect*
[19:12] <buzz_> http://www.digitalmajority.org/forum/t-273057
[19:12] <buzz_> and there is plenty more
[19:12] <Compn> but like SOPA / ip protect act, it can be used in the future to halt copyright / software patent violators
[19:13] <Compn> i mean, wikileaks can be used to find and uncover plots that can affect ffmpeg
[19:13] <Compn> its a weak link tho, i cant prove it :D
[19:13] <Compn> oh, nice url buzz_
[19:13] <Compn> seems like what i was looking for
[19:13] <ubitux> Compn: maybe next time& i don't like like being involving myself in this
[19:14] <ubitux> i'm pretty new to the project and there are various things i'm not aware of
[19:14] <Compn> ubitux : somehow i thought you may be scared of political retributions :P
[19:14] <Compn> not you personally, but speaking of devs generally
[19:14] <nevcairiel> I would just try to not get involved in all the drama around wikileaks, there are plenty of open-source foundations that take donations and have a more immediate assocation
[19:14] <buzz_> you dont need to get involved. its just a paragraph of text with a donation suggesxtion
[19:15] <buzz_> nothing more
[19:15] <ubitux> Compn: i'm not sure to get you
[19:15] <Compn> btw, those suggesting the EFF, you know the EFF is involved with wikileaks? https://www.eff.org/wikileaks
[19:15] <ubitux> it seems the political stuff are the more animated talks in ffmpeg :p
[19:16] <ubitux> i'm not sure i'm needed in them ;)
[19:16] <buzz_> i need some curry
[19:16] <Compn> ubitux : oh, i have assumed too much , sorry
[19:17] <Compn> i'm just trying to get ffmtech to do _something_
[19:19] <ubitux> :)
[19:19] <Compn> i dont care what the something is
[19:20] <Compn> nevcairiel : i think j-b had problems with the fsf (did they ever apologize??) , but i think the wikileaks thing is because their funding was cut off from mastercard + visa
[19:21] <Compn> so its either donate now or its gone.
[19:21] <j-b> they never apologised
[19:21] <Compn> lawyers never do, that would be admitting guilt :)
[19:21] <j-b> and they are not pleased, because I've been ridiculing them quite a bit.
[19:21] <Compn> did they ever remove 'drm' from the title of that page ?
[19:22] <j-b> so, now, libreoffice hates the FSF and goes to MPLv2. Mozilla ignores the FSF. Debian ignores it too.
[19:22] <Compn> i had to reread that whole thread :D
[19:22] <j-b> VideoLAN is not friend with FSF anymore.
[19:22] <j-b> so, who are they fighting for?
[19:23] <gnafu> j-b: The enemy of their enemy is their friend, I guess.
[19:23] <Compn> kierank : anyways, i agree its strange seeing ffmpeg take political opinions, because it hasnt in the past
[19:23] <ubitux> what's the fsf story about?
[19:23] <Compn> kierank: and i'm not sure its best for the project, also i think fabrice should be asked, since its his trademark
[19:23] <j-b> not minding their own business without asking
[19:24] <j-b> and spreading lies and FUD
[19:24] <ubitux> j-b: may i have a link or so? :)
[19:24] <j-b> no, look for it. I am bored of that.
[19:24] <ubitux> ok sorry
[19:25] <Compn> fsf made a story about vlc and the apple app store, because one developer made a copyright complaint about it and apple kicked it off
[19:25] <j-b> no, this is way more complex
[19:25] <Compn> its on the fsf page and thread on videolan-devel list
[19:25] <Compn> the fsf had an axe to grind with apple too
[19:25] <Compn> and there were lots of misrepresentations
[19:25] <Compn> fud
[19:26] <j-b> they are clearly doing FUD now
[19:26] <Compn> which i thought would be strange for the fsf to make, since they are lawyers
[19:26] <j-b> and they don't help on things that matter
[19:26] <j-b> aka: DRM fight and patents
[19:26] <Compn> thats also true, there are way more important matters
[19:26] <Compn> vlc got singled out because its a big name i guess
[19:26] <j-b> but, they haven't made ONE campaign in years that is for something
[19:27] <j-b> it is just against Vista, against Cloud, against mobile, against social network
[19:27] <Compn> no 'promoting open source in the classroom' like google has been doing ?
[19:28] <ubitux> j-b: this is actually a good point :)
[19:28] Action: Compn surprised at how much google is doing for open source
[19:28] <j-b> no 'promoting open formats'
[19:28] <j-b> just stupid things like against, against and against
[19:28] <j-b> they're just out of touch
[19:29] <j-b> ubitux: http://mailman.videolan.org/pipermail/vlc-devel/2010-November/077504.html
[19:29] <ubitux> thank you
[19:33] <michaelni> nevcairiel, who would you suggest donations be directed to if we write any news entry at all about this ?
[19:33] <michaelni> i dont like politics myseld either :)
[19:33] <j-b> michaelni: you should direct donations to people who fight software patents, because this is the bigger threat against FFmpeg, IMVHO.
[19:37] <buzz_> perhaps the money would be best spent on beer and chocolate (not russian chocolate) ;-)
[19:38] <buzz_> ffmpeg beer and shit fund
[19:38] <michaelni> :)
[19:40] <ubitux> michaelni: didn't you wanted to add a news entry about the call for maintainers btw?
[19:40] <michaelni> ahh yes ... i forgot
[19:41] <ubitux> <@j-b> michaelni: you should direct donations to people who fight software patents // who are you thinking of for instance?
[19:42] <j-b> eff ?
[19:43] <ubitux> ok, https://supporters.eff.org/donate
[19:44] <ubitux> well i tend to agree with such cause
[19:47] <gnafu> I think it's a more direct link that will make more sense to people in general, and they in turn support WikiLeaks as was pointed out.
[19:48] <michaelni> iam fine with the EFF
[19:48] <Compn> they support wikileaks but not fund them gnafu :P
[19:49] <michaelni> that is if people prefer EFF over wikileaks
[19:49] <gnafu> Compn: Well, ffmpeg doesn't fund them either ;D. So instead of us saying, "Support WikiLeaks by donating," we're saying, "Support an organization that tells you to support WikiLeaks by donating to them"! :-D
[19:49] <gnafu> And then EFF does what we were about to do.
[19:49] <Compn> eff doesnt say that either
[19:49] <gnafu> Hehe, I dunno :-P.
[19:49] <Compn> :P
[19:52] <Compn> michaelni : you might want to ask fabrice about it, since he owns the ffmpeg trademark . but i dunno
[20:05] <michaelni> i dont think fabrice cares but we first need a consensus amongth us ...
[20:05] <michaelni> see my new suggestion on the ML
[20:06] <michaelni> i think its best
[20:07] Action: michaelni will donate himself a few euros to wikileaks later
[20:14] <Compn> have you gotten donation questions ? i hadnt seen any recently ...
[20:14] <Compn> i mean, people asking how to donate to ffmpeg
[20:17] <michaelni> not recently no
[20:18] <michaelni> i suspect the fork maybe scares donators away
[21:16] <michaelni> Tjoppen, have you seen "[FFmpeg-devel] [PATCH]Do not detect mp2 in mxf as mpeg2video" ?
[22:57] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r4557d7d01f 10ffmpeg/libavcodec/libx264.c:
[22:57] <CIA-41> ffmpeg: libx264: workaround a bug in some versions of flash player
[22:57] <CIA-41> ffmpeg: Fixes Ticket570
[22:57] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:53] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r5b98ea1b73 10ffmpeg/libavcodec/vb.c:
[23:53] <CIA-41> ffmpeg: vb: Add some checks on input buffer related values.
[23:53] <CIA-41> ffmpeg: Fixes crash with INTRO_FAIL.VB
[23:53] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[23:54] <Tjoppen> michaelni: nope
[00:00] --- Sat Dec 10 2011
1
0
[00:00] <sacarasc> [libx264 @ 0xa041f90]use an encoding preset (vpre)
[00:01] <sacarasc> Old, and you're using a rather old version, ffmpeg needs a -vpre or it just cries.
[00:03] <gdoteof> where do i add the -vpre?
[00:03] <gdoteof> everywhere i put it i get a different error
[00:04] <gdoteof> it looks to be looking for a 'file for preset'
[00:05] <gdoteof> sacarasc: i am looking for a preset file
[00:05] <sacarasc> They should be named blah.ffpreset
[00:06] <gdoteof> hrm i installed ffmpeg from a repo; the source doesn't seem to be in the repo
[00:06] <gdoteof> i should just pull a copy of the source i guess
[00:06] <sacarasc> Also, you're using Libav, not ffmpeg...
[00:07] <gdoteof> sacarasc: ? idk. i am def running ffmpeg =D
[00:08] <gdoteof> i honestly (and clearly) have no idea what i am doing. just trying to make this one video file small
[00:08] <sacarasc> Nope, you're using the fork which is the default on Ubuntu these days.
[00:08] <gdoteof> sacarasc: gotcha
[00:08] Action: gdoteof cloning git repo
[00:08] <sacarasc> There's a guide for compiling ffmpeg on Ubuntu in the topic.
[00:10] <gdoteof> sacarasc: i am getting File for preset '/home/g/src/ffmpeg/ffpresets/libvpx-720p.ffpreset' not found
[00:10] <gdoteof> but; that file is def there
[00:11] <gdoteof> got to it with tab complete
[00:12] <sacarasc> -vpre is an installed preset, -fpre is if you want to point to the preset. But the libx264 presets have been removed from git as they're no longer used.
[00:12] <gdoteof> http://pastebin.com/cHDX0Lt4
[00:12] <gdoteof> ugh
[00:13] <gdoteof> i change to fpre and get an unknown flag 'quality'
[00:13] <gdoteof> what do you recommend for tryign to turn this 680M 3:24 .mov quicktime file into something manageable
[00:14] <gdoteof> strongly prefer not compling ffmpeg from source if i canmake do in anyway with what i've got
[00:15] <sacarasc> Upgrade ffmpeg!
[00:16] <pasteeater> gdoteof: ffmpeg -i input -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec libfaac -aq 100 output.mp4
[00:16] <pasteeater> it will probably complain about libfaac
[00:17] <pasteeater> if it does, see option C here: http://ubuntuforums.org/showthread.php?t=1117283
[00:18] <gdoteof> pasteeater: thanks i will tyr; i think i already got libfaac; i have ffmpeg frm the medibuntu repo
[00:18] <gdoteof> pasteeater: its doing something! thanks
[00:19] <pasteeater> crf is the quality option. choose the highest crf value that still gives you an acceptible quality.
[00:19] <gdoteof> pasteeater: meaning higher crf means lower quality?
[00:19] <pasteeater> yes
[00:19] <gdoteof> k
[00:20] <pasteeater> and you don't have to encode the whole clip to get an idea. just choose some random sections with the -ss and -t options as output options.
[00:20] <pasteeater> ffmpeg -i input -ss 30 -t 60 -vcodec libx264 ...
[00:20] <gdoteof> pasteeater: thanks for the tip; really really appreciate it.
[00:20] <gdoteof> is ss and t for seconds or frames?
[00:21] <pasteeater> will make a 60 second output and skip the first 30 secs of input
[00:21] <gdoteof> gotcha
[00:21] <gdoteof> tyvm
[00:21] <pasteeater> once you have a crf you like then choose the slowest preset you have patience for.
[00:22] <pasteeater> i think your version can emulate the following presets: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow
[00:22] <gdoteof> pasteeater: ok that makes sense
[00:23] <pasteeater> a fast preset encodes faster, but is less efficient at compression
[00:27] <gdoteof> pasteeater: so there is no harm in testing the quality via crf values and using ultrafast
[00:27] <gdoteof> then upping the compression for the final
[00:31] <pasteeater> different presets can have an effect on the quality, because different presets can affect how quality is measured in x264
[00:31] <janitor61> i am not getting this whole -vf pad=0:0:0:0 change
[00:33] <pasteeater> gdoteof: but the difference probably won't be noticeable
[00:36] <janitor61> when I have -f image2 -s 150x100 -vf pad=150:100:10:0:black I get Input area 10:0:160:100 not within the padded area 0:0:150:100 or zero-sized
[00:36] <janitor61> it was so easy before with the -padbottom args
[00:38] <ubitux> i'm not sure -s works; try with -vf scale=150:100,pad=...
[00:38] <ubitux> or at least work as you expect
[00:39] <janitor61> does the new version re-support the -padXXX tags or is that gone forever?
[00:40] <ubitux> it's been replaced with a far better filter
[00:40] <ubitux> just learn how to use it
[00:40] <ubitux> the documentation is pretty explicit about the usage
[01:11] <janitor61> how do I make a very low quality transcode of a video? ffmpeg doesn't seem to respect my -b:v 100k, the final product has a bitrate of 554k
[01:13] <teratorn> anyone have a clue about this memory leak inside libavformat? valgrind output: http://codepad.org/wIgKypR6 I AM calling av_close_input_file() on the format context... is there something else I'm missing?
[01:15] <janitor61> is there a hidden minimum bitrate for FLV format?
[01:20] <janitor61> i used -qscale 31 thanks guys
[01:20] <janitor61> i want to make a tech support channel that just has bots that cheer you on and give you words of support as you google your problem
[01:25] <teratorn> sweet idea
[01:36] <ZacS123> hi
[01:37] <kcm1700> http://lists.ethernal.org/oldarchives/cantlug-0211/msg00174.html instead making a bot, maybe rubber duck can help solving problems.
[01:37] <ZacS123> im having some issues with frame rate conversion. I am using ffmpeg -i 24FPS.mp4 -vcodec libx264 -r 12 12FPS.mp4
[01:38] <ZacS123> but it only starts dropping every second frame after about 4 frames
[01:55] <burek> ZacS123, can you first explain your goal
[01:57] <ZacS123> I have 24fps input video, and I want ffmpeg to output 12 fps, so I expect it to drop every 2nd frame
[01:58] <ZacS123> but it only starts dropping every 2nd frame after it has output the first 4 or so frames
[01:58] <Freakshow> so... 'contrained baseline'? I'm setting -profile baseline -preset medium, but ffprobe sees it as something slightly less
[01:58] <Freakshow> Stream #0.0: Video: h264 (Constrained Baseline), yuv420p, 720x480 [PAR 8:9 DAR 4:3], 30 tbr, 1k tbn, 60 tbc
[02:12] <ZacS123> burek: as far as I can tell there is something wrong with ffmpegs calculating which frames to drop
[02:13] <burek> ZacS123
[02:13] <burek> can you please use pastebin.com, to show your command line and its output?
[02:22] <ZacS123> burek: http://pastebin.com/44KWupBx
[10:34] <sam1> hi guys,
[10:35] <sam1> i want to watermark a movie ,what's command?
[12:00] <zap0> ffmpeg --do-teh-watermark,-bitch...-like-now!
[14:03] <Guest46584> hi
[17:56] <qjcg> is there a command i can use to see the list of audio codec available for use with -acodec ?
[18:03] <impulze> ffmpeg(1) DECODERS [...] The option "-codecs" of the ff* tools will display the list of enabled decoders. [...]
[18:04] <JEEB> I think it had some kind of a tag for audio stuff
[18:04] <JEEB> so you could grep the output of -codecs for it
[18:04] <JEEB> :)
[18:34] <Compn> should make -acodec help
[18:34] <Compn> like mencoder/mplayer has :P
[18:56] <echelon> hi, how do i resample an ac3 with 6 channels to pcm_s16le with 2 channels
[18:58] <Compn> with the pan audio filter
[18:58] <Compn> there should be an example in the ffmpeg documentation
[18:58] <Compn> but not in the manual
[19:00] <ubitux> sounds overkill to use pan
[19:01] <ubitux> -ac 2 -acodec pcm_s16le should be enough
[19:05] <Compn> ffmpeg has built in downsampler now i think
[19:05] <Compn> are you sure ubitux ?
[19:06] <ubitux> sure
[19:06] <ubitux> actually, there is at least 3 in the codebase now :p
[19:06] <ubitux> the old audio api, libswresample and now the filters (see aconvert/aresample/...) :p
[19:07] <echelon> i'm on slackware
[19:07] <echelon> ffmpeg-0.6.1
[19:07] <ubitux> this one is pretty old, i don't know
[19:17] <echelon> is it possible to do it with mencoder?
[19:18] <Compn> mencoder yes
[19:18] <Compn> using mencoder -af hrtf or -af pan (example in the docs)
[19:18] <Compn> at least i think hrtf does it
[19:25] <ubitux> mplayer has an automatic downmix too (using pan)
[19:25] <ubitux> i'm not sure if it is effective in mencoder
[19:25] <ubitux> also, it's relatively recent
[19:27] <WindowsNT> question : I 'm trying to extract only video from an avi. ffmpeg -i 1.avi -an and other video options. However the output 2.avi still has the audio.
[19:28] <Compn> ubitux : hrtf is recent, but pan has been around for years
[19:29] <Compn> recent being last 2-3 years of course :D
[19:29] <Compn> pan being 5-7
[19:29] <ubitux> hrtf isn't a "common" downmix btw
[19:29] <ubitux> better use a custom pan
[19:29] <Compn> thats true
[19:30] <Compn> WindowsNT : put -an before -i
[19:30] <Compn> i think...
[19:34] <qjcg> JEEB: thanks! (w later...)
[19:36] <WindowsNT> Compn : thx a lot
[19:36] <WindowsNT> worked
[19:36] <WindowsNT> :)
[20:10] <hackeron> hey, I'm trying to pull audio+video from my ip camera - I'm doing ffmpeg -t 60 -acodec copy -vcodec copy -f mjpeg -i ${URL}mjpeg.cgi -i ${URL}audio.cgi -ar 16000 -r 25 $filename.avi -- it seems to get to frame number 818 (32.72 seconds) and freeze :/ - in the resulting video the video is ahead of audio -- any ideas?
[20:23] <echelon> looks like neroaacenc is capable of resampling from 6ch to 2ch
[20:23] <echelon> oh wait
[20:25] <echelon> it's still in 48000Hz, 5.1 surround sound
[20:26] <echelon> don't see the number of channels
[20:29] <Compn> 5.1 = 6 channels
[20:36] <echelon> oh
[20:57] <hackeron> anyone? - I'm trying to pull audio+video from my ip camera - I'm doing ffmpeg -acodec copy -vcodec copy -f mjpeg -i ${URL}mjpeg.cgi -i ${URL}audio.cgi -ar 16000 $filename.avi -- it seems to get to frame number 818 (32.72 seconds) and freeze :/ - in the resulting video the video is ahead of audio -- any ideas?
[21:01] <JodaZ> hackeron, why no use wget or smth ?
[21:02] <JodaZ> if you get a/v from two live sources like that its likely to be async anyways
[21:02] <sacarasc> hackeron: That line is all messed up... ffmpeg [input options] -i input [output options] output
[21:08] <hackeron> sacarasc: what's messed up about that line?
[21:08] <hackeron> JodaZ: because mjpeg is variable rate
[21:11] <sacarasc> hackeron: You put output options in the input options part and you tried to copy the audio and change it at the same time.
[21:14] <hackeron> sacarasc: ok, I changed it to ffmpeg -f mjpeg -i ${URL}mjpeg.cgi -i ${URL}audio.cgi -acodec copy -vcodec copy $filename.avi -- it still freezes at 818 frames
[21:15] <JodaZ> try without -f mjpeg ?
[21:16] <hackeron> JodaZ: then it says http://admin:@192.168.0.108/mjpeg.cgi: could not find codec parameters and quits
[21:16] <JodaZ> hmm
[21:16] <JodaZ> hmm, so that freeze, does it also stop sending data ?
[21:16] <hackeron> yes
[21:16] <JodaZ> does it also happen with wget ?
[21:16] <hackeron> no
[21:16] <JodaZ> so ffmpeg stops reading ?
[21:16] <JodaZ> hmm
[21:17] <JodaZ> i don't like freezes, they are so hard to debug
[21:17] <JodaZ> what happens if you use -ss 100 ?
[21:17] <hackeron> JodaZ: it seems the fps fluctuates from the camera, but the audio is stable - my guess is there are not enough frames to match the fps that ffmpeg decides for itself?
[21:18] <JodaZ> might wana try another output container then ?
[21:18] <hackeron> trying flv
[21:18] <JodaZ> try .ts or something
[21:19] <hackeron> trying
[21:19] <hackeron> erm, it didn't like that, heh - http://pastie.org/2992823
[21:20] <JodaZ> ew@library mismatch
[21:21] <JodaZ> well, seems there is no way to get any kind of temporal info for the motion jpeg stuff ?
[21:22] <hackeron> temporal info? - it's just a series of jpeg images, it looks like: --video boundary--^M
[21:22] <hackeron> Content-length: 34708^M
[21:22] <hackeron> Date: 01-01-2010 02:13:04 AM IO_00000000_PT_000_000^M
[21:22] <hackeron> Content-type: image/jpeg^M
[21:23] <JodaZ> that, then image data in a loop ?
[21:23] <hackeron> yep
[21:23] <JodaZ> well, it seems to guess a audio duration of 32.76 seconds
[21:23] <JodaZ> why would it do that
[21:25] <hackeron> good question :/
[21:25] <hackeron> it's just a live pcm stream
[21:25] <JodaZ> so what kinda header data does pcm have ?
[21:26] <JodaZ> what happens if you wget both streams for a minute and then feed them into ffmpeg like that
[21:29] <hackeron> JodaZ: wild de-sync naturally - mjpeg fluctuates between 3 fps and 30 fps depending on the amount of ambient light
[21:30] <hackeron> JodaZ: that's why I need something to handle that - otherwise I'd just wget both streams separately
[21:31] <JodaZ> hackeron, just a shot in the dark but i just read someone mentioning -analyzeduration 0
[21:33] <hackeron> JodaZ: no change, it's still detecting the duration for the audio of 32.76 seconds :/
[21:34] <JodaZ> well, a wav/riff header actually has a size specification
[21:34] <pasteeater> my ISP is annoying...
[21:35] <JodaZ> hackeron, so it might be starting a new wav after 32secs (wav header: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ )
[21:36] <JodaZ> hackeron, how does the data look when you wget it, hd -n 16 data.wav ?
[21:36] <hackeron> JodaZ: maybe it is, but it doesn't stop the curl or wget process - and I'm not sure how to tell ffmpeg that this is ok for it to do that :)
[21:36] <hackeron> JodaZ: # hd -n 16 audio.cgi
[21:36] <hackeron> 00000000 52 49 46 46 00 00 10 00 57 41 56 45 66 6d 74 20 |RIFF....WAVEfmt |
[21:36] <hackeron> 00000010
[21:36] <freeminds> is there a way to let ffmpeg output on stdout?
[21:37] <freeminds> and errors on stderr?
[21:38] <JodaZ> 00 00 10 00 in little endian, thats 1048576 bytes = 1024x1024 bytes
[21:38] <hackeron> JodaZ: let me try to capture for longer than the 32.76 seconds - maybe it does start a new wav
[21:39] <JodaZ> 1mbyte at your bitrate of 256kbit/s is actually ~31 seconds
[21:40] <JodaZ> so it likely does start a new wav
[21:40] <JodaZ> so the most imidiate problem is picking up that new wav
[21:41] <hackeron> JodaZ: captured for a little over 2 minutes - the first RIFF or WAVE is the only one matched in the captured file, hmm
[21:42] <JodaZ> ? captured with wget and only the first wav is visible in the file ?
[21:42] <JodaZ> hd -s 1048576 -n 15 audio.cgi
[21:42] <hackeron> 00100000 d8 f4 d8 f4 d8 f4 d8 f4 0c f4 d8 f4 d8 f4 d8 |...............|
[21:42] <hackeron> 0010000f
[21:43] <JodaZ> huh, thats strange
[21:43] <JodaZ> ah, hmm, sec
[21:44] <JodaZ> hd -s 1048592 -n 15 audio.cgi
[21:45] <JodaZ> or maybe do some binary search in the file for a second ocurrence of "RIFF" or "WAVE"
[21:45] <JodaZ> otherwise its lying about its size in the header
[21:47] <hackeron> # hd -s 1048592 -n 15 audio.cgi
[21:47] <hackeron> 00100010 d8 f4 0c f4 0c f4 0c f4 0c f4 0c f4 0c f4 0c |...............|
[21:47] <hackeron> 0010001f
[21:47] <hackeron> # grep -ao RIFF audio.cgi
[21:47] <hackeron> RIFF
[21:48] <JodaZ> only once ?
[21:48] <hackeron> yep
[21:48] <hackeron> and WAVE is only once too
[21:48] <JodaZ> hmm
[21:48] <hackeron> this is a dlink ip camera btw
[21:48] <JodaZ> so it lies in its header about its size >_>
[21:49] <hackeron> heh, probably
[21:49] <hackeron> seems a bit broken - it doesn't even have a boundary in the multipart mjpeg header :/
[21:49] <hackeron> gstreamer won't recognise the multipart at all - ffmpeg works somehow, heh
[21:50] <JodaZ> so does the stuff go out of sync in those 30 seconds ? or is it just out of sync and stays that way ?
[21:51] <hackeron> hmm, not entirely sure - but if I record just video, it seems ffmpeg records 76 seconds when I'm asking it to record 60 seconds :/
[21:51] <hackeron> it seems to just go by the number of frames, not by the frame timestamps
[21:51] <JodaZ> there are frame timestamps ?
[21:51] <hackeron> and the framerate fluctuates
[21:51] <hackeron> yeh, e.g. Content-length: 34708^M
[21:51] <hackeron> Date: 01-01-2010 02:13:04 AM IO_00000000_PT_000_000^M
[21:51] <hackeron> Content-type: image/jpeg^M
[21:51] <JodaZ> thats the mjpeg standard ?
[21:51] <JodaZ> i kinda doubt that
[21:52] <hackeron> yeh, it's just jpeg images encapsulated in multipart http
[21:52] <JodaZ> with timestamps like that ?
[21:52] <hackeron> yeh, he
[21:52] <hackeron> heh*
[21:53] <hackeron> but is there anyway to tell ffmpeg that the framerate isn't constant and each frame it gets is right now?
[21:53] <JodaZ> good question, lets wait for someone competent to come here
[21:54] <hackeron> heh
[21:54] <JodaZ> you would definitely need that
[21:56] <JodaZ> and you'd need something that tells the duration estimation to back off and just accept unlimited length, if thats not possible, i am sure that can be changed in the code easily enough
[21:57] <hackeron> well, if I can record the mjpeg multipart in a way that tells ffmpeg it is a live stream and not a file, that's all I need really - I can mux later
[21:57] <hackeron> but ffmpeg seems to think 1 frame is 1/25 of a second - but in reality it is anything from 3fps to 25fps depending on the ambient light
[22:11] <hi117> can i use ffmpeg to creat gifs?
[22:11] <hi117> create*
[22:11] <hi117> from video files
[22:13] <JodaZ> hi117, yes, you can google how
[22:15] <JodaZ> hackeron, "-re Read input at native frame rate. Mainly used to simulate a grab device." what you think ?
[22:16] <hackeron> JodaZ: there is no native frame rate - it fluctuates, it's just a series of images
[22:16] <JodaZ> that could mean native framerate, you know...
[22:16] <hackeron> heh, doesn't hurt to try I guess :) - lets see
[22:18] <JodaZ> it won't fix the 30 second limit, but if it goes sync thats good
[22:18] <hackeron> I'm trying video only
[22:19] <hackeron> I added -t 60
[22:19] <hackeron> it's still recorded 1500 frames which is 2 minutes and 8 seconds of video :/
[22:19] <hackeron> (this is with -re)
[22:19] <JodaZ> did you try -re before and after -i ?
[22:19] <JodaZ> and do you know the resulting video is 2 minutes ?
[22:20] <hackeron> yeh
[22:20] <hackeron> time ffmpeg -re -y -t 60 -f mjpeg -i ${URL}mjpeg.cgi -acodec copy -vcodec copy output.avi
[22:20] <JodaZ> and after the -i ?
[22:20] <JodaZ> also, do use .ts and try -vsync 1 and 2
[22:20] <hackeron> trying
[22:21] <hi117> JodaZ the image quality is bad, my hunch is it is related to yuv -> rgb conversion
[22:23] <hackeron> JodaZ: time ffmpeg -re -vsync 1 -y -t 30 -f mjpeg -i ${URL}mjpeg.cgi -vcodec copy -vsync 1 -re output.ts -- records 42 seconds of video
[22:23] <hackeron> and exactly 750 frames
[22:23] <hackeron> it's still using number of frames and not time :(
[22:30] <JodaZ> hackeron, did you check if you can tell the cam to just feed you a constant framerate ?
[22:30] <hackeron> JodaZ: yeh, and I can but the framerate is responsible for the shutter speed - if I don't let the camera slow down the shutter speed I get horrible low light performance
[22:31] <JodaZ> hmm, well, in theory the data isn't lost tho, you could just average over a few frames in the video to get light intensity back ?
[22:32] <hackeron> JodaZ: erm, no - if you take a camera and set it to fire at 1/25 seconds in low light, you get a really dark image - then you adjust it to fire at 1/8 seconds, you get more motion blur but a much brighter image, right?
[22:34] <JodaZ> yes, but if you take 3 to 4 pictures (25/8 = 3,125) and add their intensitys up, you should have a bright image back
[22:34] <hackeron> huh?
[22:35] <hackeron> so are you saying you can take 1,000 pitch black images taken at night, you add them together and you get the same image as setting the exposure to 1,000 seconds?
[22:35] <JodaZ> no, but it would most likely work with 4 250 second images
[22:36] <hackeron> JodaZ: if it doesn't work with 1,000 images, why would it work with 4?
[22:38] <JodaZ> because you loose the time when it reads the sensor or/and shutters, and because when there is really little light you are in an area where the light that arrives does not have a linear effect on the signal of the sensor
[22:38] <JodaZ> tho, for one second shutter time it would work, but meh
[22:38] <hackeron> either way, fine, how do I get ffmpeg to automatically adjust and add add images to bring back light intensity of a darker image?
[22:39] <hackeron> sounds like a harder problem than getting ffmpeg to use fariable frame rate input
[22:39] <hackeron> variable*
[22:40] <JodaZ> hackeron, as a further resource, maybe you could check out those peoples irc channel http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionGuide
[22:40] <JodaZ> if they have one that is...
[22:42] <hackeron> JodaZ: I use that - it doesn't handle fluctuating fps either
[22:43] <JodaZ> hackeron, you code ?
[22:43] <hackeron> JodaZ: not in C, heh
[22:43] <hackeron> JodaZ: but I contributed code to Motion, the project you linked to :)
[22:44] <JodaZ> maybe you could read the mjpeg decoder and see where it gets timestamps from, then modify that to be able to also do your format or just get current time as timestamp
[22:45] <hackeron> I just want to use the current time as a timestamp - whatever frame I get is happening right now
[22:45] <JodaZ> i couldn't find a option regarding that in the manual tho
[22:46] <hackeron> me neither
[22:47] <hackeron> maybe setpts, hmm
[22:50] <cbsrobot> JodaZ: if you want to see what you get try: ffmpeg -f mjpeg -i ${URL}mjpeg.cgi -vf showinfo -f null -y /dev/null
[22:51] <JodaZ> hackeron, do what cbsrobot says
[22:51] <cbsrobot> ah sorry mixup
[22:52] <hackeron> trying
[22:52] <hackeron> No such filter: 'showinfo'
[22:52] <cbsrobot> hackeron: update your ffmpeg
[22:54] <hackeron> cbsrobot: ok, updated: http://pastie.org/2993249
[22:57] <hackeron> cbsrobot: it seems ffmpeg doesn't care what the input fps is - I tell it to record 30 seconds of video, it records exactly 750 frames which is anything from 30 seconds and over a minute of video depending on the ambient light
[22:57] <TomCat2> hey guys - I'm trying to track down some odd colorspace conversion issues using swscaler. My source images are in a DirectX originated format X8R8G8B8... I'm using PIX_FMT_RGB4_BYTE as my source pixel format - but this is for some reason swapping my red and blue channels
[22:58] <TomCat2> I'm guessing maybe PIX_FMT_RGB4_BYTE is not equal to X8R8G8B8 - if not something wrong with my source - can someone help me clear this up?
[23:03] <JodaZ> hackeron, -timestamp now ?
[23:03] <JodaZ> as seen in http://ffmpeg.org/pipermail/ffmpeg-devel/2009-February/064077.html
[23:05] <hackeron> JodaZ: time ffmpeg -timestamp now -y -t 30 -f mjpeg -i ${URL}mjpeg.cgi -vcodec copy -timestamp now output.mp4 -- nope, -t 30 records exactly 750 frames which is over a minute of video :/
[23:05] <JodaZ> try the -timestamp now after the -i
[23:05] <cbsrobot> hackeron: nice issue
[23:05] <hackeron> JodaZ: it's there :)
[23:06] <JodaZ> its there twice tho
[23:06] <JodaZ> remove the first one >_>
[23:06] <hackeron> ok, removed - lets see
[23:06] <JodaZ> try either or
[23:06] <JodaZ> not both
[23:06] <hackeron> cbsrobot: thanks :) - any solution?
[23:07] <hackeron> JodaZ: 750 frames after -i
[23:07] <JodaZ> and only before ?
[23:07] <hackeron> waiting :)
[23:07] <JodaZ> also, -vf showinfo again
[23:08] <cbsrobot> hackeron: try: ffmpeg -f mjpeg -i ${URL}mjpeg.cgi -f mpeg pipe:1 | cat > test.mpeg
[23:08] <hackeron> JodaZ: 750 frames before -i (and over a minute of video)
[23:09] <JodaZ> what if before and with -re ?
[23:09] <JodaZ> cbsrobot, why the pipe ?
[23:10] <hackeron> cbsrobot: trying the pipe - appears to be no difference - the seconds are still counting up in slow motion and still 750 frames when it shows 30 seconds of video (in reality it's like a minute of video)
[23:10] <hackeron> JodaZ: like this? < time ffmpeg -timestamp now -re -y -t 30 -f mjpeg -i ${URL}mjpeg.cgi -vcodec copy output.mp4
[23:10] <cbsrobot> JodaZ: well just a wild guess
[23:11] <JodaZ> hackeron, yeh
[23:11] <hackeron> JodaZ: no change - recorded 1 minute 6 seconds of video despite me asking for 30 seconds, heh
[23:12] <JodaZ> well, as long as its sync
[23:12] <JodaZ> i mean the time is right
[23:13] <hackeron> JodaZ: well, no, that's the problem, the time isn't right :(
[23:13] <hackeron> JodaZ: the camera changes it's fps dynamically, so I can't seek to say 3 hours - it could be 3 hours, it could be 6 hours - depending on the ambient light
[23:14] <hackeron> JodaZ: and ffmpeg just counts frames which is not very helpful at all
[23:14] <hackeron> playing the recorded video, it is 30 seconds in duration despite the real world duration being over a minute
[23:14] <hackeron> (light is off in the room right now)
[23:16] <hackeron> it just seems ffmpeg tries to detect the framerate (which it detects as 25) or uses 25 as the default - and just blindly counts how many frames it is expecting, not how many frames actually exist :/
[23:27] <JodaZ> well
[23:27] <JodaZ> yes
[23:29] <hackeron> well, what I want it to do is fill in the gaps with duplicate frames, or set the timestamp on the frames so the decoder knows when to play them
[23:30] <hackeron> like what -vsync 1 should do - but it seems to not do anything :(
[23:31] <JodaZ> naw, why would -vsync care for the current time
[23:31] <hackeron> JodaZ: it says: "Frames will be duplicated and dropped to achieve exactly the requested constant framerate."
[23:31] <hackeron> but no frames are added or dropped
[23:31] <JodaZ> yup, source is 25fps
[23:32] <hackeron> source is not 25fps - I donno where ffmpeg is getting that :/
[23:32] <JodaZ> it doesn't have any info on framerate so it guesses
[23:33] <hackeron> no, it just blindly sets it to 25 by default for any source - and I guess ffmpeg just doesn't support variable framerate :(
[23:34] <JodaZ> well, not without timestamps it can't
[23:34] <hackeron> jpeg doesn't have timestamps, it needs to generate them itself
[23:34] <JodaZ> this is barely possible btw
[23:34] <JodaZ> even if you set timestamps to current time, the accuracy will depend on socket buffers and network latency
[23:35] <hackeron> that's fine
[23:35] <hackeron> this is local network 0.1ms latency
[23:35] <JodaZ> which is propably why mjpeg is usually served at constant fps
[23:35] <hackeron> even if I set constant framerate, it is not constant framerate from this camera
[23:36] <hackeron> anyway, so it looks like -timestamp now doesn't work with this source?
[23:38] <hackeron> if I set a constant framerate of 20 on the camera, I get anywhere from 16 to 19fps - if I use -timestamp now -r 10 - I get a fast motion video - no timestamps appear to be set
[23:40] <hackeron> in gstreamer you can ask it to generate it's own pts, but it won't parse the multipart from this D-Link camera :(
[23:41] <JodaZ> write a proxy that converts the multipart
[23:49] <hackeron> just a shame ffmpeg can't record mjpeg from ip cameras in any usable way :(
[23:50] <JodaZ> quite specialized application
[23:50] <hackeron> ip cameras?
[23:51] <JodaZ> variable framerate without timestamps for a video transcoder that has little to do with live streaming
[23:51] <JodaZ> and even less as a stream client
[23:51] <hackeron> well, that's most ip cameras on the market for you :(
[23:52] <JodaZ> propably have mpeg with timestamps then
[23:53] <hackeron> nope, most cameras have mjpeg only :( - this is the only source for this and many other cameras
[23:53] <JodaZ> with static framerate then
[23:53] <JodaZ> i mean can any program decode this ?
[23:53] <hackeron> static framerate means nothing with mjpeg - every camera I've tested does not meet it's advertised or static framerate
[23:54] <hackeron> well, it's just a series of jpeg images
[23:57] <hackeron> gstreamer has an option do-timestamp=true - which creates timestamps for a live http source - wonder if I can pipe from gstreamer into ffmpeg
[23:58] <JodaZ> why wouldn't you
[23:59] <JodaZ> but didn't you say gstreamer didn't do the mjpeg you had ?
[23:59] <hackeron> JodaZ: no, gstreamer didn't parse the http multipart - I filed a bug report
[00:00] --- Sat Dec 10 2011
1
0
[00:31] <CIA-41> ffmpeg: 03Diego Biurrun 07master * ree41963f19 10ffmpeg/ (6 files in 2 dirs): cosmetics: drop some completely pointless parentheses
[00:31] <CIA-41> ffmpeg: 03Luca Barbato 07master * r73585620b8 10ffmpeg/libavfilter/vf_drawtext.c:
[00:31] <CIA-41> ffmpeg: drawtext: introduce explicit draw/hide variable
[00:31] <CIA-41> ffmpeg: Signed-off-by: Luca Barbato <lu_zero(a)gentoo.org>
[00:31] <CIA-41> ffmpeg: 03Martin Storsjö 07master * r1eef08f98c 10ffmpeg/libavformat/rtmpproto.c:
[00:31] <CIA-41> ffmpeg: rtmp: Use nb_invokes for all invoke commands
[00:31] <CIA-41> ffmpeg: 704af3e29c3ddbc22ac5c8f40e5a0f860d53ac4c broke publishing
[00:31] <CIA-41> ffmpeg: of rtmp streams, at least publishing to Wowza servers.
[00:31] <CIA-41> ffmpeg: This changes all invoke commands to use nb_invokes.
[00:31] <CIA-41> ffmpeg: Signed-off-by: Martin Storsjö <martin(a)martin.st>
[00:31] <CIA-41> ffmpeg: 03Paul B. Mahol 07master * rfc9489f6ad 10ffmpeg/libavcodec/cljr.c:
[00:32] <CIA-41> ffmpeg: cljr: simplify CLJRContext
[00:32] <CIA-41> ffmpeg: There is no need to have delta, offset and gb in CLJRContext.
[00:32] <CIA-41> ffmpeg: Signed-off-by: Janne Grunau <janne-libav(a)jannau.net>
[00:32] <CIA-41> ffmpeg: 03Luca Barbato 07master * rf5edfc9e92 10ffmpeg/libavfilter/vf_drawtext.c:
[00:32] <CIA-41> ffmpeg: drawtext: introduce rand(min, max)
[00:32] <CIA-41> ffmpeg: 03Diego Biurrun 07master * rff159e7816 10ffmpeg/ (4 files in 3 dirs): doxygen: Replace '\' by '@' in Doxygen markup tags.
[00:32] <CIA-41> ffmpeg: 03Ronald S. Bultje 07master * r8b03d7fe95 10ffmpeg/libavcodec/w32pthreads.h: w32thread: port fixes to pthread_cond_broadcast() from x264.
[00:32] <CIA-41> ffmpeg: 03Hendrik Leppkes 07master * rbc057f7592 10ffmpeg/libavcodec/pcm-mpeg.c:
[00:32] <CIA-41> ffmpeg: pcm-mpeg: implement new audio decoding api
[00:32] <CIA-41> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[00:32] <CIA-41> ffmpeg: 03Luca Barbato 07master * r78212cefe1 10ffmpeg/libavfilter/vf_drawtext.c:
[00:32] <CIA-41> ffmpeg: drawtext: remove typo
[00:32] <CIA-41> ffmpeg: It slipped through the last two iterations.
[00:32] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r8e2bab5d4b 10ffmpeg/: (log message trimmed)
[00:32] <CIA-41> ffmpeg: Merge remote-tracking branch 'qatar/master'
[00:32] <CIA-41> ffmpeg: * qatar/master:
[00:32] <CIA-41> ffmpeg: drawtext: remove typo
[00:32] <CIA-41> ffmpeg: pcm-mpeg: implement new audio decoding api
[00:32] <CIA-41> ffmpeg: w32thread: port fixes to pthread_cond_broadcast() from x264.
[00:32] <CIA-41> ffmpeg: doc: add editor configuration section with Vim and Emacs settings
[00:45] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * rc5cd231151 10ffmpeg/libavcodec/wmalosslessdec.c: Partially fix CDLMS prediction
[00:45] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rec8a3e25d8 10ffmpeg/:
[00:45] <CIA-41> ffmpeg: Merge remote-tracking branch 'shariman/wmall'
[00:45] <CIA-41> ffmpeg: * shariman/wmall:
[00:45] <CIA-41> ffmpeg: Partially fix CDLMS prediction
[00:45] <CIA-41> ffmpeg: Conflicts:
[00:45] <CIA-41> ffmpeg: libavcodec/wmalosslessdec.c
[00:45] <CIA-41> ffmpeg: Merged-by: Michael Niedermayer <michaelni(a)gmx.at>
[01:17] <CIA-41> ffmpeg: 03Laurent Aimar 07release/0.8 * r494cfacdb9 10ffmpeg/libavcodec/vmdav.c:
[01:17] <CIA-41> ffmpeg: vmd: fix segfaults on corruped streams
[01:17] <CIA-41> ffmpeg: Signed-off-by: Janne Grunau <janne-libav(a)jannau.net>
[01:17] <CIA-41> ffmpeg: Signed-off-by: Reinhard Tartler <siretart(a)tauware.de>
[01:17] <CIA-41> ffmpeg: 03Laurent Aimar 07release/0.8 * ra31ccacb1a 10ffmpeg/libavcodec/qdm2.c:
[01:17] <CIA-41> ffmpeg: Check for out of bound writes in the QDM2 decoder.
[01:17] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[01:17] <CIA-41> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:17] <CIA-41> ffmpeg: (cherry picked from commit 291d74a46d32183653db07818c7b3407fd50a288)
[01:17] <CIA-41> ffmpeg: Signed-off-by: Reinhard Tartler <siretart(a)tauware.de>
[01:17] <CIA-41> ffmpeg: 03Laurent Aimar 07release/0.8 * r0d93d5c461 10ffmpeg/libavcodec/qdm2.c:
[01:17] <CIA-41> ffmpeg: Fix out of bound reads in the QDM2 decoder.
[01:17] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[01:17] <CIA-41> ffmpeg: Signed-off-by: Justin Ruggles <justin.ruggles(a)gmail.com>
[01:17] <CIA-41> ffmpeg: imgutils: Fix illegal read.
[01:17] <CIA-41> ffmpeg: Found with address sanitizer.
[01:17] <CIA-41> ffmpeg: Signed-off-by: Alex Converse <alex.converse(a)gmail.com>
[01:17] <CIA-41> ffmpeg: (cherry picked from commit c693aa6f71b4f539cf9df67ba42f4b1932981687)
[01:18] <CIA-41> ffmpeg: Signed-off-by: Reinhard Tartler <siretart(a)tauware.de>
[01:18] <CIA-41> ffmpeg: 03Michael Niedermayer 07release/0.8 * r8acf9905a1 10ffmpeg/: (log message trimmed)
[01:18] <CIA-41> ffmpeg: Merge remote-tracking branch 'qatar/release/0.7' into release/0.8
[01:18] <CIA-41> ffmpeg: Note, all these commits where already in our release, this merge thus
[01:18] <CIA-41> ffmpeg: changes nothing, its just for metadata
[01:18] <CIA-41> ffmpeg: * qatar/release/0.7:
[01:18] <CIA-41> ffmpeg: vp6: Fix illegal read.
[01:18] Last message repeated 1 time(s).
[01:18] <CIA-41> ffmpeg: 03Alex Converse 07release/0.8 * r67a7ed623b 10ffmpeg/libavcodec/vp6.c:
[01:18] <CIA-41> ffmpeg: vp6: Fix illegal read.
[01:18] <CIA-41> ffmpeg: (cherry picked from commit 2a6eb06254df79e96b3d791b6b89b2534ced3119)
[01:18] <CIA-41> ffmpeg: Signed-off-by: Reinhard Tartler <siretart(a)tauware.de>
[01:18] <CIA-41> (22 lines omitted)
[02:34] <CIA-41> ffmpeg: 03Anatoliy Wasserman 07master * r6778f9d9f2 10ffmpeg/libavcodec/ (libopenjpegdec.c pthread.c):
[02:34] <CIA-41> ffmpeg: pthread: fixed thread initialization issues related to thread-safe buffer allocator
[02:34] <CIA-41> ffmpeg: Signed-off-by: Anatoliy Wasserman <anatoliy.wasserman(a)yandex.ru>
[02:34] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[02:50] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * r51d7cd3596 10ffmpeg/libavcodec/ (mjpegdec.c version.h):
[02:50] <CIA-41> ffmpeg: Decode RGB ljpeg to RGB24.
[02:50] <CIA-41> ffmpeg: No alpha channel is decoded, the output used to be completely transparent.
[02:50] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * r9608e3a182 10ffmpeg/libavcodec/bmp.c:
[02:50] <CIA-41> ffmpeg: Support decoding 56 byte BMP Bitmap Information Header.
[02:50] <CIA-41> ffmpeg: Fixes ticket #719.
[02:50] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * r0cc9949ead 10ffmpeg/libavcodec/ (gif.c version.h):
[02:50] <CIA-41> ffmpeg: Mark one colour as transparent in the gif image encoder
[02:50] <CIA-41> ffmpeg: if the input palette contains at least one colour
[02:50] <CIA-41> ffmpeg: that is more than 50% transparent.
[02:50] <CIA-41> ffmpeg: Fixes ticket #715.
[06:02] <burek> btw, pasteeater, I've just realized it would maybe be good to put the article about Eclipse on the forum, so that people can ask questions while troubleshooting that process on their machines
[06:03] <burek> also, michaelni has the forum been created/published so far?
[06:03] <CIA-41> ffmpeg: 03Paul B Mahol 07master * r1e8f77324e 10ffmpeg/libavcodec/escape130.c: escape130: remove trailing whitespace
[06:03] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r8ff3d1ccec 10ffmpeg/libavcodec/escape130.c:
[06:03] <CIA-41> ffmpeg: escape130: make sure cliping is done on signed values.
[06:03] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[06:03] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r06798c6e3b 10ffmpeg/libavcodec/escape130.c:
[06:03] <CIA-41> ffmpeg: escape130: Fix y_base handling, this fixes some artifacts, vissible in most videos.
[06:03] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[06:03] <CIA-41> ffmpeg: 03Paul B Mahol 07master * r7bd8b70f19 10ffmpeg/libavcodec/escape130.c: escape130: fix colors
[06:03] <CIA-41> ffmpeg: 03Eli Friedman 07master * r7d64391441 10ffmpeg/libavcodec/ (Makefile allcodecs.c avcodec.h escape130.c): Escape 130 (RPL) decoder
[06:03] <CIA-41> ffmpeg: 03Paul B Mahol 07master * r06029fbb7f 10ffmpeg/libavcodec/escape130.c: escape130: minimal effort to make it compile without warnings
[06:03] <CIA-41> ffmpeg: 03Paul B Mahol 07master * r30961a8dd5 10ffmpeg/libavformat/rpl.c: rpl: enable escape130 codec
[06:03] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r4f79c7dd08 10ffmpeg/: (log message trimmed)
[06:03] <CIA-41> ffmpeg: Merge remote-tracking branch 'richardpl/escape130'
[06:03] <CIA-41> ffmpeg: * richardpl/escape130:
[06:03] <CIA-41> ffmpeg: escape130: fix colors
[06:03] <CIA-41> ffmpeg: escape130: remove trailing whitespace
[06:03] <CIA-41> ffmpeg: rpl: enable escape130 codec
[06:03] <CIA-41> ffmpeg: escape130: minimal effort to make it compile without warnings
[06:05] <michaelni> burek, ask zeranoe when he logs on next time, i know nothing
[06:06] <burek> ok
[08:22] <GordonFreeman> hellouuuu
[10:17] <Tjoppen> right, FATE should be run with samples for proper results
[10:28] <Tjoppen> there we go
[12:31] <Tjoppen> there we go.. computing proper packet offsets in mxfdec. now I should only need to do what mov.c does and just demux based on AVIndex
[12:31] <Tjoppen> this way turned out easier to understand, and hopefully prettier that the patch on the ML
[12:35] <Compn> j-b : did vlc ever get back in the apple app store ?
[12:36] <Compn> or is the apple app store still anti-gpl ?
[12:36] <j-b> Compn: we never got back
[12:36] <j-b> and it is so-so anti-gpl
[12:37] <Compn> theres a bunch of apps using ffmpeg in there :P
[12:47] <av500> Compn: sue them!!!
[12:50] <Compn> i'd rather infect apple with gpl, make them a party of 'induced copyright infringement' and take all of apple down! :P
[12:56] <av500> that'll be hard
[12:56] <av500> they have 70b$ to pay lawyers
[12:57] <cbsrobot> Compn: It's rather ironic - you can only add apps after apple inspected them, because it could destroy your iWhatever - well if they inspected it they are aware of the libraries used in it.
[12:57] <av500> cbsrobot: you think they do code analysis?
[12:57] <Compn> cbsrobot : you know they only inspect apps for homosexuality, abortion, and other such nonsense
[12:58] <cbsrobot> no idea - but why do they claim "it could destroy yout iThing" ?
[12:58] <Compn> thats to keep you locked into their store
[12:58] <Compn> not to use 3rd party stores, they are unclean!
[12:58] <cbsrobot> in my opinion if this is their argument, they need to analyze the code aswell
[12:59] <Compn> i think they arent touching vlc due to the complaint, not really due to the gpl
[12:59] <av500> afaik you cannot analyse code due to the halting problem
[12:59] <Compn> i mean the gpl is the complaint, but in a roundabout way...
[13:02] <cbsrobot> yeah it might be - I'm sure in thir eula they excluded any reliability towards apps violating a license
[13:02] <cbsrobot> or devs violating a license
[13:03] <av500> or course
[13:03] <av500> of
[13:13] <CIA-41> ffmpeg: 03Nicolas George 07master * re91c088055 10ffmpeg/libavformat/utils.c:
[13:13] <CIA-41> ffmpeg: lavf: lower the log level of "parser not found".
[13:13] <CIA-41> ffmpeg: The information is relevant, but under normal circumstances
[13:13] <CIA-41> ffmpeg: it raises far too many false alarms.
[13:13] <CIA-41> ffmpeg: Signed-off-by: Nicolas George <nicolas.george(a)normalesup.org>
[13:13] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[13:16] <Compn> j-b : well i didnt want to pour salt in the wound. just curious... :)
[13:16] <Compn> when people say they cant get mplayer to do something, i point them at vlc, because i know vlc has more support
[13:25] <iive> Compn: your plan to take apple store down is really cunning. We'll just have to wait for the SOPA/PrIP to be signed as law.
[13:26] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r31c55c572a 10ffmpeg/libavcodec/escape130.c:
[13:26] <CIA-41> ffmpeg: escape130: 10l for myself for not initializing y_base.
[13:26] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[13:32] <cbsrobot> michaelni: with the commit of "pthread: fixed thread initialization with default buffer allocator" does ffmpeg ever need to call ff_thread_finish_setup ?
[16:05] <ubitux> nice idea from nicolas the -report
[16:21] <Compn> iive : because apple is distributing it, they must also distribute source , right? or is it hosted on peoples own servers ?
[16:25] <iive> Compn: store license forbids RE and modifications... that's not very gpl compatible. I remember that the issue was raised in relation to GPL3, but ... yeh, I guess asking for copyright notice and offer to the source could do it too.
[16:49] <Tjoppen> what do the columns in the fate demux tests mean? a few of them are off
[16:50] <Tjoppen> like:
[16:50] <Tjoppen> 0, 172800, 3688, 0x1db45852
[16:50] <Tjoppen> -0, 176400, 38412, 0x2ee26a63
[16:50] <Tjoppen> +0, 176400, 166412, 0x7a4fd591
[16:50] <Tjoppen> 0, 180000, 8385, 0x0bc20a27
[16:50] <Tjoppen> -1, 180000, 32000, 0x8f7e5009
[16:50] <Tjoppen> 0, 183600, 3733, 0xa3e2a9a0
[17:16] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * r8ac6469575 10ffmpeg/libavcodec/escape130.c:
[17:16] <CIA-41> ffmpeg: Silence a warning when compiling Escape 130 decoder.
[17:16] <CIA-41> ffmpeg: Fixes:
[17:16] <CIA-41> ffmpeg: libavcodec/escape130.c:177:17: warning: ISO C90 forbids mixed declarations and code
[17:16] <CIA-41> ffmpeg: Reviewed-by: Paul B Mahol
[17:25] <michaelni> Tjoppen: pkt->stream_index, pkt->dts, pkt->size, crc
[17:25] <ubitux> framecrc format
[17:27] <Tjoppen> the parser must be changing the size then. hm
[17:29] <Tjoppen> the FATE sample is really ugly
[17:30] <Tjoppen> it violates the spec in various ways
[18:18] <Mista_D> While encoding to 4 output files (1st of 2 passes) only 2.5 CPU cores are utilized. I tried decreasing the number of outputs, `-threads` or `-thread_type` are, the utilization stays at ~2.5 cores of 16 available. Any way to increase CPU utilization. Pass 2 uses up to 9 cores. http://pastebin.com/m5ctKziU
[18:44] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r59d3656f6e 10ffmpeg/libavcodec/escape130.c:
[18:44] <CIA-41> ffmpeg: escape130: Check dimensions to be a multiple of the block size.
[18:44] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:44] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r40d6296095 10ffmpeg/libavcodec/escape130.c:
[18:44] <CIA-41> ffmpeg: escape130: The minimum read in and after decode_skip_count() is 4 bits.
[18:44] <CIA-41> ffmpeg: Thus we can check for 4 being available.
[18:44] <CIA-41> ffmpeg: If the next block is skiped we need 4 bits to encode the skip. If the
[18:44] <CIA-41> ffmpeg: next block is not skiped then we need 1 bit for the skip code and
[18:44] <CIA-41> ffmpeg: at least 3 bits for the block.
[18:44] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:44] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rf7da12350e 10ffmpeg/libavcodec/escape130.c:
[18:44] <CIA-41> ffmpeg: escape130: give all av_log() a context
[18:44] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:44] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rbef8dfa056 10ffmpeg/libavcodec/escape130.c:
[18:44] <CIA-41> ffmpeg: escape130: replace can_safely_read() by get_bits_left()
[18:44] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:44] <CIA-41> ffmpeg: 03Paul B Mahol 07master * r118ca0c79a 10ffmpeg/doc/general.texi:
[18:44] <CIA-41> ffmpeg: Add Escape 130 to the documentation
[18:44] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:44] <CIA-41> ffmpeg: 03jb(a)kdenlive.org 07master * re2baaa21aa 10ffmpeg/libavformat/mpegtsenc.c:
[18:44] <CIA-41> ffmpeg: mpegtsenc: recognize .mts as MPEG Transport Stream (encoding)
[18:44] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:47] <CIA-41> ffmpeg: 03Mashiat Sarker Shakkhar 07master * r6d4deecfdf 10ffmpeg/libavcodec/wmalosslessdec.c: Pass pointer to integer buffer instead of integer to memcpy
[18:47] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r15c481614b 10ffmpeg/:
[18:47] <CIA-41> ffmpeg: Merge remote-tracking branch 'shariman/wmall'
[18:47] <CIA-41> ffmpeg: * shariman/wmall:
[18:47] <CIA-41> ffmpeg: Pass pointer to integer buffer instead of integer to memcpy
[18:47] <CIA-41> ffmpeg: Merged-by: Michael Niedermayer <michaelni(a)gmx.at>
[18:50] <Tjoppen> aha - set stream_index etc. *after* av_get_packet(), not before :)
[18:53] <CIA-41> ffmpeg: 03Nicolas George 07master * r26c6fec9d9 10ffmpeg/ (4 files in 2 dirs): lavu: introduce av_log_format_line.
[19:02] <CIA-41> ffmpeg: 03Carl Eugen Hoyos 07master * r935ac228e4 10ffmpeg/libavformat/wav.c: Fix typo: Correctly parse 64 byte umid tags in bext metadata.
[19:34] <Tjoppen> 23177c8a72f34e243e9ffc4f6c70d3c7 *./tests/data/lavf/lavf.mxf_d10
[19:34] <Tjoppen> 5330989 ./tests/data/lavf/lavf.mxf_d10
[19:34] <Tjoppen> -./tests/data/lavf/lavf.mxf_d10 CRC=0x81602ff1
[19:34] <Tjoppen> does this mean the CRC changed or..?
[19:35] <Tjoppen> oh, wait.. I need to port over the AES stuff too
[20:15] <Tjoppen> bah, punting for D-10 for now
[20:16] <Tjoppen> it's.. special
[20:21] <Compn> d-10 ?
[20:21] Action: Compn forgets
[20:21] <Compn> camera ?
[20:22] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r7c41995e00 10ffmpeg/ (avconv.c ffmpeg.c):
[20:22] <CIA-41> ffmpeg: ffmpeg: more exact comment about libavformat.
[20:22] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[20:22] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rfab97adb66 10ffmpeg/doc/ (developer.texi faq.texi):
[20:22] <CIA-41> ffmpeg: docs: Minor project name cleanup
[20:22] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[20:22] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * ra4bf093e7b 10ffmpeg/doc/indevs.texi:
[20:22] <CIA-41> ffmpeg: indevs.texi: fix application name to match the code
[20:22] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[20:23] <Tjoppen> yeah, IMX50 basically
[20:23] <Tjoppen> it's CBR MPEG-2 + AES3 audio, all in their own little packet
[20:24] <Tjoppen> make fate w/ fate-suite passes \o/
[20:35] <Tjoppen> https://github.com/Tjoppen/FFmpeg/tree/opatom_demuxing_and_seeking
[20:37] <Tjoppen> time to head home. that tree works with the opatom files I linked on the ML, the fate sample and the regression files
[20:37] <Tjoppen> plus a few more
[20:38] <Tjoppen> and the demuxing code doesn't piss me off
[21:11] <bcoudurier> Tjoppen, great
[21:16] <michaelni> Tjoppen, is that branch ready to be merged ?
[21:22] <Tjoppen> I rebased it this morning. it might need a touch more work, mainly with d-10 (though it isn't worse than before)
[21:23] <Tjoppen> I'll be hacking away at it tomorrow too. I need to decode PTSes from the index tables (hence why I parse TemporalOffset)
[21:24] <Tjoppen> but yeah, should merge fine. then we can add atoms to fate
[21:27] <Tjoppen> PTS decoding isn't actually that hard. it mostly involes a bucket sort
[21:29] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * ra502939d64 10ffmpeg/libavfilter/ (avfilter.h buffersink.h sink_buffer.c):
[21:29] <CIA-41> ffmpeg: buffersink: Implement a poll function.
[21:29] <CIA-41> ffmpeg: With this the application can find out how many frames are available.
[21:29] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:29] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * rec9d92700e 10ffmpeg/ffmpeg.c:
[21:29] <CIA-41> ffmpeg: ffmpeg: Use the buffer sinks poll instead of its input.
[21:29] <CIA-41> ffmpeg: This fixes the case that the buffer sinks fifo contains frames which
[21:29] <CIA-41> ffmpeg: would not show up on the poll from its input
[21:29] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:29] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r6f7f239604 10ffmpeg/libavformat/libnut.c:
[21:30] <CIA-41> ffmpeg: libnut: check for av_malloc failure.
[21:30] <CIA-41> ffmpeg: No, ive no testcase, i just spoted these when looking ...
[21:30] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:30] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * re21f8a07ca 10ffmpeg/libavformat/libnut.c:
[21:30] <CIA-41> ffmpeg: libnut: Check nut_demuxer_init() return value.
[21:30] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:30] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r74436ad51e 10ffmpeg/libavformat/libnut.c:
[21:30] <CIA-41> ffmpeg: libnut: NULL priv->nut after nut_demuxer_uninit() as a saftey precaution.
[21:30] <CIA-41> ffmpeg: Signed-off-by: Michael Niedermayer <michaelni(a)gmx.at>
[21:31] <michaelni> Tjoppen, ok, ill merge it in a moment, just double checking make fate
[21:34] <ubitux> michaelni: are you ok with http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-December/117401.html ?
[21:35] <ubitux> basically i keep the ff_ for consistency at first, and then remove all of then in a row
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * r1170749b39 10ffmpeg/libavformat/mxfdec.c: mxfdec: Add EssenceContainer UL found in 0001GL00.MXF.A1.mxf_opatom.mxf
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * re1914b5a2f 10ffmpeg/libavformat/mxfdec.c:
[21:36] <CIA-41> ffmpeg: mxfdec: Make sure DataDefinition is consistent between material track and source track
[21:36] <CIA-41> ffmpeg: This fixes 0001GL.MXF.V1.mxf_opatom.mxf and 0001GL00.MXF.A1.mxf_opatom.mxf
[21:36] <CIA-41> ffmpeg: getting two streams each due to both using the same SourcePackageID.
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * re5f9c8927b 10ffmpeg/libavformat/mxfdec.c: mxfdec: Parse ThisPartition
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * r336246238e 10ffmpeg/libavformat/mxfdec.c: mxfdec: Compute essence container offsets and lengths into mxf->partitions
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * r623128d782 10ffmpeg/libavformat/mxfdec.c:
[21:36] <CIA-41> ffmpeg: mxfdec: av_dlog():ify 'no corresponding source package found'
[21:36] <CIA-41> ffmpeg: This isn't an error. It's also expected behavior for OPAtom files.
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * r7560c26495 10ffmpeg/libavformat/mxfdec.c: mxfdec: Parse TemporalOffsets
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * rfd34dbea58 10ffmpeg/libavformat/mxfdec.c:
[21:36] <CIA-41> ffmpeg: mxfdec: Parse more values in PartitionPack
[21:36] <CIA-41> ffmpeg: These values include KAGSize, HeaderByteCount and IndexByteCount.
[21:36] <CIA-41> ffmpeg: The length of the pack itself is also stored, and KAGSize is sanity checked.
[21:36] <CIA-41> ffmpeg: The FATE sample has KAGSize == 0, which is adjusted to 512.
[21:36] <CIA-41> ffmpeg: Other bad KAGSizes are set to 1.
[21:36] <CIA-41> ffmpeg: 03Tomas Härdin 07master * r5fb800f49a 10ffmpeg/libavformat/mxfdec.c: mxfdec: Use MaterialPackage - Track - TrackID instead of the system_item hack
[21:36] <CIA-41> ffmpeg: 03Michael Niedermayer 07master * r4ab495b4ee 10ffmpeg/: (log message trimmed)
[21:36] <CIA-41> ffmpeg: Merge remote-tracking branch 'tjoppen/opatom_demuxing_and_seeking'
[21:36] <CIA-41> ffmpeg: * tjoppen/opatom_demuxing_and_seeking:
[21:36] <CIA-41> ffmpeg: mxfdec: Index table driven demuxing and seeking
[21:37] <CIA-41> ffmpeg: mxfdec: Compute packet offsets properly
[21:37] <CIA-41> ffmpeg: mxfdec: Use MaterialPackage - Track - TrackID instead of the system_item hack
[21:37] <CIA-41> ffmpeg: mxfdec: Parse more values in PartitionPack
[21:37] <CIA-41> ffmpeg: 03Tomas Härdin 07master * rddcf3e0535 10ffmpeg/ (libavformat/mxfdec.c tests/ref/seek/lavf_mxf):
[21:37] <CIA-41> ffmpeg: mxfdec: Index table driven demuxing and seeking
[21:37] <CIA-41> ffmpeg: This adds OPAtom support and proper seeking.
[21:37] <CIA-41> ffmpeg: D-10 and non-seekable OP1a streams still use the old demuxing/seeking code.
[21:37] <CIA-41> ffmpeg: 03Tomas Härdin 07master * rdcd30b83b4 10ffmpeg/libavformat/mxfdec.c: (log message trimmed)
[21:37] <CIA-41> ffmpeg: mxfdec: Speed up metadata and index parsing
[21:37] <CIA-41> ffmpeg: Specifically, this means parsing as before until we run into essence.
[21:37] <michaelni> ubitux, i fear this renaming breaks ABI
[21:38] <ubitux> ah, ok
[21:38] <CIA-41> ffmpeg: At that point we seek to the footer and parse until EOF. After that we start
[21:38] <CIA-41> (9 lines omitted)
[21:38] <michaelni> i mean rename in libavcodec and then old libavformat would fail to find it
[21:39] <ubitux> and with a bump?
[21:40] <ubitux> removing functions means major bump though...
[21:40] <michaelni> yes ...
[21:41] <michaelni> you can rename and provide wrapers under the old name if you want
[21:41] <michaelni> and put the wrapers under #if VERSION blah
[21:41] <michaelni> a lot of boring work ...
[21:41] <ubitux> sounds overkill too :p
[21:43] <nevcairiel> since these functions are private, do they really break ABI ? (unless someone starts mixing different avformat with avcodec versions, if thats supposed to be supported)
[21:45] <michaelni> it depends, on how distros package things and how they define dependancies
[21:47] <michaelni> btw, Tjoppen, you might want to add yourself as mxf maintainer
[21:51] <Tjoppen> ah, right
[21:58] <ubitux> haha stefano sending another toy filter :)
[22:15] <Tjoppen> come to think of it, I didn't try atoms with multiple EditUnitByteCounts
[22:56] <CIA-41> ffmpeg: 03Stefano Sabatini 07master * rb229485f1a 10ffmpeg/doc/APIchanges: APIchanges: add entry after av_buffersink_poll_frame() addition
[00:00] --- Fri Dec 9 2011
1
0