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

burek burek021 at gmail.com
Fri May 24 02:05:01 CEST 2013


[00:00] <vade> the concatenated file, or the cropped file ?
[00:00] <vade> the cropped file via ffmpeg -i reports 30Hz
[00:00] <wlritchi> just tack on the option everywhere and see if it helps :p
[00:01] <vade> :) ok
[00:02] <vade> nope :(
[00:02] <vade> oh, but
[00:02] <vade> not using -c copy during concat
[00:03] <vade> ah, but the video is all fucked up on the second portion
[00:13] <Digit_> when streaming with ffmpeg, is it possible to add, modify some option live without having to launch a new ffmpeg command
[00:14] <wlritchi> Digit_: That probably depends on the option, but my instinct would be, for most options, probably not
[00:14] <Digit_> ok :/ too bad ...
[00:15] <Digit_> i thought that ... may be we could have use the strin stream to send some control command
[00:23] <Digit_> so there is no remote control like for vlc ?
[00:25] <saste> Digit_, zmq can send commands to the filtergraph
[00:25] <saste> recent development, last week
[00:25] <vade> ha, setting the framerate worked, if I go to intermediate ts file, and use the bitstream filter to h264_mp4toannexb
[00:25] <Digit_> zmq ?
[00:25] <Digit_> hmmm i don't know that thanks i'll try to look for it
[00:27] <saste> Digit_, what kind of control?
[00:29] <Digit_> well i wrote a gui and i want to be able to do many thing without having to launch a new ffmpeg, like adding a new filter, modifying the filter values, modify the video compressing bandwidth,... things like that
[00:29] <Digit_> bcs it's for live streaming
[00:30] <saste> adding a new filter -> currently impossible
[00:30] <saste> modify filter values: possible, but you may need to add a specific command
[00:31] <Digit_> hmm ? what kind of specific command ???
[00:31] <vade> fuck, no. Quicktime 7 plays it ok, AFVoundation / Quicktime X does not. ugh.
[00:32] <saste> change bandwidth: currently you can't control the encoders/decoders, but only elements in the filtergraph
[00:32] <Digit_> how could it receve the new value ?
[00:32] <saste> Digit_, check the manual, there is an example in zmq docs
[00:32] <vade> llogan: check out what I am doing, in a script: https://gist.github.com/vade/5631478
[00:32] <Digit_> ok thanks :)
[00:32] <saste> for example you can enable/disable many filters
[00:32] <vade> output.mp4 is either missing a keyframe on the transition, for some reason, or, well, I dunno
[00:32] <saste> change the color for color source, in the future change volume and so on
[00:33] <saste> adding a command is usually trivial
[00:33] <Digit_> do you think i'll be able to modify the bandwidth used by the h264 compression ?
[00:33] <saste> Digit_, are you a library user?
[00:33] <saste> or are you using the tool?
[00:33] <Digit_> well no, at this time i am using ffmpeg.exe
[00:33] <saste> Digit_, so no
[00:33] <Digit_> ok i understand
[00:34] <saste> unless you spend a significant effort adding that feature
[00:40] <wlritchi> So, as I understand it, album art in an AIFF file is treated as a 1-frame video stream with the attachment flag set
[00:41] <wlritchi> How would I add that album art to an outputted FLAC file (or OGG or MKA container, I'm not picky)?
[00:41] <wlritchi> Attempting to just copy in the stream results in an error for FLAC files (understandably) and quite incorrect behaviour from most players for OGG/MKA
[00:49] <llogan> vade: you can use "-c:a copy" in your first command so you don't re-encode audio
[01:01] <vade>  interesting
[01:02] <vade> VLC, when playing back the media, reports the pts is out of range for the second video I've concatenated, when I'm playing back the final mp4
[01:21] <wlritchi> Interesting. It seems that ffprobe doesn't list streams as attachments when it recognizes their codec. How can I check if the attachment flag is set when it does know the codec?
[01:23] <vade> http://media.captiontool.com/a/caption_3b55179191d2cb9cf05756d7a65dc1cf.jpg?=1369264958 :P
[01:27] <Digit_> is that you when you're out of control ? :D
[01:28] <vade> so, interestingly enough, it appears that the libx264 transcode phase while doing the crop filter, is causing issues during concatenation
[01:29] <Digit_> prove it
[01:29] <vade> I can concat without issue if I just pass the original samples through the .ts, to the mp4, and everything works in all decoders I can find
[01:30] <vade> doing the crop, which re-encodes one of the included concatenated files, causes a pts error, according to VLC, during playback
[01:30] <vade> it handles it, but some other decoders, just glitch out, as though an I frame is missing.
[01:32] <vade> out of morbid curiosity is there an alternative to x264 for ffmpeg, so I can attempt to reproduce with other encoder?
[01:37] <wlritchi> x264 --version ?
[01:38] <vade> interestingly, if I use Apples Compressor to crop, it appears to be ok :X
[01:39] <Digit_> are you saying the x264 with crop gives problems ?
[01:40] <Digit_> bcs i am streaming with both
[01:40] <vade> it appears to ? Im not 100% confident, but
[01:40] <vade> well, at least,
[01:40] <vade> if I mix h.264 files, encoded from different encoders, a problem is introduced
[01:40] <Digit_> i am streaming x264 and cropping ... no problem
[01:40] <vade> Digit_: shh, listen
[01:41] <vade> if I go from HW encoded h.264 to TS via ffmpeg, over any n number of files
[01:41] <vade> and concat them all, its fine
[01:41] <vade> its sample to sample from the streams, no issue
[01:41] <vade> if, 1 of those files, requires a crop, now, I have one outlier transcoded via ffmpeg, which is now being concatenated
[01:41] <vade> so somewhere, somehow, there is an issue
[01:42] <vade> what is interesting, if I crop via another tool, I do not appear to see the same issue
[01:42] <vade> now, I suspect (and I should test this now), if I re-encode via all my sources via FFMpeg, I won't have an issue
[01:42] <vade> let me try that now.
[01:44] <vade> ha, works
[01:44] <vade> so, clearly, something is amis between stream formats.
[01:45] <vade> ok, well, time to dig deeper.klasjfd;lkajsfd fffffff
[02:26] <yids> hello all
[02:27] <yids> im struggling with ffmpeg on a raspberry and was wondering if someone could help me out
[02:28] <llogan> yids: what's the problem?
[02:28] <yids> I want to stream video and audio to rtmp, using flv and liblame, the audio encoding eats up all the cpu though
[02:28] <yids> now i found someone who sugested piping arecord into ffmpeg
[02:28] <yids> and it seems to be a major improvement on the cpu usage
[02:29] <yids> buut
[02:29] <yids> the stream works for 1-2 seconds
[02:29] <yids> and then just doesnt seem to output anything
[02:29] <llogan> raspberry is an underpowered encoding platform
[02:31] <yids> http://pastie.org/7945778
[02:31] <llogan> where's the complete console output?
[02:32] <yids> ah moment
[02:33] <yids> http://pastie.org/7945784
[02:34] <llogan> that's what i thought...
[02:34] <llogan> we can't support that here.
[02:36] <cbrugh> I am trying to install ffmpeg and it keeps saying error: fdk-aac/aacenc_lib.h: No such file or directory, this exists in /usr/local/include... any ideas howto tell ffmpeg where it is?
[02:37] <llogan> cbrugh: does the tail of config.log give any clues?
[02:38] <cbrugh> llogan: that error above is what the end of config.log says
[02:38] <cbrugh> not sure where its looking for aacence_lib.h
[02:38] <cbrugh> but it exists in /usr/local/include/fdk-aac/
[02:39] <yids> okay thanks for pointing that out to me I will find help elsewere
[02:40] <klaxa> cbrugh: during configure, add: --extra-ldflags=-I/usr/local/include
[02:40] <klaxa> and see if that help
[02:40] <klaxa> *helps
[02:40] <llogan> i've never had troubles with libraries in /usr/local
[02:40] <cbrugh> klaxa: ok I will check
[02:42] <cbrugh> klaxa: same compile error... says it can't find it
[02:42] <klaxa> that's weird, lol
[02:43] <MrKim> I wanna get thumbnail of AVI , I have decoded and scaled AVFrame, how can i get JPEG image of it ?
[02:44] <llogan> MrKim: not many API answers here. try http://ffmpeg.org/mailman/listinfo/libav-user
[02:46] <llogan> cbrugh: what's your os/distro?
[02:47] <klaxa> also maybe pastebin your config.log or something
[03:00] <cbrugh> llogan: freebsd 9.1
[03:03] <llogan> too bad durandal_1707 isn't here
[03:03] Action: llogan is ignorant of BSD
[04:51] <igm> g'day,
[04:56] <igm> i'm shooting video in 4k h.264 at about 45 megabits for the purpose of downscalling to 1080p with the hopes of pumping the brightness.. I've been using  -filter:v scale=1920:1080 -sws_flags lanczos to scale the videos, however google says something about using a lowpass blur filter...  any idea what would be the best way to do this with ffmpeg?
[04:56] <igm> And if ffmpeg can do brightness increase
[06:58] <highgod> Hi, I want to ask a question, we have capture the h264 bitstream and save as a file per frame. frame1.bit,frame2.bit..., is there anyway that I use ffmpeg h264 decoder to decode the bit stream? for example decodeFrame(bitstream, bitstream_len)
[07:21] <Kirito> I can't seem to get ffmpeg to use more than a single thread when encoding using libvpx (ffmpeg -threads 8 -i input.mp4 -c:v libvpx -crf 25 -b:v 3M -c:a libvorbis ouput.webm) - any idea why?
[07:29] <filltheetric> Getting this error when trying to call '/usr/local/bin/ffmpeg -i '/Devon/Web/LAMP/hosts/dev.dopestep.net/bootstrap/../storage/media/video/uxfaqDi3juMX.mp4' 2>&1' from PHP - "dyld: Library not loaded: /usr/local/lib/libfreetype.6.dylib Referenced from: /usr/local/bin/ffmpeg Reason: Incompatible library version: ffmpeg requires version 17.0.0 or later, but libfreetype.6.dylib provides version 15.0.0" - Anybody know how to fix?
[07:50] <highgod> I saw that there seems a function named avcodec_decode_video in previous version can do this thing
[08:05] <killown> I have two GPUs, is there a way to tell ffmpeg to use a specific gpu?
[08:05] <highgod> OPENCL?
[08:07] <killown> I have three monitors and one monitor uses GT430 and the other two gxt580,  I want ffmpeg using gt430 in any display
[08:09] <killown> oh ffmpeg uses the processor to enconde it :/
[08:13] <n0ttgr> i'm currently trying to transcode an AAC stream into a wav file. for some reason avcodec_find_encoder_by_name("adpcm_ima_wav") is changing the context frame_size to 1017, which seems to be causing a segfault later when there's a 16 bit alignment issue. if i change the frame_size to 1024 myself, the wav file isn't recognizable for any players i have
[08:14] <n0ttgr> sorry avcodec_open is what's changing the frame_size to that lol
[08:15] <n0ttgr> but that's the encoder i'm using
[08:49] <highgod> pkt->data=bitstreambuffer,pkt->size=datasize,pkt->stream_index=stream_idx, then use avcodec_decode_video2, is it OK?
[09:34] <igm> fml
[09:35] <igm> ran out of disk space with about 1.5 seconds left to encode
[09:35] <igm> xD
[09:36] <igm> cant even remux the output file.. Invalid data found when processing input
[09:36] <igm> ;_;
[09:37] <igm> rip 3 hours
[09:57] <Huemac> https://ffmpeg.org/trac/ffmpeg/ticket/2603
[10:32] <sweb> i need static ffmpeg version for 64bit linux. supported all property format like libfaac libx264 and etc
[10:40] <ubitux> sweb ^
[10:40] <JEEB> sweb, then you'll have to build it yourself, most of the better-than-ffaac AAC encoders can't be distro'd
[10:40] <JEEB> and the one you would want is fdk-aac
[10:41] <ubitux> the above uses libvo aac
[10:41] <JEEB> which is not better than ffaac
[10:41] <JEEB> it only supports 2ch and I've not seen it be better than ffaac at any point
[10:42] <JEEB> it's pretty obvious why Google licensed fraunhofer's encoder after first having vo-aac there first :P
[10:58] <sweb> so at last i must build by my own ?
[12:06] <highgod> Huemac:what do you change
[12:10] <Huemac> what do you mean?
[12:11] <Huemac> https://ffmpeg.org/trac/ffmpeg/ticket/2603
[12:12] <Huemac> that is what i change if you meant the cross-compile problem i've been having
[12:25] <highgod> yes
[12:25] <highgod> it seems that I wrote the code,hehe
[12:26] <highgod> do you enable pthreads?
[12:38] <Huemac> highgod: let me check
[12:39] <Huemac> --enable-pthreads
[12:39] <Huemac> yes
[12:39] <Huemac> they are currently enabled in my config
[13:06] <highgod> but mine can pass the compile, what other operation do you set?
[13:07] <Huemac> can you pass the compile if you add the semicolon?
[13:08] <Huemac> i have so many handles to the compilation that i have to send them in private
[13:08] <Huemac> but perhaps these most importantly
[13:08] <Huemac> --arch=x86 \
[13:08] <Huemac> --target-os=mingw32 \
[13:08] <Huemac> --cross-prefix=i686-w64-mingw32- \
[13:08] <Huemac> --pkg-config=pkg-config \
[13:45] <highgod> no, have no experences, can you give me some advice on how to fix it? it must use the atomic
[13:59] <Huemac> highgod: fix what?
[13:59] <Huemac> the suggested fix was in the ticket
[13:59] <Huemac> https://ffmpeg.org/trac/ffmpeg/ticket/2603
[14:00] <Huemac> just append a semicolon to the end of that line :D
[14:00] <Huemac> then it works on cross-compiling to win32 with mingw32
[14:10] <highgod> OK, I will check it thanks, not firmilar with compile thing
[14:11] <Huemac> yeah thanks
[14:11] <Huemac> should be really really simple to fix and test :)
[14:17] <kama3> hi
[14:20] <highgod> Huemac:OK, thanks.
[14:24] <kama3> does anyone have some experience with compatibility issues between different avcodec versions?
[14:25] <Huemac> highgod: could you please inform me after you have looked into it?
[14:37] <highgod> OK, busy these days, will ping you after I submit the patch, and your email?
[14:45] <Huemac> ill sen my email to you in private ->
[14:53] <alinmear> hey there! when i gonna make a screencast with ffmpeg -i screen.mkv -acodec libvorbis -ab 128k -ac 2 -vcodec libvpx -b 1000k -threads 2 -pass 2 -preset slow test.webm the captured video plays with tripple speed; does anybody know why?
[14:53] <alinmear> every screencast with ffmpeg is that fast; i have no clue why
[14:55] <alinmear> ups screencast cmd: ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -vcodec libx264 -preset ultrafast -crf 0 -threads 2 screen.mkv
[15:03] <raulnuno> hello everybody
[15:03] <klaxa> the -r 30 is placed before the input, thus making it an input option
[15:03] <raulnuno> I have an issue regarding this bug https://ffmpeg.org/trac/ffmpeg/ticket/1444
[15:03] <klaxa> if you move it after -i :0.0 it should become an output option
[15:04] <alinmear> klaxa: ok, gonna try it! thx so far! report soon
[15:04] <raulnuno> seems that duration keeps being incorrect...
[15:05] <raulnuno> I'm trying to get the last frame using duration
[15:05] <raulnuno> but I get the "Output file is incorrect, nothing was encoded" message
[15:08] <raulnuno> can anyone help me?
[15:18] <alinmear> klaxa: thanks alot worked for me!!! perfect!
[15:33] <alinmear> maybe someone know why this bug occurs: https://www.dropbox.com/s/ulbc4tx43xttrem/screen.mkv; tested it with ffmpeg, mplayer, dragonplayer (using dp for this screencast but same effect on ffplay and mplayer); when i play this video (mov with h264; also converted it to mpeg2 but same effect) i have strange pixel errors while the colored stripes are moving; tested the same vids on a windows machine and it
[15:33] <alinmear> worked flawless; any advice for me? thx alot so far
[15:34] <alinmear> video info  http://paste.fedoraproject.org/13969/36931604
[15:35] <alinmear> mplayer output: http://paste.fedoraproject.org/13971/69316102
[15:36] <alinmear> also asked in the mplayer channel and one of them thinks it's a ffmpeg issue
[15:48] <raulnuno> burek: I have read a log from #ffmpeg-devel where you were involved with bug https://ffmpeg.org/trac/ffmpeg/ticket/1444
[15:49] <raulnuno> could you help me?
[15:58] <kama3_> does anyone here was implementing some software which was using libavcodec?
[16:54] <omega9> hey there, I seem to be having a problem trying to install ffmpeg from source on ubuntu 12.10 64 bit. The --enable-pic option does not seem to be working and I keep getting a recompile with -fPIC error. Any ideas?
[16:57] <JEEBsv> omega9: you have to compile your static dependencies with -fPIC, not the actual app
[17:00] <omega9> When I tried doing this on 12.04 64 bit without the fpic option it just woked. I'm wondering why this is a problem on 12.10.
[17:03] <JEEBsv> omega9: if you did compile the dependencies as static and want your actual thing (ffmpeg f.ex.) that uses them to be shared, then you would have gotten it in any case :P
[17:03] <JEEBsv> most probably you are now building (some?) dependencies as static, and ffmpeg itself as shared, or vice versa
[17:04] <JEEBsv> -, or vice versa
[17:04] <JEEBsv> because that isn't true
[17:04] <omega9> Would it make sense if I said the dependencies were obtained from the apt repo?
[17:04] <JEEBsv> in any case, both ubuntu versions should give exactly the same things if you built like that :P
[17:04] <omega9> I know right :P
[17:05] <JEEBsv> omega9: the stuff in the standard repositories are usually shared so you shouldn't get that... argh, I don't remember when exactly -fPIC was needed
[17:05] <JEEBsv> no, I'm pretty sure it's with shared ffmpeg and static dependencies
[17:05] <JEEBsv> in any case, you're just getting a mismatch like that
[17:05] <Peace-Vaio> guys i have an hdmi monitor and the lcd , laptop is disabled , i was trying to do a screencast but it seems it records only the lcd
[17:06] <omega9> OK. I try getting the depenmdencies from source but just wanted to let you guys know it works on 12.04 with the repo dependencies but not on 12.10
[17:06] <JEEBsv> and you just need to compile your dependencies with fPIC or just switch the ffmpeg compilation to theo ther alternative :P
[17:06] <JEEBsv> omega9: you are probably still doing something differently
[17:06] <JEEBsv> I'm pretty sure Ubuntu has always put stuff out as shared
[17:06] <JEEBsv> so that doesn't differ jack shit
[17:06] <Peace-Vaio> i did this ./ffmpeg -f alsa -ac 1 -ar 48000 -i hw:2,0   -f x11grab -i :0.0 -s 1920x1080 -r 15  -vcodec libx264 test.mp4
[17:06] <Peace-Vaio> how to set up the monitor correctly?
[17:07] <omega9> JEEBsv: I see, I'll try to figure out what went wrong.
[17:07] <JEEBsv> omega9: it's most probably as simple as: You were building as X (shared or static), and now you are building as Y (the other alternative), as simple as that
[17:08] <JEEBsv> it should tell you which dependency it failed to link with, and you should either recompile that with fPIC, or just switch
[17:08] <omega9> JEEBsv: I got that. The thing is I have to support multiple machines in my lab where we have several vision libraries that need ffmpeg
[17:08] <omega9> JEEBsv: Hang on let me past the first error
[17:09] <omega9> JEEBsv: "/usr/bin/ld: error: /usr/local/lib/libavcodec.a(avpacket.o): requires dynamic R_X86_64_PC32 reloc against 'av_free' which may overflow at runtime; recompile with -fPIC"
[17:09] <JEEBsv> are you building something that then tries to link libavcodec or what?
[17:10] <JEEBsv> it sounds like you're no longer building ffmpeg itself
[17:10] <JEEBsv> but something that links to it
[17:11] <omega9> JEEBsv: Well I got the libav stuff from the repo and like you said it might be shared. But this error is from when I try to build ffmpeg.
[17:12] <JEEBsv> ok, how are you compiling ffmpeg then? and put the whole log on a pastebin site of your choice and link here
[17:12] <omega9> ok hang on
[17:12] <JEEBsv> also why the hell would it go looking for something that already is in /usr/local/lib
[17:12] <JEEBsv> if you're just compiling it
[17:12] <JEEBsv> I don't get it
[17:12] <JEEBsv> if something is in /usr/local/lib, it means it was installed
[17:13] <omega9> OK so this is the error log that I get ... http://pastebin.com/kCu0w30d
[17:13] <JEEBsv> so your explanation of "I'm just compiling ffmpeg" isn't really flying that far
[17:14] <omega9> Well I may be doing something wrong. Please let that slide then
[17:14] <JEEBsv> and standard libavcodec etc. packages surely aren't in /usr/local/lib :P
[17:14] <JEEBsv> so it's not an accidental system library coming up either
[17:14] <JEEBsv> I have absolutely no fucking idea what on earth you're doing but that sounds like it's trying to link to some random static libs already installed
[17:14] <JEEBsv> and you're making shared I would guess
[17:14] <omega9> But I haven't installed libav codec from source!
[17:15] <omega9> Allright I get what you're saying
[17:15] <JEEBsv> yet you have stuff in /usr/local/lib
[17:15] <JEEBsv> which is not system's stuff
[17:15] <omega9> I agree but this is where the thing is :P
[17:16] <JEEBsv> then someone else installed a custom static ffmpeg or libav build on the system to /usr/local
[17:16] <JEEBsv> but I still bet at you just DoingItWrong or leaving some old files there
[17:16] <omega9> I know I should not be asking this here but do you know if there is a way to get ffmpeg to not look there?
[17:16] <omega9> in usr/local I mean
[17:16] <kama3_> maybe it's trying to link to those libs as default lib path from LD_LIBRARY_PATH
[17:17] <JEEBsv> omega9: it'd be more interesting to know /why/ it's trying to link against that thing
[17:17] <JEEBsv> in any case, your fucking soup, have fun trying to clean it up.
[17:18] <JEEBsv> kama3_: that's only for runtime
[17:18] <JEEBsv> I think
[17:18] <JEEBsv> and for shared
[17:19] <omega9> I just echoed LD_LIBRARY_PATH, its empty
[17:19] <omega9> is there another way it got set? Maybe a config file?
[17:19] <JEEBsv> that's not fucking it
[17:19] <JEEBsv> LD_LIBRARY_PATH is to specify additional library loading directories when trying to run a binary that depends on shared libraries
[17:20] <JEEBsv> not for anything during compilation
[17:20] <omega9> Gotcha
[17:20] <omega9> I will try running an install on a fresh machine and see. But I agree fucking soup :P
[17:20] <kama3_> true, i was just guessing from where it gets path to those libs :)
[17:21] <JEEBsv>  /usr/local/lib is generally in the default linker path
[17:21] <JEEBsv> you can see the default linker path in your toolchain with some command :P
[17:21] <omega9> JEEBsv: But shouldn't it first look for the libraries in the systems stuff?
[17:22] <omega9> and then /usr/local if it did not find it?
[17:22] <JEEBsv> the thing is it shouldn't be trying to link a libavcodec or anything from anywhere external at that point, if that indeed is from during ffmpeg compilation
[17:22] <JEEBsv> so there's some dependency that you have custom-built in there that got caught, or your configure line is very weird
[17:23] <omega9> I think your first observation is correct.
[17:23] <JEEBsv> (and that dependency then had statically linked libavcodec and friends linked to it as well, or whatever)
[17:24] <JEEBsv> if you are the only one who has been playing with that machine you should look at what was installed to /usr/local(/bin|/lib|/include)
[17:24] <JEEBsv> and see what's there
[17:24] <omega9> My config line previously was ./configure --enable-pic --enable-shared
[17:24] <kama3_> i just builded from source on 12.10 64bit and everything went fine. so you've got just some mess
[17:24] <omega9> No its a lab machine, several persons used it before.
[17:25] <Peace-Vaio> i did this ./ffmpeg -f alsa -ac 1 -ar 48000 -i hw:2,0   -f x11grab -i :0.0 -s 1920x1080 -r 15  -vcodec libx264 test.mp4                       i have a laptop with lcd and an hdmi external monitor ... it seems it's recording the lcd , which is disabilited , and not hdmi monitor
[17:25] <omega9> kama3_: Thank you. I will try and figure out what went wrong.
[17:25] <JEEBsv> kama3_: it's been pretty damn obvious that he has something going pretty wrong there :P
[17:26] <omega9> JEEBsv: Thank you JEEB for the obvious observation :P :P
[17:26] <omega9> Thanks guys :)
[17:27] <JEEBsv> anyways, do a make distclean in the ffmpeg sources, then try re-configuring with just ./configure
[17:27] <JEEBsv> and try re-building
[17:27] <JEEBsv> see if that still somehow tries to link something from the system library directories of already installed shit
[17:27] <omega9> Allright doing that now
[17:30] <omega9> JEEBsv: Works :P
[17:31] <omega9> Oh man weird stuff , I probab;y won't be able to recreate this :P
[17:31] <omega9> but thank you
[17:31] <JEEBsv> well, in theory it could've worked because there was no need for the fPIC any more. You should see the compilation log or do another clean, and then build with make V=1 or something
[17:32] <JEEBsv> after that you could make another clean and try building with --enable-shared again with make V=1 or so
[17:33] <Peace-Vaio> :))))))))) solved
[17:33] <Peace-Vaio> -s option must be before of -i
[17:36] <kama3_> has anyone of you dealt with compatibility between different versions of libavcodec?
[17:37] <omega9> JEEBsv: Well right now my libraries work so I'm happy. Until the next error I guess :P
[17:38] <omega9> kama3_: Do you guys have some kind of an install script that build ffmpeg with specific verions of it dependencies?
[17:38] <omega9> I just realized how annoying this is, trying to get the right version to play well. I'm a n00b so ...
[17:42] <kama3_> no, generally what i'm doing: i'm dynamically loading using dlopen/dlsym libavcodec which is found on system. people could have different versions of it, so i need to add some of structures to properly handle version of libavcodec which user have. i'm just wondering if there's some easier way to get some few of the fields from those AV* structures i need
[17:44] <durandal11707> the only way is using lib major/minor version
[17:48] <kama3_> you mean just to identify lib or you mean something else?
[17:48] <durandal11707> to identify what API/ABI is lib using
[17:51] <kama3_> ok. i have identifying. but still i need to make some big header which includes different versions. i.e. i need width and height, and pointers to planes from AVFrame. there are changes between major/minor versions in this struct. so do i need to include all versions AVFrame, or do you have smarter solution for this?
[18:05] <omega9> quit
[20:00] <towolf> hello, if i want to pipe raw h264 live stream of a camera into ... |  ffmpeg -i -  -f segment ... can i override the pts time somehow? i tried quite a few permutations of -vf setpts, it doesn't stick.
[20:15] <BigFist> hi, I try to follow this guide https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide, but when installing dependencies (specifically libva-dev) I get some strange error, something about missing dependencies, broken packages and such. One line (from about 6) goes like this: libva-dev : Requires  libva-egl1 (= 1.0.15-4build1) but 1.1.0-0ubuntu0~quantal has to be installed (or something like this, its a translation from polish)
[20:31] <BigFist> --enable-libtheora: command not found ...
[20:33] <BigFist> ok, solved
[20:59] <vade> I'm looking at ffmpeg info for a video pre and post cropping, and am noticing that the baseline reported, when specifying baseline , is different
[20:59] <vade> pre, it states 'baseline'
[20:59] <vade> post crop, it states 'constrained baseline', and additionally
[20:59] <vade> it changes  29.98 fps, 30 tbr
[20:59] <vade> to
[21:00] <vade>  30 fps, 30 tbr
[21:00] <vade> i am going to be concatenating files together, and need them to match as closely in terms of bitrate and sample format :X
[21:00] <vade> how do I target non constrained baseline ?
[21:49] <towolf> hello, where did i make a mistake setting pts time here: http://paste.ubuntu.com/5694797/
[22:01] <llogan> towolf: -vf can not be applied input, AFAIK.
[22:01] <towolf> llogan, so where do i have to place it? i placed it just before the last line and still no overriding effect ...
[22:02] <towolf> ffmpeg is muxing raw h264 to ts and it's making up a pts time for each packet, i want to specify wall clock time at the time of muxing
[22:04] <llogan> -vf and -c:v copy are mutually exclusive
[22:05] <towolf> so i cannot change pts time in the container? -c:v is only about the codec, no?
[22:05] <towolf> and afaik raw h264 has no fps, or times per se ...
[22:07] <towolf> llogan, pts applies to the container not the code, yes?
[22:30] <vade> does -x264opts only apply if encoding samples ?
[22:31] <vade> i.e., if I want to edit the SPS-ID of a h.264 stream, but copy the samples
[22:31] <vade> is that possible?
[22:36] <xlinkz0> can i put the moov atom at the begining of the mp4 file?
[22:36] <sacarasc> Yes.
[22:37] <xlinkz0> how?
[22:37] <durandal_1707> -movflags +faststart
[22:39] <xlinkz0> thanks
[00:00] --- Fri May 24 2013


More information about the Ffmpeg-devel-irc mailing list