[Ffmpeg-devel-irc] ffmpeg.log.20151215
burek
burek021 at gmail.com
Wed Dec 16 02:05:01 CET 2015
[00:22:48 CET] <TikityTik> I'm having issues trying to find the font arial with my fontconfig
[00:22:59 CET] <TikityTik> [Parsed_subtitles_0 @ 0000000005377900] fontconfig: cannot find font 'Arial', falling back to 'll\lalcgülgÇlgül]l¡l\lV82'
[00:26:18 CET] <TD-Linux> that's my favorite font
[01:15:43 CET] <prelude2004c> hey guys.. i finally got sTARTX going and ffmpeg sees it... amazing.. now i am missing something.. i have set ffmpeg with -hwaccel vdpau which it does not complain about and then i -c:v nvenc to transcode it to something else. The issue on the decrytion is that it still doesn't use GPU to decode the data and tee it off to new ffmpeg stuff.. not sure what to do
[01:15:43 CET] <prelude2004c> :(
[01:25:39 CET] <prelude2004c> hey guys.. how does one transcode a h264 source to a raw input source using the GPU decoder ?
[02:26:58 CET] <Guiri> Howdy. I'm having trouble getting the concat filter to work with films with different resolutions. I've tried specifying the scale parameter within filter_complex. I'm not sure what I'm doing incorrectly: http://fpaste.org/300868/45014277/
[02:48:33 CET] <Guiri> Will I have to setsar=1/1 for each video stream in the concat filter?
[02:51:35 CET] <Guiri> So I tried [0:v:0] setsar=1/1 [sar0]; [sar0] [0:a:0] for each of the inputs. It seems to complain about using the setsar filter too many times
[03:03:32 CET] <satt> Guiri: I'm doing something similar, quite new to ffmpeg tho. I setsar for each input
[03:04:12 CET] <satt> this is what my filter argument looks like for each input
[03:04:27 CET] <Guiri> I did try to set it after each video, but got Too many inputs specified for the "setsar" filter.
[03:04:36 CET] <satt> [$count:v]scale=if(gt(ih\,iw)\,-2\,$VID_WIDTH):if(gt(ih\,iw)\,$VID_HEIGHT\,-2),pad=$VID_WIDTH:$VID_HEIGHT:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v$count];
[03:04:56 CET] <Guiri> ah ty
[03:06:27 CET] <Guiri> interesting. So in my command line, I pipe the total [v] into scale, transforming into [v2], but this is after the concat filter. Your scaling seems to occur before?
[03:06:53 CET] <Guiri> I'm also curious about your scaling syntax. I used trunc() after -1 died with some weird resolutions.
[03:08:43 CET] <Guiri> Hmm, too many inputs specified for the scale filter now.
[03:08:54 CET] <satt> I'm probably not the one to give advice on how my scaling works haha - most of my filter text is from people I've asked on here
[03:09:06 CET] <satt> I can paste a full command though, hang on
[03:09:22 CET] <Guiri> Lemme paste my full command and maybe we can spot the differences
[03:10:08 CET] <satt> ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex [0:v]scale=if(gt(ih\,iw)\,-2\,374):if(gt(ih\,iw)\,668\,-2),pad=374:668:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v0]; [1:v]scale=if(gt(ih\,iw)\,-2\,374):if(gt(ih\,iw)\,668\,-2),pad=374:668:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v1]; [v0] [0:a:0] [v1] [1:a:0] concat=n=2:v=1:a=1 [v] [a] -map [v] -map [a] output.mp4
[03:12:00 CET] <Guiri> ah that's interesting. I think I see now. one second
[03:12:06 CET] Action: Guiri goes and fucks up more code
[03:12:12 CET] <satt> lol
[03:12:51 CET] <satt> mine has been working on the vast majority of the videos I put though, but occasionally I'm running into an issue where the parsed pad value is negative
[03:15:58 CET] <Guiri> Hmm, complains about the scale being called too often. This is what I have so far based on yours: http://fpaste.org/300881/45014573/
[03:18:45 CET] <Guiri> Ah, found a bug. I was mapping v2 on accident
[03:19:01 CET] <satt> ah nice
[03:22:21 CET] <Guiri> satt: Getting closer. New error. Do you see any bugs? http://fpaste.org/300882/46099145/
[03:22:47 CET] <prelude2004c> hey guys.. how come --enable-ffplay does not enable ffplay when i compile ffmpeg ?
[03:22:51 CET] <prelude2004c> what do i have to do to get ffmplay going ?
[03:23:44 CET] <satt> Guiri: post the output with the error. nothings jumping out at me from the command
[03:25:48 CET] <Guiri> satt: http://fpaste.org/300883/45014631/
[03:28:48 CET] <satt> Guiri: alright so it's Input link in1:v0 parameters (size 640x430, SAR 1:1) do not match the corresponding output link in0:v0 parameters (640x524, SAR 1:1)
[03:30:32 CET] <satt> looks like trunc(ow/a/2)*2 is giving a different number for the height scale for each video file, so they can't be concat'd
[03:31:21 CET] <Guiri> I see
[03:31:23 CET] <satt> you could add a pad argument and pad the smaller scale video to the size of the larger one
[03:31:28 CET] <Guiri> So how does your scaling function and pad get around it?
[03:31:31 CET] <Guiri> I guess, what do they do
[03:32:08 CET] <satt> pad adds empty space (black, or you can specify a color) around the video file to make it the correct dimensions
[03:33:15 CET] <satt> you'll have to either pad the smaller file to the larger files dimensions, or crop the larger file to the smaller files dimensions
[03:34:17 CET] <satt> the argument is pad=width,height,xpos,ypos
[03:34:43 CET] <satt> so to pad the smaller file to the larger files dimensions, your argument will look something like
[03:35:55 CET] <satt> pad=$largestWidth:$largestHeight:(ow-iw)/2:(oh-ih)/2
[03:36:12 CET] <satt> (ow-iw)/2:(oh-ih)/2 this will center the padded video
[03:36:59 CET] <Guiri> Hmm. So $largestWidth has to be a preset, like 640x480?
[03:37:08 CET] <Guiri> why scale then as well, in your case?
[03:38:15 CET] <Guiri> Life was so much easier when I was just scaling one movie :-)
[03:39:50 CET] <satt> my command is supposed to scale down, and pad to the correct resolution - so with an input 300x600 and an input 300 x 700, it should scale down the 300x700 video and pad the result to 300x600 (keeping the original aspect ratio, adding black bars on the sides)
[03:40:05 CET] <satt> I say supposed to, because it doesn't seem to always work :D
[03:40:13 CET] <Guiri> OK
[03:40:18 CET] <satt> haha yeah its much easier to scale one thing
[03:40:28 CET] <Guiri> Now that I understand your command, I 'll try to replace mine with it and see what happens
[03:41:29 CET] <Guiri> And that's why you do it after each movie. When I had everything the same input resolution, I could do it after the [v] and map it to [v2] before calling -map [v2]
[03:41:34 CET] <satt> But $largestWidth doesn't have to be a preset -- what I do is use ffprobe and get the width/height of all my inputs, find the smallest dimensions, and scale everything down to that. using bash
[03:41:37 CET] <Guiri> But in this case, I need to correctly scale and pad before I concat them
[03:42:22 CET] <satt> yup that's why each input has a scale/pad argument
[03:42:34 CET] <satt> you should be able to scale/pad and concat all in one statement though
[03:42:41 CET] <Guiri> Interesting
[03:47:13 CET] <Guiri> satt: http://fpaste.org/300886/14501475/ closer
[03:47:50 CET] <Guiri> [{0}:v:0]scale=if(gt(ih,iw), -2, 640):if(gt(ih,iw), 480, -2),pad=640:480:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v{0}];
[03:48:02 CET] <Guiri> where {0} are interpolated depending on the index of the video in the list
[03:48:11 CET] <Guiri> thus, 0:v:0 and v0, etc.
[03:50:41 CET] <satt> yup! looks like you need to escape the commas though
[03:50:42 CET] <satt> [Parsed_scale_0 @ 0x7fce6a51bac0] Invalid size 'if(gt(ih'
[03:50:51 CET] <satt> just put a
[03:50:52 CET] <satt> \
[03:50:59 CET] <satt> in front of each comma in there
[03:51:37 CET] <satt> like this scale=if(gt(ih\,iw)\,-2\,374)
[03:53:00 CET] <Guiri> interesting.
[03:53:40 CET] <Guiri> Negative values are not acceptable.
[03:53:48 CET] <Guiri> I assume that's for the -2 that I copied from your stuff?
[03:53:56 CET] <Guiri> so the first is if(), -2, 640
[03:54:02 CET] <Guiri> and the second if(), 480, -2
[03:54:25 CET] <satt> is that in the padding? that's the same issue I have
[03:54:55 CET] <satt> I don't think its from the -2
[03:55:32 CET] <Guiri> Yeah, Failed to configure input pad on Parsed_pad_1
[03:55:54 CET] <satt> yup same as me. I'm not quite sure how to fix it
[03:56:46 CET] <satt> its happening because iw is larger than ow I believe - so (ow-iw)/2 gives a negative value
[03:56:51 CET] <Guiri> Is there a way to print out what oh-ih ends up as and such?
[03:57:05 CET] <satt> probably, but I'm not sure
[03:57:26 CET] <Guiri> Is there a way to print out what oh-ih ends up as and such?
[03:57:30 CET] <Guiri> sorry, repost
[03:58:14 CET] <satt> maybe try (iw-ow)/2 - doesn't work for me usually but maybe that'll do it for you
[03:58:26 CET] <satt> otherwise maybe someone else in here can help us out??
[03:58:29 CET] <Guiri> satt: http://superuser.com/questions/547296/resizing-videos-with-ffmpeg-avconv-to-fit-into-static-sized-player
[03:59:34 CET] <satt> hmm interesting
[04:02:35 CET] <Guiri> It works!
[04:03:19 CET] <Guiri> Dear God, that line made my code shitty.
[04:04:37 CET] <satt> that line worked for you! great!
[04:08:34 CET] <satt> Worked on my test case too!
[04:09:03 CET] <satt> Longest command ever haha but it works. Gonna test it on a full batch of vids
[04:09:13 CET] <Guiri> K
[04:09:18 CET] <Guiri> Do you also get this warning now though? Warning: data is not aligned! This can lead to a speedloss
[04:10:07 CET] <satt> not on my testcase, no
[04:10:27 CET] <satt> thats strange though
[04:11:05 CET] <satt> is the audio in sync?
[04:11:19 CET] <Guiri> I don't know why it wouldn't be
[04:12:14 CET] <satt> noticed on the superuse page you linked:
[04:12:15 CET] <satt> Note that the numbers for width and height have to be divisible by 2 in order to work for most codecs.
[04:13:04 CET] <Guiri> Hmm
[04:13:17 CET] <Guiri> I seem to remember using the trunc() function to ensure the width and height were even?
[04:14:10 CET] <Guiri> trunc(/2)*2?
[04:17:10 CET] <satt> is one of your inputs not divisible by 2?
[04:17:43 CET] <satt> they look like they are 692x568 and 708x476...should be fine
[06:02:31 CET] <prelude2004c> hey.. anyone know why this is not using the decoding engine ?
[06:02:31 CET] <prelude2004c> ${ffmpeg} -y -hwaccel vdpau -i "$stream" -c:v mpeg2video -threads 0 -pix_fmt yuv420p -c:a copy -f mpegts - | tee
[06:02:55 CET] <prelude2004c> i don't get it.. worked earlier where i saw the GPU decoder go up but now i can't get it to work.. i ahve no idea why
[06:06:59 CET] <prelude2004c> anyone ?
[06:44:50 CET] <waressearcher2> prelude2004c: hallo
[06:45:20 CET] <prelude2004c> hi
[06:45:26 CET] <prelude2004c> oh a bot :(
[07:01:10 CET] <waressearcher2> prelude2004c: wie geht's ?
[07:02:09 CET] <prelude2004c> what ?
[07:02:40 CET] <waressearcher2> naja
[07:02:44 CET] <waressearcher2> egal
[08:53:29 CET] <_vaibhavingale_> Hi, I am trying to make hls segments using ffmpeg cli. It does create the segments but its not get played by safari or vlc or itunes. can you please tell me where am I doing mistake?
[08:53:47 CET] <_vaibhavingale_> cli and its output: http://pastebin.com/BXrnxfzW
[08:53:58 CET] <_vaibhavingale_> ffmpeg -y -v verbose -i s.m4a -map 0 -codec:a libmp3lame -f ssegment -segment_time 10 -segment_list_flags +live -segment_list hls.m3u8 -segment_format mpegts segment%03d.ts
[08:55:34 CET] <waressearcher2> _vaibhavingale_: hallo
[08:57:10 CET] <_vaibhavingale_> waressearcher2: hi
[08:58:36 CET] <_vaibhavingale_> I am doing audio only encoding.
[09:02:38 CET] <Filko> hello, I want to make code for video processing what will use ffmpeg for encoding and decoding. What coding language will be good for cross-platform (Win & Linux) and not so hard to learn if I'm know coding basics
[09:03:42 CET] <waressearcher2> Filko: hallo
[09:05:25 CET] <Filko> Long ago I learn C++ but had no practice all this time. And for me it is not so easy language
[09:05:53 CET] <Filko> i'm not a developer, just know how to make "hello world" and simple apps
[09:21:07 CET] <_vaibhavingale_> I have cheked the type $file segment000.tc -> segment000.tc: data
[09:22:11 CET] <_vaibhavingale_> If I checked the output of apple's tools output of hls its, file fileSequence0.mp3 -> fileSequence0.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 32 kbps, 44.1 kHz, JntStereo
[10:37:22 CET] <bencc> I have a .wmv file that is actually asf playlist
[10:37:30 CET] <bencc> how can I tell ffmpeg that this is asf?
[11:19:52 CET] <sant527> I am not able to convert a recorded video from my setup box. The video plays well in the setupbox. Here are the more details. http://pastebin.com/z3eSH1gQ
[11:31:59 CET] <sant527> Can anyone help me with my question
[11:43:55 CET] <waressearcher2> sant527: hallo
[11:44:14 CET] <waressearcher2> bencc: wie geht's es dir ?
[11:44:31 CET] <sant527> waressearcher: hello
[11:44:39 CET] <JEEB> bencc: ffmpeg doesn't do playlists in general (HLS is a special case and the exception, not the rule)
[11:46:17 CET] <JEEB> and asf itself is for the container you call wmv, as that's what it actually means. the fact that the same name is used for their playlists extension-wise is just unfortunate :)
[11:51:59 CET] <khali> bencc: did you try -f asf before -i?
[11:52:55 CET] <khali> ah sorry just reading JEEB's comment
[11:53:04 CET] <khali> my suggestion won't help then
[12:01:02 CET] <sant527> waressearcher: hello
[12:09:33 CET] <nguydavi> Hi, when extracting subtitles, is it possible to not have the <font> tags ? http://pastebin.com/iHt3d162
[12:19:23 CET] <bencc> thanks
[13:34:28 CET] <anshul_> what is the proper way to print timestamp as overlay?
[13:39:21 CET] <anshul_> these %things dont work for mw
[13:39:23 CET] <anshul_> these %things dont work for me
[13:52:07 CET] <durandal_1707> escape them
[13:52:27 CET] <durandal_1707> Or use filter-script
[14:02:36 CET] <drwx> what's the iframe webui module for?
[14:05:35 CET] <AndrewMock> https://trac.ffmpeg.org/ticket/4284
[14:17:23 CET] <Duality> hi all
[14:17:27 CET] <Duality> ffmpeg is awesome :)
[14:18:13 CET] <DHE> yes. yes it is. :)
[14:18:35 CET] <anshul_> durandal_1707: it looks like %T , %m are removed from source code, I tried till 7 /, as soon as it stop giving error stray %, in overlay it shows like %m not its alternative variable
[14:18:41 CET] <Duality> I made ffmpeg play bad apple on a ledmatrix
[14:20:41 CET] <waressearcher2> Duality: ffmpeg oder ffplay ?
[14:22:35 CET] <Duality> waressearcher2: ffmpeg, i piped the output into a script i made that runs it on a ledmatrix
[14:22:49 CET] <waressearcher2> was ist fur ledmatrix
[14:23:15 CET] <Duality> waressearcher2: and red ledmatrix 96 x 48
[14:23:56 CET] <waressearcher2> warte mal, ist das diese dinge das über alle Las Vegas benutzen ?
[14:24:31 CET] <Duality> waressearcher2: https://youtu.be/QTXkxrPD9WQ
[14:24:35 CET] <Duality> it's not that big
[14:24:52 CET] <waressearcher2> Duality: kennst du DOOM2 um diese Dinge spielen ?
[14:25:27 CET] <Duality> maybe if i get X11grab to work
[14:26:30 CET] <waressearcher2> aber warum sprehst du english eigentlich, kannst do nicht deutche sprehen ?
[14:26:37 CET] <Duality> but you can really play anything on it, you just have to write software that sends its frames to the board
[14:27:15 CET] <Duality> no I can't speak it, but I can understand it a little :D (I am near the German border so .. yea )
[14:28:17 CET] <Duality> I am from the Nethelands :)
[15:04:28 CET] <Duality> jeej i can caputure x11 with ffmpeg and display on the ledboard :)
[15:41:18 CET] <prelude2004c> good morning everyone
[15:41:56 CET] <waressearcher2> prelude2004c: hallo, wie geht's ?
[15:42:14 CET] <waressearcher2> prelude2004c: es ist 0:41am hier
[15:42:20 CET] <waressearcher2> kein morgen
[15:43:05 CET] <waressearcher2> prelude2004c: bist du ein Amerikaner ?
[15:51:13 CET] <Lirk> hi all
[15:51:25 CET] <waressearcher2> Lirk: hallo
[15:51:28 CET] <Lirk> I use ffmpeg for restreaming http stream to rtmp
[15:52:09 CET] <Lirk> but if no connection on http, ffmpeg send error and stops streaming to rtmp
[15:52:28 CET] <Lirk> how i can to set infinity reconnection to http stream?
[15:53:27 CET] <waressearcher2> Lirk: woher kommst du ?
[15:53:48 CET] <furq> Lirk: which rtmp server
[15:53:58 CET] <Lirk> flms
[15:54:02 CET] <Lirk> adobe flms
[15:54:16 CET] <furq> nvm then
[15:54:18 CET] <Lirk> but problem not in rtmp server
[15:54:28 CET] <furq> well no but you can do that with nginx-rtmp exec_pull
[15:54:31 CET] <Lirk> problem in bad http connection
[15:55:02 CET] <furq> but if you're using fms then i have no good suggestion
[15:55:54 CET] <Lirk> main question is: how i can to set infinity reconnection to http stream
[15:56:02 CET] <Lirk> i have INPUT error
[15:57:36 CET] <Lirk> I used -reconnect_streamed described in official doc, but in works only 5 times
[16:19:32 CET] <t4nk072> hi everyone! I would like to know if it is possible to extract the quantized transformed coefficients of a HEVC stream. Help?
[16:19:40 CET] <waressearcher2> t4nk072: hallo
[16:23:43 CET] <max246> hello
[16:24:01 CET] <waressearcher2> max246: hallo Kumpel, wie geht's wie steht's ?
[16:24:15 CET] <max246> I am trying to get my ffmpeg working with a blackmagic capture card
[16:24:46 CET] <max246> I need to achieve some settings to manage to get the live feed working, but it seems very tricky
[16:25:02 CET] <max246> I would like to get some help, to figure out what format is 10bit 4:4:4RGB
[16:26:08 CET] <max246> ffplay -video_size hd1080 -pixel_format uyvy422 -framerate 59.94 -f dshow -i video="Decklink Video Capture" -format x264 show me a black windows
[16:26:25 CET] <max246> but I know that is wrong because I am using uyvy422 instead of the RGB 10bit 4:4:4
[16:26:44 CET] <max246> is someone able to tell me which pixel format is this RGB ?
[16:39:38 CET] <paule32_> hello
[16:40:05 CET] <waressearcher2> paule32_: hallo
[16:40:22 CET] <paule32_> is it possible to add user/pass for several streams?
[16:40:39 CET] <furq> i take it this question is for me
[16:40:43 CET] <paule32_> or must i have different locations with different .httaccess
[16:41:15 CET] <furq> https://github.com/arut/nginx-rtmp-module/wiki/Directives#on_publish
[16:41:52 CET] <furq> i use that with nginx-lua for auth
[16:42:12 CET] <Mavrik> max246, I'm not sure RGB 10-bit is even supported as a pix format atm
[16:42:40 CET] <paule32> furq: i have no plan how to setup it
[16:44:07 CET] <paule32> have i add auth to squid and forward port 3128 to 80 via iptables ?
[16:45:31 CET] <furq> paule32: https://groups.google.com/d/msg/nginx-rtmp/Tv8hQ14tsgE/5REh-oSvMrAJ
[16:45:33 CET] <furq> something like that
[16:46:12 CET] <furq> and stream to rtmp://abc.de/live/mystream?mypassword
[16:53:30 CET] <nguydavi> Hi, when extracting subtitles, is it possible to not have the <font> tags ? http://pastebin.com/iHt3d162
[17:05:40 CET] <prelude2004c> sup guys.. good day
[17:07:07 CET] <prelude2004c> so i got vdpau working with ffmpeg and nvidia... things are well from any source that is mpeg2 and i show the decoder is working and the encoder is working as i transcode it to nvenc h264 .. the problem lies in a source that is h264. The card ( M4000 ) shows it supports h264 decoding but yet the coder does not budge and my cpu's are being used.. Any suggestions. My Code looks like this : ${ffmpeg} -hwaccel vdpau
[17:07:07 CET] <prelude2004c> -i "$stream" -c:v mpeg2video -pix_fmt yuv420p -map 0:p:$6 -threads 0 -slices 4 -c:a ac3 -b:a 128k -f mpegts - | tee ...
[17:22:28 CET] <prelude2004c> anyone ?
[17:32:06 CET] <shincodex> relro option what is the point
[17:32:14 CET] <shincodex> It adds protection on the elf itself?
[17:32:20 CET] <shincodex> does it come with a cost of runtime speed?
[18:08:48 CET] <awidgery> Can anyone help me with ffserver? I have set it up and it works when I pipe in an existing MP3 file, but doesn't work when I pipe in a live feed from a USB microphone. But when I kill the ffmpeg command I hear a half second (or so) of audio from the USB mic that *is* piped through... confused!
[18:10:19 CET] <shincodex> deadlock?!
[18:58:01 CET] <paule32> furq: ?
[18:58:23 CET] <paule32> i have change the config, and restart nginx server
[18:58:42 CET] <paule32> now, i don't get stream to work
[18:59:08 CET] <paule32> i have try my server with/without port
[18:59:16 CET] <paule32> with/without password
[18:59:29 CET] <furq> pastebin the config
[18:59:30 CET] <paule32> but no connection
[18:59:43 CET] <Guiri> Hi gang. i was trying to think of a way to load test an RTMP stream for N-connections. I thought about spinning up ffplay but other than looking for it breaking up, are there any statistics about missed frames I can collect?
[19:03:22 CET] <DHE> shouldn't ffplay log errors to stderr by default if the decoder has an issue?
[19:04:54 CET] <paule32> furq: http://fpaste.org/301236/02670145/
[19:06:24 CET] <furq> are you streaming to rtmp://abc.de/live/mystream?psk=secret
[19:07:59 CET] <paule32> ah, no
[19:09:11 CET] <paule32> ok, furq, it works, thank you
[19:10:10 CET] <paule32> who is working under linux, and want to code a settings editor/project for ffmpeg/nginx?
[19:10:20 CET] <paule32> with me
[19:10:54 CET] <paule32> as framewotk Qt5
[19:11:02 CET] <paule32> with
[19:11:08 CET] <paule32> framework
[19:42:50 CET] <jacob___> Hi is ffmpeg written in C++ or C?
[19:43:10 CET] <shincodex> c
[19:43:28 CET] <furq> jacob___: https://ffmpeg.org/developer.html#C-language-features
[19:43:30 CET] <shincodex> but you can easily tell that shit to suck it
[19:43:37 CET] <shincodex> and just link in libstdC++
[19:45:39 CET] <shincodex> oh but if you were looking in terms of using it in C# then you would have easy time interopping it if you are the type to assume others arn't so good at that.
[20:05:40 CET] <pkeuter> is there a way to do a generate a h264 dash manifest file in ffmpeg? and if so, is it also possible to keep a single mp4 file?
[20:06:33 CET] <rjp421> can i change the listening port of the listening http server for the cmd 'ffmpeg -loglevel info -r 10 -vcodec -s 320×240 -f video4linux2 -i /dev/video0 http://localhost/webcam.mjpeg' ? i want it to listen on 0.0.0.0:1234, changing from 'localhost' doesnt work
[20:20:03 CET] <Mcl0vin> hi folkd
[20:20:07 CET] <Mcl0vin> folks
[20:21:45 CET] <Mcl0vin> can someone please help me join two flv files together, one is a video and the other is audio.
[20:25:30 CET] <rjp421> Mcl0vin, somewhere in https://sonnati.wordpress.com/2011/08/19/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iii/ i think they show how to do that
[20:27:46 CET] <Mcl0vin> rjp421: see now , I extract the vid to .avi then convert it to .h246 , then convert the audio to .mp3 then join everything to .mp4
[20:28:02 CET] <Mcl0vin> it take a while and becoming boaring :)
[20:29:02 CET] <furq> ffmpeg -i video.flv -i audio.flv -c copy dest.mp4
[20:39:44 CET] <triune> Can anyone help me out on combining two filters... I'd like to take the showwaves output of the 2nd command and diffference overlay it over-top the 1st command which has a mandelbrot output :
[20:39:46 CET] <triune> http://pastebin.com/raw.php?i=yEv3DXT1
[20:43:35 CET] <triune> can filters even be combined like this? might have to be 2-pass or even 3, but I'm not sure how to combine them with a difference effect
[20:56:03 CET] <DHE> yes, but you need to fix the syntax.
[20:58:53 CET] <DHE> ugh, sorry I don't have time right now...
[21:00:23 CET] <DHE> you can chain filters semi-arbitrarily using the 'graph' notation where you use semicolons and labels to mark the connected endpoints
[21:04:36 CET] <Filarius> hello, what I can use to easily make video processing code with using ffmpeg for only video encode and decoder? Like I want to develop application what will only work with only RGB frames without need to learn how another things work.
[21:04:57 CET] <Filarius> I'm not so good in C++
[21:05:33 CET] <Mavrik> Yeah, not sure if that's really possible or a good idea.
[21:07:17 CET] <Filarius> last idea I had - use pipes, but it is also will take some time to learn for me
[21:18:36 CET] <jacob___> I am totally into pixel gaming?))
[21:32:28 CET] <triune> DHE: (or anyone else) does that hold true for chaining filters for overlays that apply in an additive/subtractive/multiplicative manner? I've seen how to group multiple filters to different graph regions just nothing similar to what you're referring
[21:51:25 CET] <Mcl0vin> furq: are you still around ?
[21:52:46 CET] <Mcl0vin> i am getting this error : http://pastebin.com/T4PMZTys
[21:54:34 CET] <furq> neither of those codecs are supported in mp4
[21:55:01 CET] <furq> use flv or mkv
[21:55:37 CET] <Mcl0vin> furq: you are refering to the output format right?
[21:55:47 CET] <furq> yes
[21:55:51 CET] <Mcl0vin> gotcha
[21:56:36 CET] <Mcl0vin> furq: that worked !
[21:56:38 CET] <Mcl0vin> thank you
[21:56:50 CET] <TD-Linux> nellymoser and vp6, wow
[21:56:55 CET] <InTheWings> Is that normal that avformat returns AV_NOPTS_VALUE for both pkt pts and dts with raw hevc ?
[21:58:59 CET] <JEEB> sounds like business as usual in raw video land
[21:59:02 CET] <Mavrik> yp
[21:59:15 CET] <Mavrik> no container means no timestamps on the format
[21:59:16 CET] <JEEB> you can go check what L-SMASH Works does with raw streams
[21:59:23 CET] <JEEB> with lavc
[22:00:12 CET] <JEEB> I think it's around https://github.com/VFR-maniac/L-SMASH-Works/blob/master/common/lwlibav_video.c
[22:00:46 CET] <JEEB> not sure if you get the "frame rate" exported with raw hevc
[22:01:08 CET] <InTheWings> everything is set: frame rate and pkt has also correct duration
[22:01:18 CET] <InTheWings> do, at least dts could be inferred
[22:01:31 CET] <JEEB> ok
[22:07:06 CET] <jafa> feeding data through avcodec then feeding the result through a filter graph... on seek I flush avcodec... trying to figure out how to flush the filter graph (it contains video WIP due to deinterlacing)
[22:07:46 CET] <jafa> if I pass the filter graph a NULL buffer (EOF) I can then drain the output ok, but then the graph won't accept any further data.
[22:08:19 CET] <BtbN> re-create it
[22:08:43 CET] <jafa> recreate the filter graph every seek?
[22:08:49 CET] <Mavrik> jafa, did you try with the push flag?
[22:09:08 CET] <Mavrik> there's a flag that always pushes the frames through the graph
[22:09:15 CET] <Mavrik> but recreating it isn't really expensive
[22:09:19 CET] <Mavrik> so you can do that too
[22:09:24 CET] <jafa> tried with NULL (EOF) and push flag
[22:09:56 CET] <jafa> don't have any data to push unless I make up some dummy data
[22:13:25 CET] <jafa> would that just be a matter of calling avfilter_graph_config() again or would the inputs and outputs need to be recreated?
[22:21:07 CET] <jafa> just calling avfilter_graph_config again doesn't work
[22:23:10 CET] <paule32> so, i have start a project for this channel: fftool - downloadable ar http://kallup.net/data/
[22:23:58 CET] <paule32> no functions implemented; only a first thing of twistet minds
[22:24:16 CET] <paule32> any feedback here in this channel
[22:55:49 CET] <shincodex> has anyone done dlopen("libavcodec", RTLD_NOW); and it worked
[22:59:32 CET] <Li> I was able to reduce file size using this command "ffmpeg -i 1.mp4 -vf scale=iw/2:-1 -strict -2 1.mp4" but the text rendered unreadable! is there any better ways to do it?
[23:00:38 CET] <pzich> Are you using x264?
[23:02:01 CET] <pzich> if so, try adjusting the CRF, -crf 1 is lossless (but huge), -crf 51 is super small (but terrible quality): https://trac.ffmpeg.org/wiki/Encode/H.264#crf
[23:02:53 CET] <JEEB> crf 1 has never been lossless
[23:02:58 CET] <JEEB> crf zero is lossless
[23:03:02 CET] <JEEB> (for 8bit)
[23:03:18 CET] <JEEB> -q:v 0 with libx264 is always lossless (8-10bit)
[23:04:44 CET] <pzich> oops, yes I meant 0
[23:18:41 CET] <xintox_> anyone get ESPN streaming to work with ffmpeg?
[23:52:32 CET] <Li> guys I don't even know what you're talking about .. it's just a command syntax I copied paste from online page .. if you want to help please give me the complete modified command line
[00:00:00 CET] --- Wed Dec 16 2015
More information about the Ffmpeg-devel-irc
mailing list