Questions tagged [lossless]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
117 views

Lossy audio/video/image formats and data loss

I once heard that if you store music/videos/images in lossy formats, the quality gradually degrades over time. The difference in perception is not the only reason to store music in FLAC. FLAC uses ...
jsx97's user avatar
  • 103
0 votes
0 answers
28 views

Trying to clip beginning and ending of clips without loosing quality. Using lossless running into issues

So I have a video file or several actually. 23.769 fps 1080p Hvec h265 mkv I'm trying to clip the beginning and ending. It has advertisements I don't want. I have successfully done this using ...
RandyHaasLives's user avatar
0 votes
0 answers
208 views

Best Lossless Video Codec for 8 bpc RGB image sequences?

I render 3D animations, many of which take days or even weeks to render at a time, and I need to keep a lossless archive of the output files. The output format from the render engine is 8 bit per ...
EllipticalInitial's user avatar
0 votes
1 answer
413 views

FFMPEG Lossless

How can I make a video still image + sound (audio file) lossless with ffmpeg? I want the still image video to sound just like the audio track/file if its possible, I dont want any transcoding. Also, I'...
Eddie Valentin's user avatar
0 votes
0 answers
1k views

Is it possible to do a lossless colorspace HEVC NVENC encoding without hwdownload?

I need to capture bit-perfect lossless videos of the whole screen at a certain framerate (at least 30 fps). I am currently using Windows 10 and an up-to-date version of FFmpeg. Given that the ...
ksb496's user avatar
  • 101
0 votes
1 answer
379 views

MP3 Audio file changes -- want to preserve ID3 tags and minimize quality degredation: is FLAC the best intermediate format?

I have MP3 files on which I need to perform some audio operations, then get them back to MP3. I know every operation degrades them a little bit, so my goal is just to minimize that. I need to use both ...
GraniteStateColin's user avatar
0 votes
1 answer
354 views

Is it possible to convert one channel of a stereo MP3 file losslessly to a mono MP3 file?

I recorded a mono microphone with an MP3 recorder which can only record stereo formats. Now I want to reduce the file size by removing the silent channel. Is there a lossless way to do this? This ...
Frank Breitling's user avatar
2 votes
1 answer
785 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
8 votes
1 answer
10k 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
0 votes
1 answer
690 views

Losslessly compressing screenrecording of video chat [duplicate]

I have a screenrecording of a video chat I had and the filesize is massive because the screen recording itself was done at 59.93 fps. However, I think the video chat was something like 15-30 fps. Plus ...
JohnDoughmaker22's user avatar
0 votes
0 answers
211 views

Difficulties Using FFmpeg to Take Lossless Excerpt from .mpg to .mp4

I want output.mp4 to contain a lossless copy of video starting at 00:00:39 and ending at 00:01:29 in input.mpg. I tried this (using Windows 10): ffmpeg -ss 00:00:39 -i input.mpg -to 00:01:29 -c:v copy ...
Ray Woodcock's user avatar
5 votes
3 answers
15k 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
14 votes
1 answer
7k 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,399
8 votes
1 answer
28k 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
  • 101
1 vote
0 answers
487 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
1 vote
0 answers
398 views

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". ...
fc2otica's user avatar
1 vote
1 answer
123 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
2 votes
1 answer
763 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
  • 433
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
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
0 answers
515 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
16 votes
1 answer
25k 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
0 votes
1 answer
297 views

Is the operating system playing lossless audio?

Considering we have a lossless audio player, and a lossless audio recorder both of which are digital (meaning the audio does not ever go through an analog cable) we should be able to play back the ...
user avatar
0 votes
1 answer
458 views

Is it possible for ffmpeg to select audio channels without reencoding

I use this command to try and downmix an audio file without re-encoding but the channel selection is not done : $ time ffmpeg -i input.aac -c:a copy -map_channel 0.0.0 -map_channel 0.0.0 output.aac -...
SebMa's user avatar
  • 1,803
1 vote
0 answers
1k views

Lossless H.264 MOV cannot be opened with Quicktime

I believe that this question is not the same as Lossless H.264 MP4 file created from images cannot be played in QuickTime because that question, and its answer, pertains to converting a series of PNG ...
Channing Walton's user avatar
0 votes
1 answer
403 views

Variable framerate lossless video from yuv422 images

I've been pulling my hair lately with FFmpeg commandline. Be aware that I am not an FFmpeg expert. Here is my problem: I have a bunch of YUV422 images as such: image0.yuv image1.yuv .. image450.yuv ...
Robin Beilvert's user avatar
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
0 votes
1 answer
545 views

Is there a way to tell ffmpeg "encode file A with format settings of file B?"

I know I could use ffprobe and then parse the text file to get the codec info of file B, but is there a simpler way? Goal: I want to append a few seconds of silence to hundreds of audio files (who ...
Mia Lon's user avatar
0 votes
0 answers
130 views

FFmpeg losslessly deconstruct video then losslessly re-encode

I need to dump all the frames losslessly from a h.265 mkv video, along with the audio track in FLAC 24bit (initially it was encoded from the source in FLAC 24bit). I then need to edit some frames and ...
Recompiler's user avatar
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
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
0 votes
1 answer
497 views

Does editing a lossy format without converting to another format file hurt quality?

I've heard that converting a file from one lossy format to another one further reduces quality. That makes sense! But what happens if I edit a lossy file and export using the same file format, does ...
MrKatSwordfish's user avatar
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
2 votes
2 answers
387 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
1 vote
1 answer
976 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
15 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
  • 499
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
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
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
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
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,311
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
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
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
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
  • 887
-1 votes
1 answer
5k views

Best audio converter for flac to alac? [closed]

I just got a new phone with a lot more space. This means I can put my lossless audio on... trouble is, iTunes doesn't support flac.... There is alac, but I have yet to find a quality converter to ...
Lillz's user avatar
  • 13
0 votes
1 answer
2k views

Improve ffmpeg command for MKV to MP4 for iPad?

I have many MKVs made from DVDs and BRs by MakeMKV that I converting to MP4 so I can play/stream on my iPad Air. I now use this command for converting my MKVs to MP4: ffmpeg -i input.mkv -strict ...
Striky's user avatar
  • 103
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