Comments (8)
Just to confirm, are the Subtitles OK to the 24 minute mark then stop?
It's not unsurprising the file duration is mis-reported due to the lack of a file header. HandBrake still read to the end of the file and found over 25 minutes worth of content. That shouldn't have stopped the subtitles also completing though.
Are you able to share a sample file that reproduces this?
from handbrake.
Yes. Encoded video is ok and has 25:15. But subtitles stop after 24:09. Sample... in hardsub - subtitles just stop showing. In softsub - all lines after 24:09 are erased. Just made one fast encode. Im not able to extract subtitles from that mkv so just attached it as MKS. Also attached original testing subtitles and activity log. subtitles are in ZIP.
Video-1_encode_01.24.2024 13-38-31.txt
from handbrake.
The SSA and SRT demuxers stop demuxing when they reach the approximated file duration, so that's why you aren't seeing any subtitles after that.
I think it should be possible to remove this limitation without any side effect.
from handbrake.
hmm, you might want to check what happens on the muxer side of things. I think what can happen if you remove the demuxer limit is the creation of an output file whose duration matches the duration of the external SRT file even when the source video is much shorter.
We might need to monitor timestamps in the muxer and only output subtitles that have a video frame that follows. This would need to be done in muxcommon.c.
from handbrake.
Oh right, I did test only burned-in and tx3g, which requires additional conversions and so it already dropped the unneeded subtitles lines. But going from SSA to SSA does keep all the subtitles lines after the video ends.
from handbrake.
it would also help if the user could manually set it...
from handbrake.
It should be already possible to manually set the duration in the UI, and HandBrake will try to encode up to the duration set.
from handbrake.
It should be already possible to manually set the duration in the UI, and HandBrake will try to encode up to the duration set.
you are right - there is something like that, but it is not working for this subtitles problem - I tried it several times...
from handbrake.
Related Issues (20)
- 1.8.0 release planning HOT 46
- Remove more mingw specific linker options from contribs HOT 4
- Introduce variance boost feature HOT 2
- Issues with very, very, very low framerate input HOT 1
- Both audio streams are AAC but one is DEFINITELY DTS HOT 4
- Handbrake crashes with certain films with Dolby Vision HOT 9
- Some subtitle languages are not mapped HOT 4
- AMD VCN not detected under ArchLinux HOT 2
- Detect Dolby Vision in an ISO file/BDMV folder? HOT 3
- Removed HOT 1
- Buffer overflow in hb_ts_decode_pkt
- Right click menu on queue shows greyed options when clicking in right half of the list
- Crash on startup with intel-media-va-driver-non-free (Intel Arc A380) HOT 4
- Handbrake starting encode, then immediately completing encode with 0kb output HOT 5
- Windows-GUI: Chapter name by source media with more than one chapter will not translated to configured language HOT 5
- Resume encoding after a HB restart ⚡😖💘 HOT 2
- Preferences lost on HB update 😖 HOT 4
- change language from audio or subtitle source HOT 1
- Duplicated compiler/linker options when building ffmpeg HOT 2
- x265 encoding segfaults HOT 8
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.