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

burek burek021 at gmail.com
Wed Mar 19 02:05:01 CET 2014


[02:33] <Compn> anyone here with ffmpeg want to test rtmp://cp49989.live.edgefcs.net/live/streamRM1@2564 and see if it works ? i'm curious if its native rtmp or librtmp bug
[02:36] <relaxed> Compn: http://pastie.org/8942222
[02:37] <relaxed> ffplay plays it
[02:41] <Compn> relaxed : yes, i got it working with "rtmp://cp49989.live.edgefcs.net/live/streamRM1@2564 live=yes"
[02:41] <Compn> thanks for testing
[02:42] <Compn> my version was last month, strange :)
[04:26] <Gregor> Anybody know of a filter (or other system) in ffmpeg that could generate some reasonable notion of the motion between frames? I looked at using deshake's logs, but it gives up so easily that most frames are marked as having no motion.
[04:27] <Gregor> I just want some unitless value that vaguely represents how much motion there was from one frame to the next. I'm currently just using difference in pixel luminance, but with some motions, particularly sweeping pans, it artificially inflates the amount of change.
[05:17] <sinclair|work_> Gregor: not sure mate, but i am intrigued by the things you just said
[09:50] <newbie2> Is this the correct place to ask for FFMPEG help?
[09:53] <relaxed> newbie2: yes
[09:56] <Eventh> Is there a way to select two streams (audio and video) in the tee pseudo-muxer?  select allows me to specify one or all streams? http://pastie.org/8946733 I would like each ouput file to contain a video stream and the audio stream.
[09:59] <relaxed> which streams do you want?
[10:00] <relaxed> is -flags +global_header needed?
[10:00] <Eventh> each output file should have 1 video and 1 audio
[10:00] <Eventh> If I remove it I get the following error "[mp4 @ 0x3f5b4a0] Codec for stream 0 does not use global headers but container format requires global headers"
[10:01] <relaxed> I don't think you want the tee muxer then.
[10:01] <relaxed> ffmpeg -i input -map 0
[10:02] <relaxed> er...
[10:02] <newbie2> Hope someone can help: Currently I have Centos 6.3 with FFMPEG 0.6.5 from repository and recording all works well (RME Hammerfall HDSP 9632 card). I wanted to use the latest FFMPEG and all appears to compile fine, but when I record with the same command I just get silence. Also had the same problem with compiling ecasound. Any ideas?
[10:02] <relaxed> ffmpeg -i input -map 0:v:0 -map 0:a output1 -map 0:v:1 -map 0:a output2 ..
[10:02] <newbie2> command I am running on both version of ffmpeg: 'ffmpeg -f alsa -i default ~/ffmpeg.wav'
[10:04] <Eventh> relaxed: I could do that, but then I would demux etc twice? And encode audio twice?
[10:04] <relaxed> newbie2: http://trac.ffmpeg.org/wiki/Capturing%20audio%20with%20FFmpeg%20and%20ALSA
[10:05] <relaxed> Eventh: yes
[10:05] <Eventh> I'm trying hard to avoid that, as I actually need to create 10-15 different outputs, for rtmp/hls and more
[10:06] <newbie2> relaxed: Thanks for the link, the problem I am trying to get more info on is why my compile of the latest ffmpeg isn't working with the same command as I'm running on ffmpeg 0.6.5
[10:07] <relaxed> newbie2: 0.6.5? please download the most recent release and use that.
[10:07] <relaxed> which is 2.1.something
[10:08] <relaxed> Eventh: tee is for copying output
[10:09] <Eventh> True
[10:17] <newbie2> relaxed: I am trying to use the latest version (Downloaded and compiled) the issue is that this version does not record any sound and I think it may be a possible compile issue. The old version 0.6.5 that comes with Centos 6.3 repository all works.
[10:22] <newbie2> relaxed: sorry.
[10:22] <newbie2> fflogger: please see: http://pastebin.com/Rix5p1jW
[10:22] <relaxed> fflogger is a bot :)
[10:23] <relaxed> did you read http://trac.ffmpeg.org/wiki/Capturing%20audio%20with%20FFmpeg%20and%20ALSA  ?
[10:24] <relaxed> as well as you read fflogger's message :/
[10:28] <newbie2> relaxed: I have read the link and still no luck.
[10:29] <relaxed> have you tried anything other than "-i default" ?
[10:29] <newbie2> relaxed: Yep tried hw:0 this gives me error: [alsa @ 0xb1c0d80] cannot set access type (Invalid argument)
[10:29] <newbie2> hw:0: Input/output error
[10:30] <newbie2> relaxed: Same for hw:0,0
[10:30] <relaxed> did you run "arecord -l" to get the name you need?
[10:30] <relaxed> or are you just trying random crap?
[10:31] <newbie2> relaxed: This was the aplay -l output:
[10:31] <newbie2> **** List of CAPTURE Hardware Devices ****
[10:31] <newbie2> card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632]
[10:31] <newbie2>   Subdevices: 1/1
[10:31] <newbie2>   Subdevice #0: subdevice #0
[10:31] <newbie2> As I said previosly I can record with ffmpeg 0.6.5 that was taken using yum from repository. But when I use the compiled latest version, I get no errors, just empty wav file :(
[10:32] <newbie2> relaxed: Might just try completely rebuilding the box :(
[10:33] <anshul_> hey, I am trying demuxing_decoding.c with c++ and i am getting error: expected ) before PRId64. any one has idea what to do?
[10:34] <relaxed> newbie2: pastebin the command and all console output
[10:41] <newbie2> relaxed: http://pastebin.com/fbJ8cQdz
[10:45] <relaxed> newbie2: try,  ~/ffmpeg/ffmpeg -f alsa -ac 1 -ar 44100 -i default ~/ffmpegNew.wav
[10:47] <newbie2> relaxed: Thankyou it is working!!! what do -ac and -ar do?
[10:48] <relaxed> it sets the audio rate and channel number
[10:49] <newbie2> relaxed: Thankyou so much, I've been trying this for days. Glad I came back to IRC, hadn't been on here since my teen days :) Now I'm going to try and split stereo channels etc... time to play. Thanks again!
[11:03] <newbie2> relaxed: How can I record both stereo chanels I thought it would be -ac 2 but I just get silence... :(
[11:03] <relaxed> well, the old ffmpeg used one channel. That's how I knew to try it.
[11:04] <newbie2> relaxed: sorry, you've lost me
[11:04] <relaxed> Is this a mic? Maybe it only records in mono.
[11:05] <newbie2> Could this be my alsa config?
[11:48] <GT1> Hi, I'm trying to compile ffmpeg for android and before that I would need to compile x264, but I have a problem it says no wokring c compiler found http://pastebin.com/FHiULysC
[11:48] <GT1> Can anyone help me with this?
[11:49] <Mavrik> well it's pretty obvious what the error is
[11:49] <Mavrik> arm-linux-androideabi-gcc: command not found
[11:49] <GT1> yeah, but how can I find it?
[11:49] <GT1> what I did so far
[11:49] <GT1> I added my ndk path to path
[11:50] <GT1> and I can find it, if I type arm tab tab, it will come up
[11:50] <GT1> arm-linux-androideabi-gcc
[11:50] <GT1> so what's wrong?
[11:51] <GT1> hmm, may it be that I don't have permission to execute? would that cause the same error? what permission should I give it?
[11:54] <GT1> Hm?
[11:55] <GT1> I tried 667, still nothing
[11:55] <GT1> same error
[11:55] <GT1> and as I said, I added it to the path, so I can find it
[12:08] <relaxed> GT1: maybe --cc=/path/to
[12:11] <GT1> rofl, I believe I Have an interesting situation... I was trying to build a toolchain to help me out
[12:11] <GT1> and it said
[12:11] <GT1> host system linux-x86 is not supported by the source sdk
[12:11] <GT1> good to know I have x86 linux installed...
[12:12] <GT1> nvm..
[12:13] <GT1> it's not
[12:13] <GT1> nvm, I believe I can figure this out,b ut I may need your help in a bit
[12:17] <GT1> k, I have no idea what am I doing wrong, can somebody help me trough to compile x264 then ffmpeg?
[12:24] <GT1> Anyone have the slitest clue why do I get No wokring C compiler found?
[12:29] <GT1> Is there anybody here who build x264 for ffmpeg before?
[12:31] <sacarasc> Do you have a C compiler installed?
[12:36] <GT1> isn't the compiler in the ndk what I need?
[12:37] <GT1> I'm pointing  him the compiler the androidabli what so ever, no?
[12:42] <GT1> if I don't use the cross-prefix I can build it
[12:42] <GT1> but, I believe to use it on android, I would need to use the cross-prefix no?
[12:45] <GT1> So, my problem is that I won't find the ndk cross prefix compiler, if I leave that ocmmand out it compiles, but I need it to be able to run it on android, any idea how to solve this?
[12:51] <GT1> really there is no one where who could help me build x264 for ffmpeg on android?
[12:54] <GT1> How can I point x264 configure to use ndk-s gcc for android?
[12:54] <sacarasc> [11:08:49] <relaxed> GT1: maybe --cc=/path/to
[12:54] <sacarasc> I believe that's a ./configure option.
[12:59] <GT1> no cc ocnfig
[12:59] <GT1> ifor cross compilation in the help it says --cross-prefix
[12:59] <GT1> and I added that, but it won't find it
[13:01] <GT1> rofl
[13:01] <GT1> wtf
[13:01] <GT1> if I typed the full name, it found it
[13:01] <GT1> so, my question is, if I added it to the path
[13:01] <GT1> why couldn't it find it?
[13:06] <GT1> but the build of ffmpeg still fails
[13:07] <GT1> nvm typo
[13:08] <relaxed> GT1: http://fate.ffmpeg.org/report.cgi?time=20140317222807&slot=armv7l-panda-gcc4.6-cortexa8-threads2
[13:09] <relaxed> ^^ might be helpful to look at
[13:11] <relaxed> GT1: this might be better http://fate.ffmpeg.org/report.cgi?time=20140317214754&slot=armv7a-android-gcc-4.4
[13:27] <GT1> but guys, if I add something to PATH, should it try to find it there too?
[13:27] <GT1> why did I had to add the full path to my gcc?
[15:23] <anshul_> how to disable silent rule of makefile
[15:23] <anshul_> in ffmpeg
[16:11] <semslie> I've been playing around with converting from a webm video to frames and I've successfully used ffmpeg to create an webm video with working transparency. What I would like to do now is use ffmpeg to split that video into png frames, maintaining the transparency. This works correctly when I convert from a .mov, but when I convert from .wemb then the resulting png images don't have any transparency. I'm a bit stuck - any pointers would be ap
[16:11] <semslie> preciated!
[16:13] <semslie> The command I'm running is in the form: ffmpeg -i foo.webm -pix_fmt rgba -r 25 -frames 2000 -s 854x480 /bar/%04d.png
[16:14] <relaxed> try -pix_fmt bgra
[16:16] <Hello71> uh.
[16:18] <semslie> relaxed: ffmpeg doesn't seem to like that. I get this "Incompatible pixel format 'bgra' for codec 'png', auto-selecting format 'rgba'"
[16:20] <semslie> This works perfectly when the input is a png-encoded mov. Unfortunately this results in a massive file and I'm trying to cut down the size, hence the attempted move to webm.
[16:20] <relaxed> what about -pix_fmt rgb32 ?
[16:21] <semslie> relaxed: strangely, ffmpeg gives me the same messages about 'bgra' being incompatible for 'png', and autoselecting 'rgba' instead
[16:22] <semslie> I've tried it anyway, but I can confirm that any transparent areas are black instead
[16:28] <semslie> Just a random guess, but perhaps ffmpeg isn't compiled with the right png support? Any ideas on how to check?
[16:30] <semslie> running "ffmpeg -encoders" produces the following line for png:
[16:30] <semslie> VF.... png                  PNG (Portable Network Graphics) image
[16:35] <sacarasc> semslie: What does ffmpeg -codecs | grep -i png give?
[16:36] <semslie> sacarasc: DEV..S png                  PNG (Portable Network Graphics) image
[16:36] <sacarasc> So, you can decode, encode, it's video and lossless. \o/
[16:37] <semslie> fwiw I tried "ffmpeg -h encoder=png" to see what pixel formats are supported and got "rgb24 rgba rgb48be rgba64be pal8 gray gray8a gray16be monob"
[16:38] <semslie> I did try rgb24, but that produced the same results as rgba, so that's not it
[16:48] <shubhamjain1> My question is not specifically related to FFMPEG. I am building a simple flv to mp3 convertor. I succeeded at extracting audio frames from flv but can't build proper mp3 frames. When converting with ffmpeg I observed that it does resampling even if we convert at the same bitrate. I was curious if thats a necesarry part of conversion.
[17:09] <anshul_> shubhamjain1, personal opinion why are you reinventing wheel, if you want something low weight you can always keep flv decoder and mp3 encoder and use light version of ffmpeg apis.
[17:10] <shubhamjain1> anshul_, Just a fun project. Thats all. Nothing fancy I wish to achieve.
[17:13] <anshul_> Resample changes the raw format of data, like planar to nonplanar stuff, it depend how you have specified in your mp3 header about raw format of audio
[17:26] <semslie> if anyone's interested, I found out a bit more about that webm weirdness: It looks like ffmpeg doesn't currently decode transparency from webm well, though encoding is fine: http://ffmpeg-users.933282.n4.nabble.com/Encode-VP9-or-VP8-WITH-alpha-channel-td4663117.html
[19:09] <brontosaurusrex> semslie, vp9?
[19:10] <semslie> brontosaurusrex: vp8 as far as I can tell
[19:48] <RAZ0REDGE> hey i'm having some troble with libx264, i have got the lastest git source and install it.. i can even do x264 -V and it shows on my system, when i try to configure ffmpeg dev (git) source --enable-libx264 and --enable-gpl, i get libx264 not found error
[19:48] <sacarasc> What does the config.log say?
[19:55] <RAZ0REDGE> http://pastebin.com/BePG3Q9t
[19:56] <RAZ0REDGE> sorry took awhile i went to get coffee
[19:56] <RAZ0REDGE> i'm using OpenBSD os
[19:56] <sacarasc> Where is your x264.h file?
[19:57] <RAZ0REDGE> hmm should be in /usr/inclub
[19:57] <RAZ0REDGE> include*
[19:57] <sacarasc> But is it?
[19:58] <RAZ0REDGE> aaa its in /usr/local/include
[19:58] <RAZ0REDGE> weird
[19:58] <RAZ0REDGE> i have --prefix=/usr
[20:01] <RAZ0REDGE> hmm its funny how it puts in in /usr/local/include
[20:03] <RAZ0REDGE> hmm
[20:56] <roger21> hello
[20:57] <roger21> can we put opus with vp8 and vp9 into webm already?
[20:58] <roger21> s/and/or
[21:03] <llogan> roger21: you can with "-strict experimental" (or the neckbeard alias "-strict -2")
[21:04] <llogan> but note that it is considered "experimental"
[21:05] <roger21> oh ok ... noted, thanks
[21:05] <JEEB> I have no idea with ffmpeg cli still notes the -2 variable instead of the name
[21:05] <llogan> i just mentioned why
[21:05] <JEEB> the number in theory could easily change, but the textual version generally wouldn't as easily :P
[21:06] <JEEB> no you did not note why ffmpeg shows the number instead of the textual version. you noted what it does
[21:06] <JEEB> (or so)
[21:06] <llogan> "neckbeard"
[21:06] <JEEB> no, I'm pretty sure that's not it
[21:07] <JEEB> it's just because it's from before the variable was available as text
[21:07] <JEEB> and/or the one who wrote that av_log line was lazy
[21:07] <llogan> IIRC, console outputs would mention "experimental" in the past instead of -2
[21:07] <JEEB> if so, the change makes absolutely no sense :P
[21:08] <JEEB> it's less readable and notes a number that could in theory change
[21:08] <llogan> i'm not sure when (of if in the case i'm making it up unknowingly) it was changed
[21:08] <JEEB> let's first git grep for it
[21:08] <JEEB> and then git blame
[21:09] <JEEB> oh yes
[21:10] <JEEB> I have this feeling that it was originally only available as a number
[21:10] <JEEB> and then it was copypasted
[21:10] <Aralucc10> hi, can anyone give any hint on this error (im trying to stream a https online stream so I recompiled with openssl / https support...but still error) [qtp736595190-506] WARNING  - 02:46:45.269 - j                           : ffprobe error exit code=143
[21:10] <JEEB> the files noting vstrict=-2 | -strict -2 are huffyuvenc, snowenc, lavf/matroskaenc
[21:11] <JEEB> although I remember seeing that message somewhere else too...
[21:11] <JEEB> it's probably somewhere generic and my git grep for "\-strict \-2" isn't finding it
[21:12] <Aralucc10> ok...thanks...a sec
[21:12] <llogan> JEEB: i prefer the words to the numbers too
[21:13] <JEEB> ah
[21:13] <JEEB> I guess it's the thing in lavc/utils.c
[21:13] <Aralucc10> here? http://pastebin.com/kkL1wLxU
[21:14] <JEEB> http://up-cat.net/p/eb7be34a
[21:14] <JEEB> and it just outputs the number of FF_COMPLIANCE_EXPERIMENTAL
[21:15] <Aralucc10> I can stream the same stream with windows version
[21:16] <llogan> i don't see any ffmpeg or ffprobe commands nor any complete console outputs from these cli tools
[21:17] <Aralucc10> oh... I put a bigger log?
[21:26] <Aralucc10> http://pastebin.com/5yTqDcb5 still protocol not found... I hoped I added https support
[21:26] <Aralucc10> is there a prebuilt binary with https support to download for testing purpose?
[21:26] <Aralucc10> or..the right configure string?
[21:27] <Aralucc10> btw if I check the -protocols options https is there :/
[21:27] <llogan> you need to show your actual ffmpeg command and the complete ffmpeg console output
[21:28] <Aralucc10> I see... I pasted the client log... you need the ffmpeg log
[21:28] <Aralucc10> sorry for ignorance... does ffmpeg store log to var/log?
[21:30] <llogan> no. in your console, where you type your ffmpeg command, ffmpeg will show the console output
[21:30] <Aralucc10> I dont do that... I use a client soft which does that... ill try to mimic he same command...
[21:31] <llogan> scripts and third party tools are not supported here
[21:31] <Aralucc10> well..its a front end...it just choose a preset and apply to a url...ill try to execute the fuill command...
[21:48] <Aralucc10> I think the error is this...with the command executed: http://pastebin.com/3A8NU4w8
[21:56] <caral> hi, I try to use the 'drawtext' filter and found some examples like http://pastebin.com/9reHaNwN . How do I find the meaning of e.g. "%H\:\%M\:\%S | \%a \%d/\%b/\%Y"  I also tried "ffmpeg -h filter=drawtext" but there is no explanation for this kind of parameters.
[22:06] <llogan> caral: see "man strftime"
[22:08] <caral> ah :-) thx
[23:07] <Aralucc10> im trying to recompile ffmpeg to add https support..but I receave a openssl not found error... i read around but not been able to fix... this is the log http://pastebin.com/Q6c34aSN
[23:07] <Aralucc10> if I remove --enable-openssl it configure is ok
[23:08] <caral> what about installing openssl?
[23:08] <llogan> Aralucc10: also view the tail of config.log
[23:09] <Aralucc10> I have it installed
[23:09] <Aralucc10> ok
[23:09] <Aralucc10> http://pastebin.com/M8SuxY3p ebough?
[23:09] <Aralucc10> enough
[23:10] <Aralucc10> im so newbie...and its so frustrating :)
[23:11] <caral> you know how to install a package?
[23:12] <Aralucc10> yes
[23:12] <Aralucc10> I think it look for openssl bunary in the wrong path
[23:12] <llogan> where did you install openssl/ssl.h?
[23:12] <llogan> what's your distro?
[23:13] <Aralucc10> ./usr/include/openssl/ssl.h
[23:13] <Aralucc10> Linux XBMC-I5 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[23:14] <Aralucc10> this is a longer config.log if needed http://pastebin.com/sKrEFwbs
[23:22] <caral> maybe you missed the dev package libssl-dev ? Don't know if you really need it, but its worth a try
[23:23] <Aralucc10> ok I try
[23:24] <Aralucc10> I have it
[23:25] <Aralucc10> im pretty sure I tried before and that option worked... maybe I should try with less configure options and see if it works
[23:26] <caral> and you can also reading this https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[23:27] <Aralucc10> sure..ok
[23:29] <Aralucc10> !! I removed this --extra-libs=-static
[23:29] <Aralucc10> and now openssl works
[23:29] <Aralucc10> is that option needed?
[23:30] <llogan> i can't answer that for you, but in your case I will guess "no".
[23:30] <llogan> also you list several options more than once
[23:30] <caral> that's a diplomatic answer ;-)
[23:31] <Aralucc10> yes... the double are there..im sorry..its because i merges 2 config examples :)
[23:31] <Aralucc10> merged
[23:31] <Aralucc10> now I try to cleanup
[23:31] <Aralucc10> and see if it works
[23:52] <n-st> hi, i'm trying to capture a resized frame from a video using ffmpeg -i in.mp4 -ss 2 -vframes 1 -vf scale='if(gt(a,800/600),800,-1)':'if(gt(a,800/600),-1,600)' out.jpg
[23:53] <n-st> ... which results in the error "No such filter: '800/600)'"
[23:53] <n-st> what am i doing wrong?
[23:56] <Jack64> n-st: "800/600" maybe?
[23:57] <Jack64> n-st: just throwing it out there, I never tried to do what you're doing
[23:59] <n-st> Jack64: doesn't work either, unfortunately...
[00:00] --- Wed Mar 19 2014


More information about the Ffmpeg-devel-irc mailing list