[Ffmpeg-devel-irc] ffmpeg.log.20151114
burek
burek021 at gmail.com
Sun Nov 15 02:05:01 CET 2015
[00:00:06 CET] <Primer> it takes several seconds before I see anything, because ffmpeg is reading each rtsp stream one at a time, then once everything's ready, it starts playing, and the playback is very stuttered
[00:14:07 CET] <JEEB> if you are still using ffplay for the playback, try mpv
[00:14:19 CET] <JEEB> http://mpv.srsfckn.biz/ is the usual place to get windows binaries
[00:18:08 CET] <Primer> The main problem is the startup time for ffmpeg
[00:18:27 CET] <Primer> The goal being for me to quickly see what the dog's barking at when I hear her bark
[00:18:50 CET] <Primer> it takes about 20 seconds for ffmpeg to ramp up before anything is displayed
[00:20:02 CET] <JEEB> you can try minimizing the amount of data read for the initial checking
[00:20:30 CET] <Primer> by specifying what to expect via -f?
[00:20:36 CET] <Primer> on the input
[00:20:54 CET] <Primer> I'm willing to try anything, as I still can't get sound to work in vlc
[00:21:14 CET] <JEEB> that too, although there is a specific option for making the initial <word I totally am forgetting due to 1am>
[00:21:19 CET] <JEEB> shorter
[00:21:51 CET] <c_14> probesize?
[00:21:53 CET] <c_14> analyzeduration?
[00:22:02 CET] <JEEB> analyzeduration and probesize, yes
[00:22:16 CET] <Primer> I've seen both of those in examples, but always on the other end of the pipe
[00:22:36 CET] <Primer> http://pastie.org/10555494
[00:22:42 CET] <Primer> that's actually working now
[00:23:28 CET] <JEEB> try setting -probesize to a smaller amount of bytes
[00:23:44 CET] <Primer> my bad, this is the latest one: http://pastie.org/10555683
[00:23:53 CET] <JEEB> and probesize goes to before the inputs
[00:23:56 CET] <Primer> For every -i?
[00:24:06 CET] <JEEB> try setting it once before the inputs
[00:24:10 CET] <Primer> ok
[00:24:17 CET] <JEEB> if that doesn't help, then set more
[00:25:20 CET] <JEEB> also you should really switch to a libavformat-based player that is not as crappy as ffplay :)
[00:25:27 CET] <JEEB> ffplay is really just a proof of concept thing
[00:25:35 CET] <JEEB> for windows I recommend mpv for such command line usage
[00:25:35 CET] <Primer> sure
[00:25:57 CET] <Primer> Wouldn't specifying -f preclude the need for probesize?
[00:26:04 CET] <JEEB> not necessarily
[00:26:09 CET] <JEEB> since that only sets the container
[00:26:11 CET] <JEEB> not what's in it
[00:29:33 CET] <Primer> I definitely need -rtsp_transport tcp before every -i though, otherwise I have to wait for the socket to time out
[00:30:42 CET] <Primer> ffmpeg - | mpv - <-- seems it's not that simple
[00:30:56 CET] <Primer> Failed to recognize file format.
[00:31:13 CET] <Primer> ffmpeg ... -f nut | mpv -
[00:34:57 CET] <Primer> I had to set -probesize before every -i
[00:35:03 CET] <Primer> now it's much faster
[00:35:20 CET] <Primer> but I'm still getting the "corrupted" background
[00:35:53 CET] <Primer> I wonder if that's the fault of ffplay though
[00:35:59 CET] <Primer> let me output to a file
[00:37:56 CET] <Primer> The corruption is there when I play it in vlc
[00:41:00 CET] <Primer> doh, ffplay -fs literally made it "full screen"
[00:41:19 CET] <Primer> not a borderless full screen window
[00:42:08 CET] <cipri_tom> Hi all! Could anyone please direct me on how to install ffmpeg libraries for developing an application with ffmpeg ? I am using Ubuntu 14.04 derivative, so the libraries I have are those of libav (avconv?). It would be great if I could use the ffmpeg equivalents
[00:42:40 CET] <Primer> I thought that was resolved
[00:42:52 CET] <Primer> ffmpeg proper is now back in Debian (and presumably all derivatives)
[00:43:51 CET] <Primer> ii ffmpeg 7:2.4.3-1ubuntu1~trusty6 amd64 Tools for transcoding, streaming and playing of multimedia files
[00:44:06 CET] <Primer> That's on my mint 17 box
[00:46:47 CET] <cipri_tom> hmm... I'm on mint 17.2. I understood ffmpeg is only on 15.04 and derivatives. Mint 17 is derivative of 14.04
[00:47:35 CET] <c_14> cipri_tom: build from source?
[00:47:52 CET] <cipri_tom> if I try to apt-get install ffmpeg, it has no instalation candidate
[00:48:01 CET] <Primer> I commented out the PPA I was using, then just update/upgrade, and now I have ffmpeg from upstream
[00:48:13 CET] <Primer> Unless this package is from that PPA
[00:50:00 CET] <furq> Primer: apt-cache policy ffmpeg
[00:50:58 CET] <Primer> that just says the same thing dpkg does
[00:51:17 CET] <cipri_tom> I guess your package is from the PPA. I'm a bit scared of the PPA because http://askubuntu.com/questions/151494/why-cant-i-watch-video-after-installing-the-original-ffmpeg-fork-from-jon-sever
[00:51:26 CET] <furq> it should tell you which repo it comes from
[00:51:46 CET] <furq> idk how it works with PPAs though, i've not used ubuntu in years
[00:52:04 CET] <Primer> Installed: 7:2.4.3-1ubuntu1~trusty6
[00:53:42 CET] <furq> i think that is from a ppa
[00:53:45 CET] <furq> trusty uses libav
[02:05:38 CET] <Primer> Ok, I got this working! Thing is, since I only have 5 cameras but the grid is 3x2, I'm left with a kaleidescope of colors in the unused cell
[02:05:59 CET] <Primer> and artifacts from the other source streams. Is there any way to have a null input source?
[02:06:11 CET] <c_14> use something like color=black
[02:06:14 CET] <c_14> It's not null
[02:06:19 CET] <c_14> But it is a single solid color
[02:06:38 CET] <c_14> or use the mandelbrot filter if you want pretty colors
[02:07:04 CET] <Primer> can you please put it into context given this: http://pastie.org/10555774
[02:07:29 CET] <Primer> I added another line to the filter, but I figured I'd need another -i to account for it
[02:07:53 CET] <Primer> i.e 5.v, tmp6, and cam6
[02:08:04 CET] <c_14> you can use the color filter directly before the last overlay
[02:08:18 CET] <c_14> just color=black:s=320x240,overlay
[02:08:35 CET] <Primer> perfect
[02:10:36 CET] <Primer> well
[02:10:43 CET] <Primer> it's now an exercise in trial and error
[02:10:52 CET] <Primer> Do I need the 5.v?
[02:10:56 CET] <Primer> the tmp5?
[02:11:01 CET] <c_14> no
[02:11:08 CET] <c_14> wait
[02:11:16 CET] <c_14> you need the tmp5, but not the 5:v
[02:11:45 CET] <Primer> but I also need to specify where it is
[02:12:00 CET] <Primer> x=640:y=420
[02:12:26 CET] <c_14> ah, eh
[02:12:54 CET] <c_14> add -f lavfi -i color=black:s=320x240 and then delete the [5:v]setpts line and replace [cam6] with [5:v]
[02:13:25 CET] <Primer> ok
[02:14:56 CET] <Primer> nothing works
[02:15:33 CET] <Primer> [AVFilterGraph @ 0000000005724a40] No such filter: ''
[02:16:37 CET] <Primer> can't I just create a colored background that's 960x480?
[02:16:44 CET] <c_14> Oh
[02:16:46 CET] <c_14> sure
[02:17:03 CET] <c_14> just use color instead of nullsrc for base
[02:19:06 CET] <Primer> excellent, it works
[02:19:07 CET] <Primer> thanks
[02:19:32 CET] <Primer> now I just need to get ffplay to start full screen, but a borderless maximized window, not "real" full screen
[02:23:11 CET] <c_14> tell it to scale to whatever your screen resolution is
[02:23:41 CET] <furq> or tell your window manager to do it
[02:25:06 CET] <Primer> windows
[02:25:26 CET] <Primer> well, there will be a Linux script too, but I'm not worried about that
[02:29:09 CET] <Primer> I don't get why ffplay implements "real" full screen
[02:29:45 CET] <Primer> i.e. all displays flicker, change resolution, then changes (takes several seconds)
[02:30:04 CET] <Primer> whereas most video players remove the borders and maximize the window
[02:30:09 CET] <Primer> instantly
[02:30:44 CET] <c_14> SDL maybe?
[02:30:53 CET] <c_14> Also, presumably nobody ever bothered fixing/improving it.
[02:31:10 CET] <Primer> well, it was recommended that I pipe to mpv
[02:31:28 CET] <Primer> guess I'll pursue that...as long as it can understand the output from ffmpeg
[02:31:45 CET] <c_14> mpv should support everything ffmpeg does
[02:31:52 CET] <c_14> it uses the same libraries
[02:32:04 CET] Action: Primer tries
[02:32:59 CET] <Primer> oh, it worked!
[02:34:47 CET] <Primer> really spammy output though
[02:34:52 CET] <Primer> [nut @ 00000000059ae900] Non-monotonous DTS in output stream 0:1; previous: 112034, current: 112032; changing to 112035. This may result in incorrect timestamps in the output file.
[02:34:57 CET] <Primer> yet it looks and sounds fine
[02:38:31 CET] <Primer> This is doing everything I wanted. Starting quickly, maximized, has sound, and I can hit q to exit
[02:38:55 CET] <Primer> the last thing I'd like is the ability to run it on a specific display (in windows. I know how to do that on Linux)
[02:41:08 CET] <spiderkeys> Hi, I was wondering if it is possible to get ffmpeg to mux raw h264 video such that it is fragemented on EVERY frame as opposed to just I-frames
[02:42:38 CET] <spiderkeys> It seems the option fragment_keyframe is what is used to force fragmentation (in the context of live streaming in HTML5), but we are trying to achieve extremely low latency and would like to mux such that each frame is wrapped in its own moof+mdat
[02:43:05 CET] <spiderkeys> frag_keyframe*
[02:55:43 CET] <waressearcher2> spiderkeys: hallo
[03:02:23 CET] <dongs> does ffmpeg support DVB-S2 GSE / Continous Stream stuff?
[03:02:56 CET] <dongs> I've got video feeds that use continous streams, they're sorta playable in vlc with lots and lots of drops, so there's video/audio packets but they're not mpegts-style
[03:11:23 CET] <dongs> moof
[03:17:02 CET] <waressearcher2> dongs: wie gehts ?
[03:38:16 CET] <dongs> wot
[03:41:02 CET] <darkid> I got an error running ./configure, ffmpeg warns me that nasm is too old, yet nasm -v says "Compiled on Oct 5 2015"
[03:41:24 CET] <darkid> Mac OS 10.11
[03:43:20 CET] <darkid> Log says "unregonised format: macho64" and nasm -hf lists macho, not macho64.
[04:00:22 CET] <waressearcher2> darkid: hallo
[04:06:11 CET] <darkid> waressearcher2: heya
[04:10:07 CET] <waressearcher2> darkid: wie geht's es dir ?
[04:11:45 CET] <darkid> waressearcher2: What
[04:11:57 CET] <darkid> I don't speak german
[04:12:26 CET] <darkid> But I'm doing fine
[05:18:54 CET] <UnderSampled> Hello
[05:19:04 CET] <UnderSampled> someone asked this question that I also have: http://superuser.com/questions/819573/split-up-a-video-using-ffmpeg-through-scene-detection
[05:19:14 CET] <UnderSampled> but it was never fully answered there.
[05:19:36 CET] <UnderSampled> How can I split a video into files for each scene?
[05:57:36 CET] <waressearcher2> UnderSampled: hallo
[05:57:43 CET] <UnderSampled> waressearcher2: hello!
[05:58:11 CET] <waressearcher2> UnderSampled: wie gehts ?
[05:58:55 CET] <UnderSampled> good?
[05:58:58 CET] <UnderSampled> what's up?
[05:59:28 CET] <waressearcher2> es gehts
[05:59:45 CET] <waressearcher2> und stehts
[06:00:41 CET] <UnderSampled> haben Sie eine Frage?
[06:01:19 CET] <waressearcher2> nein, und selbst ?
[06:01:58 CET] <UnderSampled> Well, I'm wondering why we're speaking German, for one
[06:02:42 CET] <darkid> That was my question >.<
[06:04:34 CET] <UnderSampled> this room is pretty quiet for 300 people
[09:55:12 CET] <brotherBox> hey, when i process a video with ffmpeg into a sequence of .png files, really big amounts of frames are dropped. why is that, and can i prevent that?
[09:55:51 CET] <brotherBox> note: it is possible that this video has a lot of identical or near-identical frames
[13:51:28 CET] <AlexRussia> Hello!
[13:51:49 CET] <AlexRussia> I'm trying to update ffmpeg package in my system(Arch Linux) but got and error https://gist.github.com/dfdf991aa382825c6974
[13:52:01 CET] <AlexRussia> somebody could help me understand why it's?
[13:53:01 CET] <voice> libvpx installed / up to date?
[13:59:53 CET] <AlexRussia> Yes
[13:59:55 CET] <AlexRussia> 1.5.0
[14:00:05 CET] <AlexRussia> I even had rebuid it few munutes ago
[14:00:08 CET] <AlexRussia> and still nothing
[14:01:53 CET] <AlexRussia> The joke is that I've meet the thing first time
[14:02:16 CET] <AlexRussia> and the topic not much helpful http://libav-users.943685.n4.nabble.com/Libav-user-ffmpeg-not-able-to-build-latest-git-commit-td4659028.html
[14:04:26 CET] <BtbN> libvpx 1.5 broke their API, only latest ffmpeg master will build against it.
[14:04:58 CET] <AlexRussia> sounds like I need have to turn back to 1.4, yep?
[14:05:08 CET] <BtbN> Or update ffmpeg.
[14:05:29 CET] <AlexRussia> Do you planning release patched version when the problem will be fixed?
[14:06:17 CET] <AlexRussia> I may be better roll back :)
[14:06:39 CET] <Mavrik> AlexRussia, he already told you that the issue is fixed in the master
[14:07:27 CET] <AlexRussia> Mavrik: Yes, but the release is still 'broken' for fresh systems
[14:07:39 CET] <Mavrik> "release"?
[14:07:46 CET] <AlexRussia> Mavrik: where users want to have a release version and libvpx 1.5 at the same time :D
[14:08:02 CET] <AlexRussia> Mavrik: yeah, 2.8.2
[14:08:08 CET] <BtbN> If you're using a system that offers bleeding edge libraries, like libvpx 1.5, it should be capable of using latest ffmpeg master.
[14:09:07 CET] <AlexRussia> Yes, but sometimes good developers patch their releases from master if it's broken... :)
[14:09:49 CET] <BtbN> ffmpeg master had a massive overhault, breaking its API. 2.8 was branched before that.
[14:09:53 CET] <BtbN> -t
[14:10:23 CET] <BtbN> Feel free to request the patch for libvpx to be backported, if it's easy, someone will take care of it.
[14:14:33 CET] <AlexRussia> BtbN: oh, where I could request it? 0.0
[14:14:43 CET] <BtbN> File a bug
[14:15:09 CET] <AlexRussia> Okay, thanks :)
[14:16:43 CET] <JEEB> if it breaks compatibility with 1.4 you'd be hard-pressed to have it backported. no idea how it was supported in ffmpeg's master of course, so just noting
[14:27:57 CET] <AlexRussia> JEEB: BtbN https://trac.ffmpeg.org/ticket/5007 ready
[14:37:32 CET] <AlexRussia> Okay
[14:37:43 CET] <AlexRussia> Building snapshot of master is an idea too
[14:39:13 CET] <voice> if you wanted to I suppose you could build a package that contains the latest git builds of ffmpeg and libvpx
[14:50:49 CET] <ahmgeek> hello, when I convert a wav to mp3 using ffmpeg, it should work on mac and safari if I played it from a web app right ?
[14:50:57 CET] <ahmgeek> because it doesn't play nicely :(
[14:56:45 CET] <Jaex> i tested this with 150% dpi now https://trac.ffmpeg.org/ticket/4232 and it is works: https://dl.dropboxusercontent.com/u/14076298/ShareX/2015/11/4rJaj09QIV.mp4
[14:56:50 CET] <Jaex> but cursor position is wrong
[15:09:53 CET] <Hilpmi> Hello is possible to caputure with ffmpeg a radio stream and stream it along a silenced video file? radio source > ffmpeg > stream (video + audio) combined
[15:10:08 CET] <c_14> yes
[15:11:16 CET] <Hilpmi> Can i do that from command line ?
[15:11:20 CET] <c_14> yes
[15:11:40 CET] <Hilpmi> Any info on how to?
[15:13:08 CET] <Hilpmi> is it possible without a soundcard?
[15:14:22 CET] <Massaguana> Hello
[15:14:37 CET] <c_14> Hilpmi: ffmpeg -i http://radiostreamurl -i video udp://ffxe:::5555
[15:14:42 CET] <c_14> And no, you don't need a soundcard
[15:15:07 CET] <Hilpmi> Thank man you the best i'll try it
[15:15:14 CET] <Massaguana> having problems to make ffmpeg with nvenc under OSX.
[15:15:38 CET] <Massaguana> error: C compiler test failed
[15:15:58 CET] <c_14> Massaguana: pastebin config.log
[15:16:58 CET] <Massaguana> her is it: http://pastebin.com/CrzWd2XF
[15:18:00 CET] <c_14> >clang: error: no such file or directory: '/Volumes/Ramdisk/compile/Users/Massaguana/Downloads/nvenc_5.0.1_sdk/Samples/NvEncoder/'
[15:18:55 CET] <Massaguana> yes, but what must i do to use this NvEncoder.h file?
[15:19:16 CET] <c_14> Just put it in your includepath
[15:19:35 CET] <Massaguana> and what is my inculdepath?
[15:19:39 CET] <c_14> --extra-cflags=/path/to/nvenc/include
[15:19:43 CET] <cbsrobot> Massaguana: are you sure you have a nvidia card ?
[15:19:53 CET] <Massaguana> in moment not
[15:19:56 CET] <cbsrobot> ar does nvenc also work on ati ?
[15:20:10 CET] <c_14> Compilation should always work.
[15:20:10 CET] <Massaguana> no, i just build ffmepg
[15:20:11 CET] <cbsrobot> s/ar/or
[15:20:14 CET] <c_14> It just might throw a runtime error.
[15:21:33 CET] <Massaguana> in windows/ Linux SDK are no inculde folder
[15:21:55 CET] <c_14> It doesn't have to be called include, just pick the one with all the .h files in it
[15:22:42 CET] <Massaguana> this is what i use to build ffmpeg http://pastebin.com/RU9R6ThP
[15:23:40 CET] <c_14> Your exports look broken
[15:24:14 CET] <c_14> Starting with the LDFLGS, up to the lack of a space after the variable before /Volumes/Ramdisk
[15:25:46 CET] <Massaguana> export LDFLAGS="-L${TARGET}/lib $LDFLGS""/Volumes/Ramdisk/compile" LDFLGS /Volumes/Ramdisk ???
[15:26:19 CET] <c_14> What are you trying to accomplish?
[15:26:25 CET] <c_14> Particularly with the /Volumes/Ramdisk/compile
[15:26:36 CET] <c_14> Do you want to add that to your linker path?
[15:27:11 CET] <Massaguana> can i copy this h file to /Volumes/Ramdisk/compile?
[15:27:25 CET] <c_14> probably
[15:29:24 CET] <Massaguana> dont work ame error
[15:29:48 CET] <Massaguana> the export are in original: export LDFLAGS="-L${TARGET}/lib $LDFLGS"
[15:29:48 CET] <Massaguana> export CFLAGS="-I${TARGET}/include $CFLAGS"
[15:31:38 CET] <c_14> First, what is LDFLGS, is that manually set somewhere else?
[15:31:58 CET] <c_14> Also, you need to add the path to the .h file to your CFLAGs -I/path/to/dir/containing/header
[15:32:51 CET] <Massaguana> don´t now what is LDFLGS& something with my Ramdrive to build al& don´t understand all
[15:35:22 CET] <Massaguana> export CFLAGS="-I/Volumes/Ramdisk/compile/NvEncoder.h"
[15:35:41 CET] <Massaguana> now error nvEncoderAPI.h not found
[15:35:53 CET] <Massaguana> don´t understand this
[15:36:16 CET] <c_14> Without the NvEncoder.h
[15:36:24 CET] <c_14> Just the path to the directory containing it
[15:37:57 CET] <Massaguana> same problem with export CFLAGS="-I/Volumes/Ramdisk/compile" and export CFLAGS="-I/Volumes/Ramdisk/compile/
[15:38:53 CET] <Massaguana> wood you help me with TeamViewer?
[15:43:33 CET] <Massaguana> nobody?
[15:44:32 CET] <c_14> What's your config.log with your current command?
[15:45:33 CET] <Massaguana> http://pastebin.com/nQeK4ezM
[15:46:35 CET] <c_14> Do you have the nvEncodeAPI.h header in /Volumes/Ramdisk/compile as well?
[15:46:41 CET] <Massaguana> yes
[15:46:55 CET] <Massaguana> i copy the file to this folder
[15:48:00 CET] <c_14> Are you sure? Because it can't find nvEncodeAPI.h
[15:48:49 CET] <Massaguana> http://img5.fotos-hochladen.net/uploads/bildschirmfotoowrlng27dq.jpg
[15:51:41 CET] <c_14> That's NvEncoder.h I'm talking about nvEncodeAPI.h
[15:51:55 CET] <Massaguana> yes, you are right i am so stupid
[15:53:09 CET] <Massaguana> with the correct file the configure are complete
[15:59:59 CET] <Massaguana> Thanks for your help
[16:07:10 CET] <Massaguana> intresting with the new ffmpeg ist not possible to build MPlayer Mencoder
[16:09:11 CET] <JEEB> that brings joy to my ears although I think that's because you're trying to use some old release of mplayer :)
[16:09:41 CET] <Massaguana> svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
[16:11:18 CET] <JEEB> great :)
[16:12:44 CET] <Massaguana> http://pastebin.com/6D0ufaYF thats all what i do
[16:17:19 CET] <Massaguana> any ideas?
[16:22:05 CET] <JEEB> give up on mplayer and switch to mpv?
[16:22:26 CET] <Massaguana> i use both
[16:22:38 CET] <JEEB> my condolences
[16:23:14 CET] <Massaguana> this step creates mplay er and mpv
[16:23:20 CET] <Massaguana> both dont work
[16:41:45 CET] <Guest66964> hey all, I have a little problem with FFmpeg. I want to stream. When I use it like this: ffmpeg -f dshow -i video="screen-capture-recorder" -vcodec libx264 -r 25 -pix_fmt yuv420p -preset ultrafast -f flv "rtmp://live.twitch.tv/app/live_****************" after a while I cant browse the internet since its getting flooded or even the streaming stops. Is there a way to set something to adapt the bandwidth or something?
[16:50:39 CET] <ChocolateArmpits> You are using the ultrafast preset which demands too high bitrate. I suggest to both set the bitrate and set the preset to superfast/veryfast
[16:50:50 CET] <ChocolateArmpits> ultrafast is just not economical
[16:59:15 CET] <furq> just setting a maximum bitrate will be fine
[16:59:22 CET] <furq> if the quality suffers then use a slower preset
[19:06:19 CET] <albru123> Hello there, is "-b:a 240k" equivalent to "-b:a 240"?
[19:07:45 CET] <JEEB> albru123: no
[19:08:06 CET] <albru123> JEEB: So how to write 240k as a plain number?
[19:08:07 CET] <JEEB> ffmpeg takes values in as bits (per second)
[19:08:13 CET] <JEEB> 240000
[19:08:13 CET] <albru123> oh
[19:08:24 CET] <albru123> thanks a lot :)
[19:08:32 CET] <furq> 245760
[19:08:48 CET] <JEEB> furq: I think with bits kilo=1000 often
[19:08:50 CET] <JEEB> instead of 1024
[19:09:15 CET] <JEEB> also I think ffmpeg has suffixes for both
[19:09:31 CET] <JEEB> and if I recall correctly k was the 1000 one
[19:11:04 CET] <furq> it will always be 1024 in my heart ;_;
[19:12:55 CET] <albru123> lel, let's try
[00:00:00 CET] --- Sun Nov 15 2015
More information about the Ffmpeg-devel-irc
mailing list