Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 18th July 2017, 13:23   #14301  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
There are more differences. Eac3to will not really work with UHD-BD at the moment.
https://forum.doom9.org/showthread.p...85#post1810285
hubblec4 is offline  
Old 20th July 2017, 10:08   #14302  |  Link
colpoz
Registered User
 
Join Date: Dec 2010
Posts: 1
Is there any way to extract only the subtitles flagged as forced instead of the entire track??

Example if the English track contains "1000 normal and 50 forced captions" I want to extract only the 50 forced ones.

Is it possible using only eac3to command line?
colpoz is offline  
Old 20th July 2017, 10:29   #14303  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
Probably not (at least I see no option mentioned in its help output). The purpose of eac3to is mainly to handle audio. You may need a tool specialized in handling subtitles instead.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 20th July 2017, 13:41   #14304  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by colpoz View Post
Is there any way to extract only the subtitles flagged as forced instead of the entire track??

Example if the English track contains "1000 normal and 50 forced captions" I want to extract only the 50 forced ones.

Is it possible using only eac3to command line?
As far as I know such disks are extremely rare, what's the name of the title? Tools you can try are BDSup2Sub(++) and Subtitle Edit.
stax76 is offline  
Old 20th July 2017, 19:31   #14305  |  Link
Q-the-STORM
Registered User
 
Join Date: Sep 2012
Posts: 174
Quote:
Originally Posted by stax76 View Post
As far as I know such disks are extremely rare, what's the name of the title? Tools you can try are BDSup2Sub(++) and Subtitle Edit.
I've encountered a lot of those, it's not that rare... you can extract them with BDSub2Sub... just drop the file in there, navigate to "File" -> "Save/Export" -> tick "Export only Forced" -> click on "save"...

If you prefer working in CLI, use --forced-only
Q-the-STORM is offline  
Old 20th July 2017, 19:36   #14306  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by Q-the-STORM View Post
I've encountered a lot of those, it's not that rare... you can extract them with BDSub2Sub... just drop the file in there, navigate to "File" -> "Save/Export" -> tick "Export only Forced" -> click on "save"
Can you name same titles, I'm always looking to improve my sample collection.
stax76 is offline  
Old 20th July 2017, 19:51   #14307  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
Take into account that forced subtitles can be flagged as "forced" in a total subtitle stream,
but they can also be muxed / authored as a separate stream.
von Suppé is offline  
Old 20th July 2017, 19:55   #14308  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I'm interested in titles that have it flagged as forced, ideally with spoken dialog and small file size.
stax76 is offline  
Old 20th July 2017, 22:06   #14309  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Most of the Avatar Blu-ray releases use flagged forced frames for alien dialog, sometimes even with normal frames active at the same time, which is a good test if the separation works properly.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline  
Old 20th July 2017, 22:27   #14310  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
It's a bit long, at least the price is low.
stax76 is offline  
Old 20th July 2017, 22:43   #14311  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Blu-rays are the only sources of commercial PGS subtitles, what do you expect?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline  
Old 20th July 2017, 23:05   #14312  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Probably unrealistic to find but something smaller like 100 min, 30 GB and decent movie I've not already seen.
stax76 is offline  
Old 21st July 2017, 22:39   #14313  |  Link
Q-the-STORM
Registered User
 
Join Date: Sep 2012
Posts: 174
I don't remember which ones, it's not like I wrote it down... Definitely a few seasons of True Blood have them (not all, some have separate forced subs), same goes for Game of Thrones...
Q-the-STORM is offline  
Old 25th July 2017, 12:19   #14314  |  Link
thomaz909
Registered User
 
Join Date: Jul 2004
Posts: 40
When i use "-normalize" it creates wav files only to get the maxiumum gain value of the source.
Isn't it possible to just read the gain value of the source instead of doing a complete decode to wav (some ac3 640 sources result in very huge 64 bit float wavs)?
thomaz909 is offline  
Old 25th July 2017, 12:24   #14315  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
Gain values in headers are no guarantee to avoid an integer overflow or a suboptimal volume.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 25th July 2017, 13:30   #14316  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,729
A good option would be to output the first pass to NUL if normalization is forced by the user.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 25th July 2017, 15:42   #14317  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Maybe, but with a wav file the second pass don't need re-decode source.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 25th July 2017, 16:57   #14318  |  Link
thomaz909
Registered User
 
Join Date: Jul 2004
Posts: 40
isn't encoding the bottleneck in the whole process?

i would really love to have an option to -normalize "onthefly".
ssd wear, small ramdisks.
~107mins ac3 640 produced a 14gb 64bit wav 5.1 file, only to get the 4-5 digit db value.
thomaz909 is offline  
Old 25th July 2017, 21:45   #14319  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
Quote:
Originally Posted by tebasuna51 View Post
Maybe, but with a wav file the second pass don't need re-decode source.
Or even worse, re-extract if from the BD!

Quote:
Originally Posted by thomaz909 View Post
isn't encoding the bottleneck in the whole process?

i would really love to have an option to -normalize "onthefly".
ssd wear, small ramdisks.
~107mins ac3 640 produced a 14gb 64bit wav 5.1 file, only to get the 4-5 digit db value.
To do normalizing well you need to read the entire file before writing anything. Maybe it could be cached in memory (assuming there is enough free memory) or recompressed to flac for the intermediate file, to reduce IO, but true on the fly normalizing is a bad idea.
__________________
madVR options explained
Asmodian is offline  
Old 25th July 2017, 21:56   #14320  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by Asmodian View Post
To do normalizing well you need to read the entire file before writing anything.
But you don't need to store the decoded data of the first pass. Only store the peak volume. That's just one value that gets updated when you find a new peak. O(1).
sneaker_ger is offline  
Closed Thread

Tags
eac3to

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.