Comments (2)
Here's my patch that makes it work for me. I do not think this is a fix, but we live in hope.
commit 3a6bd9b8549b29d1d2c96f6f48bd3b2aca8b0d63 (HEAD -> hrp-subtitles-20240122)
Author: Hal Peterson <[email protected]>
Date: Tue Jan 23 16:28:51 2024 -0600
Remove checks for subtitle timestamp mismatch with chapter, because on at least two examples, it spuriously discards the last few subtitles. THIS IS NOT A FIX.
diff --git a/libhb/decsrtsub.c b/libhb/decsrtsub.c
index 17b714b0a..eb9768e4b 100644
--- a/libhb/decsrtsub.c
+++ b/libhb/decsrtsub.c
@@ -367,11 +367,14 @@ static hb_buffer_t *srt_read( hb_work_private_t *pv )
start_time >= pv->stop_time)
{
hb_deep_log( 3, "Discarding SRT at time start %"PRId64", stop %"PRId64, start_time, stop_time);
+#ifdef HRP_HACK_20240119_0735
memset( &pv->current_entry, 0, sizeof( srt_entry_t ) );
++(pv->number_of_entries);
pv->current_state = k_state_timecode;
continue;
+#endif // HRP_HACK_20240119_0735
}
+#ifdef HRP_HACK_20240119_0752
if (start_time < pv->start_time)
{
start_time = pv->start_time;
@@ -380,7 +383,7 @@ static hb_buffer_t *srt_read( hb_work_private_t *pv )
{
stop_time = pv->stop_time;
}
-
+#endif // HRP_HACK_20240119_0752
for (q = p = pv->current_entry.text; *p != '\0'; p++)
{
if (*p == '\r' || *p == '\n')
@@ -439,8 +442,10 @@ static hb_buffer_t *srt_read( hb_work_private_t *pv )
if( !( start_time >= pv->start_time && stop_time < pv->stop_time ) )
{
hb_deep_log( 3, "Discarding SRT at time start %"PRId64", stop %"PRId64, start_time, stop_time);
+#ifdef HRP_HACK_20240122_0848
memset( &pv->current_entry, 0, sizeof( srt_entry_t ) );
return hb_buffer_eof_init();
+#endif // HRP_HACK_20240122_0848
}
for (q = p = pv->current_entry.text; *p != '\0'; p++)
from handbrake.
It's the same issue described in #5714, from the activity log you can see that HandBrake thinks the duration is 00:28:51.
However, if you open the VIDEO_TS folder instead of the single .vob file you will get the correct duration, plus additional info like tracks languages. Opening a .vob file is usually the resort, it should be avoid if you have a valid DVD-Video structure (a VIDEO_TS folder with all the .ifo files).
from handbrake.
Related Issues (20)
- Add support for advanced upscaling using RTX VSR HOT 3
- Video Direct Stream Copy feature. HOT 3
- HandBrake 1.7.3 flatpak still not updated from 1.7.2 HOT 1
- First (and possibly other) instance of vobsub in a track not displayed HOT 1
- LinuxGUI: Close Button In 'About' Dialog Doesn't Work HOT 2
- Handbrake 1.7.3 does not "Quit" HOT 4
- Handbrake stalls on 2nd pass (VideoToolbox H265) HOT 13
- File chooser still not working in handbrake linux 1.7.3 HOT 2
- Drop-down Menus Become Unresponsive and Items Disappear on Hover HOT 1
- Washed out colours HOT 9
- Typo in queue menu (Chinese) HOT 2
- "Default Path" not being respected HOT 3
- Handbrake can't even start on my pc...
- French translations via Transifex and documentation translation via github HOT 1
- UI: hotkeys in queue list for open destination/source HOT 2
- Version 1.7.3 (2024021000) crashes HOT 2
- Latest Handbrake (v1.7.3) doesn't exit correctly when completed and must be ended via task manager HOT 1
- AMD VCN h.265 and AV1 option preanalysis=1 fails HOT 3
- Still locking at 100% HOT 3
- Multiple Monitor Window Size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handbrake.