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

burek burek021 at gmail.com
Sat Apr 25 02:05:01 CEST 2015


[01:23:46 CEST] <Halit> hey guys i have a problem, may i ask questions ?
[01:26:30 CEST] <Halit> im trying to applying those filters same time http://pastebin.com/wPwV7xFU
[01:26:51 CEST] <Halit> i coldnt find a solution for it
[01:27:16 CEST] <klaxa> just add the string from -vf to the -filter_complex
[01:27:47 CEST] <klaxa> your string for -filter_complex should look like this: "setpts=PTS/1.07;atempo=1.07;scale=1.2*iw:-1, crop=iw/1.2:ih/1.2"
[01:27:57 CEST] <klaxa> it should work correctly, but i haven't tested it
[01:30:45 CEST] <Halit> it says no such filter '-vf'
[01:31:07 CEST] <Halit> the code was ffmpeg -i input2.mp4 -filter_complex -vf "setpts=PTS/1.07;atempo=1.07;scale=1.2*iw:-1, crop=iw/1.2:ih/1.2" output2.mp4
[01:31:21 CEST] <klaxa> remove the -vf
[01:31:33 CEST] <Halit> by the way thanks for answer
[01:32:59 CEST] <Halit> it says "cannot find a matching stream for unlabeled input pad 0 on filter Parsed_scale_2
[01:33:37 CEST] <klaxa> hmm let me do some testing
[01:34:19 CEST] <Halit> i find a similar job for this http://pastebin.com/9AQwaRSG
[01:34:41 CEST] <Halit> but i couldnt edit it for myself
[01:35:33 CEST] <klaxa> can you try this: "setpts=PTS/1.07;atempo=1.07;[0]scale=1.2*iw:-1[1];[1]crop=iw/1.2:ih/1.2" ?
[01:35:52 CEST] <Halit> im trying
[01:40:02 CEST] <Halit> code worked but have couple proglems
[01:40:19 CEST] <Halit> setps and atempo has worked
[01:40:27 CEST] <Halit> scaling and coping not
[01:41:16 CEST] <Halit> and the video time was same i was slowing down video , it slowed the video but rest of video was blank
[01:42:46 CEST] <klaxa> what are you trying to achieve with the crop?
[01:44:02 CEST] <Halit> I am trying to speed up and zoom the video
[01:45:33 CEST] <Halit> i just want the video with %108 speed and %20 zoomed
[01:45:48 CEST] <c_14> First, I'd try and explicitly name all input filterpads. Second, don't use numbers as names for the filterpads, in the best case it's confusing, in the worst it might break things. Third, name and explicitly map all output pads.
[01:46:18 CEST] <klaxa> yeah it's been a while since i used -filter_complex
[01:49:01 CEST] <c_14> -vf setpts=PTS/1.07,scale=1.2*iw:-2,crop=iw/1.2:-2 -af atempo=1.07
[01:49:16 CEST] <c_14> In this case you shouldn't even need a complex
[01:50:56 CEST] <Halit> I have tried a lot of codes, but all of them didnt work. and your code says http://prntscr.com/6xfk32
[01:52:30 CEST] <c_14> oooh, does crop not support -2
[01:52:32 CEST] <c_14> hmm
[01:54:48 CEST] <c_14> yeah, just change that last -2 to iw/1.2; it might also be better to change the other -2 to a -1 (in the scale)
[01:56:01 CEST] <Halit> http://prntscr.com/6xfltz
[01:56:27 CEST] <c_14> get rid of the ;
[01:58:26 CEST] <Halit> the code was worked, but output file not cropped vertically
[01:58:53 CEST] <c_14> you still need the :ih/2 at the end of the vf
[01:59:06 CEST] <c_14> -vf setpts=PTS/1.07,scale=1.2*iw:-1,crop=iw/1.2:ih/2 -af atempo=1.07
[02:00:38 CEST] <Halit> now the video was not closed horizontal :):)
[02:00:45 CEST] <Halit> cropped
[02:01:29 CEST] <c_14> What's your command?
[02:01:52 CEST] <Halit> i think its not ih/2 it should be ih/1.2
[02:02:01 CEST] <Halit> yeah
[02:02:03 CEST] <Halit> it worked
[02:02:12 CEST] <c_14> eh, right
[02:02:32 CEST] <Halit> thank you man i'm really appreciate it
[02:02:54 CEST] <Halit> I was trying to do this 3 hours
[02:03:20 CEST] <Halit> sorry for bad englsh
[02:03:27 CEST] <c_14> No problem
[02:05:21 CEST] <Halit> permitting more can I ask a question?
[02:05:30 CEST] <c_14> sure
[02:05:48 CEST] <Halit> lets say i want to add another command
[02:05:56 CEST] <Halit> like watermark video
[02:06:08 CEST] <Halit> the code is ffmpeg -i input.mp4 -i a.png -filter_complex "overlay=(W-w)/1:(H-h)/1" output.mp4
[02:06:25 CEST] <Halit> how can i add this to our last commands
[02:06:57 CEST] <Halit> first we will need to get rid of filter complex :)
[02:08:11 CEST] <c_14> Change the filters to -filter_complex '[0:v]setpts=PTS/1.07,scale=1.2*iw:-1,crop=iw/1.2:ih/1.2[tmp];[tmp][1:v]overlay=(W-w)/1:(H-h)/1[v];[0:a]atempo=1.07[a]' -map '[v]' -map '[a]'
[02:10:41 CEST] <Halit> it says http://prntscr.com/6xfqch
[02:11:11 CEST] <c_14> eh, right. Windows. replace all ' with "
[02:11:26 CEST] <c_14> Windows doesn't like single quotes. For whatever reason.
[02:14:23 CEST] <Halit> Thanks man it worked
[02:14:49 CEST] <Halit> if I did this on ubuntu , I would use ' for " ?
[02:15:02 CEST] <c_14> In thase case it shouldn't matter.
[02:15:04 CEST] <c_14> Call it force of habit.
[02:15:10 CEST] <c_14> *this
[02:15:35 CEST] <Halit> okay thank you again
[02:15:52 CEST] <Halit> You saved me from a big trouble
[02:59:02 CEST] <trodis> hi there is there a tutorial which explains how to configure ffserver to stream opus codec
[03:10:07 CEST] <anon131> zeranoe.com is down?
[03:12:59 CEST] <jaggz> I need some help with a screen recorder that's making the audio out of sync with the video.  It (activepresenter) records the video and audio separately, and the audio is 4 seconds out of sync with the video by the end...
[03:13:01 CEST] <jaggz> http://www.pasteall.org/58029
[03:13:42 CEST] <jaggz> activepresenter's docs say this happens when the audio sampling rate, in windows, is off from its value, although I have those now both at 44100
[03:15:06 CEST] <jaggz> although I just noticed the Stereo Mix is set to 2 channels, while the video capture software is set to Mono.  I'm not sure if that could cause the issue or not
[03:16:33 CEST] <jaggz> I'm joining them with this: ffmpeg.exe -y -i "$1" -i "$2" -af "compand=0:1:-90/-900 -70/-70 -21/-21 0/-15:0.01:12:0:0" -c:v libxvid -b:v 100k "$3"
[03:17:43 CEST] <jaggz> Video input is Duration: 01:54:52.94, and audio is 01:54:48.86
[03:20:11 CEST] <jaggz> so I have two issues: 1. the original cause (probably not on topic for this channel, but if anyone has any insight...), and 2. How to correct past recordings to get them back in sync
[04:00:56 CEST] <jaggzt> nobody around eh?
[05:16:32 CEST] <anon-136136> I'm trying to scale an input clip before converting it to gif with a supplied palette. I don't know how to use both filters at once. http://pastebin.com/Ys4Yy6WW
[11:17:47 CEST] <luc4> Hello! Is it possible with ffmpeg or ffprobe to extract information from a media in a structured format, like XML?
[11:18:48 CEST] <luc4> I found -print_format but it does that only partially.
[11:25:41 CEST] <BtbN> Partialy? Looks like xml to me.
[11:33:21 CEST] <luc4> BtbN: yes, valid, but partially structured... https://paste.kde.org/pirthvsbw
[11:33:42 CEST] <luc4> BtbN: do you see the same?
[11:33:59 CEST] <BtbN> I see you didn't check what's on stdout and what's on stderr.
[11:37:05 CEST] <luc4> BtbN: sorry, you mean I should only take stdout into consideration? https://paste.kde.org/p9n6wrsap
[11:37:45 CEST] <luc4> BtbN: oops, sorry, bad paste: https://paste.kde.org/pboq8za8k
[11:37:56 CEST] <BtbN> looks fine to me?
[11:37:59 CEST] <luc4> BtbN: but this is not the same info...
[11:38:12 CEST] <BtbN> read the manpage on how to get which info then.
[11:38:16 CEST] <luc4> BtbN: I mean... there is less data in here.
[11:38:24 CEST] <BtbN> there is a huge bunch of -show_whatever options.
[11:38:33 CEST] <luc4> BtbN: ah I see
[11:38:37 CEST] <luc4> BtbN: thanks!
[11:58:33 CEST] <Fyr> guys, can anyone provide me with QuickTime libraries from iTunes (needed it for QAAC).
[12:05:23 CEST] <Fyr> (No longer applicable)
[12:52:25 CEST] <luc4> Hello! In this output https://paste.kde.org/pboq8za8k, I suppose format refers to the container, does it? But what does it mean format_name="mov,mp4,m4a,3gp,3g2,mj2"?
[13:01:28 CEST] <Mavrik> luc4, yeah, in ffmpeg terms "formats" are (mostly) containers
[13:01:42 CEST] <Mavrik> you're getting the list of those because those are essentially the same and are handled by the same muxer
[13:01:59 CEST] <Mavrik> and ffprobe will just dump the "description" field of a muxer there :)
[13:02:30 CEST] <luc4> Mavrik: oh, I see. Isn't there an ID that I can clearly map to a specific container?
[13:02:52 CEST] <Mavrik> uh
[13:03:05 CEST] <Mavrik> they all have the same ID :)
[13:03:15 CEST] <Mavrik> because they're the same, that's what I'm telling you
[13:03:39 CEST] <Mavrik> and I don't think it will tell you internal metadata field that differs them
[13:03:43 CEST] <luc4> Mavrik: yes, I know... I thought those where similar, not exactly the same...
[13:03:59 CEST] <Mavrik> yeah
[13:04:07 CEST] <Mavrik> luc4, I think you'll just have to fall back to the extension in that case :/
[13:04:16 CEST] <luc4> Mavrik: but I also see format_long_name="QuickTime / MOV". So this uses the extension?
[13:05:15 CEST] <Mavrik> luc4, nop, see the source: https://ffmpeg.org/doxygen/trunk/mov_8c.html#a31dd0edb055c69d828c83b97365bfd70
[13:05:21 CEST] <Mavrik> you'll get that for everything handled by mov muxer
[13:05:54 CEST] <luc4> Mavrik: so including mp4?
[13:38:14 CEST] <jkli> hi guys
[13:38:50 CEST] <jkli> when i want to speed up a video , like by 200% and is there a simple way to do it without re-encoding the whole video?
[13:40:27 CEST] <jkli> geez, loading ffmpeg windows build with 30KB/s
[13:40:33 CEST] <jkli> why is this so slow...
[15:25:50 CEST] <Fyr> guys, what license does FDK AAC Enc have?
[15:32:28 CEST] <JEEBsv> custom fraunhofer one, which is why it's under --enable-nonfree
[15:32:55 CEST] <JEEBsv> that leads to you not being able to distribute the binary
[15:33:03 CEST] <JEEBsv> because of licenses mismatching
[15:35:02 CEST] <Fyr> JEEBsv, what if I distribute it in the same directory with the binary of the program?
[15:35:13 CEST] <BtbN> You can't do that.
[15:35:43 CEST] <BtbN> You can't even do tha without enable-nonfree, unless your program is also under GPL
[15:36:01 CEST] <BtbN> Unless it uses the pure LGPL version of ffmpeg
[15:36:23 CEST] <Fyr> no, I meant this:
[15:36:23 CEST] <Fyr> my_program.exe
[15:36:23 CEST] <Fyr> fdaaacenc.exe
[15:36:23 CEST] <Fyr> libFDKAAC.dll
[15:36:52 CEST] <BtbN> You have to build ffmpeg with enable-nonfree, so you can't redistribute it.
[15:37:19 CEST] <Fyr> that's why I'm not talking about ffmpeg.
[15:42:14 CEST] <Anoia> icatchersupport <icatchersupport at icode.co.uk>
[15:42:23 CEST] <Anoia> err, mispaste, sorry
[15:45:37 CEST] <trodis> hi there i cant figure out how to stream in combination with ffmpeg + ffserver and the opus codec
[15:45:53 CEST] <trodis> right now this is how my config looks like
[15:46:00 CEST] <trodis> http://ix.io/i5M
[15:46:28 CEST] <JEEBsv> Fyr: if you can follow your software's license together with fdk-aac's license and there's no ffmpeg/libavcodec/etc related then you're OK, it just means that you have read fdk-aac's license and have confirmed that you actually are compliant with it
[15:46:44 CEST] <trodis> and this is how i feed the stream  ffmpeg -f alsa -i pulse http://192.168.1.138:8090/feed1.ffm
[15:47:00 CEST] <JEEBsv> IIRC it contained stuff like having to license properly AAC and friends if you wanted to distribute a binary
[15:47:11 CEST] <trodis> when i try to play the stream i get the Error http://192.168.1.138:8090/test.opus: Invalid data found when processing input
[15:47:12 CEST] <JEEBsv> IANAL and just read the fine license
[17:35:14 CEST] <hydalgo> hello after calling avformat_write_header my time_base is changed from 1/25 to -18082736/1. logging each frame prints 1/2800. I posted the details in stackoverflow: http://bit.ly/1d9ARxJ
[00:00:00 CEST] --- Sat Apr 25 2015


More information about the Ffmpeg-devel-irc mailing list