尝试各种设置后字幕消失了

我正在使用 Playon 从 Amazon Prime 上的 Freevee 账户下载一些老电视剧,并将它们添加到我的 Plex 服务器。如果我直接将 mp4 文件添加到 Plex 服务器,它们可以正常播放并显示字幕。

然而,当我使用 MCEBuddy(v2.6 Release 4)处理文件以去除广告时,字幕就消失了。

我尝试了三种不同的方式——仅勾选“保存字幕”框、同时勾选“保存字幕”和“嵌入字幕”框,以及两个框都不勾选。

结果对我来说都是一样的——在 Plex 上观看文件时没有字幕。

我也从未看到生成 srt 文件。

我确信我在某个地方遗漏了什么……

顺便说一句,广告被完美地剪掉了。

能否附上每次嘗試的轉換紀錄?

好的…

这是第一次尝试 - 两个框都已勾选。

Dallas - s01e01 - Digger’s Daughter.mp4-Finished-2024-09-04T17-45-29.log (804.9 KB)

儲存字幕 → True
嵌入字幕 → False

Dallas - s01e01 - Digger’s Daughter.mp4-Finished-2024-09-04T16-12-40.log (909.5 KB)

保存字幕 → False
嵌入字幕 → False

感谢您查看此内容!

Dallas - s01e01 - Digger’s Daughter.mp4-Finished-2024-09-04T16-22-10.log (777.9 KB)

Closed Captions → 預設
Closed Captions Offset → 0
Save Subtitles → False
Embed Subtitles → False

就是无法从原始或重新封装文件中提取出来。

2024-09-04T16:17:34 MCEBuddy.AppWrapper.CCExtractor --> Opening 'C:\Users\dland\Videos\PlayOn\Dallas\Season 2\Done\Dallas - s01e01 - Digger's Daughter.mp4': Failed to open input file (gf_isom_open() returned error)

Closed Captions → default
Closed Captions Offset → 0
Save Subtitles → False
Embed Subtitles → False

您可能需要将原始文件上传到ftp,这样我们就可以查看它。

完成了..

再次感謝!

它在读取作为字幕的 Stream/Track 时遇到问题,错误如下:

Unsupported codec with id 98314 for input stream 2

然而,当 FFmpegMediaInfo 运行时,它找到了一个 tx3g。根据 MediaInfo,文件中实际上有 2 条 tx3g 流/轨道。

这个问题我得向社区里的其他人求助了。

我直接用 CCExtractor 就能顺利提取出 srt。

'C:\Program Files\MCEBuddy2x\ccextractor\ccextractorwinfull.exe' '
Dallas - s02e01 - Digger''s Daughter.mp4'
CCExtractor 0.93, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: .\Dallas - s02e01 - Digger's Daughter.mp4
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[Timing mode: Auto] [Debug: No] [Buffer input: Yes]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No][Filter profanity: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
[Quantisation-mode: CCExtractor's internal function]

-----------------------------------------------------------------
Opening file: .\Dallas - s02e01 - Digger's Daughter.mp4
Detected MP4 box with name: ftyp
Detected MP4 box with name: free
Detected MP4 box with name: mdat
File seems to be a MP4
Analyzing data with GPAC (MP4 library)
Opening '.\Dallas - s02e01 - Digger's Daughter.mp4': ok
Track 1, type=vide subtype=avc1
Track 2, type=sbtl subtype=tx3g
Track 3, type=sbtl subtype=tx3g
Track 4, type=soun subtype=MPEG
Track 5, type=text subtype=text
MP4: found 5 tracks: 1 avc and 3 cc
Processing track 1, type=vide subtype=avc1
Processing track 2, type=sbtl subtype=tx3g
Processing track 3, type=sbtl subtype=tx3g
Processing track 4, type=soun subtype=MPEG
Processing track 5, type=text subtype=text

Unsupported track type text:text! Please report.

Unsupported track type text:text! Please report.
 11%  |  00:05
Unsupported track type text:text! Please report.
 22%  |  00:17
Unsupported track type text:text! Please report.
 33%  |  14:55
Unsupported track type text:text! Please report.
 44%  |  17:17
Unsupported track type text:text! Please report.
 55%  |  25:51
Unsupported track type text:text! Please report.
 66%  |  28:45
Unsupported track type text:text! Please report.
 77%  |  42:09
Unsupported track type text:text! Please report.
100%  |  45:05
Closing media: ok
Found 1 AVC track(s). Found 3 CC track(s).


Total frames time:        00:00:00:000  (0 frames at 29.97fps)

Min PTS:                                00:00:00:000
Max PTS:                                00:45:05:667
Length:                          00:45:05:667
Done, processing time = 0 seconds
Issues? Open a ticket here
https://github.com/CCExtractor/ccextractor/issues

Dallas - s02e01 - Digger’s Daughter_1.srt (53.0 KB)

附注:由于你正在使用 PlayOn/PlayLater,应将“广告移除器”设为“是(使用标记)”,并在专家选项下勾选“检查章节中的广告标记”。

所有資訊都很好——謝謝你。很高興你找到了提取 srt 檔案的方法!

這裡有幾件事要說明。

你上傳到伺服器的檔案是 Dallas - s02e01 - Digger's Daughter(這與你日誌中的檔案不同)

當我用 MCEBuddy 處理這個檔案時,它能夠順利提取字幕。

然而,你附上的日誌是針對檔案 Dallas - s01e01 - Digger's Daughter.mp4

看起來這個 MP4 檔案已損壞,MCEBuddy 無法提取字幕(即使使用 ccextractor 也一樣)

2024-09-04T16:17:34 MCEBuddy.AppWrapper.CCExtractor → [isom] not enough bytes in box chpl: 2 left, reading 9 (file ..\src\thirdparty\gpacmp4\box_code_base.c, line 145)
2024-09-04T16:17:34 MCEBuddy.AppWrapper.CCExtractor → [iso file] Read Box “chpl” (start 1174473) failed (Invalid IsoMedia File) - skipping
2024-09-04T16:17:34 MCEBuddy.AppWrapper.CCExtractor → [iso file] Read Box “udta” (start 887136) failed (Invalid IsoMedia File) - skipping
2024-09-04T16:17:34 MCEBuddy.AppWrapper.CCExtractor → [iso file] Read Box “moov” (start 32) failed (Invalid IsoMedia File) - skipping

如果你能上傳原始檔案 Dallas - s01e01 - Digger's Daughter.mp4,我們就能看看發生了什麼問題。

今天早上尝试上传文件——似乎FTP服务器可能宕机或不接受登录。我分别用WinSCP和FileZilla都试过了。

我今天晚些时候再试一次。

今天上午上傳功能正常。

我上傳了兩個檔案——S01 E01 和 E02。兩個都是用 Playon 從 Freevee 錄下來的,在 Plex 裡播放和字幕都完全沒問題。

我不確定 E01 是否被我動過(我在來這裡求助前做了大量測試),但 E02 絕對是原封未動。

另外——抱歉之前上傳的檔案名稱造成混淆。Freevee 把《達拉斯》第一季的集數標錯了(把 S01 的集數標成 S02),所以我為了讓 Plex 正確辨識而重新命名。可能我為了你又下載了一次 E01,卻忘了改名,導致上傳時顯示為 S02。

謝謝你一路陪我解決這個問題。

我使用最新的 MCEBuddy 测试版试了两个文件,都能正常提取英文字幕。只要在转换任务设置里确保勾选了 Save subtitles(保存为 SRT 文件)和/或 Embed subtitles(嵌入到转换后的文件)即可。

似乎还有一条西班牙语字幕轨,但该轨已损坏,无法提取;实际上 MP4 Inspector 甚至无法加载它。

我来试试看,然后回来汇报……

我剛剛也兩個檔案都成功了。

我完全搞不懂為什麼一開始會出問題——可能是我的設定有誤,或是我把那個檔案搞壞了卻沒發現,然後一直用那個壞檔案試不同設定,而不是換個檔案試。

結果它處理這兩個檔案的速度,似乎比單獨處理一個還快了三倍左右。

謝謝你的幫忙!