On Mon, 2013-09-16 at 17:52 +0300, Einar Rünkaru wrote:
> Hi
> 
> 
> On Sun, Sep 15, 2013 at 7:00 PM, Ned Haskin <feanor2...@covad.net>
> wrote:
>         Hi,
>         I noticed that when I render through the pipe, the stream is
>         always yuv420p.
>         
>         Input #0, yuv4mpegpipe, from 'pipe:':
>           Duration: N/A, bitrate: N/A
>             Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p,
>         1280x720, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 29.97 tbn,
>         29.97 tbc
>         
>         Now I figured I was probably doing something wrong & double
>         checked everything.
>         Input file dnxhd 720p yuv422p cinelerra color model yuv 8bit.
>         Reading the manual I saw that rgb-float is
>         close to lossless and will work with yuv & is faster in many
>         plugins. so I tried again in rgb-float.
>         Same yuv420p stream. So I tried rendering to one of the
>         formats that works natively mpeg4. The output
>         file came out as yuv422p. This is with rgb-float as
>         cinelerra's color model. Same dnxhd yuv422p input
>         file.
>         
>         I tried this with both versions of cinelerra I have installed
>         CV, HV-4.4
>         Is this broken? I looked through the yuvstream patch for 4.4 &
>         it looks to me like it's setup to make sure
>         the color model isn't changed. There are comments in it about
>         no lossy format conversions. With the if
>         statements checking & maintaining color model.
>         
>         Anyone have a clue on this?
> 
> 
> How can a thing called 'yuvstream' contain rgb?
> 
> 
> Einar

I don't know, but it's in the Cinelerra-CV manual. The conversion is lossless?? 

> RGB float does not destroy information when used with YUV source footage and 
> also supports 
> brightness above 100%. Be aware that some effects, like Histogram, still clip 
> above 100% when in floating point
> 
I tried in both yuv8 & rgb-float. 
Regardless in yuv8bit everything comes out yuv420p, its shows it in the command 
line. 

Input #0, yuv4mpegpipe, from 'pipe:':
           Duration: N/A, bitrate: N/A
             Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 
1280x720, SAR 1:1 DAR 16:9, 29.97 fps, 
29.97 tbr, 29.97 tbn, 29.97

You might have your ffmpeg set to -pix_fmt yuv422p or yuv444p in the yuvstream 
cl, but it is just converting it 
again. Or at least that is what is happening here in CV & HV / yuvstream patch. 
If you leave out -pix_fmt in ffmpeg. 
It always comes out yuv420p. Just look at the command line, it shows it. 

Ned 


_______________________________________________
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra

Reply via email to