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

burek burek021 at gmail.com
Tue Dec 23 02:05:02 CET 2014


[00:01] <c_14> Can you give me a path? I'm trying to figure out why ld can't find it...
[00:02] <luc4> c_14: of course
[00:03] <luc4> c_14: this the one in the toolchain: /opt/rpi/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/lib/arm-linux-gnueabihf/libpthread.so.0
[00:03] <c_14> And that is a valid symlink?
[00:03] <luc4> c_14: this the one in the sysroot: /opt/rpi/sysroot/lib/arm-linux-gnueabihf/libpthread.so.0
[00:03] <c_14> For both, that is.
[00:03] <c_14> It's fine if it isn't a symlink.
[00:03] <c_14> As long as it's valid.
[00:04] <luc4> c_14: yes, it points to /opt/rpi/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/lib/arm-linux-gnueabihf/libpthread-2.13.so
[00:05] <luc4> c_14: of course I mean simply to libpthread-2.13.so, which has that abs path.
[00:09] <c_14> http://sprunge.us/OEcc can you save that as a file somewhere and then execute this command: http://sprunge.us/AXgb with /dlfile replaced with the other file?
[00:09] <c_14> Want to see if the error is reproducible outside of the ffmpeg configure
[00:11] <luc4> c_14: sure, give me a minute
[00:14] <luc4> c_14: you probably mean without -o?
[00:14] <c_14> Shouldn't matter
[00:15] <luc4> I get no input file with -o
[00:16] <c_14> Right, accidentally deleted too much there.
[00:16] <c_14> Just get rid of the -o
[00:16] <luc4> c_14: ok, in that case it works.
[00:16] <c_14> Right, now without the -c
[00:17] <luc4> c_14: here you are https://paste.kde.org/ptuvzfonh
[00:18] <c_14> Ok, now try with -L/opt/rpi/sysroot/lib/arm-linux/gnueabihf/
[00:18] <luc4> c_14: where exactly?
[00:18] <luc4> at the end?
[00:18] <c_14> Somewhere in the middle, don't think it matters though
[00:18] <luc4> ok
[00:20] <luc4> c_14: same as before: works only with -c
[00:24] <c_14> geh
[00:24] <c_14> Open all the libpthread.so.0 files and get rid of the leading paths
[00:24] <c_14> Start with the ones in the cross-prefix
[00:25] <c_14> http://sprunge.us/ZgBC <- they should look like this. Make them look like this: http://sprunge.us/fjfK
[00:25] <luc4> c_14: sorry, I do not understand. However in the meantime ffmpeg seems to build correctly by removing -L from the .pc file.
[02:51] <myself32> HELLO can anyone help me installing new version of ffmpeg
[02:52] <myself32> or updating it?
[02:56] <klaxa> can't you update it with your package manager?
[03:01] <myself32> klaxa i'm using centos and i install it with yum it installed the old version i need the new version
[03:01] <klaxa> then you probably have to compile from source or just get a static build
[09:06] <AuXFire> Anyone alive in here?\
[10:20] <wh-hw> hi, all how to add a interface to avfilter ?
[10:21] <wh-hw> i add a void printSth(); function to avfilter.h but after compile it , i can not find symbols in libavfilter.so file ?
[10:21] <wh-hw> why
[10:22] <wh-hw> but can find it in libavfilter.a  , why ?
[11:53] <equanox> hey
[11:53] <equanox> i tried to compile ffmpeg with the comilation guide
[11:53] <equanox> it seems that the ressource http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
[11:54] <equanox> is not available right now
[11:54] <JEEBsv> just use the git, videolan had a server break and some things aren't back up yet
[11:54] <equanox> kk thx
[12:05] <feliwir> hello, i wanted to ask if AVStream->Duration is ensured to be the same for all streams in a movie
[12:06] <feliwir> my tests showed that it seems to be always the same, but i need to have reliable information
[12:17] <Nishant> PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --enable-gpl  --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
[12:17] <feliwir> hm, that's not exactly what i was looking for :D
[12:18] <Nishant> libx264 library is not included in pah
[12:18] <Nishant> libx264 library is not included in path
[12:18] <Nishant> I need help regarding it
[12:18] <Nishant> I'm installing ffmpeg
[12:19] <Nishant> If i use libx264 in path it does not compile
[12:43] <fling> Is vbr available for libopus?
[12:45] <fling> looks like it is
[12:48] <fling> [libopus @ 0x7f0659795650] Quality-based encoding not supported, please specify a bitrate and VBR setting.
[12:48] <fling> How to set VBR?
[12:49] <wh-hw> hi, all, i have a problem exactly like this link :http://www.serkey.com/ubuntu-unable-to-build-new-opencv-due-to-ffmpeg-error-bfskbv.html , can anybody help with this ?
[12:51] <wh-hw> and i compiled ffmpeg with this config : ./configure --prefix=/usr --enable-gpl --disable-shared --enable-static --enable-pic
[12:51] <fling> Looks like it is -> -c:a libopus -b:a 64k -vbr:a on
[12:51] <wh-hw> any help here ?
[14:08] <kj_> File for preset 'medium' not found
[14:09] <kj_> I am trying to convert a file using FFMPEG on aws server ..... here is the code " ffmpeg -i video1.mp4 -r 30 -s 960x540 -vcodec libx264 -vpre medium video2.mp4 ".. it's giving error as "  File for preset 'medium' not found "
[14:11] <kj_> Hi fflogger both the links paste.org and pastebin.com is not showing anything
[14:12] <c_14> What do you mean not showing anything?
[14:12] <c_14> And are you sure you have that preset?
[14:13] <c_14> As in, have the preset file for that preset?
[14:13] <c_14> You might want to read: http://ffmpeg.org/ffmpeg.html#Preset-files
[14:13] <kj_> http://justpaste.it/ijql
[14:14] <kj_> check this link please
[14:15] <c_14> Read the link to preset-files I posted as well as this: https://trac.ffmpeg.org/wiki/Encode/H.264
[14:16] <kj_> if use ffmpeg syntax with " -vpre medium" on my local pc it work
[14:16] <kj_> but not the same with aws server
[14:16] <c_14> Is the FFmpeg version the same?
[14:17] <kj_> http://justpaste.it/ijql
[14:19] <kj_> ffmpeg on my localpc :  fmpeg 0.8.16-4:0.8.16-0ubuntu0.12.04.1
[14:19] <c_14> Yes, is the FFmpeg version the same? Did you copy the preset file to the remote server? Did you read either of the 2 links I posted?
[14:19] <kj_> ffmpeg aws-server version : ffmpeg version n2.2.11
[14:23] <c_14> Look at the output of ffmpeg -version
[14:24] <kj_> ?
[14:24] <c_14> "AWS server version" doesn't tell me much. On your server, execute `ffmpeg -version' and look at the version string at the top for the version number
[14:26] <kj_> http://justpaste.it/ijr6  here is the complete details
[14:30] <c_14> Aah, right. Anyway, the using of -vpre for x264 is deprecated in the build on your server. Just use the x264 presets along with a crf
[14:33] <kj_> ?
[14:33] <c_14> https://trac.ffmpeg.org/wiki/Encode/H.264
[14:42] <kj_> it's taking alot of time to convert
[14:42] <c_14> yep
[14:42] <kj_> how to speed up the conversion process ?
[14:42] <c_14> -preset fast,faster,veryfast,ultrafast
[14:45] <kj_> any issue if we use ultrafast conversion ?
[14:45] <c_14> The resulting file will be bigger.
[14:48] <kj_> :O
[15:17] <fling> What is the state of vp9 encoding? Is it fine? Is it reasonably fast?
[15:17] <c_14> It's slow.
[15:17] <c_14> Very
[15:17] <c_14> Slow
[15:17] <fling> Can I use it instead of x264 for encoding my lossless?
[15:18] <fling> c_14: Insanely slow?
[15:20] <c_14> Slow enough that I wouldn't want to use it. But I also haven't tried it in lossless mode.
[15:20] <fling> No I mean I have a bunch of lossless video, I'm about to recode to something lossy.
[15:20] <fling> c_14: looks like opus works fine for audio& What should I use for video?
[15:20] <c_14> Oh, probably too slow. Try it with a section of video though and see if it's too slow for you.
[15:21] <fling> I have tried few months ago. If nothing changed I know how show is it.
[15:21] <c_14> No major changes.
[15:26] <fling> Strange, I have recoded a video with -c:a libopus -b:a 64k -vbr:a on -c:v libx264 -preset veryslow -tune film
[15:26] <fling> c_14: and the output looks less noisy!
[15:26] <c_14> Might be the tune
[15:27] <fling> but the tune should keep grainess
[15:28] <c_14> Tried the grain tune?
[15:30] <fling> c_14: have not tried yet, but I will probably keep -tune film
[15:30] <fling> c_14: as it makes my noisy video less noisy :P
[15:31] <bencc> what's a recommended server to receive audio from ffmpeg and broadcast to multiple users?
[15:31] <bencc> ffserver? icecast?
[15:31] <bencc> I'm using ubuntu
[15:32] <fling> bencc: it is recommended to use trisquel instead of ubuntu :P
[15:32] <fling> bencc: I have used ffserver and erlyvideo for broadcasting in the past.
[15:32] <fling> bencc: I think I have some instances still running somewhere&
[15:33] <bencc> how is ffserver compared to icecast?
[15:34] <bencc> I don't need complex functionality just receive one sream and broadcast
[15:48] <fling> bencc: I have never used icecast.
[16:21] <Nopik> hi all
[16:23] <Nopik> i have some problem, i have to create system which streams audio continuously, and have 2 inputs: some other audio stream, and some predefined content. For most of the time original audio stream is just sent to the output as-is, but occasionally I want to insert predefined content (just like ad insertion). Any ideas how I should approach this?
[16:25] <Nopik> I have some working prototype already, using ffmpeg, though I'm not fully happy with it. Namely, I've created my own audio filter, based on amix, which works continuously and opens extra socket to allow control which input we should play
[16:26] <Nopik> so then I'm setting up FFMpeg with 2 sources, and control the mixing as I want. This part works pretty much fine. I have a problem with it, however, that both inputs needs to be streams, whereas the predefined content should have synchronized start with the insertion point, which is hard to achieve in this environment
[16:26] <Nopik> especially that bufferring is taking about 6.5 seconds, so any action is delayed, I think I can live with it, but it is extremely annoying
[16:27] <Nopik> even if I would be able to reduce buffering to minimum (preferably zero), that would help
[16:27] <Nopik> yet, I'm wondering if I'm following the right path, I wouldn't be surprised if there would be a much simpler solution around
[16:27] <Nopik> any ideas?
[16:32] <baran> for what purpose av_md5_sum() is used?
[16:32] <baran> can anyone point it out?
[16:33] <c_14> -f md5sum probably
[16:33] <c_14> eh, -c md5 that is
[16:34] <c_14> -f md5 works as well
[16:37] <baran> well, I'm writing ffmpeg wrapper and I get some memory leaks. I'm using some API for leak detection and it points to method av_md5_sum()
[16:37] <c_14> "some API", have you tried valgrind ?
[16:37] <baran> ehh, it's windows
[16:37] <c_14> aaah
[16:38] <baran> so I use, C++ Memory validator
[16:49] <c_14> Is there a stack trace of where the leak is?
[19:04] <bencc> what's the syntac of the comand filter?
[19:05] <bencc> I'm trying
[19:05] <bencc> -af "compand=0.3,0.8:-70/-70|-60/-20:-90:0.2"
[19:05] <bencc> but getting an error:  No such filter: '0.8:-70/-70|-60/-20:-90:0.2'
[19:07] <bencc> I think I got it: -af "compand=0.3:0.8:-70/-70|-60/-20:.01:0:-90:0.2"
[20:09] <cgreen> Hey all, I have a static image that I combine with HTTP stream and output to UDP unicast. The issue that I see is on the static image it starts crystal clear, then begins to pixel. I think I know why...is there a way to fix this?
[20:09] <cgreen> No matter the resolution it's the same.
[20:10] <cgreen> 2 seconds it's perfect, the pixels
[20:10] <cgreen> then
[20:10] <cgreen> maybe reducing the framerate?
[20:35] <cgreen> http://pastebin.com/7e3d3eRq
[20:36] <cgreen> that works just fine, except for the little bit of pixeling.
[20:47] <llogan> cgreen: where's the rest?
[20:47] <cgreen> not sure what you mean?
[20:48] <cgreen> That starts and streams my info
[20:48] <cgreen> combines a single jpg image and a http udp stream out to a server
[23:11] <szmeny> Hi, i`m looking for working ffmpeg + ffserver solution from live stream as input. I will paid for help
[00:00] --- Tue Dec 23 2014


More information about the Ffmpeg-devel-irc mailing list