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

Extraction of Subtitle #2302

Open
4 tasks done
neo305 opened this issue Jan 18, 2025 · 0 comments
Open
4 tasks done

Extraction of Subtitle #2302

neo305 opened this issue Jan 18, 2025 · 0 comments

Comments

@neo305
Copy link

neo305 commented Jan 18, 2025

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 thought this was to extract as a .srt file? it is extracting as a .mks file which is useless to me.

Expected behavior

i would like a .srt file

Actual behavior

is extracting as a .mks file

Provide an error report

No error occurred.

{
"err": false,
"state": {
"ffmpegExperimental": false,
"preserveMovData": false,
"movFastStart": true,
"preserveMetadataOnMerge": false,
"filePath": "H:\4K\Snowpiercer.2160P.2013.mkv",
"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": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 3840,
"height": 2076,
"coded_width": 3840,
"coded_height": 2076,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 2,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "320:173",
"pix_fmt": "yuv420p",
"level": 52,
"color_range": "tv",
"color_space": "bt2020nc",
"color_transfer": "smpte2084",
"color_primaries": "bt2020",
"chroma_location": "topleft",
"field_order": "progressive",
"refs": 1,
"is_avc": "true",
"nal_length_size": "4",
"r_frame_rate": "60/1",
"avg_frame_rate": "60/1",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0.000000",
"bits_per_raw_sample": "8",
"extradata_size": 47,
"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": {
"DURATION": "02:06:20.567000000"
},
"side_data_list": [
{
"side_data_type": "Content light level metadata",
"max_content": 1275,
"max_average": 573
},
{
"side_data_type": "Mastering display metadata",
"red_x": "17/25",
"red_y": "8/25",
"green_x": "53/200",
"green_y": "69/100",
"blue_x": "3/20",
"blue_y": "3/50",
"white_point_x": "3127/10000",
"white_point_y": "329/1000",
"min_luminance": "1/10000",
"max_luminance": "1000/1"
}
]
},
{
"index": 1,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "LC",
"codec_type": "audio",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"initial_padding": 1024,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": -21,
"start_time": "-0.021000",
"extradata_size": 5,
"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": "eng",
"title": "Surround 7.1",
"DURATION": "02:06:20.586000000"
}
},
{
"index": 2,
"codec_name": "hdmv_pgs_subtitle",
"codec_long_name": "HDMV Presentation Graphic Stream subtitles",
"codec_type": "subtitle",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": -21,
"start_time": "-0.021000",
"duration_ts": 7580586,
"duration": "7580.586000",
"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
},
"tags": {
"language": "eng",
"DURATION": "00:00:00.000000000"
}
},
{
"index": 3,
"codec_name": "hdmv_pgs_subtitle",
"codec_long_name": "HDMV Presentation Graphic Stream subtitles",
"codec_type": "subtitle",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": -21,
"start_time": "-0.021000",
"duration_ts": 7580586,
"duration": "7580.586000",
"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
},
"tags": {
"language": "eng",
"DURATION": "01:59:18.026000000"
}
},
{
"index": 4,
"codec_name": "hdmv_pgs_subtitle",
"codec_long_name": "HDMV Presentation Graphic Stream subtitles",
"codec_type": "subtitle",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": -21,
"start_time": "-0.021000",
"duration_ts": 7580586,
"duration": "7580.586000",
"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
},
"tags": {
"language": "spa",
"DURATION": "02:06:10.188000000"
}
},
{
"index": 5,
"codec_name": "hdmv_pgs_subtitle",
"codec_long_name": "HDMV Presentation Graphic Stream subtitles",
"codec_type": "subtitle",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": -21,
"start_time": "-0.021000",
"duration_ts": 7580586,
"duration": "7580.586000",
"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
},
"tags": {
"language": "eng",
"DURATION": "01:58:01.950000000"
}
}
],
"copyStreamIdsByFile": {
"H:\4K\Snowpiercer.2160P.2013.mkv": {
"0": true,
"1": true,
"2": true,
"3": true,
"4": true,
"5": true
}
},
"cutSegments": [
{
"start": 0,
"end": 535.2
},
{
"start": 535.2,
"end": 928.217
},
{
"start": 928.217,
"end": 1306.5
},
{
"start": 1306.5,
"end": 1774.85
},
{
"start": 1774.85,
"end": 2194.483
},
{
"start": 2194.483,
"end": 2474.417
},
{
"start": 2474.417,
"end": 2870.65
},
{
"start": 2870.65,
"end": 3257.533
},
{
"start": 3257.533,
"end": 3591.533
},
{
"start": 3591.533,
"end": 4053.283
},
{
"start": 4053.283,
"end": 4537.65
},
{
"start": 4537.65,
"end": 5160.433
},
{
"start": 5160.433,
"end": 5816.633
},
{
"start": 5816.633,
"end": 6296.783
},
{
"start": 6296.783,
"end": 7037.15
},
{
"start": 7037.15,
"end": 7580.567
}
],
"mainFileFormatData": {
"filename": "H:\4K\Snowpiercer.2160P.2013.mkv",
"nb_streams": 6,
"nb_programs": 0,
"format_name": "matroska,webm",
"format_long_name": "Matroska / WebM",
"start_time": "-0.021000",
"duration": "7580.586000",
"size": "10603023410",
"bit_rate": "11189660",
"probe_score": 100,
"tags": {
"title": "Snowpiercer",
"creation_time": "2025-01-17T16:57:40.000000Z",
"ENCODER": "Lavf61.7.100"
}
},
"rotation": 360,
"shortestFlag": false,
"effectiveExportMode": "separate",
"preserveMetadata": "default",
"preserveChapters": true
},
"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