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

burek burek021 at gmail.com
Thu Feb 28 02:05:02 CET 2013


[00:00] <bunniefoofoo> Joda, the USB drive doesn't have the write caching checkbox (as the hard drives do), only has "optimize for performance" which has no effect
[00:06] <JodaZ> doesn't the write cachign checkbox come avaiable if you uncheck the optimize for fast removal checkbox ?
[00:06] <bunniefoofoo> nope
[00:07] <JodaZ> hmn :/
[00:09] <bunniefoofoo> I am looking to patch ffmpeg now, or see if there is a flag somewhere. But I don't see an fopen() calls anywhere?
[00:10] <JodaZ> just upping write buffer might not be enough, small individual writes might still hurt you
[00:11] <bunniefoofoo> I shall soon find out, patching file_open in libavformat
[00:19] <evil_core> hi all
[00:20] <evil_core> How to compare two movies in quickest way. I got some "dupes", but one have correct audio, and another rip got better video
[00:20] <evil_core> I want to know if after joining audio and video from other will not cause off-sync audio
[00:22] <evil_core> dumping random frames (long from beginning) takes much time, and usually they are looking as identical
[00:35] <bunniefoofoo> joda, seems to be slow because ffmpeg is constantly flushing its output buffer
[00:37] <JodaZ> how do you know ?
[00:37] <bunniefoofoo> I put a trace on aviobuff flush_buffer(), alternates between 200, 24K and 32K writes
[00:38] <JodaZ> nop it ^^
[00:42] <bunniefoofoo> noop fail, nothing written ;-)
[00:42] <Catoptromancy> moo
[00:44] <Catoptromancy> i have an ogg, if I remaster it and export it as another ogg, does it loose quality?
[00:45] <Catoptromancy> or if I save the remaster as a flac will it lose quality?
[00:45] <Grublet> There is always a loss, the question is will you notice?
[00:45] <Catoptromancy> the recording is bad enough already
[00:45] <Catoptromancy> heh
[00:45] <Grublet> If you save as a lossless format there won't be any further loss
[00:46] <Catoptromancy> remastered ogg to flac will cause no additional loss
[00:46] <Catoptromancy> hope its not a huge file
[00:46] <Catoptromancy> 4 hours long
[00:46] <Grublet> It will be much larger than the original ogg
[00:47] <Catoptromancy> I will find out soon
[00:47] <Catoptromancy> heh
[00:55] <bunniefoofoo> joda, I increased IO_BUFFER_SIZE to 256k, and made flush_buffer() only write if it is a full buffer... speed is great now
[03:31] <praveenmarkandu> hi, is HLS4 supported in ffmpeg
[04:37] <Catoptromancy> im going to assume that saving a recording as flac, and then editing it later and resaving wont remove any quality?
[04:38] <Catoptromancy> flac, edit, another flac
[04:38] <Grublet> nope
[04:38] <Grublet> no loss
[04:38] <Catoptromancy> awesome
[04:38] <Catoptromancy> i dont know how I just discoverd flac heh
[04:38] <Catoptromancy> I knew of it but never used it
[04:39] <Catoptromancy> already replaced my massive wav files
[09:43] <mpfundstein> hello, after converting a mpeg2video(elementary stream) to h264(mp4 container), SOMETIMES the output files are corrupt even though the transcoder doesn't throw an error. When ffprobe'ing the output file, i encouter the following error: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xa6f1fe0] moov atom not found. ffmpeg version N-48645-gf3c9d8d
[09:47] <mpfundstein> fflogger: http://pastebin.com/cj5Wf0Ua
[09:47] <mpfundstein> the command is pretty basic
[09:51] <relaxed> "WARNING: library configuration mismatch" can't be good
[09:54] <relaxed> medium is the default preset for libx264
[09:54] <relaxed> ffmpeg now takes -preset, instead of -vpre
[09:56] <mpfundstein> relaxed: the config mismatch is because of --enable-static / --enable-shared
[09:56] <relaxed> I would say, remove that build and make sure you uninstall the libs as well. Compile latest git and try again. Drop --enable-libfaac, since libfdk_aac is much better.
[09:56] <relaxed> ok
[09:57] <mpfundstein> relaxed: the weird thing is that 99% of the encoding works perfect
[09:57] <mpfundstein> it just happens SOMETIMES
[09:57] <mpfundstein> can it be because all videos are on a different NAS ?
[09:57] <mpfundstein> they get uploaded and soon after upload i post a job to my transcoder queue. they pick it up with high prio, so MAYBE the transcoder doesnt hav full file information yet
[09:58] <relaxed> could be, if the encode is in interrupted then the moov atom (index) won't be written.
[09:58] <relaxed> -in
[09:58] <relaxed> encode to a local disk and then move to the NAS
[09:59] <mpfundstein> yeah ill probaly cp the file first
[09:59] <relaxed> also, use libfdk_aac
[10:00] <mpfundstein> i use
[10:00] <relaxed> -c:a libfdk_aac
[10:00] <mpfundstein> ah ok for the review not
[10:00] <mpfundstein> but that doesnt matter
[10:00] <mpfundstein> for the REAL videos i use libfdk_aac
[10:00] <relaxed> ok
[10:07] <relaxed> mpfundstein: do you test for a zero exit status?
[10:10] <mpfundstein> yes of course
[10:10] <mpfundstein> :-)
[11:28] <DetachedScreen> how can add wmv support to wmv in configure time?
[11:28] <DetachedScreen> wmv support to ffmpeg*
[11:28] <Trashlord> get a lib that enables wmv support
[11:29] <Trashlord> and include it in ./configure
[11:29] <Trashlord> with --enable-libname
[11:29] <DetachedScreen> do you know the libname?
[11:30] <Trashlord> no
[11:30] <Trashlord> but try wmv2
[11:30] <Trashlord> try to use that as the video codec
[11:31] <DetachedScreen> when i use it it say your ffmpeg has no wmv support
[11:31] <Trashlord> try --enable-wmv2 on ./configure
[11:31] <Trashlord> see if it works
[11:32] <DetachedScreen> Unknown option "--enable-wmv2"
[11:32] <Trashlord> then I don't know
[11:32] <DetachedScreen> thanks anyway
[11:33] <Trashlord> why do you want wmv anyway?
[11:33] <Trashlord> and try ffmpeg -i <file> <file.wmv>
[11:33] <Trashlord> see if that works
[11:34] <DetachedScreen> for my windows mpbile powered Pocket PC
[11:35] <Trashlord> ok
[11:35] <Trashlord> then just do like
[11:36] <Trashlord> ffmpeg -i <file> -vcodec libx264 -acodec vorbis outputfile.wmv
[11:36] <Trashlord> try that
[11:36] <Trashlord> and see if it plays
[11:36] <Trashlord> if vorbis doesn't work, try libaac
[11:37] <Trashlord> if it says vorbis unknown codec, try libvorbis
[11:37] <Trashlord> I'll bbs
[11:39] <DetachedScreen> strangly it is encoding
[11:39] <Trashlord> ok
[11:39] <Trashlord> then try to play it on your device
[11:39] <DetachedScreen> it takes time , i ll see
[11:41] <relaxed> DetachedScreen: wmv is enabled by default.
[11:42] <DetachedScreen> relaxed: in ffmpeg -formats it is not there
[11:42] <relaxed> DetachedScreen: ffmpeg -i input -c:v wmv2 -q:v 3 -c:a wmav2 -b:a 128k -f asf output.wmv
[11:43] <relaxed> ffmpeg -codecs | grep wm
[11:43] <DetachedScreen> yess in codecs it is there
[11:43] <relaxed> asf is the format
[11:43] <DetachedScreen> ah
[11:44] <relaxed> which is want *.wmv files are
[11:44] <DetachedScreen> thanks
[11:45] <Trashlord> yeah, thanks for that
[11:45] <Trashlord> in the odd chance that I'll ever want to use wmv, now I know how to do it
[11:46] <relaxed> you're welcome
[11:56] <Yulth> Hi everyone!
[11:56] <Yulth> In this line: video:0kB audio:27128kB subtitle:0 global headers:0kB muxing overhead 1.176652%, What exactly means 'muxing overhead'?
[11:58] <JEEB> overhead by the container used
[11:58] <sacarasc> When a stream is put into a container, the container needs to have some data itself. That is the data.
[12:00] <Yulth> and these data needs 1'17 % of the file's size?
[12:00] <JEEB> in this case, yes
[12:00] <Yulth> I understand
[12:01] <Yulth> is there any way to minimize this amount of data needed?
[12:01] <JEEB> generally no
[12:02] <JEEB> I mean you could compare between various containers, but in general the benefit of that will be rather miniscule
[12:02] <JEEB> also it does depend on how big data you're putting there, and what kind of data
[12:02] <JEEB> and so forth and so forth
[12:02] <Yulth> ok, I note
[12:08] <relaxed> Yulth: if you need a specific size use 2 pass encoding.
[12:18] <Yulth> relaxed: very interesting! Could you give me some info please?
[12:28] <relaxed> Yulth: https://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
[12:28] <relaxed> ^^ there's a section on it
[12:29] <Yulth> ok, I need only encode to HE-AAC. Is on there this info?
[12:30] <relaxed> Hmm, I don't think audio supports random bitrates.
[12:31] <JEEB> set -b:a ?
[12:31] <JEEB> relaxed, you should go take some coffee
[12:31] <relaxed> well, it depends on the codec, does it not?
[12:31] <JEEB> also this person was asking about muxing overhead and if he could minimize it
[12:32] <JEEB> naturally
[12:32] <JEEB> some formats are more limited, others aren't
[12:53] <relaxed> does muxing overhead not correlate with size?
[12:54] <JEEB> yes, in general the bigger bit rate you use, the less the overhead will be
[12:54] <JEEB> but of course that depends on the container
[13:10] <burek> test
[13:11] <durandal_1707> SEGV
[13:13] Action: Keshl flashes capslock, numlock and scrolllock on and off.
[14:20] <code-guru> hi
[14:20] <code-guru> how can initialize AVDictionary struct ?
[14:20] <code-guru> except av_dict_set
[15:42] <devios> hey all - using ffmpeg -ss (time) -an -vframes 1 to create a screenshot of an AVC (v_mpeg4/iso/avc) video in an MKV (v2) container, and the screenshot looks awful (it's all grey) - I know the video is OK - what would cause that?
[15:46] <ubitux> code-guru: why would you want to do that?
[15:57] <hughmanwho> Any in here have any development experience? I'm having trouble streaming H264 from RTSP.  Here is a pastebin with my code: http://pastebin.com/mMSdFCAM
[16:21] <hughmanwho> The pastebin is a little long let me know if you want me to further explain what's going wrong.. basically it tells me it's working but the frames it's outputting are garbage.
[17:00] <Doxin> doing ffmpeg -i blag.mp3 -acodec mp3 -ab 16k oblah.mp3 gives me an error: "Unknown encoder 'mp3'", what do I do to get this to work?
[17:02] <Trashlord> try aac
[17:02] <Trashlord> libaac
[17:02] <Trashlord> or use lame
[17:03] <Trashlord> also, 16k? why so low?
[17:04] <Trashlord> hm, try libmp3lame
[17:04] <divVerent> if he WANTS mp3... isn't the acodec libmp3lame?
[17:04] <divVerent> but 16k is REALLY very low
[17:04] <Doxin> yesyes
[17:04] <Doxin> I know
[17:04] <divVerent> mp3 below 128k is aural suicide... at 128k it's aural torture, I wouldn't use below 192k for stereo.
[17:05] <Doxin> still not working
[17:05] <Doxin> libmp3lame is unknown
[17:05] <divVerent> you need to compile ffmpeg with it enabled
[17:05] <Doxin> aac won't work because it's experimental
[17:05] <divVerent> --enable-libmp3lame is the compile option
[17:05] <divVerent> aac can be enabled by -strict -2, but I advise against it
[17:05] <divVerent> the builtin aac encoder is actually worse than mp3 in quality
[17:05] <divVerent> (worse than libmp3lame, that is)
[17:05] <Doxin> no matter, because it still won't work.
[17:06] <divVerent> what is the error?
[17:06] <Trashlord> I use libfdk_aac
[17:06] <divVerent> yes
[17:06] <divVerent> if you want aac, compile with libfdk_aac and use it
[17:07] <Doxin> aac seems to be in there, but it keeps complaining about it being experimental
[17:07] <Doxin> anyways, nvm, I'll dick around on my own some more.
[17:07] <Doxin> thanks a bunch
[17:07] <divVerent> -strict -2 turns off the experimental complaint
[17:08] <divVerent> but the real solution is to recompile ffmpeg with a good set of codec libraries
[17:46] <hughmanwho> I have a program that in theory says it is successfully pulling in H264 via RTSP and saving it as YUV frames but is actually outputting garbage.  Any thoughts on what to check?  Here is a pastebin of program if wanted: http://pastebin.com/mMSdFCAM
[18:00] <Olive6767> Hi All :-)
[18:03] <Olive6767> I'm using "-c:s mov_text" to add .srt soft subtitles to an mp4 video. Subs are added fine, however the video become lagguy when trying to fastforward... this seems to be the case whatever vid and subs I'm using. I suspect this is related to framerate although I'm not sure, and don't know anyway how I could fix it. Thus, any help is appreciated.
[18:04] <Olive6767> lagguy = laggy
[19:04] <kollapse> Hi. I have a video file at 59.94 frames per second that I am trying to play on a Smart TV, but the TV recognizes it as being 59 fps and fails due to "incompatible mode". Is there any way to encode the file so it has 60 fps sharp so the TV can't complain any longer ?
[19:12] <iive> the framerate is probably the least problem to the tv. most likely the file uses too high profile/level.
[19:13] <kollapse> iive, 1080/60p AVCHD 2.0 with "Video: h264 (High) (HDPR / 0x52504448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 59.96 fps, 59.94 tbr, 90k tbn, 119.88 tbc"
[19:45] <tg2> If i'm converting into 4 output formats from the same input, what is the best way to do 1 pass on the first then multiple second passes for each format in a way that wont be doing too much duplicate work.
[19:46] <tg2> basically i just want to generate the mbtree the first time, then use that for each of the 4 second passes (different sizes and bitrates)
[19:59] <cryptopsy> how do i find out if an encoder has multithreading capabilities ?
[19:59] <cryptopsy> interested in .avi
[20:16] <llogan> cryptopsy: avi is a(n outdated) container that can utilize a multitude of media formats produced by several encoders
[20:16] <cryptopsy> avi encoder
[20:16] <llogan> there is no avi encoder
[20:17] <cryptopsy> mp3->avi
[20:17] <llogan> ffmpeg -i audio.mp3 -c copy output.avi
[20:17] <cryptopsy> what encoder is used?.
[20:18] <Fjorgynn> lol?
[20:18] <llogan> re-encoding is not used when stream copying
[20:18] <llogan> as in my example
[20:18] <cryptopsy> then why is taking like 30 minutes per 5 minutes of track?
[20:18] <cryptopsy> pb what
[20:19] <llogan> please use a pastebin site (like www.pastie.org or www.pastebin.com) to show your ffmpeg command and the complete console output
[20:19] <tg2> @cryptopsy
[20:20] <tg2> avi is a container
[20:20] <tg2> you can put many things in it
[20:20] <tg2> mp3 for audio, mpeg2 for video
[20:20] <tg2> etc
[20:20] <tg2> instead of reencoding the mp3 (whic is what you are doing), you should just take the mp3 and stuff it in an avi container
[20:20] <cryptopsy> http://ompldr.org/vaGx3ag/lol
[20:20] <tg2> whichi s the command that llogan put
[20:20] <tg2> paste the entire command
[20:20] <tg2> not just ffmpeg output
[20:21] <cryptopsy> i'm using -acodec copy
[20:21] <cryptopsy>  $FFMPEG -threads 4 -loop_input -i $1 -i $2 -acodec copy -y -t $TIME $3
[20:21] <cryptopsy> $1 is an image, $2 is mp3, $3 is out file
[20:21] <tg2> -acodec copy
[20:21] <tg2> = its just copying the stream
[20:21] <tg2> so there is no 'reencoding" happening
[20:21] <tg2> 12 fps
[20:22] <tg2> lol
[20:22] <llogan> you are using the video encoder named "mpeg4" in this instance
[20:22] <cryptopsy> how many fps do you need to look at a looping image?
[20:22] <cryptopsy> llogan: aka the default
[20:22] <tg2> you want a static image while the mp3 plays?
[20:22] <llogan> and you're applying threads to the input (the decoder)
[20:22] <Fjorgynn> 1?
[20:22] <tg2> -threads 4 has to be after -i
[20:22] <tg2> but thats nto the issue
[20:23] <cryptopsy> mpeg4 encoder don't support multithread?
[20:24] <tg2> what kind of computer are you runnin git on?
[20:24] <tg2> $FFMPEG -threads 4 -loop_input -i $1 -i $2 -acodec copy -y -t $TIME $3
[20:24] <tg2> should be
[20:25] <cryptopsy> modern shitbox
[20:25] <tg2> $FFMPEG -loop_input -i $1 -threads 4 -i $2 -acodec copy -y -t $TIME $3
[20:25] <tg2> if it doesn't have multiple cores
[20:25] <cryptopsy> 14:37:05 < cryptopsy> mpeg4 encoder don't support multithread?
[20:26] <tg2> yes it does
[20:26] <RSD> While compiling I have the following error:
[20:26] <RSD> libavcodec/libavcodec.a(utils.o): In function `recode_subtitle':
[20:26] <RSD> /usr/local/src/ffmpeg/ffmpeg/libavcodec/utils.c:1902: undefined reference to `libiconv_open'
[20:26] <RSD> /usr/local/src/ffmpeg/ffmpeg/libavcodec/utils.c:1941: undefined reference to `libiconv_close'
[20:26] <RSD> /usr/local/src/ffmpeg/ffmpeg/libavcodec/utils.c:1927: undefined reference to `libiconv'
[20:26] <RSD> /usr/local/src/ffmpeg/ffmpeg/libavcodec/utils.c:1928: undefined reference to `libiconv'
[20:26] <RSD> what can I do?
[20:26] <tg2> but you're putting -threads before -i
[20:26] <cryptopsy> use a pastebin ^
[20:26] <tg2> has to be after -i
[20:26] <Guest4965> it is on centos 6.3
[20:26] <cryptopsy> tg2: where after -i ?
[20:26] <Mavrik> Guest4965, you're not linking libiconv to your binary
[20:26] <tg2> $FFMPEG -loop_input -i $1 -threads 4 -i $2 -acodec copy -y -t $TIME $3
[20:27] <cryptopsy> tg2: the first i is an image
[20:27] <tg2> yes but that is also what is being "encoded"
[20:27] <tg2> since you're telling it make a video with this image over and over
[20:27] <tg2> its still encoding it
[20:27] <cryptopsy> then i can place it after the second i too
[20:27] <Guest4965> Ok thanks
[20:27] <tg2>  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 600x849 [SAR 1:1 DAR 200:283], q=2-31, 200 kb/s, 25 tbn, 25 tbc
[20:27] <tg2> no
[20:28] <tg2> audio is just copy
[20:28] <tg2> there is no threading on copy
[20:28] <tg2> there doesn't need
[20:28] <RSDRSDRSD> While compiling I have the following errors
[20:28] <RSDRSDRSD> http://pastebin.com/tXQGrDX9
[20:28] <llogan> cryptopsy: refer to "ffmpeg -encoders". it tells you if an encoder supports multithreading (and if it is frame/slice multithreading)
[20:28] <RSDRSDRSD> I am following the centoscompilationguide
[20:28] <tg2> FMP4 is threaded though I think
[20:28] <cryptopsy> llogan: tn
[20:28] <cryptopsy> x
[20:29] <RSDRSDRSD> tg2 what means !pb ?
[20:29] <tg2> says -loop_input is depreciated, and to use -loop 1
[20:29] <cryptopsy> still not using more than 1 core
[20:29] <cryptopsy> tg2: ^
[20:29] <tg2> set
[20:29] <tg2> -threads 0
[20:29] <tg2> try that maybe
[20:30] <tg2> do you ahve more than 1 cpu in that machine?
[20:30] <cryptopsy> no
[20:30] <tg2> or a dual core at least?
[20:30] <cryptopsy> i have 4 cores
[20:30] <tg2> ok
[20:30] <burek> is there anyone here who managed to use ffmpeg for real-time voice streaming (like voice chat)
[20:30] <llogan> RSDRSDRSD: that (!pb) is a shortcut to tell the #ffmpeg channel bot, fflogger, to tell you to "use a pastebin site (like www.pastie.org or www.pastebin.com) to show your ffmpeg command and the complete console output"
[20:30] <RSDRSDRSD> oh ok thanks
[20:30] <cryptopsy> tg2: nop
[20:30] <RSDRSDRSD> sorry for that
[20:30] <tg2> you can try using codec  libxvid
[20:31] <llogan> RSDRSDRSD: did you deviate from the guide at all?
[20:31] <tg2> Multi-threading works fine here for the native FFmpeg MPEG-4 ASP encoder
[20:31] <Fjorgynn> Jobba!
[20:32] <tg2> try using -vcodec mpeg4
[20:32] <RSDRSDRSD> No I followed the guide
[20:32] <tg2> then -threads 4 after that
[20:32] <cryptopsy> what's the full command?
[20:32] <cryptopsy> i gotta know where the i's go
[20:32] <RSDRSDRSD> only the checkinstall wasn working for centos 6.3
[20:32] <RSDRSDRSD> so I did a make install
[20:32] <RSDRSDRSD> for the aac encoder
[20:33] <tg2> $FFMPEG -loop 1 -i $1 -i $2 -vcodec mpeg4 -threads 4 -acodec copy -y -t $TIME $3
[20:33] <tg2> try it
[20:33] <tg2> and see if it works
[20:33] <llogan> someone added that checkinstall section without trying it apparently. and that guide will eventually be converted to a non-system install
[20:33] <RSDRSDRSD> what does that mean?
[20:34] <RSDRSDRSD> instead of checkinstall I did a make install
[20:34] <RSDRSDRSD> and it gave me no errors
[20:34] <llogan> that's fine
[20:34] <cryptopsy> tg2: nope
[20:35] <RSDRSDRSD> but now ffmpeg is complaining about libiconv
[20:35] <tg2> on what operating system crypto
[20:35] <cryptopsy> shittux
[20:35] <tg2> $FFMPEG -loop 1 -i $1 -i $2 -vcodec mpeg4 -qscale 2 -threads 4 -acodec copy -y -t $TIME $3
[20:35] <tg2> which version
[20:35] <cryptopsy> what do you mean which version
[20:35] <Fjorgynn> Hej
[20:35] <tg2> distro
[20:35] <cryptopsy> version GNU
[20:35] <tg2> vanilla?
[20:35] <cryptopsy> i don't understand
[20:36] <cryptopsy> you mean ffmpeg version?
[20:36] <tg2> no i mean on which operating system was it compiled
[20:36] <RSDRSDRSD> This is my new pastebin with compile command for ffmpeg
[20:36] <RSDRSDRSD> http://pastebin.com/QE2nCCuQ
[20:36] <cryptopsy> tg2: linux
[20:36] <tg2> if its compiled from source
[20:37] <tg2> on vanilla linux
[20:37] <tg2> assumin gyou used the right compiler
[20:37] <tg2> it should work with threading in avi
[20:37] <tg2> with mpeg4 encoder
[20:37] <cryptopsy> since which version is this supported?
[20:37] <tg2> reading docs from 2011 and its in there
[20:37] <tg2> so at least 2 years
[20:37] <cryptopsy> ill check later, i gotta write an exam in like 5mins
[20:38] <tg2> :|
[20:38] <tg2> noobs
[20:38] <tg2> anywa
[20:38] <RSDRSDRSD> no one has a clue
[20:39] <llogan> RSDRSDRSD: be patient
[20:39] <RSDRSDRSD> ok ;-)
[20:39] <tg2> damn google already indexed that pastbin
[20:39] <tg2> LOL
[20:39] <tg2> i searched for the error and result 4 was that pastbin from 4 minutes ago
[20:39] <tg2> :|
[20:39] <tg2> gooogle u scary
[20:40] <RSDRSDRSD> hehe that[ indeed really scary
[20:40] <tg2> http://i.imgur.com/x220sRF.png
[20:41] <RSDRSDRSD> yes, by me it is on the first place
[20:41] <tg2> heh
[20:43] <ubitux> RSDRSDRSD: are you on mac os?
[20:43] <RSDRSDRSD> nope
[20:43] <ubitux> what os?
[20:44] <RSDRSDRSD> CentOS
[20:44] <RSDRSDRSD> 6.3
[20:44] <ubitux> can you test something for me?
[20:44] <RSDRSDRSD> yes
[20:44] <ubitux> open the configure script with your editor
[20:44] <ubitux> look for "check_func  iconv || check_lib2 iconv.h iconv -liconv"
[20:44] <ubitux> and replace it with "check_func  iconv"
[20:44] <ubitux> run the configure again, and try to build
[20:46] <RSDRSDRSD> it is running
[20:46] <RSDRSDRSD> still the same error
[20:47] <ubitux> mmh.
[20:47] <ubitux> can you paste your config.log somewhere?
[20:49] <ubitux> it looks like the iconv availability check will need some more advanced check..
[20:49] <llogan> bah, whoever added fdk-aac to the centos guide didn't even test it
[20:50] <durandal_1707> what happens?
[20:50] <RSDRSDRSD> http://pastebin.com/X4dSk4zg
[20:51] <RSDRSDRSD> a while ago I used that guide zo I thought it would work, but now it is broken unfortunately
[20:52] <ubitux> i'm likely the one responsible from that breakage
[20:52] <ubitux> sorry about that, i'm looking into fixing it
[20:52] <RSDRSDRSD> iconv is installed on my system
[20:52] <RSDRSDRSD> iconv: /usr/bin/iconv /usr/local/bin/iconv /usr/include/iconv.h
[20:52] <ubitux> -check_func  iconv || check_lib2 iconv.h iconv -liconv
[20:52] <ubitux> +check_func_headers iconv.h iconv || check_lib2 iconv.h iconv -liconv
[20:52] <ubitux> can you try this?
[20:53] <durandal_1707> the iconv was added recently and that is causing breakage for you
[20:56] <RSDRSDRSD> looks like it is working now
[20:56] <ubitux> RSDRSDRSD: can you grep ICONV config.h
[20:56] <ubitux> ?
[20:57] <RSDRSDRSD> #define HAVE_ICONV 1
[20:57] <ubitux> and it links fine now?
[20:57] <RSDRSDRSD> how do you mean?
[20:58] <RSDRSDRSD> I can make and make install now
[20:58] <RSDRSDRSD> yes
[20:58] <RSDRSDRSD> configuration: --enable-gpl --enable-libfdk_aac --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libtheora --enable-nonfree --enable-gpl --enable-version3
[20:58] <beastd> ubitux: hmm, how it comes it says "libiconv_open". i thought that functions were prefixed with iconv_
[20:58] <ubitux> ok great, thx for your testing
[20:59] <RSDRSDRSD> is this going to be added in git or do I have to write up the changes?
[20:59] <ubitux> RSDRSDRSD: i'll push soon
[20:59] <ubitux> give me a few minutes
[20:59] <RSDRSDRSD> ok didn know that was possible ;-)
[21:00] <ubitux> beastd: no idea, maybe some conflicts between the two
[21:03] <ubitux> RSDRSDRSD: pushed
[21:03] <RSDRSDRSD> ok great ;-) many thnx
[21:03] <ubitux> thx for the testing
[21:03] <RSDRSDRSD> that guide also misses the libtool
[21:03] <ubitux> libtool is not required to build ffmpeg
[21:04] <RSDRSDRSD> no not for ffmpeg, but for some codec
[21:04] <RSDRSDRSD> on that guide
[21:06] <RSDRSDRSD> I had to install libtool for fdk-aac
[21:08] <RSDRSDRSD> have to go bye bye and many thanls
[21:24] <qbasicer> Hey all, I seem to be having troubles with getting ffmpeg to put together a directory of still images.  It seems to get to frame 730 regardless of codec and say input/output error.  Here's the command line and output: http://pastebin.com/E9grQphW
[21:24] <qbasicer> Can somebody give me a quick hand with this?  There seems to be lots of disk free (40G)
[21:25] <qbasicer> I tried deleting the pictures around the 730 mark (all 700-799), but it failed too
[21:25] <qbasicer> I tried -v debug but was unable to see anything that could help me.  If somebody thinks that'd be useful, I can pastebin that too.
[21:25] <burek> qbasicer
[21:26] <burek> your image sequence needs to be continous
[21:26] <qbasicer> It is, img0001.jpg to img1124.jpg
[21:26] <burek> no missing images, for example this wont work: img1234.jpg, img1235.jpg, img1237.jpg, img1238.jpg
[21:26] <qbasicer> Ohhh I see what you mean
[21:26] <burek> if you delete an image, you need to renumerate them
[21:27] <burek> or
[21:27] <burek> you could use cat *.jpg | ffmpeg -f image2 -i - ....
[21:27] <burek> but, that won't have any order
[21:27] <burek> wait, let me find you an example
[21:28] <burek> there: http://ffmpeg.org/trac/ffmpeg/wiki/Create%20a%20video%20slideshow%20from%20images
[21:28] <qbasicer> I was following a modified script from http://www.ffmpeg.org/faq.html#How-do-I-encode-single-pictures-into-movies_003f, the one where they do the symlinks
[21:29] <burek> oh
[21:29] <burek> that creates a bunch of /tmp symlinks...
[21:30] <burek> but ok, if it works, then ok
[21:30] <burek> but i would rather go for something like: ls (sorting options) | cat | ffmpeg ...
[21:31] <qbasicer> Sort of complicating it, I really only want every 10th image, which I guess I could do in a bash loop and pipe through it
[21:37] <qbasicer> burek: Thanks for the tips! I think I got it working
[21:38] <burek> :beer: :)
[21:41] Action: qbasicer passes over 0.1 BTC :)
[21:54] <Aaronds> Hi I'm converting wmv files for use as html5 video... I converted one video and it works fine, but the second video "Fails to decode". It plays fine on my desktop but not on the web... Anyone know what may be the problem? http://pastebin.com/wPcfkxnH
[22:12] <burek> brb
[22:14] <Aaronds> oh burek I'll add the console output hold on
[22:17] <msmithng> is there anyway for me to tell ffprobe to skip stream 0, in the event of input that has no audio?
[22:17] <msmithng> it's trying to get it
[22:17] <msmithng> [mpegts @ 0x102009800] Could not find codec parameters for stream 0 (Unknown: none ([21][0][0][0] / 0x0015)): unknown codec
[22:17] <msmithng> and suggests that I increase analyzedduration
[22:17] <msmithng> but obviously that's not going to work
[22:27] <svchost-> Hi. If I merge different MP4 movies (with different frame rate and data speed), might quality be lost? Are framerates etc. averaged (so frames might be interpolated from more frames) in output mp4?
[23:28] <hughmanwho> I spent all day trying to figure out why my program wasn't working... it was,  turns out the image viewer I was opening the file from wasn't I screwed with some settings!
[23:46] <bunniefoofoo>  is there a way to get ffmpeg to use buffered I/O on the output side... it seems there is little to no buffering at all
[23:47] <bunniefoofoo> in particular, avio_flush() is called frequently
[23:51] <bunniefoofoo> the issue presents itself when writing to an unbuffered medium like flash memory drive which typically do not have any write buffering due to data corruption concerns
[23:51] <bunniefoofoo> of course I am referring to USB flash drives (thumb drives) and not SSD
[00:00] --- Thu Feb 28 2013


More information about the Ffmpeg-devel-irc mailing list