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

This RMVB file can't cut #1293

Open
4 tasks done
Silver-Fang opened this issue Sep 2, 2022 · 1 comment
Open
4 tasks done

This RMVB file can't cut #1293

Silver-Fang opened this issue Sep 2, 2022 · 1 comment
Labels
bug ffmpeg Problem resides in ffmpeg or usage of ffmpeg

Comments

@Silver-Fang
Copy link

Silver-Fang commented Sep 2, 2022

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

Steps to reproduce

The OneDrive link has all the files needed for my editing project. Clip failed.

Expected behavior

Clips merged successfully.

Actual behavior

Unsupported file: Command failed with exit code 1: LosslessCut-win-x64\resources\ffprobe.exe -of json -show_chapters -show_format -show_entries stream -i 诸神之战-01.13.02.958-01.14.13.612-seg1.rmvb -hide_banner [rm @ 000001508ae1e900] sub_packet_size i

Provide an error report

No error occurred.

{
"state": {
"filePath": "诸神之战.rmvb",
"fileFormat": "rm",
"externalFilesMeta": {},
"mainStreams": [
{
"index": 0,
"codec_name": "cook",
"codec_long_name": "Cook / Cooker / Gecko (RealAudio G2)",
"codec_type": "audio",
"codec_tag_string": "cook",
"codec_tag": "0x6b6f6f63",
"sample_fmt": "fltp",
"sample_rate": "44100",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 6367839,
"duration": "6367.839000",
"bit_rate": "96468",
"extradata_size": 16,
"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": "rv40",
"codec_long_name": "RealVideo 4.0",
"codec_type": "video",
"codec_tag_string": "RV40",
"codec_tag": "0x30345652",
"width": 1280,
"height": 688,
"coded_width": 1280,
"coded_height": 688,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 1,
"pix_fmt": "yuv420p",
"level": -99,
"refs": 1,
"r_frame_rate": "785647/32768",
"avg_frame_rate": "785647/32768",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 6367564,
"duration": "6367.564000",
"bit_rate": "1920941",
"extradata_size": 8,
"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": {
"诸神之战.rmvb": {
"0": true,
"1": true
}
},
"cutSegments": [
{
"start": 4382.958310793524,
"end": 4453.612169333047
},
{
"start": 4463.705577695835,
"end": 4564.806494519803
},
{
"start": 4574.941611181612,
"end": 4665.990827941811
}
],
"mainFileFormatData": {
"filename": "诸神之战.rmvb",
"nb_streams": 2,
"nb_programs": 0,
"format_name": "rm",
"format_long_name": "RealMedia",
"start_time": "0.000000",
"duration": "6367.839000",
"size": "1613369182",
"bit_rate": "2026896",
"probe_score": 100,
"tags": {
"title": "����֮ս.Clash.of.the.Titans.720p.Bluray",
"author": "��Ӱ�ӵ۹�CNXP����С�����䵥�ĺ�����",
"copyright": "bbs.cnxp.com(C)2010",
"ASMRuleBook": "#($Bandwidth >= 0),Stream0Bandwidth = 96468, Stream1Bandwidth = 1903532;",
"Audiences": "Easy RealMedia Tool's Audience;",
"audioMode": "music",
"Creation Date": "7/10/2010 21:03:43",
"Description": "This File is Created by Easy RealMedia Tools@!",
"Email": "[email protected]",
"Generated By": "Easy RealMedia Tools V1.8x",
"HomeWeb": "http://redcheek.net",
"Keywords": "",
"Modification Date": "7/10/2010 21:03:43",
"videoMode": "sharp"
}
},
"rotation": 360,
"shortestFlag": false,
"effectiveExportMode": "merge"
},
"platform": "win32",
"version": "3.46.2"
}

Share the file

https://lamiaceae-my.sharepoint.cn/:f:/g/personal/homosapiens_lamiaceae_partner_onmschina_cn/EgTB24RAAH5HknyzzJNOp2kB3IwYnMSD8tls2ZzduGw0Yg?e=tzAjxv

Share log

No response

@mifi
Copy link
Owner

mifi commented Oct 14, 2022

I cannot access your shared file, but I tried with this similar file: https://software-download.name/sample-rmvb-video-file/download.html

I can reproduce the issue with that file. It only happens when merging segments. It seems like ffmpeg produces broken output when processing rmvb files.

Even this simple command produces invalid output:

ffmpeg -i rmvb-sample-video/rmvb.rmvb -c copy -f rm out.rmvb

Trying to open the outputted file:

ffmpeg -i out.rmvb
ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
[rm @ 0x7fa4cec04080] sub_packet_size is invalid
out.rmvb: Operation not permitted

I found this: https://lists.ffmpeg.org/pipermail/ffmpeg-trac/2014-December/026107.html

Not sure what to do about this issue, as it's a problem with ffmpeg.

@mifi mifi added bug ffmpeg Problem resides in ffmpeg or usage of ffmpeg labels Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ffmpeg Problem resides in ffmpeg or usage of ffmpeg
Projects
None yet
Development

No branches or pull requests

2 participants