[00:23] <undercash> hello [00:23] <undercash> having a weird issue, i wanted to burn subtitle .srt, so i compiled with libass,. so far so good [00:24] <undercash> but it only display the first sentence then nothing [00:24] <undercash> it s kinda weird.. [00:27] <undercash> http://gyazo.com/db3303aa9e8253459d9e57eba157b106 [00:34] <Kapsel> hi, I'm trying to use ffmpeg to extract video frames from an ARRI Alexa video camera, as PNG's, and then use oiiotool (opencolorio) to apply a color conversion LUT to them, and write it back to an H264. But I see some color shifting, when writing the initial PNG frames, I guess its because ffmpeg reads the data as one color space, and then converts it. any ideas on how to solve rthis? [00:35] <Kapsel> https://sites.google.com/site/openimageio/ this is the tool that I am using [00:36] <Kapsel> works extremely well [00:36] <Kapsel> and converts an absolutely perfect color correct frame, but again, the colors drifts slightly when exporting to png from ffmpeg [00:37] <klaxa> Kapsel: i think you are right, default colorspace for h264 is yuv and not rgb [00:38] <Kapsel> yep, but this happens even when I do my source -> rgb [00:38] <alesan> can h264 support RGB at all? [00:38] <Kapsel> if I compare the PNG's with PNG's taht I export from another program, they differ slightly in colors [00:38] <Kapsel> err, source -> png [00:38] <klaxa> alesan: there is libx264rgb at least... [00:39] <klaxa> >H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_vdpau ) (encoders: libx264 libx264rgb ) [00:39] <alesan> hm [00:41] <klaxa> Kapsel: i have not completely understood your work-chain [00:41] <klaxa> so you have a video-file [00:41] <klaxa> then you extract one rgb frame from that [00:41] <klaxa> apply a color filter [00:41] <klaxa> and add it to an h264 stream with ffmpeg [00:42] <klaxa> the resulting stream does not look like the png you exported from your source video? [00:42] <Kapsel> klaxa: sorry. My video file is a ProRes 4444 file, that I extract to PNG's. Then I run them over oiiotool, a program that applies a color LUT, write them to a new file, and then I encode an H264 with ffmpeg. when I do the first source -> png, the colors shifts compared to if I do the same frame with my other software, DaVinci Resolve [00:43] <Kapsel> the DaVinci Resolve extracted PNG is totally accurate, but my ffmpeg PNG is different. [00:43] <Kapsel> I came across this thread, when searching: http://blenderartists.org/forum/showthread.php?209240-Lut-Support-in-Blender... [00:43] <Kapsel> Someone mentions this: [00:43] <Kapsel> ffmpeg -i input -sws_flags lanczos+full_chroma_int+full_chroma_inp+accurate_r nd -f image2 output%05d.png [00:43] <Kapsel> this command extracts to 550d footage to using full range levels 1-254. [00:43] <Kapsel> but I am not sure if those parameters matters in my case. [00:46] <klaxa> so if you are using DaVinci Resolve to extract the frames from the ProRes 4444 file, it's perfect, but if you use ffmpeg, the colors are off? [00:46] <Kapsel> yeah [00:47] <undercash> well sorry, works perfectly.. was just the wrong sub file..... [00:50] <klaxa> Kapsel: can't find a lot in the codecs section of my ffmpeg binary other than 3 encoders and 2 decoders [00:50] <klaxa> i don't know whether the 4444 profile is supported though [00:50] <klaxa> however, http://en.wikipedia.org/wiki/ProRes_422#Open_Source_Projects [00:51] <klaxa> maybe that fork is of interest for you [00:53] <Kapsel> I know of ffmbc, we use it a couple of places. [00:54] <Kapsel> I do think that Prores 4444 decoding is fully supported by ffmpeg, though. [00:55] <klaxa> mmhh... have a look at the output log and see if you can find something like swscaler or something that indicates a colorspace change [00:57] <Kapsel> I have both ffmbc and ffmpeg installed on my laptop, downloading a Prores 4444 file from the office right now, going to do some quick tests. [00:57] <Kapsel> good point, will try that [01:02] <bcoudurier> Kapsel, is your source hd ? [01:02] <Kapsel> bcoudurier: its 2K [01:02] <bcoudurier> is it using bt 709 as colorspace ? [01:03] <Kapsel> no, thats what I'm trying to convert it to. its some logC colorspace right now. [01:03] <Kapsel> afaik. [01:03] <Kapsel> and hey, thank you for your work on ffmpeg and ffmbc for us in broadcast and post [01:04] <Kapsel> http://www.arri.com/camera/digital_cameras/learn/log_c_and_rec_709_video.htm... [01:05] <Kapsel> we shoot in Log C [01:06] <Kapsel> I can send you a .mov if you'd like to see how it looks like. [01:09] <Kapsel> http://dpaste.com/933645/ info on file here [01:14] <Kapsel> http://dpaste.com/933662/ and this is what I get when I export a frame (ignore the errors) [01:16] <Kapsel> interestingly enough, ffmpeg produces a 12.8MB PNG file, ffmbc creates a 3.8MB PNG [01:16] <Kapsel> using the same command, but different bins. [01:18] <Kapsel> full output here: http://dpaste.com/933679/ [01:19] <Kapsel> colors varies slightly, maybe ffmbc does it better for some reason(?) - will try to compare with some material exported from Resolve [01:20] <Kapsel> Stream #0:0(eng): Video: png, rgb48be, 2048x1152 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc [01:20] <Kapsel> Stream #0.0(und): Video: png, rgb24, 2048x1152p [PAR 1:1 DAR 16:9], vbr, lossless, 25.00 fps [01:20] <Kapsel> rgb24 vs rgb28be, maybe thats the answer [01:21] <Kapsel> rgb48be [02:10] <defaultro> other than -vf hue, what other color correction filters we can use in ffmpeg? [02:36] <tds5016> hey. Is it possible to use ffserver to receive an rtp stream, and rebroadcast it as ffmpeg? [02:37] <tds5016> rebroadcast as hls* [07:15] <bigmac> how can i convert a video to a smaller size for streaming over http [07:15] <bigmac> vcodec examples? [08:02] <defaultro> hey folks, I have an existing -vf "mp ......", how do I add hue=h? [08:03] <defaultro> this failed, ffplay 00013.MTS -vf "mp=eq2=1.3:1.1:-.1,hue=h=30:0" [08:11] <defaultro> found it, using comma :) [12:12] <WmA> anyone sees the error in my syntax? [12:12] <WmA> ffmpeg -i "