Log in

View Full Version : Lossless image sequences from Blurays?


Flux
25th March 2011, 14:50
If I would want to do for example couple secs long GIF/APNG animation from some part of the Bluray movie, how I can extract a pack of frames without loss of quality? Eventually GIF/APNG will reduce quality a lot for reasonable file size, but quality source always helps a bit with compression quality.

setarip_old
25th March 2011, 18:14
Hi!

1) Use a Blu-ray "ripping"/decrypting program (e.g. MakeMKV, DVDFab, DVDFab Passkey, AnyDVD) to decrypt your original, commercial Blu-ray disc.

2) Use tsMuxeR "Split and Cut" function to select the start and end points of the part you wish to work on.

ramicio
25th March 2011, 18:25
GIF will reduce quality, 256 colors, but APNG is lossless. Neither will give you good file size for full-sized images.

Flux
30th March 2011, 00:30
Basically GIF/APNG are good for automated "clean" animations, if you want to comment someone's post with more than just words or still pictures. Using for example Youtube player frame and manual playback just kills all the fun from animations. I don't know why there is not automated, frameless, soundless H.264 video playback support in forum softwares same way as GIF/APNG works. At least I haven't seen any. Filesizes are just ridiculous for GIF/APNG, but there is nothing better for forum posts.

I have managed to cut the size of APNG by blurring image for example with gaussresize, drop every other frame and using program like APNG anime maker which can cut hard seeing details and give smaller files. Unfortunately that program doesn't support 8-bit colors or 16-bit colors. APNG optimizer program usually cuts additional 10% from final filesize.

Some scenes with rather still background can be only like 2-4 megabytes with 960x540 resolution, about 60 frames and 24-bit colors, if doing above steps for APNG.

SeeMoreDigital
30th March 2011, 18:46
Cut the required video sequence from your Blu-ray disc.

De-mux the H264 video stream from the .M2TS container and place the elementary video stream into the .AVI container using AVC2AVI GUI.

Run the saved H264.AVI file through VirtualDub and select "Export" to "Image Sequence..."

Flux
31st March 2011, 10:03
Demuxing the disc with tsmuxer to h.264 file, muxing it to mkv and adjusting the wanted sequence with Trim through Avisynth seems to be somewhat fast way in Virtualdub. Using mkv container because it can be faster to seek the wanted sequence by playing it in MPC first and memorize frame positions for Trim.

I don't know if it is as fast to process Avisynth trimmed video clip than trimmed video file. Seems to be fast enough anyway so there is no need to use multiple trimmed files for different sequences.