[FFmpeg-trac] #9167(undetermined:closed): Color changed when an image converting to video
FFmpeg
trac at avcodec.org
Wed Mar 31 06:26:28 EEST 2021
#9167: Color changed when an image converting to video
-------------------------------------+-------------------------------------
Reporter: kvsico | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by kvsico):
Replying to [comment:1 pdr0]:
>
> Not a bug.
>
> 8bit RGB vs. 8bit YUV
>
> You need to encode either using 8bit RGB , or 10bit YUV
>
> Neither are as compatible with most devices as 8bit YUV, only the latter
is more common for distribution formats
>
> ffmpeg -y -t 4 -loop 1 -i 1.png -c:v libx264rgb 2.mp4
After using libx264rgb, I have another problem: Chorome can't play the
video file libx264rgb.mp4, it shows a black video, here is my cmd:
ffmpeg -y -t 4 -loop 1 -i 1.png -c:v libx264rgb libx264rgb.mp4.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9167#comment:21>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list