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

burek burek021 at gmail.com
Wed May 13 02:05:01 CEST 2015


[00:20:52 CEST] <rjp421> http://www.streamingmedia.com/conferences/East2015/StreamingLive.aspx
[00:25:10 CEST] <lord-carlos> "Thread message queue blocking; consider raising the thread queue size option (current value: 8)" <-- What would be a good value? Encoding 1440p tiff files with x264 for youtubes
[00:27:50 CEST] <lord-carlos> -thread_queue_size 512 seems to work. But I have no idea what it does
[01:16:06 CEST] <bawNg> Hey guys, I take it there isn't some magic solution to increasing the gdigrab frame rate on a system with an ancient graphics card
[01:16:52 CEST] <bawNg> I've tried just about everything, including an alternative dshow filter, and I can't get more than about 7 FPS captured from a browser canvas running at 60 FPS
[01:27:07 CEST] <bawNg> Does anyone have any other ideas on how I can capture at least 20 frames per second from a HTML5 canvas, on an almost headless server?
[02:24:04 CEST] <Sazpaimon_> how can I use ffmpeg to decode a file in real time such that the decode takes as long as the video
[02:24:10 CEST] <c_14> -re
[02:27:23 CEST] <Sazpaimon_> yeah, that's it, thanks
[03:00:53 CEST] <maslen> Sazpaimon_: What's the use case where that's necessary?
[03:12:57 CEST] <bawNg> Is there any way to read sequential images as input in real time, if the frame rate is not perfectly consistent? It would be nice if there was a proper way to sync ffmpeg in this case
[03:15:22 CEST] <bawNg> I've managed to capture between 18 and 23 frames per second from a HTML5 canvas and write them to the sandboxed webkit file system as PNG images, but now I need to be able to convert them into a real time stream, with as little latency as possible
[03:16:12 CEST] <c_14> If the framerate isn't constant, you'll have issues.
[03:17:30 CEST] <bawNg> Is there any half sane workaround in this case?
[03:18:38 CEST] <c_14> You might be able to use the creation times as a source for the pts, but that would require either heavy scripting or direct use of the api.
[03:21:55 CEST] <bawNg> I'm hoping to avoid having to use the API directly, as this is not a serious project, but rather a 2 day hack job
[03:22:01 CEST] <bawNg> For proof of concept at least
[03:22:38 CEST] <bawNg> How could I get ffmpeg to use timestamps for frames without using the API?
[03:23:55 CEST] <c_14> The only other way I could think of would be to duplicate/drop frames until the input framerate is constant.
[03:24:04 CEST] <c_14> Which you would need a script for.
[03:24:41 CEST] <bawNg> I see, that isn't ideal, but could work
[03:25:05 CEST] <bawNg> I'll need to do scripting to pull the images out of the webkit sandboxed file system anyway
[03:25:25 CEST] <bawNg> I could use the file creation timestamps as reference
[03:31:09 CEST] <Nemo377307289> Hi everybody
[03:31:14 CEST] <Nemo377307289> Could ffmpeg add rotating animation for watermark picture?
[03:31:14 CEST] <Nemo377307289> I means, let the watermark 3D rotate 360 degree, then show the watermark in a fixed position.
[03:31:15 CEST] <Nemo377307289> Thanks a lot.
[03:36:42 CEST] <Sazpaimon_> maslen, i want to stream a playlist of webm files to icecast using ezstream, but ezstream doesn't support timing data for webm, only theora, so I need to stream data to it in realtime
[03:38:34 CEST] <houdini> hey can i ask a question ?
[03:38:46 CEST] <houdini> how can i scale my video into this http://prntscr.com/7487in
[03:39:30 CEST] <c_14> hmm?
[03:41:21 CEST] <c_14> What exactly are you trying to do?
[03:43:35 CEST] <houdini> trying to create outro for my youtube channel
[03:43:49 CEST] <c_14> Not that, what do you mean with scale your video into this?
[03:45:05 CEST] <houdini> i mean video will play on video in tv player
[03:45:22 CEST] <c_14> Do you want to put the video where the black part of that picture is?
[03:45:29 CEST] <c_14> Ie overlay the video onto the black part of the picture?
[03:45:53 CEST] <houdini> yeah
[03:46:00 CEST] <houdini> that's what i want
[03:46:36 CEST] <c_14> Ok, about the scaling part. Is the picture a fixed size and you want to make the viedo smaller/larger to match or do you want the video to stay its own size and make the picture bigger/smaller to match.
[03:47:38 CEST] <houdini> video stay own size
[03:48:04 CEST] <houdini> sorry for english
[03:48:15 CEST] <houdini> english is not my native language
[03:52:00 CEST] <c_14> ffmpeg -i picture -i video -filter_complex '[0]scale={video_width+distance from edge of picture to black bar}:{video_height+distance from top of picture to black bar}[m];[m][1:v]overlay=(W-w)/2:(H-h)/2[v]' -map '[v]' -map 1:a out.mkv
[03:52:02 CEST] <c_14> should do it
[03:52:14 CEST] <houdini> ty trying
[03:52:26 CEST] <c_14> you have to replace the things in the {} with what I described
[03:52:56 CEST] <c_14> And that only works if the black box is centered vertically and horizontally
[03:54:01 CEST] <houdini> oh, lets say i want to do it left top side of the video
[03:54:05 CEST] <houdini> how can do it
[03:55:27 CEST] <c_14> You mean the black box is in the top left corner of the video?
[03:57:06 CEST] <houdini> yeah
[03:59:17 CEST] <c_14> Then just get rid of the (W-w)/2:(H-h)/2 part
[04:00:52 CEST] <c_14> and make sure you scale to video_width+pixels from right of picture to box:video_height+pixels from bottom of picture to box
[04:04:33 CEST] <houdini>  I'll do then fine account.
[04:05:09 CEST] <houdini> lets say 200px witdh  150px heigh
[04:05:28 CEST] <houdini> the code will be ?
[04:05:56 CEST] <c_14> The video is 200x150?
[04:05:59 CEST] <houdini> video will be smaller
[04:06:23 CEST] <houdini> no video is 840x480
[04:06:31 CEST] <houdini> picture is 1280x720
[04:07:17 CEST] <c_14> ffmpeg -i picture -i video -filter_complex '[0]scale=1480:870[m];[m][1:v]overlay[v]' -map '[v]' -map 1:a out.mkv
[04:07:18 CEST] <houdini> lets say i have video 1280x720 and picture 1280x720
[04:09:11 CEST] <houdini> it didnt work i think
[04:09:18 CEST] <houdini> because it say 0.1 fps
[04:09:28 CEST] <houdini> and rendering very fast
[04:09:42 CEST] <c_14> hmm?
[04:10:17 CEST] <houdini> give me a minute
[04:10:24 CEST] <houdini> ill explain what i want
[04:11:39 CEST] <c_14> Eh, I forgot something.
[04:11:54 CEST] <c_14> ffmpeg -loop 1 -i picture -i video -filter_complex '[0]scale=1480:870[m];[m][1:v]overlay=shortest=1[v]' -map '[v]' -map 1:a out.mkv
[04:13:23 CEST] <houdini> i think this is wroking
[04:13:28 CEST] <houdini> working*
[04:15:47 CEST] <houdini> yeah that works ty
[04:16:08 CEST] <houdini> but can i ask another question about it
[04:17:26 CEST] <houdini> video is upper left. I want to shift a little to the right video. ill add px to width? will be work ?
[04:18:04 CEST] <houdini> oh crap video size is 1480:870
[04:18:13 CEST] <c_14> overlay=x={distance you want to shift to the right}:shortest=1
[04:18:20 CEST] <houdini> i want 1280x720 same size
[04:18:30 CEST] <houdini> video can be small
[04:18:36 CEST] <houdini> sorry for bad understandig
[04:22:14 CEST] <houdini> i want to resize video down to fit into blackbox
[04:22:54 CEST] <houdini> then making the video placements
[04:23:38 CEST] <c_14> You want to make the video smaller? Not the picture bigger?
[04:23:56 CEST] <houdini> yeah
[04:24:34 CEST] <houdini> the original video size is 1280x720 we can make it 840x480 and than overlay on image
[04:24:52 CEST] <houdini> image is 1280x720
[04:25:10 CEST] <houdini> so output video will be 1280x720p
[04:25:38 CEST] <c_14> ffmpeg -loop 1 -i picture -i video -filter_complex '[1:v]scale={width}:{height}[o];[0][o]overlay=shortest=1[v]' -map '[v]' -map 1:a out.mkv
[04:25:53 CEST] <c_14> Where width is the width of the black box, and height is the height of the black box
[04:29:09 CEST] <houdini> video plays upper left on image
[04:29:16 CEST] <houdini> if i want to shift right
[04:29:32 CEST] <c_14> overlay=x={pixels to shift right}:shortest=1
[04:30:12 CEST] <houdini> overlay=x=300=y=200:shortest=1
[04:30:15 CEST] <houdini> or
[04:30:20 CEST] <houdini>  overlay=x=300:y=200:shortest=1
[04:30:28 CEST] <c_14> The second
[04:30:34 CEST] <houdini> ifthank you trying
[04:31:25 CEST] <houdini> oh man
[04:31:29 CEST] <houdini> Thank you very much
[04:32:23 CEST] <houdini> how can i add these codes to the last codes
[04:32:23 CEST] <houdini> -vf setpts=PTS/2.0,scale=2.0*iw:-1,crop=iw/1.25:ih/1.25 -af atempo=1.09
[04:32:55 CEST] <houdini> sorry not this one
[04:33:15 CEST] <houdini> i just want to speed up video 2x
[04:33:26 CEST] <houdini> -vf setpts=PTS/2.0,scale=2.0*iw:-1, -af atempo=1.09  i think this code
[04:34:11 CEST] <bornpilot> in ffmpeg concatenating files based on the base on the script found here https://trac.ffmpeg.org/wiki/Concatenate would performance bottleneck be found in drive, RAM, processor, or a combination thereof?
[04:34:50 CEST] <c_14> ffmpeg -loop 1 -i picture -i video -filter_complex '[1:v]scale={width}:{height}[o];[0][o]overlay=x=300:y=200:shortest=1,PTS/2[v];[1:a]atempo=0.5[a]' -map '[v]' -map '[a]' out.mkv
[04:35:04 CEST] <c_14> bornpilot: drive and processor
[04:36:57 CEST] <bornpilot> would the relationship between drive be bitrate?
[04:37:26 CEST] <c_14> yeah
[04:38:27 CEST] <bornpilot> to which respect of concat..ing be for processor?
[04:39:31 CEST] <c_14> the encoding at the end
[04:39:44 CEST] <bornpilot> Okay, thanks c_14
[05:15:14 CEST] <bawNg> c_14: I put together a script to normalize the frames, had to implement some WinAPI stuff with FFI to be able to use high precision timers, but now ffmpeg is randomly stopping after anywhere from a few seconds to over a minute, due to "Failed to update header with correct duration.\nFailed to update header with correct filesize."
[05:15:40 CEST] <bawNg> I'm not sure why, I'm testing with lots of delay, so there is a large buffer of frame PNGs for input images
[05:16:24 CEST] <bawNg> Pastebin is a little overkill in this case, I'm just testing with: ffmpeg -framerate 20 -re -i r:\temp\frames\%d.png -c:v libx264 -preset fast -pix_fmt yuv420p -f flv "rtmp://localhost/test"
[05:17:06 CEST] <bawNg> Unless you want the full output when it dies? There doesn't seem to be anything useful of note other than those two yellow warning lines
[05:17:35 CEST] <c_14> Does the issue occur when outputting to a local file?
[05:17:45 CEST] <bawNg> I'll test that quick
[05:18:59 CEST] <maslen> c_14: I wrote up what you helped me with the other day. Not sure if there's a ffmpeg wiki page it belongs on, but if you want to take a look: http://blog.moshekaplan.com/2015/05/12/converting-vhs-tapes-to-mp4s-2/
[05:20:35 CEST] <bawNg> It's been running over 2 minutes already outputting to a file, so it doesn't seem to randomly break without RTMP
[05:21:06 CEST] <bawNg> I don't see how a local RTMP server could break it, it's a nginx server
[05:21:43 CEST] <bawNg> It reached the end of the frames I had when outputting to a file, so does not seem to have any issues without RTMP
[05:23:38 CEST] <c_14> Try pastebinning the console output when it breaks to rtmp. Maybe you missed a message somewher.
[05:23:42 CEST] <c_14> +e
[05:42:52 CEST] <bawNg> I just fixed a race condition which was causing blank frames to be copied in certain cases, but that wasn't causing the random ffmpeg failures
[05:44:06 CEST] <bawNg> c_14: The interesting thing is, it never fails at the same point
[05:44:16 CEST] <bawNg> Even when processing the same input images
[05:44:29 CEST] <bawNg> It can even sometimes make it through all 3000 test frames
[05:45:54 CEST] <bawNg>  c_14: Here are two attempts in a row, using the same input frame images: http://hastebin.com/ficemaduse.txt
[05:46:18 CEST] <bawNg> First time it got to frame 479, second time frame 1043
[05:47:58 CEST] <c_14> >Input stream #0:0 frame changed from size:800x600 fmt:rgba to size:1026x638 fmt:rgba
[05:48:39 CEST] <bawNg> That happens shortly after it starts, long before it stops
[05:48:56 CEST] <c_14> oh, darn
[05:50:06 CEST] <c_14> Can't really see an error.
[05:50:12 CEST] <c_14> Maybe something in the nginx logs?
[05:50:17 CEST] <bawNg> Yeah, probably because there isn't one :P
[05:50:24 CEST] <bawNg> Good idea, I'll check that next
[05:53:00 CEST] <bawNg> WSARecv() failed (10053: An established connection was aborted by the software in your host machine)
[05:53:29 CEST] <bawNg> Not awfully useful, just points at ffmpeg :(
[05:54:27 CEST] <c_14> No clue
[05:57:12 CEST] <c_14> Does saving to a file and then streaming the file to rtmp work?
[05:57:21 CEST] <c_14> Just to rule out the rtmp just being completely broken.
[05:58:50 CEST] <bawNg> I could try that, I just tried streaming to Twitch, and it does the same thing as my local Nginx
[05:59:17 CEST] <bawNg> Or it did once, and now it is randomly working
[05:59:31 CEST] <bawNg> This seems extremely inconsistent
[06:00:47 CEST] <bawNg> It made it 3407 the second attempt to Twitch before dying
[06:40:43 CEST] <bawNg> c_14: Looks like it randomly stops when outputting to a file too
[06:40:51 CEST] <bawNg> Just without those warnings
[06:41:33 CEST] <bawNg> Although somewhat random, it seems like the more images there are in the directory, the longer it may run
[06:41:50 CEST] <bawNg> But it almost never gets anywhere near the end of the images
[07:03:42 CEST] <bawNg> This is a pretty horrible issue to troubleshoot, the longer I test the longer it takes to test
[07:05:19 CEST] <bawNg> It's as if ffmpeg stops after making it through half of the images in the input directory
[07:06:06 CEST] <c_14> Can you try piping the images into ffmpeg?
[07:06:16 CEST] <c_14> And using the image2pipe demuxer?
[07:06:33 CEST] Action: c_14 needs to sleep now though
[07:06:36 CEST] <bawNg> That would actually be better than writing temporary files to a ram disk and having to remove them later
[07:06:37 CEST] <c_14> Hope that might help though
[07:06:59 CEST] <bawNg> I just stopped the file creation, so I can see if it actually stops at exactly 50%
[07:07:16 CEST] <bawNg> Because it appears to be extremely close to 50% every time
[07:07:49 CEST] <bawNg> I'll look into the image2pipe demuxer, thanks for the help c_14
[07:08:15 CEST] <Nemo377307289> Could ffmpeg add rotating animation for watermark picture?
[07:08:16 CEST] <Nemo377307289> I means, let the watermark 3D rotate 360 degree, then show the watermark in a fixed position.
[07:08:16 CEST] <Nemo377307289> Thanks a lot.
[07:08:32 CEST] <bawNg> It definitely seems to be related to the files being written in  real time, even if there are 2000 buffered files
[07:09:33 CEST] <bawNg> It makes it through all the images when they are not being written
[08:06:19 CEST] <bawNg> A high latency between FFMPEG and an output RTMP server appears to cause a very low frame rate (5 or 6 FPS)
[08:07:10 CEST] <bawNg> Is there any way to avoid this? It occurs even if I use copy to send a local RTMP stream to Twitch
[08:14:21 CEST] <Nemo377307289> ffmpeg -i test.mp4 -codec copy -bsf h264_mp4toannexb -f udp udp://127.0.0.1:6666
[08:14:22 CEST] <Nemo377307289> And i using VLC player open network stream "udp://@:6666", it output "buffering 0%" error all the time, and shown nothing, what's wrong? thanks a lot!
[08:14:58 CEST] <Nemo377307289> ffmpeg -re -i test.mp4 -codec copy -bsf h264_mp4toannexb -f udp udp://127.0.0.1:6666
[10:32:50 CEST] <chopsuey5540> hi all
[10:33:09 CEST] <chopsuey5540> I have a dump of a raw H264 stream in a file that reads fine with ffplay
[10:33:32 CEST] <chopsuey5540> but when I try to decode it live the avcodec_decode_video2 call fails
[10:34:00 CEST] <chopsuey5540> with errors
[10:34:01 CEST] <chopsuey5540> non-existing PPS 0 referenced
[10:34:06 CEST] <chopsuey5540> decode_slice_header error
[10:34:17 CEST] <chopsuey5540> any idea how I could debug this?
[13:22:06 CEST] <talin_> hello and spello
[13:44:39 CEST] <maslen> Is it possible to display what ffmpeg is converting from a capture device?
[13:45:18 CEST] <maslen> It seems that only a single program can read from the device at a time. I'd prefer to watch the video while ffmpeg is converting it
[13:45:52 CEST] <brontosaurusrex> any "best" ways to use w3fdif from 50i to 25p? (is it generaly better than yadif?)
[13:55:52 CEST] <brontosaurusrex> cough
[14:43:36 CEST] <saste> maslen, try with the SDL output muxer
[15:56:49 CEST] <ausjke> is it possible to stream the same video in unicast(tcp) and multicast(udp) in parallel?
[16:06:26 CEST] <c_14> ausjke: https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs#Teepseudo-muxer
[17:08:49 CEST] <dAnjou> hi, can i check somehow whether the metadata of an MP4 file is in the beginning or in the end?
[17:09:17 CEST] <dAnjou> i'd like to know this first before i change code and deploy it
[17:24:28 CEST] <kepstin-laptop> dAnjou, simple method? try chopping off the end of the file and see if it can still be decoded :)
[17:24:43 CEST] Action: kepstin-laptop imagines there's a better way to do that.
[17:43:15 CEST] <dAnjou> kepstin-laptop: o.O
[17:48:01 CEST] <Freakshow> dAnjou: metadata? moov atom, etc.?
[17:53:48 CEST] <dAnjou> Freakshow: yes
[17:55:15 CEST] <dAnjou> i found MP4Box and it gives me output like this http://paste.ubuntu.com/11097839/
[17:55:27 CEST] <dAnjou> i see the moov thing in line 5
[17:55:36 CEST] <dAnjou> but i don't know how to interprete this
[17:56:15 CEST] <dAnjou> the reason why I'm doing this is because I want to serve it properly over HTTP
[17:56:40 CEST] <dAnjou> (just in case this wasn't painfully obvious by now :P)
[17:57:22 CEST] <Freakshow> I figured progressive HTTP was your target. ;)
[17:57:43 CEST] <Freakshow> That seems to be right by my account.
[17:58:43 CEST] <dAnjou> well i guess this tells me, the actual video data is before the moov [iso file] Read Box type mdat size 2542663 start 40
[17:58:55 CEST] <dAnjou> [iso file] Read Box type moov size 6205 start 2542703
[17:59:03 CEST] <dAnjou> so i guess it's in the end
[17:59:17 CEST] <dAnjou> let's see if i can move it to the beginning
[18:01:43 CEST] <dAnjou> [iso file] Read Box type moov size 6218 start 32
[18:01:46 CEST] <dAnjou> looks fine
[18:05:31 CEST] <Freakshow> what does qt faststart tell you?
[18:05:38 CEST] <Freakshow> you could easily confirm with that as well
[18:05:55 CEST] <Freakshow> useful on the mac as an air application
[18:05:59 CEST] <Freakshow> qtindexswapper
[18:06:03 CEST] <dAnjou> i'm on ubuntu, how do i get this thing?
[18:06:15 CEST] <Freakshow> I think they have a python version as well
[18:06:19 CEST] <Freakshow> yep
[18:06:20 CEST] <Freakshow> http://multimedia.cx/eggs/improving-qt-faststart/
[18:06:31 CEST] <Freakshow> Ill admit, Ive never used it on ubuntu
[18:06:53 CEST] <Freakshow> Im rebuilding my 14.04 box so I cant test atm
[18:06:56 CEST] <dAnjou> nice, thanks. i'll try it
[18:09:36 CEST] <dAnjou> it worked and didn't touch the size of the atom unlike avconv before
[18:10:24 CEST] <dAnjou> but i'm going to use this https://trac.ffmpeg.org/wiki/Encode/H.264#faststartforwebvideo
[18:10:47 CEST] <dAnjou> i won't touch existing files, but new ones should have this
[18:23:08 CEST] <Freakshow> yup, I was also going to suggest that
[18:24:34 CEST] <dAnjou> thank you very much!
[19:02:55 CEST] <rjp421> http://www.streamingmedia.com/conferences/East2015/StreamingLive.aspx
[19:44:17 CEST] <BlackBishop> while trying a ffmpeg -i concat:"file1.MOV|file2.MOV" -codec copy file.mov it seems that it only copies file1 .. anything I'm doing wrong ? I want to concatenate the 2 files ( as a start .. )
[19:44:40 CEST] <c_14> use the concat demuxer, not the concat protocol
[19:45:49 CEST] <c_14> https://trac.ffmpeg.org/wiki/Concatenate
[19:47:34 CEST] <BlackBishop> ok
[19:52:35 CEST] <BlackBishop> thanks
[20:24:29 CEST] <bawNg> c_14: image2pipe did solve the issue with FFMPEG randomly giving up, do you have any idea why a high latency between FFMPEG and the RTMP server would cause a low FPS? I get 5 or 6 FPS even when using copy to relay a stream from my local RTMP server to Twitch
[20:25:38 CEST] <c_14> that shouldn't happen
[20:26:00 CEST] <c_14> How are you measuring the fps?
[20:29:20 CEST] <bawNg> Using the FFMPEG FPS that is logged, but now it seems that only happened once
[20:29:35 CEST] <bawNg> It seems to be working fine now, so perhaps something else was causing the issue
[20:30:11 CEST] <bawNg> Or no, it's still very low
[20:30:33 CEST] <bawNg> It starts off high, and drops slowly until around 5 or 6 FPS
[20:31:01 CEST] <bawNg> I'm looking at the "fps=..." output from the curses UI and I'm using copy from my local RTMP server in this case
[20:31:32 CEST] <c_14> That's not even curses.
[20:31:34 CEST] <c_14> What's your command?
[20:32:16 CEST] <bawNg> ffmpeg -i "rtmp://localhost/test" -c:v copy -f flv "rtmp://live.twitch.tv/app/..."
[20:32:36 CEST] <c_14> And the one streaming to test?
[20:34:08 CEST] <bawNg> ffmpeg -f image2pipe -i - -c:v libx264 -pix_fmt yuv420p -maxrate 3500K -bufsize 1000K -force_key_frames "expr:gte(t,n_forced*2)" -f flv "rtmp://localhost/test"
[20:34:48 CEST] <bawNg> I'm redirecting that to a log file, since it's spawned by my script, according to the log file it's at 19 - 20 FPS
[20:34:51 CEST] <c_14> What fps is that command providing?
[20:34:55 CEST] <c_14> mhm
[20:38:06 CEST] <bawNg> I'm getting some kind of buffering issue when watching the stream from my nginx server, not sure what could be causing it though
[20:38:20 CEST] <bawNg> I should probably try using a different playing
[20:38:24 CEST] <bawNg> *player
[20:38:55 CEST] <bawNg> I get buffering issues in VLC even when streaming a twitch stream, but this is lower bitrate
[20:40:13 CEST] <bawNg> According to the FFMPEG log it never drops below 19 FPS, it drops from 20 to 19 early and then stays at 19 forever, so I don't see how there can be an issue with the stream itself
[20:44:01 CEST] <c_14> ffmpeg -i rtmp://localhost/test -f null /dev/null <- what's the fps on that?
[20:44:28 CEST] <bawNg> My local nginx stream appears to be fine if I use HLS to view it
[20:46:48 CEST] <bawNg> That starts over 100 and drops over time, the longer it runs the slower it drops, but the FPS keeps dropping, it just reached 20 now
[20:47:58 CEST] <bawNg> It doesn't seem to be dropping below 20 so far though
[20:52:39 CEST] <bawNg> Still at 20, going to test the same with with a remote RTMP server now
[20:53:12 CEST] <bawNg> Oh, I don't have a remote RTMP server which will accept a null stream
[20:56:41 CEST] <bawNg> When using copy from my local nginx to Twitch, it starts at around 40 FPS, actually goes up a bit at first, then slowly drops until 5 or 6
[21:01:21 CEST] <bawNg> The stream going to my local nginx is logging 750+ kbits/s, the FFMPEG using copy logs around 100kbits/s when starting and under 400kbits/s when it has dropped to about 7
[21:01:33 CEST] <bawNg> I'm not sure exactly what is going wrong here
[21:07:04 CEST] <rjp421> btw streaming media east 2015 is live http://www.streamingmedia.com
[21:08:34 CEST] <rjp421> is there a way to derive the direct feed uri from their ustream?
[21:08:47 CEST] <rjp421> so to input into ffmpeg
[21:12:31 CEST] <rjp421> there was an old script which was never maintained and now doesnt work
[21:23:31 CEST] <JEEBsv> rjp421: you probably want to check out youtube-dl if it has support for ustream
[21:23:34 CEST] <JEEBsv> probably has
[21:23:57 CEST] <JEEBsv> youtube-dl seems to be the thing after libquvi went the way of the dodo
[21:24:18 CEST] <JEEBsv> (mpv at least switched its streaming site support backend to call it internally)
[21:24:53 CEST] <rjp421> JEEBsv, awesome ty
[21:30:39 CEST] <rjp421> unfortunately for ustream, but fortunate to us, they use(d?) adobe media server but dont do server-side ad insertion
[21:31:24 CEST] <rjp421> is can have you playing a pseudo stream that can be told to play either the source feed or an ad
[21:31:28 CEST] <rjp421> it*
[21:32:46 CEST] <rjp421> and wait for an ingress feed from ffpeg etc and play/queue it
[21:35:37 CEST] <rjp421> if i knew java though id probably be using wowza, not sure if they can do that type of forced ad insertion
[22:02:32 CEST] <syntaxaire> Is ffserver still deprecated and going to be removed? I'm just trying to figure out a working way to stream HTML5 live video.
[22:05:50 CEST] <syntaxaire> Or does anyone know if the ffserver functionality has been wrapped into ffmpeg proper?
[22:25:11 CEST] <podman> hey guys. I'm having issues with videos looking washed out in HTML5 playback. It looks like the issue has to do with the YUV color range
[22:26:12 CEST] <podman> i'm wondering if anyone else has run into this or knows how to deal with it?
[22:29:24 CEST] <the_fool> Hi
[22:29:51 CEST] <the_fool> Does anyone here have experience installing ffmpeg on ubuntu from the ppa given on the official page?
[22:30:39 CEST] <the_fool> I'm trying to find a version of ffmpeg that has been compiled with nvenc support.
[22:32:06 CEST] <c_14> you won't
[22:32:16 CEST] <c_14> (or if you do, the distribution thereof is illegal)
[22:32:37 CEST] <the_fool> Why?
[22:32:42 CEST] <c_14> license issues
[22:33:21 CEST] <the_fool> Oh, so why was nvenc support mentioned for 2.6?
[22:33:34 CEST] <c_14> You can build ffmpeg with nvenc support. You just can't distribute it.
[22:33:47 CEST] <c_14> So, if you want an ffmpeg with nvenc support you'll have to built it yourself.
[22:33:54 CEST] <the_fool> Oh no...
[22:34:13 CEST] <the_fool> Thanks for clearing that up.
[23:33:55 CEST] <grepper> I notice with a recent ffmpeg that using the subtitles filter and an ass subtitle format file, it still works as if I had used the ass filter. Is that something I can depend on in a script? (ie. "-vf subtitles=file.ass")
[23:35:04 CEST] <c_14> yep
[23:39:07 CEST] <grepper> that's great, sure makes it easier to test if ffmpeg supports the file.
[23:39:28 CEST] <grepper> c_14: should the subtitles filter always come at the end of the filter chain ?
[23:41:10 CEST] <c_14> Won't matter 9 times out of 10
[23:42:57 CEST] <grepper> okay, thanks a bunch. Multiple filters are still a bit of mystery to me.
[23:51:44 CEST] <a\m> Good day, all.
[23:52:45 CEST] <a\m> This might not be a purely ffmpeg questions, but I'm trying to encode an MP4 for html5 player
[23:53:07 CEST] <a\m> I have mod_h264_streaming installed on Apache
[23:53:45 CEST] <a\m> However, when the page loads, looking at network activity, I see multiple requests to the MP4 file.
[23:54:08 CEST] <a\m> with HTTP 206 response, usually 20-40K in size
[23:54:19 CEST] <a\m> Anyone has any idea what this is?
[00:00:00 CEST] --- Wed May 13 2015


More information about the Ffmpeg-devel-irc mailing list