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

burek burek021 at gmail.com
Thu Jun 21 02:05:02 CEST 2012


[01:53] <pfloyd> Is there a way to find out what color space a video was encoded in?
[02:04] <Chamunks> I'm recording using fraps to record screencasts and want to use linux on my 6core processor to re-encode the avi files that fraps put out into webm format.
[02:04] <Chamunks> I need a simple example command to start off with.
[02:10] <llogan> Chamunks: why webm?
[02:14] <Chamunks> youtube supports html5 on videos pre converted to webm
[02:14] <Chamunks> I found this http://www.youtube.com/watch?v=_sh73MPvUD8 so far.
[02:14] <llogan> i assumed it converted everything to both h.264 and VP8.
[02:15] <Chamunks> well the fraps video size is extremely large and i dont want to upload 40 gigs of stuff.
[02:15] <Chamunks> so i gotta at least do something.
[02:16] <llogan> i don't know a good libvpx command, but i can give you something in H.264
[02:16] <Chamunks> but dont want to lose the 1080p
[02:16] <llogan> yes, that's assumed
[02:16] <Chamunks> libvpx
[02:16] <Chamunks> ?
[02:16] <Chamunks> im starting off knowing not much more than whats in that video there.
[02:17] <llogan> the VP8 encoder
[02:17] <Chamunks> also a guy at the LinuxUsersGroup did this little tutorial http://kwlug.org/node/854
[02:18] <llogan> sameq doesn't do what he thinks it does.
[02:18] <Chamunks> well h.264 is fine by me
[02:18] <llogan> start off by showing me the complete output of: ffmpeg
[02:18] <llogan> (use a pastebin service)
[02:18] <Chamunks> i'll need a command that will trigger the desired output here.
[02:19] <Chamunks> I want to do the batch processing suggested in the video there and hopefully use multithreading effectively.
[02:20] <llogan> i need your ffmpeg version and configure before i can give you a command; that's why i asked for the output of "ffmpeg" command.
[02:21] <Chamunks> ohyes sorry
[02:21] <Chamunks> derp
[02:23] <Chamunks> llogan, http://paste.thezomg.com/3282/13401516/
[02:23] <llogan> you're usinf ffaux-ffmpeg from not-FFmpeg, not ffmpeg from FFmpeg.
[02:24] <llogan> meaning i can't guarantee any good results
[02:24] <Chamunks> i just grabbed from the linux mint repo
[02:24] <Chamunks> I can apt-get anything else you suggest.
[02:24] <llogan> yeah, Debunmint maintainer has fork lust
[02:25] <Chamunks> eeh lmde repos killed my system last time
[02:25] <llogan> try: ffmpeg -i input -vcodec libx264 -preset medium -crf 18 -acodec libfaaq -aq 100 -t 30 output.mp4
[02:25] <llogan> *libfaac
[02:26] <llogan> but your version of "ffmpeg" is probably using old syntax.
[02:27] <Chamunks> let me ask in #linuxmint_help if they have a repo for the latest ffmpeg
[02:28] <llogan> https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[02:28] <llogan> or http://ffmpeg.gusari.org/static/
[02:28] <llogan> or https://launchpad.net/~jon-severinsson/+archive/ffmpeg (probably fine for Mint, but I am not a PPA user)
[02:29] <llogan> ...old syntax: s/-preset/-vpre
[02:34] <Chamunks> llogan, ok im grabbing the one from the ppa
[02:34] <Chamunks> i was hoping for a ppa
[02:42] <Chamunks> llogan, ok i dont think that this is gonna change http://paste.thezomg.com/3287/34015279/
[02:42] <Chamunks> looks all the same.
[02:43] <Chamunks> llogan, could you paste an example of your ffmpeg output to see if i can drop it into linuxmint-help and see if they have any suggestions?
[02:43] <llogan> just try the command i gave you earlier
[02:45] <Chamunks> kk 1sec
[02:51] <Chamunks> ok im an asshole so i tried for i in *.avi;do ffmpeg -i "$i" -vcodec libx264 -preset medium -crf 18 -acodec libfaac -aq 100 -t 30 "$(echo "$i"|cut -d\. -f1).mp4";done first I'll go and try yours vanilla as it is with libfaac
[02:53] <llogan> "${i%.avi}.mp4" instead of "$(echo "$i"|cut -d\. -f1).mp4"
[02:53] <Chamunks> llogan, http://paste.thezomg.com/3289/13401535/
[02:54] <llogan> ...old syntax: s/-preset/-vpre
[02:54] <Chamunks> im sorry im not seeing how to replace that in. :S
[02:54] <llogan> change -preset to -vpre
[02:54] <Chamunks> kk
[02:56] <Chamunks> http://paste.thezomg.com/3290/34015364/
[02:56] <Chamunks> libx264 unknown
[02:56] <Chamunks> if i go to apt-get and try to install libx264 i get these options libx264-116  libx264-118  libx264-120  libx264-dev
[02:57] <Chamunks> llogan, should i install the dev? or 120 im guessing that those are build numbers
[02:57] <llogan> libavcodec-extra-53
[02:57] <llogan> or maybe 52
[02:58] <llogan> i assumed mint would have that installed that
[02:58] <llogan> next it will probably bitch about libfaac
[02:59] <Chamunks> yippee.
[02:59] <Chamunks> well i highly appreciat your patients.
[02:59] <Chamunks> appreciate*
[03:00] <Chamunks> ok it bitched for file for preset medium not found but when i changed it to the "new syntax" with "-preset medium" it moved to bitching about libfaac
[03:02] <Chamunks> llogan, I could simply stick with sudo apt-get install libfaac or libfaac-dev
[03:02] <llogan> no. it doesn't work like that.
[03:02] <Chamunks> fair.
[03:04] <llogan> the preset should be installed with that version of "ffmpeg"
[03:04] <llogan> use a pastebin site to show your ffmpeg command and the complete console output
[03:05] Action: llogan starts 11.10 VM
[03:05] <Chamunks> llogan, http://paste.thezomg.com/3292/34015422/
[03:06] <Chamunks> llogan, apparently theres another update that I need to snag so i'll grab that its mplayer
[03:06] <llogan> now you're using the PPA version
[03:07] <Chamunks> well i ran a sudo apt-get update && sudo apt-get upgrade right after installing the ppa it should have got it all but meh
[03:07] <Chamunks> guess it didnt
[03:07] <Chamunks> i didnt see the update icon until now.
[03:10] <llogan> try the ffmpeg-extra package from the same PPA, or change -acodec libfaac to -acodec libmp3lame and -aq to 5
[03:11] <Chamunks> apparently theres only ffmpeg-extra-dbg
[03:11] <Chamunks> thats fine to get?
[03:12] <llogan> i don't know. just change your command line.
[03:12] <Chamunks> k
[03:13] <llogan> (this is usually easier, but i'm not familiar with Mint or Jon's PPA)
[03:13] <llogan> ..oh, and the output to .mkv
[03:13] <Chamunks> sorry im not using a less noob distro
[03:13] <Chamunks> if I had the free time to learn archlinux now that would probably be bleeding edge :P
[03:14] <Chamunks> ok its moving now
[03:15] <Chamunks> is there a better pastebin that will highlight this better?
[03:15] <Chamunks> http://paste.thezomg.com/3293/40154774/
[03:15] <llogan> no, it's not your fault. it's they way it was packaged.
[03:15] <llogan> looks like it worked
[03:15] <Chamunks> mhmm looks like.
[03:15] <Chamunks> now is that going to work well with that for version of this
[03:17] <llogan> sorry, i don't understand the question
[03:17] <Chamunks> for i in *.avi;do ffmpeg -i "$i" -vcodec libx264 -preset medium -crf 18 -acodec libmp3lame -aq 5 -t 30 "${".avi}.mp4";done
[03:17] <Chamunks> that should work fine.
[03:17] <Chamunks> im guessing
[03:17] <llogan> change mp4 to mkv
[03:17] <llogan> and the -t 30 was just for testing. it makes a 30 second output
[03:17] <Chamunks> kk im guessing thats the diff between libfaac and lame doing the mp3 stuff.
[03:17] <Chamunks> oohh ok sweet
[03:18] <Chamunks> i just q'd it like the guy in the video after a couple frames.
[03:18] <llogan> yes. libfaac is a aac encoder. libmp3lame is mp3.
[03:19] <Chamunks> now I dont mind if this thing takes over my computer for a while is there a way to change the level of oomf
[03:19] <Chamunks> also im doing this before even editing the stuff i just dont have the space to leave it in fraps files.
[03:20] <llogan> crf is the quality level. you probably won't see a difference between the input and the output using crf 18.
[03:20] <llogan> preset is your encoding speed/compression ratio.
[03:21] <Chamunks> k and the multi threading for my 6cores.
[03:21] <llogan> automatic when using libx264
[03:21] <llogan> so you don't have to do anything special
[03:22] <Chamunks> lovely :) ok im getting an issue with http://paste.thezomg.com/3294/01552551/
[03:23] <Chamunks> bad substitution.
[03:24] <llogan> "${i%.avi}.mkv"
[03:24] <Chamunks> yep hah just caught that as you replied
[03:24] <Chamunks> awh man awesome!
[03:26] <llogan> you should upload a short clip to see if youtube even likes it
[03:27] <Chamunks> ok so do it without the for and run a -t 10
[03:27] <Chamunks> just to see how it works
[03:27] <Chamunks> getting 680fps
[03:33] <Chamunks> that uploaded faster than I could describe the video :D
[03:34] <llogan> if you're really patient you could try -preset veryslow
[03:34] <Chamunks> llogan, http://www.youtube.com/watch?v=KRICeKWVJ9s&feature=youtu.be
[03:34] <Chamunks> whats the difference between medium and veryslow
[03:34] <Chamunks> just ultra compression?
[03:37] <llogan> yes. better compression, but probably 10x slower encode
[03:37] <Chamunks> about 3x
[03:37] <Chamunks> well half
[03:37] <Chamunks> i got 300 fps
[03:38] <Chamunks> is that a good speed? i really dont encode much video up until today.
[03:39] <Chamunks> I also have two Sapphire radeon hd6050's under the hood is there a way i could possibly harness them or am i in way over my head at that point.
[03:40] <llogan> encoding speed depends on your source complexity, your encoder (settings), and your cpu
[03:41] <llogan> and no, the Sapphire radeon hd6050s can't be utilized for encoding with x264, AFAIK
[03:41] <Chamunks> k
[03:46] <llogan> and the GPU utilizing encoders ive seen are crappy
[03:47] <llogan> good luck with the rest of the encoding
[03:47] <Chamunks> llogan, fair thats a shame because I know GPU's are number crunching champions.
[08:56] <Guest45253> hi -could someone take a look at https://ffmpeg.org/trac/ffmpeg/ticket/1461 and suggest a work around? i am stuck on ffmpeg-->ffserver issues
[09:23] <censor> ubitux: did you guys figure something out yesterday regarding the yadif/timecode issue? where the timecode was 2x faster if deinterlacing...
[09:24] <ubitux> nope i didn't look at it
[09:25] <ubitux> it was suggested yadif was acting weirdly
[09:25] <ubitux> maybe you should open an issue
[09:30] <censor> yeah, okay, i'll do that
[09:50] <censor> done, #1469
[09:59] <ubitux> thanks :)
[10:28] <censor> ubitux: can you access the source sample?
[10:30] <ubitux> yes, thanks
[10:30] <ubitux> will this stay up for a while?
[10:30] <censor> yes, it should, at least a couple of weeks
[10:34] <ubitux> great, thanks :)
[10:40] <Guest45253> am able to encode rawvideo from the fb0 but unable to post it to the ffserver - http://pastebin.com/ymLPBVmC
[10:42] <Guest45253> ffmpeg and ffserver giving av_interleaved_write_frame(): Connection reset by peer error
[10:49] <burek> Guest43518, ffserver is currently buggy
[10:49] <burek> it's better to use vlc for that purpose
[10:49] <burek> until it's rewritten
[11:24] <Diogo> hi anyone works with microsoft mediaroom?
[12:56] <Sebastia> hi guys
[13:04] <Sebastian_Tische> hi guys
[13:23] <circus_coder> Hi, I am developer and want to offer and paid app with ffmpeg in the appstore! Now my question is: Am I facing legal problems when offering the ffmpeg binary in a paid/commercial app? I would give credit and link to source code in the about box! But may I get problems with mpegla or any other patent holder? Thank you in advance
[13:28] <iive> if you distribute it as binary, you may need to check mpegla demands. I think they have different plans for different number of applications. So small batches cost less (or even free).
[13:30] <iive> the problem with apple appstore is however a little bit bigger. As they explicitly forbid reverse engineering, thus placing additional restrictuions on gpl code. I think that VLC people requested and had the player removed from apple store for that reason. You may google it for the exact details.
[13:32] <iive> another bigger problem is the spirit of the gpl that demands that the user have full control over the (l)gpl parts. This includes modifications on them. E.g. if a user wants to fix specific bug in the shipped ffmpeg, he can't do it, even if he had bought the application, have the source and the tools to compile it.
[13:33] <iive> basically the walled garden is the exact moral opposite of free software.
[13:34] <iive> still, don't get my explanations for even remotely correct, research the topic on your own too.
[13:36] <circus_coder> Hi iive, thanks for the intense and nice explanation!
[13:36] <circus_coder> I see the point and want to offer it as a  standalone app with ffmpeg as a seperate source! so everyone with know how can even use pre relase versions and so on! but apple don't allow this:(
[13:40] <iive> yes. Apple have also been slowly pushing all gnu and gpl components outside of their developer tools.
[13:41] <Sebastia> Sorry needed to switch the app so this is the new user account ;)
[13:41] <iive> circus_coder?
[13:41] <Sebastia> yes!
[13:42] <Sebastia> do you know of anyone who had problems with offering an app inside the MAS?
[13:44] <iive> mas?
[13:44] <Sebastia> Mac App Store! sorry!
[13:44] <iive> to be honest, it isn't topic i follow.
[13:45] <Sebastia> ah no problem at all :)
[13:45] <Sebastia> any idea where I can find someone who is into this legal topic?
[13:45] <iive> That I told you are things i've heard around. So they may not be quite accurate.
[13:46] <iive> well, you can keep asking here. You may also try to ask in the fork channel.
[13:46] <iive> #libav or #libav-users.
[13:47] <Sebastia> perfect, thank you I try to ask there :)
[13:47] <iive> the ffmpeg fork is another problem when it comes to legal matter. As some of the people in the fork hold copyright of the ffmpeg. Even if you get permission from current ffmpeg developers, the fork developers may not be happy.
[13:51] <Sebastia> ok thanks for the hints :)
[13:51] <Sebastia> the biggest problem is that they may sue me
[13:53] <iive> well, the fork was a horrible story. But it also halted the attempts to pressure big gpl licence violators.
[13:55] <Sebastia> it pushes the older problem to a future time right ? ;) and I know mpegla is pretty hard in sueing ;)
[13:56] <iive> i know they usually offer you to get the things straight before going in court.
[13:56] <iive> you basically have no chance of winning against them and they could save some money on court bills.
[13:57] <Sebastia> but still with 3times the amount of money :D
[13:57] <Sebastia> wxactly they are far to big!
[13:57] <Guest15759> hi guys, any idea why ffmpeg would stop all of a sudden, while encoding rrawvideo from a framebuffer?
[13:59] <iive> Guest15759: stop as in quit, hang or run at 100% without responding?
[13:59] <Guest15759> iive: here's the pastebin http://pastebin.com/4eVUuHGJ
[13:59] <Guest15759> stop as in quit
[14:01] <c10ud> burek, hello: https://ffmpeg.org/trac/ffmpeg/ticket/1275
[14:02] <iive> Guest15759: hum, I have no idea. I didn't even know you can get the image from framebuffer if you use it as pipe.
[14:02] <saste> Guest15759: shouldn't you use the framebuffer device?
[14:03] <saste> i mean -f fbdev
[14:03] <iive> it looks like it quits after the first image.
[14:03] <Guest15759> yeah, it takes one image and then dies down
[14:03] <iive> Guest15759: do what saste says :)
[14:04] <Guest15759> saste: -f fbdev gives the following error - [fbdev @ 0x8c1c470] Framebuffer pixel format not supported.
[14:04] <Guest15759> /dev/graphics/fb0: Invalid argument
[14:05] <saste> Guest15759: pastebin...
[14:05] <Guest15759> saste: while using the fbdev should the input file change to some other file? btw - i am trying all of this on an android-x86
[14:05] <saste> "change to some other file" ... can't understand this
[14:06] <Guest15759> saste: http://pastebin.com/Nd2vNVja
[14:08] <saste> so you're unlucky, your pixel format is not supported...
[14:09] <Guest15759> saste: have i been stupid not to find someting or is there no workaround at all? :)
[14:10] <saste> Guest15759: note that it shouldn't be too hard to implement it, check  get_pixfmt_from_fb_varinfo() in libavdevice/fbdev.c
[14:11] <saste> Guest15759: no workaround i suppose, reading directly from the device may be an idea but i don't thing it can work reliably
[14:11] <saste> *don't think
[14:13] <saste> indeed it can't, since the device file is updated periodically, if you just read from the file *phisically* you read to the end of the file, and quit
[14:13] <saste> for the rawvideo muxer it is like the file ended, because it read all the file
[14:13] <saste> so you need to use fbdev
[14:13] <saste> send a patch or file a feature request
[14:13] <Guest15759> saste: sure, i will try to get that done...yeah, i got the problem, its like EOF and then there has to be some loop etc to do that, which will be really bad
[14:14] <Guest15759> saste: i'll try to patch it and send it, if not will request for a feature
[14:16] <Guest15759> saste: i just looked at the code, if i just add the rgb565 code to the map, i guess it should work
[14:16] <saste> i hope so
[14:19] <saste> get to go, bye
[14:24] <Guest15759> saste:thanks, will send a patch if it works
[15:32] <jpabx> Is av_seek_frame() with AVSEEK_FLAG_BYTE supposed to work?
[16:07] <dericed> The ffmpeg documentation says that the -report option "implies -loglevel verbose" but it seems to imply loglevel debug.
[16:31] <Bolle> Hi, I wanted to make certain of the fact that FFmpeg can read directly from a DVB, the documentation states "ffmpeg -i file.mpg -c copy \ -mpegts_original_network_id 0x1122 \ -mpegts_transport_stream_id 0x3344 \ -mpegts_service_id 0x5566 \ -mpegts_pmt_start_pid 0x1500 \ -mpegts_start_pid 0x150 \ -metadata service_provider="Some provider" \ -metadata service_name="Some Channel" \ -y out.ts
[16:32] <Bolle> What's the input file about and I'm not even certain what the other parameters should be, I've worked with dvb before, but it was more automated, so, novice...
[16:33] <Bolle> Though I'll look up how to check the other parameters. But I just wanted to know, prior to that, can it read straight from the DVB? (in this case dvb-s)
[16:36] <Bolle> I've already wasted quite some time prior to asking here, so don't think I'm just looking for fast answers.
[16:51] <hepek> hello good people
[16:51] <hepek> how can I demux and save raw stream from mpeg to a file
[16:51] <hepek> for example
[16:51] <hepek> i have some data stream muxed with video
[16:51] <hepek> in mpeg-ts
[16:52] <hepek>     Stream #0.0[0x1e1]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 5000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
[16:52] <hepek>     Stream #0.1[0x1f1]: Data: KLVA / 0x41564C4B
[16:52] <hepek> I want to be able to demux #0.1 into a file
[18:17] <wwilly> hi
[18:17] <wwilly> by default, ffmpeg was build with ffplay isn't it?
[18:18] <wwilly> i have only do ./configure --prefix=../install && make && make install
[18:18] <wwilly> but no ffplay in ../install/bin
[18:21] <wwilly> i have ffmpeg, ffprobe and ffserver
[18:25] <wwilly> i saw ffplay='yes' inside configlog
[18:31] <burek> wwilly, check config.log
[18:32] <burek> something went wrong or some lib was missing
[18:33] <bolle> I dced earlier. Are you able to use a dvb-s feed with ffmpeg, that is, can you stream with DVB-s with out using another software?
[18:43] <burek> bolle, you really need to work out on how to ask a question :)
[18:43] <burek> every time you asked a question so far it was always somehow fuzzy or unclear what you really want :)
[18:44] <burek> you can feed ffmpeg with dvb-s
[18:44] <bolle> burek, My question is if I can use ffmpeg, alone, to read from a DVB-s, since all the things I'm finding is for using a third party software.
[18:44] <burek> yes you can
[18:44] <burek> you need dvb card + drivers
[18:45] <burek> and you would use it somehow like this: ffmpeg -i /dev/dvb/adapter0/dvr0
[18:45] <bolle> Yes, that much I'm aware of.
[18:45] <bolle> Though I don't know how to tune into the channels, there is nothing to specify frequencies in the  options.
[18:46] <burek> http://www.google.com/search?q=dvb-s+linux
[18:46] <bolle> At least I don't think there is. The only thing they mention regarding it is on mpeg-ts, and the guidelines there are rather thin.
[18:47] <burek> or should I say http://bit.ly/M51Bx8 :)
[18:48] <bolle> Are you telling me to get a tuning card? Cause I already have one and I have already tried it to see that it's working.
[18:48] <bolle> From my knowledge, you specify the frequency, polarization and s-rate to specify a group of channels.
[18:49] <bolle> Though I don't know the proper way with ffmpeg.
[18:50] <bolle> Like I said, all that I can find is of people using other softwares with ffmpeg.
[18:54] <bolle> Bro I've wasted a lot of time trying to find a proper solution, seriously. I don't immediately come with every single stupid question I have.
[18:56] <burek> well you need a receiver
[18:57] <burek> and it controls which channel do you want to capture
[18:57] <burek> after that just feed the ffmpeg and that's it
[18:58] <bolle> A receiver? You mean something that I can plug the cord from the dish to my pc, right?
[18:59] <bolle> Because I already have that and I already restreamed using MUMUDVB, so I know for a fact that it works.
[19:10] <bolle> So far, people seem to be suggesting tzap.
[19:27] <Spider-Pork> I'm trying to stream pcm ulaw/alaw 64kbit/s to VLC. I do this http://paste.debian.net/175512/ and after a while the program go to segmentation fault. Meanwhile the audio is ok (but the speed of the stream is not 64kbit/s). Any idea? Thank you
[19:52] <jesk> hi
[19:54] Last message repeated 1 time(s).
[20:44] <bolle> Burek, are you absolutely certain that ffmpeg can stream off of a dvb-s signal, with out using any other softwares?
[20:50] <burek> man..
[20:50] <burek> rtf google
[20:50] <burek> and figure out what you are asking
[20:56] <burek> you need a demodulator (receiver)
[20:56] <burek> which will give you your ffmpeg input that you need
[20:56] <burek> read the manual for your receiver
[20:56] <burek> on how to tune to specific channel
[20:57] <burek> and that's it
[20:57] <burek> ffmpeg cannot magically do all that
[20:59] <c10ud> burek, quick update on the bug i commented on: with a flv player the streaming seems to work
[21:03] <Guest48960> c10ud: i had reported 1261, are you sure streaming is working properly? if its not decoding with vlc etc, i am not sure if its working
[21:08] <c10ud> https://ffmpeg.org/trac/ffmpeg/ticket/1261 ?
[21:08] <c10ud> i was talking about 1275
[21:16] <llogan> did you try AVPresetVideo to set the preset? (i've never used ffserver)
[21:25] <c10ud> llogan, it's not enough, must be some bug in ff*.. anyway OP's issue can be workarounded, see my comment
[22:10] <Guest48960> c10ud: i am trying to recompile ffmpeg, ad somehow ffserver is getting built but not ffmpeg, i am trying to compile 0.11.1 - http://pastebin.com/xaR93txL
[22:11] <Guest48960> it had happened a couple of days back as well, i am not sure how did i solve it
[22:23] <Colorless> hihi
[22:24] <LunaSlave> can someone help me?
[22:29] <ephemer0l> hello all, Im having issues while trying to install from SVN. Can anyone enlighten me as to how I can fix this issue with libavcodec/aacps_tablegen http://pastebin.com/96JDdrPk
[22:30] <iive> LunaSlave:  i hope you mean git.
[22:30] <ephemer0l> yes, iive I guess I do, sorry
[22:31] <iive> M_PI missing, most probably lack of math.h, or really strange build environment
[22:36] <iive> ephemer0l: what is your distribution, compiler, what options have you passed to configure.
[22:36] <LunaSlave> i'm trying to figure out why ffmpeg says a stream is corrupt (trying to get it to work in serviio) but i can play it just fine
[22:37] <iive> LunaSlave: what stream. You need to provide more information. btw streaming not my thing:(
[22:37] <LunaSlave> sorry i'm not too techy
[22:37] <LunaSlave> japanese tv stream
[22:37] <LunaSlave> mms://125.46.37.39:42899/NHK01
[22:38] <LunaSlave> plays perfectly in wmp and such, but ffmpeg (and servii) hate ito
[22:38] <LunaSlave> it
[22:38] <iive> i think ffmpeg mms support is quite old.
[22:38] <ephemer0l> iive Im building this on a hardened gentoo box gcc is 4.6.3 Im disabling graphite now and trying again. CXXFLAGS="-D_FORTIFY_SOURCE=2 -O2 -pipe -march=native -mtune=native -ftree-vectorize -w "
[22:39] <iive> ephemer0l: never compile with ftree-vectorize
[22:39] <ephemer0l> configure is USE="3dnow 3dnowext aac aacplus bzip2 encode hardcoded-tables mmx threads vorbis x264 xvid zlib
[22:39] <ephemer0l> ok Ill try removing it
[22:39] <LunaSlave> ahh ok
[22:39] <iive> it is not the problem at hand... and C++ flags are not relevant to ffmpeg ;)
[22:41] <ephemer0l> iive FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher"
[22:41] <iive> well, gentoo is using gcc, and it kind of mandates working compiler environment.
[22:42] <iive> ephemer0l: these are all ebuild options.
[22:42] <ephemer0l> iive I have not noticed other packages throwing errors
[22:42] <LunaSlave> hmmm
[22:51] <ephemer0l> iive here is the full build log from portage
[22:51] <ephemer0l> http://nopaste.info/0039ad183b.html
[22:58] <iive> ephemer0l:  can you try to find the file math.h ? it should be in /usr/include/math.h , see if you can read it (e.g. less)
[22:58] <iive> see if it not empty or have size of 0.
[22:59] <iive> i usually avoid debugging gentoo problems. a lot of them just go away when not using ebuild ;)
[22:59] <iive> few more things, not related to the current problem
[23:00] <iive> 3dnow is not available on intel. ffmpeg doesn't enable mmx2, ssse3 and avx, and your core seems to support them all.
[23:00] <ephemer0l> iive I do have math.h with a file size of 15987. I do thank you for taking the time.
[23:00] <ephemer0l> media-video/ffmpeg-0.11.1 builds and installs fine by the way.
[23:00] <iive> hum.
[23:00] <iive> i'll check the current git.
[23:01] <iive> there may be some recent change.
[23:15] <iive> current git compiled fine for me :|
[23:15] <ephemer0l> iive thanks again for looking into this. Ill rebuild my toolchain then all my packages after changing cflags and cpu features and report back if it was somthing wonky on my end.
[23:16] <iive> ephemer0l: well, the bad thing is that ebuild hides the options used, and the problem may surface only when using some specific option.
[23:17] <iive> e.g. the portion that fails have 2 paths. one of the paths is to use pre-calculated table and just put it in the binary. The other is to calculate the table at runtime. The code that does it uses M_PI.
[23:18] <iive> but afaik, the runtime is the default.
[23:19] <iive> another idea. can you check where common.h could be found on your system?
[23:19] <iive> e.g. /usr/include ?
[23:20] <iive> ffmpeg uses file with such name internally, if something install a global one, it may be the cause of the problem.
[23:20] <ephemer0l> /usr/include/libavutil/common.h
[23:21] <iive> this is the ffmpeg installed one.
[23:21] <ephemer0l> thats the only one on my system
[00:00] --- Thu Jun 21 2012


More information about the Ffmpeg-devel-irc mailing list