[FFmpeg-user] 422 to 444 Upsampling Testbed

Paul B Mahol onemda at gmail.com
Mon Apr 29 09:58:26 CEST 2013


On 4/28/13, Vincent Olivier <vincent at up4.com> wrote:
>
> On 2013-04-28, at 4:48 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>
>> Vincent Olivier <vincent <at> up4.com> writes:
>>
>>> - the composite YUV image (in RGB)
>>
>> This sounds like a contradiction.
>
>
>
> It only "sounds" so because I (reasonably) assumed that you would have known
> I meant the reference PNG RGB converted from the 422 source (what one would
> get with a "default" 422 to RGB PNG conversion command).
>
>
>>> - the Y luma (grayscale)
>>> - the U chroma (grayscale)
>>> - the V chroma (grayscale)
>>>
>>> I found the "Fancy Filtering Examples" in the wiki
>>> and I tried to adapt the example to my needs but:
>>>
>>> 1) couldn't get the separate files: "Could not get
>>> frame filename number 2 from pattern 'y.png'
>>
>> Please always provide your failing command line
>> together with complete, uncut console output.
>
>
> pc1:~ vincent$ ffmpeg -i
> /Volumes/BACKUPT110/CONTENT/20130316191556/XDROOT/Clip/Clip0042.MXF
> -filter_complex
> "split=4[a][b][c][d];[a]pad=iw*4:ih[w];[b]lutyuv=u=128:v=128[x];[c]lutyuv=y=0:v=128[y];[d]lutyuv=y=0:u=128[z];[w][x]overlay=w:0[wx];[wx][y]overlay=w*2:0[wxy];[wxy][z]overlay=w*3:0"
> -vframes 1 yuv.png y.png u.png v.png

Splitting yuv into planes of gray is supported for rawvideo codec only.
Filter could be added that export single or all planes into gray image(s).


More information about the ffmpeg-user mailing list