Sampath Subasinghe susiriss@... writes:
I was wondering whether this is what you meant.
This is broken (because odd width is not supported by
yuv rawvideo):
ffmpeg -i ref.ppm ref.yuv
ffmpeg -s 45x32 -i ref.yuv ref2.ppm
The following does work and produces the same black edge:
$ ffmpeg -i
On Wed, Jun 6, 2012 at 9:12 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
Sampath Subasinghe susiriss@... writes:
I was wondering whether this is what you meant.
This is broken (because odd width is not supported by
yuv rawvideo):
ffmpeg -i ref.ppm ref.yuv
ffmpeg -s 45x32 -i ref.yuv
The following does work and produces the same black edge:
$ ffmpeg -i out.ppm -pix_fmt yuv420p -strict experimental out.ljpg
$ ffmpeg -i out.ljpg ref2.ppm
Carl Eugen
I'm also seeing the black edge with above commands. (Except, I had to
precede the second command with -pix_fmt yuv420p to
Sampath Subasinghe susiriss@... writes:
$ ffmpeg -i out.ppm -pix_fmt yuv420p -strict experimental out.ljpg
$ ffmpeg -i out.ljpg ref2.ppm
I'm also seeing the black edge with above commands.
(Except, I had to precede the second command with
-pix_fmt yuv420p to avoid seg faulting
Alex Cohn alexcohn@... writes:
This is broken (because odd width is not supported by
yuv rawvideo):
ffmpeg -i ref.ppm ref.yuv
ffmpeg -s 45x32 -i ref.yuv ref2.ppm
I am not using the latest build, but for me the
round-trip worked without artifacts
I forgot to add -pix_fmt yuv420p to
$ ffmpeg -i out.ppm -pix_fmt yuv420p -strict experimental out.ljpg
$ ffmpeg -i out.ljpg ref2.ppm
I'm also seeing the black edge with above commands.
(Except, I had to precede the second command with
-pix_fmt yuv420p to avoid seg faulting ffmpeg).
This sounds like an important issue that I
On Tue, Jun 5, 2012 at 5:16 AM, Sampath Subasinghe susir...@gmail.comwrote:
Hi All,
I am using libswscale to do some YUV - RGB conversion back and
forth. There are 2 steps performed on an image.
1. RGB - YUV conversion
2. YUV - RGB conversion
Issue is that in the image output
Hi All,
I am using libswscale to do some YUV - RGB conversion back
and forth. There are 2 steps performed on an image.
1. RGB - YUV conversion
2. YUV - RGB conversion
Issue is that in the image output from step 2, the right edge of the
image is missing, means the pixels are black.