[Ffmpeg-devel-irc] ffmpeg.log.20161006
burek
burek021 at gmail.com
Fri Oct 7 03:05:01 EEST 2016
[00:12:40 CEST] <locuraaa> Hello
[00:13:05 CEST] <locuraaa> someone online?
[00:15:50 CEST] <TikityTik> locuraaa: no one here is online
[00:16:14 CEST] <locuraaa> why?
[00:16:45 CEST] <locuraaa> i have some questions about ffmpeg in centos
[00:16:48 CEST] <locuraaa> instalatio
[00:16:51 CEST] <locuraaa> instalation
[00:17:13 CEST] <TikityTik> use your package manager to install it
[00:18:32 CEST] <locuraaa> im use yum
[00:18:42 CEST] <locuraaa> but, some filter's not work good
[00:18:44 CEST] <teratorn> lol wut, ffmpeg has 70 specific audio filters, and 167 video filters. libav has 17 audio filters and 43 video filters... I had no idea there was that big a discrepancy nowadays
[00:19:09 CEST] <teratorn> is this just funny or am i doing it wrong
[00:19:18 CEST] <llogan> it is not you
[00:19:34 CEST] <llogan> they were never big into cherry-picking
[00:21:07 CEST] <llogan> locuraaa: you should just ask whatever questions you have and someone may answer if they have an answer. but you may have to be patient
[00:21:29 CEST] <teratorn> oh and Debian isn't brain damage anymore... sorry just getting the news... it's been a while since I worked with video stuffs
[00:25:16 CEST] <locuraaa> ok, thak you loogan
[00:25:39 CEST] <locuraaa> llogan
[00:26:53 CEST] <locuraaa> i go to compile ffmpeg last time, if not work, i drop the question xD
[00:40:12 CEST] <locuraaa> for someone ...
[00:40:19 CEST] <locuraaa> i have this error, [AVFilterGraph @ 0xaced40] No such filter: '' Error opening filters!
[00:40:32 CEST] <locuraaa> but not say me what filter is with error
[00:40:46 CEST] <locuraaa> and i excecute
[00:41:01 CEST] <microchip_> locuraaa: use static ffmpeg - https://www.johnvansickle.com/ffmpeg/
[00:41:12 CEST] <locuraaa> ffmpeg -i http://xxx.com/files/youtube-video/xxxx-cut1475679274.mp4 -vf 'transpose=0,transpose=0,,crop=350:196:0:0,pad=width=350:height=196:x=0:y=0:color=#000000' /xxx/xxx/public_html/files/post/xxx-1475679279.gif
[00:41:29 CEST] <iive> locuraaa: the ",," in there... is wrong
[00:41:43 CEST] <locuraaa> yes, y delete doble ,,
[00:41:54 CEST] <locuraaa> and excecute well but not build file
[00:42:39 CEST] <locuraaa> iive or microchip_
[00:42:49 CEST] <locuraaa> you have tutorial for install static ffmpeg?
[00:43:14 CEST] <microchip_> locuraaa: download the tarball, extract and run. that's all
[00:43:33 CEST] <iive> locuraaa: why ?
[00:44:08 CEST] <locuraaa> ok ;)
[00:44:19 CEST] <locuraaa> iive, for try
[00:44:24 CEST] <locuraaa> new verion
[00:44:26 CEST] <locuraaa> version
[00:44:27 CEST] <microchip_> locuraaa: remove the ' in your filter chain, it's not needed
[00:44:57 CEST] <microchip_> do -vf filter,filter and not -vf '......'
[00:46:00 CEST] <iive> why do you have 2 transpose=0 in there? don't they cancel each other?
[00:46:30 CEST] <microchip_> iive: transpose=0 rotates 90°, adding a second one does 180°
[00:46:40 CEST] <iive> nope
[00:48:05 CEST] <locuraaa> ok, now i have no error!
[00:49:05 CEST] <locuraaa> thank you microchip and iive and llogan
[00:49:11 CEST] <microchip_> iive: right, it's transpose=1 that does it
[00:49:21 CEST] <iive> :)
[00:49:34 CEST] <iive> locuraaa: go on, what is the error?
[00:50:08 CEST] <locuraaa> ",," and ' maybe
[00:50:21 CEST] <locuraaa> because i delete that and all work well
[00:50:51 CEST] <iive> oh. good
[00:51:08 CEST] <llogan> locuraaa: consider using palettegen and paletteuse filters for GIF output
[00:53:51 CEST] <locuraaa> perfect, thanks llogan! ;)
[00:56:24 CEST] <Mazhive> hi guys i wanne stream my webcam to youtube but it seems you tube does not recieve the data or my script is not working .. i can't seem to find out what the problem is...https://paste.fedoraproject.org/444497/08173147
[00:56:38 CEST] <Mazhive> my script
[00:58:43 CEST] <Mazhive> or - http://pastebin.com/j5VNKRS0
[00:59:47 CEST] <llogan> Mazhive: we can't provide help here for scripts. only unscripted, actual ffmpeg commands.
[01:00:48 CEST] <llogan> see http://trac.ffmpeg.org/wiki/EncodingForStreamingSites
[01:01:48 CEST] <Mazhive> oke still in plain cmd line its not working..
[01:09:13 CEST] <Mazhive> oke just a sec..
[01:24:29 CEST] <Mazhive> her the code and the output http://pastebin.com/2Rdx2fet
[01:24:32 CEST] <Mazhive> here
[01:25:00 CEST] <Mazhive> after the last line it sits and starts counting frames etc..
[01:26:05 CEST] <klaxa> that usually means it's running and working
[01:27:23 CEST] <llogan> 2.8.8 is old. i thought you downloaded a build?
[01:27:37 CEST] <llogan> oh, that was another guy
[01:31:11 CEST] <llogan> you forgot -maxrate. why threads 6 instead of letting it decide by default? you repeated some options
[01:31:36 CEST] <Mazhive> so leave the threads
[01:31:53 CEST] <Mazhive> - maxrate what should that be ..
[01:31:59 CEST] <llogan> see the link i provided
[01:36:57 CEST] <Mazhive> oke for now ill be using 3000k and it should work how ever youtube seems to not recieve the data
[01:37:33 CEST] <Mazhive> strangely when i use google hangout and stream it that way it works..
[01:44:19 CEST] <Mazhive> 2.8.8 is the latest on fedora 23
[01:45:07 CEST] <llogan> https://johnvansickle.com/ffmpeg/
[01:46:22 CEST] <Mazhive> when i do not want to stream audio how can i achieve that just take the commands for audio out ?/
[01:47:16 CEST] <llogan> your input and output have no audio
[01:50:18 CEST] <llogan> you probably *need* audio for youtube
[01:50:29 CEST] <llogan> even if it is silent which ffmpeg can do
[01:55:25 CEST] <Mazhive> oke tried 3.1.4 same output youtube initialy is trying to work on the stream and gives me good health but after a few seconds it tells me it is not recieving data
[01:56:16 CEST] <Mazhive> ffmpeg seems to work ok as the frame counter is running
[01:56:41 CEST] <llogan> make sure your network upload rate can handle what you're outputting
[01:59:04 CEST] <Mazhive> have just tested with speedtest it s a upload of 1.11Mbps
[01:59:15 CEST] <Mazhive> not much but it should work.
[02:00:08 CEST] <Mazhive> i normaly use google hangout and it can stream perfectly 720p
[02:00:54 CEST] <llogan> you're using -b:v 2500k
[02:39:40 CEST] <Mazhive> ive chenged it to 1500k still.. youtube is not recieving data
[02:39:46 CEST] <Mazhive> changed
[03:34:28 CEST] <s0126h> what is best lossy audio codec for music and what is best lossy audio codec for speech/talkradio
[11:51:36 CEST] <JonG> If I have two input DASH (or other) streams coming from two separate cameras, and I want to send one of them to an output stream, switching between the two inputs with a variable, is that something I could do with ffmpeg? Or ffserver? I would be fully in control of input and output.
[12:01:36 CEST] <furq> JonG: https://ffmpeg.org/ffmpeg-filters.html#streamselect_002c-astreamselect
[12:06:21 CEST] <JonG> Thanks furq, that looks promising. Do you know if that is something you can set dynamically from outside the ffmpeg process? Or once the filter is set up to switch streams at 5s in, you cannot change it?
[12:08:31 CEST] <furq> you can send command to filters on stdin
[12:08:32 CEST] <furq> hit c
[12:09:07 CEST] <furq> there's probably something fancy you can do with /proc/$pid/fd/0 or tmux send-keys to make it simpler
[12:11:25 CEST] <JonG> OK, thanks, I'll do some experimenting and get back to you if I have more questions :)
[12:50:28 CEST] <DasMoeh> Hi, when i decode a packet with avcodec_decode_video2() it takes around 0.05 ms with ffmpeg 2.8. When i do the same linking against 3.1.4, then it takes 10 ms. Has someone an idea, why it's so slow?
[13:24:48 CEST] <thebigbean> Is there anyway to export VirtualDubs deshaker with ffmpeg? Want to export as ffv1
[14:18:39 CEST] <platzhirsch> Can you set a bigger buffer length in ffmpeg when reading a RTMP stream from the nginx-rtmp module? I have troubles finding out if that would actually change the behavior of what's send down to the RTMP server
[16:03:19 CEST] <acamargo> hello. someone using segment filter here? I'm capturing a live sdi feed with a decklink card and I need to output 1 minute mp4 (h264/acc) files. When I join the files on adobe premiere sometimes I get clicks on audio or frame drop on video
[16:04:45 CEST] <acamargo> this is my script http://pastebin.com/QBafS65U
[16:23:44 CEST] <microchip_> pb acamargo
[16:23:53 CEST] <microchip_> acamargo: we don't support scripts here
[16:40:10 CEST] <acamargo> microchip_, ?
[16:40:28 CEST] <acamargo> microchip_, I pasted the script to appreciation
[16:40:55 CEST] <acamargo> microchip_, it's the ffmpeg command with all the options I'm using
[16:47:05 CEST] <Chloe> microchip_: it's literally just the command in that paste
[16:49:29 CEST] <jam___> Anyone there ??
[16:50:00 CEST] <jam___> Want to know about ffmpeg paramtres settings for 720p display
[16:50:07 CEST] <jam___> its laggy too much
[16:50:21 CEST] <jam___> i m streaming to fb using fblive
[16:50:42 CEST] <jam___> can someone guide me about the paramatres settings
[16:51:41 CEST] <jam___> I have 5 to 6 mb connection speed and using screenCapture to record
[16:55:47 CEST] <DHE> what do you mean laggy?
[16:56:33 CEST] <c_14> He's gone
[16:57:56 CEST] <DHE> yeah, just missed him
[17:16:00 CEST] <ZucZero> He msgd me also...
[18:43:09 CEST] <intijk> hello
[18:43:27 CEST] <intijk> can someone tell me the change log version number secret?
[18:43:42 CEST] <intijk> in the APIChanges file
[18:43:54 CEST] <intijk> 2015-07-27 - lavc 56.56.100 / 56.35.0 - avcodec.h
[18:44:01 CEST] <intijk> for example , has such a line
[18:44:25 CEST] <intijk> 56.56.100 is the version of libavcode
[18:44:39 CEST] <intijk> what is the version number 56.35.0 for?
[18:50:16 CEST] <Kadigan> Just a guess, but do those libs come in x86 and x64 flavors?
[18:52:35 CEST] <teratorn> is there a quick way to extract the frame number at a given time index?
[19:12:07 CEST] <kepstin> teratorn: nope. to do it, you have to count frames until you get to the one at the time you want.
[19:12:16 CEST] <kepstin> (if the video is constant fps, you can sometimes calculate it tho)
[19:21:22 CEST] <teratorn> kepstin: neither the container nor encoded video packets have actual frame numbers in them, eh?
[19:21:42 CEST] <kepstin> teratorn: nope.
[19:22:06 CEST] <teratorn> well anyway, I don't care about the actual frame number, I just need to `loop' a single frame at a given time offset, but I think I figured it out using two chained `trim' filters to select and loop only a single frame
[19:23:17 CEST] <teratorn> e.g. ffmpeg -f lavfi -i testsrc2 -vf trim=start=1.0,trim=start_frame=0:end_frame=1 out.mp4
[19:23:30 CEST] <teratorn> nicely cuts a single frame :)
[19:26:30 CEST] <teratorn> to loop it, ffmpeg -f lavfi -i testsrc2 -vf trim=start=1.0,trim=start_frame=0:end_frame=1,loop=50:size=1:start=0 out.mp4
[19:27:21 CEST] <dagg> Greetings, I'm working on a program that needs to capture screen in c, I've tried to look for more info on how to prepare the capture and pass specific options to it, is there any info that I might have missed I can use?
[19:27:24 CEST] <teratorn> my problem now is I'm forced to use an fps filter, since loop doesn't know how to loop only deals in frame counts not in time
[19:29:54 CEST] <aceslowman> All I need to do is take a video in ProRes 422 and make it so it has a keyframe on every frame. What would I want to run? I tried ffmpeg -g 1 -i {source} {dest}
[19:30:57 CEST] <DHE> -g 1 comes after the input
[19:31:01 CEST] <DHE> or rather, before the output
[19:31:27 CEST] <aceslowman> Ah, thank you! And with that, it will retain all of the other properties of the input file?
[19:31:28 CEST] <DHE> ffmpeg options are: ffmpeg [input1 options] -i input1 [input2 options] -i input2 [...] [output1 options] output1 [output2 options] output2 [...]
[19:31:56 CEST] <DHE> no, ffmpeg doesn't copy properties, beyond the obvious like framerate, width and height. the codec changes if you don't manually specify, etc
[19:32:43 CEST] <aceslowman> Ah, all good to know. I'm new to doing anything other than copying and pasting simple commands, thank you!
[19:38:37 CEST] <kubik> hi
[19:39:13 CEST] <teratorn> I'm really confused why this command encodes the entire input (all of in.mp4) in to the output, out.mp4, instead of just the 50 frames I'm looking for.. ffmpeg -i in.mp4 -filter_complex "[0:v]split=2[v0][v1];[v0]null;[v1]trim=start=1.0,trim=start_frame=0:end_frame=1,loop=50:size=1:start=0[v2]" -map "[v2]" out.mp4
[19:39:18 CEST] <kubik> i try to set up https://github.com/bakape/meguca on vps but i have problem with error while loading shared libraries: libavcodec-ffmpeg.so.56: cannot open shared object file: No such file or directory when running main file
[19:39:41 CEST] <kubik> i tried installing lasst version but i still get error
[19:40:15 CEST] <teratorn> kubik: libavcodec-ffmpeg.so.56 is not the normal name of the libavcodec library
[19:40:34 CEST] <teratorn> kubik: it doesn't have "-ffmpeg" stuck in it when you compile from source
[19:41:47 CEST] <kubik> so what i have to install? im not the best in it
[19:41:57 CEST] <teratorn> kubik: otherwise, if you compiled and linked against ffmpeg successfully, but this is just failing when you try to run it, then libavcodec-ffmpeg.so.56 isn't in your library search path
[19:42:25 CEST] <kubik> i tried editing config with /usr/local/lib
[19:43:31 CEST] <teratorn> kubik: it is not an ffmpeg problem, actually. good luck in other support channels. :)
[19:43:45 CEST] <kubik> ;_; okay
[19:50:19 CEST] <kubik> development libraries is normal package or something special?
[19:59:51 CEST] <furq> libavcodec-ffmpeg.so is the ubuntu transitional name iirc
[20:01:25 CEST] <furq> kubik: i guess you could try compiling that thing yourself
[20:01:40 CEST] <furq> idk if cgo hardcodes dependencies like that
[20:01:48 CEST] <kubik> also before when i got http://pastebin.com/p2CCQWkj from ffmpeg
[20:01:55 CEST] <furq> but it wouldn't surprise me if the static builds assume you're using the author's exact setup
[20:01:58 CEST] <kubik> compile ffmpeg or meguca?
[20:02:01 CEST] <furq> meguca
[20:02:05 CEST] <aceslowman> I'm not getting any working file from running this, do I still have something confused? ffmpeg -y -i please_small-driving-test.mov -keyint_min 1 please_keyframes.mov
[20:03:00 CEST] <furq> yeah you have libavcodec 57 and that binary expects 56 because that's what the author has on his dev machine
[20:03:22 CEST] <furq> you should probably file a ticket telling him that his linux binaries are worthless
[20:05:20 CEST] <kubik> great so its something what can work
[20:05:24 CEST] <furq> aceslowman: if you want 1-frame gops then you need -g and -keyint_min
[20:05:41 CEST] <furq> assuming -keyint_min is mapped to anything with that codec
[20:06:22 CEST] <furq> also that won't encode to prores, it'll encode to whatever the default for mov is
[20:06:25 CEST] <furq> which is h264
[20:06:56 CEST] <furq> you probably want -c:v prores
[20:09:56 CEST] <teratorn> I'm very very confused why the last 2 commands produce different outputs... I was hoping adding the split filter, the way I've done it, would not have any effect on the output... any clues? :) https://gist.github.com/tera-torn/86464e520f03ec5344a3bd2b2a8f3b81
[20:11:32 CEST] <teratorn> oh balls, it's putting 2 streams in the 2nd one :(
[20:11:44 CEST] Action: teratorn face-palms
[00:00:00 CEST] --- Fri Oct 7 2016
More information about the Ffmpeg-devel-irc
mailing list