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

burek burek021 at gmail.com
Thu May 24 02:05:01 CEST 2012


[00:06] <toresbe> I guess what's most frustrating is the lack of consistent failure
[00:06] <toresbe> everything fails in each their own individual manner
[00:12] <jegade> hi, i like to stream multiple sources live mixed to my ffserver, any idea for a application (linux)?
[00:12] <jegade> where i could mix my sources?
[00:13] <toresbe> jegade: I have some experience using dvswitch but that assumes all sources are DV video
[00:14] <jegade> toresbe: ok
[00:14] <toresbe> [mpeg4 @ 0xa4bdbe0] concealing 886 DC, 886 AC, 886 MV errors
[00:14] <toresbe> [mpeg4 @ 0xa4bdbe0] ac-tex damaged at 25 19
[00:14] <toresbe> [mpeg4 @ 0xa4bdbe0] Error at MB: 804
[00:14] <toresbe> it doesn't seem very happy with the video it's getting from the camera either
[00:22] <toresbe> now, it works for a few seconds and around a hundred frames before it starts making those errors...
[00:22] <toresbe> is it losing some sort of alignment, maybe?
[00:25] <toresbe> it always tends to happen around 80 frames, apparently
[00:25] <toresbe> Would any developers like to have a look?
[00:25] <toresbe> someone who's more experienced with fault-finding these kinds of things?
[00:26] <saste> toresbe: -> bug report
[00:29] <toresbe> saste: I'd love to but I don't even quite know where to start... besides, I think I'll have to figure this out myself because this really needs to be working in about eight hours
[00:32] <saste> uhm ok... did you try to update?
[00:32] <saste> also whence to start: post a pastebin with the failing command and output
[00:32] <saste> in the worst case if noone is able to help here you can file a bug report
[00:34] <toresbe> I'm trying to figure it out myself... part of the problem is that it seems to die in a different way every time I invoke it
[00:35] <saste> uhm... static build or what?
[00:35] <toresbe> static build of both x264 and ffmpeg from most recent release
[00:35] <saste> which ffmpeg version? how is it dying? crash or failure?
[00:36] <toresbe> 0.10.3 - and, well, it depends on which kludge I try to apply.
[00:36] <toresbe> But if I just try the command as it should be...
[00:37] <saste> pastebin...
[00:37] <toresbe> yep
[00:41] <toresbe> saste: http://pastebin.com/TStbAt6u
[00:42] <toresbe> sorry about the double lines
[00:42] <toresbe> quicktime player plays the file just fine, btw.
[00:42] <toresbe> as does flash media encoder
[00:45] <saste> uhm so the stream seems corrupted
[00:45] <saste> did you try with vlc?
[00:45] <toresbe> saste: no, I'm not on the LAN with it
[00:47] <toresbe> saste: let me try cvlc
[00:47] <saste> it may well be an implementation problem in the rtsp stack... in that case i can't help much
[00:48] <saste> to discover that you can compare it with another implementation (cvlc should do fine)
[01:26] <toresbe> sure looks like a problematic camer,a though
[01:26] <toresbe> once I reduced its frame rate ffmpeg got happy
[01:37] <toresbe> YES! YES YES YES
[01:37] <toresbe> it's working
[01:37] <toresbe> I can go home! I can get food! The world is wonderful!
[01:37] <sware> you fixed it ?
[01:38] <toresbe> No, but I changed parameters around until neither ffmpeg nor akamai noticed it's broken
[01:38] <toresbe> I lowered the max frame rate on the camera to 5 fps. Now everything is going well.
[01:40] <sware> coolio. seemed like you were doing really high def before with libx264
[01:40] <toresbe> it seems to do stupidness whenever the coder gets too much stuff to do.
[01:40] <sware> maybe it's the format you're using
[01:49] <toresbe> anyway, thanks for listening to my unconstructive whinging!
[01:50] <newl> deconstructive whinning?
[01:51] <sware> winning
[03:37] <xxthink> how to use ffmpeg to mux a raw 264 stream to a ts stream?
[03:37] <xxthink> ffmpeg -i input.264 out.ts?
[09:50] <Orcun> hi everyone ! does ffmpeg support alpha channel ? If so which codecs are supported ? Thank you all.
[10:28] <floater_afb60> hi
[10:39] <peuhkura> Hi! License question. I am compiling ffmpeg against openssl on android. There are some minor mods made to FFmpeg. Is it enough to publish the sw linking to modded ffmpeg and openssl (android's existing .so) libs with the "LGPL + using OpenSSL" license text + link to ffmpeg version, patches, and configure flags?
[10:55] <CTPAX> Does anyone has experience with FFMpeg and NaCl Ports?
[11:11] <kriegerod> is that right or wrong that at some cases the frame pts (reachable after decoding) is _not_ derived from packet pts/dts (reachable after demux), but is encapsulated in the coded frame itself? In other words, that elementary AVStream can have its own internal timestamps besides the timestamps provided by media container. If such situation may have place, is that the case for MPEGTS container and video codecs h264, mpeg2, audio co
[11:39] <burek> peuhkura, try asking in #ffmpeg-devel
[11:40] <burek> kriegerod, you could also ask the same there :)
[11:41] <peuhkura> burek: ok
[12:06] <CTPAX> Has anyone worked with NaCl port of FFMpeg?
[12:14] <burek> CTPAX, what is that?
[12:14] <CTPAX> it's Google Native Client project that's made for using standard libraries with Native Client's SDK
[12:15] <CTPAX> Native Client enables you to write C++ code that will run in Google Chrome browsers
[12:18] <burek> ok
[12:25] <Campari_IV> Hi!
[13:08] <profoX`> Hi. I'm working on a Video Quality Analyzer application based on ffmpeg.. might there be some users here who can tell me about some important aspects of such an application? I am currently in the process of actually writing plug-ins for the app
[13:46] <IchGuckLive> hi all im trying to confvert a movie for my pocket beamer V10 Aiptek comming from kodakZi8  an error acours
[13:46] <IchGuckLive> here is the paste http://pastebin.com/fXB7XR6R
[13:52] <IchGuckLive> got it i changed the audio and then it worked B)
[14:23] <burek> I like when people self-solve their own problems, after asking the question out loud :)
[14:34] <ubitux> it happens to me often :p
[14:34] <APoulos> hey burek can you help me with a command?
[14:34] <APoulos> burek, I'm trying to encode a video from a certain minute mark
[14:34] <APoulos> using ffmpeg
[14:35] <APoulos> of cource
[14:35] <APoulos> course*
[14:35] <APoulos> burek, how would I go about doing so in ffmpeg as opposed to using mencoder?
[14:35] <APoulos> burek, like if I wanted to encode a sample of my output file
[14:35] <burek> ok
[14:36] <burek> did you try: ffmpeg -i input -ss 00:00:54.534 -vcodec ... out.avi
[14:36] <APoulos> burek, no I didn't, let me give it a try
[14:36] <burek> also add -t to specify output duration (if you want just a sample)
[14:37] <burek> like this: ffmpeg -t 30 -i input -ss 00:00:54.534 -vcodec ... out.avi
[14:37] <burek> (30 seconds)
[14:37] <burek> pardon, -t goes just before out.avi
[14:37] <burek> ffmpeg -i input -ss 00:00:54.534 -vcodec ... -t 30 out.avi
[14:38] <APoulos> SWEET, Thanks Burek! I'll be back if i have anymore woes
[14:38] <burek> :beer: :)
[14:38] <APoulos> haha
[14:39] <APoulos> oh, quick question, what does -ss stand for?
[14:39] <burek> seek to
[14:39] <APoulos> that's what I thought! alright
[14:40] <APoulos> thanks again!
[14:40] <APoulos> :beer: :D
[14:40] <burek> :)
[14:59] <Mmike> Hi, lads. I have (inherited) comipled ffmpeg that's spitting me this error:
[15:00] <Mmike> /usr/local/bin/ffmpeg: relocation error: /usr/local/bin/ffmpeg: symbol av_buffersrc_buffer, version LIBAVFILTER_2 not defined in file libavfilter.so.2 with link time reference
[15:00] <Mmike> am I running old libavfilter?
[15:00] <Mmike> i'm kind of stuck :/
[16:16] <burek> Mmike,
[16:16] <burek> your libavfilter is not of the correct version
[16:16] <Mmike> burek, yup, it's fixed
[16:16] <burek> or it might be that you have a distribution libraries
[16:17] <Mmike> a collegue helped
[16:17] <burek> mixed with your compiled libraries
[16:17] <Mmike> btw, I love your nickname :)
[16:17] <burek> so, just ldconfig will do
[16:17] <burek> :)
[16:17] <burek> ok
[16:17] <burek> :beer: :)
[16:25] <Mmike> beer :)
[16:27] <Know1edge> hey guys, is there a command line flag to set volume fade in and out for mp3?
[16:54] <burek> Know1edge, not yet, I'm afraid
[16:54] <Yuhjn> how can i use ffmpeg to truncate an mp3 file?
[16:56] <Yuhjn> nm, got it with -t
[17:04] <Know1edge> Yuhjn: ffmpeg -f mp3 -i song.mp3 -t 00:00:10 -ss 00:00:0 -y song_preview.mp3
[17:13] <Know1edge> anyone know if you can call ffpmeg command line arguments with the ffmpeg-php extension? looks like the docs only has get methods
[17:18] <JEEBsv> Know1edge: ffmpeg-php is not related to the ffmpeg project at all
[17:19] <sacarasc> And it's rather out of date, anyway.
[17:19] <Know1edge> noticing that :P
[17:19] <Know1edge> gonna just use exec on a daemon/cron
[18:43] <burek> Know1edge, use shell_exec
[18:43] <burek> no need for ffmpeg-php
[18:45] <Know1edge> burek:  that's what I ended up doing, thanks though :)
[18:45] <Know1edge> (used shell_exec that is)
[18:45] <burek> ok
[18:53] Action: ShinyObjects high-fives Mmike
[18:53] <ShinyObjects> beer :)
[19:03] <cykl> Hi, I'm trying to combine png images (1 fps) with an audio stream. I use the following command: ffmpeg -y -f image2 -r 1  -i  /tmp/tmpC38SyP/frame-%04d.png  -i /tmp/tmpC38SyP/audio.wav -r 24  -f avi /tmp/tmpC38SyP/output.avi. It correctly encode the first 60s then segfault. What am I doing wrong ?
[19:22] <madwill> Do you think it would be possible to include FFMPEG compiled with Xuggler in a java webstart and feed it robot taken image to encode in h264 and send through RTMP ?
[19:22] <madwill> sounds crazy right
[19:53] <KeitaroNL> hey ya guys
[19:54] <KeitaroNL> quick question
[19:54] <KeitaroNL> I've installed ffmpeg and ffmpeg-php (don't get me started :P)
[19:54] <KeitaroNL> but right now, I can't skip mp4 files
[19:54] <KeitaroNL> as in, I can't use the seeking function and fastforward or go back
[19:54] <KeitaroNL> it just starts playing.. and that's it
[19:54] <KeitaroNL> can I yum install something for that?
[19:54] <KeitaroNL> (Centos 6, apache)
[19:55] <sacarasc> Upgrade to the latest ffmpeg and see if you have the problem still.
[20:04] <KeitaroNL> hmm
[20:04] <KeitaroNL> I've tried sacarasc
[20:04] <KeitaroNL> but I can't seem to update/upgrade it
[20:04] <KeitaroNL> I believe it is the newest version
[20:04] <KeitaroNL> can't it be because I'm missing some libraries?
[20:04] <KeitaroNL> Even though I did install everything I could get my hands on (including vlc)
[20:05] <sacarasc> What version is it?
[20:05] <KeitaroNL> 0.6.0-svn
[20:06] <sacarasc> That is VERY old.
[20:06] <sacarasc> 0.10.2 is the latest stable currently.
[20:06] <KeitaroNL> oh
[20:06] <KeitaroNL> lol
[20:06] <KeitaroNL> yeah just noticed
[20:06] <KeitaroNL> hmm weird
[20:06] <KeitaroNL> I'm using the same version on another server..
[20:28] <Bombo> i don't get the audio stream start later in the mux i tried 'ffmpeg -i video.avi -i audio.mp3 -codec copy -itsoffset -00:00:10 muxed.avi' but it doesn't change at all, i tried -itsoffset in different positions, but no success
[20:35] <Bombo> 'ffmpeg -itsoffset -00:00:10 -i video.avi -i audio.mp3 -codec copy muxed.avi' lets the video start 10 secs later, but i need to start the audio 10s later
[20:36] <Bombo> (without the -)
[20:36] <Bombo> 'ffmpeg -i video.avi -itsoffset 00:00:10 -i audio.mp3 -codec copy muxed.avi' this does nothing
[20:39] <Bombo> i thought while '-itsoffset 00:00:10 -i video.avi' lets the video stream start 10s later, a negative value would start the vid 10s earlier
[20:39] <Bombo> but it doesnt
[21:50] <zmitya> hi Gents
[21:51] <zmitya> I wrote and RTPProxy for transmitting RTP streams between the peers for VoIP calls
[21:52] <zmitya> this proxy should records the calls as well, so I'm wondering how to do that
[21:52] <zmitya> I'm looking for a solution and I beleive that this is
[21:52] <zmitya> possible with ffmpeg somehow, but I'm absolutely newbie to is
[21:53] <zmitya> the only key is that this small application should take care about the missing packets as well, so lets say one if the call leg has poor internet conenction so 1/3rd of the packets are missed
[21:54] <zmitya> the recorded file should still be in sync
[21:54] <zmitya> do you guys have an idea how to do that or where should I start ?
[22:21] <lastrodamo> hi
[22:22] <lastrodamo> is it possible with ffmpeg to change an AVI vidéo 1600x900 to AVI vidéo 160x90 in 24Mbits
[22:22] <lastrodamo> i have use this command ffmpeg -i test-00.avi -r 30 -s qqvga -b 24000k test-02.avi
[22:22] <lastrodamo> but i'm not sure
[22:23] <Tjoppen> a
[22:33] <madwill> anybody know why i sometimes get crazy delays using x11grab and pulse capture where sometimes more then 1 minute of delays is felt in the end output. Using preset veryfast and crf 0
[22:33] <madwill> i mean preset ultrafast
[22:35] <madwill> maybe the isync option is screwing everything up
[22:35] <madwill> Lets remove the isync option !!
[22:35] <madwill> Voodoo testing FTW
[22:39] <beastd> madwill: dunno. but i remember someone was reporting frame drop with this input combination. AFAIK muxing to audio and video different files helped against the framedropping. i am not sure muxing the results into one file created a sync movie though.
[22:40] <madwill> so it could be a framedrop
[22:40] <madwill> that is not exactly apparent but screw timelines and gives crazy delays ?
[22:40] <madwill> Because if i record a single minute i get a single minute in the end
[22:43] <beastd> hmm
[22:44] <madwill> trying lowering the framerate and removing isync. keep on voodooing
[22:44] <madwill> because i do limit the threads to 2
[22:47] <madwill> or is x264 not the best option for capture...
[22:54] <madwill> its too bad because my old out of date ffmpeg was doing gloriously... from about a year ago with the exact same settings...
[22:54] <beastd> madwill: not sure what you mean here. anyway not the best should usually not be equal to not working correctly. so if using sth else makes your problems disappear it would definitely be good if you could file a bug report.
[22:55] <beastd> madwill: do you compile ffmpeg from git checkout?
[22:55] <madwill> ok, what meant it as have a different computer on ubuntu 10 that have a similar configuration but a 2 years old build and it works perfectly, this one has problem and
[22:55] <madwill> yes it was taken from git
[22:57] <beastd> madwill: you could try to use git bisect to find the commit that introduced the problem
[23:02] <beastd> could make sense to first switch to a 2 year old source in git and try if it can be compiled at all and the check if the problem is still there would be a good preparation. if it is still there than the problem commit can't be found with git bisect.
[23:19] <madwill> beastd thanks but with a dropped framerate and removed the -isync it seems to work better
[23:19] <madwill> i'll go like this for now
[23:23] <beastd> madwill: OK. But if you go into figuring out if it is a regression please report it if it is.
[23:23] <madwill> ok thanks
[23:30] <rrivera> So librtmp supports the specification of connection parameters, like flashVer and conn= (for arbitrary AMF data), can this be passed to librtmp in ffmpeg? I tried adding -C and --conn to no avail
[23:56] <rrivera> Ah I see it's not supported. I'll add support for some of rtmpdump's options and submit a patch later
[00:00] --- Thu May 24 2012


More information about the Ffmpeg-devel-irc mailing list