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

burek burek021 at gmail.com
Fri May 29 02:05:01 CEST 2015


[00:00:05 CEST] <DelphiWorld> why its using high profile?
[00:00:09 CEST] <DelphiWorld> my default profile is main
[00:00:12 CEST] <DelphiWorld> the source profile
[00:00:18 CEST] <DelphiWorld> is it normal to do it in high?
[00:00:54 CEST] <chungy> You explicitly put it in high profile?
[00:01:05 CEST] <DelphiWorld> no
[00:01:10 CEST] <DelphiWorld> this command did it auto:
[00:01:15 CEST] <DelphiWorld> ffmpeg -i '20150527 2000 - Al Jazeera HD - JSC.ts' -c:a libfdk_aac -profile:a aac_he_v2 -b:a 96k -ar 44100 -c:v h264 -crf 25 -preset ultrafast -vf scale=-1:720 -tune film jsc1.mp4
[00:02:32 CEST] <chungy> you mean for h264? maybe it is
[00:02:45 CEST] <DelphiWorld> yes for h264
[00:03:15 CEST] <chungy> I suppose you can change it with -profile:v if you want :P
[00:03:19 CEST] <DelphiWorld> ok i see it in baseline
[00:03:32 CEST] <DelphiWorld> dude
[00:03:36 CEST] <DelphiWorld> -tune film
[00:03:39 CEST] <DelphiWorld> what's this twick?
[00:04:24 CEST] <c_14> It lets x264 optimize for a certain type of content.
[00:04:27 CEST] <c_14> In this case film content.
[00:04:36 CEST] <DelphiWorld> i see
[00:04:39 CEST] <DelphiWorld> awesome
[00:04:43 CEST] <DelphiWorld> any other content type?
[00:05:03 CEST] <chungy> film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency
[00:05:23 CEST] <DelphiWorld> :P
[00:05:25 CEST] <chungy> see x264 --fullhelp
[00:06:14 CEST] <DelphiWorld> chungy: dude, you teached me today something good
[00:06:17 CEST] <DelphiWorld> -ss and -t
[00:07:59 CEST] <edoardo> hello
[00:08:17 CEST] <edoardo> i'm using ffmpeg to play an audio file to pulseaudio
[00:08:41 CEST] <edoardo> however, the decoding is too fast and the audio is cut prematurely because ffmpeg exits
[00:08:50 CEST] <edoardo> how can i limit it?
[00:09:08 CEST] <c_14> -re as an input option
[00:10:24 CEST] <DelphiWorld> c_14: remember the issue of yuv420P?
[00:10:37 CEST] <DelphiWorld> c_14: i want the "tv" filter like the original source, remember it?
[00:11:49 CEST] <c_14> You mean the colormatrix?
[00:12:31 CEST] <DelphiWorld> c_14: dude, exactly... :P
[00:13:23 CEST] <DelphiWorld> how to aply it?
[00:14:06 CEST] <c_14> I think you need to use the colormatrix filter with dst=bt709
[00:14:28 CEST] <DelphiWorld> ffmpeg -re -i '20150527 2000 - Al Jazeera HD - JSC.ts' -c:a libfdk_aac -profile:a aac_he_v2 -b:a 96k -ar 44100 -c:v h264 -crf 25 -preset ultrafast -r 29.97 -vf scale=-1:720 -tune film jsc1.mp4
[00:14:35 CEST] <DelphiWorld> how to add it with the current filter?
[00:14:40 CEST] <DelphiWorld> i never use video filter so i'm confused
[00:15:17 CEST] <c_14> hmm, you can probably just use -vf scale=-1:720:out_color_matrix=bt709
[00:17:39 CEST] <DelphiWorld> c_14: no diference, but nevermind
[00:17:41 CEST] <DelphiWorld> dont need it
[00:39:40 CEST] <llogan> what's with his -re usage? must enjoy slow encoding.
[00:43:27 CEST] <kimiko_0> allo?
[00:46:10 CEST] <kimiko_0> can anyone help me figure out how to have the ass filter accept a matroska video?
[00:46:25 CEST] <c_14> it doesn't, use the subtitles filter
[00:51:03 CEST] <kimiko_0> wow, it finally worked. thanks a lot ^_^
[01:30:05 CEST] <animax> hi all. after dealing with ffmpeg for a while now I wonder if the following combination of commands is a good general choice for encoding png sequences in the future: http://www.pasteall.org/58683
[01:30:06 CEST] <animax> is there something missing? or too much? do I have to set a preset option like '-preset slow' additionally?
[01:32:47 CEST] <c_14> medium is the default
[01:32:59 CEST] <c_14> you might want to explicitly set -c:v libx264 though
[01:39:56 CEST] <animax> c_14: I found out that ffmpeg chooses libx264 by itself when I set .mp4 format as output.
[01:40:51 CEST] <c_14> If you have libx264 support compiled in, yes. I just think it's better to have that in the commandline so that if something changes you aren't surprised and always know what's happening.
[01:44:44 CEST] <animax> c_14: I use the official windows static build from ffmpeg.org. libx264 appears in list when I call ffmpeg in the windows command line tool. does this mean that my version is compiled with libx264?
[01:44:58 CEST] <c_14> yes
[01:48:33 CEST] <animax> ok. and concerning the -preset option I can add the '-preset medium' option to the -crf? preset and crf don't get each other in the way?
[01:48:59 CEST] <c_14> It won't get in the way. medium is default though.
[01:49:35 CEST] <animax> sp the preset overwrites the crf?
[01:49:41 CEST] <c_14> no
[01:49:46 CEST] <c_14> preset and crf work together
[01:49:54 CEST] <animax> ok.
[01:50:04 CEST] <c_14> crf specifies visual quality, preset specifies how hard the encoder will work to compress the image
[01:50:17 CEST] <animax> fine.
[02:04:51 CEST] <animax> c_14: can I use exactly the same commands if I have lets say a video encoded with lossless HuffYUV codec as input?
[02:05:09 CEST] <c_14> sure
[02:05:18 CEST] <animax> ok.
[02:09:47 CEST] <animax> c_14: if I don't set the profile option ffmpeg chooses the 'high predicitve 4:4:4' profile instead of 'high'. is that a disadvantage in relation to the latter one?
[02:10:18 CEST] <animax> predictive ...
[02:14:21 CEST] <c_14> It just supports more features. The usual thing to do is pick the highest one that your target player/hardware supports.
[02:25:23 CEST] <animax> for the time beeing the usage probably will stick to youtube and embedding videos to websites. it's all about animations. the input usually is a sequence of images rendered with a 3d application.
[02:34:14 CEST] <animax> ok. probably the high profile is efficient. blender does render videos with it. big thx and good night.
[09:29:28 CEST] <chama> Hi,  I'm having an issue with finding the video duration after slowing down a part of the video.
[09:29:58 CEST] <chama> how can i calculate the duration after slowing down?
[10:38:12 CEST] <top_4> Hello everyone,
[10:38:12 CEST] <top_4> I'm creating a mix of 3 files via amix. The problem is that the outputfile is significantly quieter than expected. I guess it's because it uses normalization to avoid clipping. This is my CLI http://pastebin.com/srVLTQHU . If it's quieter because of normalization, I would like to know if there is a way to mix the files using dynamic range compressi
[10:38:12 CEST] <top_4> on?
[10:40:09 CEST] <Mavrik> perhaps add compand filter at the end of the chain?
[10:44:46 CEST] <top_4> thx Mavrik ... i'm about to try that
[11:51:42 CEST] <chama1> Hi, I'm having a problem with calculating the duration of a video after applying slomotion to part of a video
[11:52:19 CEST] <chama1> here is the complete issue
[11:52:20 CEST] <chama1> http://superuser.com/questions/920615/find-video-duration-after-applying-slow-motion
[12:54:16 CEST] <kadyr> hello, I want to build ffmpeg on solaris wih statically linked libopenjpeg
[12:54:47 CEST] <kadyr> could anyone give any headlines?
[12:59:27 CEST] <cehoyos> kadyr: What did you try, how did it not work?
[13:04:03 CEST] <kadyr> i have successfully built ffmpeg with --enable-libopenjpeg, but this leaves me with ffmpeg dependant on libopenjpeg.so file
[13:05:48 CEST] <kadyr> http://pastebin.com/QSyJ5JAf
[13:06:06 CEST] <kadyr> it's the output of my ffmpeg build configuration
[13:22:30 CEST] <cehoyos> kadyr: Doesn't this just mean you have a symlink libopenjpeg.so in your library path that points to a libopenjpeg.so.1.2.3? If you remove the symlink libopenjpeg.so (temporarily or not), then a static libopenjpeg.a will be used: Only if it is available of course...
[13:22:57 CEST] <cehoyos> ... will be used at link time (ie rm ffmpeg_g ffmpeg && make ffmpeg)
[13:23:54 CEST] <cehoyos> Unrelated: Is "--target-os=sunos" needed? It should not be needed, and there is a bug we don't know about if it is needed.
[13:53:26 CEST] <Femtox> Hey there. I need to add a ~10sec intro.mov video in front of that layered jpg video and it should get faded out into the pictures on its last second.
[13:53:30 CEST] <Femtox> ffmpeg  -loop 1 -framerate 1 -i bg.jpg  -framerate 1 -i fg.jpg -i audio.m4a -filter_complex "overlay=(W-w)/2:,format=yuv420p" -c:v libx264 -r 18 -preset slower -tune stillimage -c:a copy -movflags +faststart out.mp4
[13:54:09 CEST] <Femtox> I allready stumbled around in documentations and forums and i have also tried a lot, but i wasnt able to accomplish it right, yet. So, any help would be appreciated.
[15:35:01 CEST] <RecordingGames> Hello
[15:35:11 CEST] <RecordingGames> can someone look into what any of these messages mean
[15:35:30 CEST] <RecordingGames> and what would be the best settings for recording my second monitor while gaming
[15:35:32 CEST] <RecordingGames> http://pastebin.com/T6F0mite
[15:35:34 CEST] <RecordingGames> thank you
[15:35:50 CEST] <RecordingGames> every time I try its either laggy video
[15:35:53 CEST] <RecordingGames> broken audio
[15:36:01 CEST] <RecordingGames> seeking is b0rked
[15:36:18 CEST] <RecordingGames> or if I use the .ogg format pixelated to no tomorrow
[15:37:04 CEST] <klaxa|work> it might be a slow disk
[15:37:16 CEST] <klaxa|work> have you tried doing test recordings at lower resolutions?
[15:44:42 CEST] <RecordingGames> So you think I would get better preformance on a faster harddrive or SSD
[15:45:07 CEST] <RecordingGames> I need to record my whole screen how do I lower the resolution while capturing the whole area?
[15:48:34 CEST] <gr1sha> where should I ask about problems I'm having with sw_scale ?
[16:14:09 CEST] <klaxa|work> RecordingGames: you can try to see if recording a smaller section of your screen gets rid of the errors (because of lower throughput to the disk)
[17:15:33 CEST] <LordyLord> Hi -  trying to transcode
[17:15:33 CEST] <LordyLord> 128kbps MP3 stream to 48kbps AAC
[17:16:45 CEST] <LordyLord> This is the best I can do so far:
[17:16:47 CEST] <LordyLord> user at machine:~# ~/bin/ffmpeg -user-agent 42 -i http://example1.com:8002/stream.mp3 -c:a libfdk_aac -ar 44100 -ab 48k icecast://username:password@example2.com:8099/stream.aac -v debug
[17:17:18 CEST] <LordyLord> Changed a few detaiuls for privacy/security
[17:17:22 CEST] <LordyLord> The command proceeds with no obvious error and completes with this:
[17:17:45 CEST] <LordyLord> icecast://username:password@example2.com:8099/stream.aac: End of file [AVIOContext @ 0x3686240] Statistics: 131600 bytes read, 0 seeks
[17:18:03 CEST] <LordyLord> No AAC stream is generated.
[17:18:06 CEST] <LordyLord> Any ideas?
[17:30:17 CEST] <dsl420> no idea, but why to run ffmpeg as root?
[17:39:42 CEST] <Mavrik> LordyLord, is your source icecast as well? Maybe you need to tell ffmpeg that
[17:39:48 CEST] <Mavrik> Since Icecast isn't really vanilla HTTP
[18:26:24 CEST] <LordyLord> dsl420 - why run ffmpeg as root? Just laziness - I'm logged in as root
[18:31:57 CEST] <dsl420> hmm, a bad habit
[18:36:40 CEST] <rjp421> google io 2015 is live https://www.youtube.com/watch?v=7V-fIGMDsmE
[19:46:33 CEST] <LordyLord> dsl420 - how could you tell I was running it as root?
[19:51:37 CEST] <animax> hi all. what would be the best command for encoding a lossless video out of png sequences in order to preparate for post production/compositing in an video editing application like blenders vse or adobe after effects? I'm working on windows 7 ultimate 64bit and want to use libx264 for encoding.
[19:51:52 CEST] <animax> I know that ffmpeg chooses 25 fps by default. that's ok. but is the yuv444p format and the 'High 4:4:4 Predictive' profile ok as well or should I set the yuv420p format and the 'High' profile by setting the appropriate commands? and should i define a preset like '-preset medium' or 'preset slow'?
[19:52:08 CEST] <animax> my consideration: http://www.pasteall.org/58693.
[19:53:10 CEST] <ub_umstieg> hi all im a little confused * Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) can i just copy the video stream to the mp4 output or do i need to  -c:v libx264
[19:53:52 CEST] <ub_umstieg> can i do just -c:v bopy and it will work
[19:54:22 CEST] <JEEBsv> animax: you mention a proprietary thing so I'd say stay away from the better features of x264, as those are not supported. if you want a quickly editable format that has plugins for all major multimedia frameworks I'd say go for Ut Video
[19:54:29 CEST] <JEEBsv> it's intra-only and lossless only
[19:54:31 CEST] <JEEBsv> it's simple
[19:54:51 CEST] <ub_umstieg> the audio is a (mp2 (native) -> aac (libfdk_aac)) so i guess i need to transcode anyway
[19:54:52 CEST] <JEEBsv> I mean, it will take more space but you shouldn't have to guess if you can decode it or not in your adobe or whatever editor
[19:55:31 CEST] <JEEBsv> after that you just pick if you want to do your editing in YCbCr or RGB
[19:55:54 CEST] <JEEBsv> your final output will most probably be YCbCr 4:2:0 because that's what clients can decode, but it's up to you what does that conversion and so forth
[19:56:04 CEST] <Mavrik> uh, ok, so stupid question
[19:56:16 CEST] <Mavrik> PCR ... clock of _what_ is it?
[19:56:52 CEST] <JEEBsv> Mavrik: ugh, now I have to go to my other machine and check where I had my MPEG-2 Systems saved...
[19:57:08 CEST] <Mavrik> yeah, since here I have a stream where the muxer stamps packets with PCR based on DTS
[19:57:20 CEST] <Mavrik> and DVB-C restreamer is of opinion that that sucketh.
[19:59:23 CEST] <JEEBsv> also this gives me a good moment to copy all of my specs onto this desktop as I now use it most of the time >_>
[20:02:49 CEST] <animax> JEEBsv: Blender offers the HuffYUV codec. maybe I can use this as well then? or is ffmpeg with UT Video the better choice?
[20:03:27 CEST] <JEEBsv> animax: huffyuv is a similar format but you have less support for it across multimedia frameworks
[20:03:47 CEST] <JEEBsv> blender should be able to decode ut video as well (and possibly encode) if you have a new enough libavcodec
[20:04:10 CEST] <JEEBsv> the decoder was 2011 (?) and I made the lavc encoder implementation in 2012
[20:05:41 CEST] <JEEBsv> Mavrik: I love the initial definition
[20:05:56 CEST] <JEEBsv> 2.1.60  program clock reference (PCR) (system): A time stamp in the transport stream from which decoder timing is derived.
[20:06:47 CEST] <JEEBsv> Synchronization of a decoding system with a channel is achieved through the use of the SCR in the program stream and
[20:06:50 CEST] <JEEBsv> by its analogue, the PCR, in the transport stream. The SCR and PCR are time stamps encoding the timing of the bit
[20:06:53 CEST] <JEEBsv> stream itself, and are derived from the same time base used for the audio and video PTS values from the same program.
[20:10:01 CEST] <animax> JEEBsv: I don't know how blender would use ut video. can you give me a source on the web where I can get good information about encoding with ut video?
[20:10:37 CEST] <Mavrik> hrmpf
[20:10:41 CEST] <JEEBsv> animax: it uses lavc to encode and decode video as far as I know
[20:10:51 CEST] <JEEBsv> it can probably use VFW on windows as well
[20:11:10 CEST] <JEEBsv> animax: -c:v utvideo and the pix_fmt of your choice
[20:11:24 CEST] <JEEBsv> also there's the prediction mode but IIRC I put a sane one by default
[20:11:58 CEST] <JEEBsv> for the other frameworks there's the original creator's plugins
[20:13:08 CEST] <JEEBsv> oh, ok. libavcodec has some default and that's what we use by default
[20:14:09 CEST] <animax> pardon. I'm absolut beginner. can't follow the meaning of your last 3 sentence.
[20:15:25 CEST] <JEEBsv> ah yes, by looking at the tests I re-found-out the way to set the prediction mode
[20:15:53 CEST] <JEEBsv> -pred median should set the best compression mode for most content that is not somehow specifically good for simpler things
[20:16:14 CEST] <JEEBsv> so -c:v utvideo and -pred median and the pix_fmt you want to use :P
[20:17:42 CEST] <animax> JEEBsv: the pix_fmt doesn't matter?
[20:18:10 CEST] <JEEBsv> it's limited to a few, of course. but the main ones are available :P
[20:18:18 CEST] <JEEBsv> rgb, 4:2:0 to mention two
[20:18:26 CEST] <JEEBsv> http://umezawa.dyndns.info/wordpress/?p=5514
[20:18:38 CEST] <JEEBsv> ^the latest original ut video for various media frameworks
[20:18:43 CEST] <JEEBsv> (OS X, Windows etc)
[20:18:51 CEST] <animax> I mean I want to retain the best quality as long it is possible in order to get the best quality at the end of the chain.
[20:19:17 CEST] <animax> that's because I'm asking concerning the pix-fmt.
[20:19:33 CEST] <JEEBsv> if your filters go to RGB in the middle of it then sure, use RGB here and let your editor do it at the end or whatever
[20:21:38 CEST] <ub_umstieg> ok i got my problem solved copy the video strewam is enoph to get it by vlc on a samsung to wor k
[20:23:23 CEST] <animax> JEEBsv: what shall I do with that site you posted? I cannot read anything there ... :-(
[20:23:56 CEST] <animax> JEEBsv: ok
[20:24:02 CEST] <animax> I got it ...
[20:24:38 CEST] <JEEBsv> animax: if you need a Ut Video encoder/decoder combo for other multimedia frameworks, the Windows / Mac OS X downloads are for you
[20:26:49 CEST] <JEEBsv> animax: for windows I think I recommend AVI as the container, since most video editors work with it via VFW
[20:35:12 CEST] <animax> JEEBsv: just have to install it and then I can access over ffmpeg cli?
[20:35:35 CEST] <JEEBsv> no, ffmpeg is unrelated
[20:35:41 CEST] <JEEBsv> I mean you mentioned adobe editor :P
[20:35:57 CEST] <JEEBsv> the original packages are there to enable integration to those
[20:36:22 CEST] <JEEBsv> since most if not all editors use Video For Windows, which is one of those frameworks that umezawa implemented
[20:41:00 CEST] <animax> ähm ok. I don't have experinece with after effects yet. first I would work with blenders editor. is the codec accessable in blender when I have installed it?
[20:41:27 CEST] <JEEBsv> if blender has a new enough libavcodec available for it, it should work out-of-box
[20:41:54 CEST] <animax> the way that it is listed in the encoding panel for example?
[20:42:24 CEST] <animax> I use the official build from blender.org.
[20:42:33 CEST] <JEEBsv> I was mostly talking of decoding in this case, but of course it could be accessible for encoding as well
[20:42:39 CEST] <JEEBsv> no idea what version of lavc they use to be honest
[20:42:46 CEST] <animax> does it contain the newest libavcodec then?
[20:42:52 CEST] <animax> ok.
[20:42:55 CEST] <JEEBsv> or if they just --disable-everything and enable a couple of formats specifically
[20:43:04 CEST] <JEEBsv> anyways, if it's newer or as new as 2012 it should be OK
[20:43:16 CEST] <JEEBsv> because at that point both deocding and encoding should be there
[20:43:35 CEST] <animax> have to take a look at.
[20:48:13 CEST] <animax> sorry. maybe I can't grasp a thing here. I took a look at blenders encoding panel now and there is no ut video codec available.
[20:48:39 CEST] <JEEBsv> various reasons possible for that
[20:49:02 CEST] <JEEBsv> 1) too old lavc 2) they disable ut video in their binaries 3) ut video is just not available in their menus via lavc
[20:49:20 CEST] <JEEBsv> if they have "VFW codecs" available you can use that of course
[20:49:39 CEST] <JEEBsv> just like you'd use a vfw encoder or decoder in a proprietary encoder
[20:51:09 CEST] <JEEBsv> no bug report about that at least so you could poke the blender guys
[21:09:56 CEST] <animax> ok. so my résumé. when I have after effects available I will install ut video and then I have the possibility to encode the png sequences inside after effects and do the editing. for the time beeing I will stick to blender. so the HUFFyuv codec will be fine. I just had the hope that I can achieve a better compression and smaller file size with ffmpeg. did I get something wrong?
[21:10:48 CEST] <JEEBsv> I thought you wanted to encode stuff with ffmpeg and then open it in editors?
[21:11:39 CEST] <JEEBsv> also I recommend you pester the blender folk to enable ut video in their stuff given that it is supported relatively widely
[21:13:11 CEST] <animax> 'encode stuff with ffmpeg and then open it in editors'. yes that's I wanted to do.
[21:13:44 CEST] <JEEBsv> did you check if blender can open stuff encoded in ut video?
[21:13:58 CEST] <JEEBsv> ffmpeg -i hurr.png -c:v utvideo out.avi should create a single frame
[21:14:24 CEST] <JEEBsv> and if it doesn't, does it work via VFW after you install the VFW dec/enc thing from umezawa?
[21:14:28 CEST] <animax> no. with which app shall I encode? you said ffmpeg is not possible.
[21:14:33 CEST] <JEEBsv> what
[21:14:44 CEST] <JEEBsv> you have misread what I have said
[21:15:50 CEST] <animax> you wrote ffmpeg is 'unrelated'
[21:16:48 CEST] <JEEBsv> < JEEBsv> no, ffmpeg is unrelated (to the umezawa's original ut video package[s])
[21:16:50 CEST] <animax> I asked you if I can access ut video over ffmepg.
[21:17:02 CEST] <JEEBsv> no, you asked if it will work after you install umezawa's stuff
[21:17:12 CEST] <JEEBsv> and I answered that those are completely unrelated
[21:17:25 CEST] <animax> and how can I access ut video over ffmepg?
[21:17:56 CEST] <JEEBsv> < JEEBsv> so -c:v utvideo and -pred median and the pix_fmt you want to use :P
[21:18:17 CEST] <JEEBsv> ffmpeg -i input -c:v utvideo -pred median out.avi should work :P
[21:18:22 CEST] <animax> so it's already implemented in ffmpeg?
[21:18:31 CEST] <JEEBsv> yes, it's my name on top of utvideoenc.c
[21:18:49 CEST] <animax> omg
[21:19:34 CEST] <JEEBsv> also I kind of kept saying that decoding was implemented in ~2011 and encoding in (sept or so) 2012
[21:19:45 CEST] <JEEBsv> lavc is part of ffmpeg/libav, "libavcodec"
[21:19:52 CEST] <JEEBsv> which is used by blender, among other pieces of software
[21:20:24 CEST] <animax> the umezawa stuff is just for proprietary apps like after affects and so?
[21:20:42 CEST] <JEEBsv> it's for stuff that doesn't use lavc
[21:20:50 CEST] <JEEBsv> and supports those OS frameworks
[21:21:52 CEST] <JEEBsv> if blender has a too old lavc for even to have decoding, then I wouldn't be surprised if it as well supports the VFW framework :P
[21:25:40 CEST] <animax> what do you mean with 'framework'?
[21:26:23 CEST] <JEEBsv> a usually operating system specific way of accessing whatever, in this case video and audio decoding and encoding. Windows has at least three of these currently
[21:26:27 CEST] <JEEBsv> VFW, DS and MF
[21:42:58 CEST] <animax> mh, result in blender with HuffYUV has five times the bitrate, 6 times the size then ffmepg with ut video and uses an other color space (bgra).
[21:43:37 CEST] <animax> just a short test.
[21:44:05 CEST] <animax> 75 PNGs 674x200.
[21:44:56 CEST] <animax> I used 'ffmpeg -i Test_%04d.png -c:v utvideo -pred median -pix_fmt yuv420p out_01.avi'
[21:45:07 CEST] <animax> can I optimize it further more?
[21:45:21 CEST] <JEEBsv> nope, it's a simple format and all
[21:45:37 CEST] <animax> container must be avi?
[21:45:44 CEST] <JEEBsv> on windows that's your bet
[21:45:56 CEST] <JEEBsv> that way you can keep it compatible with various editors
[21:45:56 CEST] <animax> not mkv?
[21:46:00 CEST] <JEEBsv> uhh
[21:46:35 CEST] <animax> I won't encounter limitations with avi? pardon, noob ...
[21:47:03 CEST] <animax> mp4?
[21:47:08 CEST] <BtbN> flv!
[21:47:41 CEST] <JEEBsv> it has the obvious limitations of only supporting constant frame rate and not supporting b-pictures properly but it's what VFW supports. so if you want to open it in editors on windows it's pretty much AVI :P
[21:47:46 CEST] <animax> BtbN: ok, I guess you are joking.
[21:48:16 CEST] <BtbN> flv is a quite nice format, and i hate that mp4 got so popular, it's awefull. Bot for compatiblity it's propably not ideal.
[21:48:24 CEST] <JEEBsv> it's not specified in matroska or mp4 as far as I know, although it's kind of specified in mov (which is what the QuickTime component exports/reads)
[21:48:43 CEST] <JEEBsv> no idea if that mapping is supported in lavf
[21:49:25 CEST] <JEEBsv> (you can stick anything you can stick in AVI in matroska due to the VFW compatibility mode, but you're pretty much throwing all of the modernities of the container out of the window at that point)
[21:49:54 CEST] <JEEBsv> (also it still doesn't change the fact that for VFW you need AVI, and most video editors will only read Ut Video through VFW)
[21:50:20 CEST] <JEEBsv> (or more like, I mean they read everything through it that they don't happen to have a proprietary plugin for)
[21:58:23 CEST] <animax> well I tought that AVI was absolutely outdated and shouldn't be used anymore. or does this statement refer to the codec?
[22:00:07 CEST] <JEEBsv> AVI is old and all. its biggest issues are: no timestamps per-sample (instead you have a single frame rate over the whole clip) and because of lack of timestamps the inability to handle stuff like b-pictures which are often used in lossy coding
[22:00:37 CEST] <JEEBsv> in other words, it's not the best but the VFW framework just doesn't support anything else and for lossless intermediates you generally just have a single frame rate :P
[22:03:01 CEST] <JEEBsv> I think blender probably could read up whatever lavf and lavc can read up together as long as there are no retarded limitations put in their use of these libraries, or if the libraries are only built with a limited feature set. But that's not the case with commercial editors where the only way to load something not supported out of box is VFW :P
[22:28:47 CEST] <animax> ok. new résumé. I take my PNGs, feed them to ffmpeg, encode them with ut video. container: avi. the b-frames and frame rate issues don't matter because the format is lossless. Blender accepts the ut video format (I made a test). this way I can edit video file in blenders vse. in the end I take my edited "ut video avi" file and feed it into ffmpeg to convert to mp4 with libx264. finish. the...
[22:28:49 CEST] <animax> ...same thing with after effects. the latter will accept the lossless ut video file as well. after editing I encode with libx264 in ffmepg.
[22:30:57 CEST] <JEEBsv> sounds good
[22:36:58 CEST] <animax> ok. big thx. do you think I have access to all editing options in after effects and vse using this codec?
[22:42:04 CEST] <animax> think so.
[22:42:15 CEST] <animax> thank you and good night.
[23:05:57 CEST] <bbloom_> is there a way to force an encoder to produce an output packet?
[23:06:34 CEST] <bbloom_> that is, i call encode and got_packet is false, but i want to somehow flush the encoder to get a packet
[23:06:46 CEST] <bbloom_> is that even a sane thing to do? if not, why? thanks!
[23:13:35 CEST] <BtbN> There is a flush function
[23:14:23 CEST] <bbloom_> it doesn't return a packet - but i just saw the note about giving a null frame to the encode function, so i'm trying that
[00:00:00 CEST] --- Fri May 29 2015


More information about the Ffmpeg-devel-irc mailing list