mifi / lossless-cut

The swiss army knife of lossless video/audio editing
GNU General Public License v2.0
24.55k stars 1.22k forks source link

The same HEVC-encoded 4K video exhibits issues on the Windows version, showing 'File not natively supported,' while it works fine on the Mac version. #1835

Closed RobinChens closed 6 months ago

RobinChens commented 6 months ago

I have a lot of issues to go through, so in order to make it easier for me to help you, I ask that you please try these things first

Operating System

Windows 10

Steps to reproduce

The same HEVC-encoded 4K video exhibits issues on the Windows version, showing 'File not natively supported,' while it works fine on the Mac version. On Windows, after importing, the video appears blurry; however, dragging the progress bar makes the current frame clear temporarily. The exported video only displays images at the beginning and end frames. I'm perplexed. It's the same video, the same software version. Why does it behave differently on Windows, and is there something missing in the Windows version?

Expected behavior

normal cut

Actual behavior

"File not natively supported,"

Share log

No error occurred.

{ "state": { "ffmpegExperimental": false, "preserveMovData": false, "movFastStart": true, "preserveMetadataOnMerge": false, "filePath": "C:\Users\test\Desktop\第3期上 流行语测试问懵黄渤徐峥.mp4", "fileFormat": "mp4", "externalFilesMeta": {}, "mainStreams": [ { "index": 0, "codec_name": "hevc", "codec_long_name": "H.265 / HEVC (High Efficiency Video Coding)", "profile": "Main", "codec_type": "video", "codec_tag_string": "hev1", "codec_tag": "0x31766568", "width": 3840, "height": 2160, "coded_width": 3840, "coded_height": 2160, "closed_captions": 0, "film_grain": 0, "has_b_frames": 5, "pix_fmt": "yuv420p", "level": 150, "color_range": "tv", "chroma_location": "left", "refs": 1, "id": "0x1", "r_frame_rate": "25/1", "avg_frame_rate": "25/1", "time_base": "1/90000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 321170400, "duration": "3568.560000", "bit_rate": "3540339", "nb_frames": "89214", "extradata_size": 112, "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0, "captions": 0, "descriptions": 0, "metadata": 0, "dependent": 0, "still_image": 0 }, "tags": { "language": "und", "handler_name": "VideoHandler", "vendor_id": "[0][0][0][0]" } }, { "index": 1, "codec_name": "aac", "codec_long_name": "AAC (Advanced Audio Coding)", "profile": "LC", "codec_type": "audio", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "44100", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "initial_padding": 0, "id": "0x2", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/44100", "start_pts": 0, "start_time": "0.000000", "duration_ts": 157378560, "duration": "3568.674830", "bit_rate": "189817", "nb_frames": "153690", "extradata_size": 2, "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0, "captions": 0, "descriptions": 0, "metadata": 0, "dependent": 0, "still_image": 0 }, "tags": { "language": "und", "handler_name": "SoundHandler", "vendor_id": "[0][0][0][0]" } }, { "index": 2, "codec_name": "png", "codec_long_name": "PNG (Portable Network Graphics) image", "codec_type": "video", "codec_tag_string": "[0][0][0][0]", "codec_tag": "0x0000", "width": 434, "height": 200, "coded_width": 434, "coded_height": 200, "closed_captions": 0, "film_grain": 0, "has_b_frames": 0, "pix_fmt": "rgb24", "level": -99, "color_range": "pc", "refs": 1, "id": "0x0", "r_frame_rate": "90000/1", "avg_frame_rate": "0/0", "time_base": "1/90000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 321180735, "duration": "3568.674833", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 1, "timed_thumbnails": 0, "captions": 0, "descriptions": 0, "metadata": 0, "dependent": 0, "still_image": 0 } } ], "copyStreamIdsByFile": { "C:\Users\test\Desktop\第3期上 流行语测试问懵黄渤徐峥.mp4": { "0": true, "1": true, "2": true } }, "cutSegments": [ {} ], "mainFileFormatData": { "filename": "C:\Users\test\Desktop\第3期上 流行语测试问懵黄渤徐峥.mp4", "nb_streams": 3, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "3568.674830", "size": "1666920598", "bit_rate": "3736783", "probe_score": 100, "tags": { "major_brand": "isom", "minor_version": "512", "compatible_brands": "isomiso2mp41", "date": "2021-10-29T20:10:29.0283619+08:00", "encoder": "Lavf58.32.104" } }, "rotation": 360, "shortestFlag": false, "effectiveExportMode": "separate", "outSegTemplate": "${FILENAME}-${CUT_FROM}-${CUT_TO}${SEG_SUFFIX}${EXT}" }, "platform": "win32", "version": "3.59.1" }

mifi commented 6 months ago

see https://github.com/mifi/lossless-cut?tab=readme-ov-file#supported-formats

H265 (needs hardware decoder)