Open ali1234 opened 3 months ago
To reproduce:
Get some image and resize and convert it to RGB48 with ffmpeg:
ffmpeg -i in.png -vf scale=928:576 -f rawvideo -pix_fmt rgb48 out.raw
Convert to TBC with and without -c option:
-c
tools/ld-chroma-decoder/encoder/ld-chroma-encoder out.raw out.cvbs-ll tools/ld-chroma-decoder/encoder/ld-chroma-encoder -c out.raw out.cvbs-sl
tools/ld-chroma-decoder/encoder/ld-chroma-encoder out.raw out.cvbs-ll
tools/ld-chroma-decoder/encoder/ld-chroma-encoder -c out.raw out.cvbs-sl
Now out.cvbs-sl.json contains:
out.cvbs-sl.json
"isSubcarrierLocked":true, "sampleRate":17734475
As far as I am aware, this is correct.
But out.cvbs-ll.json contains:
out.cvbs-ll.json
"isSubcarrierLocked":false, "sampleRate":17734475
My understanding is that the sample rate should be 17734375, exactly 100Hz less.
I have not yet checked whether the actual output samples are correct in either case.
To reproduce:
Get some image and resize and convert it to RGB48 with ffmpeg:
ffmpeg -i in.png -vf scale=928:576 -f rawvideo -pix_fmt rgb48 out.raw
Convert to TBC with and without
-c
option:tools/ld-chroma-decoder/encoder/ld-chroma-encoder out.raw out.cvbs-ll
tools/ld-chroma-decoder/encoder/ld-chroma-encoder -c out.raw out.cvbs-sl
Now
out.cvbs-sl.json
contains:As far as I am aware, this is correct.
But
out.cvbs-ll.json
contains:My understanding is that the sample rate should be 17734375, exactly 100Hz less.
I have not yet checked whether the actual output samples are correct in either case.