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

burek burek021 at gmail.com
Tue Nov 22 03:05:01 EET 2016


[02:03:16 CET] <issfd> Hi guys,
[02:05:12 CET] <issfd> Hi guys, I'm wondering if there is a way to use ffmpeg to concatenate several pics specifying the time stamp where they should start.
[02:05:33 CET] <issfd> reading the path and time from a .txt
[02:10:37 CET] <DHE> not like that I don't think, but maybe with complex filters you could build a "pipeline"
[05:20:43 CET] <Hasan> HELP
[05:21:23 CET] <furq> what a nice young man
[05:23:12 CET] <dsc_> hALP
[11:04:09 CET] <yanzay> Hi guys, I'm trying to set up live streaming (FullHD, H.265) using ffmpeg. First, video stream goes to nginx-rtmp, then it launches ffmpeg and final destination is ffserver. I have a problem with latency here, it's about 4-5 second, any tips how I can improve it? Ideally latency should be less then 1 second. Launch command and ffserver.conf: http://pastebin.com/UcBFWtaS. Maybe there is a way to trace where delays are?
[11:06:37 CET] <markvandenborre> yanzay: why all these intermediate steps?
[11:06:53 CET] <markvandenborre> why not just throw the ffmpeg rtmp at nginx-rtmp and be done with it?
[11:07:10 CET] <markvandenborre> I might not understand what you are trying to accomplish
[11:08:18 CET] <BtbN> 4-5 seconds is quite good. Also, forget about ffserver.
[11:08:31 CET] <yanzay> nginx-rtmp does not accept H.265 encoded video, as I understand. It consumes H.264 and when I try to push transcoded to H.265 it just doesnt publish anything
[11:08:33 CET] <BtbN> And you need one hell of a CPU to encode hevc in real time.
[11:09:24 CET] <yanzay> I have the biggest amazon instance on it, c4.4xlarge, CPU load is about 70%
[11:09:42 CET] <BtbN> And why the whole effort? There are barely any clients capable of playing it.
[11:09:47 CET] <BtbN> Just go with h264
[11:10:22 CET] <yanzay> h265 is a requirement, so I cant go with h264
[11:10:46 CET] <BtbN> good luck finding compatible software then. There is no h265 in flv specified nor supported
[11:11:04 CET] <yanzay> yeah, thats why I use mpegts
[11:11:12 CET] <BtbN> rtmp is flv.
[11:12:36 CET] <markvandenborre> yanzay: what kind of client is going to consume your h265 stream?
[11:12:48 CET] <yanzay> is there any other servers so I can replace ffserver to stream h265?
[11:13:06 CET] <yanzay> VLC, for example
[11:13:41 CET] <BtbN> Your clients will also need a very powerful CPU to play that
[11:13:52 CET] <BtbN> hevc is just not ready for wide usage yet.
[11:49:30 CET] <kerio> how do you stream mpegts one-to-many?
[11:49:52 CET] <kerio> BtbN: can you do HLS with hevc?
[12:00:12 CET] <markvandenborre> kerio: you could under some circumstances do udp multicast
[12:00:25 CET] <markvandenborre> depending on what you need
[12:00:26 CET] <kerio> markvandenborre: no but like
[12:00:29 CET] <kerio> on the internet
[12:00:46 CET] <markvandenborre> throw it at nginx-rtmp?
[12:00:56 CET] <kerio> i thought rtmp was only flv
[12:01:04 CET] <kerio> and there was no hevc in flv
[12:01:11 CET] <markvandenborre> correct
[12:01:18 CET] <markvandenborre> you didn't ask about hevc?
[12:01:35 CET] <kerio> i asked about mpegts
[12:01:39 CET] <kerio> for the specific purpose of avoiding flv
[12:01:51 CET] <markvandenborre> well, you use that as your transport
[12:02:04 CET] <markvandenborre> then use the nginx-rtmp hls functionality
[12:02:19 CET] <markvandenborre> so you end up with hls fragments published by nginx-rtmp
[12:02:27 CET] <markvandenborre> ts fragments
[12:02:50 CET] <markvandenborre> what we do is exactly that
[12:02:52 CET] <kerio> how do i send the video to nginx tho
[12:02:57 CET] <markvandenborre> rtmp...
[12:03:07 CET] <markvandenborre> from ffmpeg
[12:03:57 CET] <markvandenborre> kerio: you may want to have a look at https://github.com/FOSDEM/video for inspiration
[12:04:20 CET] <markvandenborre> we're still finishing the ansible deployment, but it might give you some ideas
[12:04:33 CET] <kerio> markvandenborre: i still don't understand how nginx-rtmp will help me publish hevc through hls
[12:04:40 CET] <kerio> since the only ingest is rtmp, aiui
[12:26:19 CET] <markvandenborre> it won't
[13:32:20 CET] <Mockarutan> I wrote here yesterday, but got no response. I'll try again: AAC encoding, I'm stuck. My code http://pastebin.com/5Tvs19Am . It procudes a file with no sound in it. Feel free to point out anything tha might be wrong. A great start would be to make sure my synthetic sound is generated and transfered to the AVFrame correctly. Anybody who could help?
[14:44:41 CET] <Nacht> Hey. I seem to have an issue which is driving me mad. We got a couple of HLS streams which we take the TS files from and merge a few together. Only, one of the HLS streams seems to have severe lipsync problems. Using async 1 -reset_timestamps 1 -fflags +genpts seems to help a bit, but not enough. Are there any ways to analyse where the lipsync problem may originate from ?
[17:21:57 CET] <Guest27954> Hi friends, somebody already got this error? "[decklink @ 0x2a187c0] > Decklink input buffer overrun!" and know how to solve it?
[17:36:08 CET] <BtbN> read the input buffer faster
[17:51:56 CET] <dviola> hi
[17:52:02 CET] <dviola> is there a way to capture from a pulse stream?
[17:52:22 CET] <dviola> and output to a file
[18:26:44 CET] <kepstin> dviola: sure, something like 'ffmpeg -f pulse -i default recording.opus'
[18:26:55 CET] <kepstin> replace 'default' with the name of the stream/device to use
[18:27:32 CET] <dviola> thanks
[18:59:41 CET] <dviola> how can I get a list of streams?
[19:00:02 CET] <dviola> I think it would be monitor or something like that
[19:05:03 CET] <yury-linux> Hello, I'm trying to automate building ffmpeg and having problems with specifying output directory of relevant files after build. I tried --prefix=$PREFIX, but it seems like it is for install...
[19:05:42 CET] <JEEB> it's for make install, yes. for when you want to put files into the place where you want to utilize them from
[19:05:59 CET] <JEEB> for build time stuff just call configure from another dir
[19:06:09 CET] <JEEB> that will then create required things for out-of-tree build
[19:06:32 CET] <yury-linux> hm, lemme try
[19:11:45 CET] <yury-linux> JEEB, I'm getting Out of tree builds are impossible with config.h in source dir.
[19:11:58 CET] <yury-linux> JEEB, I'm getting "Out of tree builds are impossible with config.h in source dir."
[19:12:05 CET] <JEEB> why would you have that? configure would create that
[19:12:13 CET] <yury-linux> sorry, thought it would edit it
[19:13:11 CET] <JEEB> if you have nothing in the source dir you want to keep, `git clean -dfx` is your friend if you want to clean things up
[19:15:18 CET] <yury-linux> yup, that worked
[19:15:29 CET] <yury-linux> I mean removing config.h
[19:38:21 CET] <yury-linux> JEEB, how do I list/find all possible target-os values?
[19:46:45 CET] <dviola> `ffmpeg -f pulse -i 1 recording.opus' worked fine
[19:46:56 CET] <dviola> not sure if I should use 1 or something else, though
[19:47:55 CET] <_Vi> FFmpeg can successfully encode animated webp with libwebp. Can it also decode it?
[19:48:04 CET] <furq> yury-linux: https://github.com/FFmpeg/FFmpeg/blob/master/configure#L1674-L1770
[19:48:06 CET] <_Vi> Normally I just get "[webp @ 0x698220] skipping unsupported chunk: ANIM"
[19:48:26 CET] <yury-linux> thanks
[19:51:44 CET] <furq> yury-linux: https://github.com/FFmpeg/FFmpeg/blob/master/configure#L4644-L4900
[19:51:48 CET] <furq> apparently i can't read today
[19:54:42 CET] <dviola> oh, pavucontrol will show the device it's recording it from
[19:54:44 CET] <dviola> cool
[19:57:21 CET] <Guest27954> Hi friends, somebody already got this error? "[decklink @ 0x2a187c0] > Decklink input buffer overrun!" and know how to solve it?
[19:57:50 CET] <Len> hello guys
[19:58:33 CET] <Len> can I somehow ignore this "av_interleaved_write_frame(): Immediate exit requested" ? I have script which is spawning workers and it seems like my whole script is blocked on this event
[20:15:12 CET] <yury-linux> furq can I somehow cross-compile the thing for macos from linux?
[20:16:20 CET] <furq> probably, i cross-compile for windows on linux
[20:16:26 CET] <furq> i don't know what toolchain you'd need for osx though
[20:18:09 CET] <yury-linux> I was able to build it for win and linux (untested yet), but osx does not even builds
[20:51:39 CET] <unkmar> yury-linux: I have been writing a Smartphone app that is suppose to available for Andriod and iPhone.  I can build Android from any OS.  The iPhone build requires signatures and XCode to build, and is only available via Mac OS.
[20:53:08 CET] <unkmar> Either through a hackintosh, virtual machine, or real Mac.  Unless you have incredible amounts of time available, simply buying the Mac and required license appears to be the quickest, easiets, and cheapest way to go.
[20:55:20 CET] <unkmar> In this case, you would be trading your time for money.  Spend the money, or the time.  The time to money ratio can easily drop well below minimum wage.
[20:57:04 CET] Action: unkmar is now known as that previously bitter guy that has gone overly verbose to releave the stress build up from all the projects that don't work.
[20:58:06 CET] <unkmar> furq: When will you be at a linux box again?
[21:27:57 CET] <yury-linux> unkmar maybe I can spin up a Travis CI machine and try to upload build artifacts somewhere?
[21:28:06 CET] <yury-linux> should work
[21:28:55 CET] <yury-linux> this way I don't have to buy anything
[21:34:55 CET] <ibisr> ffmpeg -ss 72.072 -i http://localhost:3020/static/35_4_A97mov.mov -copyts -to 84.084 -an -dn -c:v libx264 out.ts
[21:35:35 CET] <ibisr> oops, sorry about that
[21:37:04 CET] <curioususer> Is there a way to specify the client cert and key file when using an https url as the input source?
[22:18:45 CET] <Guest63318> Hello guys, how can i grab vieo from youtube and create live stream ?
[22:51:47 CET] <voip_> Hello guys, how can i grab vieo from youtube and create live stream ?
[22:52:39 CET] <llamapixel> so voip_  I know you can use youtube-dl to get the files off the site but I dont know how to stream that afterwards. ffmpeg newbie
[22:54:37 CET] <voip_> i con i can donload as file then start live streaming, but i dont need to download
[22:55:42 CET] <furq> youtube-dl -o - | ffmpeg -i - ...
[23:04:28 CET] <llamapixel> Technically that is still saving it to a cache or downloading it.
[23:04:53 CET] <furq> well yeah
[23:05:01 CET] <furq> i'm assuming he doesn't own youtube, so that'll be required
[23:05:59 CET] <voip_> thank you
[23:09:37 CET] <voip_> https://www.youtube.com/watch?v=q82Guo5HPRw
[23:09:55 CET] <voip_> The TLS connection was non-properly terminated.
[23:09:55 CET] <voip_> https://www.youtube.com/watch?v=
[23:35:32 CET] <wCPO_irssi> Is there any selfhosted ffmpeg queue solution with web api?
[23:37:07 CET] <DHE> like uploading to a remote system for bulk processing?
[23:37:35 CET] <voip_> guys, I have problem with retrieving video from YouTube: [tls @ 0x55f43a0] The TLS connection was non-properly terminated.
[23:37:55 CET] <wCPO_irssi> DHE: Yes, just wondering if someone has already created something
[23:41:57 CET] <llogan> voip_: AFAIK you can't directly download video from youtube using ffmpeg alone.
[23:44:12 CET] <wCPO_irssi> voip_: youtube-dl is the eastiest solution I think..
[23:45:07 CET] <voip_> hi llogan, how i can live stream video form YouTube without downloading whole file, on fly ?
[23:45:24 CET] <llogan> you can't
[23:45:25 CET] <voip_> wCPO_irssi, i cant donload whole file
[23:45:37 CET] <voip_> llogan, thanks
[23:46:46 CET] <iive> if it is http, some players can do partial downloads in memory
[23:47:01 CET] <iive> mpv, vlc
[23:47:33 CET] <wCPO_irssi> voip_: Sorry, I don't understand? I can download the whole video including audio with youtube-dl without issue?
[23:50:55 CET] <voip_> wCPO_irssi, i meant for example for downloading big YouTube file I will need time and space on my servers. I cant download too much files. If it possible i want download with same portions and directly live stream
[23:58:33 CET] <unkmar> voip_: Are you wanting both the audio and video?  Is screen or window capture an option?  Is audio only reasonable?  Which OS are you trying to use?
[00:00:00 CET] --- Tue Nov 22 2016


More information about the Ffmpeg-devel-irc mailing list