[Ffmpeg-devel-irc] ffmpeg.log.20120621
burek
burek021 at gmail.com
Fri Jun 22 02:05:03 CEST 2012
[01:13] <E0F> hi
[01:15] <E0F> I have ffmpeg installed, it's compiled with support for many encoders (let's just use libmp3lame as an example), lame is installed, libs too, and when I try using "ffmpeg -acodec libmp3lame" I get an "Unknown decoder" error
[01:15] <E0F> what am I missing ?
[01:23] <iive> E0F: did you check if libmp3lame is among the enabled encoders? you need to --enable it, and the check must succeed. Also, don't forget headers for the mp3lame, e.g. debian keeps them in separate -dev packages.
[01:24] <E0F> iive: Well, I tried using the "--enable-libmp3lame" option but ffmpeg doesn't recognize it, moreover it's already in the prefix
[01:25] <E0F> btw, I'm using Fedora and headers seem to be included in the lame-lib package
[01:27] <iive> ./configure --help |less ; then use '/' and 'n' to find any mention of lame
[01:27] <llogan> E0F: you're trying to use it as a decoder. it's an encoder.
[01:27] <llogan> option placement matters
[01:27] <E0F> hum, so how should I put my options then ?
[01:27] <llogan> use a pastebin site to show your ffmpeg command and the complete console output
[01:28] <E0F> ok
[01:28] <iive> llogan: nice catch.
[01:28] <llogan> ffmpeg [input options] -i input [output options] output
[01:28] <iive> E0F: btw, the decoder may not be supported, see if ffplay can playback the audio
[01:28] <E0F> oh, so that may be the source of the issue
[01:29] <E0F> http://pastebin.com/SPtkXfiH
[01:29] <llogan> i should leave and go outside for solstice.
[01:30] <llogan> ffmpeg -i 1.avi -vcodec copy -acodec libmp3lame -ab 192k ggg.avi
[01:31] <E0F> thanks i'm going to try this
[01:31] Action: llogan would personally use -aq 4 instead of -ab 192k
[01:31] <E0F> works like a charm ! Thank you !
[01:32] <E0F> is -aq 4 better ? what's the difference ?
[01:33] <E0F> variable bit rate ?
[01:33] <llogan> it's similar to "lame -V 4" (which happens to be the default for lame, IIRC)
[01:34] <E0F> ok
[01:37] <E0F> hum i'm getting another problem, i'm try to merge several avi files into a single one while converting the audio, so i'm now using "ffmed -i 1.avi -i 2.avi [...] -i 6.avi blah..." but the resulting file consists of the video of one chunk, with the audio of another
[01:38] <E0F> maybe it's because of the input files, they have some frame rate issues I think
[01:38] <llogan> you're trying to concatenate them, or simply dump all video streams into one output?
[01:39] <llogan> requests for concatenation help are very common, but it's usually a bitch to deal with
[01:40] <llogan> (i mean it's not always a trivial thing to do; i don't mean it's a bitch to help)
[01:40] <E0F> yeah I got it, bitch to deal with
[01:40] <E0F> I'm trying to merge those files into a single one, so yeah, concatenation
[01:42] <llogan> some formats are easier to do that than others
[01:43] <llogan> i need to go now, but maybe someone else can help or trawl ffmpeg-user mailing list.
[01:43] <llogan> there is also http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f
[01:43] <E0F> I'd like to do so because I don't want to reprocess all the files with pitivi or other, it takes a lot of time (though I can let it run all night), I'll probably lose quality and I must keep on with xvid and mp3 because it's for a friend of mine who wants it on dvd
[01:44] <E0F> ok ok, thank you for all your precious help !
[01:44] <E0F> i'll read this page and maybe i'll find a solution
[01:44] <E0F> thank you :)
[01:45] <llogan> maybe you could still use pitivi and output using lossless format (huffyuv, ffvhuff, ffv1, etc) and then re-encode with ffmpeg if you don't like the way pitivi encodes
[01:45] <llogan> i'm not familiar with pitivi though
[01:46] <E0F> pitivi was only an example, and I don't think it allows lossless codecs, exepted for flac
[01:46] <llogan> kdenlive does
[01:47] <llogan> or you can make your own encoding presets
[10:17] <DeusFigendi> Hi, I don't realy get it ^.^ I want to merge two videos side by side and I tried this:
[10:17] <DeusFigendi> ffmpeg -i left.mp4 -i right.mp4 -vf pad=iw*2:0:0:0 -filter_complex overlay=640:0 result.mp4
[10:17] <DeusFigendi> but it results in
[10:17] <DeusFigendi> Unrecognized option 'filter_complex'
[10:17] <DeusFigendi> Failed to set value 'overlay=640:0' for option 'filter_complex'
[10:17] <DeusFigendi> does it mean there is no "filter_complex"-Option?
[10:18] <spaam> what version of ffmpeg are you using ?
[10:18] <DeusFigendi> just a second
[10:18] <DeusFigendi> ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
[10:18] <DeusFigendi> built on Jun 12 2012 16:52:09 with gcc 4.6.3
[10:24] <spaam> i gusss you need newer version like 0.9
[10:24] <DeusFigendi> hum
[10:25] <spaam> it was not in 0.9 or 0.10
[10:25] <spaam> 0.11 have it
[10:26] <DeusFigendi> holy....
[10:26] <DeusFigendi> okay I'm just looking for binaries...
[10:29] <DeusFigendi> hm sometimes no version is called and sometimes it's to low XD
[10:30] <DeusFigendi> maybe I should complile it by myself
[10:32] <DeusFigendi> well I'll see... thanks so far spaam
[10:32] <spaam> there is a guide how you compile it on ubuntu :)
[10:32] <spaam> from git.
[10:32] <spaam> there is a guide in the topic
[10:33] <spaam> "Ubuntu compile guide: http://goo.gl/9l5Nl "
[10:34] <DeusFigendi> mhm
[10:34] <DeusFigendi> okay
[10:43] <ayad02> hello everybody
[10:45] <ayad02> can you help me to get on the sony camera the video mpeg4 and to convert to .mp4
[10:45] <ayad02> here's my comman but i don't have a good resultat
[10:47] <ayad02> ffmpeg -i http://@IP/image -b 1024 -s 640x480 -vcodec mpeg4 image.mp4
[10:47] <ayad02> ffmpeg -i http://@IP/image -b 1024 -s 640x480 - t 30 -vcodec mpeg4 image.mp4
[10:48] <ayad02> but the encoding take many time and no finish
[10:48] <ayad02> can you help me plz
[11:23] <Spider-Pork> I'm trying to stream pcm ulaw/alaw 64kbit/s to VLC. I do this http://paste.debian.net/175599/ and after a while the program go to segmentation fault. Meanwhile the audio is ok (but the speed of the stream is not 64kbit/s). Any idea? Thank you
[11:34] <Spider-Pork> still get segmentation fault :/ Any idea? Thank you
[11:40] <saste> Spider-Pork: please retry with latest git
[11:41] <Spider-Pork> saste: ok thank you
[11:59] <gavlig> hello everybody! Can anybody tell me, please, do i need to convert pix_fmt from bgr24 to yuv420p when i transcode video? I need to get mpeg4 with yuv420p from raw video with bgr420p pix_fmt and when i try to transcode it without conversion, program sigsegvs on encoding. Looks like linesize and data arrays of that frame are causing that crash because they have only one value instead of needed three values. Any thoughts? thanks in advance :) her
[12:08] <saste> gavlig: crash -> important bug, should be reported on trac
[12:10] <JEEB> gavlig, every encoder has its own list of px_fmts it takes in
[12:10] <JEEB> and yes, most video is 4:2:0 YCbCr
[12:10] <gavlig> saste: sorry, my fault, i forgot to mention that i'm not using directly ffmpeg, i'm using libav(avcodec, avformat,avutil) in my application, so i guess it's not ffmpeg's bug, but mine
[12:11] <JEEB> *pix_fmts
[12:11] <JEEB> and if you try to stick X into Y, it will fail, miserably -- unsurprisingly
[12:11] <gavlig> JEEB: i'm not that familiar with ffmpeg and video formats so that tells me nothing, sorry :(
[12:12] <zap0> gavlig, can you perform the same conversion using ffmpeg command line app?
[12:12] <gavlig> where am i trying to stick X int Y?
[12:12] <JEEB> well, the first line should be enough of a hint
[12:12] <gavlig> zap0: i didn't try
[12:12] <JEEB> if you've got rgb and your encoder doesn't take in rgb
[12:13] <JEEB> you should be able to query the formats an encoder can take in
[12:13] <gavlig> how do i do that?
[12:13] <JEEB> otherwise ffmpeg wouldn't be able to correctly autoconvert during encoding
[12:13] <zap0> gavlig, it will help us to see what you are trying to do.
[12:14] <gavlig> i'm ready to provide you any info you need to help me :)
[12:14] <JEEB> I have no idea how to do it API-wise, but there's an AVCodec data thing in every encoder (and probably decoder) that has an entry .pix_fmts
[12:14] <gavlig> yes, there is
[12:14] <gavlig> ah, i see now
[12:14] <gavlig> ok, i'll check that
[12:14] <JEEB> it's basically an enum of pix_fmts
[12:15] <gavlig> so, if there is no bgr24 there, i need to convert it into another pix_fmt, right?
[12:15] <JEEB> yup
[12:15] <gavlig> cool, thanks!
[12:16] <gavlig> and about that "stick X into Y" thing you told me before, was it about pix_fmt conversation?
[12:16] <JEEB> yes
[12:17] <JEEB> in the worst case you might be telling the encoder "here's data for this pix_fmt, take it" while it is something completely different. And then it crashes awfully as it tries to take your input as whatever it supports
[12:17] <gavlig> is it in sws_scale, where i place aCtx->height into srcSliceH?
[12:18] <JEEB> no idea
[12:18] <gavlig> i think the data i provide encoder with is relevant to it's pix_fmt
[12:21] <gavlig> JEEB: i'm sorry for being stupid here, but what did you mean by "sticking X into Y"?
[12:21] <JEEB> sticking something the encoder doesn't like into the encoder, it was a simple WhateverThisWasCalledInEnglish
[12:22] <gavlig> ok, thanks
[12:26] <gavlig> JEEB: you were right, encoder supports only YUV420p as it's the only one item listed in pix_fmts. Looks like my converting function doesn't work the right way
[13:06] <Guest14960> hi guys - i am trying to recompile ffmpeg, but unable to - "error:can't find a register in class 'BREG' while reloading 'asm'" - http://pastebin.com/xaR93txL. Could someone take a ook?
[13:06] <Guest14960> *look
[13:47] <gavlig> another question - how do I avoid video flipping? raw video again and it's being flipped after i transcode it or even move frames without transcoding from one stream to another. I've noticed, that there is a "flip" field in the RawVideoContext struct and it's 1, but changing it manually doesn't help.
[13:57] <gavlig> ok, now it is flipped only without transcoding, manual changing of RawVideoContext struct was a bad idea
[14:07] <gavlig> so, any idea, what do i need to change to make video stop flipping after i cut it by copying it's frames to another context?
[14:32] <zap0> offtopic: anyone know a channel i can ask about drawing waveforms?
[14:35] <saste> zap0: just committed yesterday a filter for that, check showwaves
[14:36] <zap0> saste, happy coincidence!! i am too noob with svn/checkout abilities to fetch the code. have you a link to the code or an archive?
[14:37] <saste> zap0: you know how to read english and follow some simple instructions on the download page in the website
[15:29] <packz> hola folks, what is the best method to apply a watermark to a video with ffmpeg?
[15:30] <Guest14960> saste: you would remember, i had a problem yesterday with pix_fmt of fbdev, i've patched that code, but have been unable to compile ffmpeg ever since, could you take look? - http://pastebin.com/rSztkCbD
[15:30] <packz> some time ago I used -vhook but now is missing
[15:32] <saste> Guest14960: can you show the patch?
[15:32] <saste> packz: no vhook since at least three years, use libavfilter instead
[15:34] <Guest14960> saste: minor change: added a line - ln 62 - http://pastebin.com/LTd7B4FU, ffserver executable is getting created post make, checkinstall but not ffmpeg
[15:36] <saste> Guest14960: I mean the output of git diff
[15:39] <c10ud> i have a question regarding mp4 and the moov atom thing. i'd like to stream a webcam and it looks like if you want to support all platforms x264 with mp4 is the only answer
[15:39] <c10ud> however i see mp4 cannot be streamed because of that moov atom thing: i tried instructing ffserver with the empty atom but no luck, i still cannot get it working
[15:40] <c10ud> i wonder if movenc needs to be patched somehow or it's possible to obtain a good stream with movenc properties
[15:40] <Guest14960> saste: i took the happiness tarball, and changed fbdev.c
[15:40] <c10ud> already
[15:40] <c10ud> the internet suggests using some external program that patches the video, but ofcourse that doesn't apply for a dynamic stream
[15:47] <packz> saste: which video filter I have to use, overlay?
[15:49] <saste> packz: movie + overlay
[15:50] <packz> saste: ok, I will try, thanks
[16:00] <Spider-Pork> saste: same problem (latest 0.11.1 downloaded from ffmpeg) http://paste.debian.net/175648/
[16:03] <Guest14960> saste: here's the git diff and config log - http://pastebin.com/Qbs0RErS
[16:03] <Diogo> hi anyone works with microsoft mediaroom?
[16:03] <Diogo> i need to ask some questions about smooth streaming..
[16:04] <saste> Spider-Pork: I meant latest *git*, also... does it crash with a normal audio file?
[16:04] <Spider-Pork> saste: with latest from git ffmpeg crash before starting
[16:04] <saste> Guest14960: patch seems correct, can't comment on your build issue
[16:04] <Spider-Pork> saste: i'll try
[16:05] <saste> Spider-Pork: always crash??
[16:05] <Spider-Pork> yep
[16:05] <saste> what exactly crash it?
[16:05] <Spider-Pork> wait, i rebuild it
[16:07] <saste> Spider-Pork: try this: ffmpeg -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234
[16:07] <Spider-Pork> ok
[16:08] <Spider-Pork> saste: it works but sound has some glitch
[16:08] <Spider-Pork> and stream is 68kbit/s
[16:09] <Guest14960> saste: any idea why would this come - "can't find a register in class 'BREG' while reloading 'asm'"?
[16:09] <saste> Guest14960: that's an old issue, try disabling optimizations
[16:11] <saste> Spider-Pork: audio stream is 8000*8 * 2 / 2 = 64000
[16:11] <gavlig> guys, is there any common way to break seeking after transcoding? :) avformat_seek_file returns -1 on files that i transcoded before with my program.
[16:11] <saste> so that's just expected
[16:12] <saste> leaving, bye...
[16:12] <gavlig> bye
[16:12] <Spider-Pork> saste: but it crash with alsa
[16:12] <Spider-Pork> :/
[16:12] <Spider-Pork> bye, thank you
[16:26] <Spider-Pork> I still can't catch audio from mic with pcm :/
[16:26] <Spider-Pork> is the oldest codec :/
[16:27] <burek> Spider-Pork, can you please use pastebin.com, to show your command line and its output?
[16:27] <Spider-Pork> yep
[16:29] <Spider-Pork> burek: http://pastebin.com/WxQ15vyu
[16:30] <Spider-Pork> the sound is perfect for few seconds, then the program go in segmentation fault
[16:30] <Spider-Pork> and the stream is not 64kbit/s
[16:31] <Spider-Pork> but i said to it to use 8000 sample for second in pcm_mulaw (8bit)
[16:32] <burek> try without mulaw
[16:32] <burek> try just setting the output to out.wav
[16:33] <burek> ./ffmpeg -f alsa -ar 8000 -ac 1 -i hw:1,0 out.wav
[16:33] <burek> and your ffmpeg is very strange
[16:33] <burek> it duplicates things a lot
[16:33] <burek> you could compile it from latest git, just to be sure
[16:34] <Spider-Pork> burek: it's ok, no error and sound is clear
[16:34] <Spider-Pork> *clean
[16:34] <burek> then alsa is fine
[16:34] <burek> the problem lies somewhere in mulaw or rtp
[16:34] <burek> can you use gdb to debug?
[16:34] <Spider-Pork> i never used it but i can install
[16:34] <burek> you have info here
[16:34] <burek> http://ffmpeg.org/bugreports.html
[16:35] <burek> that way we can narrow down the exact line that is problematic
[16:35] <burek> and hopefully fix it :)
[16:35] <Spider-Pork> thank you burek
[16:35] <burek> :beer: :)
[16:36] <Diogo> hi i'm using this command to insert subtitles on a movie..
[16:36] <Diogo> command: /servers/ffmpeg/bin/ffmpeg -i legendas_ok.mp4 -i 67_Rpzfm.srt bla222.mp4
[16:36] <Spider-Pork> doh :)
[16:36] <Diogo> but the subtitiles don't appear...
[16:36] <Diogo> i'm doing something wrong?
[16:49] <grift> Anyone have optimization tips/suggestions or other neat tips for this: http://fpaste.org/86Op/ please?
[16:53] <Spider-Pork> burek: not started again to debug but seems to be a problem in converting from s16_le to pcm_mulaw. ./ffmpeg -f alsa -ar 8000 -ac 1 -i hw:1,0 -ar 8000 -f mulaw out.wav crash too (segmentation fault)
[17:02] <burek> Diogo, yes you are
[17:03] <burek> Diogo, can you please use pastebin.com, to show your command line and its output?
[17:04] <burek> Spider-Pork, the only way to resolve that issue is a gdb debug output
[17:04] <Spider-Pork> yep, i'll do it
[17:06] <grift> anything wrong with my question or is my command line just optimal? i would like it as light as possible without degrading quality too much
[17:09] <Spider-Pork> burek: "As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists." ---> do you have the git link to that branch?
[17:14] <burek> Spider-Pork, download page
[17:15] <burek> grift, for x264 type x264 --help
[17:15] <burek> and see all of it's options you can use
[17:15] <burek> mostly you'll need -crf and -preset
[17:15] <Spider-Pork> git://github.com/FFmpeg/FFmpeg.git ?
[17:16] <iive> ffmpeg.org ?
[17:16] <burek> also "optimization tips/suggestions or other neat tips" is very ambiguous.. when you optimize something, you do it based on some criteria (like speed, quality, cpu usage, etc)
[17:17] <burek> why did you look into "Other Repositories" ? :)
[17:17] <burek> the first link is what you need :) git://source.ffmpeg.org/ffmpeg.git
[17:17] <grift> burek: "as light as possible without degrading quality too much"
[17:18] <burek> define light
[17:19] <Spider-Pork> thank you. I used it this morning but the program crash and my xterm too (can't see commands that i type for example)
[17:19] <Spider-Pork> so seems to be not so stable
[17:20] <grift> as little strain on my system as possible burek
[17:20] <JEEBsv> on encoding or decoding side?
[17:20] <gavlig1> i'm sorry for being insistent, but this issue with avformat_seek_file doesn't let me go on. I've tracked down the cause of the error and it is ff_index_search_timestamp which returns -1. I have no idea what is stream index(except stream index in AVFormatContext) and why it can be -1. the issue is that i can't perform avformat_seek_file on video that i transcoded before. I guess that i'm doing transcoding wrong or i just don't store some valuab
[17:20] <burek> grift, read about -crf and -preset
[17:20] <grift> alright thanks
[17:20] <JEEBsv> do you want the output stream to be as easy as possible for a PC to decode, or do you want to have the encoding to be as fast as possible?
[17:21] <grift> anything
[17:21] <JEEBsv> eh
[17:21] <grift> lol
[17:21] <burek> gavlig1, why don't you take a look at ffmpeg's source code, to see how it's used properly
[17:21] <JEEBsv> a, b, or both?
[17:21] <grift> i just want as little strain on my notebook as possible without losing to much quality
[17:21] <JEEBsv> ...
[17:21] <gavlig1> burek: i thought i already did :)
[17:21] <JEEBsv> is the notebook encoding or decoding?
[17:22] <JEEBsv> or both?
[17:22] <grift> see the command
[17:22] <burek> g2g lunch time :)
[17:22] <grift> http://fpaste.org/86Op/
[17:22] <grift> JEEBsv ^
[17:22] <grift> i just want to optimize whatever its doing there
[17:23] <grift> excuse my ignorance
[17:23] <JEEBsv> ok... so are you doing this on the notebook, or are you just going to play back this stream on the notebook?
[17:23] <grift> i am not going to play back
[17:23] <grift> im just streaming from this device
[17:24] <JEEBsv> ok, thank you for finally saying that :) you might have been running this on your main PC or whatever and then just watching it on the laptop
[17:24] <grift> naw i am streaming this from my notebook and others are playing back
[17:25] <grift> so are my presets optimal? can i use less fps without losing too much quality? can my audio be optimaized?
[17:25] <grift> any other suggestions?
[17:28] <JEEBsv> 1) I wouldn't set threads manually, as at least nowadays libx264 with ffmpeg uses libx264's auto-threading IIRC 2) I'm going to skip your audio, you might or might not find faac a better alternative for low-bitrate encoding 3) preset is a libx264 setting, not an ffmpeg setting, they are listed in the x264 cli binary or @ http://mewiki.project357.com/wiki/X264_Settings#preset , and you should use the slowest one that doesn't give you speed-wise
[17:28] <grift> my ffmpeg doesnt support faac licensing issues
[17:28] <JEEBsv> 4) using crf + vbv-maxrate and vbv-bufsize is good. Set the crf value at the highest that still looks good for you
[17:29] <JEEBsv> yeah, you can't redistribute faac-built-in binaries :)
[17:29] <JEEBsv> there's that other Apache-licensed AAC encoder, and then the experimental one in libavcodec too
[17:31] <JEEBsv> 5) I'm not sure why you are setpts'ing, as for frame rate I don't know -- use as many frames per sec as the encoder can still encode + as many as the bandwidth limitations can support
[17:32] <JEEBsv> that's pretty much it, I'm not commenting on the overlay and maxrate/bufsize values because I am going to assume that you know what you're doing
[17:32] <grift> i set setpts to 20 fps because if i use STARTPTS my webcam feed just hangs
[17:32] <grift> i dont
[17:33] <JEEBsv> well, most of what you're setting looks sane enough
[17:33] <grift> alright ill look into the crf and preset then
[17:33] <grift> see if i can tuned it bit for the better
[17:33] <grift> thanks for your input
[17:34] <JEEBsv> no problem, also just make sure your maxrate/bufsize are as much as you can use :)
[17:34] <grift> how to determine that? by just testing?
[17:34] <JEEBsv> unless you specifically selected those values with certain kinds of connections in mind
[17:34] <grift> nope i just copy /pasted this stuff
[17:35] <grift> and tuned it a little
[17:35] <JEEBsv> basically maxrate is the maximum transfer speed that the encoder can use (within the buffer, it doesn't go over this average rate), and then bufsize is how much the client is supposed to be buffering
[17:35] <grift> but stuff gets out of sync a little after a while and my load is high and i was hoping i could optimize that a little
[17:36] <JEEBsv> so you're basically setting it so that if someone has >=maxrate transfer speed, and buffers at least bufsize of video, that person can watch the stream
[17:37] <JEEBsv> and naturally you should check out the limitations on that streaming site you're using
[17:37] <JEEBsv> they probably have some kind of limits, too
[17:38] <JEEBsv> I have no idea about camera/screen capture with ffmpeg so I'm just going to assume that your setup regarding that actually works :)
[17:38] <grift> it does
[17:38] <grift> it works pretty well
[17:38] <JEEBsv> but yeah, that were my comments on it
[17:38] <grift> alright
[17:39] <grift> after hearing all this , i think ill just be thankful for these results i have already lol
[17:39] <zambo> hey all, trying to slow down a video using setpts like in this example from the docs: ffmpeg -i input -vf setpts=0.05*PTS output
[17:40] <zambo> however I get an error: Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
[17:40] <zambo> I want the quality to stay the same, but if I use -vcodec copy then the file will not be sped up or slowed down
[17:40] <JEEBsv> if your laptop is relatively low-powered and/or if you have to do something that does a nice load you'd probably be better off just sending the picture via LAN or something to a more beefy setup
[17:40] <JEEBsv> and then encoding/streaming from there
[18:25] <Spider-Pork> burek: with the latest version of ffmpeg the program crash without streaming sound and blocking my xterm. The output is there http://pastebin.com/AUacandv
[18:25] <Spider-Pork> with gdb output and debug output
[18:30] <Spider-Pork> so i can't do a bug report with 0.11.1 because is not the latest in development, and i can't do a bug report for the latest one because it crash before start
[18:31] <iive> crash before start?!
[19:01] <Spider-Pork> iive: with 0.11.x the program start to stream (and with sound), after few seconds crash with segmentation fault
[19:01] <Spider-Pork> with latest from git crash before that
[19:01] <Spider-Pork> don't start to stream (and i would to report the crash while is streaming)
[19:01] <iive> then report that crash :)
[19:03] <Spider-Pork> oh gosh
[19:16] <sweb> http://serverfault.com/questions/401019/ffmpeg-fully-html-5-converion-supported
[19:18] <llogan> sweb: this will give you everything you need: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[19:18] <sweb> llogan: i must compile it again ? i cant using standard ffmpeg from package manager ?
[19:18] <sweb> llogan: also i'm using debian not ubuntu ? any different ?
[19:19] <llogan> a few dependency differences probably
[19:20] <llogan> im not familiar enough with the repo version or how you compiled ffmpeg
[19:20] <llogan> use a pastebin site to show the complete output of: ffmpeg -codecs
[19:24] <sweb> llogan: great command ty w8
[19:25] <sweb> llogan: http://pastie.org/private/i3i84rrp9nkgkdqptfz5a
[19:34] <llogan> sweb: it appears to have all of your required encoders
[19:35] <llogan> being libfaac, libmp3lame, libvpx, libx264, libtheora, libvorbis
[19:35] <llogan> i guess you don't actually need libtheora...
[19:36] <llogan> ...oh, you did want that.
[19:40] <sweb> llogan: i must just install it ... ffmpeg can detect it during encode ?
[19:42] <llogan> ffmpeg does not work like that. it's listed in your -codecs output, so your ffmpeg supports it.
[19:53] <burek> Spider-Pork, your ffmpeg didn't crash
[19:53] <burek> /home/adriano/ffmpeg_git/ffmpeg/ffmpeg_g: relocation error: /home/adriano/ffmpeg_git/ffmpeg/ffmpeg_g: symbol avfilter_pad_get_type, version LIBAVFILTER_2 not defined in file libavfilter.so.2 with link time reference
[19:53] <burek> you didn't build it correctly
[19:54] <burek> configure your ffmpeg with: ./configure --enable-libx264 --enable-gpl
[19:54] <burek> make and make install
[19:55] <burek> (before that either install libx264-dev or compile it, just like ffmpeg, it takes 2 minutes.. configure it with: ./configure --enable-shared --enable-static
[19:55] <burek> http://ffmpeg.gusari.org/viewtopic.php?f=25&t=14
[19:57] <burek> also, just to be sure you will have alsa in/out dev built, install libasound2-dev
[19:58] <burek> prior to configuring ffmpeeg
[20:01] <burek> sweb, try this (it's already compiled and built): http://ffmpeg.gusari.org/static/
[20:01] <burek> if it works for you, then you don't need to compile anything
[20:01] <sweb> burek: ty i will try
[20:38] <llogan> burek: his ffmpeg always supports the encoders he wanted
[20:38] <llogan> *already
[20:40] <burek> yes I figured later when I say his paste
[20:40] <burek> saw
[22:11] <gavlig> hey guys, another question- what is video index?(or where can i read about it? google sends me to the media portals) And how can i fix it with ffmpeg?
[22:17] <zambo> is there a way I can get functionality similar to -vcodec copy, but where I specify another file to copy the codec information from (eg, not the -i input file)
[22:19] <llogan> zambo: what do you mean? I don't really understand your question. What are you trying to do?
[22:22] <rainmaker1> Hi, is there any way a ffmpeg can save output file in equal size chunks?
[22:26] <zambo> llogan: Lets say I have 2 files, file a and file b. I want to transcode file a using the codec settings that were used to encode file b
[22:27] <rainmaker1> zambo: I think thats not possible
[22:30] <llogan> zambo: using parameters from one video to encode another is usually not a good idea.
[22:31] <llogan> for example copying the bitrate and encoding using that same bitrate.
[22:35] <rainmaker1> llogan: how can you find out if someone uset some preset for encoding? For example if it used slow or very_slow or fast?
[22:38] <iive> gavlig: it is table in the file, it holds the location in the file and the time of keyframes.
[22:39] <iive> so, when you want to seek, you go to the nearest keyframe before the needed time and start demuxing and decoding from there.
[22:42] <llogan> rainmaker1: if they used x264 then you can: strings input.mp4 | grep x264
[22:42] <llogan> rainmaker1: but if you tell use what you're trying to do we can probably give you a better example then if you tried to duplicate what someone else did
[22:43] <llogan> can you trust what they know that were doing?
[22:43] <llogan> grammar suckage
[22:45] <rainmaker1> llogan: I was just interested about that, not that I would like to copy someone did.. anyway tnx for answer
[23:18] <gavlig> iive: thanks! maybe you know how to restore it with libav? :)
[23:34] <iive> gavlig: if you use ffmpeg, you can just copy the streams to a new file.
[23:35] <gavlig> iive: i'm using ffmpeg's libraries(avcodec, avformat, avutil) but not ffmpeg directly... And i can't find the way they do it in ffmpeg.c
[23:36] <iive> hum. the muxer should create index automatically
[23:40] <iive> if the format supports it. e.g. mpeg-ts/ps/es do not.
[23:40] <iive> i guess it may be controlled by flag, but the example code should use it.
[23:47] <gavlig> iive: ok, thank you! I'll take another look at example, maybe i missed something :)
[23:47] <gavlig> night everybody :)
[00:00] --- Fri Jun 22 2012
More information about the Ffmpeg-devel-irc
mailing list