I compiled the multimediaAPI sample 07_video_convert ,then try to convert one block_linear image to pitch-linear one. however, the output image was not as expected.
my command is:
./video_convert memsync2160.raw 1920 2160 ABGR32 outmemsync4.raw 1920 2160 ABGR32 --input-nvbl --output-nvpl
in attached you can see the input file memsync2160.raw and output file outmemsync4.raw, they are the same. they can be viewed with the following gstreamer command:
gst-launch-1.0 multifilesrc location=nv4raw2160.raw loop=true caps=“video/x-raw,framerate=1/1” ! videoparse format=11 width=1920 height=2160 framerate=1/1 ! imagefreeze ! ‘video/x-raw, width=1920, height=2160, format=RGBA,framerate=30/1’ ! videoconvert ! xvimagesink
what I actually expected to see is [nv3raw2160.raw|attachment],
nv3raw2160.raw (15.8 MB)
Could you tell me what I did wrong?
(upload://gpeldWQDBEca0x6FRfConkAkO4a.raw) (15.8 MB)
memsync2160.raw (15.8 MB)
outmemsync4.raw (15.8 MB)