[Ffmpeg-devel-irc] ffmpeg.log.20120212
burek
burek021 at gmail.com
Mon Feb 13 02:05:01 CET 2012
[00:00] <vadim_> ^sandro^-: i tried a few different versions starting with 0.6.x and ending with the latest 0.10, and this bug is not yet solved...
[00:00] <^sandro^-> but that should not stop me from encoding
[00:01] <^sandro^-> i know some people are using it to encode UDP.. just not sure how they are doing it
[00:01] <burek> vadim_, did you try the latest git
[00:02] <vadim_> burek: cloned it yesterday...
[00:02] <burek> ok
[00:02] <burek> just checking :)
[00:29] <^sandro^-> anyone know how to setup mapping without using -map 0:X ? the actually mapping of the input keeps changing on me randomly... but the service name and provider info is the same
[00:29] <burek> ^sandro^-, mpegts?
[00:31] <burek> ^sandro^-, ping?
[00:33] <^sandro^-> mpegts si..
[00:33] <burek> can you please use pastebin.com, to show your command line and its output?
[00:34] <^sandro^-> http://pastebin.com/VcA8i6gV
[00:37] <burek> oh i see
[00:37] <burek> you want to extract a speficic stream
[00:38] <^sandro^-> ya.. basically
[00:38] <^sandro^-> what does mp4box do
[00:38] <^sandro^-> maybe i can use that
[00:39] <vadim_> burek: maybe you could help me too? :) what do i miss in this command? http://pastebin.com/tz00j1Vw
[00:41] <^sandro^-> well that idea is not going anywhere :(
[00:41] <burek> hm
[00:41] <burek> i know with vlc
[00:41] <burek> but i cant find the option to do it with ffmpeg
[00:43] <PovAddict> how do I demux with ffmpeg, outputting audio and video to separate files?
[00:43] <burek> vadim_, seems like a bug :) can you please report it?
[00:43] <burek> https://ffmpeg.org/trac/ffmpeg
[00:43] <burek> PovAddict, http://ffmpeg.org/ffmpeg.html
[00:44] <burek> use -vn and -an
[00:44] <^sandro^-> hey... Stream #0:5[0x10f5] for that.. is there a way to use the 0x10f5 in the map instead of the 0:5 ?
[00:44] <burek> ffmpeg -i input.avi -vn out.wav
[00:44] <^sandro^-> the 0:5 keeps chaning but the 0x10f5 id never changes
[00:44] <burek> and ffmpeg -i input.avi -an videoonly.avi
[00:44] <PovAddict> burek: I want it in a single step though
[00:45] <burek> ^sandro^-, you need to search the google for something like 'select stream ffmpeg mpegts'
[00:45] <burek> PovAddict, ffmpeg is not designed for such actions, i guess
[00:49] <^sandro^-> i been looking burek
[00:49] <^sandro^-> nada
[00:49] <^sandro^-> nobody seems to have the answer
[00:51] <burek> hmh
[00:51] <burek> I've added that as a feature suggestion right now
[00:52] <burek> can you use vlc until ffmpeg implements that feature?
[00:52] <burek> also monitor this thread http://ffmpeg.org/trac/ffmpeg/ticket/995
[00:52] <burek> to be notified when (if) it is done
[00:53] <vadim_> burek: ok... i'll report it... but IMHO the documentation is too vague in this domain... it would be nice if the documentation would provide an usage example
[00:54] <burek> we'll work on it vadim_ :)
[00:54] <vadim_> burek: thx a lot :)
[00:54] <burek> if you really want it to be done more fast, you can help us by providing some examples
[00:54] <burek> so we can embed it into the documentation
[00:54] <burek> :beer:
[00:54] <burek> :)
[00:57] <vadim_> burek: as soon as i find out a working command i will provide it...
[00:58] <burek> thanks :)
[01:02] <vadim_> burek: in short perspectiv it would be great if the bug with udp would be solved...
[01:09] <burek> I agree :)
[02:13] <rickk> hello
[02:13] <rickk> anyone can advice to me?
[02:13] <rickk> about h264 decoder
[02:18] <relaxed> rickk: what about it?
[02:41] <peng-1> im recording with ffmpeg, but the picture isnt as crisp as I would like, the desktop is sharp irl. Does anyone know a way to record a clearer cast with ffmpeg?
[02:52] <rickk> i got this error
[02:52] <rickk> [h264 @ 04c5e440] error while decoding MB 23 32, bytestream (-22)
[02:52] <rickk> [h264 @ 04c5e440] concealing 1066 DC, 1066 AC, 1066 MV errors
[02:52] <rickk> [h264 @ 04c5e440] no frame!
[02:53] <rickk> with fragmentation on the bottom.
[02:53] <rickk> I think it relate to demux module i have developed..
[02:55] <burek> peng-1
[02:55] <burek> can you please use pastebin.com, to show your command line and its output?
[02:55] <burek> rickk, you too
[02:56] <rickk> i don't have such command line..
[02:57] <rickk> i am using the avcodec for my project.
[02:57] <rickk> im only using decoder of ffmpeg.
[02:57] <burek> have you tried asking your question in #libav ?
[02:58] <rickk> ok im going to
[03:11] <burek> when vlc is compiled to use ffmpeg as an encoder, does it use it's libav libs directly or does it use ffmpeg executable?
[03:12] <burek> or, should I ask like this.. can i somehow start vlc, tell it to use ffmpeg as an encoder (this is the easy part) and somehow tell it to use some of the ffmpeg's (or libavfilter's) filters
[03:13] <peng-1> hmm
[03:13] <peng-1> burek: sorry got pre-disposed
[03:14] <peng-1> burek: http://paste.pocoo.org/show/549536/
[03:16] <peng-1> apologies, my system rebooted itself :/
[03:17] <burek> just a sec
[03:17] <peng-1> Thanks :)
[03:20] <burek> -f alsa -f x11grab
[03:20] <burek> this is wrong
[03:20] <burek> since the ordering of params DOES matter in ffmpeg
[03:20] <burek> try to make it like this
[03:21] <burek> ffmpeg -f alsa -i hw:0 -f x11grab -r 27.5 -s 1024x768 -i :0 -vcodec huffyuv -sameq -acodec libmp3lame -b 50000 -async 24 screenie.avi
[03:21] <burek> also
[03:21] <burek> -b is bitrate of the video stream in bytes per second
[03:21] <burek> so you might want to use -b 50k
[03:22] <burek> if thats what you want
[03:22] <burek> although it seems too low
[03:23] <burek> try something like -b 800k
[03:23] <burek> also, -sameq i think is mpeg param only, not huffyuv
[03:24] <burek> :/
[03:26] <peng-1> sorry dc'd!
[03:27] <peng-1> burek: you mentioned -f alsa -f x11grab, what did you mean ?
[03:29] <burek> http://ffmpeg.test-lab.ch/irclogs/ffmpeg.log.20120212
[03:36] <peng-1> burek: Thank you heaps.
[03:36] <peng-1> There was still some 3d frameloss
[03:37] <peng-1> am i using the correct kind of codec? Is there another more suitable for 3D ? Im trying to record the beryl cube for example.
[03:37] <burek> well, try to use some better lossless video codec
[03:37] <peng-1> can you suggest one?
[03:37] <burek> try looking at camtasia
[03:37] <peng-1> ok
[03:37] <burek> or camstudio
[03:38] <burek> it needs to be fast enough to encode frames while it's grabbing them
[03:38] <burek> and generating 3d content
[03:38] <burek> a lot of work for a cpu :)
[03:43] <peng-1> hmm, do you think camtasia would improve results? :p
[03:43] <peng-1> i thought ffmpeg was the best way to go
[03:44] <burek> -vcodec camtasia
[03:44] <burek> -vcodec camstudio
[03:44] <burek> or ffmpeg -codecs
[03:44] <burek> and choose yours :)
[03:49] <neon22121> hi today i checked ffplay...the latest win32 build form zeranoe. now my problem is if i try to play any file with dts or ac3...i cant hear anything. could somebody help me??
[03:50] <peng-1> cool :)
[03:53] <neon22121> ooooh thank you :-P
[04:05] <codepython777> i want to work with a movie format that windows media player understands. I tried mp4 and wmv with h264, and got in trouble. My inputs usually come from Canon's AVCHD format. Does anyone have any recommendations for me please?
[04:05] <rhizmoe> hi all
[04:06] <rhizmoe> codepython777: what formats does wmp understand?
[04:08] <peng-1> burek: my ffmpeg says "Unknown encoder camtasia" but it is listed in ffmpeg -codecs
[04:09] <peng-1> any ideas how i can get it onto the systems?
[04:11] <^sandro^-> good evening anyone
[04:11] <^sandro^-> everyone
[04:11] <^sandro^-> does anyone know how ffmpeg can capture mpegts and select program ?
[04:11] <^sandro^-> there has to be a way to select program instead of using -map
[04:12] <^sandro^-> others are doing it but i dont know how
[04:15] <burek> peng-1, that is a bug then
[04:15] <burek> you shouldn't get that kind of message
[04:15] <burek> if you see the encoder in -codecs
[04:15] <burek> but
[04:15] <burek> pay attention if it is E(ncoder) or D(ecoder) or both
[04:16] <peng-1> ok
[04:16] <peng-1> hm
[04:16] <burek> hm they are both D
[04:16] <peng-1> i dont get the working/crashing column either :p
[04:16] <peng-1> both decoding huh
[04:16] <peng-1> hmm.
[04:16] <peng-1> so no idea for a 3D codec?
[04:16] <peng-1> huffyuv is ok but its not sharp enough
[04:17] <peng-1> ive got a powerful system, that command line skips too many frames lol
[04:17] <burek> can your memory/hdd sustain to write frames as huffyuv
[04:17] <burek> try
[04:17] <peng-1> ya
[04:17] <burek> -vcodec libx264 -preset ultrafast
[04:18] <peng-1> ok :D
[04:18] <burek> and save as .mp4
[04:18] <burek> and yes
[04:18] <burek> use -threads 0
[04:19] <burek> ffmpeg -f x11grab -i ... -vcodec libx264 -preset ultrafast -threads 0 out.mp4
[04:19] <burek> something like that
[04:19] <peng-1> hmm
[04:20] <peng-1> mplayer didnt really seem to have much content to play the whole thing was mainly grey
[04:20] <peng-1> ok
[04:21] <peng-1> nup
[04:21] <peng-1> aspect is undefined, prescaling applied
[04:21] <peng-1> its recoding just grey
[04:22] <peng-1> raw :(
[04:22] <^sandro^-> can anyone help?
[04:23] <burek> codepython777, ...
[04:23] <burek> wmp is not a player at all
[04:23] <burek> its just a gui layer to connect codec with a user
[04:23] <burek> so the line "it plays in wmp" doesn't actually stand at all
[04:23] <burek> wmp is not the one that plays it, direct show is
[04:24] <burek> that's why you need to install bunch of codecs before you can play anything in wmp
[04:25] <burek> pen, try using raw images
[04:25] <burek> like
[04:25] <peng-1> im on linux
[04:25] <burek> hmh
[04:25] <peng-1> oh
[04:25] <peng-1> yea
[04:25] <peng-1> on linux :D
[04:25] <codepython777> burek: yes. I am looking for something that will work with windows? like wmp, windowd dvd maker etc
[04:25] <peng-1> hm.
[04:25] <burek> ffmpeg -f x11grab ... -i :0 -f image2 out%03d.png
[04:25] <burek> codepython777, it depends on codecs installed.. you're just out of luck
[04:26] <burek> unless you encode it as avi RLE something like that
[04:26] <burek> which is something windows copies when it is installed
[04:27] <burek> all the other codecs you need to install first to be able to play in wmp
[04:27] <burek> so if something "plays in wmp" it actually doesn't mean that it will play on another windows too
[04:28] <burek> it would be the wisest thing to put a notice with that video for users to download vlc and watch it with it
[04:28] <peng-1> ty burek , i should be back soon, new kernel
[04:29] <peng-1> ta
[04:50] <gajbooks> Are there any sort of video compression things that store similar pixels as equations?
[04:50] <gajbooks> I know they have groups and horizontal lines sort of like that, but what about curves that can be reprsented as an equation?
[04:52] <gajbooks> Just slopes of similar pixels.
[07:24] <burek> fflogger needs to be shut down due to the power outage that was announced for today :/ it's 7:25 now, at 12:00 should be back online.. sorry about that :/
[14:34] -:#ffmpeg- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
[16:30] <P-l> hey guys, somebody can help me plz ? I have a problem for cut my .m2ts under linux.
[16:30] <P-l> If i use ffplay the times in seconds is bad...
[16:30] <^prelude^> hello
[16:31] <^prelude^> good morning
[16:31] <^prelude^> anyone know how to to fix [udp @ 0x12898e0] circular_buffer: OVERRUN
[18:15] <aClam> I started getting this error "number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one" when reading blu ray m2ts files recently. Will this be a problem? Would this normally have happend in older versions but I just wasn't aware (because no notification)?
[18:15] <aClam> (the m2ts files containing AVC)
[18:18] <aClam> Also I'm getting this message now "Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)" when I'm using a pipe, which seems a bit weird
[18:43] <xelxebar> aClam, I get that too
[18:43] <xelxebar> seems normal though, since you're pipes would indeed have 0 size
[18:45] <xelxebar> also my resulting video is pretty much exactly what what I should be getting, so
[18:46] <aClam> Yeah that part I'm not concerned about, thought it might have been a bug or something
[18:46] <aClam> but the previous message is a bit worrysome
[19:47] <plut0> how can i remove cinavia?
[20:27] <JDuke128> hello , whats the encoding type of flash camera videos?
[20:29] <Mavrik> you just mixed up some random words in that sentence :P
[20:29] <P-l> hey, ffmpeg -i output.mkv -i cut.ac3 -vcodec copy -alang eng -acodec copy final.mkv
[20:29] <P-l> Unrecognized option 'alang'
[20:29] <P-l> Failed to set value 'eng' for option 'alang'
[20:29] <P-l> any idea ? :/
[20:29] <P-l> my alang sux :/
[20:30] <Mavrik> P-l, http://ffmpeg.org/ffmpeg.html
[20:30] <Mavrik> search for: "To set the language of the first audio stream: "
[20:30] <P-l> thx i know.
[20:30] <P-l> i try with language=eng but it's sux too.
[20:30] <Mavrik> ?
[20:38] <P-l> ffmpeg -i output.mkv -i cut.ac3 -vcodec copy -acodec copy -metadata:s:a:1 language=fra final.mkv
[20:38] <P-l> it's doesn't work :-(
[20:40] <Mavrik> explaining what you're trying to achieve is usually quite helpful.
[20:41] <P-l> when i mediainfo my final.mkv, the audio has : Language : English
[20:42] <P-l> but i want French.
[20:42] <P-l> thx for your help.
[20:42] <Mavrik> how bout just using
[20:42] <Mavrik> "-metadata language=fra"
[20:47] <P-l> it's ok for General i can see fra but for my audio all time English :-(
[20:48] <P-l> good
[20:48] <P-l> metadata:s:a
[20:48] <P-l> Thank you very much Mavrik !
[21:20] <kriegerod> can i write the keyframe into a (mpegts or mp4) file, but avoid its display on playback? i need to save it for correct decoding of B-frames on the cut. I mean i need frame-accurate video cutting
[21:21] <no__> Howdy folk.s
[21:22] <Mavrik> kriegerod, that's a wierd requirement. Why would you want that?
[21:22] <no__> I've been working with doing some real-time encoding from a video input device, and I've got basically everything working with the exception of one piece that I was hoping to elicit ideas for...
[21:23] <no__> Basically, I've got video -> ffmpeg -> red5 or file... for the writing to file part, I'd like to be able to split the video up at regular intervals and save files based on the current time... so... for instnace, if the video were 1 minute long, and it was 4:19 PM,
[21:23] <kriegerod> Marvik: what is weird? requirement of cutting in middle of GOP? I have several seconds GOP, and have to cut precise pieces about 1 second, and join together then
[21:23] <no__> I'd like a filename like... foo_1619-1620.mp4 or something... is there a simple way to do this that I'm ovelrooking?
[21:23] <Mavrik> kriegerod, that's usually done with re-encoding to avoid your problems
[21:24] <Mavrik> ffmpeg doesn't support what you want
[21:24] <kriegerod> Marvik, yep, but now i have problem that re-encoding takes unacceptably long
[21:24] <Mavrik> and I don't think there's any software that would do that... besides you never mentioned what your video format it
[21:24] <Mavrik> *is
[21:25] <no__> Mavrik: Me? h.264.
[21:25] <kriegerod> it's ok for me to use libavformat API, not just ffmpeg util
[21:25] <kriegerod> my video codec is h264
[21:25] <Mavrik> kriegerod, if you're using x264 to encode h.264, that question is probably better for x264 people
[21:25] <Mavrik> on #x264
[21:26] <Mavrik> no__, sadly, as far as I know you can't automatically name output files in ffmpeg except for image sequence numbers
[21:27] <kriegerod> no__, try "segment" muxer with ffmpeg
[21:27] <kriegerod> cant see docs on that, look libavformat/segment.c
[21:28] <no__> ok, ty all for the input.
[21:28] <aClam> no__, fancy scripting will help you with that, either batchfile or a scripting language it should be pretty trivial
[21:30] <JEEB> Mavrik, it's not a x264 problem he's having, he just wants fancy "re-encode only as much as really needed" cutting
[21:30] <JEEB> which ffmpeg by default can't give
[21:30] <JEEB> he needs to code it himself
[21:30] <Mavrik> JEEB, yeah, but I guess you have to coordinate that with x264 so the output will be consistent
[21:30] <Mavrik> and to force it to create i-frames
[21:31] <JEEB> more like he needs to re-encode frames that he needs, and he seemingly can't understand really what he's doing :P
[21:31] <Mavrik> JEEB, the other thing is... on #x264 there's just more people that understand video coding better and can help him more readily than here ;)
[21:32] <JEEB> Mavrik, he already spammed his problem there yesterday
[21:32] <Mavrik> I wasn't sure if you can just grab a GOP, reencode it and reinsert it without problems
[21:32] <francogrex> Hi I can convert from avi to flv, but how do i control the version of the flash? I want flash 7 and not the new 8 or 9?
[21:32] <Mavrik> JEEB, ah, missed that. Sorry :\
[21:33] <Mavrik> francogrex, flv is just a video container, check which video formats you need to put in it so that they'll be compatible with 7
[21:41] <francogrex> ok
[23:56] <no__> Can ffmpeg output to two sources at once? for instance, can I write to an rtmp:// stream, and simultaneously output to a file?
[23:57] <^sandro^Zzz> hello
[23:57] <no__> I've seen multiple forum posts stating that paralall output is not posible with ffmpeg, but the config options semto differ.
[23:57] <^sandro^Zzz> anyone know how ffmpeg can use GPU accelleration?
[00:00] --- Mon Feb 13 2012
More information about the Ffmpeg-devel-irc
mailing list