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

burek burek021 at gmail.com
Mon Aug 27 02:05:01 CEST 2012


[00:48] <grepper> Using the pad filter with current git (today).  This worked fine with 0.11  but fails now:  "-s 384x192 -vf pad=720:480:188:90"  , with error "Input area 720:480:1344:832 not within the padded area 0:0:188:90 or zero-sized".  How is this filter used now ?
[00:51] <ubitux> remove the -s, and try pad=720:480:188:90,scale=384:192
[00:52] <grepper> ah okay, trying now
[00:52] <ubitux> or well, maybe the scale before pad
[00:52] <ubitux> dunno what you are trying to achieve
[00:53] <grepper> the final should be dvd resolution, with an enclosed video of 384x192
[00:55] <grepper> yes, scale before pad.  That works fine.  Thanks ubitux
[00:57] <ubitux> grepper: just fyi, when you use -s, it converts it to a scale filter, which is appened at the end of your filters
[00:57] <ubitux> so it's actually doing something like pad=720:480:188:90,scale=384:192
[00:57] <ubitux> in 0.11 i don't remember how it was, but it might have been a separated filter
[00:57] <grepper> I see.  Seems that has changed then, or at least it worked by accident before :)
[00:57] <ubitux> or maybe it was added at the beginning for various reasons
[00:58] <ubitux> and in any case, it's better to use the filtergraph directly
[00:58] <grepper> my problem is that I'm trying to make our scripts backwards compatible for a few ffmpeg versions, so it very tricky
[00:59] <ubitux> scale=384:192,pad=720:480:188:90 should work with old versions
[00:59] <grepper> cool, same syntax works for 0.11
[00:59] <grepper> yes, nice
[01:07] <grepper> works with 0.8.11
[01:20] <grepper> works with 0.7.13
[06:45] <cypher497> anyone know why dvvideo does not have profiles for 24fps?
[13:49] <gxk> Need suggestions to solve a problem with ~1 min latency by ffmpeg captures/encodes h264 and streams mpeg2-ts to 127.0.0.1 The ffmpeg from latest git.
[17:25] <FelipeS> hey all. I build x264 and ffmpeg
[17:25] <FelipeS> built
[17:27] <FelipeS> hey all. I built x264 and ffmpeg for iOS (armv7). Then when compiling an executable I got the following warning, and I am afraid it will haunt me later on if I ignore it. ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _x264_pixel_ssim_end4_neon from ../lib/libx264.a(pixel-a.o). To fix this warning, don't compile with -mdynamic-no-pic or link with
[17:27] <FelipeS>  -Wl,-no_pie
[17:31] <FelipeS> should I be scared?
[17:35] <relaxed> FelipeS: Click on the far right links to see how libav builds it for your arch. http://fate.libav.org/
[17:35] <relaxed> Maybe you'll learn something.
[17:38] <relaxed> For compiling x264 you should ask in #x264.
[17:39] <relaxed> There's also fate.ffmpeg.org
[17:39] <JEEB> well, it says exactly what it means on the TIN
[17:40] <JEEB> "Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _x264_pixel_ssim_end4_neon from ../lib/libx264.a(pixel-a.o). To fix this warning, don't compile with -mdynamic-no-pic"
[17:40] <JEEB> in other words, re-compile x264 without -mdynamic-no-pic
[17:41] <JEEB> (or the latter one)
[17:41] <JEEB> if you have no idea what that warning means, time to go read up on your compiler's documentation
[17:41] <JEEB> or I wonder if it's ffmpeg using that switch
[17:41] <JEEB> not sure
[17:42] <FelipeS> JEEB I believe everything I'm compiling has --enable-pic or -fPIC
[17:42] <FelipeS> I'll double check
[17:42] <JEEB> well, the warning isn't saying you're not compiling without --enable-pic
[17:43] <JEEB> it's saying that something is compiled with -mdynamic-no-pic
[17:43] <JEEB> you should check out make V=1 output I guess, that outputs the exact commands used to compile stuff
[17:57] <FelipeS> well I am 100% sure now that x264 is being compiled as a static library with PIC enabled (with -fPIC and without -m-dynamic-no-pic)
[18:30] <fturco> Hello. I'm trying to convert a MPEG file into the WebM format. I also have to split it into two consecutive videos.
[18:32] <fturco> I ran ffmpeg two times. In the first time, I used the -t option to set the duration (the beginning is implicitely zero); the second time, I used the -ss option with a value bigger than the first -t option
[18:32] <fturco> The first question is: do I need two run ffmpeg a couple of times or I can use a single command?
[18:33] <fturco> The second question is: is the -ss option accurate (I put it after the input file name and before the output file name)?
[18:34] <fturco> I found the right times with Avidemux, but I get unwanted frames at the beginning of the second WebM video
[18:34] <fturco> So either Avidemux tells me wrong times/frames, or ffmpeg seeks in the wrong way
[18:36] <fturco> http://pastebin.com/DjE1L44M
[22:28] <DelphiWorld> hi FFmpegesters
[22:28] <DelphiWorld> :P
[22:29] <DelphiWorld> do FFMpeg support real media ?
[22:29] <JEEB> depends on the exact format
[22:29] <JEEB> some stuff is supported, other stuff less supported
[22:33] <DelphiWorld> JEEB: how to know, please
[22:33] <DelphiWorld> i want to convert rm media to iOs supported format
[22:34] <JEEB> by, you know, trying?
[22:34] <DelphiWorld> JEEB: yeah bro, do i know
[22:34] <DelphiWorld> ?
[22:35] <llogan> DelphiWorld: ffmpeg -i bro-input.rm
[22:35] <JEEB> the first thing is to check if ffmpeg can tell you more or less correct information about the file with 'ffmpeg -i filename.derp', after that you just do conversion as usual :P
[22:36] <DelphiWorld> llogan: upgrading:-P
[22:36] <llogan> It will cost 12 pounds to upgradings your mobile plan.
[22:37] <DelphiWorld> LOL llogan upgrading my debian;-)
[22:37] <DelphiWorld> i hope everyone will help me here!
[22:38] <llogan> debian's ffmpeg is either old, or uses ffaux-ffmpeg
[22:38] <DelphiWorld> tomorrow i have a flight
[22:38] <DelphiWorld> and need to cary some documentary with me
[22:38] <DelphiWorld> no, llogan i compile my *own*
[22:39] <llogan> good. do you compile it with libx264?
[22:39] <DelphiWorld> llogan: sure, otherwise will be useless:-P
[22:40] <JEEB> not really useless, still a lot of useful stuff in there. Of course not really useful _for_you_
[22:41] <llogan> then you can probably use: ffmpeg -i input.rm -c:v libx264 -crf 24 -profile:v baseline -level 30 -c:a <your desired aac encoder> output.mp4
[22:41] <DelphiWorld> hahaha
[22:41] <DelphiWorld> WOOHOO. bgmarete, kenya ?
[22:41] <llogan> note i am fairly iOS iGnorant.
[22:41] <DelphiWorld> oh llogan reason ?
[22:41] <llogan> i don't have any
[22:41] <DelphiWorld> llogan: but why ignoran ?
[22:41] <JEEB> llogan, that would work with the oldest devices as long as reference frames are kept at a limit
[22:42] <JEEB> since 3GS iDevices have supported high profile level 4.1
[22:42] <llogan> JEEB: that's what I assumed, but I didn't know how old his device be.
[22:42] <JEEB> yup, we have no idea :)
[22:42] <JEEB> also if one compiles ffmpeg himself I recommend fdk-aac for aac
[22:42] <llogan> but the 3GS info will be noted for future regurgation.
[22:42] <JEEB> it's currently the best thing available
[22:42] <JEEB> 3GS, 4, and IIRC something came after 4
[22:43] <JEEB> these all support stuff nicely
[22:43] <DelphiWorld> 4S
[22:43] <JEEB> (iTunes might throw a fit tho)
[22:43] <JEEB> iTunes only likes stuff it has created, or well, what it can create
[22:43] <llogan> as for fdk-aac instructions see that section in https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[22:44] <JEEB> ugh, it uses the tarball
[22:44] <JEEB> that's gotten old and had bugs :<
[22:44] <JEEB> https://github.com/mstorsjo/fdk-aac <- the maintainer's git repo
[22:44] <llogan> i'll upgradings it
[22:44] <DelphiWorld> i think i allready have libfaac
[22:45] <JEEB> you may use that as well, but fraunhofer's encoder is much better off generally
[22:45] <DelphiWorld> :)
[22:45] <JEEB> the only thing you have to do with the git repo is run 'autoreconf -fiv' in its folder
[22:45] <JEEB> to create the configure script
[22:45] <njbair> JEEB: better in what way? speed or quality?
[22:45] <DelphiWorld> JEEB, i use the debian provided one
[22:45] <JEEB> njbair, quality
[22:46] <JEEB> it can also do both LC and HE
[22:46] <JEEB> too bad they used a custom license that was deemed more or less nonfree
[22:47] <JEEB> DelphiWorld, libfaac was never really good, it was just the least worst of the open source encoder pack, until Google got fraunhofer to open source their encoder
[22:47] <DelphiWorld> JEEB: is that new ?
[22:47] <JEEB> you can of course use faac if you want
[22:47] <JEEB> yeah, it was released with the jelly bean android release
[22:48] <JEEB> (4.1)
[22:49] <DelphiWorld> that's kit new
[22:49] <llogan> why does the git repo not contain the configure?
[22:49] <JEEB> llogan, standard procedure with that kind of stuff, so that it would never get old
[22:49] Action: llogan only now reads what you typed minutes earleir
[22:50] <JEEB> yeah, 'autoreconf -fiv'
[22:50] <JEEB> and it should create the configure script just fine
[22:50] <DelphiWorld> ok, so how do i convert now?
[22:50] <DelphiWorld> all is ready to rocks
[22:50] <JEEB> which device do you have?
[22:51] <JEEB> and you did check that you get at least somewhat sane output with 'ffmpeg -i inputfile.derp' ?
[22:54] <llogan> i assumed autoconf would have been included with build-essential
[22:57] <JEEB> llogan, yeah -- seemingly it isn't thought to be an essential tool :D
[22:58] <DelphiWorld> JEEB or llogan ?
[22:58] <DelphiWorld> how now do i convert to iSuck ?
[22:58] <JEEB> <JEEB> which device do you have?
[22:58] <DelphiWorld> JEEB: iPhone4S
[22:58] <JEEB> k
[22:59] <JEEB> ffmpeg -i input.djurpan -c:v libx264 -crf 23 -level 40 -c:a libfaac -b:a 192k out.mp4
[23:00] <llogan> guide now uses fdk-aac git.
[23:00] <JEEB> great
[23:01] <llogan> note that autoconf and libtool are new deps for anyone wanting to try it
[23:03] <llogan> lol. i forgot --enable-libfdk-aac for several weeks.
[23:04] <JEEB> lol
[23:04] <llogan> i am not qualified for this anymore.
[23:05] <DelphiWorld> JEEB, updating FFmpeg to latest git
[23:13] <DelphiWorld> JEEB: if i fail i'lle ping you;)
[23:27] <DelphiWorld> JEEB:
[23:28] <DelphiWorld> ffmpeg -i blah -c:v libx264 -crf 23 -level 40 -c:a mp3 -b:a 128k out.mi amp4
[23:28] <DelphiWorld> d
[23:28] <DelphiWorld> ffmpeg -i blah -c:v libx264 -crf 23 -level 40 -c:a mp3 -b:a 128k out.mi amp4
[23:28] <DelphiWorld> i replaced aac with mp3
[23:28] <JEEB> are you sure your plastic thingy like that? Also there is no mp3 encoder in ffmpeg, you have to use LAME for that
[23:29] <JEEB> you said you had libfaac so I wrote that down, and I know your plastic toy likes AAC audio
[23:29] <DelphiWorld> JEEB: i using lam
[23:29] <DelphiWorld> my aac was broken after update
[23:29] <DelphiWorld> i'lle fix it
[23:30] <JEEB> you should also fix your typing, that would be really nice
[23:30] <JEEB> also I'm pretty sure your plastic toy won't like mp3 audio
[23:30] <DelphiWorld> JEEB: sory, a blindness won let me fix that, bro
[23:30] <DelphiWorld> JEEB: i am blind using text to speech so i rely on tts for spelling and much
[23:30] <DelphiWorld> no, mp3 is supported
[23:30] <JEEB> with video?
[23:30] <DelphiWorld> yes
[23:30] <JEEB> I know it can play mp3 audio
[23:31] <JEEB> ok
[23:31] <JEEB> have fun then
[23:31] <DelphiWorld> JEEB: ;)
[23:32] <JEEB> also I hope after the audio bitrate setting you have a single output file name ending with dot mp4, and not a space and other stuff there
[23:33] <DelphiWorld> JEEB, i see it out.mp4
[23:33] <DelphiWorld> hello bgmarete
[23:33] <t4nk918> Hi
[23:34] <bgmarete> DelphiWorld: Hello.
[23:34] <DelphiWorld> bgmarete: kenya ?
[23:34] <bgmarete> Yes :)
[23:34] <DelphiWorld> bgmarete: how is nairobi doing ?
[23:34] <DelphiWorld> the gsm testing country!
[23:34] <t4nk918> How can I stamp str subtitles in video (permanent subtitles)? Thanks
[23:34] <bgmarete> All is well here! Have you been here?
[23:35] <DelphiWorld> bgmarete: i wish!
[23:35] <DelphiWorld> bgmarete: i'm from algeria
[23:35] <DelphiWorld> anyone good in scripting ?
[23:36] <bgmarete> Ah, I see! How is it going there? Make sure to visit here sometime! You are most welcome :)
[23:37] <DelphiWorld> bgmarete: thank you, my wish is to visit my continan:(
[23:37] <DelphiWorld> bgmarete: warm, hot hot hot ;)
[23:37] <t4nk918> How can I stamp srt subtitles in video (permanent subtitles)? Thanks
[23:38] <bgmarete> Just rained here. I hope to visit more of the continent sometime too!
[23:38] <DelphiWorld> bgmarete, did you visit any other country ?
[23:38] Action: bgmarete is away: I'm busy
[23:38] <bgmarete> Only Uganda and Tanzania, our neighbours!
[23:38] Action: bgmarete is away: I'm busy
[23:39] <DelphiWorld> bgmarete: DUDE, good; i wish to visit tanzania!
[23:39] Action: bgmarete is back (gone 00:00:08)
[23:39] <DelphiWorld> there country name is so strange, islam related and in ARABIC!
[23:39] <DelphiWorld> capital, sory
[23:39] <JEEB> bgmarete, I recommend you turn that away/back thingy off because it's currently spamming quite a few channels
[23:39] <DelphiWorld> JEEB: can you stop stealing from my mouth? :-P
[23:39] <JEEB> I'm surprised you didn't just get /kb'd from a few places
[23:40] <DelphiWorld> haha
[23:40] <DelphiWorld> it's so slow...
[23:41] <bgmarete> JEEB: Apologies. Won't be repeated. Will read the manual before better before I try that next time. (I am usually quite well behaved :) )
[23:42] <DelphiWorld> what's your field bgmarete ?
[23:43] <bgmarete> DelphiWorld: All manner of System Software Engineering. You?
[23:43] <DelphiWorld> bgmarete: awesome; i do network enginiring
[23:44] <bgmarete> Cool.
[23:44] <DelphiWorld> bgmarete: you develope?
[23:45] <bgmarete> Yes, indeed. And my company uses FFmpeg as well as other free media libraries quite a bit to create some products. So, I am always around here.
[23:45] <DelphiWorld> bgmarete: awesome! what language you do?
[23:45] Action: DelphiWorld is *curious*
[23:47] <bgmarete> Lots of C. Some C++ when I can't avoid it. Python quite a bit. And now an increasing amount of Go where we used to use Python (for new projects)
[23:48] <DelphiWorld> bgmarete, very good;)
[23:50] <bgmarete> DelphiWorld: You?
[23:50] <DelphiWorld> bgmarete: check my name, so you'lle know ;)
[23:50] <DelphiWorld> but, not anymore, ido VoIp / telephonie/Routing/Switching now
[23:52] <bgmarete> Ah, yes of course :) I do a lot of Asterisk for work at my company. Do you use it?
[23:53] <DelphiWorld> bgmarete: :)
[23:53] <t4nk918> Hi... someone use video filter "ass" for subtitles?
[23:54] <DelphiWorld> t4nk918: if someone, he should answer you ;-)
[23:54] <cbsrobot> t4nk918: just ask your question...
[23:55] <t4nk918> ok
[23:55] <t4nk918> How can I harcoded subtitles over video with ass or srt format?
[23:56] <cbsrobot> ass
[23:56] <cbsrobot> but you can convert from srt to ass
[23:56] <cbsrobot> ffmpeg -i f.srt f.ass
[23:58] <t4nk918> yes
[23:58] <t4nk918> First I convert from srt to ass
[23:58] <t4nk918> but when I try stamp ass subtitles dont work
[00:00] --- Mon Aug 27 2012


More information about the Ffmpeg-devel-irc mailing list