[Ffmpeg-devel-irc] ffmpeg.log.20120921
burek
burek021 at gmail.com
Sat Sep 22 20:21:13 CEST 2012
[00:01] <llogan> Zoneminder. The Stalker's Choice."
[00:02] <cbsrobot-> better to test the delay than to delay the test !
[00:05] <chamunks> burek, mostly yes just one final quirk
[00:06] <chamunks> yuvj is unsupported by zoneminder
[00:06] <burek> JEEB might help you more about that i think
[00:06] <chamunks> wait nvm different device
[00:09] <chamunks> it doesn't seem to want to connect over the lan but I think I can figure this out.
[00:10] <burek> udp is connectionless
[00:10] <burek> ffmpeg sends data to udp port
[00:10] <burek> zoneminder just reads the port
[00:13] <chamunks> so so ffmpeg udp://destip:destport to zoneminder udp://localhost:port
[00:13] <chamunks> localhost aka @
[00:13] <chamunks> seems its not communicating :(
[00:14] <chamunks> it connects fine locally to my instance on the desktop (testing machine)
[00:14] <chamunks> ok anyways
[00:16] <burek> wait
[00:16] <burek> are both ffmpeg and zoneminder on 1 machine
[00:18] <chamunks> I have one instance where they are
[00:18] <chamunks> thats my testing box
[00:18] <burek> so just 1 computer, right?
[00:18] <chamunks> so every time I modify this stream I test it locally
[00:19] <chamunks> but when I want to send it the actual laptop where zoneminder is installed for deployment
[00:19] <chamunks> it doesn't connect
[00:19] <burek> so 2 computers
[00:19] <chamunks> yeah i figured let my desktop handle encoding the hd feed.
[00:19] <chamunks> and push that over the network to the zoneminder machine
[00:20] <burek> and you plan to leave your laptop non stop on?
[00:20] <chamunks> its some garbage laptop with a broken screen
[00:20] <chamunks> installed with headless ubuntu
[00:20] <chamunks> so yeah
[00:20] <chamunks> its about all its good for at this point.
[00:20] <chamunks> it was a dumpsterdive laptop
[00:20] <chamunks> basically.
[00:21] <burek> ok, but why not put it all onto desktop
[00:21] <burek> why engaging 2 machines
[00:21] <chamunks> house is too big to reach with usb
[00:21] <chamunks> i've got three ip cams
[00:21] <chamunks> and three usb two el cheapo cams
[00:21] <chamunks> and the one logitech one.
[00:22] <burek> ok, so, to test if connection is ok
[00:22] <burek> install ffmpeg on laptop too
[00:22] <burek> or vlc
[00:22] <burek> and start to read the port 1234
[00:22] <burek> like ffplay udp://@:1234
[00:22] <burek> or vlc udp://@:1234
[00:23] <chamunks> theres no gui on the target machine
[00:23] <burek> just to see if your firewall is not blocking it
[00:23] <burek> ok then use this
[00:23] <chamunks> I could just portforward from the one to the other.
[00:23] <burek> ffmpeg -f mpegts -i udp://@:1234 -c copy -f mpegts /dev/null
[00:23] <burek> you'll see if the ffmpeg is counting frames
[00:23] <burek> that means it works
[00:23] <chamunks> i want to run that on the target?
[00:24] <burek> laptop
[00:24] <chamunks> k
[00:27] <chamunks> ok thats spitting errors
[00:27] <chamunks> http://paste.ubuntu.com/1217709/
[00:27] <chamunks> burek, so im not sure what that means.
[00:29] <burek> just warnings
[00:29] <burek> does it count frames
[00:29] <chamunks> I jsut get an endless stream of that error
[00:29] <chamunks> the rest is bumped off the screen.
[00:30] <burek> it still shows all those errors?
[00:30] <chamunks> as soon as i turn the stream on on the source oh there we go theres something.
[00:30] <chamunks> its asking me if i'd like to overwrite /dev/null
[00:31] <JEEBsv> yes, it will ask that
[00:31] <JEEBsv> even though it's /dev/null :)
[00:31] <chamunks> ok if i accept it it does count frames yes
[00:32] <burek> well, that's probably due to different versions of ffmpeg/avtools
[00:32] <burek> -y might help
[00:32] <burek> ffmpeg -y -f mpegts -i udp://@:1234 -c copy -f mpegts /dev/null
[00:32] <burek> (auto yes)
[00:32] <JEEBsv> yes, -y will auto yes
[00:32] <chamunks> I down'd the same static package for both systems although the one was 32bit vs 64bit
[00:32] <chamunks> the desktop is 64 laptop is some pentium M 32 garbage
[00:32] <burek> well, if those warnings stop, that's good
[00:33] <burek> it's related to a keyframe not being detected still, so the decoder can't restore the original image
[00:33] <burek> as soon as you get the first key frame the warnings should stop
[00:33] <chamunks> burek, apparently that error is from this [mpegts @ 0xa14d7e0] Unable to seek back to the start
[00:33] <chamunks> [h264 @ 0xa16f860] non-existing PPS referenced
[00:33] <burek> warnings, not errors
[00:33] <chamunks> fair
[00:35] <chamunks> but ok so since ffmpeg is receiving on the target but not connecting to the zoneminder instance could I just pipe it to a local udp stream?
[00:35] <chamunks> without re-encoding
[00:35] <chamunks> i dont really see why this is erroring at this point :S
[00:35] <chamunks> looks fine on both sides :S
[00:36] <chamunks> burek, http://paste.ubuntu.com/1217720/
[00:36] <chamunks> is the output
[00:37] <burek> well, it works, we can say that for sure
[00:38] <burek> now you need to read zoneminder logs
[00:38] <burek> to see why it fails there
[00:38] <burek> if it fails
[00:38] <burek> because i don't know zoneminder that well
[00:39] <chamunks> burek, they woke up in #zoneminder
[00:39] <chamunks> this fella touched something and now it seems like its feeding fine
[00:39] <chamunks> though im still getting the odd bleed
[00:40] <chamunks> burek,
[00:40] <chamunks> sorry
[00:40] <chamunks> http://imgur.com/x2bRl
[00:41] <chamunks> <JEEB> lemme see how you can set keyint
[00:41] <chamunks> <JEEB> -g
[00:42] <chamunks> could that help fix this?
[00:42] <chamunks> burek,
[00:42] <burek> yes
[00:42] <burek> gop is a way to set key frames interval
[00:43] <burek> if your frame rate is 30
[00:43] <burek> and you want keyframe each 4 seconds
[00:43] <burek> put -g 120
[00:44] <chamunks> anywhere after -vcodec?
[00:45] <JEEBsv> anywhere after -i
[00:45] <JEEBsv> which sets encoder/output settings
[00:46] <JEEBsv> (before -i is input/decoder settings)
[00:46] <chamunks> ok im starting to understand I think finally lol.
[00:46] <burek> after -i yes
[00:47] <chamunks> ok that bleed shows up every once n a while
[00:48] <chamunks> its really unacceptible for a security feed is there a way to make sure that never happens?
[00:48] <burek> well, compress your video more
[00:48] <chamunks> boost the crf
[00:48] <chamunks> k
[00:48] <burek> not just -preset ultrafast
[00:48] <burek> make it -preset medium for example
[00:48] <burek> to see if it changes things a bit
[00:49] <chamunks> it looked okay for a few mins
[00:49] <chamunks> http://staging.reavecraft.com/zm/index.php?view=watch&mid=5#
[00:49] <chamunks> I'm going to secure this later
[00:50] <chamunks> and block it so you cant access it but for now this'll work
[00:51] <llogan> he has already infilitrated the system. AYBABTburek.
[00:51] <burek> :)
[00:52] <burek> well try to lower down the frame size for example
[00:52] <burek> if i remember well, that camera has a focus/zoom option
[00:52] <burek> which you can set using: v4l2-ctl -c zoom=<num>
[00:52] <burek> also use v4l2-ctl -L
[00:52] <burek> to list all the controls
[00:53] <burek> so you can zoom what you want to record and have a better view
[00:53] <burek> llogan :D
[00:54] <chamunks> problem is the property goes another 15 or so feet past that spruce
[00:54] <chamunks> to the left there.
[00:55] <burek> just install a FastDog v4.6 :D
[00:55] <burek> and let him be there :)
[00:55] <chamunks> i got two dogs :D
[00:56] <chamunks> 1 rotweiler and a belgian malnoi
[00:56] <chamunks> :P
[00:56] <burek> :)
[00:57] <burek> spray the kids cloths with a cat's piss :D
[00:58] <chamunks> lol
[00:59] <chamunks> ok I think that I should be able to apply this to the other two webcams and i shouldnt need to do anything special for the ipcams
[00:59] <burek> ipcams are different i guess
[00:59] <burek> you access them using -i http://... or rtsp://..
[00:59] <burek> not -f v4l2 -i /dev/video
[00:59] <chamunks> yeah i have http://
[01:00] <burek> ok then
[01:00] <chamunks> thats easypeasy
[01:00] <chamunks> although im retarded and deleted my configurations of them but i wasnt thinking about that when i did it
[01:00] <chamunks> i just wanted them to stop spitting errors into the zoneminder console.
[01:02] <chamunks> burek, its gone and done a fullscreen bleed
[01:03] <burek> check the cpu usage
[01:03] <burek> on both machines
[01:03] <chamunks> the desktop has some sixcore thing thats crazy
[01:03] <chamunks> ok im going to do this differently
[01:04] <chamunks> im going to just use the laptop to extend the desktop and be done with this.
[01:04] <chamunks> the cpu jumped to 100% the second the feed hit it.
[01:08] <burek> well, that's the source of the bleed usually
[01:09] <chamunks> burek, yah maybe I can just try and use the laptop as an extender
[01:09] <burek> or try lowering the frame size
[01:09] <burek> 800x600 for example
[01:09] <chamunks> ok what command should I use to discover how to tailor this command for the other cams
[01:10] <burek> just play around with options
[01:10] <burek> and see what helps
[01:10] <chamunks> burek, it runs fine on the desktop it just requires a slight rethink on my part.
[01:11] <chamunks> burek, http://paste.ubuntu.com/1217757/
[01:11] <chamunks> what was that probe command you sent earlier.
[01:12] <burek> maybe you need to be a root
[01:12] <burek> try: su
[01:13] <chamunks> http://paste.ubuntu.com/1217763/
[01:13] <chamunks> io error cannot find a proper format
[01:13] <burek> sec
[01:14] <burek> hm, I'm not sure if this is a bug or not
[01:14] <burek> but if you can, you could try updating your ffmpeg
[01:14] <burek> if you know how
[01:14] <chamunks> im running latest from http://libav.org/avconv.html#rtsp
[01:15] <chamunks> sorryt wrong url
[01:15] <chamunks> burek, http://ffmpeg.gusari.org/static/
[01:15] <burek> hm, that's not latest, it's from august, but still
[01:15] <chamunks> ok it really doesn't matter i dont need six cams I can deal with4 that should be sufficient i think
[01:16] <burek> well, first try to make 1 work
[01:16] <chamunks> well i got the c920 working fine.
[01:16] <chamunks> if i get the others working its ideal but its not really necessery
[01:16] <chamunks> I just am going away for the weekend and cant trust this kid.
[01:17] <burek> :)
[01:20] <chamunks> ok now to make some ultrafast superdirty POE injectors
[01:20] <chamunks> install cams eat breakfast (720pm) and leave
[01:20] <burek> :D
[01:20] <burek> it's like in a movie
[01:21] <burek> "will he make it on time?" :D
[01:21] <chamunks> nope
[01:21] <chamunks> on time was 10 hours ago
[01:22] <chamunks> but its ok
[01:22] <burek> :)
[01:23] <chamunks> but you and JEEB have really saved my arse
[04:15] <WeThePeople> having trouble converting webm to avi, here is output>>> http://paste.ubuntu.com/1217949/
[05:38] <^fyp^> Hello people
[05:39] <^fyp^> if anybody can help me out, would be appreciated
[06:16] <^fyp^> I just want to know if http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[06:16] <^fyp^> the instructions there will fix everything
[06:16] <^fyp^> because right now, everything's FUBAR
[06:17] <^fyp^> avidemux, even not the svn 2.6 will not allow me to change video encoding
[06:28] <^fyp^> ....
[09:32] <ChannelZ> Anyone doing any ProRes encoding and having success with the movies playing back correctly in Quicktime Player for Windows?
[10:16] <carnau> Hello, I'm trying to generate some custom videos through php. I added two logos to the main video which are well processed. Is there any way to set transparency to one of them? I pass it as movie parameter, but it's a png file. Source code of the parameters which I pass to ffmpeg: http://pastebin.com/Hjt9cZcu
[10:33] <saste> carnau, "set transparency"?
[10:33] <saste> if the PNG have already the alpha channel, the filter should do the right thing
[10:34] <saste> if you want to set the alpha channel to say 50% in the whole image, you could use the lut filter
[10:49] <Utopiah> (damned, TV refused the video file format :(
[10:49] <Utopiah> (told them that's the highest quality we have, they dont give a shit)
[10:55] <carnau> saste, thanks. I will investigate this :-)
[11:20] <carnau> saste, is it transparency a filter? I can't find it with 'ffmpeg -filters'. lut filter is there, but there isn't almost documentation about how to use it.
[11:21] <saste> carnau, no "transparency" is not a filter
[11:22] <saste> carnau: http://ffmpeg.org/ffmpeg.html#lut_002c-lutrgb_002c-lutyuv
[11:22] <saste> => set a constant alpha channel value on input
[11:24] <carnau> thanks :-)
[13:14] <shroomM> how can I fix this...
[13:14] <shroomM> Pattern type 'glob' was selected but globbing is not supported by this libavformat build
[13:14] <shroomM> I'm compiling ffmpeg myself
[13:14] <shroomM> is my mingw env. missing something?
[13:24] <saste> shroomM, you're missing glob.h
[13:26] <shroomM> saste, yeah, probably mingw on windows doesn't have it
[14:50] <nchauvet> Hello !
[14:51] <nchauvet> I was wondering on which arches cpu-runtime-detection is expected to work ?
[14:51] <nchauvet> under linux
[14:54] <JEEB> x86, not sure if the default compilation flags make mmx or sse the minimum set needed
[14:55] <JEEB> runtime detection just makes sure that you can use more effective simd techniques if you have the instruction sets, and run the same binary on older machines too
[15:01] <JamJams> Is is possible to get the frame info about a single frame using ffprobe?
[15:01] <JamJams> I use -show_frames currently but it takes a while, all I really need to know is if it's a IPB.
[15:05] <saste> JamJams, short answer: no
[15:06] <JamJams> Dam, anyway to work around that some how?
[15:06] <saste> JamJams, but you can cut the head of the file and only analyze that
[15:06] <nchauvet> about runtime-cpu-detection, mplayer with builtin ffmpeg only allow x86 and ppc (both 32/64bit)
[15:06] <nchauvet> but there is no clear error with ffmpeg itslef
[15:06] <saste> JamJams, btw file a feature report for it if you care
[15:06] <JamJams> Hmmm
[15:07] Action: nchauvet searching within the ffmpeg code
[15:08] <JamJams> Is all the IPB info stored in the header?
[17:47] <DeepHorizons> Hey all, I have a question about the x264 encoder
[17:48] <DeepHorizons> The short story is, I have a video that has a 4:4:4 subsampling, is there any way to convert it to 4:2:0 or another?
[17:54] <DeepHorizons> It seems ffmpeg doesnt support the -output-csp command that x264 has
[18:13] <zak_> trying to extract an mp3 file from a FLV one using "ffmpeg -i Lynyrd\ Skynyrd\ -\ Live\ The\ Vicious\ Cycle\ Tour\ \[2003\].flv -acodec lame -ab 356k Lynyrd.mp3" i got this http://pastebin.com/T0JKnJCW , anyone would help me resolving this please
[18:14] <t355u5> I try it again. After asking 2 days in a row, maybe today somebody wants to answer my question: it seems that 1.11.2 does not support libopus. I believe that someone forgot to update configure.... Unknown option "--enable-libopus". any comments?
[18:33] <saste> zak_, lame is not an encoder
[18:33] <saste> what you want is libmp3lame
[18:34] <saste> t355u5, opus is not supported in 0.11.X
[18:34] <saste> you need latest ffmpeg (or incoming 0.12 release)
[18:35] <t355u5> saste: thx, it's just because the 0.11.2 should be a snapshot of the git tree, which supports libopus for quite some time now....
[18:35] <saste> t355u5, no that's a wrong assumption
[18:36] <t355u5> saste: hmmm. not really: 0.11.2 was released on 2012-09-19. It is the latest stable FFmpeg release from the 0.11 release branch, which was cut from master on 2012-05-25. Amongst lots of other changes, it includes all changes from ffmpeg-mt, libav master of 2012-05-24, libav 0.8.2 as of 2012-09-19
[18:37] <t355u5> this tells me that it has all the changes until 2012-09-19 included
[18:37] <saste> t355u5, no read better
[18:39] <t355u5> just because it was cut from master, it doesn't mean that there are no changes included from master...
[18:40] <saste> t355u5, yes
[18:40] <saste> secturity fixes and major bugfixes
[18:40] <saste> not major features
[18:44] <t355u5> saste: in this case this should be mentioned somewhere
[18:44] <t355u5> but thank for the info
[18:44] <t355u5> now I know that libopus is just not supported
[18:44] <t355u5> I use the git head anyway
[18:45] <t355u5> I was just puzzled why it was not supported
[19:07] <zak_> saste: cant find libmp3lame , what package provides it ?using opensuse12.2 here
[19:10] <saste> zak_, are you compiling from source? in that case --enable-libmp3lame
[19:31] <zak_> saste: you mean ''ffmpeg ----enable-libmp3lame " ?
[20:10] <teratorn> hi, given a command like this: ffmpeg -i 99.mp4 -vsync 2 -i template2.png -filter_complex 'overlay=0:0' -acodec copy done.mp4
[20:10] <teratorn> how would I add a series of "cuts" to the source video?
[20:10] <teratorn> specify -ss and -t multiple times?
[20:10] <teratorn> or?
[20:19] <llogan> teratorn: what do you mean by "cuts"?
[20:19] <teratorn> a series of time ranges of content to keep
[20:19] <teratorn> and cut out the rest
[20:19] <teratorn> (seek past it)
[20:19] <teratorn> I know how to do ONE time rage, with -ss and -t,
[20:20] <teratorn> but you can't do it more than once
[20:20] <teratorn> brb
[23:02] <manizzle> hey guys, so i was running ffmpeg -i $in $out, and i got this error, [wmavoice @ 0x252bba0] WMAPro-in-WMAVoice support not implemented
[23:03] <manizzle> okay
[23:03] <manizzle> http://sprunge.us/YSAY
[23:05] <burek> did you run just: ffmpeg -i /home/manizzle/Downloads/Lec1_noon.wmv /home/manizzle/work/ee306/Lec1_noon.avi
[23:05] <manizzle> yes
[23:06] <manizzle> [manizzle at alexandria ~]$ ffmpeg -i ~/Downloads/Lec1_noon.wmv ~/work/ee306/Lec1_noon.avi 2>&1 | tee ff_dump ; sprunge ff_dump
[23:06] <burek> hm, it appears that Audio: wmavoice is a culprit
[23:06] <burek> do you need audio too
[23:07] <manizzle> yeah
[23:07] <burek> can vlc play that file
[23:07] <manizzle> it would be very helpful
[23:07] <manizzle> no
[23:07] <burek> wmv
[23:07] <manizzle> it cannot
[23:07] <burek> can any player, ftm?
[23:08] <burek> maybe you could open that file in windows, in 'sndrec32' and just do a file - save as (wav)
[23:08] <burek> to get the clean audio
[23:08] <burek> after that we can merge it back with your video
[23:09] <burek> anyway, if you could have the audio in a separate file (hopefuly audio.wav), we could then do something like this:
[23:10] <burek> ffmpeg -i Lec1_noon.wmv -map 0:1 -i audio.wav out.avi
[23:10] <burek> -map 0:1 selects only video from Lec1_noon.wmv
[23:12] <manizzle> k
[23:12] <manizzle> one sec
[23:12] <manizzle> beamin my vm up
[23:14] <manizzle> so
[23:14] <manizzle> wmavoice
[23:14] <manizzle> codec has not been written
[23:14] <manizzle> is that the problem
[23:14] <burek> decoder
[23:15] <burek> is not finished i guess
[23:15] <manizzle> decoder
[23:15] <burek> yes
[23:15] <manizzle> yeah
[23:25] <manizzle> there is no sndrec32 in windows 7
[23:26] <burek> :D
[23:26] <burek> try media player or something, I dunno, I don't use win 7 :)
[23:26] <burek> or sound forge? :)
[23:26] <burek> audacity
[23:26] <burek> something.. :)
[23:26] <manizzle> ah audacity
[23:27] <manizzle> is a good suggestion
[23:27] <manizzle> i will try
[23:27] <manizzle> man fuck
[23:27] <manizzle> where is ffmpeg's bug tracker at?
[23:27] <burek> that reminds me when a guy wanted to google for the manual of the touch command :)
[23:27] <burek> he typed in the search box: man touch
[23:27] <burek> boy he was surprised with results :D
[23:28] <burek> on the right side, there is a login and ticket buttons
[23:44] <manizzle> thank you burek
[23:44] <burek> :beer: :)
[23:44] <ubitux> you might be able to get something out mplayer with the wine thing and the correct dll
[23:44] <ubitux> like dumping the audio as pcm data or something
[23:45] <ubitux> don't ask me how though
[23:45] <manizzle> will google a lilbit
[23:45] <manizzle> thanks for the tip
[00:00] --- Sat Sep 22 2012
More information about the Ffmpeg-devel-irc
mailing list