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

burek burek021 at gmail.com
Sat Jul 7 02:05:02 CEST 2012


[00:27] <teratorn> judget: probably you need git libvpx
[00:30] <judget> I followed the outline that llogan provided the link for and all is well now. I have a nice newly built ffmpeg now thanks everyone for the work and the help!
[00:30] <judget> the Ubuntu 11.10 has an older verison of libvpx but the outline has the instr to build the new version
[01:13] <nutron> cluster encoding... possible?
[02:44] <dan_> hi
[02:44] <dan_> so, ac3 packets... 32ms? not 32ms?
[02:45] <dan_> it seems most ones that i find are 2880 clock ticks long... but using PTS to calculate length, a bunch are only 2879
[04:08] <sevenninety> Hello all, I am trying to do screen captures with -f x11grab to x264/aac mp4.  I am trying to restrict the bitrates and -minrate is not being honored.  Is there a way to force the minimum bitrate?
[04:35] <Ayoo> hey
[04:36] <Ayoo> I need help finding the binaries that ffmpeg auto installer made.
[05:12] <diegoviola> Ayoo: use your distro package manager to install ffmpeg
[05:20] <Ayoo> hey
[05:20] <Ayoo> diegoviola:
[05:21] <Ayoo> I used that installer because I could also install MEncoder MPlayer FLVTool2.
[05:21] <Ayoo> I'm knew to this sort of stuff.
[05:23] <diegoviola> Ayoo: you could use your distro package manager to install all that
[05:23] <diegoviola> Ayoo: where did you got that installer?
[05:24] <Ayoo> I just wget the installer from the ffmpeg auto installer website.
[05:25] <Ayoo> then ran the auto install
[05:25] <diegoviola> Ayoo: you installed it as root?
[05:25] <diegoviola> Ayoo: which ffmpeg
[05:25] <Ayoo> yeah
[05:25] <diegoviola> Ayoo: what does that tells you
[05:25] <Ayoo> http://ffmpeginstaller.com/
[05:26] <Ayoo> Does come with very good instructions from what I could find.
[05:26] <diegoviola> Ayoo: which ffmpeg -- what does that tells you
[05:26] <Ayoo> I know it installed I just don't know where.
[05:26] <Ayoo> what does what tell me?
[05:26] <diegoviola> Ayoo: run this command: which ffmpeg
[05:26] <diegoviola> Ayoo: run it in your shell
[05:26] <Ayoo> oh
[05:26] <Ayoo> alright
[05:27] <Ayoo> nothing came up.
[05:27] <diegoviola> Ayoo: it says "no ffmpeg" or something?
[05:27] <Ayoo> nope just went to the next line.
[05:28] <diegoviola> Ayoo: i would use find(1)
[05:28] <diegoviola> Ayoo: $ find / -name ffmpeg
[05:29] <diegoviola> Ayoo: not sure where that script installs stuff
[05:29] <Ayoo> that command wasn't found.
[05:29] <diegoviola> Ayoo: but if which(1) can't find it, then it's not installed or it's not in your path
[05:30] <diegoviola> Ayoo: run find without the $
[05:30] <diegoviola> Ayoo: find / -name ffmpeg
[05:30] <diegoviola> Ayoo: like this
[05:30] <Ayoo> ah
[05:30] <diegoviola> Ayoo: that should tell you the path where ffmpeg is, then add the path to your $PATH
[05:31] <burek> Ayoo, why are you using "installer"
[05:31] <burek> it's probably packed with bunch of viruses
[05:31] <burek> why don't you install ffmpeg in a normal way?
[05:31] <diegoviola> burek: yeah i told him to use his distro package manager
[05:33] <Ayoo> I don't think I installed it right.
[05:33] <burek> read it and follow the instruction
[05:33] <burek> and delete that "installer"
[05:33] <burek> you don't need it
[05:33] <Ayoo> I already ran the installer
[05:34] <burek> well then run antivirus software too :)
[05:34] <Ayoo> It's not a virus
[05:34] <burek> because you probably installed yourself a nice new shiny virus with it
[05:34] <burek> since I never heard of anyone using that thing
[05:34] <burek> except for you, of course
[05:34] <Ayoo> http://ffmpeginstaller.com/ seems pretty popular
[05:34] <burek> yeah
[05:34] <burek> very
[05:34] <burek> except that nobody has heard for it
[05:35] <diegoviola> Ayoo: we don't support that installer here
[05:35] <Ayoo> It doesn't appear very shady to me.
[05:35] <burek> http://ffmpeg.org/download.html
[05:35] <burek> read that
[05:35] <burek> I'm out
[05:35] <burek> o/
[05:36] <Ayoo> diegoviola: would the package manager be a cpanel thing?
[05:37] <diegoviola> Ayoo: no, it comes with your distro, you run from the command line "yum install ffmpeg" and that installs it for you
[05:38] <Ayoo> No package ffmpeg available.
[05:38] <diegoviola> Ayoo: you probably have to add some repo then in centos then
[05:38] <diegoviola> Ayoo: you probably have to add some repo in centos then*
[05:38] <diegoviola> Ayoo: please ask in #centos for that
[05:39] <diegoviola> Ayoo: rpmfusion or rpmforge maybe
[05:39] <Ayoo> that seems like such a pain
[05:39] <diegoviola> Ayoo: it's not a pain, it's a one-liner that you run as root to add the repo
[05:39] <diegoviola> Ayoo: i would recommend removing that shady installer before adding the repo first
[05:40] <diegoviola> Ayoo: once you add the centos repo you can then do: "yum install ffmpeg mplayer etc"
[05:40] <Ayoo> alright
[05:40] <diegoviola> Ayoo: that will put everything in your path too, so it's easier
[05:41] <diegoviola> just ask in #centos ;)
[05:41] <Ayoo> I would but I think there's a problem with that channel it wont let me type.
[05:41] <diegoviola>  /join #centos
[05:42] <Ayoo> ah I need to register.
[05:43] <diegoviola> yeah i would do that
[05:44] <Ayoo> do you know the irc register command?
[05:47] <diegoviola> try /msg nickserv register help
[05:48] <diegoviola> err
[05:48] <diegoviola>  /msg nickserv help register
[05:48] <diegoviola> the second command
[06:19] <Ayoo> heeeey diegoviola
[06:19] <Ayoo> my man, shit's working. thanks a lot.
[06:20] <Ayoo> Do you use centos 6 also?
[06:23] <Ayoo> I was told to use the command locate but that doesn't work at all.
[06:23] <Ayoo> find / -name is awesome
[06:47] <Ayoo> hey
[06:47] <Ayoo> has anyone tried to install flvtool2 and got the error stating you need /ruby/?
[06:48] <Ayoo> I would just install ruby but there isn't just a ruby there's rubygems and a whole load of other stuff.
[08:46] <automatical> hey guys, I've got a really nice set of commands that will create a pic in pic video from 2 videos with a background image - i'm converting to ogv. What's the best way to prevent colour loss? (blue is turning orange)
[11:46] <Ayoo> has anyone here installed Mediainfo on centos 6?
[11:47] <ubitux> what's the relationship with ffmpeg? :)
[11:47] <ubitux> maybe you want to ask about ffprobe?
[11:48] <Ayoo> ffprobe?
[12:57] <jameshowe> docs say -async is deprecated and should be replaced with asyncts filter, but what exactly do I replace "-async 2" with?
[13:53] <burek> jameshowe, try -af asyncts
[13:53] <burek> http://ffmpeg.org/ffmpeg.html#asyncts
[14:17] <jameshowe> i've read all that but there's no example of how you specify the parameters
[16:22] <bash`> hi all
[16:23] <bash`> any idea why I get "error: URL_WRONLY undeclared" even if I include libavformat/avformat.h?
[16:24] <bash`> this is the source: https://github.com/pculture/miro/blob/Miro-5.0/tv/linux/miro-segmenter.c
[16:24] <bash`> I'm using ffmpeg 0.11
[16:24] <bash`> whops....
[16:24] <bash`> FFmpeg USER channel :(
[16:25] <bash`> sorry for the noise, bye
[21:17] <barry_> ooh just saw this channel - been using ffmpeg recently - very happy
[21:25] <Mavrik> ^^
[21:32] <Olson> mmm
[21:32] <Olson> I thought I had a problem but it's my own ineptitude I think
[21:33] <barry_> is this the guys who made ffmpeg or who develop it or develop on top of it?
[21:34] <Olson> the developers would be in the developer channel I should think
[21:35] <Olson> read topic :)
[21:35] <barry_> hehe sorry mind racing all over the place, thanks
[21:36] <barry_> been using ffmpeg recently to merge together auto generated videos
[21:36] <Olson> I wrote a little script to start screengrabbing.. but now I see it makes the audio go out of sync.. i'm so useless   http://www.pasteall.org/33506
[21:36] <Olson> the command works fine on its own it seems
[21:37] <Olson> just recorded a 25 minutes tutorial only to find by the end the audio is so far out it's useless :P
[21:37] <Olson> it was rubbish anyway
[21:40] <Olson> i can't work it out because sometimes it seem to work ok and others not
[21:41] <burek> Olson, try updating your ffmpeg
[21:41] <Olson> burek, ye.. just did that and running some more test now
[21:41] <Olson> do you know if it was some bug that happen recently at all or so?
[21:43] <Olson> seems like it ok again.. mm
[21:43] <burek> can't tell since you didn't provide the output
[21:43] <barry_> try different video formats perhaps before you get into it in more detail - i mean convert to other formats and see if it fixes it
[21:44] <Olson> yeah the lag when I recorded a few minutes ago was present both in original recording and on the convertion
[21:44] <Olson> but now it seem a better
[21:44] <Olson> maybe it be ok
[21:44] <Olson> I must go :) thanks <3
[21:46] <llogan> Olson: try -crf 0 next time
[21:54] <Olson> oky :)
[21:56] <Olson> it seem ok just now, unless it only happens when there is much audio data to capture from the mic over a period of time
[21:59] <barry_> nighty night :)
[22:02] <redcat> I'm trying to push a recorded movie out to Wowza as a live stream. Details are at http://pastebin.com/JEkMTLFA. Basically, I'm trying to push the stream out as h.264/aac or h.264/mp3 and getting an error message reading "Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height". Tips on how to resolve the issue would be appreciated.
[22:05] <llogan> redcat: it appears your ffmpeg version is quite old. try adding "-vpre normal"
[22:06] <microchip_> [libx264 @ 0x8a71140]broken ffmpeg default settings detected
[22:06] <microchip_> [libx264 @ 0x8a71140]use an encoding preset (vpre)
[22:16] <redcat> Thanks, llogan. I'll have to find and download the preset files first: "File for preset 'normal' not found"
[22:21] <redcat> Adding "-vpre normal" just changes the error message. Now I get:
[22:21] <redcat> Seems stream 1 codec frame rate differs from container frame rate: 11988.00 (11988/1) -> 30.12 (5994/199)
[22:21] <redcat> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/dan/Movies/Buchanan_480x270_816Kbps.m4v':
[22:21] <redcat>   Metadata:
[22:21] <redcat>     major_brand     : M4VP
[22:21] <redcat>     minor_version   : 1
[22:21] <redcat>     compatible_brands: M4VPM4A mp42isom
[22:21] <redcat>     encoder         : CoreMediaAuthoring 706, CoreMedia 484.60, i386
[22:21] <redcat>   Duration: 01:21:02.88, start: 0.000000, bitrate: 958 kb/s
[22:21] <redcat>     Stream #0.0(und): Audio: aac, 44100 Hz, mono, s16, 131 kb/s
[22:21] <redcat>     Stream #0.1(eng): Video: h264, yuv420p, 480x270 [PAR 1:1 DAR 16:9], 816 kb/s, 30.12 fps, 30.12 tbr, 5994 tbn, 11988 tbc
[22:21] <redcat> [libx264 @ 0x91f6110]using SAR=1/1
[22:21] <redcat> [libx264 @ 0x91f6110]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[22:21] <redcat> [libx264 @ 0x91f6110]profile High, level 2.1
[22:21] <redcat> [mp4 @ 0x91f4fa0]muxer does not support non seekable output
[22:21] <redcat> Output #0, mp4, to 'rtmp://live.clickstreamtv.net:8086/live/test':
[22:21] <redcat>     Stream #0.0(eng): Video: libx264, yuv420p, 480x270 [PAR 1:1 DAR 16:9], q=10-51, 958 kb/s, 90k tbn, 30 tbc
[22:21] <Mavrik_> redcat, please use pastebins.
[22:21] <redcat>     Stream #0.1(und): Audio: libmp3lame, 44100 Hz, mono, s16, 64 kb/s
[22:21] <redcat> Stream mapping:
[22:21] <redcat>   Stream #0.1 -> #0.0
[22:22] <redcat>   Stream #0.0 -> #0.1
[22:22] <redcat> Could not write header for output file #0 (incorrect codec parameters ?)
[22:22] <Mavrik_> redcat, and dont' spam the channel
[22:22] <Mavrik_> redcat, for new libx264 you need to pass "-preset" instead of "-vpre"
[22:25] <llogan> redcat: no, you should not download and use preset files. you must use the ones that come with your ffmpeg.
[22:26] <llogan> you can see your available old-ass presets in /usr/(local)/share/ffmpeg
[22:43] <burek> redcat, update your ffmpeg
[23:09] <redcat> I updated to a more current ffmpeg and tried again. Results at http://pastebin.com/VA7rppgh. Still getting "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height" message.
[23:19] <iive> redcat:  "x264 [error]: invalid preset 'ipod640' "
[23:22] <iive> redcat: try replacing -preset with -fpre or -vpre
[23:22] <iive> it may also be -vpre libx264-ipod640
[23:23] <JEEB> that preset IIRC was just profile baseline, level 30, maxrate and bufsize to 10m (10000k)
[23:24] <iive> well, the -preset now sends the preset to x264 not ffmpeg, this is what causes the problem.
[23:26] <testt> how to add a audio stream using ffmpeg to a file (.mp4 h-264) generated by x264.exe
[23:27] <zap0> how does who generated it matter?
[23:28] <testt> doesnt matter but what i meant is the .mp4 clip doesnt have an audio stream
[23:30] <redcat> D'oh! I missed that preset error.  Removed the preset argument, now get results shown in http://pastebin.com/7UHGYuEh. That pastebin also lists the names of the preset files available with the version of ffmpeg I just compiled (5 for libvpx and 2 for libx264).
[23:40] <testt> how to add a audio stream (.wav) to a video file (.mp4) without re-encoding the video, can anyone tell me the command line to be used?
[23:40] <testt> ffmpeg -i video.mp4 -i audio.wav .. and what else?
[23:41] <iive> -vcodec copy -acodec copy output.mp4 ?
[23:41] <iive> if you are lucky, you may not even need to map it.
[23:41] <testt> let me try and what if i am unlucky ;)
[23:45] <testt> [mp4 @ 02E60060] Tag [1][0][0][0]/0x00000001 incompatible with output codec id '
[23:45] <testt> 65536'
[23:45] <iive> no idea what that means.
[23:47] <microcolonel> what would the codec ID FFFF belong to anyway?
[23:50] <llogan> can MP4 even support that?
[23:54] <testt> i cant export the audio stream to .aac
[23:54] <testt> ffmpeg -i in.avi -acodec copy out.aac doesnt work
[23:57] <testt> why doesnt it export to .aac?
[23:59] <llogan> "doesn't work" is a very common error here.
[00:00] --- Sat Jul  7 2012


More information about the Ffmpeg-devel-irc mailing list