x264 - lossless encoding (and decoding) of 10 bits images

*nix specific usage questions
cyberfaber
New Cone
New Cone
Posts: 1
Joined: 29 Oct 2013 13:51

x264 - lossless encoding (and decoding) of 10 bits images

Postby cyberfaber » 29 Oct 2013 14:08

Hi,

I have 10 bits images, phisically stored in 16 bits files.
I am looking for a way to produce a lossless mp4 movie out of them, and to get the images back.

PNG --> MP4 --> PNG

I correctly managed to do it with 8 bit images, but for some reason I can't do it with 10 bits ones.
Of course, I compiled x264 with the option to use 10 bits of depth.

I actually get a warning about the "full-chroma interpolation for destination format 'rgb48le' not yet implemented", and I guess it has something to do with it.

Any idea on how to do it?

A single channel lossless 10 bits encoding/decoding procedure would also help.

Thanks.

Amit_al
New Cone
New Cone
Posts: 5
Joined: 21 Nov 2019 05:16

Re: x264 - lossless encoding (and decoding) of 10 bits images

Postby Amit_al » 21 Nov 2019 05:21

Hello,

I was also trying to convert from PNG-->MP4, but no luck. :( :(

Can you help me with how you did it with only x264 and without using ffmpeg or any other stuff like that.

I am really looking for this solution.

Thanks in advance.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: x264 - lossless encoding (and decoding) of 10 bits images

Postby InTheWings » 21 Nov 2019 10:48

Don't feed x264 with RGB but with YUV 10 bit
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Amit_al
New Cone
New Cone
Posts: 5
Joined: 21 Nov 2019 05:16

Re: x264 - lossless encoding (and decoding) of 10 bits images

Postby Amit_al » 25 Nov 2019 13:22

Thanks @InTheWings for replying.

Actually, I am looking for some X264 command line statement, which can take input as set of some PNG files(started from 0) and provide output as .mp4 file.

For example, in case of bmp input files, below command in working fine -
x264 --crf 10 -o "<directory path>test.mp4" "<Directory path>%04d.bmp" --fps 30 --vf crop:0,0,1,0"

Similarly, I want to create .mp4 with PNG instead of bmp files, something like below -
x264 --crf 10 -o "<directory path>test.mp4" "<Directory path>%04d.png" --fps 30 --vf crop:0,0,1,0" --> this is not working

I am not implementing the library of X264. I am just creating a process and invoking X264 command line statement, in my code.

Hope you got my query.

Please help with any of the suggestions..I am even not sure, if it is possible or not.

Thanks in advance.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests