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

burek burek021 at gmail.com
Fri Jan 8 02:05:01 CET 2016


[09:10:27 CET] <tapas> I am trying to broadcast a silent audio stream using "ffmpeg -ar 10000 -f s16le -acodec pcm_s16le -ac 2 -i /dev/zero -acodec libmp3lame -f flv rtmp://xxxx"
[09:11:24 CET] <tapas> but my ubuntu is showing that above command is using outgoing bandwidth of 200 kilo bytes per sec which is very high
[09:11:47 CET] <tapas> any idea how can i broadcast a 10kbps silent audio stream using ffmpeg ?
[09:11:52 CET] <tapas> anyone online here ?
[09:12:34 CET] <tapas> any one online here ?
[09:13:47 CET] <furq> tapas: put -re before -i
[09:14:11 CET] <tapas> furq: thank you. let me try quickly
[09:17:03 CET] <tapas> furq: it worked
[09:18:15 CET] <tapas> furq: but it is still taking 60kbps-100kbps (kbps = kilo bits per sec) speed ..i want to broadcast at 10kbps speed
[09:18:21 CET] <tapas> furq: how do i do that ?
[09:18:31 CET] <furq> -b:a 10k
[11:33:14 CET] <t4nk159> welcome everyone
[11:33:20 CET] <t4nk159> hope someone can help me
[11:33:25 CET] <t4nk159> anyone?
[11:34:50 CET] <t4nk159> anyone can help me?
[11:41:11 CET] <Betablocker> ^
[16:48:34 CET] <paule32> hello
[16:49:28 CET] <paule32> is it possible to start and stop a mp3 song/file at ffmpeg runtime/streaming without restart?
[16:58:21 CET] <furq> paule32: ^Z and fg
[17:00:58 CET] <kadiro> Hello, I have a problem to copy stream with ffmpeg I got errors like: [NULL @ 0xaf9de40] illegal reordering_of_pic_nums_idc 13 and [NULL @ 0xaf9de40] illegal aspect ratio ..[NULL @ 0xaf9de40] AVC: nal size 1296047848 and so on, the result is only 6.5M compared to the source file have 31M, the players can play the source file fine
[17:02:37 CET] <kadiro> tryed with -c copy and -c:v copy -c:a copy got same result
[17:07:26 CET] <paule32> i have screen 1024x728 as input, can i scale it down to 800x600 before stream?
[17:50:43 CET] <JamEngulfer221> Hey there. Im trying to speed up a simple sine wave using this command here: ffmpeg -i sine.ogg -filter:a "atempo=1.7" sine2.ogg but it doesnt seem to be working. Im on Mac OSX with the latest ffmpeg version
[17:51:31 CET] <JamEngulfer221> Console output here: http://pastebin.com/755KBQRp
[17:58:27 CET] <JamEngulfer221> Oh wait, it did work, it just didnt increase the pitch as Id hoped :/
[18:06:12 CET] <JamEngulfer221> In that case, is there any way to increase the speed of an audio file whilst also increasing the pitch?
[18:10:11 CET] <kadiro> It seem this channel is died
[18:21:22 CET] <durandal_1707> read docs
[18:23:23 CET] <ffmpeg_noob> hey
[18:23:37 CET] <ffmpeg_noob> i am trying to convert FLAC to ALAC
[18:23:40 CET] <ffmpeg_noob> this works:
[18:23:41 CET] <ffmpeg_noob> ffmpeg -i song.flac -c:a alac song.m4a
[18:23:46 CET] <ffmpeg_noob> but how can i output to pipe?
[18:24:16 CET] <ffmpeg_noob> i tried this:
[18:24:20 CET] <ffmpeg_noob> ffmpeg -i song.flac -c:a alac -
[18:24:25 CET] <ffmpeg_noob> but i get error "Unable to find a suitable output format for 'pipe:'"
[18:26:30 CET] <kepstin> you have to use the '-f' option to specify the format when outputting to a pipe, since it can't be guessed from the filename
[18:27:00 CET] <ffmpeg_noob> like -f m4a ?
[18:28:13 CET] <ffmpeg_noob> :( Requested output format 'm4a' is not a suitable output format
[18:28:21 CET] <kepstin> try 'mp4'
[18:28:34 CET] <kepstin> (m4a is just a file extension used for mp4 files which only have audio)
[18:29:37 CET] <ffmpeg_noob> Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[18:32:04 CET] <kadiro> [17:01:30] <kadiro> Hello, I have a problem to copy stream with ffmpeg I got errors like: [NULL @ 0xaf9de40] illegal reordering_of_pic_nums_idc 13 and [NULL @ 0xaf9de40] illegal aspect ratio ..[NULL @ 0xaf9de40] AVC: nal size 1296047848 and so on, the result is only 6.5M compared to the source file have 31M, the players can play the source file fine
[18:32:05 CET] <kadiro> [17:03:09] <kadiro> tryed with -c copy and -c:v copy -c:a copy got same result
[18:33:19 CET] <ffmpeg_noob> kepstin: http://pastie.org/10676404
[18:33:46 CET] <kepstin> ffmpeg_noob: oh, right, forgot about that. your actual error is in the output: [mp4 @ 0x7fc122800600] muxer does not support non seekable output
[18:33:53 CET] <ffmpeg_noob> http://pastie.org/10676408
[18:33:54 CET] <kepstin> ffmpeg_noob: you can't write mp4 to a pipe
[18:34:17 CET] <ffmpeg_noob> oh we can't
[18:34:19 CET] <ffmpeg_noob> darn
[18:35:50 CET] <kadiro> sorry If my question is so hard
[18:38:09 CET] <corw> hi
[18:38:23 CET] <kadiro> Hi corw how are you?
[18:38:33 CET] <corw> fine thanks
[18:38:42 CET] <kadiro> Good to hear
[18:40:54 CET] <corw> i'm tryng to compile ffmpeg (i'm on linux amd64), which are the normal configure options, i've tried --enable-gpl --enable-nonfree and got very big ffmpef ffprobe ...
[18:42:09 CET] <kepstin> corw: the default build statically links the libav* libraries into the ffmpeg command line too, which is why they're big.
[18:42:14 CET] <kepstin> command line tool*
[18:43:38 CET] <corw> yes :-) , now i was trying, --enable-shared and --disable-static
[18:45:50 CET] <corw> one (of many) thing that is not clear for me: have I to add  --enable-libxvid , or is automatically included?
[18:46:41 CET] <kepstin> in general, features that use external libraries aren't enabled unless you add the option for it. Check the output of configure see see.
[19:05:18 CET] <kadiro1> so any answer to my question?
[19:05:52 CET] <kadiro1> [18:32:36] <kadiro> [17:01:30] <kadiro> Hello, I have a problem to copy stream with ffmpeg I got errors like: [NULL @ 0xaf9de40] illegal reordering_of_pic_nums_idc 13 and [NULL @ 0xaf9de40] illegal aspect ratio ..[NULL @ 0xaf9de40] AVC: nal size 1296047848 and so on, the result is only 6.5M compared to the source file have 31M, the players can play the source file fine
[19:05:52 CET] <kadiro1> [18:32:36] <kadiro> [17:03:09] <kadiro> tryed with -c copy and -c:v copy -c:a copy got same result
[19:06:10 CET] <kadiro1> repeat of the repeated question ^
[19:07:01 CET] <kadiro1> !ffmpeg
[19:07:17 CET] <kadiro1> !avc
[19:08:18 CET] <kadiro1> good idea hop this times got an answer
[19:09:56 CET] <furq> 17:45:50 ( corw) one (of many) thing that is not clear for me: have I to add  --enable-libxvid , or is automatically included?
[19:10:03 CET] <furq> you only need libxvid if you want to encode xvid
[19:10:15 CET] <furq> there's a builtin mpeg4 decoder which handles xvid
[19:11:14 CET] <kadiro1> http://dpaste.com/07JWNZR
[19:12:18 CET] <kadiro1> the output ^
[19:14:43 CET] <kadiro1> full output frm terminal ==> http://dpaste.com/07JWNZR
[19:17:15 CET] <c_14> kadiro1: have you tried reencoding the video?
[19:17:49 CET] <kadiro1> c_14,  No I think that will cause lost of quality
[19:18:37 CET] <kadiro1> I need the output be avi, if possible good video and dx50
[19:21:37 CET] <kadiro1> ah thank you c_14 I think I must rencode it the size is big i need only 352x240
[19:22:17 CET] <kadiro1> c_14,  How I can do the DX50 tag ?
[19:27:48 CET] <c_14> -vtag DX50 afaik
[19:28:04 CET] <kadiro1> c_14,  without any other parameter?
[19:28:31 CET] <c_14> I think so
[19:32:17 CET] <kadiro1> I got info: [avi @ 0x9bdfaa0] non-interleaved AVI and the picture is horrible
[19:32:26 CET] <kadiro1> from ffprobe
[19:32:36 CET] <c_14> set a bitrate
[19:38:42 CET] <kadiro1> wow the size of it is bigger then the source but not better also sound looks run before the picture I just did -c:a copy to see with -b:v 2000k
[19:40:43 CET] <kadiro1> anyway thank you c_14 may be i must download all the stream from youtube rather then using the online tool for it
[19:51:55 CET] <paule32> i have old DSL connection (6000 kb down/600 kb up - is it enough to stream screen 800x600 + audio?
[19:52:30 CET] <c_14> stream to somewhere?
[19:52:51 CET] <furq> yes
[19:52:57 CET] <furq> whether it'll look good is a question i can't answer
[19:54:31 CET] <kadiro1> https://wiki.archlinux.org/index.php/FFmpeg#Screen_cast
[19:55:20 CET] <paule32> c_14: to my stream server
[19:55:27 CET] <paule32> into internet
[19:58:52 CET] <paule32> kadiro1: thx, i know how to stream, but i have no expierences, how much data is held, and how much visitors can watch stream by a nginx server
[19:58:56 CET] <paule32> root server
[19:59:22 CET] <c_14> You should be able to stream, might not look that great though (depending on video content)
[19:59:27 CET] <c_14> The more motion the worse it'll look
[20:01:26 CET] <furq> paule32: if your server is 100mbit then you should be good for 150+ viewers
[20:01:44 CET] <paule32> oh, ok
[20:02:35 CET] <c_14> So I just tried, and it looks fine.
[20:02:49 CET] <c_14> I used 10bit H.264 though, not sure how it'll look with 8bit H.264
[20:02:56 CET] <furq> like i said it's impossible to answer
[20:03:01 CET] <furq> it depends what's on the screen
[20:03:24 CET] <furq> fortunately there's a good way you can find out whether streaming your screen at 600kbps will look good
[20:03:54 CET] <paule32> the problem is a little bit in buffering
[20:04:07 CET] <paule32> i cant do real live streaming
[20:04:18 CET] <paule32> 5 - 10s latency
[20:04:38 CET] <furq> are you sure that's not introduced by the player
[20:04:59 CET] <furq> most players default to a buffer of at least 5 seconds
[20:05:05 CET] <paule32> ehm, yes
[20:05:41 CET] <paule32> i have heard, that flash is died, and html5 is the future
[20:05:51 CET] <paule32> death
[20:05:52 CET] <paule32> sorry
[20:07:11 CET] <furq> it sure is
[20:07:20 CET] <furq> that's why the nginx rtmp module will output to hls and dash
[20:07:25 CET] <furq> although i'm told the dash muxer is broken
[20:07:39 CET] <paule32> hmm
[20:07:50 CET] <furq> i use it for hls and it works fine
[20:07:55 CET] <furq> although the latency is even worse than for rtmp
[20:08:30 CET] <paule32> real time media proto - rtmp - not good?
[20:09:14 CET] <furq> it's good enough
[20:09:18 CET] <paule32> give it a solution, to see stream and chat with visitors?
[20:09:29 CET] <paule32> or html topic?
[20:09:44 CET] <furq> rtmp only works with flash
[20:09:58 CET] <paule32> :(
[20:10:02 CET] <furq> on the web, i mean
[20:10:09 CET] <furq> obviously VLC et al can play it
[20:10:16 CET] <paule32> ah fine
[20:12:44 CET] <paule32> i use ffmpeg to stream desktop, vlc can do it, too, so what it better - command line or vlc (2 monitors - one for vlc[test stream] - one for recording)
[20:14:09 CET] <paule32> the pro on command line is, that i can move the console window to other monitor and watch the stream by output - the cons are the many options
[20:15:01 CET] <paule32> yesterday i download obs, compile it, but can't run it, because symbols are undefined
[20:41:44 CET] <Betablocker> netsplit rockz !
[21:13:08 CET] <DHE> Betablocker: wouldn't be freenode without a weekly split
[21:33:17 CET] <TD-Linux> paule32, if you want really low latency, like videoconferencing latency, you're going to need RTP instead, like WebRTC
[21:34:05 CET] <paule32> webrtc? a linux application?
[21:36:43 CET] <TD-Linux> webrtc is a Javascript API, as well as a set of network protocols
[21:37:18 CET] <TD-Linux> as far as I know though, ffmpeg does not support webrtc
[21:37:30 CET] <Pinchiukas> Anyone can help me figure out how to get the name of an MPEG-TS stream? And maybe languages too. :)
[21:38:54 CET] <kepstin> I think specifically, ffmpeg might not support the dtls encryption on the rtp media stream required for webrtc :/
[21:40:02 CET] <DHE> Pinchiukas: just point ffprobe at it. there's a 3-character language field on the audio.
[21:45:48 CET] <Pinchiukas> Cool! Thanks DHE!
[21:45:52 CET] <TD-Linux> kepstin, yup. to be precise dtls-srtp
[23:59:02 CET] <JakeJ> hey, anyone around that knows much about complex aac audio filters?
[23:59:21 CET] <JakeJ> i'm trying to make an 8 channel octagonal audio filter in aac and having issues
[00:00:00 CET] --- Fri Jan  8 2016


More information about the Ffmpeg-devel-irc mailing list