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

burek burek021 at gmail.com
Tue Nov 18 02:05:02 CET 2014


[00:10] <brainopia> JEEB: thx for advice with bufsize
[00:11] <brainopia> it really helped!
[00:11] <JEEB> no problem
[00:12] <JEEB> also don't use minrate, that one you shouldn't touch ;)
[00:12] <JEEB> just maxrate and bufsize
[00:12] <JEEB> that lets the encoder use rate control as well as possible within your limitations
[00:12] <JEEB> (plus of course the rate control mode, which in your case would be CRF I guess)
[00:31] <Chocola4> brainopia it's possible to force specific moov size but that may not end well
[00:33] <Chocola4> I would probably interleave with mp4box, it spreads the moov over a specified amount of time making it possible to download all of it to start the playback. Usually about 55-60% of total
[00:33] <Chocola4> to not download**
[00:35] <Fusl> does someone know how i can enable ffplay when compiling ffmpeg?
[00:36] <Fusl> i tried with --enable-ffplay but there is nothing being installed called "ffplay" in /usr/local/bin/
[00:37] <Fusl> my configure command is: ./configure --enable-gpl --enable-nonfree --enable-ffplay
[00:44] <Fusl> eh, nevermind. forgot to install libsdl and googled for "compile ffmpeg ffmpeg" instead of "compile ffmpeg ffplay"
[05:41] <Refia> I had a question: I have two identically-formatted but different length audio files (.ogg) with one stream and two channels each and i'd like to merge them into one ogg file with two streams (each stream still containing its own two channels as it did before). Is there an easy way to do this in ffmpeg?
[05:57] <bha> hello
[05:57] <bha> is there any onre
[05:57] <bha> one*
[06:32] <fangmai> Hi, in 2011 installed ffmpeg  version CVS. After converting an avi file to mp3 at 64k, I could split that file into 0.5 second clips and then concat any group of them into a file  on the fly and have good quality.  I just brew installed the latest release and get choppy results. The complete version description I had was:
[06:33] <fangmai> FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
[06:33] <fangmai> Mac OSX universal build for ffmpegX
[06:33] <fangmai>   configuration:  --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
[06:33] <fangmai>   libavutil version: 49.0.0
[06:33] <fangmai>   libavcodec version: 51.9.0
[06:33] <fangmai>   libavformat version: 50.4.0
[06:33] <fangmai>   built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
[06:33] <fangmai> usage: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}...
[06:33] <fangmai> Hyper fast Audio and Video encoder
[06:33] <fangmai> I'm not sure how to return to that same configuration. Any advice?
[06:45] <bha> i got an error ERROR: freetype2 not found
[06:45] <bha> tried many to fix it
[06:45] <bha> but could not
[06:46] <bha> any one has idea about it that how it get fixed
[06:46] <bha> :(
[09:58] <TiberiusReilly> I have this problem on CentOS: http://stackoverflow.com/questions/23537277/ffmpeg-unknown-input-format-lavfi
[09:58] <TiberiusReilly> any solution?
[09:59] <TiberiusReilly> I'm trying to build ffmpeg from source
[10:14] <aleb> I'm using deshake=edge=0 and I get a green margin instead of black which is what I would expect "Fill zeroes at blank locations" how can I make it black? https://www.ffmpeg.org/ffmpeg-filters.html#deshake
[11:11] <Bouib> hi
[11:12] <Bouib> need a little help about bit rates on capturing webcam with ffmpeg
[13:32] <biofool> ffmpeg is hanging ffmpeg -f lavfi -i aevalsrc=0 -f video4linux2 -s 640x480 -i /dev/video0  -strict -2 http://localhost:8090/feed1.ffm
[13:33] <biofool> do you have suggestions to diagnose this?
[13:48] <Bouib> hi
[13:49] <Bouib> what do i  miss to get a non pixelled movie with this : ffmpeg -f video4linux2  -i /dev/video0 date-`date +%d-%m-%Y--%H-%M-`.avi
[13:51] <relaxed> Bouib: add "-q:v 3" after the input
[13:55] <mco> Hello all
[13:55] <mco> I got a quick one, I need to resample audio streams
[13:55] <mco> and reading the doc, I just found to ways to do it : AVAudioResampleContext or SwrContext
[13:56] <mco> does anybody know what is the diff/advantages using one or the other ?
[13:59] <biofool> filed a bug https://trac.ffmpeg.org/ticket/4117#ticket
[13:59] <biofool> very reproducible
[15:30] <fangmai> Converting an avi to mp3 at 64k, the quality is fine. Using MP3::Splitter to divide the mp3 into 0.5 second fragments, concatenating the smaller files back together causes choppiness. What ffmpeg library do I need to look into?
[15:39] <fangmai> How can I obtain FFmpeg version CVS?
[15:43] <BtbN> By traveling back quite a few years in the past
[15:57] <biofool> fangmai: are you looking for source code?
[16:00] <fangmai> hi! My problem could simply lack of codecs. The last version of ffmpeg that worked for me was FFmpeg version CVS. However, I'm reading that it might have something to do with mplayer-cvs.
[16:01] <fangmai> I just need to be able to concatenate very small files on the fly after they've been split up after being converted to mp3.
[16:03] <biofool> Well for support you have to build with the latest code so you should try that
[18:59] <fangmai> Sorry! Will do!
[19:00] <relaxed> No problem. It's just hard to help unless we can see what you're doing.
[19:19] <anshul_mahe> Hi I have a wide angle camera with 180 degree view, But that video is kind of radially distorted when I save my image
[19:20] <anshul_mahe> Does ffmpeg have any filter for this kind of problem or use wideangle camera
[19:24] <fangmai> How do I get back to this exact installation on osx? http://pastebin.com/fahpFnWZ
[20:04] <danomite-> Is it possible to override the timestamps of a source to workaround this bug? https://trac.ffmpeg.org/ticket/4110
[20:08] <llogan> relaxed: sorry, i was afk over the weekend and my girlfriend got hit by a car (ok, besides a broken nose and knee). feel free to add whatever you like to the wiki.
[20:10] <llogan> fangmai: why would you want to use something so ancient?
[20:30] <fangmai> llogan: all I know is that I could convert an avi to mp3, split it up, and then concat some of the files back together and there was no choppiness. After installing ffmpeg with brew and all the options...it doesn't convert with the same quality.
[20:43] <troy_s> michaelni: Just a quick question. Apparently ffplay doesn't have the code to pull remaining bi-directional frames off the stack? Can you offer wisdom? https://github.com/chelyaev/ffmpeg-tutorial/issues/7
[20:48] <llogan> fangmai: how can the issue be duplicated?
[20:52] <fangmai> llogan: I use ffmpeg to convert avi to mp3. MP3::Splitter splits mp3 into 0.5 second or about 4.kb fragments. Using Cat 0.mp3 0.5.mp3 1.mp3 > frag.mp3 results in choppiness instead of a clean sounding file.  I'm not familiar with this technology, but I think it has something to do with the codec used to convert the avi to mp3. Working it...
[20:54] <michaelni> troy_s, i dont know what you mean by pull and stack
[20:59] <llogan> fangmai: you should provide enough information so anyone can attempt to duplicate whatever issue you're experiencing. this includes all commands and any sample files that are required.
[20:59] <fangmai> oh, excuse me. You're right. I need to think about that.
[20:59] <llogan> how do you know the problem isn't with MP3::Splitter (whatever that is)? how do you know it's not your players?
[21:01] <llogan> fangmai: and at the very least you should show your ffmpeg command and the complete console output (use a pastebin service and provide the link).
[21:06] <fangmai> llogan: I know that it is the conversion from avi to mp3 and not the splitter or player. I have the mp3 file which was converted with the old ffmpeg build with: ffmpeg -i in.avi  -ab 64k out.mp3
[21:06] <fangmai> I can split that file now and then concat it back together perfectly.
[21:06] <fangmai> I also have the original avi. Converting it to mp3 with the same command on the current ffmpeg build and then splitting and concatentating back together gives me a choppy file.
[21:08] <troy_s> michaelni: The frames that remain. See link?
[21:10] <fangmai> right, sorry! moment
[21:12] <llogan> also see quesiton #4 in http://lame.sourceforge.net/tech-FAQ.txt
[21:14] <michaelni> troy_s, i just looked at the first message until the list of dts and pts of b frames, i wont read the rest
[21:16] <michaelni> the timstamps and frame ordering make no sense
[21:17] <fangmai> llogan: Here the command followed by output: http://pastebin.com/dcy9KVQV
[21:18] <fangmai> Actually, I should add the splitting to that. moment.
[21:22] <michaelni> troy_s, i basically dont know what this is about and i dont have the time to find out
[21:24] <maoko> Hi guys, could someone please dedicate a few mins to explain how to loop png watermarks?
[21:24] <maoko> I'm using the following pattern https://gist.github.com/maokomioko/41fbe9e89c7ab940026a for single placement
[21:25] <llogan> you should always include the complete console output
[21:25] <maoko> Aha, 1 min
[21:26] <maoko> updated
[21:28] <danomite-> is it possible to have the transcoded output of one file be copied to another?
[21:28] <c_14> https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs#Teepseudo-muxer
[21:29] <fangmai> llogan: here is the whole process, from conversion to splitting, to concatenating http://pastebin.com/EwjsFp8T
[21:30] <danomite-> thanks c_14
[21:31] <llogan> maoko: so you want [logo] filterchain to repeat indefinitely? i don't really understand what you want to do.
[21:32] <maoko> llogan, within a certain time interval, yes
[21:32] <maoko> Each n-minutes or frames
[21:34] <llogan> maoko: maybe with timeline editing http://ffmpeg.org/ffmpeg-filters.html#Timeline-editing and expression evaluation http://ffmpeg.org/ffmpeg-utils.html#Expression-Evaluation
[21:36] <maoko> llogan, looks like it! It should be placed right after overlay=10:10, right?
[21:36] <maoko> Hmm. But it could interfere with the fade in/out settings
[21:37] <llogan> i don't have a good recommendation or example at the moment
[21:37] <maoko> Trying it now
[21:38] <llogan> overlay supports timeline editing, but fade does not (refer to "ffmpeg -filters"
[21:39] <llogan> fangmai: you could use the atrim and concat filters in ffmpeg and omit the perl thing and cat.
[21:39] <llogan> does using mp3splt instead of MP3::Splitter work for you?
[21:40] <fangmai> llogan: that looks hot, I'm going to try that
[21:42] <llogan> will all of your inputs contain MP3 audio as your example shows? or will they vary?
[21:43] <fangmai> Usually it's avi or flv to mp3
[21:45] <llogan> your avi already contains mp3 audio. and your flv may too.
[21:47] <maoko> llogan, thanks for clarifying. Just got your message
[22:02] <maoko> But it could be possible by removing the loop and inserting the same overlay twice
[22:02] <maoko> Trying it now
[22:23] <compstomp> Hi all, would anyone be able to help me better understand how to get codecs compiled from source into an ffmpeg build?
[22:46] <danomite-> compstomp, did you look at the compilation guide aleady
[23:05] <compstomp> yes i have, thank you
[23:08] <compstomp> Just to break down the problem into smaller parts, I tried compiling just with libfdk-aac.  I wrote a tiny bash script based off the compilation guide to do so: http://pastebin.com/P18YEVDq
[23:09] <compstomp> The similar script I wrote for compiling ffmpeg with several components is here: http://pastebin.com/F9FCFb7c
[23:10] <compstomp> The error was that libfdk-aac could not be found (i tried with other components as well they, too, could not be found). I'm assuming I am somehow not properly getting the compiled codecs linked into ffmpeg
[23:18] <compstomp> http://pastebin.com/ApphQM1E
[23:19] <sacarasc> compstomp: Search for the line "If you ever happen to want to link against installed libraries
[23:19] <sacarasc> " and follow what it says.
[23:34] <compstomp> First, thank you for your help. I see that quote shows up in many references online. Along side it, libtool also is always mentioned. As I'm sure its clear, I'm not very well versed in linking together libraries/binaries.  Are you suggesting that I somehow compile my codecs into .lo objects and then somehow reference them during the ffmpeg compilat
[23:34] <compstomp> ion process?
[23:35] <sacarasc> No, I am saying set where it looks for libraries.
[23:35] <sacarasc> It says what to do further along in that section.
[23:37] <llogan> compstomp: AFAICT you gave the library a prefix of --prefix="$HOME/Software/ffmpeg/ffmpeg_build", but your ffmpeg --extra-*flags are pointing to $HOME/ffmpeg/ffmpeg_build/include
[23:38] <diegoviola> hi
[23:38] <diegoviola> i want to embed some srt subtitle to a video, I used -vf subtitles=foo.srt but..
[23:38] <diegoviola> the sub appears too small
[23:38] <compstomp> ah great, thank you both!
[23:38] <sacarasc> llogan is the best.
[23:39] <llogan> no, i just don't want to do any paid work today. boring.
[23:39] <diegoviola> is there a way to increase it? can I only increase if I convert the sub to ASS and then change the size there?
[23:40] <llogan> diegoviola: can you share the srt file, or just pastebin the contents?
[23:42] <llogan> and also...
[23:42] <diegoviola> http://ix.io/fek
[23:49] <compstomp> after changing it to --extra-cflags="-I$HOME/ffmpeg/ffmpeg_build" I still get the same error :/. I don't expect you guys to bother with my debugging, but might you be able to help me better understand the structure / syntax of how an ffmpeg compilation pulls in libraries?
[23:50] <sacarasc> compstomp: Did you recompile and change your --prefix?
[23:51] <diegoviola> any ideas
[23:51] <diegoviola> how to increase subtitle font
[23:51] <compstomp> I recompiled (ffmpeg) and changed my cflags to be the ffmpeg_build. Was that incorrect and instead the --prefix should have referenced ffmpeg_build/include?
[23:51] <llogan> diegoviola: i was still waiting for your ffmpeg command and complete console output
[23:54] <diegoviola> ffmpeg -i input.avi -target ntsc-dvd -q:a 0 -q:v 0 -vf subtitles=foo.srt out.mpg
[23:56] <llogan> using -q:a and -q:v defeats the purpose of using -target
[23:56] <llogan> you must have seen that on the arch wiki?
[23:57] <diegoviola> yes
[23:57] <diegoviola> ok I will remove it
[23:57] <llogan> i removed that from the wiki but reverted it after getting several wiki overlord messages
[23:58] <llogan> so it can remain the shitpile that it is
[23:58] <diegoviola> just add a discussion on the wiki or something
[23:58] <llogan> i wasted enough time on it
[23:59] <llogan> always other things to do
[00:00] --- Tue Nov 18 2014


More information about the Ffmpeg-devel-irc mailing list