[Ffmpeg-devel-irc] ffmpeg.log.20130210
burek
burek021 at gmail.com
Mon Feb 11 02:05:01 CET 2013
[00:10] <norbert_> hi, latest 32 bit ffmpeg binary, how can I specify the location on the screen from where I want the width+height to be recorded?
[00:10] <norbert_> used to be -i :0.0+x,y
[00:10] <norbert_> that now says "Protocol not found"
[00:12] <norbert_> I'm willing to bet that 99% of all ffmpeg lines that Google has indexed no longer work with the latest version
[00:12] <norbert_> even the ffmpeg wiki itself is outdated
[00:13] <sacarasc> Which site did you get the binary from? Which OS?
[00:13] <norbert_> Mint GNU/Linux and http://ffmpeg.gusari.org/static/32bit/
[00:15] <fenduru> I'm trying to decode and reencode an audio file into segments. Right now I am running ffmpeg -i pipe: -vn -b:a 192k -acodec libvorbis -map 0 -f segment -segment_time 10 output%d.ogg
[00:16] <norbert_> and it's also funny how 99% of all users run into libx264 being unknown
[00:16] <norbert_> gotta love that
[00:16] <norbert_> plus the location in the string of input and output parameters
[00:16] <fenduru> however, when I decode these files and play them sequentially I get occasional pops/clicks between segments. Is there a way to force ffmpeg to split on the nearest frame boundary? (I've tried -segment_time_delta but this hasn' helped)
[00:17] <Samus_Aran> will this command re-encode the audio: ffmpeg -i input.aac -acodec copy output.mp4
[00:18] <Samus_Aran> I wouldn't think so, but it says it is encoding the audio
[00:18] <Samus_Aran> I am just trying to put my aac files into a container that will provide the duration of the audio (so MPlayer doesn't incorrectly guess the duration)
[00:19] <JEEB> setting encoding code to copy should just mux
[00:19] <JEEB> so as long as the log says that it only copies, it doesn't
[00:20] <Samus_Aran> it says it is using an AAC encoder
[00:20] <Samus_Aran> there is no mention of copying
[00:20] <JEEB> pastebin your full command and log, and link here
[00:22] <norbert_> JEEB: http://pastebin.com/MEuMpkkn
[00:22] <norbert_> :)
[00:23] <JEEB> unfortunately I have no idea about screen capture
[00:25] <beastd> norbert_: does -f x11grab before -i give a different response?
[00:25] <norbert_> well, I tried that, but it gives me: Unknown input format: 'x11grab'
[00:25] <norbert_> so I decided to just remove that x11grab thing and hoped that it would magically fix the problem
[00:25] <norbert_> now I'm reading http://www.jedi.be/blog/2010/08/30/capturing-the-screen-of-your-virtual-machines-using-x-vnc-rdp-or-native/
[00:26] <sacarasc> That sounds like they didn't compile with x11grab support. :o
[00:26] <norbert_> which is complicated and goes on about what I could do and stuff
[00:26] <beastd> norbert_: ffmpeg -formats | grep x11
[00:26] <norbert_> yeah, the guy didn't add --enable-x11grab
[00:27] <norbert_> so back to the ancient ffmpeg on my system, I guess, no recent binary this time
[00:27] <jure> so, to speed up the tempo of audio, without changing pitch, you would do something like "ffmpeg -i input.mkv -filter:a 'atempo=2.0' -vn output.mkv". how do you change the speed of the audio and get the change in pitch as well?
[00:27] <Samus_Aran> JEEB: here's my command and the output: http://pastie.org/pastes/6106599/text
[00:27] <norbert_> and then I run into: Unknown encoder 'libx264'
[00:27] <norbert_> myeah... sigh
[00:28] <beastd> norbert_: this is not ffmpeg's fault. seems you binaries miss a few popular features :(
[00:28] <Samus_Aran> it shows libvo_aacenc and Lavf53.21.0
[00:28] <beastd> norbert_: which system are you on?
[00:28] <norbert_> beastd: well, the binary doesn't have --enable-x11grab and my system (Mint GNU/Linux) has an ffmpeg without libx264 in its ffmpeg
[00:29] <norbert_> which means I need to pick another codec or recompile the thing myself
[00:29] <Samus_Aran> norbert_: Ubuntu for instance has repositories with more up-to-date ffmpeg releases
[00:29] <JEEB> Samus_Aran, you seem to be using a ffmpeg binary from the libav project, but that is still weird... try with the 'avconv' binary that is more up-to-date in that project
[00:29] <Samus_Aran> also more feature-enabled
[00:30] <JEEB> avconv -i input -c:a copy out.mp4
[00:30] <norbert_> Samus_Aran: do you know what would be a good codec to pick for desktop recording? out of these: http://pastebin.com/kZFzxP84
[00:31] <norbert_> something that gives me good quality I mean, without grinding my system to a halt
[00:31] <norbert_> I can reencode it later if necessary
[00:31] <JEEB> ffvhuff is a nice quick video encoder
[00:31] <JEEB> it's big, but it's lossless and supports various colorspaces
[00:32] <JEEB> also quick to encode
[00:32] <Samus_Aran> JEEB: with that command it becomes: Stream #0:0 -> #0:0 (copy)
[00:32] <JEEB> ok
[00:32] Action: juanmabc guesses game recording
[00:32] <JEEB> ubuntu by default uses libav, so #libav would be more correct for that
[00:33] <JEEB> basically they later removed the ffmpeg binary from their side and avconv is their up-to-date binary
[00:33] <JEEB> but it seems to work now, so that's great :)
[00:33] <norbert_> [matroska @ 0x8aa5020] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1 >= 1
[00:33] <norbert_> av_interleaved_write_frame(): Invalid argument
[00:33] <norbert_> is what it says when I try: ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 25 -s 1280x720 -i :0.0+1920,26 -acodec pcm_s16le -vcodec ffvhuff -crf 0 output.mkv
[00:33] <Samus_Aran> norbert_: I would suggest using a dedicated screen capture app, then converting the video it produces. is this OpenGL or simple 2D apps?
[00:33] <JEEB> norbert_, might as well use avi for those codecs, try it out :)
[00:34] <norbert_> there is no avi or libavi
[00:34] <Samus_Aran> JEEB: so you can confirm that the ffmpeg command and output I pasted is in fact re-encoding my audio files?
[00:34] <norbert_> it seems
[00:35] <JEEB> norbert_, no -- I mean set output file name to dot-avi
[00:35] <JEEB> that should switch the container to avi
[00:35] <JEEB> Samus_Aran, that's how it reads like :P
[00:35] <norbert_> JEEB: hey thanks, now it records
[00:37] <Samus_Aran> JEEB: thanks. need to copy over my audio again, then, as I erased several files after I thought I losslessly copied them. oops.
[00:38] <Samus_Aran> blah @ re-encoding then re-encoding then re-encoding audio...
[00:41] <norbert_> hey thanks again, gotta go
[00:45] <Samus_Aran> JEEB: thanks again for your help.
[01:52] <suddendad> hello
[01:53] <suddendad> is it possible to stream a huffyuv encoded videostream over network?
[02:02] <videoman> Can't fade in a png without it appearing as a black square, seemed to work in earlier versions http://pastebin.com/g9PUKXfp
[02:20] <videoman> alpha is =1 as in fade=out:80:30:alpha=1
[11:05] <Ertes> Hi guys, I have a mkv with 2 different audio track, both AC3, 48,0 KHz, 16Bit, 6 Channel, but different Kbps...the first is 384, the second is 448
[11:06] <Ertes> My TV can read the second track, but not the first ( Audio not supported ) so i think the problem is the Kbps, ho to change the Kbps from 384 to 448? Thanks
[11:10] <Ertes> I have try with this commnad --- ffmpeg -i input.mkv -vcodec copy -acodec copy -ab 448k output.mkv --- but the audio is always 384 after the complete process...
[11:25] <Ertes> i have a warning for the channel layout, how to set up for the 6 channel?
[13:19] <t4nk461> Hi, when running the ffmpeg configure script with --enable-libfdk-aac, the check of it fails --> /usr/bin/ld: error: cannot find -lfdk-aac ... undefined reference to 'aacEncOpen' ... But libfdk-aac.a is installed under /usr/local/lib
[13:19] <Fjorgynn> and you have compiled libfdk-aac?
[13:19] <t4nk461> yes
[13:19] <Mavrik> t4nk461, did you run ldconfig after installing fdk_aac?
[13:20] <JEEB> that shouldn't be needed for a static lib (.a)
[13:20] <JEEB> only for .so (shared)
[13:20] <Mavrik> ah yes
[13:20] <t4nk461> as described under: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide#FFmpeg
[13:20] <JEEB> t4nk461, does your distribution by default look into /usr/local for headers/libs?
[13:21] <t4nk461> how can I check this?
[13:23] <JEEB> -print-search-paths for libraries it seems? And just -v when compiling a random c file for header search paths
[13:34] <t4nk461> when compiling with -v LIBRARY_PATH does not contain /usr/local. How to set it up? I added LD_LIBRARY_PATH=/usr/local/lib to my .bashrc?
[13:35] <JEEB> --extra-ldflags="-L/usr/local/lib"
[13:35] <JEEB> when configuring
[13:35] <JEEB> LD_LIBRARY_PATH is used for shared libraries when loading them at runtime, so that is unrelated
[13:36] <t4nk461> But where do I set it permanently?
[13:37] <JEEB> you really can't
[13:37] <JEEB> unless you want to recompile your toolchain :P
[13:37] <JEEB> you'll just have to get used to the fact that you will have to add -L/usr/local/lib to the linking stages of things
[13:38] <t4nk461> ok, thanks
[16:23] <Seablade> Real quick question, getting unknown input format concat event hough it is listed int he available filters with the command... ffmpeg -f concat -i temp.txt msg.mp4
[16:23] <Seablade> Any ideas?
[16:26] <Seablade> The entire output is what I posted except the ffmpeg version number, which I have tried a HEAD compiled from a few months back and 0.8.5, built Feb5
[16:27] <Seablade> If there is nothing obvious from my command setup that is all I need to know, only have five minutes or so to get this done sadly
[16:27] <durandal_1707> cant help yuo until i see full uncut output
[16:28] <Seablade> durandal_1707, I repeat what I jsut meantioned but since you insist...http://pastebin.com/D4gdLHCc
[16:29] <durandal_1707> Seablade: you are using wrong and old version
[16:29] <Seablade> durandal_1707, Thus why I mentioned I have tried with a HEAD fversion from a few months back as well, this is on two different computers
[16:30] <Seablade> durandal_1707, What I need to know, is is there anything wrong with the command, or should it work assuming my version is up to date
[16:30] <durandal_1707> Seablade: what HEAD version?
[16:30] <Seablade> durandal_1707, I compiled SVN head from a few months back, that computer is in a different room right now I can't get you the exact revision
[16:30] <durandal_1707> no you are using ffmpeg from Libav
[16:31] <durandal_1707> SVN head is old and not maitained/updated at all
[16:31] <durandal_1707> you should use git head
[16:31] <Seablade> durandal_1707, Ok good to know thanks, my question does still remain, is there anything wrong with the basic command structure?
[16:31] <durandal_1707> command should work with latest ffmpeg from FFmpeg project
[16:31] <Seablade> durandal_1707, Thank you
[16:32] <Seablade> durandal_1707, That is what I needed to know
[16:32] <durandal_1707> Seablade: you get list of supported formats with: ffmpeg -formats
[16:33] <Seablade> durandal_1707, Ahh thank you that is what I was messing up
[16:34] <Seablade> Yea this Ubuntu package deperecation is ebing annoying on this machine, my OS X machine apparently was from the deprecated version, trying to download and build hnow
[16:35] <Seablade> durandal_1707, Yep installing that ppa right now in fact;)
[16:37] <Seablade> durandal_1707, And that ppa doesn't seem to have an up to date version with concat format, yea;)
[16:37] <Seablade> durandal_1707, At least not for precise
[16:39] <durandal_1707> Seablade: that is 0.10.6 version?
[16:39] <durandal_1707> concat is in 1.1
[16:39] <Seablade> durandal_1707, Yep
[16:39] <Seablade> durandal_1707, And yep:)
[16:39] <Seablade> durandal_1707, Gotta love it
[16:40] <Seablade> durandal_1707, Ok well my time limit passed, was trying to fix something for a live event on the fly, thanks very much for the help
[16:40] <Seablade> durandal_1707, Ill fight through setting up the build environment for something up to date later
[16:49] <creep> h
[17:37] <creep> somebody know where to get gtk+-2.0-dev? it should be here i think... ftp://ftp.gtk.org/pub/
[17:52] <creep> somebody know of a good qr code reader/generator for linux (opensource) ?
[19:24] <karlox> hi all
[19:25] <karlox> wich is the status of rtmp support in ffmpeg?
[19:32] <durandal_1707> karlox: there is native and wrapper one
[21:13] <njhbnjhbn> hi all! need help
[21:14] <njhbnjhbn> i want to join a still image and an audio file to a video file
[21:15] <creep> how do i make 1 image from webcam with ffmpeg and exit ?
[21:15] <njhbnjhbn> i used the following command: ffmpeg -loop 1 -f image2 -r 1 -i dragon2.jpg -shortest -i a.mp3 -acodec copy -vcodec libx264 out.mp4
[21:15] <njhbnjhbn> but the -shortest option is ignored, it loops forever
[21:15] <njhbnjhbn> the video keeps growing and growing until i cancel
[21:27] <njhbnjhbn> i fixed it by using an older version from 2012
[21:42] <saste> creep: ffmpeg -f v4l2 -t 3 -i /dev/video0 -updatefirst out.png or something like that
[21:42] <saste> you should keep the device open for a few seconds, so that it can adjust brightness/contrast
[00:00] --- Mon Feb 11 2013
More information about the Ffmpeg-devel-irc
mailing list