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

burek burek021 at gmail.com
Sat Feb 11 02:05:01 CET 2012


[00:04] <savage-> h
[00:04] <savage-> hi
[01:45] <slackyman> hi
[01:45] <slackyman> burek: are you here?
[01:55] <slackyman> anyway... as Zeranoe said: mingw-w64 is the best choise
[01:56] <slackyman> I solved my problem for configure NOT detecting dshow by installing mingw-w64 and removing mingw32
[01:56] <slackyman> bye
[02:05] <tweek__> is there a way for ffmpeg to list the version of libx264 it is using?
[05:22] <Freakshow> wow... why is it that ffmpeg streaming rtsp over tcp works better than rtmp
[05:22] <Freakshow> who would have thunk
[05:37] <hi117> less lost packets?
[09:57] <mystica555_> hmm just got a webcam, lsusb -v shows it supports both raw video and mjpeg video.. is there any way to tell ffmpeg which video stream to pull? i believe the mjpeg video will be greater than the 5fps offered by raw yuv422 video...
[09:58] <Mavrik_> you'll have to tell the camera which stream to send, I doubt ffmpeg can do much unless it has a dedicated camera driver
[10:00] <mystica555_> well, ffmpeg seems to autonegotiate between sizes...
[10:00] <mystica555_> from 320:240 - 1920:1080
[10:00] <Mavrik_> what's your input system?
[10:00] <Mavrik_> v4l?
[10:00] <mystica555_> v4l2
[10:00] <Mavrik_> well, check the input format settings in documentation
[10:01] <Mavrik_> you can try passing -vcodec mjpeg before the -i
[10:01] <Mavrik_> but I doubt that'll work
[10:02] <mystica555_> [video4linux2,v4l2 @ 0x23ba590] R :   yuyv422 :     YUV 4:2:2 (YUYV) : 640x480 160x120 176x144 320x240 352x288 1280x720 1920x1080
[10:02] <mystica555_> [video4linux2,v4l2 @ 0x23ba590] C :     mjpeg :                MJPEG : 640x480 160x120 176x144 320x240 352x288 1280x720 1920x1080
[10:02] <mystica555_> from ffmpeg -list_formats all
[10:03] <mystica555_> correct, failed to set value mjpeg
[10:10] <mystica555_> oh sorry i was wrong
[10:10] <mystica555_> i had ffplay as the command and not ffmpeg
[10:10] <mystica555_> and i also had a wonky output file that it didnt know what to do with; it DOES seem to be doing mjpeg with -vcodec mjpeg before -i /dev/video0
[10:11] <mystica555_> 30fps 1920:1080 at mjpeg. WIN
[10:12] <mystica555_>     Stream #0:0: Video: mjpeg, yuvj422p, 1920x1080, -5 kb/s, 30 tbr, 1000k tbn, 30 tbc
[10:15] <mystica555_> granted, it seems the camera is spitting out 15fps due to the lighting...but ffmpeg duplicating video frames like a champ to keep the output up at 30
[10:20] <mystica555_> im glad it was so easy as to ffmpeg -vcodec mjpeg :D
[10:20] <mystica555_> now if only i could choose so granularly in skype or cheese...
[10:20] <mystica555_> thanks mav
[10:20] <mystica555_> erm hes gone, damn negsplit
[10:21] <mystica555_> (thats about to happen it seems)
[12:36] <ubuntuaddicted> hello
[12:37] <ubuntuaddicted> IF I have a mp4 file that says it's bit rate is only 864 kbps (from an iphone 4), then there's no use in rendering it any higher correct? ffmpeg rendering doesn't "increase" quality correct?
[12:37] <sacarasc> * -> lossy always loses quality.
[12:38] <Mavrik> ubuntuaddicted, correct, you'll just be wasting space
[12:43] <ubuntuaddicted> awesome, thanks for the info. I use kdenlive which uses ffmpeg. I am editing some ping pong footage. be up on my youtube channel within 4 hours i'd say
[12:43] <ubuntuaddicted> :)
[12:44] <ubuntuaddicted> Mavrik, i am surprised that the iphone 4 only captures in that low of a bit rate but I guess it is a phone after all. lol
[12:44] <Mavrik> why is that a low bitrate?
[12:44] <Mavrik> H.264 at 800kbps doesn't look that bad at SD resolutions
[12:44] <Mavrik> plus, it has to encode in realtime
[12:45] <ubuntuaddicted> well, kdenlive has a bunch of presets for h264 which are in 6,000 and 8,000
[12:45] <ubuntuaddicted> SD is SD I guess. :)
[12:45] <ubuntuaddicted> it looks good, don't get me wrong.
[12:45] <Mavrik> that's for 1080p recordings on much better camera and optics than what an iPhone4 has ;)
[12:45] <ubuntuaddicted> i figured
[12:45] <Mavrik> and also for alot more movement
[12:46] <ubuntuaddicted> ping pong is very fast paced
[12:46] <Mavrik> for exampe we encode lecture videos at 720p to 1Mbit/s because more than that is just a waste of space :)
[12:47] <ubuntuaddicted> ok, so I would've needed to capture footage with better camera then iphone and then always just render after edits to what source bit rate is?
[12:47] <Mavrik> no, you render to what size and quality you want to get :)
[12:47] <Mavrik> depends on how you're going to use the footage and where
[12:47] <ubuntuaddicted> i mean, don't get me wrong. using my iphone for justin.tv live streams on wifi and video capture for my youtube channel is AWEOME.
[12:48] <ubuntuaddicted> using footage within kdenlive (editing) and then rendering for youtube or vimeo or internet streaming from my own server.
[12:48] <ubuntuaddicted> UbuTech LLC is my new company
[12:48] <ubuntuaddicted> :)
[12:49] <ubuntuaddicted> i don't want to promote my company (too much) in here as I know it's not cool BUT I am trying to "make a living" on youtube and social media. for real, only using ubuntu and mostly FOSS
[12:50] <ubuntuaddicted> thanks for your help
[12:51] <ubuntuaddicted> Mavrik, i appreciate it. i love IRC and freenode
[13:28] <norbert_> hey all, I'm doing the ffmpeg/x264 compile thing from the forum, and configure says "Warning: libavformat is not supported without swscale support"
[13:28] <norbert_> is that a problem or can I continue the guide?
[13:34] <norbert_> anyone... :|
[13:45] <norbert_> when I apt-get install libswscale-dev I get an extra warning: "Warning: PIX_FMT_RGB is missing from libavutil, update for swscale support"
[13:46] <norbert_> makes me sad that things like this still are user-unfriendly
[13:49] <norbert_> it shouldn't just say something isn't supported
[13:49] <norbert_> it should point to a page where it explains how to fix the error
[13:51] <norbert_> and the default ffmpeg for Ubuntu saying "Unknown encoder 'libx264'" makes me want to use Windows
[13:52] <norbert_> so basically, Ubuntu doesn't support it, 'oh, but just follow these instruction', 'oops, yeah, not working'
[13:52] <sacarasc> pasteeater: Seems norbert_ is having a problem with your guide.
[13:55] <norbert_> seems that xvidcap works though, I will use that for now
[13:56] <norbert_> sacarasc: thanks for trying to help though
[13:56] <norbert_> bye all
[14:09] <dekiss>  hello I have one problem making video clip from image sequence
[14:09] <dekiss>  when uncompressed video quality is good but file is huge normaly, when I compress it with h.264 even with best quality I can't get video to look right
[14:09] <dekiss> everything looks fine except I have lights made in maya that are lightning the wall of a room and where light enlight the wall instead of good smooth light I see some very bad quality colors
[14:09] <dekiss> here is the video its 500 kb see it how lights on the wall have very bad quality http://www.mediafire.com/?lzxgjkdx1x9kxy1
[14:10] <dekiss> images from image sequence are great also uncompressed video is great but when I compress it only lights are with very bad quality as you can see
[14:13] <Mavrik> show your ffmpeg parameters with output
[14:13] <Mavrik> put it in pastebin
[14:15] <dekiss> ah sorry
[14:15] <dekiss> this channel seems to be for ffmpeg application only I am using after effects
[14:15] <dekiss> I have image sequence made in Maya and I am making video from the images in ae
[14:15] <Mavrik> well
[14:16] <dekiss> if you still can help me I will apritiate
[14:16] <Mavrik> not without more info
[14:16] <Mavrik> what's your video resolution?
[14:16] <dekiss> I tried using handbrake and it is same
[14:16] <dekiss> well
[14:16] <dekiss> images are 1280x1024 also the video
[14:16] <Mavrik> ah
[14:16] <Mavrik> well
[14:16] <Mavrik> encoding 1280x1024 video in 500kb/s will create terribly awful video
[14:16] <Mavrik> use at least 1500kbps
[14:17] <Mavrik> 2500 if you can
[14:17] <dekiss> everything is very good except that lights on the wall, please see the video its 500 kb you will see what I mean easely
[14:17] <dekiss> hm
[14:17] <dekiss> I made 500 kb for 1 second video
[14:17] <dekiss> I am using best quality for h.264 encoder
[14:17] <dekiss> everything is very great quality
[14:18] <dekiss> except the lights problem is in the lights that hit the wall and enlight it
[14:19] <dekiss> they are in terrible quality unlike the rest of the textures
[15:01] <tapout> is there a way to grab the video length of a remote flv without downloading the whole video?
[15:07] <Luigui> Is av_open_input_file still a function that exists?
[15:12] <Tjoppen> tapout: run ffprobe on the url?
[15:15] <tapout> ty
[15:46] <Tor> Why does avcodec_find_decoder need be called? No way of detecting the codec to use?
[15:53] <Mythical_Man> Compiling ffplay on windows native in codeblocks...  Evil.  absolutely evil.
[15:58] <Mythical_Man> Just thought I should inform people it is doable. and it is infact evil.  Several cool C things dont like the idea, but they can be convinced to compile in c++ with minor changes..  and that is all.
[16:23] <Eiistoliakszuy> What does /* init framerate emulation */ exactly mean in ffmpeg.c
[16:47] <john_doe_jr> does anyone know how I can get google Chrome or Chromium to play mp4s?
[16:48] <hi117> IIRC they dropped support due to copyright
[16:50] <john_doe_jr> hi117: well, previous version of Chrome play the videos I'm wanting....do I just re-compile previous versions of chrome?
[16:50] <hi117> it looks like youll have to, though maybe dev or beta channel will play but back up your .config/chromium before using
[16:51] <john_doe_jr> burek: hey, your here today...
[17:01] <overflow_0f8b> i'm thinking about making a stargate singularity animation, it's some kind of fluid motion surface filled with some gradient, any ideas what is the function of the fluidsurface's colors ?
[17:47] <hogbog> when transcoding a file form one container/codec to another, what can typically cause 'dup' frames? (I have dup=X in my status/progress indicator on stdout, where X is sometimes a small number like 100 or so, sometimes tens of thousands)
[17:48] <hogbog> s/form/from/
[17:49] <hogbog> also does 'dup' mean ffmpeg found duplicate in the input file and ignored them, or that it created 'dup' frames in the output file?
[17:50] <Mavrik> hogbog, that it created duplicate frames to keep up
[17:50] <hogbog> hmm
[17:50] <Mavrik> usually happens if your output fps is higher than input
[17:50] <Mavrik> or your input is skipping frames
[17:51] <hogbog> ahh, I guess it must be the latter because I don't specify framerate on my ffmpeg commandline
[17:52] <hogbog> I guess that explains the abnormally high 'dup' values I sometiems get when ffmpeg also complains about container and codec framerates not matching, thinking it's something like 1000fps
[18:25] <mgeary> hey
[18:25] <mgeary> is there a way to do what qt-faststart does in a single ffmpeg conversion step?
[18:26] <mgeary> e.g. ffmpeg -i foo.avi (something qt-faststart here) out.mp4
[18:27] <Mavrik> no.
[18:27] <Mavrik> (ffmpeg doesn't have all information it needs to make the atom before end of encode)
[18:27] <Mavrik> so you'll have to batch it
[18:28] <mgeary> ok, thanks
[19:04] Action: mystica555_ despises how quicktime made their format... mkv is so much more useful for partial streams without all this runaround
[19:04] <mystica555_> or rather, apple
[19:05] <mystica555_> Mavrik: btw the -vcodec mjpeg worked, with all the DoS going on last night, you missed my replies.
[19:40] <pasteeater> sacarasc: hmm...never seen that one before. unfortunately i don't know what ubuntu version norbert_ was using nor how to duplicate the issue.
[20:04] <LukeNukem_> Hi
[20:04] <LukeNukem_> how do i install libmp3lame?
[20:04] <LukeNukem_> i get an unknown encoder error
[20:04] <LukeNukem_> :<
[20:14] <hi117> you install it using your package manager
[20:14] <hi117> then rebuild ffmpeg
[20:16] <Gepmff> How do I use the AVOptions for the AVCodecContext fields
[20:16] <Gepmff> The comment mentions this
[20:16] <Gepmff> Please use AVOptions (av_opt* / av_set/get*()) to access these fields from user  * applications.
[20:50] <tapout> all I want to do is... query the length of a flv.. not download it or anything.   Know how they will do... the swf vars and stuff, trying to make it so you can't download the *.flv's and what not.  Is there a way to pass the <embed> portion to ffprobe to grab the length in all instances?
[21:02] <pasteeater> tapout: if you can find a direct url to the video then 'ffprobe http://path.to.file/blah.flv'
[21:23] <tjholowaychuk> if you need to add audio to a video but delayed, or delay the video so things sync up how would you do that with ffmpeg?
[21:23] <tjholowaychuk> or is ffmpeg not the right tool
[21:37] <SvenL-> I'm trying to apply a LUT to a file, but I can't find how to do it precisely with the lut filters. How could I define an output value for each input value of Y ?
[21:38] <SvenL-> If it's not possible, I'm then looking for any solution to apply a curve filter to a file, possibly in batch
[22:10] <xp99work> how do I get ffmpeg to compile the ffmpeg binary?
[22:10] <xp99work> I've disabled ffplay, ffprobe, and ffserver from being compiled as I don't need those
[22:11] <xp99work> here is my options for configuring it http://pastie.org/3356934
[22:12] <SvenL-> isn't it because of the first swith ?
[22:12] <SvenL-> shared libraries and no binary ?
[22:12] <xp99work> I've enabled static libraries
[22:12] <xp99work> last option there
[22:14] <SvenL-> Oh, right
[22:18] <SvenL-> xp99work, I'm actually about to compile it too with much less configure options
[22:19] <SvenL-> what sources did you use ?
[22:20] <xp99work> the ffmpeg from vlc's contrib dir
[22:20] <SvenL-> hu
[22:20] <SvenL-> okay
[22:20] <xp99work> err vlc's ftp I should say
[22:20] <SvenL-> ha !
[22:22] <xp99work> and damnit, it seems they dont update their main website often
[22:22] <xp99work> they're already on 1.1.13
[22:23] <SvenL-> why from vlc's ?
[22:24] <tweek__> is there a way to figure out the versions of libx264, libfaac, etc. linked in with ffmpeg?
[22:25] <vadim> hi 2 all
[22:26] <xp99work> I'm compiling vlc
[22:26] <xp99work> this is the one it uses ftp://ftp.videolan.org/pub/videolan/contrib/ffmpeg-2011-05-14.tar.bz2
[22:26] <xp99work> I just want to use the ffmpeg binary as well
[22:31] <vadim> could someone help with how to compose command line to transcode an avi file to ismv? (ffmpeg-0.10)
[22:32] <SvenL-> xp99work, sorry i don't know all this well but I think vlc would normally use the available ffmpeg version available on the system
[22:32] <xp99work> yes I know, I'm trying to figure out why when I compile ffmpeg, there is no ffmpeg binary as I'd like to run it separately as well
[22:33] <xp99work> well I'm gonna try enabling ffplay, see if the 2 are tied together
[22:34] <SvenL-> if there a curve filter for ffmpeg ?
[22:40] <vadim> xp99work: maybe this could help http://ubuntuforums.org/showthread.php?p=8918699
[22:42] <xp99work> I will try that
[22:42] <SvenL-> I just compiled from git, I didn't disable ffplay but it didn't install
[22:57] <pasteeater> tweek__: shared or static?
[22:58] <pasteeater> SvenL-: what do you mean by "curve"?
[22:59] <SvenL-> pasteeater, this : http://www.xaraxone.com/webxealot/workbook70/LE-Tool-16.jpg
[23:00] <pasteeater> that's what i thought, but wasn't sure if you wanted luma or chroma
[23:00] <SvenL-> luma, in this case
[23:02] <pasteeater> your best bet is the frei0r or mp filters. i think frei0r has something
[23:02] <SvenL-> thanks pasteeater, googling right now
[23:02] <vadim> have somebody experienced with ISMV muxer in ffmpeg-0.10?
[23:04] <pasteeater> SvenL-: is your ffmpeg compiled with --enable-frei0r?
[23:04] <SvenL-> no, I just realised by reading that I have to recompile it
[23:04] <SvenL-> no pb, was done a few min ago
[23:05] <pasteeater> you'll need frei0r-plugins-dev or whatever equivalent depending on your distro
[23:06] <SvenL-> ok
[23:06] <SvenL-> actually my compile is already missing ffplay
[23:06] <SvenL-> left it enabled, appears ok in the config.log
[23:38] <tweek__> pasteeater: shared I believe, but ideally static as well
[23:39] <tweek__> I'm writing a transcoding script and would like to extract as many of these version numbers from various tools as possible by parsing what it gives in console output for -version
[23:39] <tweek__> some platforms have libx264 installed without the actual 'x264' program interface I guess
[23:40] <tweek__> Windows is a good example, usually people use a big static binary
[00:00] --- Sat Feb 11 2012


More information about the Ffmpeg-devel-irc mailing list