[Ffmpeg-devel-irc] ffmpeg.log.20121031
burek
burek021 at gmail.com
Thu Nov 1 02:05:01 CET 2012
[00:00] <JEEB> and instead just set crf manually themselves or something depending on how much rate it's using at some point...
[00:00] <JEEB> (or don't give a damn at all)
[00:00] <mudkipz> yea, you were actually the one who explained it to me when I was running into problems with other types of rtmp streams a couple days ago.
[00:01] <mudkipz> :D
[01:14] <tibo_> hi guys, in libavcode/utils.c, where is the function decode defined ? It's called in avcodec_decode_video2 like avctx->codec->decode(.......)
[01:40] <barhom> anyone have any experience with HDMI capture cards that work with ffmpeg?
[01:55] <bparker> barhom: yes
[01:55] <bparker> and gstreamer
[01:55] <bparker> JEEB: I don't know about bufsize/maxrate because I can't find it in any help output
[01:56] <barhom> bparker: what Im trying to achieve is HDMI (720p50) -> ffmpeg input and "transcode" to some suitable bitrate and save it as mpegts
[01:56] <praedo> hello
[01:56] <praedo> i'm trying to stream a password protected stream to a wowza media server using ffmpeg
[01:56] <barhom> bparker: do you recommend some capture card?
[01:56] <praedo> without password it works
[01:56] <praedo> but with password i don't know how to pass it using ffmpeg
[01:56] <praedo> it's a rtmp url that requires password
[01:57] <praedo> is it possible to pass a username and password?
[01:57] <bparker> barhom: I've had success with both blackmagic and viewcast (osprey) cards on linux
[01:57] <bparker> they both support 720p50
[01:57] <barhom> but they don't give you a raw video device that ffmpeg can use directly?
[01:57] <bparker> osprey cards do
[01:58] <bparker> they support video4linux
[01:58] <barhom> can't seem to find an osprey that have HDMI inputs, they have SDI
[01:59] <bparker> http://viewcast.com/products/osprey-cards/osprey-820e
[02:00] <barhom> Two HDMI to DVI adapters < ah makes sense ;)
[02:00] <praedo> anyone knows if ffmpeg can pass a user/pass to an rtmp stream?
[02:00] <barhom> if Id go and buy new cards, you'd recommend the ospreys over blackmagic then?
[02:00] <praedo> maybe user:pass at rtmp://
[02:00] <praedo> ?
[02:01] <bparker> well, I specifically don't recommend the 820e
[02:01] <bparker> based on my past experience the last few weeks
[02:01] <bparker> plus it's $1,795USD
[02:02] <barhom> wow, thats expensive ;) but I need something that *works*, so it might be an option if there's nothing else
[02:02] <bparker> well that's the thing.
[02:02] <barhom> I found this; https://github.com/lu-zero/bmdtools
[02:02] <bparker> the driver is not written by the manufacturer but some 3rd party kernel hacker guy
[02:02] <barhom> the intensity pro is 200USD, big difference
[02:02] <bparker> and I could not get most of the resolutions to work at all
[02:02] <bparker> plus there were other bugs
[02:02] <bparker> yea I recommend the $200 card
[02:02] <bparker> bmdtools may work
[02:03] <bparker> if not, use vlc or gstreamer
[02:03] <barhom> what about cards that have more than 1 input simultaneously?
[02:04] <bparker> both blackmagic and osprey have multi-input cards
[02:04] <bparker> both 2 and 4 input cards
[02:04] <bparker> up to 1080p/2k/4k
[02:04] <bparker> and 3D
[02:04] <barhom> Ive seen a lot o multiinput cards that usually simply is a switch
[02:04] <barhom> they can't handle all simultanously
[02:04] <bparker> these can
[02:04] <barhom> great
[02:05] <bparker> blackmagic I think is the best value but drivers are closed source and require their proprietary SDK to use
[02:05] <bparker> but they work very well, albeit with 2-3 frame latency
[02:05] <barhom> just as long as they work its worth a shot
[02:05] <bparker> osprey is higher quality and lower latency, but a lot more expensive and the driver for 820e is poop
[02:06] <bparker> which is only one with DVI/HDMI
[02:06] <barhom> e3-1240v2 8gb ram should be enough to do h264 mpegts
[02:06] <bparker> absolutely
[02:06] <bparker> more like 4x 1080p streams with that
[02:06] <bparker> if using x264
[02:06] <bparker> :p
[02:06] <barhom> yeh
[02:06] <barhom> Well, Ill get the intensity pro and give it a try
[02:06] <barhom> Debian stable work or does it need newer kernel?
[02:07] <bparker> should work fine
[02:07] <barhom> i it works out, Ill check out the multi input ones
[02:07] <bparker> that osprey card needs 3.x but blackmagic we've been using with 2.6.2x
[02:07] <bparker> I've tested intensity from 2.6.20 to 3.6 I think
[02:08] <bparker> they have a .deb for the driver and SDK on their website
[02:08] <bparker> well the driver is a .deb
[02:08] <barhom> you know of any tutorial to get gstreamer up?
[02:09] <bparker> yea
[02:10] <bparker> it's pretty simple
[02:10] <bparker> gst-launch-0.10 decklinksrc connection=hdmi mode=720p50 ! ffmpegcolorspace ! xvimagesink sync=false
[02:11] <bparker> you can look at gst-inspect-0.10 decklinksrc for complete list of options for blackmagic
[02:12] <bparker> and for general gstreamer stuff http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet
[02:12] <bparker> of course there's a lot more you can do with it than what's on that page
[02:13] <barhom> thanks a lot, it'll be fun to play around with these when I get the card
[02:13] <bparker> np
[02:14] <barhom> a lot of the multi input seems to be SDI only, is the HDMI->SDI conversion easy?
[02:17] <bparker> no
[02:17] <bparker> you need $400-500 boxes for each
[02:17] <bparker> you can always use 2 intensity pro
[02:17] <bparker> how many inputs do you need?
[02:18] <bparker> and are you doing stereo 3D?
[02:18] <barhom> I'm looking at 8 inputs of 720p50 5.1 audio, there is no 3D
[02:18] <bparker> wow
[02:18] <bparker> what for?
[02:18] <bparker> broadcast?
[02:18] <barhom> yeh, or a tv station that want to stream through IP locally
[02:19] <barhom> "small" tv station
[02:19] <bparker> ah
[02:19] <barhom> probably aiming at 8mbit x264
[02:19] <barhom> i 1080p
[02:19] <barhom> if*
[02:20] <bparker> the cheapest is definitely with independent intensity cards
[02:20] <bparker> 8 of them
[02:20] <bparker> lol
[02:20] <bparker> you'll need a computer with nice big PCIe backplane
[02:21] <bparker> or lots of converters with 2 4x input cards, or 4 2x cards
[02:21] <bparker> if this is a tv station, why are they using HDMI?
[02:21] <mudkipz> I know I'm kinda late on this but in the rtmp url you can add in more arguments and ffmpeg will parse them.
[02:21] <mudkipz> Each RTMP server will want it in a different format though, it depends.
[02:21] <bparker> you'd think it would be ASI if compressed or SDI if uncompressed
[02:22] <bparker> at least that's what I've seen in the past
[02:22] <bparker> at stations
[02:22] <barhom> http://www.supermicro.com/products/motherboard/Xeon/C600/X9DRX_-F.cfm < or this
[02:22] <barhom> its because it isn't where the tv station is produced, they are sending to satellite, then Im receiving it via satellite in another location with their own set top box
[02:23] <barhom> in the other ofice
[02:23] <bparker> ah
[02:23] <barhom> so their set top box only has HDMI output with HDCP
[02:23] <barhom> without*
[02:23] <bparker> that board might work
[02:23] <bparker> as long as it gives enough power to all slots and you have 2 processors in it
[02:24] <barhom> yeh you need two processors for the pci-e to function
[02:24] <bparker> we use these guys because they're local: http://www.trentonsystems.com/products/single-board-computers/backplanes/picmg-13-backplanes
[02:25] <bparker> and they offer long-life products
[02:25] <bparker> whereas some random motherboard might stop being made from one year to the next
[02:25] <barhom> I never understood exactly how those backplanes work, you choose your own motherboard, link to a 16x slot and you get x slots on the other backplane?
[02:25] <barhom> with cable between the first motherboard to the other chassis with x pci-e slots?
[02:26] <bparker> the backplanes hook up to a system host board
[02:26] <bparker> which is like a blade system
[02:26] <bparker> http://www.trentonsystems.com/products/single-board-computers/picmg-13
[02:26] <bparker> the top pic you can see a backplane with a SHB plugged in, it has the CPUs/memory/etc.
[02:27] <bparker> and no worries, I didn't understand it for a long time either ><
[02:27] <barhom> alright, so the server itself is actually like an add-in card (well looks like it)
[02:27] <bparker> right
[02:27] <bparker> and yes, it connects via PCIe
[02:28] <barhom> what are we talking about for prices?
[02:28] <barhom> that 11pci-e motherboard runs for 500USD I think
[02:28] <bparker> yea they aren't cheap
[02:28] <barhom> but at least thats exactly what they are made for, so you can expect reliability
[02:29] <bparker> right
[02:30] <mudkipz> woah that's actually pretty cool
[02:30] <barhom> got 3 SM 1U servers coming in next week that can fit 2 full height and 1 halheight
[02:30] <barhom> so Ill give the intensity pro a try there first
[02:31] <bparker> cool
[02:31] <barhom> the idea is to -f mpegts udp://239....
[02:31] <bparker> we use their SHB with a 2U server and small butterfly backplane, since we only use 4 slots
[02:31] <bparker> and that runs a little over $4k cost
[02:32] <bparker> but it's a medical product, so we buy at 4k and sell for 100k.
[02:32] <bparker> no worries there
[02:32] <bparker> :p
[02:32] <barhom> haha yeh :D
[02:32] Action: barhom is jealous of your business now
[02:33] <bparker> meh
[02:33] <barhom> nah, just a reaction ;)
[02:33] <bparker> what we actually specialize in is autostereo (no-glasses) 3D screens
[02:34] <bparker> the medical thing is just for a customer of ours
[02:34] Action: barhom looking at auto stereo 3d screens on youtube now
[02:35] <barhom> interesting
[02:36] <barhom> so thats where 3d tvs are heading, always thought glasses can't be the future, I mean you need so many if you have guests
[02:36] <bparker> exactly, so remove the glasses :)
[02:36] <bparker> it's already being used on a limited scale for consumer products
[02:37] <bparker> like Nintendo 3DS, HTC EVO 3D, fuji 3D camera etc.
[02:37] <barhom> somebody LG quoted that you can't watch normal 2d on such tvs? (or did I hear wrong?)
[02:37] <bparker> you can, but like everything on the screen, it's reduced resolution
[02:37] <bparker> typically down to 1/3rd the native res of the display
[02:37] <bparker> so like small sharp text is hard to see etc.
[02:37] <bparker> but otherwise it looks fine
[02:38] <bparker> like if you make a 1080p screen autostereo, then you only have effectively 360p resolution now
[02:38] <mudkipz> wow crazy
[02:38] <bparker> which is why we are moving to 2k and 4k screens
[02:38] <bparker> like 4k TV with autostereo is now 720p res
[02:39] <barhom> 10 years in to the future, iptv with 4k resolution and auto stereo, we're looking at 50+mbit at least/channel in h264 ;)
[02:40] <bparker> at least when you talk about multiview screens, that's typically how it goes. single-view screens are only half the resolution, but only one person can watch it (e.g. nintendo 3DS)
[02:40] <barhom> yeh
[02:40] <bparker> of course 10 years from now everyone will have gigabit wireless connection to their toaster
[02:41] <sacarasc> Gotta make the toast from bed.
[02:41] <bparker> and we'll each have a personal asimo bring it to us in the morning
[02:42] <bparker> or you know, the truly lazy will just put the damn toaster next to the bed.
[02:42] <mudkipz> hahaha
[02:42] <barhom> we'd love asimos :D
[02:42] <barhom> a toaster is actually something I don't have currently, Ive been thinking about it for a week
[02:43] <bparker> barhom: if it could figure out how to walk up stairs without falling, yea
[02:43] <barhom> Im using my waffle machine to make heated sandwhiches
[02:43] <bparker> and hopefully it develops a personally much better than C3P0
[02:43] <bparker> personality*
[02:43] <barhom> We wouldn't want a babel fish inside of our left ear
[07:37] <shmooz> oh wow!
[07:37] <shmooz> hello
[07:38] <shmooz> dream come true, I was wondering where you guys were
[07:39] <shmooz> I've been making a video player for android that has lists of channels/streams that users can update, so far I've been using the default VideoView that comes with Android SDK, but it doesn't support enough formats like ffmpeg does
[07:40] <shmooz> so now I have to learn the Android NDK and how to compile ffmpeg 1.0 for it and how to package that with my app
[07:43] <shmooz> oh I see, I have to goto #ffmpeg-devel
[07:43] <shmooz> thanks
[09:59] <chrisivens> morning
[10:01] <fling> Hello! how may I capture from IP cam? > http://barnaul.dns-shop.ru/catalog/158/?order=1
[10:01] <chrisivens> I have a number of clips that I want to concatenate together but some have audio track and some don't. Is there a way of creating an empty track if one doesn't exist when extracting the audio stream?
[10:38] <boba88> hi
[10:38] <boba88> which is the correct version of ffmpeg that i should install on ubuntu 12.04 so that i can build opencscenegraph successfully
[10:38] <boba88> i compiled the latest form the most recent development branch, also 0.7.13 and 0.8.12 ... all of them failed?
[10:48] <boba88> the thing is ffmpeg compiles successfuly, but openscenegraph has trouble compiling when using the compiled ffmpeg libs
[10:49] <mudkipz> maybe your ffmpeg doesn't have enable shared or something?
[10:49] <mudkipz> I'm not an ffmpeg guy so I have no idea.
[10:50] <mudkipz> I do know the newest version is 1.0 though.
[11:06] <boba88> mudkipz: hmm it means when i do ./configure i should pass some option like enable share or so?
[11:09] <boba88> mudkipz: if i do ./configure --help ... i can see --enable-shared build shared libraries [no]
[11:09] <boba88> mudkipz: so it means it is currently off?
[11:10] <boba88> mudkipz: i should do ./configure --enable-shared ?
[11:10] <boba88> and then make, make install?
[11:12] <mudkipz> uh, sorry, you can check by running ffmpeg by itself
[11:12] <mudkipz> it will tell you everything it was configured with.
[11:13] <boba88> mudkipz: ok
[11:14] <boba88> mudkipz: thanks
[11:14] <mudkipz> Yea, I'm not sure how ubuntu works since I haven't used it in many years. Like I said though I'm not an ffmpeg guy, just throwing out a possible idea.
[12:50] <stclaws> I suddenly get this: Data stream encoding not supported yet (only streamcopy) when streaming rtmp. Where did that come from?
[13:18] <zimbatm> how much work would it take to properly support multiple edit-list in mov decoding ?
[13:19] <zimbatm> that's something that's hitting lots of Mac users when they export with QuickTime and then try to convert the video with ffmpeg
[13:26] <JEEB> maybe after ffmpeg gets playlist support (that elenril had been working on for quite a while IIRC)
[13:34] <zimbatm> JEEB: do you know if anyone is accepting sponsored work ?
[13:36] <JEEB> elenril can be poked for the playlist stuff, and then I think bcoudurier and MP4_maniac are people who are in the know relating to the MOV/"MP4" containers
[13:37] <zimbatm> cheers, thanks for the pointers
[13:37] <MP4_maniac> I
[13:38] <mudkipz> ffmpeg playlists are probably hard with subtitle channels.
[13:39] <MP4_maniac> i think much work is needed for supporting multiple edit list since ffmpeg/libav's mov demuxer confuses with presentation timeline and media timeline
[13:41] <mudkipz> that makes sense
[13:42] <zimbatm> are you guys all working with Youtube/Vimeo/... ?
[13:43] <zimbatm> i'm wondering if this is a work that can be sponsored in some way
[13:43] <zimbatm> i think it would be helpful for many people because iMovie / Final Cut seem to like adding these edit-lists when exporting with the default params
[13:44] <JEEB> I know some people who work for those companies but most people have completely separate jobs unrelated to ffmpeg
[13:47] <zimbatm> ok, i'll be back after lunch annoying some more :)
[13:52] <Tonio> Hi everybody !
[13:54] <Tonio> everyone is here ?
[13:57] <stclaws> Hi, I have ffmpeg receiving a rtmp stream which sometimes switches sources between live and prerecorded. It complains about the different formats and the image turns grey when we switch. See both sources here: http://pastebin.com/pbY3xjD2 . Does anyone know how to adjust things to make it work?
[14:01] <Tonio> I search since many days a solution of my problem, the deadline for my client will arrived in two days and we need to convert our videos in web and mobil format. I have compile FFmpeg with all codecs but at the time of convert i have this error "Unknown encoder 'libx264' ". I work with debian Squeeze 6.0
[14:04] <mudkipz> Are you sure you have your ffmpeg compiled with libx264? run ffmpeg by itself and pastebin the output. Also the command you're using.
[14:09] <Tonio> Here is my output : http://pastebin.com/48JxQQWC
[14:10] <Tonio> This command comes to Paul Rouget (Ingenier at Mozila)
[14:14] <mudkipz> I'm not an ffmpeg person so someone else can probably give you better advice. Looking around the internet it looks like it may be related to not having this package. http://packages.debian.org/squeeze-backports/libavcodec-extra-53
[14:15] <Tonio> This package doesn't exist but i have the libavcodec-extra-52
[14:19] <mudkipz> hmm, I'm not sure then. One thing though, your ffmpeg doesn't seem to be compiled with libfaac. There is an experimental libav aac encoder so you can replace "-acodec libfaac" with "-acodec aac -strict -2"
[14:19] <saste> Tonio, WARNING: library configuration mismatch
[14:20] <saste> in other words, you compiled against a library, but you're dinamically linking against another one
[14:22] <Tonio> saste, so what you recommend for my problem ?
[14:23] <saste> Tonio, don't take it as an offense, but you should understand how dynamic linking (and paths) works
[14:23] <saste> alternatively try to compile a static ffmpeg
[14:24] <saste> dynamic linking can be tricky
[14:25] <Tonio> Ok, i'm really pressed by time but i will check this
[14:25] <saste> i have in my todo to write a section in the wiki explaining that stuff, but it's really not ffmpeg-specific
[14:25] <saste> and i bet you can find some nice explanation on the internet
[14:26] <zimbatm> Tonio: these scripts are a bit out of date but they might help you build ffmpeg statically: https://github.com/stvs/ffmpeg-static
[14:26] <Tonio> for you it's better to re-compile in static or try to use ffmpeg dynamic ?
[14:27] <saste> Tonio, if you don't have special demands (e.g. to get a small binary size), static is simpler
[14:27] <saste> since the binary will contain the library, so you have less chance to link against the wrong library
[14:28] <Tonio> Ok so i will remove all ffmpeg package and re-compile in static
[14:50] <jthomas_> I've tried to RTFM and searched Google but I can't figure out how to tunnel an RTP stream over HTTP (or preferrably HTTPS). Can anyone work with me a bit on this? I'm running ffmpeg 1.0 on Debian Sid, trying to stream my soundcard. I have rtp multicast working but our network doesn't allow that, so i want http
[14:50] <jthomas_> this is my RTP command, which works on a less restrictive network: /usr/bin/ffmpeg -f alsa -i pulse -acodec libmp3lame -ab 32k -ac 1 -re -f rtp rtp://234.5.5.5:1234
[15:51] <b_jonas> argh, why does ffprobe give me warning messages in a nondeterministic way? I run the same command multiple times and the number of warnings keeps changing
[15:52] <b_jonas> I'm running this command: e:\ambrus\f\heavy\tmp>e:\ambrus\local\bin\ffprobe -show_format -show_error -show
[15:52] <b_jonas> _streams -count_frames E:\ambrus\f\DolSLR\trunk\Testing\Futtatas\InputOutput\Hel
[15:52] <b_jonas> argh
[15:52] <b_jonas> e:\ambrus\local\bin\ffprobe -show_format -show_error -show_streams -count_frames E:\ambrus\f\DolSLR\trunk\Testing\Futtatas\InputOutput\Helga_5_het\section_1350638137\Video\logitechFront.mkv > probe.txt
[15:52] <b_jonas> that command
[15:52] <b_jonas> and sometimes it says [h264 @ 0000000002932290] number of reference frames (0+2) exceeds max (1; probably corrupt input), discarding one
[15:52] <b_jonas> but sometimes it doesn't
[15:55] <mads-> Hi. I have been using ffmpeg on ubuntu 11.04. I have been screencasting with -vcodec libx264-vpre lossless_ultrafast . Now I'm on ubuntu 12.10 and when trying the same command it gives me Unrecognized option 'preset'. It's a fresh install
[15:59] <relaxed> mads-: -preset ultrafast -qp 0
[16:01] <mads-> relaxed, seemed to work. Now it says Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1 >= 1. Do you know what that mean? :S
[16:02] <relaxed> It's my least favorite error message.
[16:02] <relaxed> What is your full command?
[16:03] <mads-> ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s $(xwininfo -root | grep 'geometry'| awk '{print $2;}') -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -qp 0 -threads 0 -y output.mkv
[16:03] <mads-> For screencasting full screen
[16:07] <relaxed> remove '-vcodec libx264 -preset ultrafast -qp 0 -threads 0' and replace it with '-vcodec rawvideo'
[16:07] <relaxed> see if that works
[16:08] <mads-> same error
[16:08] <relaxed> also, grep is not needed there, you could use awk '/geometry/ {print $2;}'
[16:08] <relaxed> try 25fps
[16:09] <mads-> same error
[16:09] <mads-> I don't even understand what the error is trying to tell me
[16:10] <relaxed> add -vsync vfr
[16:10] <mads-> Expected number for vsync but found: vfr
[16:11] <relaxed> sorry, -vsync 2
[16:11] <mads-> same error
[16:11] <mads-> the monotonically one
[16:11] <relaxed> try chaning the container to avi
[16:11] <relaxed> or nut
[16:13] <mads-> avi seems to work...
[16:13] <mads-> Let me just check it with a player
[16:14] <mads-> mplayer didn't like it
[16:14] <mads-> Could it be because I'm running unity and trying to capture that?
[16:15] <relaxed> try again with -filter:v format=yuv420p
[16:16] <mads-> it says unrecognized option 'filter:v'
[16:18] <relaxed> -vf
[16:19] <mads-> runs fine - but mplayer says error decoding frame to all the frames.
[16:20] <mads-> Should I maybe try installing another OS. Is that monotonically error something once you get it it's hard to lose again?
[16:36] <mads-> relaxed, well, thanks for trying. :)
[18:45] <karimi> After unpacking ffmpeg 0.5.9-1 and running configure, has anyone every received the error: "You need a compiler that supports {} in AltiVec vector declarations." If so, how did you resolve the issue?
[19:02] <Eric> Does FFMPEG fully support HLS for I phone/I pad
[19:02] <Guest51045> Does FFMPEG fully support HLS for I phone/I pad
[19:35] Last message repeated 1 time(s).
[19:36] <ubitux> karimi: ffmpeg 0.5? are you serious man? :D
[19:36] <ubitux> Guest51045: should work, just honor the codecs requirements for the device
[19:40] <Guest51045> Thanks one more stupid question...Does it has capability to switch bitrates dynamically
[19:59] <karimi> ubitux: I had the same issue with newer versions as well. It appears the fix was to run configure with the disable-altivec option.
[20:00] <ubitux> your compiler is likely broken then
[20:06] <karimi> Yea. Well it's building fine now& the system we've inherited is running a very old compiler. So I'm just happy there was some sort of fix. :)
[22:21] <smellynosery> Howdy - is there a way to make ffmpeg/mpegts _not_ output PAT/PMT/EIT/TDT tables?
[22:25] <Bear_DK> how come av_resample_init() doesn't use channels (mono/stereo) in the same way as av_audio_resample_init()? I'm currently using av_audio_resample_init() but it doesn't work with av_resample_compensate().
[22:53] <wm4> michaelni: could you bump libswscale's micro version? I think your input range changes for rgb->yuv changed the default behavior for the yuv range flag (or am I missing something)
[23:02] <michaelni> wm4, i can bump it if it helps someone, it does no harm for us but as far as i can see its a simple bugfix
[23:05] <wm4> hm yeah, looking at it a second time, it's probably not needed
[23:06] <wm4> as long as the users ensures not to set the range flag for the RGB source or destination
[00:00] --- Thu Nov 1 2012
More information about the Ffmpeg-devel-irc
mailing list