[Ffmpeg-devel-irc] ffmpeg.log.20141003
burek
burek021 at gmail.com
Sat Oct 4 02:05:01 CEST 2014
[00:46] <seasc> kepstin-laptop, i've added you to my 'resource' list within mentioned script out of gratitude, but would remove you out of respect if wish.. just asking before i upload the next update
[01:30] <hroi> what is the difference between ffmpeg and avconv?
[01:30] <hroi> -- I think blender uses ffmpeg -- and maybe I should then also use the latest ffmpeg
[01:32] <llogan> hroi: avconv is from a fork of FFmpeg
[01:33] <llogan> they once also had a so-called "ffmpeg"
[01:34] <hroi> ok, I can see ffmpeg is still very active -- so any good reason that ubuntu/debian -- almost disfavours it?
[01:34] <hroi> but maybe I should ask them :) sorry
[01:34] <llogan> because the maintainer is also a Libav guy
[01:35] <llogan> so when he switched to Libav he wanted to make users use their stuff instead.
[01:35] <hroi> bit nasty of ubuntu repository people to recommend against one FOSS project in favour of other.
[01:36] <hroi> when I run ffmpeg from the repo -- they have edited the code with advice against using ffmpeg
[01:36] <hroi> !!?
[01:37] <llogan> they either didn't consider that users may not make a distinction between ffmpeg from FFmpeg and ffmpeg from Libav, or they didn't give a shit, or perhaps the resulting confusion was intentional
[01:39] <hroi> ok, but the bottom line is the original main dev is now working on a fork -- and considers the old version outdated.
[01:39] <hroi> cheers!
[01:40] <llogan> the guy who maintained the ffmpeg packge in Debian was the main force in making a decision for Debian to use Libav instead
[01:40] <llogan> IIRC
[01:40] <hroi> llogan, right see that -- good article
[01:41] <hroi> llogan, and bothered to wrap ffmpeg with a message saying "*** THIS PROGRAM IS DEPRECATED ***" " hillarious
[01:42] <hroi> llogan, as if is somehow not being developed
[01:42] <llogan> they are referring to the so-called "ffmpeg" from Libav.
[01:43] <hroi> llogan, sure - I guess -- but many packages are like that -- forks or higher versions
[01:43] <llogan> it's a confusing statement to general users. i tried to make it less confusing but my ideas were shat upon.
[01:43] <hroi> llogan, I havent seen this kind of singling out before
[01:45] <llogan> i quit caring about Debian a long time ago. luckily others havent so ffmpeg from FFmpeg is in the process of returning.
[01:46] <hroi> llogan, bad manners -- there should be a code of honor in presenting FOSS software in repositories --- shameless.
[01:53] <hroi> is that ppa:jon-severinsson still the best source?
[01:54] <llogan> maybe if you're looking for a PPA and API compatible stuff that matches the libav packages in the repo. i can't remember...
[01:55] <llogan> another PPA https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
[01:55] <llogan> or you could compile. or you could download a static binary.
[01:59] <hroi> llogan, static binary sound sweet :)
[02:00] <hroi> found them thanks!
[02:00] <hroi> I bet they ship with broad codec support --- including aac?
[02:01] <llogan> hroi: they will include the native FFmpeg AAC encoder. and maybe vo-aacenc, but that's not worth using.
[02:02] <hroi> :S never seen a tar.xz compression before
[02:02] <hroi> xz?
[02:03] <hroi> never mind -- tar knows it :)
[02:04] <llogan> probably just need "tar xf input.tar.xz"
[02:18] <t4nk541> I have an encoding question, I have a 2.2 MB 3gp (MPEG-4, AAC) video. I re-encode it using the same encoders and the same container. The video multiplies in size 4 times! Is this normal.
[02:27] <hroi> t4nk541, maybe use -vcodec copy
[02:27] <hroi> t4nk541, should copy the video -- and not recompress it
[02:29] <seasc> t4nk541, or try passing "-b:v 1024k" if you want to reduce it, or "-crf 23" (default quality)
[02:29] <llogan> t4nk541: why are you re-encoding it?
[02:31] <hroi> does -ss 00:00:10 with -vcodec copy ... in any way force recompression of the video?
[02:31] <llogan> no
[02:32] <hroi> :)
[02:38] <seasc> hroi, it will just start encoding after 10secs :p
[02:38] <seasc> eg: start from 10th second of the input
[02:39] <hroi> seasc, right --- only I imagined it is more complicated than that when I use -vcodec copy
[02:39] <hroi> seasc, seeing that most vide compressions work in chunks
[02:39] <hroi> seasc, I cant simply split a chunk in half can ?
[02:39] <hroi> -can I
[02:39] <seasc> whats your definition of a chunk? :p
[02:40] <seasc> @ hroi
[02:40] <hroi> seasc, hmm lets see , the stream is H264 -- what kind of chunking does that use?
[02:41] <hroi> seasc, I imagine - that there is a chunk --- seing that if one bit gets an error - the image scrambles for a little while -- the length of the chunk
[02:41] <seasc> hroi, reading the follow up... ubuntu (canonical) changes the the 'upstream' code, to adapt their own interpretion of it, and so they can 'discredit' the original author(s) due to their changes, and call it their own
[02:42] <seasc> thats why i dont use ubunut
[02:43] <seasc> ubuntu*
[02:43] <c_14> I'm pretty sure he means the gop. And no, you can't split a gop without reencoding.
[02:43] <hroi> c_14, thank you :) --- I will use gop from now on
[02:44] <hroi> c_14, do you imagine that the first gop after the split gets reencoded while rest is -vcodec copy?
[02:44] <c_14> with -vcodec copy nothing gets reencoded, it'll split at the nearest inclusive gop
[02:45] <seasc> what is gop? ^^
[02:45] <c_14> group of pictures
[02:45] <seasc> thats the amount between keyframes?
[02:45] <seasc> is that*
[02:46] <c_14> yeah
[02:46] <seasc> thx c_14
[02:46] <seasc> hroi, what do you want to achieve if i may ask?
[02:47] <hroi> seasc, just wanted to cut out first 10 secs of my video
[02:47] <hroi> seasc, it did the job -- only i was worried I did it at expense of quality
[02:47] <c_14> If you use -c:v copy you won't lose quality.
[02:47] <seasc> hroi, ic :)
[02:48] <hroi> seasc, c_14 : great! only I found the resulting video had a brief white flast on the fist frame
[02:48] <hroi> *flash
[02:49] <seasc> hroi, you could make it -ss 0:00:10.1, maybe that helps '
[02:49] <seasc> or *.5
[02:52] <seasc> hroi, are you very familiar with ffmpeg options? or just a 'lazy' enduser? (i'm calling myself lazy too)
[02:53] <hroi> seasc, nope not very familiar -- I only use it every now and then --- but I doo need it -- fantastic tool
[02:53] Action: seasc is just happy me 'finished' his linux handler script for ffmpeg (VHS) (with GREAT help from Kepstin)... http://forums.fedoraforum.org/showthread.php?p=1700158
[02:53] <seasc> you would need to install GIT in advance, so it could install TUI the Text User Interface i've written for it
[02:55] <seasc> I wrote it for myself, but i'd love to share/spread it, as IMHO it helps me as i dont need to remember all the finetunings, but it cuts the advanced options of ffmpeg...
[02:56] <hroi> seasc, linux handler script?
[02:56] <hroi> seasc, I have git
[02:56] <hroi> seasc, is it a gui?
[02:56] <hroi> seasc, btw... is there any good gui for ffmpeg?
[02:57] <seasc> hroi, not really a GUI, i'm a console fan, and ffmpeg is a console tool too, but i wrote the script using my TUI (Text user interface) which brings a 'gUI' kind of experience to the console... so maybe? ^^
[02:58] <seasc> and the script (VHS) is a single file, but git is required to install TUI
[02:58] <seasc> since you're not fedora that is :p
[02:58] <hroi> right
[03:00] <seasc> i've had almost like almost 4k visitors on the thread, and about 80 downloads until i've uploaded the final version, but i lack of ANY usefull feedback at all
[03:00] <seasc> *today*
[03:01] <hroi> send me links, or thread, and I can give you some immediate feedback my email thorsteinssonh at gmail.com
[03:02] <hroi> I could be your 'dumb' user.
[03:11] <thomas__> hi guys, I'm having some trouble linking with ffmpeg, I'm linking with -lavcodec and -lswscale, but I'm getting a bunch of symbols it can't find in libavcodec.a (http://pastebin.com/raw.php?i=ry79kbHu)
[04:05] <c_14> Can you pastebin your config.log ?
[07:04] <dahat> can anyone see why the following modified make file cannot build librtmp (from rtmpdump) under mingw with the MSVC toolchain? http://pastebin.com/yi1QRjVp (I've also tried without renaming instances of .a to .lib) For note the error I get is seen at http://pastebin.com/KH9HTCqc
[07:45] <rcombs> dahat: have you tried using lavf's built-in RTMP support? It's often a lot less headache these days.
[07:49] <dahat> rcombs: Nay, I am not familiar with lavf... is what what normally comes as part of ffmpeg?
[07:49] <rcombs> lavf == libavformat
[07:49] <rcombs> which is ffmpeg's demuxing and I/O library
[07:50] <rcombs> it supports either librtmp, or its own built-in rtmp protocol implementation
[07:51] <rcombs> I recommend the latter unless you're working with a specific server that lavf's rtmp implementation has trouble with and librtmp doesn't, since librtmp's build system can be a bit of a pain
[07:51] <dahat> thought so, and I have... it used to work for me until an unknown server side change threw a wrench into my works. after a few failings with libavformat I through I'd give librtmp a try (as it seemed to have support for rtmps and other more deranged RTMP types)... unfortunetly librtmp (which I was able to compile in VS, but prefered command line for later production use) has also failed to figure out how to connect to the server success
[07:52] <rcombs> yeah, librtmp sometimes works better with more complex server setups
[07:54] <dahat> if only I could figure out what odd settings were set on the Wowza Media Server 3 instance in use
[08:01] <dahat> any chance you know of a good way to man-in-the-middle RTMP* ? ;)
[11:36] <sjums> Hey everybody. I see there's a Version 2.4.1 of ffmpeg, and I'm concidering an upgrade, but my version is "N-61338-g12ce58b". What version would that be equal to in normal version numbers? :) Thanks.
[11:37] <sacarasc> sjums: Where did you get the binary?
[11:38] <sacarasc> But, most likely, it is what will become 2.5 eventually.
[11:38] <sacarasc> Or 2.6...
[11:38] <sacarasc> I forget if ffmpeg does odd number releases.
[11:38] <sjums> from the official ffmpeg site. The 7z have 20140313 in the name :)
[11:39] <sjums> And it's the binary I have. I didn't compile myself.
[11:39] <sacarasc> Windows? Linux?
[11:39] <sacarasc> OS X?
[11:39] <sjums> Windows.
[11:41] <sacarasc> So it's 6 months old. That would probably make it a little newer than 2.2 but older than 2.4.
[11:42] <sacarasc> The latest one on http://ffmpeg.zeranoe.com/builds/ is from yesterday (for me).
[11:43] <sjums> the libraries matches 2.3.4 pretty much
[11:43] <sjums> but not entirely on the subversions
[11:44] <sjums> Okay, that's precise enough for me :)
[11:44] <sjums> Thanks a bunch for the help!
[11:44] <sjums> And if you're in any way in the development, thanks for an awesome tool.
[11:45] Action: sacarasc points at the people with ops.
[13:52] <Polarwinds> http://pastebin.com/KDXmw5Zh i want to keep about the same file size but instead of 10bit 8bit, is there anything i can do to tweak my code?
[13:57] Action: sacarasc points Polarwinds to #mpv-player.
[13:57] <Polarwinds> i already asked there
[13:59] <seasc> Polarwinds, try another crf value
[13:59] <seasc> like 23
[13:59] <Polarwinds> is that lossless?
[14:00] <seasc> its the default :)
[14:00] <Polarwinds> nah :P
[14:00] <seasc> with our crf 18 you've increased the filesize
[14:00] <Polarwinds> :O
[14:00] <sacarasc> Lossless is crf 0.
[14:00] <seasc> taht is technicly lossless
[14:00] <Polarwinds> so 23 will keep the file size about the same?
[14:00] <seasc> 23 is about visualy lossless
[14:00] <Polarwinds> but then it bumps the file size alot
[14:01] <Polarwinds> thanks
[14:01] <Polarwinds> on slow preset? will slower make a difference?
[14:01] <seasc> since you0re using 18, try 21, maybe thats more your like.. not sure, me never use those presets
[14:01] <Polarwinds> :P
[14:01] <Polarwinds> that grammar
[14:01] <seasc> just got up ^^
[14:02] <Polarwinds> Goodmorning sunshine xD
[14:02] <Polarwinds> lol
[14:02] <seasc> thanks xD
[14:02] <Polarwinds> well thanks for your advice
[14:02] <Polarwinds> :D
[14:03] <seasc> welcome, hope it actualy helps :)
[14:03] <Polarwinds> I do too, for mov
[14:03] <Polarwinds> from my camera i just do the copy, video and encode audio to aac :D
[14:03] <Polarwinds> same size usually but it isnt a mov :P
[14:05] <Polarwinds> I used a script and the original series was 27gigs, transcoded it was down to 17 :D basically same quality but smaller file size
[14:05] <seasc> hrhr, did you use my script (vhs)? :p
[14:06] <Polarwinds> your script?
[14:06] <seasc> ah no, you're a windows user.. nevermind :)
[14:06] <Polarwinds> :P yup
[14:06] <Polarwinds> you're a linux i am guessing?
[14:06] <Polarwinds> /a :P
[14:06] <Polarwinds> no a
[14:06] <seasc> yes :)
[14:06] <Polarwinds> It is smaller than windows : the iso is
[14:07] <Polarwinds> about 6x smaller :P
[14:07] <Polarwinds> how would i put in like i only wanted to encode 1 minute?
[14:07] <Polarwinds> what would i put in my script?
[14:07] <seasc> -ss 1:00 -to 2:00
[14:08] <Polarwinds> at the end?
[14:08] <seasc> or -ss 1:04:13 -to 1:05:25 for 1 minute and 12 secs
[14:08] <Polarwinds> http://pastebin.com/KDXmw5Zh
[14:08] <Polarwinds> can ya put 1 minute for me?
[14:08] <Polarwinds> :P
[14:09] <seasc> just before the outputfile should do thre trick: -ss 1:00 -to 2:00
[14:09] <seasc> err... n/m.. like: C:\mpv\mpv.exe "C:\ffmpeg\Michiko to Hatchin - 09.mkv" -o "C:\ffmpeg\Michiko to Hatchin - 09.mp4" -ovc libx264 -ovcopts "preset=slow,level=41,crf=18," -oac aac -oacopts "ab=320k" -ss 1:00 -to 2:00
[14:10] <Polarwinds> it said failed D:
[14:10] <Polarwinds> i am using mpv btw
[14:11] <Polarwinds> any idea?
[14:13] <seasc> not really, me confused that you actualy define the outputfile.. and so early..
[14:13] <seasc> did that work in the past?
[14:13] <Polarwinds> i never tried only encoding a certain time D:
[14:13] <Polarwinds> i want a sample before i commit to slower settings :P
[14:14] <seasc> Ah wait... you' encode with mpv???
[14:14] <seasc> not with ffmpeg?
[14:14] <Polarwinds> mhm
[14:14] <seasc> sry then
[14:14] <Polarwinds> it's okay
[14:14] <Polarwinds> thanks for the help
[14:15] <seasc> still too early, didnt see the mpv in front of the line :p
[14:15] <Polarwinds> oh, so you will try to help me?
[14:16] <Polarwinds> no one is answering in mpv-player D:
[14:16] <JodaZ> use ffmpeg if you want help here :)
[14:16] <seasc> just tried, but i dont 'know' mpv, i didnt even knew it could encode
[14:16] <Polarwinds> but i need subtitles D:
[14:16] <JodaZ> either way, why you transcodign anyways instead of just remuxing, Polarwinds?
[14:16] <Polarwinds> what's remuxing?
[14:16] <Polarwinds> D:
[14:17] <Polarwinds> 10bit to 8bit is what i do
[14:17] <JodaZ> why tho
[14:17] <Polarwinds> for playback on my tablet
[14:17] <Polarwinds> :D
[14:17] <JodaZ> you sure it can't do 10bit? and not just no mkv?
[14:17] <Polarwinds> it cant do 10bit D:
[14:18] <JodaZ> did ya try a 10bit mp4?
[14:18] <Polarwinds> same thing
[14:18] <Polarwinds> lags
[14:18] <JodaZ> okey dokey
[14:18] <JodaZ> just use handbrake
[14:18] <JodaZ> :)
[14:18] <Polarwinds> D:
[14:18] <Polarwinds> but
[14:18] <JodaZ> no butts
[14:18] <Polarwinds> or coconuts
[14:18] <Polarwinds> :P
[14:18] <JodaZ> hue
[14:19] <Polarwinds> handbrake doesnt save the fonts though D:
[14:19] <JodaZ> get a player that displays em on your device
[14:19] <JodaZ> handbrake should put them into the mp4
[14:19] <JodaZ> maybe it has an option to hardcode them in by now
[14:20] <Polarwinds> it does have a hardcode option, but it doesnt save the font types D:
[14:20] <Polarwinds> it makes them basic..
[14:20] <JodaZ> maybe its lacking the fonts
[14:21] <Polarwinds> meh
[14:21] <Polarwinds> ill just use what i know
[14:32] <bluepr0> hello! Im trying to save to a SRT file the subtitles from a video, but it takes like 2 hours!! Im doing ./ffmpeg -i <INFILE_PATH> -map 0:2 -c:s:0 srt <OUTFILE_PATH> but also trying with ./ffmpeg -i <INFILE_PATH> -map 0:2 -c:s:0 subrip <OUTFILE_PATH> both with same results. This is the pastebin http://pastebin.com/CQWQH0Ev. Anyone knows whats going on or what am I doing wrong?
[14:33] <ubitux> try -c:s copy first
[14:34] <ubitux> not sure it will make any difference, but maybe add -an -vn (it should not be necessary since you only map subtitles but just to be sure..)
[14:34] <ubitux> also, 2.4.x or git/master is recommended
[14:39] <bluepr0> ubitux: thanks a lot, will give it a try!
[15:32] <bluepr0> ubitux: just tried it but it takes 8 seconds for every one second of subtitules :(
[15:33] <bluepr0> Ive been reading the documentation but cant find whats the problem
[15:33] <bluepr0> thanks a lot for your suggestion, though!
[15:36] <ubitux> bluepr0: i'm not sure you'll be able to get it faster
[15:37] <ubitux> it's demuxing the whole file
[15:37] <ubitux> and just skipping the non subtitles packets
[15:37] <bluepr0> sad :(
[15:37] <ubitux> i don't know if there is a way of saying the demuxer to only demux some of the streams
[15:37] <bluepr0> thanks!
[15:37] <bluepr0> I will try to find something related to that in the docs
[16:07] <JodaZ> ubitux, demuxing ought to be as fast as reading the file
[16:08] <ubitux> it should still be the case
[16:08] <ubitux> if there is a performance regression, it should be reported
[16:08] <JodaZ> he propably didn't do the -vn right...
[16:20] <bluepr0> JodaZ: interesting! do you know how I should use it?
[16:21] <JodaZ> just put it everywhere
[16:21] <JodaZ> and paste your ffmpeg output
[16:27] <seasc> got a weird question, any have had issues to upload a screencast (desktop recording) of 45 minutes to youtube? (i do have that, dont recall the proper name, regisseur account) issue is with both, mkv and mp4 - both stuck at 63% for real hours (abortet after 3 hours of increasing eta-time)
[16:29] <seasc> file info: http://pastebin.com/VLzRKWEX
[16:33] <storrgie> I'm trying to compile a project called mpd that uses ffmpeg, I'm getting this error: 'fatal error: libavutil/error.h: No such file or directory' does anyone know where I should begin looking?
[16:34] <kepstin-laptop> storrgie: what version of ffmpeg, what version of mpd?
[16:34] <kaotiko> hi
[16:36] <storrgie> kepstin-laptop, trying a developmental version for SACD support. I'm doing this in Fedora 20, the ffmpeg comes from rpmfusion and is: ffmpeg-devel-2.1.5-1.
[16:36] <storrgie> kepstin-laptop, this: http://git.musicpd.org/cgit/manisiutkin/mpd.git/
[16:36] <storrgie> I've got ffmpeg and ffmpeg-devel installed
[16:37] <storrgie> https://gist.github.com/storrgie/70c902627745881bc179
[16:38] <storrgie> would appreciate any help, not sure how to get past this
[16:40] <kepstin-laptop> storrgie: do you have any headers in the /usr/include/libavutil directory?
[16:41] <storrgie> kepstin-laptop, I do not have a libavutil directory in /usr/include
[16:42] <kepstin-laptop> storrgie: then either the rpm package of ffmpeg is missing the headers, or it installed them somewhere else and didn't fix the pkg-config files...
[16:43] <storrgie> kepstin-laptop, I think this is the package: http://download1.rpmfusion.org/free/fedora/releases/20/Everything/x86_64/os/repoview/ffmpeg-devel.html
[16:43] <storrgie> it looks like libavutil is within /usr/include/ffmpeg
[16:44] <storrgie> yeah, on my system I have error.h in /usr/include/ffmpeg/libavutil
[16:44] <seasc> storrgie, have a look at: "yum search libav ffmpeg".... do you have the devel packages installed?
[16:45] <seasc> err, so you get the list, then check if "yum info XY"
[16:45] <storrgie> seasc, yep, I have ffmpeg-devel installed
[16:45] <storrgie> and there isnt any libav packages in fedora
[16:45] <storrgie> its in ffmpeg now
[16:45] <storrgie> I can see the header, its located in /usr/include/ffmpeg/libavutil/error.h
[16:45] <seasc> storrgie, me more asking for libav* devel packages... its in rpmfusion too
[16:45] <seasc> hmm k me silent then
[16:46] <zenny> kepstin-laptop: Thanks for your help yesterday!
[16:46] <kepstin-laptop> storrgie: can you say the output of "pkg-config --cflags libavutil" on your system?
[16:47] <storrgie> https://gist.github.com/storrgie/ff41b962f36e9b09e6cd
[16:47] <kepstin-laptop> hmm. that should be fine; it looks like the mpd code is grabbing the paths from pkg-config
[16:48] <storrgie> they have an autoconfig script that I think is used by automake to set that stuff up
[16:48] <kepstin-laptop> yeah. But for some reason, the pkg-config cflags didn't make it to the g++ command to build that source file
[16:48] <storrgie> nvm, its an autogen script and it has really nothing in it
[16:49] <kepstin-laptop> the autogen script runs autoconf, automake, etc. to build the configure script
[16:49] <storrgie> yeah
[16:50] <storrgie> I'm not really sure what to do :(
[16:50] <kepstin-laptop> so yeah, try doing a make clean, re-run configure, then build again; if you still see the error, you need to get in touch with the mpd folks to fix their build system
[16:51] <storrgie> alright I'll do that
[16:52] <kepstin-laptop> hmm. looks like it is a build system bug, they're not passing the cflags from pkg-config to the compiler command
[16:52] <kepstin-laptop> it's a 1-line fix in the Makefile.am :/
[16:52] <storrgie> what would you put in there? I'd happily test that out
[16:52] <storrgie> I can share the makefile.am to you
[16:53] <kepstin-laptop> right before line 794 (starts with FFMPEG_LIBS2), add a line that says libffmpeg_a_CPPFLAGS=$(FFMPEG_CFLAGS)
[16:53] <kepstin-laptop> then re-run autogen.sh, re-run configure, run make.
[16:53] <storrgie> 'libffmpeg_a_CPPFLAGS=$(FFMPEG_CFLAGS)' like that?
[16:54] <kepstin-laptop> yeah. feel free to put some spaces around the = sign to match existing code style :)
[16:54] <storrgie> one tic, compile running now
[17:08] <storrgie> added that line and now compiling
[17:09] <zenny> kepstin-laptop: Tried to capture the muxed video using ffmpeg while trying to preserve the caputure (webcam, desktop and audio) in separate files. If I run ffmpeg separately, it works, but when I try to combine, it simply fails to work to do the former with an error "Streamcopy requested for output stream 0:0, which is fed from a complex filtergraph. Filtering and streamcopy cannot be used together." Is there any hint to get to captu
[17:09] <zenny> thanks in advance!
[17:09] <kepstin-laptop> zenny: yeah, I don't think you'll be able to do that.
[17:15] <storrgie> kepstin-laptop, ooo a new error related to ffmpeg: https://gist.github.com/storrgie/1fda6e52f187febb98fd
[17:16] <kepstin-laptop> storrgie: hmm, that means they're relying on some shared CPPFLAGS from elsewhere in the file
[17:16] <kepstin-laptop> makes the fix a bit more tricky
[17:16] <kepstin-laptop> maybe just report the issue to the mpd devs and have them work on it
[17:17] <kepstin-laptop> issue is basically that mpd build system is not respecting cflags from pkg-config to locate ffmpeg headers in a non-standard path.
[17:18] <storrgie> kepstin-laptop, http://bugs.musicpd.org/view.php?id=4131
[17:18] <storrgie> i copied some that you said
[17:18] <storrgie> trying to pass along as much as I can
[17:19] <storrgie> as I might not understand a subtelty that you meant to convey
[17:20] <kepstin-laptop> storrgie: should be plenty enough info in that report for someone to figure it out :)
[17:21] <storrgie> thanks for your help!
[17:31] <seasc> wma is supposed to be an audio format, or am i mistaken?
[17:34] <seasc> when i try to encode a file to audio (wma) only, it always encodes video too... http://pastebin.com/Xn605xHU
[17:35] <rav0> Set video off/none
[17:35] <seasc> k, me just confused it automaticly invokes a video codec too
[17:36] <seasc> thx rav0
[17:36] <kepstin-laptop> seasc: I think the 'wmv' and 'wma' extensions are all aliases for the same format, so there's no real distinguising between them
[17:36] <rav0> ^^
[17:37] <seasc> yeah, i'm now forcing -vn on all 'containers' not provided a video codec.. just to be sure :p
[17:37] <seasc> thx kepstin-laptop
[17:37] <kepstin-laptop> it's basically the same thing as 'mkv' vs. 'mka', it's the same format, but the extension has a hint to users that the file doesn't have video :)
[17:38] <seasc> hmm i'd use ac3 over mka anyway ;)
[17:39] <rav0> you can put ac3 in mka if you like :D
[17:39] <seasc> or would there be a diffrence?
[17:39] <rav0> probably wma even
[17:40] <kepstin-laptop> mka is just a matroska file, you can put whatever you want in it. You can put e.g. pcm audio or mp3 audio inside a 'wma' file, too...
[17:41] <seasc> yeah, but from what i've read, the 'default' (or suggested) codec would be ac3
[17:42] <kepstin-laptop> well, the best reason to use ac3 is if you can stream-copy it from the source, imo. (no lossy transcode)
[17:42] <rav0> remember audio streams, video streams, other streams all go into a container. and ffmpeg will let you push the boundaries of what combanations should and could exist
[17:43] <kepstin-laptop> I wouldn't be surprised if some people use ffmpeg's ac3 encoder only because its quality is better than the built-in aac encoder or the vidualon aac encoder.
[17:44] <kepstin-laptop> of course, if you don't have special requirements, and you can't stream-copy ac3, vorbis in matroska files is probably the best choice...
[17:45] <kepstin-laptop> (with libvorbis, of course, not the internal encoder)
[17:45] <seasc> :)
[18:04] <bluepr0> JodaZ: this is what I do ./ffmpeg -i FILEINPUT -an -vn -map 0:2 -c:s:0 srt FILEOUTPUT.srt or also ./ffmpeg -i FILEINPUT -map 0:2 -c:s:0 srt FILEOUTPUT.srt
[18:04] <bluepr0> not sure what you mean with use it everywhere
[18:04] <bluepr0> and the ffmpeg output is this one http://pastebin.com/CQWQH0Ev
[18:09] <JodaZ> looks strange, does the output file look ok when you just kill ffmpeg at that point?
[18:10] <JodaZ> i mean 10kb
[18:10] <JodaZ> did you try that -c:s copy?
[18:10] <JodaZ> and without map?
[18:43] <kaefer> HELP
[18:44] <kaefer> ./configure --enable-libmp3lame
[18:44] <kaefer> and then came
[18:44] <kaefer> ERROR: libmp3lame >= 3.98.3 not found If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem.
[18:48] <abaudoux> Hello
[18:50] <abaudoux> When generating multiple output files from one master file, is it possible to make ffmpeg use one thread per generated file?
[18:50] <kryo_> can i bind ffmpeg to an IP?
[18:51] <c_14> abaudoux: you might be able to if you set -threads 1 for each output file
[18:51] <c_14> kryo_: what are you trying to do?
[18:52] <kryo_> i'm trying to stream a video file to an rtmp:// address using a specific IP
[18:52] <abaudoux> I have a mp4 movie with 25 audio tracks, and I want to generate one mp3 file for each audio
[18:52] <c_14> abaudoux: ye, try what I said
[18:52] <abaudoux> so I map each audio track to an mp3 output file
[18:52] <abaudoux> but ffmpeg saturates at 100% cpu
[18:53] <abaudoux> and what is the option do do that?
[18:53] <abaudoux> -threads?
[18:53] <abaudoux> for each output file?
[18:54] <c_14> kryo_: I'm pretty sure (linux at least) can only bind to interface and not to ip address. (and I'm not sure ffmpeg does either)
[18:56] <seasc> abaudoux, "-threads 1" for each output file, but you will be limited to the max number of (hyper-)threads supported by your cpu
[18:57] <kryo_> i'm pretty sure there are some linux programs that can bind to an IP..
[18:57] <kryo_> anyway, any idea how i can bind to another interface?
[18:58] <c_14> Well, in this case binding is the incorrect term.
[18:58] <c_14> You could use something like iptables with a source nat.
[18:58] <c_14> just tell iptables to change the source ip for all traffic going to your server on the rtmp port
[18:59] <c_14> (iptables might even be able to filter rtmp traffic directly, not sure)
[18:59] <kryo_> :\ iptables is the devil
[18:59] <kryo_> traffic is going from my server -> rtmp server
[19:00] <relaxed> abaudoux: for a in {0..24}; do ffmpeg -i input.mp4 -map 0:"$a" audio_stream_"$a".mp3; done
[19:01] <relaxed> abaudoux: er, it's this one -> for a in {0..24}; do ffmpeg -i input.mp4 -map 0:a:"$a" audio_stream_"$a".mp3; done
[19:01] <abaudoux> relaxed: yes but then I read the input file 25 times
[19:02] <abaudoux> My input file is on a nas I want to minimize the amount of reads
[19:02] <relaxed> how did encoding 25 streams at once work out?
[19:02] <c_14> abaudoux: ffmpeg -i input -threads 1 -map 0:0 out0.mp3 -threads 1 -map 0:1 out1.mp3 [..]
[19:02] <c_14> abaudoux: If that's all you're worried about though, the read should stay in the cache, so it's not much of a problem.
[19:02] <c_14> (unless the input file is huge)
[19:03] <abaudoux> yeah the files are 16 GB
[19:03] <c_14> ah, k. Try what I said then.
[19:03] <abaudoux> okay thanks
[19:06] <abaudoux> does ffmpeg have to be built with pthread option for this to work?
[19:06] <c_14> If it didn't build with it you should only have one thread anyway, so.
[19:14] <abaudoux> c_14: it doesnt work :-(
[19:14] <c_14> What exactly doesn't work?
[19:16] <c_14> kryo_: If you don't like iptables, you might be able to use network namespacing. See: http://www.evolware.org/?p=293
[19:17] <abaudoux> Its still using only one thread
[19:18] <c_14> Wait, the problem was that ffmpeg is using one thread in total and you want it to use more?
[19:18] <abaudoux> yes
[19:18] <c_14> You'll need ffmpeg compiled with threading.
[19:18] <c_14> I thought you just wanted to split up the threads for each output file.
[19:22] <abaudoux> okay. Are there any binaries of ffmpeg available for ubuntu with thread support ?
[19:25] <abaudoux> I think that unfortunately neither of these static builds support threading
[19:26] <relaxed> Mine is the latter and it does.
[19:30] <abaudoux> relaxed: the release or git build? whats the result of your ffmpeg -buildconf ?
[19:31] <relaxed> both, download and see
[19:31] <abaudoux> okay
[19:35] <abaudoux> i dont see any --enable-pthread
[19:36] <c_14> As long as you don't explicitly disable it, it should be there on most unix systems.
[20:19] <omero> hello :D
[20:20] <omero> I'm trying to build mplayer but it stops with an error building ffmpeg
[20:29] <zenny> Hi, how can ffmpeg use the zoom feature (guvcview can) of logitech c920 webcam while capturing?
[20:35] <c_14> zenny: probably not, unless you can use an external command to zoom the webcam while ffmpeg is recording
[20:38] <JEEB> c_14, it's an mplayer problem and as he cross-posted on the devel channel we have already pointed him towards the mplayer channel
[20:38] <JEEB> because mplayer does all kinds of horrible things in its build system
[20:38] <JEEB> so it's completely unrelated to FFmpeg as such
[20:39] <JodaZ> zenny, launch guvcview at the same time and zoom?
[20:43] <zenny> c_14 and JodaZ: Thanks that is what I am doing, yet exploring if this can be done natively in ffmpeg. Thanks for your input!
[20:44] <JodaZ> zenny, don't think so, but its possible you can just do it by commandline
[21:54] <kippi> hey
[21:55] <kippi> should this work? it doesn't seem to be kicking out the volume detect http://pastebin.com/L5kNqjsH
[21:57] <llogan> -f null -
[21:59] <llogan> kippi: also use one filtergraph or else the first one may get ignored
[22:22] <sheikhaman> Hi, and sorry guys for being shameless, but I needed to clear some doubts about avconv.. please allow me to ask it here? I've also asked in #libav room
[22:22] <llogan> go for it
[22:23] <sheikhaman> On a raspberry pi, we are trying to send video streams from an attached logitech c920 hd webcam, to our wowza streaming server
[22:23] <sheikhaman> The video is being sent, but at the server's end, its speed of playback is almost 1.5x or more, and there's a lot of distortion on object movement
[22:24] <sheikhaman> llogan, Thanks so much! :)
[22:24] <sheikhaman> we're using avconv command for it, btw
[22:24] <llogan> are you using ffmpeg from FFmpeg or avconv? we only support FFmpeg stuff here. if you need help with avconv you'll need to ask in #libav
[22:24] <sheikhaman> Oh alright, Thanks so much llogan
[22:25] <sheikhaman> I've asked it in #libav already, waiting for anybody to respond
[22:25] <sheikhaman> Thanks for your time, llogan
[22:25] <llogan> i've never been in that channel so i don't know how helpful it is
[22:26] <sheikhaman> One last request, would there be a generic tutorial/article about how to do the same streaming using ffmpeg? maybe I can switch to it
[22:26] <iive> ffmpeg merges most of libav, so you should be able to use the same syntax.
[22:27] <llogan> sheikhaman: http://trac.ffmpeg.org/wiki/EncodingForStreamingSites
[22:27] <llogan> https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi
[22:28] <sheikhaman> llogan, Many thanks! looking at them now :)
[22:30] <llogan> altough i think the raspberry pi is generally underpowered to be useful for most encoding, AFAIK
[22:31] <sheikhaman> hmmm.. I'll keep that in mind
[22:31] <kepstin-laptop> ah, but the logitech c920 gives an h264 stream, so you don't need to do any encoding :)
[22:31] <kepstin-laptop> (in theory, at least)
[22:31] <llogan> hopefully it isn't outputting something horribly inefficient
[22:33] <sheikhaman> the link about making an encoder is really interesting, llogan ! :)
[22:33] <sheikhaman> I am mainly an Android programmer since considerable amount of time, and don't understand much of the lingo in video arena
[23:15] <bluepr0> JodaZ: Ive tried without map but it says Output file does not contain any stream so I guess you need to use it
[23:52] <benschwarz> hey folks
[23:52] <benschwarz> I'm looking to take a jpg image from a video every 100ms
[23:54] <llogan> benschwarz: the select filter can probably do that
[23:55] <benschwarz> llogan: -r is frames per second, right?
[23:55] <benschwarz> am I naieve in thinking that I could shoot `-r 10`?
[23:56] <benschwarz> naive
[23:59] <llogan> it might work for you
[00:00] --- Sat Oct 4 2014
More information about the Ffmpeg-devel-irc
mailing list