[00:10] <tonsofpcs> is there a way to tell ffmpeg / ffmbc to use multiple threads for MPEG2 (IMX or XDCAM HD 422) encodes? It seems to be only utilizing one CPU in my 8 core system. [00:24] <cbsrobot> tonsofpcs: mpeg2 should be multithreaded [00:24] <cbsrobot> what command line are you using ? [00:25] <tonsofpcs> cbsrobot: I'm using ffmbc. Command lines ripped rom the google code wiki: [00:25] <tonsofpcs> IMX 50: https://code.google.com/p/ffmbc/wiki/IMXD10Encoding [00:25] <tonsofpcs> XDCAM HD 50: https://code.google.com/p/ffmbc/wiki/XDCAMHD422Encoding [00:25] <tonsofpcs> err, IMX 30, sorry [00:32] <cbsrobot> what codec is the source file ? [00:33] <tonsofpcs> cbsrobot: Long GOP MPEG2 video, TWOS audio inside AIFF, externally referenced by an mov container [00:37] <tonsofpcs> Windows Server 2008r2 if it matters. [00:39] <tonsofpcs> honestly, in the near term the multi-threading won't matter too much as I'll be transcoding a bulk of content so if 8 files get done in 4 hours or if 8 files get done sequentially in 30 minutes each doesn't really matter. In the long run, I think people will expect "I put a file there it should be done by now" as the CPU won't be under high load [00:39] <tonsofpcs> I'm also kinda surprised that the RAM in this system is barely being touched. [00:40] <tonsofpcs> hmm, just saw a spot where it used two cores at once but by quick glance it seems that core 3 usage + core 7 usage (the two used) <= 100% at all times... like the core 3 graph looks like someone flipped the core 7 graph [00:41] <tonsofpcs> right now I'm just rendering one XDCAM 50 HD 422. overall shows 12-13% CPU, 67 MB RAM used by ffmbc [00:42] <cbsrobot> do you have ht ? [00:43] <cbsrobot> I guess it won't help much [00:43] <cbsrobot> cpu is the key for fast transcoding [00:43] <tonsofpcs> it's a Xeon E3-1240 V2. http://ark.intel.com/products/65730 says yes. [00:44] <tonsofpcs> 4 core/8 threads [00:44] <tonsofpcs> so i guess that's thread 3/thread 7 [00:44] <cbsrobot> I made up a command line similar to the ffmbc imx50 and it uses all the cores [00:44] <cbsrobot> do you have the latest ffmpeg installed ? [00:44] <cbsrobot> or at least compiled ? [00:46] <tonsofpcs> I have a binary.... ffmpeg-20130424gitaa96439-win64-static. ffmbc is 0.7rc8-win64 [00:47] <cbsrobot> well try: [00:47] <cbsrobot> ffmpeg input.mov -vf scale=720:608 -c:v mpeg2video -c:a pcm_s16le -intra_vlc 1 -non_linear_quant 1 -flags +ildct+low_delay -ps 1 -qmin 1 -qmax 12 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 1 -q:v 1 -pix_fmt yuv422p -b:v 50000000 -maxrate 50000000 -minrate 50000000 -bufsize 2000000 -rc_init_occupancy 2000000 -vtag mx5p output.mov [00:48] <cbsrobot> i'm not sure the -qmax 12 is correct [00:48] <tonsofpcs> 720:608? [00:49] <cbsrobot> I get: [mov @ 0x102066600] D-10/IMX must use 720x608 or 720x512 video resolution [00:49] <cbsrobot> so i just picked one [00:49] <tonsofpcs> oh, 512 is appropraite here. NTSC land ;) [00:49] <cbsrobot> heh I'm in pal [00:49] <tonsofpcs> (525 lines, a bunch of them are useless, hence 512, at least that's my guess) [00:49] <tonsofpcs> (608 would be 625) [00:50] <tonsofpcs> oo, i'm seeing a third thread now (haven't tried your line yet, will try it tomorrow as I'm about to leave for the evening) [00:50] <cbsrobot> ok [00:55] <tonsofpcs> ah, there's a -threads option in ffmbc (thanks to kierank for pointing it out) [00:56] <tonsofpcs> it seems to help a lot [00:56] <cbsrobot> did you set it ? [00:56] <tonsofpcs> cheers cbsrobot. I'll be playing aaround more in the morning, need to head to a meeting now. [00:56] <cbsrobot> sure [00:56] <tonsofpcs> yea, just ran a quick test with it. Leaving the one that I have going going since 3 hours or 1 hour makes no difference when the system is in testing by me only and I'm gone for the next 12 hours ;) [00:57] <diegoviola> hi [00:57] <diegoviola> is libav a fork of ffmpeg? [00:58] <intracube> diegoviola: yes [00:58] <diegoviola> ok [00:58] <diegoviola> i'm currently having a problem with VLC, i think VLC uses ffmpeg or libav, i filled a bug report on their issue tracker, and they mention a feature in VLC works with libav but not with ffmpeg [00:58] <diegoviola> https://trac.videolan.org/vlc/ticket/8544 [00:58] <diegoviola> i was wondering if someone here could help [01:00] <cbsrobot> diegoviola: cehoyos is on cc [01:00] <cbsrobot> maybe he's working on a solution [01:00] <diegoviola> oh ok, sorry [01:01] <diegoviola> is he a ffmpeg developer? [01:01] <cbsrobot> yes [01:01] <diegoviola> cool, thanks [01:01] <diegoviola> :) [01:02] <intracube> diegoviola: I have that same issue with VLC 2.0.5 (linux) when exporting png snapshots [01:03] <intracube> but I use mplayer to take stills [01:03] <diegoviola> intracube: ok, it was reported in the bug tracker that it works with libav head, but doesn't with ffmpeg head [01:03] <diegoviola> intracube: maybe they are working on a fix, as cbsrobot said [01:04] <intracube> diegoviola: how is this related to libav/ffmpeg? does VLC rely on their libraries or something? [01:04] <cbsrobot> I have no problem with vlc 2.0.6 on osx [01:05] <diegoviola> intracube: i think vlc uses ffmpeg or libav, depending how it was built [01:07] <WilliamWS> what [mp4 muxer @ 0x961e480] [Eval @ 0xbfb1e1e8] Undefined constant or missing '(' in 'faststart' [mp4 muxer @ 0x961e480] Unable to parse option value "faststart" [mp4 muxer @ 0x961e480] Error setting option movflags to value faststart. means? [01:07] <WilliamWS> This opition is referenced on the documentation and I am using the last stable version. [01:07] <ubitux> it's present in 1.2 [01:08] <ubitux> what's your command line? [01:08] <WilliamWS> ffmpeg -f video4linux2 -i /dev/video0 -f mp4 -movflags faststart video.mp4 [01:08] <WilliamWS> It is short, I think there is no need to pastbin it, or am I wrong? [01:09] <cbsrobot> &. and the COMPLETE console output [01:09] <intracube> diegoviola: just tried updating to 2.0.6 - no difference here [01:10] <ubitux> WilliamWS: yes, use pastebin anyway [01:11] <diegoviola> intracube: i see, i also tried compiling latest vlc from git/master and it gave me another problem, something related to: [0x7f4d18000958] main video output debug: no image encoded [01:11] <diegoviola> intracube: it didn't even produce an output/file [01:11] <intracube> diegoviola: not sure what that would be, sorry [01:11] <WilliamWS> http://pastebin.com/mkL1G1Mk [01:11] <WilliamWS> sorry [01:11] <diegoviola> intracube: np [01:13] <cbsrobot> WilliamWS: ffmpeg version 0.9.2 [01:13] <ubitux> WilliamWS: this is not the last stable [01:14] <ubitux> this is pretty old [01:14] <WilliamWS> I noticed that right now [01:14] <ubitux> it was release a bit before 2012 [01:14] <WilliamWS> the "Download" link on the site links to an old anchor [01:15] <WilliamWS> -.- [01:15] <ubitux> huh? [01:15] <ubitux> what link? [01:15] <WilliamWS> My apologizes for that [01:15] <WilliamWS> the one you find when using a search engine [01:15] <WilliamWS> example: http://search.yahoo.com/r/_ylt=A0oG7netoYFR8kcAMLdXNyoA/SIG=121t8r2k4/EXP=13... [01:15] <ubitux> ah, not a bad link on our side then [01:16] <ubitux> http://ffmpeg.org/download.html#releases :) [01:16] <ubitux> maybe you shouldn't use yahoo :) [01:16] <WilliamWS> google give the same result [01:16] <WilliamWS> and really I hate google [01:16] <WilliamWS> magi is the last? [01:17] <WilliamWS> magic* [01:17] <WilliamWS> Are you pretty, really, mega, hyper, Tera, zipper sure about this? [01:22] <ubitux> last stable [01:22] <ubitux> but you can use git as well [01:22] <ubitux> 1.2 is starting to get old too :) [01:23] <ubitux> 'should be enough for faststart though [01:24] <WilliamWS> ubitux thank you so much. I am compiling this on a Pentium MMX 266MHz with 64MB RAM [01:24] <ubitux> see you next week [01:25] <WilliamWS> see yah [01:25] <WilliamWS> ahahhahahaha [01:25] <ubitux> ccache is your friend btw [01:25] <WilliamWS> the 0.9 was compilled in 2:38h [01:25] <ubitux> 2 days and 38 hours? [01:26] <ubitux> that sounds pretty decent for a P2 [01:26] <WilliamWS> 2 hour and 38 minutes [01:49] <defaultro> hey folks, is it possible to overlay vignetting on a video? [01:50] <defaultro> interesting what I found, http://www.francois-tarlier.com/blog/ [01:51] <ubitux> i've sent a patch to do that a while ago [01:51] <ubitux> but i didn't have time to get it done [01:51] <ubitux> (got some ugly banding i needed to fix) [02:20] <LunaVorax> Hello [02:21] <LunaVorax> Is the lossless h264 encoding bug-free? [02:21] <LunaVorax> Last time I was here someone reported that ffmpeg wasn't producing lossless h264 videos using the proper settings [02:39] <iive> never heard of that. you know encoding is done by libx264. [03:24] <WilliamWS> compilation completed [03:24] <WilliamWS> \o\ [03:42] <WilliamWS> anyone recomends me some good material with examples to learn how to sue ffmpeg? [03:42] <WilliamWS> something besides the documentations. [03:43] <Plorkyeran> a lawyer would be a good start [03:44] <klaxa> haha [03:44] <WilliamWS> This specific lawyer coffin has some ffmpeg instructions written on it? [03:46] <WilliamWS> like ffmpeg -i rawlawyer -f earth /home/lawyer -f hell /home/coffin [03:46] <klaxa> hmm... i doubt that'll work [03:46] <klaxa> hmm... or does it? multiple output files, etc [03:46] <WilliamWS> hi klaxa, your nick sounds really nice [03:47] <WilliamWS> klaxa... interesting, any special meaning? [03:47] <klaxa> thanks, it got it from a random string generator [03:47] <WilliamWS> klaxa, I do not know, I am still trying to understand the documentation [03:48] <klaxa> well general syntax is: ffmpeg [-f input_format [input format options]] -i input [output options] [-f output format] output [03:49] <klaxa> output options is probably what you want to adjust most, encoding settings, filters, etc. [03:49] <WilliamWS> My problem is with streamming. I want to get frames from a webcam and send it to a folder on apache domain so it can be accessed and played in "real time" [03:50] <klaxa> do you have your webcam as /dev/video0 ? [03:50] <WilliamWS> ffmpeg -f video4linux2 -i /dev/video0 -f mp4 -movflags faststart /var/www/video.mp4 [03:51] <klaxa> looking good [03:51] <WilliamWS> more or less this [03:52] <WilliamWS> the video is created but I can not read it only if I stop the covnersion and "finalize" the file [03:53] <klaxa> hmm... [03:53] <klaxa> well you wouldn't be able to watch it live anyways [03:53] <klaxa> that's now how streaming works [04:24] <smj> Which one or what is the correct format, -vf pp=al:f/c or -vf pp=al/c:f ? [04:26] <smj> oh, nevermind [04:28] <WilliamWS> how I can do that? [04:28] <smj> me? [04:28] <WilliamWS> ahhahah [04:28] <WilliamWS> smj the correct format for what? [04:29] <smj> for all the subsubsuboptions [04:29] <smj> but yeah it's | instead of / [04:30] <WilliamWS> if it is a flag you use flag1+flag2 if it is a audio and respective video you can use audioblablabla:videoblablabal [04:30] <WilliamWS> If I understood what you said... [04:32] <WilliamWS> And sorry I am still learning how to use ffmpeg and reading this: http://ffmpeg.org/ffmpeg.html [05:33] <smj> Is there a way to make a color key transparent in when using an overlay? [06:03] <yajiv> Hi folks&I have a quick question about printing encoder params&.I have a command line configuring x264 that works well from ffmpeg&however when i pass what appears to be the same from ffserver it fails, seemingly as x4->enc = x264_encoder_open(&x4->params); [06:04] <yajiv> looking through ffserver.c i noticed that it passes some encoder defaults, which i suspect are the culprits&&so my question is: is there an easy way to print out all the param values that are passed into the x264 encoder? [06:04] <yajiv> maybe a flag that prints it? [06:06] <relaxed> yajiv: try -v debug or run $(strings input | grep x264) on its output. [06:09] <yajiv> relaxed: will give it a shot &thanks [06:14] <yajiv> relaxed: nothing that prints out all the params. It's not obvious why I couldn't open the encoder when running from ffserver. Will just manually print out the params from libx264.c i guess [06:14] <yajiv> thanks [06:16] <relaxed> the output file will always contain the encoder settings. [06:31] <yajiv> yeah, that was actually my bad&..digging a little deeper to resolve my issues ow. [06:42] <vhann> Hi, I have a video file I want to play on my phone while in the subway (noisy env) but the speech volume is very low. I am trying to raise it with "ffmpeg -i infile.flv -vcodec copy -dialnorm -10 -filter volume=20dB outfile.flv" but sound doesn't seem to change [06:43] <vhann> Is there a way to get/read the (average) volume on an absolute scale (so I can compare infile and outfile to make sure outfile is louder)? [07:13] <vhann> Oh well, I demux'ed the audio, fed into audacity, amplified there and remux'ed [07:14] <vhann> It seems there was a gunshot at some point in the video and audacity wouldn't amplify (without clipping) because of that loud sound. Could there be something similar in ffmpeg? [07:29] <yajiv> relaxed: So here's the encoder output for the version that encodes super quickly. [07:29] <yajiv> Stream #0:0, 0, 1/90000: Video: h264 (libx264), yuv444p, 480x800, 1/15, q=-1--1, 90k tbn, 15 tbc [07:29] <yajiv> and here is the case that doesn't from ffserver. [07:29] <yajiv> Stream #0:0: Video: h264 (libx264), yuv444p, 480x800, q=255-1, 1000k tbn, 15 tbc [07:29] <yajiv> i see the sign issues with qmin&but i'm not sure why the tbn is out of whack. any suggestions? [07:30] <yajiv> basically both encode now, however the line above encoders and streams with a latency of 0.5s while the one through ffserver does so at a latency of 3-4 s [07:30] <Mavrik> um [07:30] <Mavrik> ffserver buffers alot [07:31] <yajiv> at what level? is it possible to disable that? [07:33] <yajiv> also my encoder params are clearly not what they should be. not sure where the ffserver pipeline is introducing the errors either&.btw, thanks for the response mavrik [07:34] <Mavrik> yajiv, basically ffserver writes input to a temporary file and then serves it with a delay [07:34] <Mavrik> I think buffering can be set [07:35] <Mavrik> yajiv, ignore the qmin and tbc/tbn things though, I've seen them be totally off on libx264 encodes many times [07:35] <yajiv> k [07:36] <yajiv> # Set this to the number of seconds backwards in time to start. Note that [07:36] <yajiv> # most players will buffer 5-10 seconds of video, and also you need to allow [07:36] <yajiv> # for a keyframe to appear in the data stream. [07:36] <yajiv> i see this [07:36] <yajiv> but i've set the player to not buffer&.so that shouldn't be an issue. [07:36] <yajiv> the writing to a temp file will certainly add latency. [07:36] <yajiv> i'll try to see if i can keep it in memory. [07:37] <Mavrik> also GOP size has a great effect on latency :) [07:38] <yajiv> when i run the command line through ffmpeg and pipe to udp and play it..i get a latency of around 300ms [07:38] <yajiv> it's when going through ffserver with the same command line that i see the latency go up to 3s or so. [07:41] <yajiv> i'm using the x264 config for zero latency and speed (slightly modified) but works pretty well. [11:40] <smj> how do I negate overlayed input? [11:41] <durandal_1707> -vf negate? [11:41] <smj> but where do I put that? [11:42] <durandal_1707> maybe after overlay [11:43] <smj> -i :0.0+1570,143 -filter_complex 'negate,overlay=10:10,negate' this does what I want but it could be more efficient [11:44] <durandal_1707> why you add dupe overlay? [11:44] <durandal_1707> *negate [11:44] <durandal_1707> whay you need negated? [11:46] <smj> -filter_complex 'negate,overlay=10:10' negates the whole output [11:47] <smj> no, -filter_complex 'negate,overlay=10:10' negates the main image [11:48] <EvilTengil> Hi! Does anyone here have experience with real-time streaming? I am trying to stream the camera feed from an iPhone to VLC on a computer. Currently I am using MJPEG but I'm having trouble with stutter and long delays. [11:48] <smj> -filter_complex 'overlay=10:10,negate' negates the whole output [11:48] <durandal_1707> smj: and what you need negated? [11:48] <smj> I don't need anything negated, I just want, and why does that matter? [11:55] <durandal_1707> smj: see "[1]negate[a],[0][a]overlay=10:10" [11:55] <durandal_1707> only one negate [11:57] <smj> thanks, I might be getting a hang of it [11:58] <durandal_1707> about speed, without opacity, its just memcpy so it could be made faster in that case [12:09] <EvilTengil> Does MJPEG support variable frame rate? [12:10] <JEEB> variable frame rate is generally either supported or not on a *container* format level, not on the video format level [12:11] <JEEB> f.ex. MJPEG in mkv and mov should support it just fine [12:16] <EvilTengil> ok, i selected my format by calling avformat_alloc_output_context2(&oc, NULL, "mjpeg", filename); [12:17] <EvilTengil> it seems to work, but mjpeg is just the coder right? does this function actually give me some other format that happens to work or what is happening exactly? [12:17] <EvilTengil> coder = codec [12:20] <JEEB> ffmpeg -formats |grep "mjpeg" gives me "DE mjpeg raw MJPEG video" [12:20] <JEEB> so you are just setting your output libavformat format to be raw MJPEG [12:20] <JEEB> so you are not putting it into any container [12:21] <JEEB> libavcodec handles decoding and encoding, libavformat handles demuxing and muxing and general parsing [12:30] <EvilTengil> is this the correct way of doing it or should i put it into a mpegts container or something else? [12:30] <JEEB> if I were to do something with that thing that doesn't only take in raw MJPEG streams, I would probably put it into something since a raw picture stream doesn't contain ANY timing information [12:30] <JEEB> it's just a slew of pictures [12:30] <EvilTengil> i'm just trying to stream a camera feed from a phone to my computer. no audio or anything. i just want to have a smooth video with low latency. [12:31] <EvilTengil> okey. do you think mpegts would be the best choice then? [12:31] <JEEB> since most phones don't read MJPEG from videos and thus you would have to write the parser/decoder by yourself, I would guess you could pack it into mkv or so? Possibly mpeg-ts as well, but I've no idea how well VFR stuff would work with it. [12:32] <JEEB> many phones nowadays do take in H.264 in mpeg-ts for example, but MJPEG is something probably unsupported by default, so you would end up doing software on the phone side as well in any case :) [12:33] <EvilTengil> i tried MKV but i got the following in my console: [12:33] <EvilTengil> [NULL @ 0x23b2000] Requested output format 'mkv' is not a suitable output format [12:34] <klaxa> try 'matroska' [12:36] <EvilTengil> that worked! :) [13:06] <smj> I'm not sure, but is x11grab's frame rate limited to 29.97? I don't think I could get smooth video recording before editing one line in x11grab.c [13:08] <durandal_1707> smj: what you edited? [13:10] <smj> I replaced "ntsc" with "59.94" on line 605 [13:11] <durandal_1707> funny, but that is not needed, same can be done with -framerate 59.94 [13:11] <smj> is it not the same as -r? [13:11] <durandal_1707> nope [13:11] <durandal_1707> -framerate is option for x11grab only [13:34] <smj> I've spent way too much time perfecting my encoder settings [13:34] <smj> oh, wrong channel [13:36] <EvilTengil> Does anyone know what time_base is should use if I want to encode video with variable frame rate? Also, how would I go about calculating the pts? [13:43] <EvilTengil> I tried calculating my pts like: [13:43] <EvilTengil> frame->pts = av_rescale_q(1, video_st->codec->time_base, video_st->time_base) * delta_time_in_seconds [13:44] <EvilTengil> but the video freezes up after a second or so [16:21] <podman> does anyone know if iOS supports variable frame rate h264 video? [17:05] <Zeranoe> Has anyone successfully compile FFmpeg with vid.stab support? [17:06] <JEEBsv> podman: it'd be pretty hard to have a mp4 parser that doesn't support VFR [17:06] <JEEBsv> how high rates it supports is a separate problem of course [17:06] <durandal_1707> Zeranoe: tried it? [17:06] <Zeranoe> durandal_1707: You got it working? [17:06] <podman> JEEBsv: yeah, I'm just trying to figure out why a customer's video isn't playing properly in iOS [17:07] <podman> or... really play at all [17:07] <durandal_1707> Zeranoe: i never tried [17:08] <durandal_1707> Zeranoe: i just ask, if you tried did you find some bug.... [17:08] <podman> JEEBsv: the only thing I can think of that seems out of place is that the output video is VFR [17:09] <Zeranoe> durandal_1707: I'm just not sure how to compile it properly. FFmpeg's configure fails at pkg-config detection of the lib. But the lib provides no .pc files so I'm not surprised [17:10] <JEEBsv> podman: the only thing that comes to mind is that the mp4 parser could have a limited integer precision with the timstamps and certain kinds of timestamps (regardless of CFR/VFR) might make that overflow and fail [17:10] <JEEBsv> that said I don't have an iDevice so I can't really test jack shit with them :) [17:10] <JEEBsv> in any case it'd be rather hard to implement an mp4 parser that doesn't support VFR [17:10] <JEEBsv> since you are in any case parsing the timestamps [17:11] <podman> JEEBsv: actually, it looks like the encoding service decided to change the level from baseline@L3.0 to baseline@5.1 [17:11] <podman> they used to use @L3.0 [17:11] <durandal_1707> Zeranoe: but you must have pc for vid.stab instealled somewhere.. [17:13] <Zeranoe> durandal_1707: If there is a .pc file for vid.stab, it didn't come from the official source [17:15] <durandal_1707> Zeranoe: but configure check for it, so it must be somewhere [17:18] <podman> JEEBsv: anything here jump out at you? https://gist.github.com/podman/0ca4972e2dc0c06e7748 [18:14] <Plorkyeran> iirc iphone only supports 3.1 [18:14] <Plorkyeran> so 5.1 is the issue [19:57] <EvilTengil> Does anyone know which container formats that supports data (AVMEDIA_TYPE_DATA) streams? I want to embed some floating point values for each frame. [21:11] <computer_hobby> I am trying to overlay a video clip (snow.mp4) onto another video (pc2.mp4). Both clips are 6 seconds long. 2 seconds in to pc2.mp4 playing I would like snow.mp4 to appear and play for 2 seconds and then disappear. I've got this working except for the 'play for 2 seconds and disappear' part. [21:11] <computer_hobby> Heres a picture of the overlay working: http://i.imgur.com/PaOxHAy.png [21:11] <computer_hobby> But then The video continues to play into my next scene: http://i.imgur.com/P90Lp0h.png [21:12] <computer_hobby> here's my command: [21:12] <computer_hobby> ffmpeg -y -i pc2.mp4 -i snow_short.mp4 -filter_complex "[1]scale=259:150,deshake[insert]; [0][insert]overlay=x='w-1':y=0" overlay.mp4 [21:12] <computer_hobby> is there a way to clip the duration of the overlay being shown? [21:13] <computer_hobby> err sorry here is the command I used: [21:13] <computer_hobby> #ffmpeg -y -i pc2.mp4 -itsoffset 2 -i snow_short.mp4 -filter_complex "[1]scale=259:150[insert]; [0][insert]overlay=x=116:y=143" overlay.mp4 [21:13] <durandal_1707> what version? [21:13] <computer_hobby> 1.2 [21:13] <computer_hobby> I used the -tsoffset 2 param to delay the overlay, can't figure out how to stop it though. `-t` stops both clips not just the overlay [21:14] <durandal_1707> git one have enable option expression for overlay (timeline support) so one can set when overlay will be active [21:14] <computer_hobby> oh interesting [21:17] <computer_hobby> is this the feature? https://github.com/FFmpeg/FFmpeg/blob/15d2f26998909ffd7d2779946df9d8e0c07efb... [21:19] <ubitux> computer_hobby: yes, http://ffmpeg.org/ffmpeg-filters.html#Timeline-editing [21:19] <ubitux> overlay supports it [21:22] <computer_hobby> does this look like the right syntax, assuming I've got the git version installed? overlay=enable='between(t,3,5)':x=116:y=143 [21:24] <ubitux> it looks ok yes [21:25] <computer_hobby> So the docs page are for the latest in git? that explains why I get 'Option 'repeatlast' not found' with 'overlay=x=116:y=143:repeatlast=0' which would seem another way to solve it is I clipped down the video beforehand [21:25] <computer_hobby> Thanks for the help ubitux and durandal_1707 [21:25] <computer_hobby> *solve it if [21:26] <ubitux> yes, online docs are for the latest git [22:59] <computer_hobby> worked great: [22:59] <computer_hobby> ffmpeg -y -i pc2.mp4 -itsoffset 2 -i snow.mp4 -filter_complex "[1]scale=259:150[insert]; [0][insert]overlay=enable='between(t,2,5.07)':x=116:y=143" overlay.mp4 [22:59] <ubitux> :) [23:03] <computer_hobby> thanks! [23:43] <dn> hello guys, could somebody tell me what is the fatest mp4 flash and adobe cli example, i don't care about -b etc just want to encode video really fast [00:00] --- Fri May 3 2013
participants (1)
-
burek