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

burek burek021 at gmail.com
Mon Dec 14 02:05:01 CET 2015


[00:00:07 CET] <klemax> thanks
[00:02:16 CET] <klemax> furq: line 3: COUNT+: syntax error: operand expected (error token is "+")
[00:02:33 CET] <furq> $(()) is a bashism iirc
[00:02:45 CET] <klemax> yeah
[00:03:15 CET] <furq> replace it with expr or run it with bash
[00:04:06 CET] <klemax> I'm running it with bash. btw, ffprobe: unrecognized option 'v'
[00:04:33 CET] <furq> what version?
[00:04:38 CET] <furq> that works fine for me with 2.8.3
[00:05:07 CET] <klemax> FFprobe version 0.6.5, im using rpmforge's package.
[00:05:22 CET] <furq> oh man
[00:05:31 CET] <klemax> yeah, sorry.
[00:05:31 CET] <furq> i'd be surprised if it worked at all then
[00:05:39 CET] <klemax> :)
[00:05:54 CET] <furq> you might be better off replacing ffprobe with mediainfo --Inform="General;%Duration%"
[00:06:00 CET] <furq> then divide by 1000 at the end
[01:04:18 CET] <E-TARD> i need help
[01:04:24 CET] <E-TARD> how do i make this ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U       " -profile:v baseline -codec:v libx264 -vb 800k -video_size 640x480 -codec:a aac -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments http://192.168.1.2:8090/feed.m3u8
[01:04:29 CET] <E-TARD> work with ffserver
[01:06:20 CET] <E-TARD> all i need is the <Stream> part of the conf file. i just don't know what to input
[01:07:13 CET] <E-TARD> the server is telling me "[POST] "/feed.m3u8 HTTP/1.1" 404 146"
[01:09:47 CET] <E-TARD> help me :(
[01:10:36 CET] <Prelude2004c> hey anyone here know how to ignore " no screens found " error on xorg ?
[01:11:34 CET] <E-TARD> ffserver help?
[01:12:50 CET] <E-TARD> "[POST] "/feed0.ts HTTP/1.1" 404 146" "[POST] "/feed.m3u8 HTTP/1.1" 404 146" ffserver how to config it
[01:55:07 CET] <E-TARD> there is not much help online when it comes to ffmpeg & there is even less help on the net for FFserver.
[01:55:16 CET] <E-TARD> so can some one help me with ffserver
[02:03:30 CET] <E-TARD> ffserver help?
[02:04:46 CET] <jimby> E-TARD: the list is pretty good about help, but you may have to wait a while to get an answer
[02:05:11 CET] <jimby> i probably do not know the answer, but what is  your question?
[02:05:36 CET] <E-TARD> well this is all i got. i can get on the board never got the email for my user
[02:05:58 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U       " -profile:v baseline -codec:v libx264 -vb 800k -video_size 640x480 -codec:a aac -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments http://192.168.1.2:8090/feed.m3u8
[02:06:13 CET] <E-TARD> all i get is this from ff server
[02:06:15 CET] <E-TARD> Sat Dec 12 17:01:30 2015 192.168.1.2 - - [POST] "/feed0.ts HTTP/1.1" 404 146
[02:06:15 CET] <E-TARD> Sat Dec 12 17:01:32 2015 192.168.1.2 - - [POST] "/feed.m3u8 HTTP/1.1" 404 146
[02:06:18 CET] <E-TARD> why
[02:06:51 CET] <c_14> you want to push to the ffm
[02:06:53 CET] <c_14> not the m3u8
[02:07:13 CET] <E-TARD> ok hold on let me try that
[02:07:24 CET] <c_14> also, most of those options are going to be overridden
[02:07:30 CET] <c_14> by the options set in the ffserver config
[02:08:30 CET] <E-TARD> i'm just useing the ffserver to put out the stream not to change it
[02:08:49 CET] <c_14> doesn't matter
[02:08:59 CET] <c_14> ffserver pushes its options to the client ffmpeg
[02:09:14 CET] <c_14> (unless you use -override_ffserver or something)
[02:09:42 CET] <E-TARD> so i changed it to ffm
[02:09:46 CET] <E-TARD> this si what i get
[02:09:47 CET] <E-TARD> Press [q] to stop, [?] for help
[02:09:47 CET] <E-TARD> av_interleaved_write_frame(): Unknown error00:01.22 bitrate=N/A
[02:09:48 CET] <E-TARD>     Last message repeated 1 times
[02:09:48 CET] <E-TARD> [hls @ 0000000004792560] Cannot use rename on non file protocol, this may lead to races and temporarly partial files
[02:09:48 CET] <E-TARD> Error writing trailer of http://192.168.1.2:8090/feed.ffm: Error number -10053 occurredframe=   54 fps= 32 q=33.0 Lsize=N/A time=0
[02:10:05 CET] <c_14> pastebin your ffserver.conf
[02:10:47 CET] <E-TARD> http://pastebin.com/GrdfF91P
[02:11:06 CET] <c_14> feed1.ffm
[02:11:39 CET] <E-TARD> same thing
[02:12:01 CET] <E-TARD> [hls @ 00000000005750e0] Cannot use rename on non file protocol, this may lead to races and temporarly partial files
[02:12:02 CET] <E-TARD> Error writing trailer of http://192.168.1.2:8090/feed1.ffm: Error number -10053 occurredframe=   54 fps= 32 q=33.0 Lsize=N/A time=
[02:12:18 CET] <E-TARD> why is this so hard to do
[02:12:28 CET] <E-TARD> i have been working on this 3 dasy now
[02:12:32 CET] <c_14> what are you even trying to do
[02:12:33 CET] <c_14> that won't work
[02:12:36 CET] <E-TARD> i will kill for a gui
[02:12:42 CET] <c_14> you can't output hls to ffserver
[02:13:09 CET] <E-TARD> how then step by step how in the hell do i do this
[02:13:14 CET] <c_14> do what?
[02:13:22 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U       " -profile:v baseline -codec:v libx264 -vb 800k -video_size 640x480 -codec:a aac -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments http://192.168.1.2:8090/feed.m3u8
[02:13:29 CET] <E-TARD> web cam hls to the server
[02:13:33 CET] <c_14> that doesn't tell me what you're trying to do
[02:13:52 CET] <E-TARD> stream live webcam using hls to ffserver
[02:13:59 CET] <c_14> that won't work
[02:14:01 CET] <c_14> ever
[02:14:05 CET] <c_14> ffserver doesn't take hls as input
[02:14:17 CET] <E-TARD> ok how about an out
[02:14:36 CET] <c_14> go back a step, what are you trying to do
[02:15:00 CET] <c_14> Stream from a webcam
[02:15:06 CET] <c_14> To where, in what format
[02:15:18 CET] <E-TARD> i am a lifecaster streaming my webcam 24/7 to my viewers. i want to stream hls to from my webcam with ffserver
[02:15:43 CET] <E-TARD> so my viewers can see the feed with hls
[02:15:59 CET] <E-TARD> there are no tuts for this
[02:16:31 CET] <E-TARD> so from ffmpeg to ffserver what should i use
[02:17:33 CET] <E-TARD> so my viewers can see the feed with hls
[02:20:56 CET] <E-TARD> ok so i pulled out all the hls junk out of ffmpeg
[02:20:57 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U       " http://192.168.1.2:8090/feed1.ffm
[02:21:09 CET] <E-TARD> ffmpeg seems to be happy
[02:21:20 CET] <E-TARD> but ffserver only kind of happy
[02:21:47 CET] <E-TARD> http://192.168.1.2:8090/feed.m3u8 vlc not happy with that link
[02:22:20 CET] <E-TARD> in http://192.168.1.2:8090/stat.html i get WAIT_FEED
[02:23:45 CET] <c_14> What I'd do is get ffmpeg to output hls onto your disk somewhere and then just serve that using a normal webserver.
[02:25:23 CET] <E-TARD> that will not work. one i'm testing this out on my lan for now but later ffserver is going to be on my dedicated at fdcservers.net and I don't want to run a webservice
[02:26:25 CET] <E-TARD> it would seem i got ffmpeg down pat I just need to get ffserver to do it's part & then im done
[02:26:54 CET] <E-TARD> so whats the deal with WAIT_FEED
[02:27:52 CET] <c_14> No idea. Never really use ffserver
[02:28:48 CET] <E-TARD> man the ffmpeg devs really need to stop working on code & start typing up some tut on how to use any of this or make a GUI
[02:29:15 CET] <E-TARD> what good is it to make something if no one knows how to use it.
[02:30:52 CET] <E-TARD> with a power house command line app like ffmpeg there really needs to be TuT's
[02:32:12 CET] <jimby> E-TARD: ffmpeg actually has fairly good documentation for a FOSS project.  sure it needs work, just like every other project
[02:32:44 CET] <E-TARD> and i will reply with this "what good is it to make something if no one knows how to use it."
[02:32:52 CET] <E-TARD> lol
[02:44:07 CET] <JEEB> ffserver is one of those things that very few people use and I genuinely feel sorry for those who do
[02:44:31 CET] <JEEB> ffmpeg itself is what people generally care of
[02:44:49 CET] <E-TARD> you feel sorry becasue it sux or no tut?
[02:45:49 CET] <JEEB> because it is almost unmaintained (there's like one or two guys committing into it) and there for whatever reason are people who want to use it who then hit the wall that it's not the streaming server they want :P
[02:46:08 CET] <JEEB> pretty much all streaming can be done with just ffmpeg and possibly a *real* streaming server like one of those *cast ones
[02:46:14 CET] <JEEB> icecast or whatever
[02:46:21 CET] <JEEB> or plugins for nginx/apache
[02:46:40 CET] <JEEB> the moment you try to use ffserver you go into "here be dragons" territory
[02:46:44 CET] <E-TARD> you see it is the streaming server i want. i just have no way to know how to use it
[02:47:25 CET] <JEEB> pretty sure it isn't what you want, you are wishing it is what you'd want
[02:47:37 CET] <E-TARD> ffserver will do what i need to just need info on how to get it working.
[02:47:56 CET] <JEEB> if you are going to do HLS, just do it with a proper httpd which will handle it all for you
[02:48:11 CET] <JEEB> and just output into places the httpd can access
[02:48:57 CET] <E-TARD> times like this i wish i had $800 so i can buy https://evostream.com/
[02:49:06 CET] <JEEB> you can output rtmp for nginx's thing or http for icecast and friends with ffmpeg itself
[02:49:27 CET] <E-TARD> i hate sooooo nginx
[02:49:33 CET] <E-TARD> will not go there
[02:49:43 CET] <JEEB> yet it is very good at what it does, which is serving static files over HTTP(S)
[02:49:56 CET] <E-TARD> i only work lighttpd and apache
[02:49:56 CET] <JEEB> and that is exactly what you need for HLS
[02:50:06 CET] <JEEB> well, whatever fits your fancy
[02:50:24 CET] <JEEB> HLS is literally static files being generated by ffmpeg or whatever else you're encoding with
[02:50:48 CET] <JEEB> I'm pretty sure ffserver cannot make virtual files and let you not have the output on a file system
[02:51:16 CET] <jimby> E-TARD: you might consider VLC media player (https://en.wikipedia.org/wiki/VLC_Media_Player)  it purports to support HLS
[02:51:27 CET] <E-TARD> never seen any tuts on doing that with lighttpd or apache. if you know of any let me know.
[02:51:32 CET] <JEEB> jimby: that requires the same thing
[02:51:42 CET] <JEEB> you need a httpd that then serves the files
[02:51:51 CET] <E-TARD> VLC hates me
[02:51:56 CET] <jimby> i don't use the server stuff myself, just the client for playback
[02:51:59 CET] <JEEB> E-TARD: you output the m3u8 and segments somewhere
[02:52:05 CET] <E-TARD> i can get the video working but not sound
[02:52:07 CET] <JEEB> have a httpd share that shit
[02:52:15 CET] <JEEB> ???
[02:52:17 CET] <JEEB> profit
[02:52:32 CET] <JEEB> seriously, that's all. if you need a tutorial for that I'm really really sorry
[02:53:00 CET] <jimby> if you're not getting sound, it's likely you are not coordinating your mixer / record with mixer / playback
[02:53:14 CET] <E-TARD> so it just serves that m3u8 file & thats it?
[02:53:41 CET] <E-TARD> vlc: core debug: using encoder module "x264"
[02:53:41 CET] <E-TARD> core debug: removing module "x264"
[02:53:41 CET] <E-TARD> x264 debug: framecount still in libx264 buffer: 0
[02:53:59 CET] <JEEB> like, if your webroot is /muh_hls/ then you do ffmpeg -i welp -c:v libx264 -c:a aac -crf 23 -maxrate 3M -bufsize 6M /muh_hls/das_stream.m3u8
[02:54:15 CET] <JEEB> and you get das_stream.m3u8 being updated
[02:54:27 CET] <JEEB> as well as das_stream-NUMBER.ts segments written there
[02:54:38 CET] <JEEB> and then you have a player open the m3u8
[02:54:40 CET] <JEEB> done
[02:55:36 CET] <JEEB> HLS literally throws away the good points of actual streaming protocols in order to make use of the large amount of HTTP infrastructure for static files we already have
[02:56:22 CET] <E-TARD> no i know HLS is a step back & RTMP is way better
[02:56:39 CET] <JEEB> I wouldn't call rtmp better in any other way than being an actual streaming protocol
[02:56:48 CET] <E-TARD> lol
[02:56:51 CET] <JEEB> for further documentation on HLS-specific options like setting URLs and shit in the playlists see https://www.ffmpeg.org/ffmpeg-all.html#hls-1
[02:58:38 CET] <E-TARD> thats all i know is rtmp i been doing my cast with crtmpserver for some time but i can stand the bugs in crtmpserver any more & crtmpserver is dead. also flash is dead so for my viewers to view me i got to use what works for them.
[03:00:31 CET] <E-TARD> i sure as hell don't like hls lol
[03:00:50 CET] <JEEB> anyways, HLS isn't brain surgery. make a httpd serve a directory that is write'able by the user running ffmpeg. then point the output towards that dir with a filename.m3u8 output playlist name. voila, you get HLS and you can access it with players through that playlist's URL
[03:01:15 CET] <E-TARD> then thats what i will do
[03:01:45 CET] <E-TARD> one ? does DASH work the same way as hls?
[03:01:52 CET] <JEEB> yes
[03:01:57 CET] <JEEB> you have a playlist
[03:02:04 CET] <JEEB> and then you have initialization segments
[03:02:11 CET] <JEEB> and then you have the actual segments
[03:03:01 CET] <JEEB> but the idea is the same, static files then shared by a httpd
[03:03:08 CET] <E-TARD> i see. thank you for all of your help JEEB jimby c_14
[03:04:08 CET] <jimby> yw - hope you can get it working
[03:04:19 CET] <JEEB> also man do I hate the fact that all of those JS-based DASH implementations suck dongs
[03:04:42 CET] <JEEB> esp. if you hit them with something totally nobody ever thought of
[03:04:47 CET] <JEEB> (sarcastically)
[03:04:58 CET] <E-TARD> oh i know DASH is more 2017
[03:05:09 CET] <JEEB> like, having samples of audio come for .9 seconds before you get video
[03:05:27 CET] <JEEB> that seems to be an incomprehensive idea
[03:05:37 CET] <E-TARD> DASH has a long way to go
[03:08:06 CET] <JEEB> what ffmpeg outputs as-is from static files should work fine since it tries to make both streams start at zero and all, but as soon as you try to do proper broadcast timestamp shit they fall apart in various ways
[03:08:12 CET] <JEEB> chrome wouldn't play at all
[03:08:23 CET] <JEEB> firefox would play but wouldn't let you seek within the first second or so
[03:08:37 CET] <E-TARD> grr
[03:08:48 CET] <E-TARD> something is not working with ffmpeg
[03:08:49 CET] <JEEB> funny enough MS's Edge supports both HLS and DASH natively out of the box
[03:08:54 CET] <E-TARD> ffmpeg -f dshow -r 30 -video_size 640x480 -pix_fmt yuv420p -rtbufsize 2100M -i video="Logitech QuickCam Pro 9000":audio="Samson C01U (Samson C01U       " -profile:v baseline -codec:v libx264 -vb 800k -codec:a aac -s 640x480 -ac 2 -ar 44100 -ab 128k -map 0 -f hls -hls_flags delete_segments out.m3u8
[03:09:04 CET] <E-TARD> i open the out.m3u8 with vlc
[03:09:14 CET] <E-TARD> i see the video but nothing is moving
[03:09:28 CET] <E-TARD> it's like a still
[03:09:32 CET] <JEEB> probably waits for the next IRAP
[03:09:41 CET] <JEEB> although it's HLS...
[03:10:11 CET] <JEEB> anyways, fuck this shit - I need at least five hours of beauty sleep and it's 0400 here already
[03:10:14 CET] <E-TARD> it crashed my vlc
[03:10:19 CET] Action: JEEB hits the sack
[03:10:42 CET] <E-TARD> grrr soemthing is worng with m3u8 file
[03:10:56 CET] <E-TARD> .ts files work
[03:22:36 CET] <E-TARD> i have one more hls ? it will be my last one(i'm sure your all sick of me) but if i do ffmpeg hls on my pc how do i get the files over to the webserver?
[03:23:51 CET] <E-TARD> you see i feel this is why i need ffserver
[03:43:34 CET] <E-TARD> anyone?
[03:44:18 CET] <c_14> sshfs
[03:44:20 CET] <c_14> or equivalent
[03:44:49 CET] <E-TARD> eeewww really
[03:45:23 CET] <E-TARD> well thank you
[03:45:28 CET] <E-TARD> now i know
[03:45:38 CET] <E-TARD> so back to ffserver
[03:45:47 CET] <E-TARD> wish me luck
[05:57:33 CET] <xintox> howdy
[05:57:41 CET] <xintox> does anyone stream in here?
[05:57:51 CET] <xintox> trying to find where other streamers hangout
[06:24:18 CET] <waressearcher2> xintox: hallo
[07:10:47 CET] <waressearcher2> xintox: geht's es dir gut ?
[07:27:26 CET] <chovy> anyone know why neulion key requests get dropped after a few minutes?
[07:35:26 CET] <waressearcher2> chovy: hallo
[08:22:43 CET] <chovy> hi
[08:22:48 CET] <chovy> waressearcher2: you again :)
[08:22:49 CET] <chovy> nein!
[08:22:54 CET] <chovy> engriefen!
[08:34:44 CET] <cluelessperson> What causes stuttering in a stream with ffserver?
[08:38:51 CET] <techtopia> not enough bandwidth for the chosen bitrate
[08:43:39 CET] <cluelessperson> techtopia, I'm pretty sure there is though, however.
[08:44:09 CET] <cluelessperson> techtopia, https://cluelessperson.com/stream/
[08:45:47 CET] <cluelessperson> techtopia, it definitely stutters/lags more with more action in the scenes
[09:12:37 CET] <cluelessperson> ffserver is outright skipping
[09:12:46 CET] <cluelessperson> and I've tried changing a lot of configuration options
[09:13:07 CET] <cluelessperson> https://cluelessperson.com/stream/test.conf
[09:36:46 CET] <cluelessperson> so i think the stuttering is due to tFFMPEG being VERY slow
[10:05:18 CET] <xintox> hello
[10:05:31 CET] <xintox> can someone help me figure out why key requests are failing intermittently?
[10:05:54 CET] <xintox> i can play my stream but it craps out frequently.
[10:30:11 CET] <xintox> .
[11:36:44 CET] <kevmitch> i encoded progressive dvd with actual framerate around 23.976, but I used the dejudder filter to smooth it out so that it's essentially constant at that rate
[11:37:47 CET] <kevmitch> this seems to have the desired effect that the real frame rate is 23.976, but ffmpeg -i says 239.76 fps
[11:38:47 CET] <kevmitch> is there any way to fix it so the "container" fps is correct - I'm using mkv
[11:42:52 CET] <waressearcher2> kevmitch: hallo
[12:40:28 CET] <waressearcher2> xintox: ist alles in ordnung Schätzchen ?
[13:12:10 CET] <paule32> hello
[13:12:23 CET] <paule32> i have compile the new 2.8.3 version
[13:12:45 CET] <paule32> after that, i have install it via Makefile
[13:13:08 CET] <paule32> but, when i try to start the ffserver i get this: http://fpaste.org/300278/14500085/
[13:22:25 CET] <waressearcher2> paule32: hallo
[13:23:03 CET] <paule32> hi, you speak german
[13:23:04 CET] <paule32> ?
[13:24:30 CET] <waressearcher2> paule32: ein ganz klein wenig
[13:24:45 CET] <paule32> no problem
[13:25:05 CET] <paule32> have you seen the post?
[13:26:21 CET] <paule32> i don't be run the ffserver
[13:26:55 CET] <paule32> core dump
[13:31:16 CET] <waressearcher2> paule32: ich weiß nicht viel über das ffserver Ding
[13:32:25 CET] <paule32> go to lunch ..
[13:32:36 CET] <paule32> may be others can help
[14:38:37 CET] <fritsch> Is it possible to alloc an AVFrame, give it an external ARGB buffer, width, height, pitch
[14:38:45 CET] <fritsch> and then use that in encode2?
[14:40:54 CET] <fritsch> http://pastebin.com/raw.php?i=s9rvNiba <- i want to avoid using sws_scale to create yet another intermediate buffer
[15:03:51 CET] <durandal_170> fritsch: you pass pointers from AVFrame
[15:04:38 CET] <fritsch> durandal_170: yeah - that's intended
[15:05:41 CET] <durandal_170> then AVFrame is not refcounted
[15:06:13 CET] <fritsch> i think I don't get what you are telling me
[15:06:18 CET] <fritsch> here is perhaps the complete code:
[15:06:37 CET] <fritsch> https://github.com/fritsch/xbmc/commit/94da09cbc0797b72736b0c05c38d632cbc8f3b55#diff-6c48c7b2be31f1d5311113860b1a10ddR351
[15:07:13 CET] <fritsch> generate a jpg from argb data with only ffmpeg
[15:07:14 CET] <fritsch> was the idea
[15:07:25 CET] <fritsch> encode to mjpg and serialize the encoded frame
[15:14:02 CET] <fritsch> durandal_170: https://github.com/fritsch/xbmc/commit/d4380bc664bcf84e5246ee73b0c76110ef1c6276#diff-6c48c7b2be31f1d5311113860b1a10ddR365 <- this is causing a segfault ... cause the encoder somehow things of different planes I think
[15:18:31 CET] <durandal_170> so argb is output format?
[15:22:52 CET] <fritsch> durandal_170: nope it's input
[15:23:10 CET] <fritsch> durandal_170: output is: PIX_FMT_YUVJ420P
[15:25:15 CET] <durandal_170> than I guess some of pointers are not set
[15:25:28 CET] <fritsch> it crashes in ffmpeg
[15:25:30 CET] <durandal_170> for the output
[15:25:39 CET] <fritsch> when it wants to access frame->data[1] and frame->data[2]
[15:25:43 CET] <fritsch> and I have no idea why
[15:25:59 CET] <fritsch> cause it should access it
[15:26:01 CET] <durandal_170> yes, you havent set them
[15:26:07 CET] <fritsch> yeah?
[15:26:10 CET] <fritsch> why should I set them
[15:26:15 CET] <fritsch> i have a ARGB interlaved input
[15:26:23 CET] <fritsch> so online linesize[0] is relevant in my eyes
[15:26:36 CET] <durandal_170> Yuv uses 3 planes for output
[15:26:39 CET] <fritsch> s/online/only/
[15:26:44 CET] <fritsch> but the output is written in avpkt
[15:26:48 CET] <fritsch> if I get this right
[15:27:04 CET] <fritsch> https://ffmpeg.org/doxygen/2.7/group__lavc__encoding.html#gaa2dc9e9ea2567ebb2801a08153c7306b
[15:28:42 CET] <durandal_170> you must call swscale to convert argb to yuv
[15:31:10 CET] <fritsch> that's what I want to avoid :-(
[15:31:17 CET] <fritsch> as that would give me another intermediate buffer
[15:31:35 CET] <fritsch> oki
[15:31:38 CET] <fritsch> will do :-(
[15:32:50 CET] <durandal_170> IIRC swscale can do it inplace
[15:33:49 CET] <fritsch> okay
[15:35:05 CET] <JEEB> if you are so afraid of extra buffers then just encode it with an encoder that can handle RGB or whatever :P
[15:37:05 CET] <JEEB> although you will most probably have libraries do zomg extra memory allocations omg
[15:38:13 CET] <JEEB> ok, generic thumbnailing? what the flying fuck are you being afraid of having input and output in separate buffers...
[15:38:54 CET] <JEEB> also if it's thumbnails they should be in YCbCr originally in most cases since that's what video contains after all... unless you are grabbing the RGB from the video renderer?
[15:39:58 CET] <JEEB> also I deeply recommend the zimg library for many scaling and colorspace conversion routines like that. ffmpeg does have a filter that uses it, but depending on your needs it might be simpler to just use it separately
[15:40:04 CET] <JEEB> https://github.com/sekrit-twc/zimg
[15:40:32 CET] <JEEB> (vapoursynth also lately switched to zimg instead of swscale as the base of its sw colorspace conversion routines)
[15:41:26 CET] <fritsch> JEEB: those are covers ...
[15:41:27 CET] <fritsch> cd covers
[15:42:04 CET] <fritsch> i have input an output in different buffers of course I have ...
[15:42:27 CET] <fritsch> but creating a scale context for some 20000 covers is not really what I want to do
[15:43:13 CET] <JEEB> cd covers in jpeg most probably are YCbCr to begin with, PNG is pretty much the exception in such cases
[15:43:51 CET] <JEEB> but sure, if your workflow autoconverts to rgb then you just have to bite the bullet and convert it to YCbCr with something in order to get JPEG (unless it has an RGB mode)
[15:45:50 CET] <fritsch> jep - the architecture sucks :-) and everyting that reaches that level was an GL Surface before ...
[15:46:00 CET] <fritsch> so back and forth and back and forth
[15:48:34 CET] <JEEB> you could just do the RGB<->YCbCr on the GPU then
[15:49:38 CET] <JEEB> but  yeah, for software conversion and scaling there's swscale and zimg
[15:51:09 CET] <JEEB> I think zimg still doesn't have optimized code paths for non-planar RGB though so welp
[15:52:23 CET] <paule32> hello
[15:53:08 CET] <paule32> http://fpaste.org/300278/14500085/
[15:53:15 CET] <paule32> can you help me?
[15:53:28 CET] <paule32> the 2.8 ffserver will not start
[15:53:37 CET] <paule32> 2.8.3
[16:08:21 CET] <fritsch> JEEB: durandal_170 thx it's working
[16:52:54 CET] <tobylane> I'm changing the location of the ffmpeg libs in a program, and afterwards I get this error dyld: lazy symbol binding failed: Symbol not found: _swr_free
[16:53:10 CET] <tobylane> Expected in libavresample.2.1.0.dylib
[17:05:52 CET] <paule32> hello pepee
[17:06:03 CET] <pepee> hello paule32
[17:06:07 CET] <paule32> can you help me to get ffserver work?
[17:07:16 CET] <paule32> i have download 2.8.3, compile, and install it
[17:07:32 CET] <paule32> when i try to start ffserver, i get: http://fpaste.org/300278/14500085/
[17:09:35 CET] <pepee> sorry, I don't know how to use ffserver
[17:09:47 CET] <pepee> but that looks like a serious problem...
[17:10:11 CET] <pepee> I guess you could attach ffserver to gdb and print a backtrace
[17:10:35 CET] <pepee> or submit a bug report and attach your /etc/ffserver.conf
[17:11:53 CET] <paule32> what is the latest stable version?
[17:18:00 CET] <waressearcher2> tobylane: hallo
[17:19:28 CET] <tobylane> Hi
[17:21:44 CET] <tobylane> Should I change the location for the dependancies, x264 and etc, too?
[17:22:10 CET] <waressearcher2> ich habe echt keine ahnung
[17:23:32 CET] <tobylane> Why say it in german
[17:23:38 CET] <furq> that's his gimmick
[17:24:14 CET] <waressearcher2> mistso ein Mist
[17:25:01 CET] <tobylane> No gimmicks please
[17:33:03 CET] <tobylane> So this _swr_free error?
[17:39:23 CET] <pepee> lol @ waressearcher2
[17:42:11 CET] <paule32> waressearcher2: ?
[17:42:15 CET] <paule32> iam back
[17:42:59 CET] <waressearcher2> ta-da ta ta-da ta-da ta ta-da
[17:45:47 CET] <tobylane> waressearcher2 do you help when you feel like it, or always troll?
[17:45:54 CET] <pepee> I assume it's a bot
[17:46:15 CET] <pepee> you should ignore him/her/it, it's always the same...
[18:28:28 CET] <paule32> so
[18:28:43 CET] <paule32> i just eat a little bit
[18:29:09 CET] <paule32> who can help me to bring ffserver up to work?
[20:23:26 CET] <paule32> hello
[20:26:57 CET] <paule32> help needed
[20:27:12 CET] <paule32> where are the helping guys?
[20:31:49 CET] <jimby> paule32: it's sunday afternoon in most places... time for $GameOfChoice and a beer
[20:32:38 CET] <furq> i wouldn't get your hopes up too much for help with ffserver
[20:32:43 CET] <furq> i don't think anybody actually uses it
[20:33:13 CET] <paule32> but there is compiled with ffmpeg
[20:33:51 CET] <jimby> there have been several ffserver discussions in the last few days - and most  didn't resolve anything
[20:35:30 CET] <furq> i'm yet to see anyone successfully get help with ffserver in here
[20:36:14 CET] <furq> except that one time when someone was convinced to not use it, which is the best help you can get
[20:38:09 CET] <jimby> paule32: your best bet is to thoroughly read the docs at http://www.ffmpeg.org/ffserver-all.html  and the wiki at http://trac.ffmpeg.org/wiki/ffserver
[20:44:15 CET] <BtbN> I still remember ffserver to be a candidate for removal, because it's basicaly unmaintained.
[20:57:16 CET] <paule32> with which software can i build a live stream linux serven then?
[20:57:57 CET] <furq> nginx-rtmp is pretty good
[20:59:52 CET] <furq> it does hls and dash too if you want browser support
[21:00:47 CET] <BtbN> The dash it outputs doesn't work anywhere though
[21:00:49 CET] <BtbN> HLS is fine
[21:01:32 CET] <furq> that might explain why i could never get dash to work
[21:02:02 CET] <furq> but yeah hls does the job if you don't mind having javascript remuxing ts to mp4
[21:02:20 CET] <furq> which i object to on ideological grounds, but it seems to work perfectly well
[21:02:28 CET] <BtbN> dash works if you use an ffmpeg post-processing command that generates the DASH
[21:02:33 CET] <BtbN> the muxer in it is just plain broken
[21:13:14 CET] <paule32> thx BtbN, i could ask it in our chat?
[21:14:12 CET] <DHE2> I thought HLS was better supported in browsers than that...
[21:17:05 CET] <DHE2> guess it's just on mobile platforms... never mind that then
[21:17:25 CET] <furq> DHE2: https://github.com/dailymotion/hls.js/
[21:40:38 CET] <xintox_> .
[22:27:08 CET] <cluelessperson> I have a problem with FFMPEG being EXTREMELY slow
[22:27:14 CET] <cluelessperson> as in it cannot seem to keep up with streaming
[22:27:18 CET] <cluelessperson> through FFSERVER
[22:27:20 CET] <cluelessperson> at 720 P
[22:40:39 CET] <paule32> so, nginx server is compiled and running
[22:40:51 CET] <paule32> now, how can i stream?
[22:42:50 CET] <furq> https://github.com/arut/nginx-rtmp-module#example-nginxconf
[23:28:53 CET] <cluelessperson> I literally have a dedicated server, running this
[23:29:08 CET] <cluelessperson> and it transcodes WEBM too slow to manage 720, 24fps?
[23:30:38 CET] <furq> blame libvpx, not ffmpeg
[23:36:27 CET] <cluelessperson> furq, well, how have others been able to stream in it if it's this slow?
[23:36:43 CET] Action: cluelessperson will try another but still
[23:37:14 CET] <furq> does ffserver even let you enable vp9 multithreading options
[23:37:25 CET] <furq> assuming multithreading works properly now
[23:38:11 CET] <furq> regardless, if you can use x264 then it's an order of magnitude faster in my experience
[23:41:04 CET] <smellycat3> Hello everyone. I've got a problem with the subtitles of a ts DVB recording. I'd like to make a mkv file out of the recording which also contains the subtitles. While this does work in general on one tv channel (french w9 hd) the soft subtitles are in the upper left part of the video after applying "-scodec dvdsub" to the input file. i guess this has to do with the video being 1920x1080 and the subtitles are falsely seens as
[23:41:05 CET] <smellycat3> being for sdtv. thank you for hints!
[23:43:00 CET] <paule32> so, i have install nginx server
[23:43:05 CET] <paule32> start it
[23:43:15 CET] <paule32> and do: http://fpaste.org/300410/45004655/
[23:43:41 CET] <paule32> but after few seconds, the stream break down
[23:44:43 CET] <furq> paule32: if you're streaming to nginx-rtmp then the output url should be rtmp://
[23:44:44 CET] <paule32> i have my hand hold on the nginx getting started
[23:45:02 CET] <paule32> woops
[23:45:09 CET] <paule32> ehm, yeah
[23:48:18 CET] <paule32> when i do it in these format, i get:
[23:48:20 CET] <paule32> rtmp://kallup.net:8080/myapp/mystream: Input/output error
[23:48:59 CET] <furq> are you sure that's the right port
[23:49:22 CET] <furq> if you didn't specify a listen port in the rtmp config block then it's port 1935 (the default)
[23:49:59 CET] <furq> if it is the right port then check the nginx error log
[23:59:35 CET] <paule32> same problem
[23:59:50 CET] <paule32> after frame 48, the stream break down
[00:00:00 CET] --- Mon Dec 14 2015


More information about the Ffmpeg-devel-irc mailing list