[Ffmpeg-devel-irc] ffmpeg.log.20130820
burek
burek021 at gmail.com
Wed Aug 21 02:05:01 CEST 2013
[00:03] <klaxa> <rps2> Yes, you need to feed it to a file, then upload the file to your website. Sending it directly to a website isn't going to work. <-- disregard this, sending it to an ffserver feed is correct
[00:12] <durandal_1707> you actually tried it?
[00:15] <asherawelan> why do i get these errors from ffserver "buffer underflow"
[00:15] <asherawelan> how can i fix?
[00:16] <durandal_1707> perhaps your machine is too slow for encoding/uploading ?
[00:17] <durandal_1707> provide more information
[03:54] <diegoviola> hi
[09:30] <Guest72696> Hi
[09:32] <Guest72696> while compiling ffmpeg with ./configure --enable-nonfree --enable-gpl --enable-libfdk_aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
[09:32] <Guest72696> iam getting error
[09:32] <Guest72696> ERROR: libx264 not found
[09:32] <Guest72696> If you think configure made a mistake, make sure you are using the latest
[09:32] <Guest72696> version from Git. If the latest version fails, report the problem to the
[09:32] <Guest72696> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
[09:32] <Guest72696> Include the log file "config.log" produced by configure as this will help
[09:32] <Guest72696> solving the problem.
[09:32] <Guest72696> i check in the config.log file
[09:33] <Guest72696> it is showing something like
[09:33] <Guest72696> END /tmp/ffconf.g5880ADM.c
[09:33] <Guest72696> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.onDWNg2e.o /tmp/ffconf.g5880ADM.c
[09:33] <Guest72696> gcc -Wl,--as-needed -o /tmp/ffconf.6XF0wOFo /tmp/ffconf.onDWNg2e.o -lx264 -lvpx -lvpx -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame -lfdk-aac -lm -pthread -lz -lrt
[09:33] <Guest72696> /usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_close_library':
[09:33] <Guest72696> opencl.c:(.text+0x5f1): undefined reference to `dlclose'
[09:33] <Guest72696> /usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_load_library':
[09:33] <Guest72696> opencl.c:(.text+0x643): undefined reference to `dlopen'
[09:33] <Guest72696> opencl.c:(.text+0x65c): undefined reference to `dlsym'
[09:33] <Guest72696> opencl.c:(.text+0x676): undefined reference to `dlsym'
[09:33] <Guest72696> opencl.c:(.text+0x690): undefined reference to `dlsym'
[09:33] <Guest72696> opencl.c:(.text+0x6aa): undefined reference to `dlsym'
[09:33] <Guest72696> opencl.c:(.text+0x6c4): undefined reference to `dlsym'
[09:33] <Guest72696> /usr/local/lib/libx264.a(opencl.o):opencl.c:(.text+0x6de): more undefined references to `dlsym' follow
[09:33] <Guest72696> /usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_load_library':
[09:33] <Guest72696> opencl.c:(.text+0x944): undefined reference to `dlclose'
[09:33] <Guest72696> /usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_lookahead_init':
[09:33] <Guest72696> opencl.c:(.text+0x1916): undefined reference to `dlopen'
[09:33] <Guest72696> opencl.c:(.text+0x1931): undefined reference to `dlsym'
[09:33] <Guest72696> opencl.c:(.text+0x1948): undefined reference to `dlsym'
[09:33] <Guest72696> opencl.c:(.text+0x195f): undefined reference to `dlsym'
[09:33] <Guest72696> opencl.c:(.text+0x1973): undefined reference to `dlsym'
[09:34] <Guest72696> opencl.c:(.text+0x19bc): undefined reference to `dlclose'
[09:34] <Guest72696> collect2: ld returned 1 exit status
[09:34] <Guest72696> ERROR: libx264 not found
[09:34] <Guest72696> please help to resole this issue
[09:34] <spaam> Guest72696: next time dont paste in the channel......... use pastebin
[09:34] <Guest72696> sorry i don't know about pastebin
[09:35] <Guest72696> ok
[09:35] <spaam> looks like you need to add -ldl
[09:35] <spaam> --extra-ldflags="-ldl"
[09:35] <Guest72696> where?
[09:36] <spaam> in the configure line ?
[09:36] <Guest72696> u r saying while executing ffmpeg ./configure
[09:36] <spaam> that is correct
[09:36] <Guest72696> ok
[09:36] <Guest72696> let me check once
[09:37] <Guest72696> done
[09:37] <spaam> did it work?
[09:38] <Guest72696> yes
[09:38] <spaam> good
[09:38] <Guest72696> let me complete whol;e installation
[09:38] <Guest72696> iam getting error after completing ffmpeg installation also
[09:39] <Guest72696> right now iam executing make
[10:03] <shur> how come ffmpeg's configure does not end? (trying to configure for cross compiling case)
[10:03] <spaam> it will end
[10:04] <spaam> how long time have you waited?
[10:07] <niuniomartinez> Hi. I'm having troubles preparing media for Cinelerra, from Cannon HD (*.m2ts) to DNxHD..
[10:08] <niuniomartinez> Can somebody help me?
[10:08] <shur> 35 minute the most
[10:08] <shur> strangely at first tried only specifying --cc=..., and then make threw some strange things i assumed assembling things
[10:09] <shur> then specified --as=... , --ld=... and other things
[10:09] <shur> but is my first cross compilation ever so God help me now
[10:12] <niuniomartinez> So, nobody knows hot to use ffmpeg to convert m2ts to DNxHD?
[10:12] <viric> never heard of DNxHD
[10:12] <niuniomartinez> :/
[10:12] <viric> :)
[10:13] <niuniomartinez> Ok, I'll try to rebuild the question.
[10:13] <niuniomartinez> I have HD 16:9 video in m2ts format, and I need to convert it to be used by Cinelerra (http://heroinewarrior.com/cinelerra.php).
[10:14] <niuniomartinez> Cinelerra needs a format without loss (not jpeg).
[10:15] <niuniomartinez> They recommend DNxHD, but It supports more.
[10:16] <spaam> niuniomartinez: what kind of error do you get ?
[10:16] <relaxed> cinelerra doesn't support mpegts?
[10:18] <niuniomartinez> relaxed: May be, I'm not sure. It supports "*.avi *.mpg *.m2v *.m1v *.mov"
[10:18] <asherawelan> Morning&. when using using ffmpeg to provide an input for ffserver - do you *have* to specify the video codec, frame rate, bit rate, etc - or can you just define those things in the stream later?
[10:19] <niuniomartinez> spaam: I'm re-running it (didn't test since yesterday)
[10:20] <niuniomartinez> spaam: Errors are:
[10:20] <niuniomartinez> video parameters incompatible with DNxHD
[10:20] <spaam> what kind of videoparameters did you use?
[10:20] <niuniomartinez> Error while opening encoder for output stream - maybe incorrect parameters such as bit_rate, width or height.
[10:21] <niuniomartinez> Command line is :/usr/bin/ffmpeg -y -i "/home/.../01/00001.m2ts" -b 185M -vcodec dnxhd -flags +ilme+ildct -acodec pcm_s16be "/home/.../00001.mov"
[10:21] <niuniomartinez> I'm using Winff
[10:21] <niuniomartinez> Is a front end.
[10:22] <spaam> 185M ?! thats sounds much
[10:23] <sacarasc> It's only about 1.35GB a minute. :p
[10:23] <niuniomartinez> Yesterday I was playing with parameters, reading ffmpeg man page and such, but didn't get any progress.
[10:24] <niuniomartinez> Oh, wait...
[10:24] <niuniomartinez> I did test a change and seems to work...
[10:24] <niuniomartinez> Not sure what I did.
[10:24] <niuniomartinez> Ok, I'll se what I get and then I'll ask you.
[10:24] <Guest72696> @<spaam> thanks
[10:25] <spaam> Guest72696: great
[10:25] <Guest72696> its working fine
[10:25] <Guest72696> thank you very much
[10:25] <spaam> sounds like a "bug" in the configure script.
[10:25] <Guest72696> Ohh
[10:25] <spaam> it need a way to detect that you enabled opencl when you compiled it with lib264.
[10:25] <spaam> it need a way to detect that you enabled opencl when you compiled it with libx264.
[10:26] <Guest72696> ok
[10:27] <niuniomartinez> spaam, sacarasc: false alarm: cinelerra didn't read it. :(
[10:29] <niuniomartinez> Recommendation?
[10:37] <shur> it is needed to have enabled some output devs or at least one when running configure isnt it?
[10:38] <shur> otherwise ffmpeg wouldnt output anythng or would go to devnull
[10:39] <spaam> shur: you can check config.log ?
[10:40] <niuniomartinez> Ok, so I'll try "plan B": install Corel Movie Factory... :(
[10:41] <niuniomartinez> Thanks
[10:43] <shur> that log is great! there are many ocurrences of 'outdev'
[10:44] <shur> many labeled with an equal 'yes'
[10:44] <shur> all the usual alsa, oss and caca
[10:45] <shur> and sdl
[10:47] <shur> sadly i dont know what to look for further than that. i would say that are all sound devices but the caca one which is video
[10:47] <shur> and the neatest video device ever made
[10:55] <Martijnvdc> will ffmpeg support libvpx frame lookahead delay?
[10:56] <Martijnvdc> it appears the libvpx option for delaying the encoder is not mapped yet in ffmpeg
[10:56] <Martijnvdc> i'm developping
[10:57] <Martijnvdc> using the libav* libraries
[11:27] <relaxed> Martijnvdc: send patches
[11:28] <relaxed> did you see -auto-alt-ref?
[11:28] <relaxed> er, I meant -lag-in-frames
[11:29] <relaxed> ffmpeg -h encoder=libvpx| less
[11:31] <Martijnvdc> i do see rc_lookahead...
[11:33] <Martijnvdc> relaxed: oh yeah, it'ts there
[11:55] <Martijnvdc> relaxed: AVCodecContext has a variable called "lag", but it does not map to -lag-in-frames for libvpx
[11:55] <Martijnvdc> it simply doesn't do anything
[11:56] <niuniomartinez> Hi again.
[11:57] <niuniomartinez> I've finally found a way to convert the videos using Corel software...
[11:57] <niuniomartinez> ..but now I have another problem:
[11:57] <niuniomartinez> The video was recorded in 16:9 but when playin on Linux it's rendered as 4:3. Can I change this?
[11:59] <viric> there is -aspect or so, that can change the DAR/SAR
[12:01] <niuniomartinez> man says: "-aspect[:stream_specifier] rational number (output,video)
[12:01] <niuniomartinez> sample aspect ratio"
[12:02] <faemir> is there a way to tell ffmpeg to use the audio samplerate of the source material? It seems to default to 48khz which is a bit annoying.
[12:02] <niuniomartinez> viric: So "ffmpeg -i ~/vid.mpg -aspect 1.7 ..."
[12:05] <niuniomartinez> viric: It didn't work (?) "ffmpeg -i 01.mpg -aspect 16:9 01-b.mpg"
[12:06] <viric> I'd expect it to work. But I didn't try recently.
[12:06] <relaxed> faemir: it should always use the sources' samplerate
[12:07] <niuniomartinez> viric: Ok. I see that Cinelerra allows to change the aspect ratio. May be it's not neccesary to do it with ffmpeg.
[12:07] <niuniomartinez> necessary*
[12:12] <niuniomartinez> Thank. Bye
[12:20] <shur> if i want to use ffmpeg with video i need to activate at least sdl or caca as outdevs when configuring, am i right?
[12:20] <faemir> relaxed: apparently opus doesn't support 44.1khz so that would be why it's resampled to 48khz, so problem solved
[12:22] <viric> shur: do you mean using ffplay?
[12:26] <shur> ok i think that was an xyp thanks
[14:38] <elmargol> Hi how can I tell if a stram uses 24bit or 32bit color?
[14:39] <elmargol> yuv420p
[14:39] <elmargol> Stream #0.0, 22, 1/90000: Video: h264 (Baseline), yuv420p, 1280x960, 1/180000, 90k tbr, 90k tbn, 180k tbc
[14:46] <viric> yuv420p is the format
[14:46] <viric> can you define '24bit or 32bit colour'? It is rather vague :)
[14:47] <elmargol> Colorspace
[14:47] <viric> well, yuv420p is not rgb.
[14:59] <Mavrik> yep
[14:59] <Mavrik> can't really call it 8-bit either, since it's 4:2:0
[14:59] <Mavrik> er, 24bit that is :)
[14:59] <nlight> yuv420p is 16 bit
[14:59] <nlight> 32 bits per 2 pixels = 16 bpp
[15:00] <Mavrik> color information is per 4 pixels in 4:2:0
[15:04] <durandal_1707> not really ....
[16:04] <MattMP> hello. anyone got any experience using ffmpeg to create both a split paned video (i.e. two videos side by side) as well as adding an audio track?
[16:06] <durandal_1707> yes, its trivial
[16:06] <MattMP> i know how to do each of those things separately - i'm using the 'vf' flag for the side-by-side videos and i can add audio to a video with 'map' but putting the two together isn't working for me (it doesn't add the audio)
[16:08] <MattMP> i.e. fmpeg -i video_left.mp4 -i audio.mp3 -map 0:0 -map 1:0 -vf "[in] scale=160:240, pad=320:240[left]; movie=video_right.mp4, scale=160:240[right]; [left][right] overlay=160:0 [out]" -an out.mp4
[16:08] <durandal_1707> -an disables audio
[16:08] <viric> when do you use -vf, and when -filter_complex ?
[16:08] <durandal_1707> how you come out with such idea?
[16:09] <durandal_1707> you use -filter_complex when you do not use movie/amovie filters
[16:09] <viric> in case of multiple '-i', then?
[16:09] <durandal_1707> yes
[16:09] <viric> ok
[16:09] <viric> thank you
[16:10] <MattMP> durandal_1707: stupid me - thanks a lot!
[16:11] <MattMP> my original command was supposed to remove audio, i forgot what the -an was doing
[17:43] <fnando> Hi there! I created some random positioned PNG to be used as watermark. Then I generated a 2min movie with fade-ins and fade-outs with these PNGs. Now, it is possible to add this watermark movie to another movie, looping during the whole movie?
[17:45] <durandal_1707> how many frames have this watermark movie?
[17:45] <fnando> 650
[17:46] <durandal_1707> unless you loop it manually there is currently no way
[17:47] <fnando> right& what about doing the filter_complex instruction over and over again?
[17:48] <fnando> like, giving lots of inputs and defining fade[in/out] with filter_complex and frame offset?
[17:48] <durandal_1707> only if you loop watermark into big file or filtering overlay over and over again
[17:49] <durandal_1707> and by filtering i mean splitting vidoe you want to add watemark to
[17:49] <durandal_1707> there is no simple way to overlay dynamic output that will loop when end is reached
[17:49] <fnando> hmmm& splitting. is there any easy way of doing that?
[17:50] <durandal_1707> yes split video you want to filter into clips of 650 frames each
[18:42] <NET||abuse> Hi folks, i'm trying to stream audio to start, from a laptop i have at home to vlc on my work laptop.
[18:43] <NET||abuse> I run vconv -f alsa -i hw:0,0 -acodec libmp3lame -ab 32k -ac 1 -re -f rtp rtp://86.6.148.64:1234 and it seems to boot up
[18:43] <NET||abuse> this is on the laptop at home
[18:43] <NET||abuse> now, i've ssh'd from work to another box on my home network (little home server) and i tried -L 1234:localhost:1234 and -R 1234:localhost:1234 with the ssh connection
[18:44] <NET||abuse> 86.6.148.64 is the home server network ip, so the laptop ffmpeg process should be broadcasting the rtp stream to that ip
[18:44] <NET||abuse> can i forward the rtp stream this way?
[18:45] <klaxa> avconv is not ffmpeg
[18:50] <NET||abuse> hm, that's annoying.
[21:05] <jayjay> hey
[21:06] <jayjay> can someone here point me in the right directing for encoding video uploaded in portrait mode (like from iphone/android), to make it playable in the web in 640*480?
[21:11] <klaxa> >vertical video
[21:11] <klaxa> just encode to webm
[21:11] <klaxa> webm only accepts vp8 and vorbis audio
[21:12] <klaxa> afaik it's the encouraged html5 video standard although vp8 is not as sophisticated as h264
[21:12] <axorb> hey guys, I need to use -map to get the segmenter to work, but I want to keep the default behavior of choosing the best video and audio track (as opposed to the first)
[21:13] <axorb> all of the segmenter examples use -map 0 but I don't want to copy additional streams
[21:13] <axorb> right now I have -map 0:v:0 -map 0:a:0 but that won't pick the best video and audio stream, just the first
[21:14] <axorb> I'd like something like -map 0:v:a, where a is "auto"
[21:15] <llogan> i've never used the segment, but i assume the -map is required?
[21:16] <axorb> yep unfortunately
[21:17] <axorb> every single example uses -map, and without it you get an error
[21:17] <llogan> sounds like a feature request
[21:18] <axorb> yeah, I just wanted to ask before I started hacking it in, because I only just figured out how -map works
[21:30] <jayjay> unfortunately, i have to deal with encoding vide to both mp4 and webm ...I'm running into this problem with vertical videos
[21:30] <jayjay> http://pastebin.com/r5C2QYmr
[21:32] <axorb> jayjay: if the player is fixed to 640x360, then you're going to have to add black bars to the side (like Youtube)
[21:33] <jayjay> yea im fine with adding black bars
[21:33] <jayjay> i just dont know how to do it
[21:33] <axorb> if you control the player size, then changing it to 360x640 for rotated videos is pretty easy
[21:33] <jayjay> yeah the player is fixed
[21:33] <jayjay> like youtube
[21:33] <axorb> something like
[21:33] <axorb> oh, just do the scale first
[21:34] <axorb> wait, nvm
[21:34] <axorb> -vf transpose=1,scale=-1:360
[21:35] <axorb> you'll have to use if statements if you want to prevent the width from going larger than 640
[21:35] <axorb> http://trac.ffmpeg.org/wiki/Scaling%20(resizing)%20with%20ffmpeg
[21:35] <axorb> but yeah, order matters for video filters so the transpose is applied first then the scale
[21:35] <klaxa> jayjay: if you absolutely need black borders, look at the padding video filter: http://ffmpeg.org/ffmpeg-filters.html#pad
[21:36] <jayjay> let me try this ..i hope it works
[21:42] <jayjay> hem..still doesnt work
[21:42] <jayjay> intermediate.mp4: Invalid data found when processing input
[21:42] <jayjay> here's what i tried: ffmpeg -i intermediate.mp4 -vf scale=-1:360 finalout.mp4
[21:43] <jayjay> doing transpose/scale in one pass i get a different problem
[21:43] <jayjay> Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[21:46] <teratorn> what is the difference between YUV and YCbCr in typical video coding jargon?
[21:52] <axorb> jayjay, you have to set codecs
[21:53] <axorb> and you can't copy if you're doing a filter
[21:53] <jayjay> aah okay, let me try again then
[21:55] <JEEBsv> teratorn: most people say YUV when they mean YCbCr
[21:55] <JEEBsv> since the real YUV is purely analog
[21:56] <JEEBsv> it's just 'colloquial' versus 'official'
[21:56] <JEEBsv> for example yuv420p is not planar YUV, it is planar YCbCr
[21:58] <teratorn> hmmm
[21:59] <viric> what does planar mean there? that there are multiple planes?
[22:05] <JEEBsv> yes
[22:06] <JEEBsv> one memory plane with the luma, and two others for chroma
[22:06] <JEEBsv> the other alternative is interleaved
[22:09] <jayjay> in case anyone is interested, this looks like it somehow worked "ffmpeg -i input.mp4 -vcodec libx264 -acodec libfaac -vf "transpose=1,scale=640:360" output_fun.mp4" , i do get the right size but the video is streteched...using scale=-1:360 causes errors
[22:09] <jayjay> like
[22:09] <jayjay> width not divisible by 2 (203x360)
[22:10] <axorb> yeah, that's pretty common, one sec
[22:12] <axorb> -vf scale=trunc(oh*a/2)*2:360
[22:12] <axorb> that makes sure the width is an even number so you can use h264
[22:13] <axorb> https://ffmpeg.org/trac/ffmpeg/ticket/309
[22:13] <JEEBsv> axorb: s/h264/4:2:0 YCbCr/
[22:13] <axorb> ^
[22:14] <JEEBsv> because H.264 supports plenty of other chroma subsampling modes
[22:14] <JEEBsv> and 4:4:4 mode supports RGB colormatrix, too
[22:14] <axorb> would you still suggest rounding?
[22:15] <jtriley> hi all, any help with this would be much appreciated: http://bpaste.net/show/124611/
[22:15] <JEEBsv> since people mostly want 4:2:0 for hw decoding support and non-libavcodec decoder support in general, yes -- some way of putting the resolution to mod2 would be exactly what most people want
[22:15] <jayjay> axorb you're a life saver!
[22:16] <JEEBsv> just nitpicking on the little things :)
[22:16] <axorb> oh no, I was only asking because I'm rounding now and wanted to know if there was a better option
[22:17] <jtriley> having an issue with 'unable to parse option value -1 as pixel format' on h264 avc1 input format - have tried -analyzeduration and -probesize with max_int
[22:17] <axorb> jtriley: any time I've had that issue it's been bad input
[22:17] <jtriley> i can play it with mplayer but can't seem to transcode for the life of me
[22:18] <jtriley> axorb: yea that's what i've been reading
[22:18] <axorb> "multiple edit list entries, a/v desync might occur, patch welcome"
[22:19] <axorb> the second one being the one without a pixel format
[22:20] <jtriley> axorb: best part is it's 1.8GB so takes forever to try things out...handbrake seems to transcode it (begins to produce non-zero output file) but then dies towards the end miserably
[22:21] <jtriley> so likely just a broken file but does seem odd that I can play it but not transcode it although that might be a common scenario?
[22:21] <axorb> yeah, some video editors produce files like this when concating
[22:21] <axorb> try -pix_fmt yuv420p before -i
[22:21] <jtriley> axorb: sadly, i've tried that too
[22:21] <jtriley> both before and after
[22:22] <jtriley> and both before and after at the same time
[22:22] <jtriley> thanks for the feedback though, good to know i'm not missing something horribly obvious
[23:28] <jtriley> axorb: interestingly enough i can convert the video using vlc and then ffmpeg can transcode vlc's output
[23:40] <jtriley> not sure what vlc is doing differently...
[23:47] <jtriley> axorb: ok figured it out - for me -map 0:0 -map 0:1 worked
[23:47] <jtriley> there was a third video stream and a fourth subtitle stream
[23:48] <jtriley> removing those with the explicit map commands seems to work
[00:00] --- Wed Aug 21 2013
More information about the Ffmpeg-devel-irc
mailing list