[Ffmpeg-devel-irc] ffmpeg.log.20150609
burek
burek021 at gmail.com
Wed Jun 10 02:05:01 CEST 2015
[00:00:27 CEST] <onefix> I know that there was some work on it, but last I checked, conventional wisdom was that a multi-core system was better
[00:21:39 CEST] <rikai> Hm... Are none of the prores encoders available in ffmpeg performant enough for realtime encoding?
[00:25:26 CEST] <pzich> probably depends on your hardware and the input
[00:27:42 CEST] <rikai> mmm, trying to use prores_ks in the new version of obs that uses ffmpeg for it's backend. Getting 95% frameskipping regardless of what settings i give it, which seems... unusual.
[00:27:52 CEST] <brontosaurusrex> rikai: what ffmpeg version you got? (I think i get about 5x realtime)
[00:28:41 CEST] <brontosaurusrex> rikai: also, certain decoders may be botleneck
[00:30:58 CEST] <haasn> I want to reduce CPU usage of music playback. One of the sources is ReplayGain - I have files tagged with RG data, which the device then has to adjust for during playback. Would it be possible to instead strip the RG data and modify the files themselves, so that my device just has to do 1:1 playback?
[00:34:01 CEST] <rikai> brontosaurusrex: hm... it appears that obs is using a build from git. "N-70634-g3bedc99" so..... http://git.videolan.org/?p=ffmpeg.git;a=commit;h=70634-g3bedc99
[00:36:01 CEST] <rikai> And i'm pretty sure the issue isn't the decoder, but rather encoding. OBS-MP is telling me that 95+% of frames were skipped during decoding. Not sure what the issue could be, since cpu usage ins't terribly high and i'm recording to an ssd... I can't imagine it's a throughput issue, because then changing what profile(proxy/lt/hq) would have an effect, wouldn't it?
[00:36:14 CEST] <Mavrik> prores probably isn't optimized... like at all.
[00:36:33 CEST] <rikai> Thats the conclusion i was coming to, yeah.
[00:36:57 CEST] <rikai> but he said he was getting 5x realtime encoding, so i was thinking i might be mistaken...
[00:37:41 CEST] <rikai> Especially since someone with a somewhat more powerful system (newer i7) tested for me and got essentially the same results.
[00:38:45 CEST] <rikai> Just trying to figure out if it's an issue in the software or a matter of prores not being efficent enough in ffmpeg, since if it's the former, i can bug people to look at it. ;)
[00:39:28 CEST] <Mavrik> Honestly I've never used it, so I can't really tell you much, but afaik prores didn't get much attention
[00:39:48 CEST] <haasn> Ah, -af volume="replaygain=album"
[00:40:27 CEST] <haasn> Is there a way to set the volume of tracks which have missing RG information?
[00:40:28 CEST] <rikai> brontosaurusrex: mind if i ask which of the prores formats you're using ? Snice there are 3...
[00:42:05 CEST] <rikai> -af "volume=#dB"
[00:42:06 CEST] <rikai> isnt it?
[00:45:56 CEST] <rikai> I'm so close to being able to remove another bit of mac software from our production workflow that i can taste it... :P
[00:49:40 CEST] <rjp421> rikai, ^5
[00:49:56 CEST] <rikai> rjp421: hm?
[00:55:24 CEST] <haasn> Hmm. ffmpeg does not seem to want to read the replaygain information from vorbis files
[00:55:37 CEST] <haasn> I can set the album gain to like -10 manually but -af volume="replaygain=album" just ignores it
[01:03:59 CEST] <haasn> Seems like an ffmpeg bug; the tags are definitely present, it even prints eg. REPLAYGAIN_ALBUM_GAIN: -6.17 dB as the metadata for the files
[01:04:06 CEST] <Canar> >not using R128gain
[01:04:09 CEST] <Canar> =3
[01:04:36 CEST] <rikai> rjp421: well sadly it depends on being able to record realtime to prores, which OBS now has the ability to do, but it seems lacks the performance optimizations to do so reasonably. We've got the largest linux podcast out there, so we're slowly trying to move to all open tools as a point of pride and principle, but we need prores support for the moment, so it's kind of a hard block on switching anything else over for the moment. :/
[01:04:52 CEST] <haasn> Canar: that's not even present in my distro's repositories
[01:04:53 CEST] <rikai> Looking into perhaps a bountysource of some sort, if we've got some funding available for it...
[01:05:10 CEST] <Canar> haasn: it's built into ffmpeg now
[01:05:22 CEST] <Canar> but i was mostly just being silly
[01:05:25 CEST] <haasn> oh
[01:05:42 CEST] <rikai> Didn't the project change names, as well?
[01:05:45 CEST] <haasn> well I'm open to alternatives
[01:05:58 CEST] <rikai> Yeah, its bs1770gain now, it seems.
[01:06:05 CEST] <haasn> Right now I'm just going to live with not having .ogg files on my phone, this only affects like two albums
[01:06:16 CEST] <Canar> hm
[01:06:19 CEST] <Canar> that is news to me
[01:06:24 CEST] <Canar> need to get with it
[01:07:36 CEST] <Canar> 5~meh
[01:07:40 CEST] <Canar> terminology
[01:09:52 CEST] <Canar> seems that only really peter belkner's projects did the name change
[01:10:01 CEST] <Canar> which is fine, as they're shit anyhow =P
[01:10:25 CEST] <Canar> https://ffmpeg.org/ffmpeg-filters.html#ebur128 haasn rikai
[01:11:19 CEST] <haasn> I'm not sure what use this is supposed to be, at least to me
[01:13:11 CEST] <Canar> think of it as a successor to replaygain; handles bass and gating better
[01:13:28 CEST] <Canar> ...but that doesn't fix/answer your query
[01:13:59 CEST] <Canar> as a replaygain user, might be of interest
[01:14:21 CEST] <haasn> Canar: One important point of consideration for me is to preserve loudness across track boundaries that are within the same album
[01:14:44 CEST] <haasn> This is why I want to use ReplayGain's album tag capabilities, since I can just scan albums as a unit and apply the appropriate album tags
[01:14:59 CEST] <haasn> So I'm not looking for a solution that will adjust each file in isolation and break track borders
[01:17:52 CEST] <Canar> haasn: I get that; you can hack around the tag-loading issue using the appropritate command-line-fu.
[01:17:57 CEST] <Canar> appropriate*
[01:18:19 CEST] <haasn> Canar: I could do it manually for these few albums I guess
[01:18:28 CEST] <haasn> But I'd rather the bug be fixed
[01:18:49 CEST] <Canar> Album mode just treats the album as one long track, FYI.
[01:19:44 CEST] <Canar> i wonder if there's something weird about the tag
[01:19:57 CEST] <Canar> not like Vorbis comments are complicated, tho
[01:29:34 CEST] <haasn> Canar: Yes, but I'm invoking ffmpeg on a per-file basis
[01:29:43 CEST] <haasn> so it can't just analyze the whole album
[01:58:45 CEST] <DrBotato> I'm wondering if it is possible to do the Ken Burns technique with FFMPEG filters on a video. For example. given a vertical video with aspect ratio 9:16 @ 1080x1920, i wish to create a viewframe of the video that is 16:9 @ 608x1080, starting from the top of the video, and slowly pan down across the height of the video to the bottom over the duration of the video
[01:59:27 CEST] <DrBotato> sorry that should have said: "16:9 @ 1080x608"
[02:01:14 CEST] <DrBotato> oh, looks like zoompan might be able to do what i want. nifty.
[02:02:30 CEST] <DrBotato> damm people and holding their phone vertically while filming. lol.
[02:05:41 CEST] <rikai> Right, so... Here's a conondrum. I wan't to open a bounty on bountysource to improve prores encoding performance within ffmpeg to the point where it's usable for realtime encoding with software such as OBS... However, bountysource requries there to be an issue on ffmpeg's tracker to post a bounty on... It's not really a bug per-se though... So i'm not really sure what to do... Could someone the works on the project advise me as to how i might proceed?
[02:07:12 CEST] <pzich> I don't know for sure, but you might be able to file as a "feature request" instead of a bug
[02:14:32 CEST] <rikai> Hm... i wonder what a "sponsoring request" is... Probably not what i'm looking for, but i noticed it in the type field...
[02:43:12 CEST] <tpw_rules> hey. i have a whole crapton of baseline DV video that i'm hoping to re-encode into h265. what CRF would preserve it? the wiki says 18 is lossless but i don't imagine DV has the best quality
[02:44:44 CEST] <tpw_rules> what other options might give me the best quality?
[04:07:53 CEST] <rehunted> is possible to disable 'disk write' every second? and make it only when the file is finished ? (or in segmented steps?)
[04:30:21 CEST] <kyleogrg> hi
[04:31:23 CEST] <kyleogrg> I did IVTC on a video (fieldmatch,yadif,decimate) and now it's gone from the duratio of 2:40:00 to 2:09:00
[04:31:57 CEST] <kyleogrg> vlc still displays the longer (original) duration, but the video is actually shorter
[04:32:05 CEST] <kyleogrg> why is this?
[04:38:08 CEST] <DrBotato> can anyone point me in the direction to understanding what this does: format=pix_fmts=yuva420p
[08:42:33 CEST] <chama> hi, I need to add and an image to the end of a video for 2 second duration using a single command... Is there anyway to do this using ffmpeg filter_complex?
[10:31:25 CEST] <Valeriu> hello everyone
[10:31:56 CEST] <Valeriu> i'm trying to extract and rencode a portion from a ts file using the following args:
[10:32:03 CEST] <Valeriu> cmdArgs = @"-i ""{0}"" {1} -ss {2} -c:v libx264 -profile:v high -b:v {3}K -vf yadif=0:-1 -y -t {4} ""{5}""";
[10:32:42 CEST] <Valeriu> it works very well, but sometimes i get an extra audio portion at the begining of the file
[10:32:49 CEST] <Valeriu> which shouldnt be there
[10:33:17 CEST] <Valeriu> do you have any idea if there is some parameter i can specify in order to repair the audio desync?
[10:37:49 CEST] <brontosaurusrex> Valeriu: try moving -ss after input, upgrade your ffmpeg
[10:44:11 CEST] <Valeriu> unfortunately, i have the latest ffmpeg version (windows build) and the -ss is after the input
[10:44:46 CEST] <brontosaurusrex> what version is that?
[10:52:28 CEST] <elmargol> What is the default x264 profile ffmpeg is using?
[10:54:28 CEST] <JEEBsv> s/ffmpeg/libx264/
[10:54:31 CEST] <JEEBsv> and that depends on your settings
[10:54:45 CEST] <JEEBsv> it starts with high or high10 depending on if you're using a higher bit depth libx264 or not
[10:54:52 CEST] <JEEBsv> and then selects the lowest your parameters let it do
[10:55:13 CEST] <chama> hi, I need to add and an image to the end of a video for 2 second duration using a single command... Is there anyway to do this using ffmpeg filter_complex?
[10:55:23 CEST] <JEEBsv> (or some other profile in case you're not encoding 4:2:0)
[10:55:28 CEST] <JEEBsv> but the idea is the same
[10:56:13 CEST] <chama> simply i need to add a outro...
[10:56:26 CEST] <chama> what is the best way?
[10:56:58 CEST] <elmargol> JEEBsv, -c:v libx264 -crf 18 -vf "format=yuv420p" out.mkv
[10:57:38 CEST] <elmargol> Just wondering If this is ok for archiving my videos
[10:58:06 CEST] <elmargol> There is some lenscorrection and deshaking aswell
[10:59:07 CEST] <JEEBsv> elmargol: it depends on your requirements. basically first decide on the CRF by actually doing the checking yourself with your eyes instead of copying a value from somewhere, and then check which is the slowest preset you can take
[10:59:37 CEST] <Valeriu> can i find the x264 profile ffmpeg is using by executing a "ffmpeg -info, -help" command?
[11:00:17 CEST] <Valeriu> i get ffmpeg static build from http://ffmpeg.zeranoe.com/builds/
[11:01:35 CEST] <elmargol> how about -crf 18 -maxrate 10m
[11:12:27 CEST] <Hugo_> Hey! With which parameter can I change the output FPS? :)
[11:13:07 CEST] <elmargol> -r 25
[11:16:17 CEST] <Hugo_> Thank you!
[11:17:58 CEST] <framerate345097> It doesn't work for me, all the frames are dropping
[11:21:35 CEST] <relaxed> framerate345097: what doesn't work?
[11:21:52 CEST] <framerate345097> Changing the framerate to 5
[11:22:19 CEST] <framerate345097> I want 5 fps for faster rendering because I only have to render a image in a video
[11:22:31 CEST] <relaxed> ffmpeg -r 5 -i input ...
[11:25:33 CEST] <framerate345097> Thank you very much!
[11:34:50 CEST] <zhanshan> hey with command ffmpeg -f image2 -i 'III-kongste-miao_%07d.jpg' I still get an error
[11:34:52 CEST] <zhanshan> '[image2 @ 0x2f9bc60] Could find no file with path 'III-kongste-miao_%07d.jpg' and index in the range 0-4
[11:35:01 CEST] <zhanshan> what's wrong?
[11:35:35 CEST] <zhanshan> the files are named: III-kongste-miao_0088547.jpg ...
[11:35:44 CEST] <relaxed> zhanshan: give me an example file name
[11:36:45 CEST] <zhanshan> starts at III-kongste-miao_0080500.jpg and ends at III-kongste-miao_0092571.jpg
[11:37:41 CEST] <zhanshan_aw> sorry gotta go, be back at in two hours
[11:37:59 CEST] <relaxed> zhanshan_aw: look at "ffmpeg -h full | less +/image2"
[11:38:39 CEST] <relaxed> or, ffmpeg -h demuxer=image2
[11:56:33 CEST] <t4nk587> Hello All,
[11:56:43 CEST] <t4nk587> I am a beginner using FFMPEG
[11:56:50 CEST] <t4nk587> I have pasted my problem over here:
[11:56:51 CEST] <t4nk587> http://pastebin.com/embed_js.php?i=94Z1NQZC
[11:57:21 CEST] <t4nk587> If anyone would kindly have a look
[11:57:32 CEST] <t4nk587> and tell me what I am missing here.
[11:58:38 CEST] <c_14> The concat protocol doesn't work with mp4s
[11:58:45 CEST] <c_14> https://trac.ffmpeg.org/wiki/Concatenate
[11:59:24 CEST] <t4nk587> I even tried it with creating a file of videos and it did not work in that case as well
[12:00:50 CEST] <c_14> Probably mp4 being bitchy. try remuxing to mpegts
[12:01:50 CEST] <t4nk587> Thanks, can you reference how can I do that.
[12:01:58 CEST] <t4nk587> Though I searching over ther internet now. :)
[12:02:05 CEST] <c_14> ffmpeg -i video -c copy -map 0 -f mpegts out.mpegts
[12:02:38 CEST] <t4nk587> Thanks I am going to try it now.
[12:17:10 CEST] <t4nk587> I tried to do the following and it merged the two video timestamp and played the first video completly. However, only some green dots appear on the screen for the second video.
[12:17:16 CEST] <t4nk587> I tried the following commands:
[12:17:38 CEST] <t4nk587> ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4
[12:20:33 CEST] <t4nk587> Following is the output link:
[12:20:33 CEST] <t4nk587> http://pastebin.com/znsbBfYb
[12:21:51 CEST] <c_14> It might be that one of the videos is baseline and the other isn't, or that the tbcs differ
[12:23:13 CEST] <t4nk587> Any thoughts about making both videos baselined?
[12:23:41 CEST] <t4nk587> How can check it?
[12:23:57 CEST] <c_14> ffmpeg -i video -c:v libx264 -profile:v baseline
[12:25:28 CEST] <t4nk587> http://pastebin.com/4q2Gi8yM
[12:26:11 CEST] <t4nk587> I tried executing and it show the following. Just trying to see the difference.
[12:26:15 CEST] <c_14> You have to specify an output file. And you probably want to keep -c:a copy. And you should only have to do it for the 2.mp4
[12:27:06 CEST] <t4nk587> Thanks for assisting me. I am going to do that now.
[12:36:20 CEST] <t4nk587> http://pastebin.com/qHCUL83x
[12:36:38 CEST] <t4nk587> It might be that I have not done it right. But it did not work :(
[12:40:23 CEST] <c_14> Hmm, why is it using constrained baseline now... Have you tried reencoding during concat with the concat demuxer?
[12:41:51 CEST] <t4nk587> I tried the following sequence:
[12:41:53 CEST] <t4nk587> ffmpeg -i 2.mp4 -c:a copy -profile:v baseline 2b.mp4
[12:41:58 CEST] <t4nk587> converting the video to baseline
[12:42:13 CEST] <t4nk587> ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4
[12:42:38 CEST] <c_14> ye, I saw that. What I meant was if you could try it with the concat demuxer aund without -c copy (at least for the video). See if that works.
[12:42:45 CEST] <t4nk587> and ofcourse creating concat:intermediate1 and concat:intermediate2 before the final concat
[12:43:47 CEST] <t4nk587> :) and how would I do that?
[12:44:07 CEST] <t4nk587> I am sorry, I am just learning FFMPEG.
[12:44:15 CEST] <t4nk587> So quite a beginner :(
[12:44:50 CEST] <relaxed> t4nk587: (MP4Box is part of gpac) MP4Box -cat 1.mp4 -cat 2.mp4 -new combined.mp4
[12:45:05 CEST] <c_14> you can try that too
[12:47:44 CEST] <t4nk587> Thanks, I am going to try it now.
[12:49:06 CEST] <t4nk587> No, concat demuxer did not work with the baselined video
[12:50:53 CEST] <t4nk587> http://pastebin.com/iduS3SCp
[12:52:37 CEST] <t4nk587> Maybe, I am approaching a problem in the wrong direction. I wanted to add a title slide to a video. First a created a video from the image and then tried to merge it. Maybe if anyone has better suggestion.
[13:08:43 CEST] <relaxed> t4nk587: you'll need to create it with the same settings as the audio/video streams in the original video
[13:31:05 CEST] <ruby_on_tails> can someone explain why "ffmpeg -i grab.avi -vcodec libx264 -vpre medium -crf 22 -threads 0 grab1.mp4" gives me a file which is approx 3.5mb per minute but "avconv -i grab.avi -vcodec libx264 -preset medium -crf 22 -threads 0 grab1.mp4" gives me a file which is 1mb per minute?
[13:31:13 CEST] <ruby_on_tails> grab.avi is the same video
[13:31:19 CEST] <ruby_on_tails> and the quality of the videos are almost same
[13:31:28 CEST] <ruby_on_tails> 3.5mb vs 1mb is a huge difference
[13:40:56 CEST] <relaxed> ruby_on_tails: the "-vpre medium" syntax means that ffmpeg version is really old
[13:41:59 CEST] <ruby_on_tails> relaxed: i just installed it 2 weeks ago using instructions from a website on my rmbp
[13:42:21 CEST] <ruby_on_tails> well wait
[13:42:24 CEST] <ruby_on_tails> let me check version
[13:42:31 CEST] <ruby_on_tails> maybe that command worked on a different machine
[13:42:51 CEST] <ruby_on_tails> relaxed: i am on ffmpeg 2.6.3
[13:44:40 CEST] <ruby_on_tails> relaxed: i just checked, i have to use -preset instead of -vpre on this new installation
[13:44:50 CEST] <ruby_on_tails> but still the file size is something like that only 3.5mb vs 1mb
[13:45:48 CEST] <[-T-]> hey
[13:45:56 CEST] <[-T-]> anyone using qsv around?
[13:46:30 CEST] <relaxed> ruby_on_tails: if you want a specific size use two pass, or limit the it with -maxrate
[13:47:30 CEST] <ruby_on_tails> relaxed: i dont want a specific size but the quality is almost same
[13:47:37 CEST] <ruby_on_tails> i want to understand why the huge difference?
[13:53:08 CEST] <ruby_on_tails> sorry got disconnected, did i miss anything?
[13:53:33 CEST] <zhanshan> relaxed do I have to choose a pattern type, is that the problem?
[13:55:40 CEST] <c_14> ruby_on_tails: you didn't miss anything. Are you sure they're both linking against the same version of libx264, is there audio in the file? What is your complete console output for both commands?
[13:56:22 CEST] <harisk92> hey guys is it possible to use relative path in output ?
[13:56:26 CEST] <c_14> zhanshan: you need -start_number (I think that's what it was called, it's in the docs)
[13:56:31 CEST] <c_14> harisk92: sure
[13:56:34 CEST] <c_14> Why shouldn't it be.
[13:56:50 CEST] <harisk92> well iam getting error
[13:56:56 CEST] <harisk92> i have folder
[13:56:58 CEST] <harisk92> videos
[13:57:01 CEST] <harisk92> and inside it
[13:57:06 CEST] <harisk92> i have 3 subfolders
[13:57:20 CEST] <ruby_on_tails> c_14: yes there is audio
[13:57:28 CEST] <ruby_on_tails> c_14: running the commands now to compare the outputs
[13:57:31 CEST] <c_14> ruby_on_tails: try encoding without audio. Might be part of it.
[13:58:50 CEST] <harisk92> http://pastebin.com/d2KTi2AL
[13:58:57 CEST] <harisk92> this is my ffmpeg command
[13:59:16 CEST] <relaxed> oh my
[13:59:52 CEST] <c_14> What's the error you're getting? Complete console output in a pastebin please.
[14:00:59 CEST] <harisk92> http://pastebin.com/DbEmnMzP
[14:01:13 CEST] <zhanshan> c_14 that was it, thanks to both of you!
[14:01:58 CEST] <harisk92> c_14
[14:02:09 CEST] <harisk92> I must specify file exstension ?
[14:02:17 CEST] <harisk92> cause that's the problem
[14:02:20 CEST] <c_14> probably
[14:02:30 CEST] <c_14> Otherwise the segment muxer won't know what format to use
[14:02:32 CEST] <relaxed> you don't if you add -f $format
[14:02:42 CEST] <c_14> Though you could use -segment_format
[14:03:08 CEST] <harisk92> relaxed: if I add -f $format will that append .ts to end of my file ?
[14:03:29 CEST] <c_14> harisk92: in your case you already have -f ssegment
[14:03:30 CEST] <relaxed> I think c_14 was right about -segment_format
[14:03:57 CEST] <harisk92> yeah
[14:04:27 CEST] <harisk92> iam trying to get list of chunks from directory via Lua
[14:04:42 CEST] <harisk92> and create playlist on the fly
[14:05:00 CEST] <harisk92> so I tought it would be better without .ts exstension
[14:05:36 CEST] <harisk92> I just need to convert segment name to number and get all segments between two timestamps
[14:05:46 CEST] <harisk92> then create playlist.m3u8
[14:06:17 CEST] <harisk92> hey c_14
[14:06:20 CEST] <BtbN> You know ffmpeg can output to hls?
[14:06:23 CEST] <harisk92> is it possible for ffmpeg
[14:06:46 CEST] <harisk92> BtbN: yeah I know
[14:06:53 CEST] <harisk92> BtbN: but this what I do
[14:07:33 CEST] <harisk92> BtbN: will allow user to watch content from before couple of days
[14:07:42 CEST] <harisk92> BtbN: and between time intervals
[14:08:21 CEST] <harisk92> BtbN: for example you want to watch some tv show that was aired 3 days ago and that was played between 1.00 AM and 1.30
[14:08:56 CEST] <harisk92> c_14: ffmpeg can't create paths on it's own ?
[14:09:05 CEST] <c_14> no
[14:09:46 CEST] <harisk92> ok ty
[14:09:48 CEST] <harisk92> for your help
[14:12:18 CEST] <harisk92> Iam pretty new when it comes to ffmpeg
[14:12:31 CEST] <harisk92> so I apologize for my ignorance
[14:12:36 CEST] <harisk92> and stupid questions
[14:16:21 CEST] <harisk92> shouldn't this testsrc show timestamp not somekind of counter that goes from 0 to xxx ?
[14:53:00 CEST] <bushart> Hello, everyone. I am trying implement ping-pong-loop effect to my video. But i can't make a smooth-gluing to video fragments. What I can be read on this subject?
[15:11:16 CEST] <termos> is there a way of adding a delay of X seconds when streaming a video with ffmpeg?
[16:22:45 CEST] <harisk92> hey guys is this filter ok "drawtext=expansion=strftime:fontfile=/usr/share/fonts/dejavu/DejaVuSerif.ttf:text='%Y-%m-%d %H:%M:%S':fontsize=20:fontcolor=red:x=20:y=20"
[16:23:17 CEST] <harisk92> [Parsed_drawtext_3 @ 0x341b800] Both text and text file provided. Please provide only one
[16:24:02 CEST] <harisk92> Error initializing filter 'drawtext' with args 'expansion=strftime:fontfile=/usr/share/fonts/dejavu/DejaVuSerif.ttf:text=%%Y-%%m-%%d %%H:%%M:%%S:fontsize=20:fontcolor=red:x=20:y=20'
[16:25:33 CEST] <k_sze> Does the perceptual compression of libx264 do anything funky about gamma?
[17:54:50 CEST] <JonG> I am having an issue with my ffmpeg command...: ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex ... [bla1][bla2]overlay=main_w-overlay_w:main_h-overlay_h:format=yuv420[outv] -c:v libx264 -preset ultrafast -b:v 45000k -aspect 1.7777778 -map [outv] -map [a] -c:a libfdk_aac -ac 2 -b:a 128k -t 24 output.mp4 ... I receive an error "Unrecogn
[17:54:50 CEST] <JonG> ized option 'map [outv]'.". I am using: "ffmpeg version git-2015-02-25-b0d3322 Copyright (c) 2000-2015 the FFmpeg developers" with "configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --enable-pic --disable-shared --enable-static --cross-prefix=/home/user/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebu
[17:54:50 CEST] <JonG> ilt/linux-x86_64/bin/arm-linux-androideabi- --enable-cross-compile --sysroot=/home/user/android-ndk-r10d/platforms/android-9/arch-arm/ --extra-cflags='-I../x264 -mfloat-abi=softfp -mfpu=neon -fPIE -pie' --extra-ldflags='-L../x264 -fPIE -pie' --enable-version3 --enable-gpl --disable-doc --enable-yasm --disable-decoders --enable-decoder='mpeg4,aac,h2
[17:54:50 CEST] <JonG> 64,mpegvideo,mpeg1video,mpeg2video,png,mjpeg' --disable-encoders --enable-encoder='mpeg4,aac,h264,libx264,mpeg1video,mpeg2video,png' --disable-parsers --enable-parser='aac,mpeg4video,ac3,h261,h264,vc1,mpegvideo' --disable-demuxers --enable-demuxer='aac,h264,mpegvideo,m4v,mov,vc1,mp4,concat,image2' --disable-muxers --enable-muxer='h264,mpeg1video,mp
[17:54:50 CEST] <JonG> eg2video,m4v,mov,vc1,md5,mp4' --enable-protocols --enable-indev='v4l,v4l2' --disable-filters --enable-filter='aresample,scale,movie,overlay' --enable-avfilter --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-symver --enable-network --enable-libx
[17:54:51 CEST] <JonG> 264 --enable-zlib". Am I missing a configuration option to include map? Where would I find this information of what options are required for the map command? Or is my ffmpeg just too old?
[18:02:29 CEST] <onefix> JonG: What is the issue?
[18:02:57 CEST] <JonG> I receive an error "Unrecognized option 'map [outv]'."
[18:03:19 CEST] <JonG> only on this custom build. The same command seems to work fine on my ubuntu laptop.
[18:03:50 CEST] <onefix> JonG: Are you sure you're using ffmpeg and not avconv?
[18:05:01 CEST] <JonG> onefix: definitely
[18:05:06 CEST] <onefix> ok
[18:12:21 CEST] <JonG> onefix: My version is "ffmpeg version git-2015-02-25-b0d3322 Copyright (c) 2000-2015 the FFmpeg developers" ... I assume that is ffmpeg, not avconv!
[18:12:48 CEST] <hefest> trying to create video from one image: ffmpeg -r 1/30 -i avatar.png -c:v libx264 -r 25 -pix_fmt yuv420p -y out.mp4
[18:19:14 CEST] <JonG> hefest: Does this work for you: ffmpeg -loop 1 -i avatar.png -c:v libx264 -t 10 -y out.mp4 ? http://stackoverflow.com/questions/5887311/ffmpeg-1-image-1-audio-file-1-video
[20:27:41 CEST] <Lencl> hello
[21:32:42 CEST] <Parsec300> Hi people, I can't seem to find how to offset subtitles from an srt file by 4 seconds and have them burnt into the movie. I'm using latest stable compiled version on a Mac from the terminal. I've tried to use -itsoffset, but it doesn't work
[21:33:21 CEST] <Parsec300> ffmpeg -i Input_file.mkv -itsoffset 4 -i subtitles=Subs.srt -f avi -c:v libxvid -b:v 600k -g 300 -vf scale=640:-1 -bf 2 -c:a libmp3lame -b:a 128k output_file_ffmpeg.avi
[21:34:21 CEST] <Parsec300> ffmpeg -i Input_file.mkv -itsoffset 4 -vf subtitles=James.srt -f avi -c:v libxvid -b:v 600k -g 300 -vf scale=640:-1 -bf 2 -c:a libmp3lame -b:a 128k output_file_ffmpeg.avi
[21:34:49 CEST] <Parsec300> Both of those commands don't get the desired result and the documentation isn't getting me anywhere, nor searches on the internet
[21:35:02 CEST] <Parsec300> Does somebody know?
[22:06:08 CEST] <DRAWNBOX> Hello?
[22:06:24 CEST] <DRAWNBOX> So, I tried to ffmpeg and do some conversion
[22:06:44 CEST] <DRAWNBOX> and what I ended up with was not right
[22:06:56 CEST] <Parsec300> I'm not very familiar with ffmpeg, but I will try to help
[22:07:31 CEST] <DRAWNBOX> http://pastebin.com/sZ0iaE4v
[22:07:36 CEST] <DRAWNBOX> That was my command
[22:07:54 CEST] <llogan> you forgot to include the complete console output
[22:08:00 CEST] <llogan> and a description of the issue
[22:08:03 CEST] <DRAWNBOX> oh, sorry about that
[22:08:57 CEST] <DRAWNBOX> http://pastebin.com/LX2JhbJx
[22:09:46 CEST] <llogan> remove profile and pix_fmt
[22:10:34 CEST] <DRAWNBOX> Also for 60 FPS what am I doing wrong?
[22:10:53 CEST] <llogan> nothing that i notice
[22:11:01 CEST] <DRAWNBOX> The output said 12
[22:11:10 CEST] <DRAWNBOX> console*
[22:11:25 CEST] <llogan> that was how fast it was encoding at that time
[22:11:30 CEST] <DRAWNBOX> oh. ok
[22:12:03 CEST] <llogan> if you want to view the output in non-FFmpeg based players then add -pix_fmt yuv420p.
[22:12:26 CEST] <llogan> if you are presenting the video via progressive download then add "-movflags +faststart"
[22:12:36 CEST] <llogan> (both as output options)
[22:13:09 CEST] <llogan> and you can probably get away with -crf 18, or maybe 17
[22:13:16 CEST] <DRAWNBOX> The video that it makes isn't right
[22:13:36 CEST] <DRAWNBOX> well, it looks like it took the average color of the frame or something
[22:14:04 CEST] <DRAWNBOX> nvmd
[22:14:09 CEST] <DRAWNBOX> just the player I used
[22:16:53 CEST] <DRAWNBOX> Thanks
[22:17:28 CEST] <llogan> if you don't mind the wait you can use a slower -preset than the default
[22:18:35 CEST] <DRAWNBOX> Nahhh
[22:20:59 CEST] <DRAWNBOX> Are there any video formats that do transparency?
[22:21:00 CEST] <DRAWNBOX> Or will I need to do some green screen type thing?
[22:21:16 CEST] <JEEBsv> usually stuff that is used in the middle in production or so
[22:21:38 CEST] <JEEBsv> nothing you'd use for final distribution
[22:24:53 CEST] <Parsec300> Hi llogan and JEEBsv, any ideas for my problem?
[22:24:56 CEST] <Parsec300> http://pastebin.com/fg2p8Ruv
[22:25:14 CEST] <llogan> you forgot the complete console outputs
[22:25:24 CEST] <llogan> as per tradition, apparently
[22:26:12 CEST] <Parsec300> Well, there isn't an error associated with it, other than the subtitles not being present in the movie or not in sync with the audio
[22:26:41 CEST] <llogan> how do we know if you're not using a version from 2004?
[22:28:56 CEST] <Parsec300> http://pastebin.com/SMRs9XJ5
[22:31:59 CEST] <Parsec300> The other one does create an error: http://pastebin.com/mjmyvmAi
[22:32:02 CEST] <llogan> i don't think subrip can go into avi, and that's why the subtitle stream wasn't mapped by default, but I'm not much of a subtitles user.
[22:33:35 CEST] <Parsec300> But without the --itsoffset in the second paste, it does work, but then subtitles are about 4 seconds early
[22:35:06 CEST] <llogan> i don't know. maybe the timing is off in the srt file
[22:36:05 CEST] <llogan> and itsoffset is not an output option
[22:46:19 CEST] <Parsec300> Perhaps I could adjust the srt
[22:50:11 CEST] <Parsec300> llogan, thanks for trying
[22:58:27 CEST] <DRAWNBOX> Another question
[22:58:44 CEST] <DRAWNBOX> From what I understand avi has alpha channels
[22:58:58 CEST] <BtbN> avi has nothing, avi is a container.
[22:59:05 CEST] <DRAWNBOX> oh
[22:59:29 CEST] <DRAWNBOX> another question
[22:59:57 CEST] <DRAWNBOX> Is there a pixel format I am supposed to use for alpha channel?
[23:00:36 CEST] <BtbN> video codecs usualy don't support alpha channels
[23:00:39 CEST] <BtbN> h264 definitely doesn't
[23:01:24 CEST] <BtbN> For WebM/VP8 there seems to be some support, but no idea how common it is
[23:01:56 CEST] <DRAWNBOX> Well, Im gonna be throwing this in a video editor
[23:02:00 CEST] <BtbN> There aparently is support for it in ffmpeg though
[23:02:54 CEST] <BtbN> utvideo is propably best then, no quality loss, supports an alpha channel
[23:04:12 CEST] <DRAWNBOX> So would my command be ffmpeg -framerate 60 -i Intro%04d.png -c:v utvideo -profile:v main -crf 15 -pix_fmt yuv444p Intro.mp4
[23:04:27 CEST] <BtbN> yuva or something like that
[23:05:01 CEST] <BtbN> And check if your editor even supports it
[23:06:19 CEST] <DRAWNBOX> Whats the extension?
[23:06:40 CEST] <DRAWNBOX> Its not very many frames I need converted
[23:06:57 CEST] <BtbN> no idea which container supports utvideo.
[23:07:09 CEST] <DRAWNBOX> im just gonna look it up
[23:07:10 CEST] <BtbN> ffmpeg will propably tell you if the one you use doesn't
[23:09:42 CEST] <llogan> just do "-c:v utvideo output.avi" and get rid of the other option opions.
[23:09:50 CEST] <llogan> *output options
[23:11:12 CEST] <DRAWNBOX> no support for utvideo
[23:11:16 CEST] <llogan> if you're in windows, install utvideo so yuor editor can use it. http://umezawa.dyndns.info/archive/utvideo/?C=M;O=D
[23:11:35 CEST] <voltagex> Hi - why can't I convert dvb_teletext/subtitles to srt? http://sprunge.us/EXIO
[23:20:17 CEST] <llogan> voltagex: your build probably needs libzvbi for teletext support
[23:20:38 CEST] <voltagex> blah. I still haven't been able to build on Windows
[23:20:41 CEST] <voltagex> thanks though
[23:21:42 CEST] <llogan> you can request zeranoe to do add it
[23:22:06 CEST] <voltagex> was requested in 2013
[23:45:41 CEST] <rehunted> pkzxa7bd
[23:53:25 CEST] <anoop_r> hi
[23:53:36 CEST] <anoop_r> how to fork and rename ffmpeg ?
[00:00:00 CEST] --- Wed Jun 10 2015
More information about the Ffmpeg-devel-irc
mailing list