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 > (HD) DVD, Blu-ray & (S)VCD > DVD & BD Rebuilder

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th July 2023, 09:25   #31561  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 169
Quote:
Originally Posted by jdobbs View Post
@musiclover

I just tried several sources in which I am keeping video intact and reencoding audio to AC3 (like your post) using NVENCCRE. In every case, as long as the language has been selected, it is keeping the internal subtitle. Can you tell me what kind of subtitle your source files are using, what language they are, and what languages you have selected?
The subtitles are .srt files, the language is English and I have all languages selected.

PHP Code:
Mediainfo source file:
General
Unique ID                   
260204332385627246476092889188414911582 (0xC3C1881302AEC33EA5821E05EDA1F45E)
Complete name               E:\Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb\Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv
Format                      
Matroska
Format version              
Version 4
File size                   
2.45 GiB
Duration                    
52 min 45 s
Overall bit rate            
6 654 kb/s
Frame rate                  
29.970 FPS
Encoded date                
2023-07-10 05:53:31 UTC
Writing application         
mkvmerge v78.0 ('Running'64-bit
Writing library             
libebml v1.4.4 libmatroska v1.7.1

Video
ID                          
1
Format                      
AVC
Format
/Info                 Advanced Video Codec
Format profile              
High@L4
Format settings             
CABAC 4 Ref Frames
Format settings
CABAC      Yes
Format settings
Reference  4 frames
Codec ID                    
V_MPEG4/ISO/AVC
Duration                    
52 min 45 s
Bit rate mode               
Constant
Bit rate                    
6 500 kb/s
Width                       
1 920 pixels
Height                      
1 080 pixels
Display aspect ratio        
16:9
Frame rate mode             
Constant
Frame rate                  
29.970 (30000/1001FPS
Color space                 
YUV
Chroma subsampling          
4:2:0
Bit depth                   
8 bits
Scan type                   
Progressive
Bits
/(Pixel*Frame)          : 0.105
Stream size                 
2.39 GiB (98%)
Default                     : 
Yes
Forced                      
No
Color range                 
Limited
Color primaries             
BT.709
Transfer characteristics    
BT.709
Matrix coefficients         
BT.709

Audio
ID                          
2
Format                      
AAC LC
Format
/Info                 Advanced Audio Codec Low Complexity
Codec ID                    
A_AAC-2
Duration                    
52 min 45 s
Bit rate                    
157 kb/s
Channel
(s)                  : 2 channels
Channel layout              
L R
Sampling rate               
48.0 kHz
Frame rate                  
46.875 FPS (1024 SPF)
Compression mode            Lossy
Stream size                 
59.4 MiB (2%)
Language                    English
Default                     : Yes
Forced                      
No

Text
ID                          
3
Format                      
UTF-8
Codec ID                    
S_TEXT/UTF8
Codec ID
/Info               UTF-8 Plain Text
Duration                    
52 min 38 s
Bit rate                    
67 b/s
Frame rate                  
0.308 FPS
Count of elements           
973
Stream size                 
26.0 KiB (0%)
Title                       SDH
Language                    
English
Default                     : No
Forced                      
No

mediainfo converted file
:
General
Unique ID                   
94091182688097716403814384801232346267 (0x46C94D78C743808D77741B959EDA5C9B)
Complete name               D:\WORK\Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv
Format                      
Matroska
Format version              
Version 4
File size                   
2.48 GiB
Duration                    
52 min 45 s
Overall bit rate mode       
Constant
Overall bit rate            
6 721 kb/s
Frame rate                  
29.970 FPS
Writing application         
Lavf57.83.100
Writing library             
Lavf57.83.100
ErrorDetectionType          
Per level 1

Video
ID                          
1
Format                      
AVC
Format
/Info                 Advanced Video Codec
Format profile              
High@L4
Format settings             
CABAC 4 Ref Frames
Format settings
CABAC      Yes
Format settings
Reference  4 frames
Codec ID                    
V_MPEG4/ISO/AVC
Duration                    
52 min 45 s
Bit rate mode               
Constant
Bit rate                    
6 500 kb/s
Width                       
1 920 pixels
Height                      
1 080 pixels
Display aspect ratio        
16:9
Frame rate mode             
Variable
Frame rate                  
29.970 FPS
Color space                 
YUV
Chroma subsampling          
4:2:0
Bit depth                   
8 bits
Scan type                   
Progressive
Bits
/(Pixel*Frame)          : 0.105
Stream size                 
2.39 GiB (97%)
Default                     : 
Yes
Forced                      
No
Color range                 
Limited
Color primaries             
BT.709
Transfer characteristics    
BT.709
Matrix coefficients         
BT.709

Audio
ID                          
2
Format                      
AC-3
Format
/Info                 Audio Coding 3
Commercial name             
Dolby Digital
Codec ID                    
A_AC3
Duration                    
52 min 45 s
Bit rate mode               
Constant
Bit rate                    
224 kb/s
Channel
(s)                  : 2 channels
Channel layout              
L R
Sampling rate               
48.0 kHz
Frame rate                  
31.250 FPS (1536 SPF)
Bit depth                   32 bits
Compression mode            
Lossy
Stream size                 
59.4 MiB (2%)
Writing library             Lavc57.107.100 ac3
Language                    
English
Service kind                
Complete Main
Default                     : Yes
Forced                      
No 

Last edited by musiclover; 15th July 2023 at 09:32.
musiclover is offline   Reply With Quote
Old 16th July 2023, 02:20   #31562  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
NVENCCRE v10.14

For those who are having subtitle issues with NVENCCRE when using "Keep Original Video (intact)", please try this version. You can replace the one included in the BD-RB folder. Give it some tests and let me know if it works ok for you now.

Please note that there are three options under the SUBTITLES menu item (1. "Keep Internal Subtitles", 2. "Convert BD/DVD Subtitles to SRT", and 3. "Add external subtitle"). Here is how they affect each other:

If 1 is selected, internal subtitles will be kept.
If 2 is selected, any graphical subtitles (PGS/VOBSUB) will be converted to SRT
If 3 is selected, any SRT with the same name/folder as a source will be included.

If you only want to keep an SRT and not the original graphical subtitles, deselect 1. Be careful, though, as any and all internal subtitles will be ignored (other than what is converted to SRT, assuming it is selected).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 16th July 2023, 08:17   #31563  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 169
Quote:
Originally Posted by jdobbs View Post
For those who are having subtitle issues with NVENCCRE when using "Keep Original Video (intact)", please try this version. You can replace the one included in the BD-RB folder. Give it some tests and let me know if it works ok for you now.

Please note that there are three options under the SUBTITLES menu item (1. "Keep Internal Subtitles", 2. "Convert BD/DVD Subtitles to SRT", and 3. "Add external subtitle"). Here is how they affect each other:

If 1 is selected, internal subtitles will be kept.
If 2 is selected, any graphical subtitles (PGS/VOBSUB) will be converted to SRT
If 3 is selected, any SRT with the same name/folder as a source will be included.

If you only want to keep an SRT and not the original graphical subtitles, deselect 1. Be careful, though, as any and all internal subtitles will be ignored (other than what is converted to SRT, assuming it is selected).
No luck with keeping the internal subtitles. The job ends in two seconds. No output file is being written in the Working/Output path. Only the log and the lastcmd are there.

NVREENCODE.LOG:
----------------------
[07.16.23] NVENCC Reencoder v0.10.14
----------------------
[10.15.28]Start Job [1 of 1]
- Reencoding "Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv"
-- Collecting input file information...
-- Input : AVC, 1920x1080, 29.97fps
-- Output: Keep Original Video (Intact)
[10.15.30]Job Completed [1 of 1]

NVLASTCMD.TXT:
"C:\BD Rebuilder\BD_Rebuilder\tools\ffmpeg.exe" -i "E:\Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv" -y -map 0:v:0 -c:v copy -map 0:a:0 -c:a:0 ac3 -b:a:0 224k -map 0:s:1 -c:s:0 copy "D:\WORK\Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv"

Last edited by musiclover; 16th July 2023 at 10:04.
musiclover is offline   Reply With Quote
Old 16th July 2023, 09:25   #31564  |  Link
dietachi
Registered User
 
Join Date: Mar 2021
Posts: 3
Hello,

I want to ask if there are any plans to implement QSVEncC for encoding.
I tested with the Intel Arc A750 and had some promising results.
dietachi is offline   Reply With Quote
Old 16th July 2023, 14:04   #31565  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,118
Quote:
Originally Posted by dietachi View Post
I want to ask if there are any plans to implement QSVEncC for encoding.
I tested with the Intel Arc A750 and had some promising results.
IMHO, slim to none chance. Why? Because it would require the purchase of another computer system with the Intel graphics card. Pretty much everyone here uses the nVideo graphics card. Plus the number of people that would use said Intel card is extremely small. No ROI.
MrVideo is offline   Reply With Quote
Old 16th July 2023, 16:04   #31566  |  Link
dietachi
Registered User
 
Join Date: Mar 2021
Posts: 3
Quote:
Originally Posted by MrVideo View Post
IMHO, slim to none chance. Why? Because it would require the purchase of another computer system with the Intel graphics card. Pretty much everyone here uses the nVideo graphics card. Plus the number of people that would use said Intel card is extremely small. No ROI.


Hello,

Thanks for your perspective. I appreciate the thought behind your analysis but I think there's a misunderstanding here.

While I understand your point about needing a new system with an Intel graphics card, I'd like to clarify that the QSVEncC support extends beyond the specific Intel Arc A750 card. It is indeed applicable to various Intel integrated GPUs (iGPUs) that come inbuilt in many standard PCs, especially those with Intel CPUs.

These Intel iGPUs are ubiquitous and certainly not limited to a small number of people as you suggest. Implementing QSVEncC, therefore, does not necessarily mean a need for users to purchase a new computer system. Rather, it could potentially unlock additional encoding efficiency for a substantial number of existing Intel CPU users.

As for the nVideo graphics card you've mentioned, it's notable to mention that not everyone is limited to this single choice, and having additional encoding options can only strengthen the tool's capabilities, increasing its appeal to a wider user base. The ROI might not be immediately obvious, but it's important to consider long-term usability and broad accessibility as well.

I hope this provides some clarity and prompts reconsideration of the idea. Thank you again for your input and discussion.
dietachi is offline   Reply With Quote
Old 16th July 2023, 22:42   #31567  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,118
I'm sure there are plenty of Intel CPU users with nVidea cards. If an Intel CPU user doesn't have an Intel GPU, he supports software only encoding (H2.64 and H.265), which takes many hours longer than nVideo hardware support. For jdobbs to support software that supports the Intel GPU, it would mean another computer system containing said GPU. If I were charging for the software, then there might be incentive to support other encoders/hardware. But, jdobbs does not. So, where is the incentive to do so? His focus is on nVideo GPU decoding/encoding. Obviously I cannot speak for jdobbs. This is my take.
MrVideo is offline   Reply With Quote
Old 17th July 2023, 00:39   #31568  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by musiclover View Post
No luck with keeping the internal subtitles. The job ends in two seconds. No output file is being written in the Working/Output path. Only the log and the lastcmd are there.

NVREENCODE.LOG:
----------------------
[07.16.23] NVENCC Reencoder v0.10.14
----------------------
[10.15.28]Start Job [1 of 1]
- Reencoding "Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv"
-- Collecting input file information...
-- Input : AVC, 1920x1080, 29.97fps
-- Output: Keep Original Video (Intact)
[10.15.30]Job Completed [1 of 1]

NVLASTCMD.TXT:
"C:\BD Rebuilder\BD_Rebuilder\tools\ffmpeg.exe" -i "E:\Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv" -y -map 0:v:0 -c:v copy -map 0:a:0 -c:a:0 ac3 -b:a:0 224k -map 0:s:1 -c:s:0 copy "D:\WORK\Grantchester.S08E06.1080p.PBS.WEB-DL.AAC2.0.H.264-NTb.mkv"
Have you tried running that command line from a COMMAND window to see what error you get? It looks ok to me. Can you tell me how many subtitles there are in the original file? It looks like it is attempting to copy the second one. If it only has one... that may be the issue.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 17th July 2023 at 01:10.
jdobbs is offline   Reply With Quote
Old 17th July 2023, 00:41   #31569  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by dietachi View Post
Hello,

I want to ask if there are any plans to implement QSVEncC for encoding.
I tested with the Intel Arc A750 and had some promising results.
Sorry. I won't say definitely "no", but not likely.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 17th July 2023, 08:34   #31570  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 169
Quote:
Originally Posted by jdobbs View Post
Have you tried running that command line from a COMMAND window to see what error you get? It looks ok to me. Can you tell me how many subtitles there are in the original file? It looks like it is attempting to copy the second one. If it only has one... that may be the issue.
There is one subtitle in the file. But on a source file with seven subtitles I get the same result. The job finishes also in 2 seconds without writing the result file.

The error from the command line is this:

Stream map '0:s:1' matches no streams.
To ignore this, add a trailing '?' to the map.


But... could it be the '0:s:1' needs to be '0:s:0' ?

Last edited by musiclover; 17th July 2023 at 09:59.
musiclover is offline   Reply With Quote
Old 17th July 2023, 16:55   #31571  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by musiclover View Post
There is one subtitle in the file. But on a source file with seven subtitles I get the same result. The job finishes also in 2 seconds without writing the result file.

The error from the command line is this:

Stream map '0:s:1' matches no streams.
To ignore this, add a trailing '?' to the map.


But... could it be the '0:s:1' needs to be '0:s:0' ?
Yes. That's why I asked. If there is only one subtitle it definitely needs to be "-map 0:s:0". I'll check it out and fix it. I wouldn't guess it would be too hard to find that issue.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 17th July 2023 at 16:58.
jdobbs is offline   Reply With Quote
Old 18th July 2023, 05:27   #31572  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,095
Thanks for all the help with my past efforts for the 'GUILTY CONSCIENCE' movie, it turned out better than I had expected.

Now... I have a REAL challenge if anyone has any 'easily implemented' suggestions

I have really old AVI files of the 1987 series 'Werewolf' There are no official sources with the exception of the recent French release which uses very similar SD sources since the original negatives are not available. I am also checking with some online sources where they offer DVD sets. The one at Rarefilmsondvd is promising because they offer an 8 DVD set, which would hopefully suggest fairly high quality, perhaps 1st generation recordings. Other sites offer 3 and 4 DVD sets. So, I'm waiting to hear back from them.

In the meantime though, I do have all the episodes in an ancient AVI format. I mean, considering, they aren't super horrible. But I was wanting to ask if there might be some suggestions as to some 'SIMPLE' scripts I might try to improve it. I don't really have to upscale it, I can leave it in it's original resolution and just let the player enlarge it.

Here is a 5 minute snippet of the first 5 minutes of the Pilot. If anyone has any SIMPLE suggestions (in other words AVI script that I can actually get to run ) in order to help me to improve the video 'quality', I would be most thankful!

http://lathe-of-heaven.com/Werewolf.mkv

Cheers!

Jaime.
Lathe is offline   Reply With Quote
Old 18th July 2023, 23:33   #31573  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
NVENCCRE v10.15

I've made changes to fix further issues with inclusion of subtitles when using "Keep Original Video (Intact)" mode. You can download it from this link.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 19th July 2023, 07:37   #31574  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,095
Quote:
Originally Posted by Lathe View Post
Thanks for all the help with my past efforts for the 'GUILTY CONSCIENCE' movie, it turned out better than I had expected.

Now... I have a REAL challenge if anyone has any 'easily implemented' suggestions

I have really old AVI files of the 1987 series 'Werewolf' There are no official sources with the exception of the recent French release which uses very similar SD sources since the original negatives are not available. I am also checking with some online sources where they offer DVD sets. The one at Rarefilmsondvd is promising because they offer an 8 DVD set, which would hopefully suggest fairly high quality, perhaps 1st generation recordings. Other sites offer 3 and 4 DVD sets. So, I'm waiting to hear back from them.

In the meantime though, I do have all the episodes in an ancient AVI format. I mean, considering, they aren't super horrible. But I was wanting to ask if there might be some suggestions as to some 'SIMPLE' scripts I might try to improve it. I don't really have to upscale it, I can leave it in it's original resolution and just let the player enlarge it.

Here is a 5 minute snippet of the first 5 minutes of the Pilot. If anyone has any SIMPLE suggestions (in other words AVI script that I can actually get to run ) in order to help me to improve the video 'quality', I would be most thankful!

http://lathe-of-heaven.com/Werewolf.mkv

Cheers!

Jaime.
Actually, forget that I just downloaded the pilot and episodes from YouTube and I think that gives me a LOT more to work with, at least starting with it really scrubbed clean. I'll see if I can insert a snippet from that here. It's not bad...

Lathe is offline   Reply With Quote
Old 19th July 2023, 10:42   #31575  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,118
Don't bother uploading a snippet. Anyone here can download it from YouTube, which I did. Actually it isn't bad, not bad at all. Except for one major thing: it is 25fps. Originally it was 480i29.97. Don't attempt to restore it to 23.976. The interlacing is gone and frames were melded together to get to 25fps. Just watch it as is.
MrVideo is offline   Reply With Quote
Old 19th July 2023, 15:01   #31576  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 169
Quote:
Originally Posted by jdobbs View Post
I've made changes to fix further issues with inclusion of subtitles when using "Keep Original Video (Intact)" mode. You can download it from this link.
Thank you for the update. My issue has now been solved.

Last edited by musiclover; 19th July 2023 at 17:31.
musiclover is offline   Reply With Quote
Old 19th July 2023, 18:56   #31577  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by musiclover View Post
Thank you for the update. My issue has now been solved.
Good to know. Thanks for testing it.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 20th July 2023, 03:39   #31578  |  Link
bjones
Registered User
 
Join Date: Jan 2010
Posts: 20
Quote:
Originally Posted by jdobbs View Post
@bjones

Well... looking at the code it looks like I never got around to adding the ffmpeg command line options that actually include the converted (SRT) subtitles that have been created from the graphical subs when using "Keep Original Video" is selected!! I guess that's what happens when you start something and then not go back to it for a while.
Thanks for looking into it and I'm old enough to not even remember how many projects I started on and got distracted in the middle of.

Last edited by bjones; 20th July 2023 at 15:30.
bjones is offline   Reply With Quote
Old 20th July 2023, 17:56   #31579  |  Link
bjones
Registered User
 
Join Date: Jan 2010
Posts: 20
Quote:
Originally Posted by jdobbs View Post
I've made changes to fix further issues with inclusion of subtitles when using "Keep Original Video (Intact)" mode. You can download it from this link.
Gave the latest version a try at just converting the subtitles from PGS to SRT intact audio and video. Source is a mkv with 2 PGS subtitles over to a mp4 hopefully with just the subtitles converted. Still end up with a combined subtitle double chapter menu entry at the end. mediainfo's attached of the original and the resultant mp4. Another odd behavior is if the container isn't changed and left at mkv to mkv the PGS subtitles just get removed but the menu comes over cleanly along with the video and audio ?
Attached Files
File Type: txt original_PGS_conversion_3subtitles.txt (7.0 KB, 67 views)
File Type: txt bad_PGS_conversion_3subtitles_MP4.txt (7.7 KB, 57 views)
File Type: txt no_PGS_conversion_3subtitles_MKV.txt (5.6 KB, 57 views)
File Type: txt NVREENCODE.LOG.txt (708 Bytes, 48 views)
bjones is offline   Reply With Quote
Old 21st July 2023, 16:38   #31580  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by bjones View Post
Gave the latest version a try at just converting the subtitles from PGS to SRT intact audio and video. Source is a mkv with 2 PGS subtitles over to a mp4 hopefully with just the subtitles converted. Still end up with a combined subtitle double chapter menu entry at the end. mediainfo's attached of the original and the resultant mp4. Another odd behavior is if the container isn't changed and left at mkv to mkv the PGS subtitles just get removed but the menu comes over cleanly along with the video and audio ?
I'll be honest -- I have no idea how the issue you are experiencing could even happen. I was unable to repeat it in my testing. Looking at your log, it looks like the jobs are completing in an extremely short period of time.

I've sent a PM to you. But
could you post the contents of NVLASTCMD.TXT right after the job has completed?

Also, are you simply letting NVENCCRE run, or are you adding any steps or doing anything externally to the files?
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Reply

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 09:13.


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