Skip to content

Exported video shows length of original video #2394

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

Open
4 tasks done
idontlikecreatingaccounts opened this issue Apr 1, 2025 · 0 comments
Open
4 tasks done

Exported video shows length of original video #2394

idontlikecreatingaccounts opened this issue Apr 1, 2025 · 0 comments

Comments

@idontlikecreatingaccounts

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

I imported a 7 minute and 56 second .mp4 file, cut a 30second segment of it and exported that with all default settings.

However the exported file still shows the length of the original, and the whole seekbar is messed up (in Brave browser and VLC). Also the "length" info in Windows Explorer shows 7 minutes 56 seconds.

Exported file: https://files.catbox.moe/rcw5nv.mp4

I tried adjusting settings that could be related like stripping metadata that I thought could be causing the problem. No difference.

I've sometimes had a similar happen with "real" ffmpeg (CLI) too. Any suggestions?

Expected behavior

Exported file shows its actual length.

Actual behavior

Exported file shows the length of the original input file.

Provide an error report

No error occurred.

{
"err": false,
"state": {
"ffmpegExperimental": false,
"preserveMovData": false,
"movFastStart": true,
"preserveMetadataOnMerge": false,
"filePath": "E:\downloads\Tim Dillon One Liners.mp4",
"fileFormat": "mp4",
"externalFilesMeta": {},
"mainStreams": [
{
"index": 0,
"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": "0x1",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/44100",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 24521728,
"duration": "556.048254",
"bit_rate": "128007",
"nb_frames": "23947",
"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": 1,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "High",
"codec_type": "video",
"codec_tag_string": "avc1",
"codec_tag": "0x31637661",
"width": 1920,
"height": 1080,
"coded_width": 1920,
"coded_height": 1080,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 1,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 40,
"color_range": "tv",
"color_space": "bt709",
"color_transfer": "bt709",
"color_primaries": "bt709",
"chroma_location": "left",
"field_order": "progressive",
"refs": 1,
"is_avc": "true",
"nal_length_size": "4",
"id": "0x2",
"r_frame_rate": "25/1",
"avg_frame_rate": "25/1",
"time_base": "1/90000",
"start_pts": 3600,
"start_time": "0.040000",
"duration_ts": 50040000,
"duration": "556.000000",
"bit_rate": "773178",
"bits_per_raw_sample": "8",
"nb_frames": "13900",
"extradata_size": 49,
"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": 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": 1280,
"height": 720,
"coded_width": 1280,
"coded_height": 720,
"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": 50044343,
"duration": "556.048256",
"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": {
"E:\downloads\Tim Dillon One Liners.mp4": {
"0": true,
"1": true,
"2": true
}
},
"cutSegments": [
{
"start": 446.08,
"end": 476.4
}
],
"mainFileFormatData": {
"filename": "E:\downloads\Tim Dillon One Liners.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": "556.048254",
"size": "63505692",
"bit_rate": "913671",
"probe_score": 100,
"tags": {
"major_brand": "isom",
"minor_version": "512",
"compatible_brands": "isomiso2avc1mp41",
"title": "Tim Dillon One Liners",
"artist": "digitall",
"date": "20221225",
"encoder": "Lavf61.9.100",
"comment": "https://www.youtube.com/watch?v=ZjUneU9d65E",
"description": "Feliz Navidad\n#timdillon #comedy #funny #joerogan #montage",
"synopsis": "Feliz Navidad\n#timdillon #comedy #funny #joerogan #montage"
}
},
"rotation": 360,
"shortestFlag": false,
"effectiveExportMode": "separate",
"outSegTemplate": "${FILENAME}-${CUT_FROM}-${CUT_TO}${SEG_SUFFIX}${EXT}",
"preserveMetadata": "none",
"preserveChapters": false
},
"platform": "win32",
"version": "3.64.0"
}

Share the file

No response

Share log from developer tools

No response

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

1 participant