Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After cut this file cannot be smoothly played #2276

Open
4 tasks done
Ebola-Chan-bot opened this issue Dec 25, 2024 · 2 comments
Open
4 tasks done

After cut this file cannot be smoothly played #2276

Ebola-Chan-bot opened this issue Dec 25, 2024 · 2 comments

Comments

@Ebola-Chan-bot
Copy link

The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first

Steps to reproduce

Cut this video into separate files.

Expected behavior

They should play smoothly and without much lag when jumping on the timeline.

Actual behavior

All files will have various problems such as stuttering, delay, and silence when playing. Unable to jump on the timeline properly.

Provide an error report

No error occurred.

{
"err": false,
"state": {
"ffmpegExperimental": true,
"preserveMovData": false,
"movFastStart": true,
"preserveMetadataOnMerge": false,
"filePath": "E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4",
"fileFormat": "matroska",
"externalFilesMeta": {},
"mainStreams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "High",
"codec_type": "video",
"codec_tag_string": "[27][0][0][0]",
"codec_tag": "0x001b",
"width": 1920,
"height": 1080,
"coded_width": 1920,
"coded_height": 1080,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 4,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 50,
"color_range": "tv",
"color_space": "bt709",
"color_transfer": "bt709",
"color_primaries": "bt709",
"chroma_location": "left",
"field_order": "progressive",
"refs": 1,
"is_avc": "false",
"nal_length_size": "0",
"id": "0x100",
"r_frame_rate": "24/1",
"avg_frame_rate": "24/1",
"time_base": "1/90000",
"start_pts": 133500,
"start_time": "1.483333",
"duration_ts": 40095000,
"duration": "445.500000",
"bits_per_raw_sample": "8",
"extradata_size": 42,
"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": 0,
"timed_thumbnails": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0
}
},
{
"index": 1,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "LC",
"codec_type": "audio",
"codec_tag_string": "[15][0][0][0]",
"codec_tag": "0x000f",
"sample_fmt": "fltp",
"sample_rate": "44100",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"initial_padding": 0,
"id": "0x101",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/90000",
"start_pts": 133500,
"start_time": "1.483333",
"duration_ts": 40090644,
"duration": "445.451600",
"bit_rate": "97102",
"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": 0,
"timed_thumbnails": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0
}
}
],
"copyStreamIdsByFile": {
"E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4": {
"0": true,
"1": true
}
},
"cutSegments": [
{
"start": 41.483333,
"end": 81.483333
},
{
"start": 121.483333,
"end": 171.483333
},
{
"start": 181.483333,
"end": 201.483333
}
],
"mainFileFormatData": {
"filename": "E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4",
"nb_streams": 2,
"nb_programs": 1,
"format_name": "mpegts",
"format_long_name": "MPEG-TS (MPEG-2 Transport Stream)",
"start_time": "1.483333",
"duration": "445.500000",
"size": "94910108",
"bit_rate": "1704334",
"probe_score": 50
},
"rotation": 360,
"shortestFlag": false,
"effectiveExportMode": "separate",
"outSegTemplate": "${FILENAME}-${CUT_FROM}-${CUT_TO}${SEG_SUFFIX}${EXT}",
"mergedFileTemplate": "${FILENAME}-cut-merged-${EPOCH_MS}${EXT}",
"preserveMetadata": "default",
"preserveChapters": true
},
"platform": "win32",
"version": "3.64.0"
}

Share the file

https://lamiaceae-my.sharepoint.cn/:v:/g/personal/homosapiens_lamiaceae_partner_onmschina_cn/EZjlFOlnfjhJsq-8tD8_2CIBzQmFRZuif4tWi6Rp1v8a-Q?e=DM90Bc

Share log from developer tools

index.tsx:71 Version 3.64.0
App.tsx:1679 userOpenFiles
App.tsx:1680 E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4
ffmpeg.ts:271 FFprobe detected format(s) mpegts
App.tsx:1332 loadMedia E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4 undefined undefined
App.tsx:543 State reset
App.tsx:1337 Found existing html5 friendly file E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39-html5ified-dummy.mkv
App.tsx:1223 Loading EDL file llc E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39-proj.llc undefined
useVideo.ts:105 onDurationChange 445.5
useThumbnails.ts:50 Cleanup thumbnails Array(0)
App.tsx:998 outSegTemplateOrDefault ${FILENAME}-${CUT_FROM}-${CUT_TO}${SEG_SUFFIX}${EXT}
useFfmpegOperations.ts:448 customTagsByFile {}
useFfmpegOperations.ts:449 paramsByStreamId Map(0) {size: 0}
useFfmpegOperations.ts:269 Cutting from 41.483333 (41.483333 adjusted 0 frames) to 81.483333
ffmpeg.ts:48 STDERR:
ffmpeg.ts:49 Input #0, mpegts, from 'E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4':
Duration: 00:07:25.50, start: 1.483333, bitrate: 1704 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 95 kb/s
Output #0, mpegts, to 'E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39-00.00.41.483-00.01.21.483-seg1.MP4':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24 fps, 24 tbr, 90k tbn
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 95 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
[mpegts @ 000000e60a1e85c0] Packet corrupt (stream = 0, dts = 4614750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 000000e60a1e85c0] Packet corrupt (stream = 0, dts = 5514750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 000000e60a1e85c0] Packet corrupt (stream = 0, dts = 6414750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 000000e60a1e85c0] Packet corrupt (stream = 0, dts = 7314750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
frame= 760 fps=0.0 q=-1.0 Lsize= 7242kB time=00:00:39.99 bitrate=1483.4kbits/s speed= 870x
video:6395kB audio:472kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.462167%
useFfmpegOperations.ts:269 Cutting from 121.483333 (121.483333 adjusted 0 frames) to 171.483333
ffmpeg.ts:48 STDERR:
ffmpeg.ts:49 Input #0, mpegts, from 'E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4':
Duration: 00:07:25.50, start: 1.483333, bitrate: 1704 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 92 kb/s
Output #0, mpegts, to 'E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39-00.02.01.483-00.02.51.483-seg2.MP4':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24 fps, 24 tbr, 90k tbn
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 92 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
[mpegts @ 0000008000d485c0] Packet corrupt (stream = 0, dts = 11814750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 0000008000d485c0] Packet corrupt (stream = 0, dts = 12714750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 0000008000d485c0] Packet corrupt (stream = 0, dts = 13614750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 0000008000d485c0] Packet corrupt (stream = 0, dts = 14514750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 0000008000d485c0] Packet corrupt (stream = 0, dts = 15414750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
frame= 1000 fps=0.0 q=-1.0 Lsize= 7744kB time=00:00:49.99 bitrate=1268.9kbits/s speed=1.06e+03x
video:6707kB audio:589kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.142382%
useFfmpegOperations.ts:269 Cutting from 181.483333 (181.483333 adjusted 0 frames) to 201.483333
ffmpeg.ts:48 STDERR:
ffmpeg.ts:49 Input #0, mpegts, from 'E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4':
Duration: 00:07:25.50, start: 1.483333, bitrate: 1704 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 94 kb/s
Output #0, mpegts, to 'E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39-00.03.01.483-00.03.21.483-seg3.MP4':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24 fps, 24 tbr, 90k tbn
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 94 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
[mpegts @ 000000d639a985c0] Packet corrupt (stream = 0, dts = 17214750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
[mpegts @ 000000d639a985c0] Packet corrupt (stream = 0, dts = 18114750).
E:\OneDrive - 翁悸会\坏女人\玄天至尊\玄天至尊39.MP4: corrupt input packet in stream 0
frame= 280 fps=0.0 q=-1.0 Lsize= 2129kB time=00:00:19.99 bitrate= 872.3kbits/s speed= 943x
video:1755kB audio:237kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.896996%

@arjhun
Copy link

arjhun commented Dec 25, 2024

Same here, slow, unusable unfortunately in any encoded format.

@Ebola-Chan-bot
Copy link
Author

There is a Chinese competitor software that also sells lossless and fast cutting and merging videos. Although it is rudimentary in many features, it cuts this very file well, and the cut clips can be played and jumped smoothly. FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants