Skip to main content

Questions tagged [lossless]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
36 votes
4 answers
40k views

Lossless extraction of streams from WebM

I would like to extract streams from WebM video files without converting them (re-compression), can somebody recommend any software that can allow this?
Karolinger's user avatar
35 votes
6 answers
146k views

What is the difference between WAV and FLAC?

My understanding is that the WAV and FLAC formats are containers for lossless audio. I have seen the FLAC format as being perhaps better because it is able to losslessly compress audio from say a WAV ...
Zombo's user avatar
  • 1
19 votes
3 answers
110k views

Is there any quality difference between PNG vs BMP image formats?

I have just learned that PNG is a lossless image format while BMP can be both uncompressed or lossless format. Should there be a quality difference between these two? If not, does it mean that other ...
user1032421's user avatar
17 votes
2 answers
5k views

lossless concatenation of ogg vorbis files

I have a couple of ogg vorbis files, all encoded with the exact same properties that I want to concatenate into a single file. I know that the ogg vorbis format supports plain concatenation of ...
josch's user avatar
  • 908
16 votes
1 answer
26k views

Producing lossless video from set of .png images using ffmpeg

I have a set of .png images that I would like to animate into a movie using ffmpeg on macOS, but when I look at the video produced the quality is always compressed and the resulting video has ...
algol's user avatar
  • 263
16 votes
2 answers
8k views

"Losslessly" trim an MP3 file [duplicate]

I have got an mp3 file, let's say it is 25 minutes long. I understand that any software is capable of extracting the first 20 minutes of the file as a new MP3 file. However, I would like to find a ...
yo''s user avatar
  • 509
14 votes
1 answer
8k views

Is it possible to change orientation of JPG image without rotating it (and thus losing information)?

As JPG is a lossy compression, every re-encoding losses quality. Thus, 90/180/270 degree rotation is a lossy operation as well. Is it possible to change orientation of JPG photo by changing some of ...
Tomas's user avatar
  • 7,499
13 votes
1 answer
1k views

Will editing an MP3 harm the quality?

I recently recorded something in MP3 — I should have done FLAC, but it’s way too late — and I wanted to edit those soundtracks from 5 minutes to about 2 minutes each. I edit in Audacity. Will loading ...
Nick Bailuc's user avatar
12 votes
1 answer
15k views

Possible to rotate video (.MOV/H.264/AVC) losslessly?

The iPhone (3GS, 4, 4S, etc) often records video upside-down but then includes metadata about the rotation inside the MOV container. However, many applications (XBMC, VLC, Windows Media Player) do ...
SofaKng's user avatar
  • 1,235
11 votes
3 answers
8k views

Finding out if a FLAC or WAVPACK audio file is NOT originally encoded from a lossy source

Is there a way of checking that the so-called FLAC or WAVPACK audio file was originally encoded from a lossless source (WAV, CDA, APE, etc.) instead of a lossy source (MP3, AAC, ATRAC, etc.)? Say I ...
cornel's user avatar
  • 111
11 votes
2 answers
7k views

Understanding conversion and (de)compression of lossless audio

I have a few questions concerning lossless audio. I'm considering ripping my entire music collection to lossless .flac, but I want to understand a few things about it first. If I have a file that is ....
Ryan McClure's user avatar
11 votes
6 answers
41k views

How to adjust .mkv files audio volume level?

I have a bunch of .mkv video files which audio is REALLY low volume. How can i adjust the volume higher permanently in the .mkv file? preferrably with lossless methods (if even possible?). Yes, i ...
winuser's user avatar
  • 347
11 votes
5 answers
6k views

OS X: How to perform a lossless crop of a JPEG image?

I'm looking for a simple way to losslessly crop JPEGs on Mac OS X. Particularly, is there some way to get Preview to perform a lossless crop?
GJ.'s user avatar
  • 9,883
10 votes
2 answers
51k views

How to convert MKV videos to lossless MP4 videos that are compatible with iOS devices on Windows?

I’m new to FFmpeg (Windows), and need some help. I want to convert my MKVs to MP4 with as little loss in quality as possible. The MKVs are made with MakeMKV and contain among others DTS soundtrack. ...
Striky's user avatar
  • 103
9 votes
1 answer
30k views

What is the different of h264 and libx264

I notice there is argument available for --enable-encoder=h264,libx264 suppose I am converting the video looselessly Which one default ffmpeg will use? h264 or libx264? And how about the quality ...
Med Lexo's user avatar
  • 111
8 votes
1 answer
11k views

Using ffmpeg + MPDecimate to get rid of exact duplicate frames (i.e. losslessly)

According to the documentation, mpdecimate will "Drop frames that do not differ greatly from the previous frame in order to reduce frame rate." I would like to be able to remove only exact ...
JohnDoughmaker22's user avatar
7 votes
1 answer
2k views

How do I achieve lossless JPEG joining without truncation of partial MCUs?

I am working on a project for which I need to join thousands of JPEG images losslessly (I'm not talking about the Lossless JPEG/JPEG 2000/JPEG-LS formats here). Aforementioned images have varying ...
Karan's user avatar
  • 56.6k
5 votes
4 answers
4k views

Is it possible to convert JPEG to a lossless format and convert it back without losing quality?

Say I have a lossless version of an Image that is previously compressed in JPEG format (like if you open a JPEG image in mspaint and save it as BMP, I know that some metadata would be lost in this ...
RadarNyan's user avatar
  • 173
5 votes
3 answers
17k views

How to convert videos to AV1 lossless using FFmpeg?

I have a set of AVI videos (lossless video streams; no audio) and my goal is to convert them to AV1 lossless using FFmpeg. FFmpeg (with librav1e, libaom-av1 and libsvtav1 included) runs fine on my ...
Petr Diblík's user avatar
5 votes
1 answer
11k views

How to check if a FLAC file was made from MP3? [duplicate]

Possible Duplicate: Finding out if a FLAC or WAVPACK audio file is NOT originally encoded from a lossy source Sometimes I doubt that FLAC files are made from original music, because of deaf-dumb-...
Yaroslav's user avatar
5 votes
1 answer
31k views

How do I reinstall Windows 10, keeping existing apps and files?

After running a checkdisk and rebooting to repair files, Windows 10 now boots to a black screen with no mouse cursor. (Specifically, I restarted to perform a checkdisk, which completes to 100%, the ...
David's user avatar
  • 271
4 votes
2 answers
5k views

How to know the compression level of a PNG file and whether it is lossy?

Can I know whether a PNG file was compressed and how (at least, whether it was a lossless compression) in Windows? When I open the standard file properties dialog from the Windows Explorer, I see no ...
TecMan's user avatar
  • 1,321
4 votes
3 answers
3k views

How to apply audio track to a mute h264/mp4-video losslessly?

I have a MP4/h.264-video with no sound. With ffmpeg or similar, how can I apply an audio track to that MP4-file without degrading the quality of the video (i.e. without recoding the video-track)? I'd ...
poplitea's user avatar
  • 866
4 votes
8 answers
3k views

Lossless DVD to avi?

I'm looking for a free or GPL program to rip DVDs to avi. I have AutoGK, but that only makes a compressed DVD. I want full quality, filesize be damned!
user13743's user avatar
  • 1,721
4 votes
1 answer
3k views

Is TIFF with JPEG compression lossy?

Preview on the Mac can save a file to TIFF, but with JPEG compression: Is this lossy? I'm confused because TIFF is usually lossless, but JPEG is lossy. Maybe it is lossy, since the file size is 4MB ...
Kartick Vaddadi's user avatar
4 votes
2 answers
459 views

What are the basic components of an "audiophile" PC? [closed]

For the purpose of listening to lossless files (i.e., FLAC), is it simply a high quality sound card + high quality speaker?
IMB's user avatar
  • 5,533
4 votes
2 answers
6k views

lossless PNG to video in Imagemagick

As an intermediate step in creating an animation, I need to put a bunch of sequential PNGs into a movie file. I tried ffmpeg but was getting compression and artifacting even when I set quality to ...
Drew's user avatar
  • 1,872
3 votes
1 answer
6k views

Lossless Video Codec supporting Alpha Channels

Suppose I have a sequence of PNG image files which may or may not contain an alpha channel (assume those that do have an alpha channel actually utilize it). While PNG files themselves have their own ...
EllipticalInitial's user avatar
3 votes
1 answer
7k views

How to correctly use x265 lossless parameter with avconv

x265 has a lossless mode which is used for ultra-high bitrates with zero loss of quality. I tried using this mode with avconv as follows: avconv -i input.mp4 -c:v libx265 -x265-params lossless -c:a ...
shivams's user avatar
  • 1,754
3 votes
2 answers
7k views

Converting RGB images into lossless video with avconv / ffmpeg

I am trying to convert a series of PNG24 images containing a screen animation to a lossless video, so that every pixel is reproduced exactly as it was in the original. But avconv (and ffmpeg) both ...
despens's user avatar
  • 51
3 votes
3 answers
3k views

Lossless rotation of photos using Windows Photo Viewer? (XP vs Win7)

If I wanted to rotate photos in XP using Windows Photo Viewer I was told, that it wasn't lossless rotation (so, worse quality in the rotated photo). What about Win7 and Windows Photo Viewer? Is it ...
SanSaurus's user avatar
  • 305
3 votes
1 answer
794 views

How to merge three mp4 files with same encoding/codex by Avidemux using command line?

Assume that one has three mp4 files with the same encoding/codex, say file1.mp4, file2.mp4, file3.mp4. How can one merge these files into a single mp4 file, using command line by avidemux?
Name's user avatar
  • 453
3 votes
0 answers
532 views

libx265 -crf transparency

I would like to know (even if it is subjective opinion) what is considered "transparency" when encoding with libx265. In other words, what value do I need to put after "-crf" to get a video that has ...
Huston's user avatar
  • 99
3 votes
0 answers
3k views

Edit MP4 Hex data to vertically or horizontally flip video in a lossless manner

I am trying to do something similar to the questions here and here, but with a small difference. I am trying to flip the video along the Y or X axes instead of doing a rotation. The solution in those ...
Sayontan's user avatar
3 votes
0 answers
13k views

FFMPEG Lossless Video Output Options

I am looking for lossless video output options from FFMPEG that can be viewed without any special codecs or special players such as VLC. I want a basic use to be able to open up the video with a ...
Nicholas Ng's user avatar
2 votes
2 answers
400 views

Do lossless audio files keep original quality when played (or only when converted back)?

I see a "lossless format" like FLAC defined often as one in which there is no loss of quality compared to the source file from which it was converted. But does that mean that the original quality is (...
user avatar
2 votes
1 answer
5k views

Huge file size difference between lossless HEVC and FFV1

I made a music video with a still image (input.jpg ≈ 1 MB) and a music (input.wav ≈ 20 MB) using FFmpeg. Why do I get such a huge difference in file size between the video generated with the lossless ...
Géry Ogam's user avatar
2 votes
1 answer
1k views

How to remux/combine two MP4 files losslessly: One has video I want and the other has matching audio I want [duplicate]

I’d like to know if there's a way to remux/combine two MP4 video files. They both have the exact same frame count. One is 1080p with no sound, the other is 720p with sound. I’d like to permanently ...
user avatar
2 votes
1 answer
3k views

How do I use OptiPNG on Windows to get a lossless file?

I simply what to use OptiPNG on Windows to create lossless versions of a folder full of PNGs file. Is the following command sufficient? optipng *.png I've seen things about using the o7 option as ...
HartleySan's user avatar
2 votes
1 answer
882 views

How can I losslessly concatenate two MP4 files and keep the telemetry information (GoPro GPMF) using FFmpeg?

One may losslessly concatenate two MP4 files using FFmpeg as follows: ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4 with list.txt: file 'C:\file1.mp4' file 'C:\file2.mp4' However, if the ...
Franck Dernoncourt's user avatar
2 votes
1 answer
3k views

Best way to convert BMP to PNG while maintaining quality?

Is this possible convert BMP to PNG while maintaining quality? I am trying to reduce the size of some albums that are in BMP, but still maintain the lossless quality. Just tried XnConvert and setting ...
HyeVltg3's user avatar
2 votes
1 answer
164 views

Slight file content difference due to LZW compression

In order to test if LZW compression is truly lossless I did the following: I created a master uncompressed TIFF file. Created an LZW compressed version of it Saved that compressed TIFF back into an ...
user avatar
1 vote
3 answers
4k views

FFMPEG: convert MP4 to same MP4 (in a different container) and add Subtitles

The main reason for this post is that I have movie.mp4 that I have downloaded an SRT for. When I manually add the SRT VLC uses its settings to change the font/size etc of the SRT. But if I Embed the ...
FreeSoftwareServers's user avatar
1 vote
3 answers
6k views

What constitues 24-bit FLAC?

I know there is 16-bit, then there is 24-bit. Now I know 24-bit is higher quality, but is there a difference is kbps or what?
nkcmr's user avatar
  • 227
1 vote
1 answer
1k views

FFMpeg image sequence to video using VP9 encoder

I'm trying to transcode mp4 to webm format in a lossless way. I tried two ways to do that. For that purpose, I extracted mp4 video to image sequences (png). Then, I converted image sequence(without ...
metlira's user avatar
  • 113
1 vote
1 answer
107 views

Is there a compression method for compressing a group of very similar files, without archiving them?

I want to compress a large nuber of files that have near identical headers, and also some data, however I do not wish to archive them, nor do I wish to zip them individually(because the copression ...
awiebe's user avatar
  • 134
1 vote
1 answer
136 views

What file format to use for photos? I will edit them. Then I will add text and make a PDF

I want to shoot a few photos using the smartphone. I will receive JPEG files. Next step I will move this photos to desktop computer (Windows 10 Home 64-bit). Now I want to edit this photos: some of ...
Konskoo's user avatar
  • 45
1 vote
1 answer
2k views

lossless video using FFmpeg ffv1 on jpeg images is not compressed but expanded

Is it possible for FFmpeg / ffv1.3 / mkv to create a lossless video is not larger than the sum of its parts (and if so, how) and if not, what is a good alternative to come close on size? The video ...
user1373984's user avatar
1 vote
2 answers
5k views

Sound out of sync after merging multiple mp4 files with Avidemux

I am trying to join (merge) two or more .mp4 files together, without re-encoding. Here is what I did: Started Avidemux 2.5.5. With File->Open, selected Input1.mp4. I received this message - "H.264 ...
Goto10's user avatar
  • 603
1 vote
0 answers
504 views

In ffmpeg truehd encoder, can you mark L and R as LT and RT (Dolby Surround)

When encoding a stereo audio stream with the ffmpeg ac3 encoder, you can specify that the L/R channels are Dolby-Surround (Pro-Logic) LT/RT channels, using the -dsur_mode 2 flag. Is there a way to do ...
marklam's user avatar
  • 111