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

burek burek021 at gmail.com
Mon Dec 7 02:05:01 CET 2015


[00:00:45 CET] <satt> or at least thats what I think I read/was told
[00:01:09 CET] <satt> I think the issue I'm running into is I'm trying to scale down as well as pad, in the same command...
[00:02:27 CET] <autofsckk> satt -> well man, im reading the docs about pad and it is as i told you pad=640:480:0:40:violet  Add paddings with the color "violet" to the input video. The output video size is 640x480, and the top-left corner of the input video is placed at column 0, row 40
[00:02:41 CET] <autofsckk> that is w:h:x:y structure isnt it?
[00:04:03 CET] <autofsckk> if you put 0:0:320:568 as input area, you have a 0x0
[00:04:34 CET] <autofsckk> i have croped and scale after with no problem
[00:07:19 CET] <satt> totally is yeah.  what I'm saying is that since x/y default to 0 you don't need to include them.  my command works for most videos, except for when the input file is larger than the desired output like the error message says
[00:07:39 CET] <satt> Input area 0:0:320:568 not within the padded area 0:0:320:480 or zero-sized
[00:08:32 CET] <satt> 0:0:320:568 would be padding to 0x0, positioning the video at 320x568 - at least from what I understand
[00:09:46 CET] <satt> I appreciate the help man! but gotta run for a bit, back later
[00:10:57 CET] <autofsckk> what help :/ jajaja
[00:11:00 CET] <autofsckk> have a great day
[01:11:14 CET] <satt> back.  hahah I appreciate you trying to help at least
[01:28:02 CET] <satt> Anyone know how I can solve this issue? I think it's caused from an input being larger than the area I'm padding to.  I'm also scaling.  Here's the error
[01:28:10 CET] <satt> Input area 0:0:320:568 not within the padded area 0:0:320:480 or zero-sized
[01:28:21 CET] <satt> command: ffmpeg -i INPUTS -filter_complex [0:v]scale=320:-2,pad=320:480,setsar=sar=1/1[v0]; [1:v]scale=320:-2,pad=320:480,setsar=sar=1/1[v1]; [2:v]scale=320:-2,pad=320:480,setsar=sar=1/1[v2]; [3:v]scale=320:-2,pad=320:480,setsar=sar=1/1[v3]; [4:v]scale=320:-2,pad=320:480,setsar=sar=1/1[v4]; [v0] [0:a:0] [v1] [1:a:0] [v2] [2:a:0] [v3] [3:a:0] [v4] [4:a:0] concat=n=5:v=1:a=1 [v] [a] -map [v] -map [a] out.mp4
[01:34:04 CET] <c_14> scale=if(gt(ih, iw), -2, 320):if(gt(ih, iw), 480, -2)
[01:34:11 CET] <c_14> instead of your current scale filters
[01:34:13 CET] <c_14> (probably)
[01:34:18 CET] <c_14> Note, you may need to escape things
[01:45:03 CET] <satt> ah thanks c_14, I'll give that a shot.  Should I be keeping the pad arguments?
[01:45:11 CET] <c_14> yes
[01:45:36 CET] <satt> ok sweet
[01:58:11 CET] <satt> c_14: Looks like I need to escape or something, here's what I'm getting
[01:58:19 CET] <satt> Invalid size 'if(gt(ih'
[01:58:33 CET] <c_14> escape the comma
[01:58:54 CET] <satt> with a \ ?
[01:59:38 CET] <c_14> yes
[02:01:29 CET] <satt> cool thanks. it's running now
[02:05:49 CET] <satt> c_14 thanks so much! seems to have solved it!!
[04:20:46 CET] <luke11> hello, need help in compiling ffmpeg on debian 8
[04:21:13 CET] <luke11> im using this guide https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu but towards the end i am getting this error "ERROR: x265 not found using pkg-config"
[04:21:17 CET] <luke11> any suggestions?
[04:21:59 CET] <relaxed> luke11: https://bitbucket.org/multicoreware/x265/issues/212/new-libx265-not-found-in-ffmpeg-configure
[04:22:46 CET] <luke11> thanks will give it a shot
[04:33:34 CET] <luke11> relaxed, didn't work for me unfortunately
[04:34:54 CET] <luke11> not sure where exactly i need to add <include stdbool.h> in the x265.h file
[04:36:35 CET] <relaxed> change  it to -->  #include <stdbool.h>
[04:36:43 CET] <luke11> will try, ty
[04:43:44 CET] <Admin_234234> hey everyone.. i am using ffmpeg hls segmenting with AES encryption... i have the whole ffmpeg stream with while 1 do ffmpeg ..... etc etc.. so basically if the stream fails it will reinitialize... the problem is sometimes i can't decrypt the channels and i have to restart them again for the decryption to happen again.. anyone know why its doing that.. if ffmpeg is restarted in the same session with the same script and stuff should it not
[04:43:44 CET] <Admin_234234> maintain the same keyinfo file ?
[04:49:05 CET] <waressearcher2> Admin_234234: hallo
[04:49:14 CET] <Admin_234234> hi
[04:49:21 CET] <waressearcher2> Admin_234234: wie geht's es dir ?
[04:49:31 CET] <Admin_234234> ?
[05:55:14 CET] <aphorise> Does ffmpeg support 3gp & 3gp2? - I'm trying to find a complete listing of supported containers.
[06:01:22 CET] <c_14> aphorise: it should. check ffmpeg -formats
[06:09:31 CET] <aphorise> c_14  thanks - do you think all video formats report a duration or is that attainable with: ffprobe -i sample.webm -select_streams v -show_streams 2>&1 | grep Duration  # ?
[16:21:39 CET] <aphorise> `ffmpeg -formats` which video formats would potentially not provide its Durations? - I just trying to finalise a wrapper script using ffprobe && ffmpeg to confirm validity of files using -1 seconds less than the claimed length - just wondering which sorts of general `*.extension` I can enable as guide to supported container formats like `*.avi` which are supported for Demuxing
[16:40:02 CET] <Fjorgynn> hey
[19:23:19 CET] <aphorise> omg there are so many potential file extension that ffmpeg could parse ... I was going through a few of my old files & old line listings
[19:35:05 CET] <aphorise> Actually the vlc listing for videos seems to be the most sane + a few more that I have on my list
[19:38:15 CET] <prelude2004c> hey everyone.. check this out " http://pastebin.com/f1qHT061 " .. so i have the ffmpeg portion in a loop.. i am using the encryption and files exist.. why is it sometimes when ffmpeg restarts using the while 1 loop the encryption stops working? i hvae to then force  a restart again to get the image back. It's as if when it restarts the ffmpeg using the while 1 loop, it breaks and the system doesnt know to encrypt using the key .. weird..
[19:38:15 CET] <prelude2004c> doesn't exist complaining tha thte keyinfo file and key file doesnt' exist.. very odd.. any suggestions ?
[19:40:00 CET] <prelude2004c> hey everyone.. check this out " http://pastebin.com/f1qHT061 " .. so i have the ffmpeg portion in a loop.. i am using the encryption and files exist.. why is it sometimes when ffmpeg restarts using the while 1 loop the encryption stops working? i hvae to then force  a restart again to get the image back. It's as if when it restarts the ffmpeg using the while 1 loop, it breaks and the system doesnt know to encrypt using the key ..
[19:40:01 CET] <prelude2004c> weird..doesn't exist complaining tha thte keyinfo file and key file doesnt' exist.. very odd.. any suggestions ?
[20:00:36 CET] <Prelude_Zzzzz> anyone
[20:00:37 CET] <Prelude_Zzzzz> ?
[20:05:04 CET] <dod> Hi, how to know the version of a specific encoder within ffmpeg?  (I want to check wich version of VP9 is used)
[20:22:55 CET] <Prelude_Zzzzz> hey anyone know if -af volume requires something compiled into ffmpeg ? i seem to be using the param, its not complaining about anything but .. the volume does not change
[20:49:28 CET] <Guiri> I'm getting a new error trying to use the -filter_complex to concatenate movies into a single RTMP stream: vf/-af/-filter and -filter_complex cannot be used together for the same stream.
[20:49:35 CET] <Guiri> I used -vf to resize the movies to 480p for the stream.
[20:58:55 CET] <Mavrik> Aaand?
[21:20:18 CET] <autofsckk> hi, what does "-b:v" means-do? where can i find the explanation of that on the help documents?
[21:21:53 CET] <Mavrik> autofsckk, it sets bitrate (-b) for video (:v)
[21:22:24 CET] <autofsckk> thanks Mavrik
[21:24:09 CET] <autofsckk> Mavrik -> do you know a good source of information on how to use maybe a script to put in all the things to be done to a conversion? im doing more filters and stuff to videos, but i find a little complicated to do it all in console, i read that it is possible to use an external file but cant find about it yet on the help how to do it
[21:24:32 CET] <Mavrik> Hrmf, no idea out of my head, perhaps try ffmpeg wiki?
[21:27:00 CET] <autofsckk> im amazed with ffmpeg, so powerful tool
[22:04:20 CET] <durandal_1707> autofsckk: -filter_script script
[22:07:47 CET] <autofsckk> ok durandal_1707 thanks
[22:29:21 CET] <Prelude_Zzzzz> <autofsckk>, video bit rate is what it means
[22:50:04 CET] <Phrk_> Hello
[22:51:02 CET] <Phrk_> Do you know how to allow external connection with ffserver ?
[22:51:02 CET] <Phrk_> I don't understand the doc
[22:54:08 CET] <Phrk_> Sorry lagg problem
[23:01:16 CET] <klaxa> Phrk_: i think there is a configuration for access restriciton
[23:01:21 CET] <klaxa> in the configuration file i mean
[23:02:43 CET] <klaxa> what are you doing, what is happening and what are you expecting to happen instead?
[23:08:32 CET] <Phrk_> ffserver say : HTTP/1.1" 301 208
[23:08:37 CET] <Phrk_> for my external ip
[23:08:44 CET] <Phrk_> but work for localhost
[23:09:17 CET] <Phrk_> the <feed part is only for ffmpeg ?
[23:09:29 CET] <Phrk_> and the <Stream part i try ACL allow everything
[23:15:53 CET] <Phrk_> i don't understand how to allow everything
[23:15:58 CET] <Phrk_> * don't work
[23:16:05 CET] <Phrk_> klaxa
[23:16:23 CET] <klaxa> can you pastebin your ffserver.conf?
[23:17:50 CET] <Phrk_> of course
[23:18:42 CET] <Phrk_> klaxa : http://hastebin.com/ifedimuroj.coffee
[23:20:49 CET] <Phrk_> Application error ? Sorry for that : http://pastebin.com/Gui33CmC
[23:20:50 CET] <klaxa> uh... hmm...
[23:21:06 CET] <klaxa> ah they fixed it
[23:21:11 CET] <klaxa> no i'm just pondering what could be the issue
[23:21:28 CET] <klaxa> how do you try to send the stream to the server?
[23:21:49 CET] <klaxa> just ffmpeg -i somefile.mkv http://someserver/feed1.ffm ?
[23:22:50 CET] <klaxa> 301 is redirection, maybe you are using the wrong url and it is trying to redirect you to ffmpeg.org?
[23:23:35 CET] <klaxa> ah, are you trying to watch a stream or send a feed?
[23:23:48 CET] <klaxa> Phrk_: ^
[23:24:47 CET] <Phrk_> when i send to stream to localhost
[23:24:53 CET] <Phrk_> everything is working
[23:25:12 CET] <Phrk_> but when i try to read it with like vlc, mpv, or ffplay
[23:25:22 CET] <Phrk_> i can only read it from localhost, klaxa
[23:25:41 CET] <klaxa> how do you try to read it?
[23:26:01 CET] <Phrk_> from lan : mpv http://127.0.0.1:8090/live.flv
[23:26:05 CET] <klaxa> you should be able to watch http://someserver/live.flv
[23:26:06 CET] <klaxa> yeah
[23:26:07 CET] <klaxa> hmm...
[23:26:22 CET] <Phrk_> when i try from internet ffserver say something
[23:26:24 CET] <klaxa> not sure how the ACL parts are parsed
[23:26:32 CET] <Phrk_> HTTP/1.1" 301 208
[23:27:00 CET] <klaxa> maybe they overwrite? (doubt it though) but maybe removing the superfluous ones (localhost and 192.168.178.25) could help?
[23:27:17 CET] <klaxa> hmm.. but that really shouldn't be
[23:28:00 CET] <klaxa> i'll try to use your config and see if i can reproduce
[23:28:02 CET] <Phrk_> ACL deny 1.0.0.0 1.255.255.255 would deny the whole of network 1 and allow everybody else.
[23:28:12 CET] <Phrk_> how i allow everybody
[23:29:45 CET] <klaxa> hmm...
[23:30:07 CET] <klaxa> address is not further specified, so i can't tell whether or not it accepts wildcards
[23:30:23 CET] <klaxa> but ACL allow 0.0.0.0 255.255.255.255 should cover all addresses right?
[23:33:25 CET] <Phrk_> :( [GET] "/ HTTP/1.1" 301 208
[23:33:55 CET] <klaxa> :(
[23:34:50 CET] <Phrk_> what bind ?
[23:34:58 CET] <Phrk_> cause i have a lot of ethernet card
[23:35:21 CET] <klaxa> if you get a connection it's not a networking error
[23:35:28 CET] <klaxa> or at least it should not be :S
[23:35:49 CET] <Phrk_> ye of course
[23:36:18 CET] <Phrk_> Well time for bed, try this tommorow will be better
[23:36:22 CET] <klaxa> gotta go, maybe i'll tinker with this later tonight
[23:36:25 CET] <Phrk_> Thanks
[23:36:29 CET] <klaxa> kk
[00:00:00 CET] --- Mon Dec  7 2015


More information about the Ffmpeg-devel-irc mailing list