Questions tagged [lossless]

Lossless data compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data.

Lossless data compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data.

82 questions
0
votes
0 answers

Allow preview in macOS of video created using ffmpeg lossless command

I'm using ffmpeg 4.4 to make a slideshow video that is lossless from png images like so: ffmpeg -framerate 30 -i 'image_%05d.png' -c:v libx264 -crf 0 out.mp4 The only thing is that in macOS Finder, preview is not available. Normally the video icon…
user1087973
  • 800
  • 3
  • 12
  • 29
0
votes
1 answer

How to create pyramid tiled TIFF from JPEG image in lossless way

I need to create tiled pyramid TIFF file with JPEG-compressed tiles from large JPEG image using lossless jpeg operations i.e. crop in jpegtran. Is there any tool or java code around to perform such operation? Currently I'm using my Java code to…
wikisky
  • 345
  • 2
  • 13
0
votes
1 answer

Compression Ratio Calculation in Delta Encoding

I am new to use Delta encoding to compress Hex data, I used the C implementation in wiki, so if my data is like 0xFFFFFFF,0xFFFFFFF,0xFFFFFFF,0xFFFFFFF,0xFFFFFFF the encoding result will be as follows :…
Heb
  • 11
  • 3
0
votes
1 answer

FFmpeg output video file much smaller than uncompressed input audio file, using option to preserve original audio quality

I attempt to create a video slideshow from a number of image files and an audio file in 2 steps: Create a temporary video file from a sequence of image files Add an audio file to the temporary video file with a delay of 5 seconds The audio file is…
Jan
  • 3
  • 2
0
votes
0 answers

How to Get Video Lossless Rotation When Re-encoding Using FFmpeg?

I'm looking for how to rotate a video without losing any quality when re-encoding. I currently use ffmpeg -i "inputvideo" -crf 0 -vf transpose=2 -acodec copy "outputvideo". Although -crf 0 should be lossless, I found there is difference after…
0
votes
1 answer

How to set-up WebRTC with VP9 codec and lossless compression

I have been trying to figure out whether or not it is possible to set up WebRTC with VP9 codec and lossless compression. So far, I have been able to figure out, how to set VP9 in the SDP and also how to set the coding profile (0-3). However, my…
0
votes
0 answers

How to lossless rotate video from Sony A7Rii in FFMPEG avoiding codec error?

I have a bunch of videos filmed on a Sony A7Rii that are upside down and need to be flipped 180. I'd like to do this lossless and been trying to use the following command: ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=180 output.mp4 I…
Jeffs
  • 11
  • 1
0
votes
1 answer

Lossless sRGB <-> Lab conversion?

When I convert black (rgb(0,0,0)) to LAB and back again it comes out as 19, 0, 10. Is there a modified formula that expands the Lab color-space for 1:1 conversion? And if not, are there any other color-spaces that maintain the property of "the same…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
0
votes
0 answers

What is an algorithm to prove that a transliteration scheme is lossless?

Say you want to convert one set of characters to another. Instead of there being a 1-1 mapping of each character in set A to a corresponding character in set B, it's slightly more complicated. Think of like a natural language transliterator from a…
Lance
  • 75,200
  • 93
  • 289
  • 503
0
votes
0 answers

ffmpeg lossless conversion from jpgs to video with huffyuv not working as expected

I'm trying to create a video from a set of jpg images. I would like that each frame of the video is exactly the same of the images used to create it. In order to get this result I'm using the following command: ffmpeg -i %05d.jpg -c:v huffyuv…
rlar
  • 856
  • 1
  • 10
  • 15
0
votes
0 answers

guess lossless and lossy compression scheme to encode picture data (RGGB or YCrCb or YCgCo)

I'm trying to guess which compression scheme is encoding a 14 bits picture, based on observing data samples. The same algorithm (with different parameters) is likely used to compress lossy and lossless. Here is an example of header data for lossless…
lclevy
  • 23
  • 1
  • 6
0
votes
0 answers

ffmpeg need perfect pixels for LED processing (h264, mpeg 1, 2)

We have .mov with Animation codec and the pixels look great. But the LED media players are looking for h264, mpeg-1 or mpeg2. Is this even possible to get high pixel accuracy? I read a lot of the comments and tried the h264 lossless to no avail.…
0
votes
0 answers

demuxer video use jcodec

I want to hide the text on video (in java). I created video from images, and I got a video lossless format. Now, I want to get frame from this video. How can I do it?. This is code that I used: public class SequenceMuxer { private…
MeiMei
  • 1
0
votes
1 answer

How to extract 16-bit PNG frame from lossless x264 video

I encoded a series of 16-bit grayscale PNGs to a lossless video with the following command: ffmpeg -i image%04d.png -crf 0 -c:v libx264 -preset veryslow output.mp4 I am now trying to verify that the conversion to video was truly lossless by pulling…
martinez314
  • 12,162
  • 5
  • 36
  • 63
0
votes
0 answers

How to determine lossless decomposition if no FD is known?

The table below R(A, B, C, D, E) with no known FD. It decomposes into R1(A, B, C, D) and R2(A, C, E). How do I find out if this is lossless decomposition or not? Table: A | B | C | D | E | ___________________________ 10 | 1a1 | k1 | s13 | …
John P.
  • 215
  • 3
  • 10