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 > Video Encoding > MPEG-4 Encoder GUIs

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 13th September 2019, 08:49   #861  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@Havokdan

Maybe I understand now what is needed. Currently, there is a text box where you can enter tags in a certain format:

tag name: tag value;...

This feature is better than nothing but it's not powerful nor intuitive, what would be better is a text box with open file dialog picker to define a tag xml file, that's how it works in the mkvtoolnix GUI. Furthermore staxrip could show a grid view where the content of the tag XML file can be edited and last staxrip could automatically convert a found nfo file to a tag xml file. I think that's the right way to do it, what do you think?
stax76 is offline  
Old 13th September 2019, 09:02   #862  |  Link
Havokdan
Registered User
 
Havokdan's Avatar
 
Join Date: Apr 2009
Location: Gurupi, Tocantins, Brasil
Posts: 204
Quote:
Originally Posted by stax76 View Post
@Havokdan

Maybe I understand now what is needed. Currently, there is a text box where you can enter tags in a certain format:

tag name: tag value;...

This feature is better than nothing but it's not powerful nor intuitive, what would be better is a text box with open file dialog picker to define a tag xml file, that's how it works in the mkvtoolnix GUI. Furthermore staxrip could show a grid view where the content of the tag XML file can be edited and last staxrip could automatically convert a found nfo file to a tag xml file. I think that's the right way to do it, what do you think?
Well, I'm a humble beggar, whatever can be implemented would be happy and thankful. I just wanted to facilitate this operation, because in my particular situation I have several files that I organized with Tmm (tinymediamanager) that would like to import the covers and information into the file itself. Perhaps by implementing an option that StaxRip would do this automatically, based on criteria, such as being in the same folder and with some names, that would have some default values ​​and could be edited by the user, including using ReGex.
Havokdan is offline  
Old 13th September 2019, 10:38   #863  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 117
Hi stax76,

don't know if it was mentioned before, but if I try to encode a file with special characters (ä, ö, ü, ß) the encode fails since 2.0.3.0. In 2.0.2.4 everything is fine.
In 2.0.3.0 the status window freezes but x264 starts but never finishes encoding utilizing 99% of CPU. In 2.0.4.0 i get the following error.



As you can see in the log, the special character gets wornlgy converted.

Code:
-------------------------- System Environment --------------------------

StaxRip    : 2.0.4.0
Windows    : Windows 10 Pro 1903
Language   : German (Germany)
CPU        : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
GPU        : Intel(R) HD Graphics 530, NVIDIA GeForce GTX 950M
Resolution : 1920 x 1080
DPI        : 96

------------------------ MediaInfo Source File ------------------------

D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.ts

General
ID                       : 1039 (0x40F)
Complete name            : D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.ts
Format                   : MPEG-TS
File size                : 496 MiB
Duration                 : 14 min 23 s
Overall bit rate mode    : Variable
Overall bit rate         : 4 819 kb/s

Video
ID                       : 5421 (0x152D)
Menu ID                  : 10377 (0x2889)
Format                   : AVC
Format/Info              : Advanced Video Codec
Format profile           : High@L4
Format settings          : CABAC / 4 Ref Frames
Format, CABAC            : Yes
Format, Reference frames : 4 frames
Codec ID                 : 27
Duration                 : 14 min 23 s
Bit rate                 : 4 128 kb/s
Width                    : 1 280 pixels
Height                   : 720 pixels
Display aspect ratio     : 16:9
Frame rate               : 50.000 FPS
Color space              : YUV
Chroma subsampling       : 4:2:0
Bit depth                : 8 bits
Scan type                : Progressive
Bits/(Pixel*Frame)       : 0.090
Stream size              : 425 MiB (86%)

Audio
ID                       : 5426 (0x1532)
Menu ID                  : 10377 (0x2889)
Format                   : AC-3
Format/Info              : Audio Coding 3
Commercial name          : Dolby Digital
Codec ID                 : 6
Duration                 : 14 min 22 s
Bit rate mode            : Constant
Bit rate                 : 448 kb/s
Channel(s)               : 2 channels
Channel layout           : L R
Sampling rate            : 48.0 kHz
Frame rate               : 31.250 FPS (1536 SPF)
Bit depth                : 16 bits
Compression mode         : Lossy
Delay relative to video  : 90 ms
Stream size              : 46.1 MiB (9%)
Language                 : German
Service kind             : Complete Main

--------- ffmpeg: Re-mux TS to MKV using ffmpeg 4.2 Wolfberry ---------

D:\_Programme\_Portable\StaxRip.2.0.4.0\Apps\Encoders\ffmpeg\ffmpeg.exe -i "D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.ts" -c copy -map 0 -ignore_unknown -sn -y -hide_banner "D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.mkv"

[h264 @ 000001ec3c2ee800] Increasing reorder buffer to 1
[h264 @ 000001ec3c2ee800] Increasing reorder buffer to 2
[mpegts @ 000001ec3c2e7f00] start time for stream 2 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.ts':
Duration: 00:14:23.00, start: 90545.858756, bitrate: 4820 kb/s
Program 10377
Stream #0:0[0x152d]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x1532](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
Stream #0:2[0x1531](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Output #0, matroska, to 'D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.mkv':
Metadata:
encoder         : Lavf58.29.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 1k tbn, 90k tbc
Stream #0:1(deu): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
video:442133kB audio:47194kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.118997%

Start:    11:34:10
End:      11:34:14
Duration: 00:00:03

------------------ Demux MKV using mkvextract 37.0.0 ------------------

D:\_Programme\_Portable\StaxRip.2.0.4.0\Apps\Support\MKVToolNix\mkvextract.exe "D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.mkv" tracks 1:"D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All ID1 89ms German.ac3" --ui-language en

Extracting track 1 with the CodecID 'A_AC3' to the file 'D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All ID1 89ms German.ac3'. Container format: Dolby Digital (AC-3)

Start:    11:34:14
End:      11:34:15
Duration: 00:00:00

General
Complete name         : D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All ID1 89ms German.ac3
Format                : AC-3
Format/Info           : Audio Coding 3
Commercial name       : Dolby Digital
File size             : 46.1 MiB
Duration              : 14 min 22 s
Overall bit rate mode : Constant
Overall bit rate      : 448 kb/s

Audio
Format                : AC-3
Format/Info           : Audio Coding 3
Commercial name       : Dolby Digital
Duration              : 14 min 22 s
Bit rate mode         : Constant
Bit rate              : 448 kb/s
Channel(s)            : 2 channels
Channel layout        : L R
Sampling rate         : 48.0 kHz
Frame rate            : 31.250 FPS (1536 SPF)
Bit depth             : 16 bits
Compression mode      : Lossy
Stream size           : 46.1 MiB (100%)
Service kind          : Complete Main

------------------------- Error opening source -------------------------

System exception - Access Violation
(D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_source.avs, line 2)

LoadPlugin("D:\_Programme\_Portable\StaxRip.2.0.4.0\Apps\Plugins\both\L-SMASH-Works\LSMASHSource.dll")
LWLibavVideoSource("D:\Video\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All_temp\Alpha Centauri - S04E13 - Woher kommt unser Wissen übers All.mkv", format = "YUV420P8")
FreaQ is offline  
Old 13th September 2019, 11:18   #864  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Well, I'm a humble beggar, whatever can be implemented would be happy and thankful. I just wanted to facilitate this operation, because in my particular situation I have several files that I organized with Tmm (tinymediamanager) that would like to import the covers and information into the file itself. Perhaps by implementing an option that StaxRip would do this automatically, based on criteria, such as being in the same folder and with some names, that would have some default values ​​and could be edited by the user, including using ReGex.
I started to work on it.

Quote:
don't know if it was mentioned before, but if I try to encode a file with special characters (ä, ö, ü, ß) the encode fails since 2.0.3.0. In 2.0.2.4 everything is fine.
In 2.0.3.0 the status window freezes but x264 starts but never finishes encoding utilizing 99% of CPU. In 2.0.4.0 i get the following error.
Hi FreaQ,

I'm not able to reproduce it:

https://pastebin.com/3bbA57M1

Maybe try 2.0.4.2, it uses a HolyWu L-Smash build instead of a MeteorRain build like in 2.0.4.0, if it persists maybe you can upload the file.

Last edited by stax76; 13th September 2019 at 11:25.
stax76 is offline  
Old 13th September 2019, 11:57   #865  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 117
Quote:
Originally Posted by stax76 View Post
Hi FreaQ,

I'm not able to reproduce it:

https://pastebin.com/3bbA57M1

Maybe try 2.0.4.2, it uses a HolyWu L-Smash build instead of a MeteorRain build like in 2.0.4.0, if it persists maybe you can upload the file.
Strange.

Tried 2.0.4.2 and it crashed when I hit the start button.

Here is one file.
https://mega.nz/#F!bkkByaIa!6I5p9jkfXCT-oMQljTF9Rw

Happens also with all the others I have with ä, ö or ß.
FreaQ is offline  
Old 13th September 2019, 12:46   #866  |  Link
Havokdan
Registered User
 
Havokdan's Avatar
 
Join Date: Apr 2009
Location: Gurupi, Tocantins, Brasil
Posts: 204
Quote:
Originally Posted by stax76 View Post
I started to work on it.
Havokdan is offline  
Old 13th September 2019, 14:14   #867  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by FreaQ View Post
Strange.

Tried 2.0.4.2 and it crashed when I hit the start button.

Here is one file.
https://mega.nz/#F!bkkByaIa!6I5p9jkfXCT-oMQljTF9Rw

Happens also with all the others I have with ä, ö or ß.
Thanks for the file, I was able to reproduce it and indeed it seem to be caused by Umlaute, I've reported it in the L-Smash thread.
stax76 is offline  
Old 13th September 2019, 19:07   #868  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@FreaQ

It seems it's not the filename but something else, you can still use ffms2 and dgdecnv, the latter is probably the most robust in regard of ts.


@Havokdan

The next build has following improvements:

- a Tag File option has been added to the container/muxer dialog
- container/muxer has a Tags tab with a grid view for tags

For further improvement please create an issue on the tracker, it's too complicated to discuss here.

Last edited by stax76; 13th September 2019 at 19:21.
stax76 is offline  
Old 13th September 2019, 21:22   #869  |  Link
Havokdan
Registered User
 
Havokdan's Avatar
 
Join Date: Apr 2009
Location: Gurupi, Tocantins, Brasil
Posts: 204
Quote:
Originally Posted by stax76 View Post
@FreaQ

It seems it's not the filename but something else, you can still use ffms2 and dgdecnv, the latter is probably the most robust in regard of ts.


@Havokdan

The next build has following improvements:

- a Tag File option has been added to the container/muxer dialog
- container/muxer has a Tags tab with a grid view for tags

For further improvement please create an issue on the tracker, it's too complicated to discuss here.
Thank you, I will wait then.
Havokdan is offline  
Old 13th September 2019, 23:56   #870  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
https://github.com/staxrip/staxrip/i...ment-531414479
Patman is offline  
Old 14th September 2019, 13:55   #871  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
2.0.4.3 Beta
  • new AviSynth script CropResize added
  • update: x265 3.1+15-a092e82 Wolfberry
  • update: MP4Box 0.8.0-rev69-5fe3ec1 Wolfberry
  • update: ffmpeg 4.2.1 Wolfberry
  • update: L-Smash Works 2019-09-14 HolyWu
  • the filter list in the main dialog shows shorter filter names,
    for example 'BicubicResize' instead of 'Resize BicubicResize'
  • SubtitleEdit is now included
  • chapterEditor has been integrated into the main menu and
    into the container/muxer dialog
  • a Tag File option has been added to the container/muxer dialog
  • container/muxer has a Tags tab added with a grid view for editing tags
  • Kodi nfo files are imported into tags

https://www.dropbox.com/sh/4ctl2y928...dd3yqcAHa?dl=0

https://1drv.ms/f/s!ArwKS_ZUR01gySQIE1QCL2i9F_uR
stax76 is offline  
Old 14th September 2019, 15:24   #872  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
Could you please add a button to StaxRip Help to Check for Updates? Currently we don't get notified if a new stable version is released.
Atlantis is offline  
Old 14th September 2019, 15:50   #873  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by Atlantis View Post
Could you please add a button to StaxRip Help to Check for Updates? Currently we don't get notified if a new stable version is released.
I'm not sure what is the best way to do this, I will look at other apps first to see how they do it.

You could register at github for notifications on stable releases.

stax76 is offline  
Old 14th September 2019, 20:38   #874  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by stax76 View Post
2.0.4.1 Beta
  • nvenc switch --avhw updated (Patman86), --sub-source added
Nice catch Patman!

It seems that from NVEncC v4.44 onwards the --avhw cuda switch has been removed, but rigaya forgot to update his help file and change log file in versions v4.44 and v4.45.

So, StaxRip versions 2.0.2.7, 2.0.3.0, 2.0.3.1 using NVEncC v4.44 crash when using NVEnc Cuda option (--avhw cuda switch) because it simply doesn't exist in NVEncC v4.44 .

From NVEncC v4.46 onwards, the help file has been fixed but still rigaya didn't mention anything in his change log, I think.

From StaxRip v2.0.4.1 onwards the NVEnc Cuda option (--avhw cuda switch) has been removed from GUI, so everything is back to normal.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all

Last edited by NikosD; 14th September 2019 at 20:56.
NikosD is offline  
Old 15th September 2019, 17:52   #875  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
@stax76

Hey Frank,

I was wondering if there is an easy and not time consuming way for you to identify an Intel processor with disabled iGPU (like my Core i3 9100F) in order to prevent loading Intel based HW decoders like QSVEnc and ffmpeg (Intel) which obviously don't work.

It's a new trend of Intel with those F professors, but not a great deal if it's not feasible.

Thanks!
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline  
Old 15th September 2019, 19:25   #876  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
Quote:
Originally Posted by stax76 View Post
I'm not sure what is the best way to do this, I will look at other apps first to see how they do it.
Didn't the old version have it? Maybe 1.7? Or if I'm not remembering correctly, it had a link to the site. Maybe to put at least a link to the GitHub site in the software itself.

Last edited by Atlantis; 15th September 2019 at 19:51.
Atlantis is offline  
Old 15th September 2019, 21:30   #877  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by NikosD View Post
@stax76

Hey Frank,

I was wondering if there is an easy and not time consuming way for you to identify an Intel processor with disabled iGPU (like my Core i3 9100F) in order to prevent loading Intel based HW decoders like QSVEnc and ffmpeg (Intel) which obviously don't work.

It's a new trend of Intel with those F professors, but not a great deal if it's not feasible.

Thanks!
Hello Nikos,

it's possible to query which GPUs are present, I get a caption for each GPU from WMI, if there is only one caption and it contains AMD or NVIDIA than there can not be an Intel GPU.

If you are referring to the Decoder dropdown, I don't know if it is easy to hide or disable items in this dropdown, both together will be some work, I don't mind if you create a ticket for it.

Quote:
Didn't the old version have it? Maybe 1.7? Or if I'm not remembering correctly, it had a link to the site. Maybe to put at least a link to the GitHub site in the software itself.
Nothing I remember (I have bad memory though), first steps would be 1. creating a ticket and 2. some discussion happening in this ticket.

An automatic update is probably not easy to build and maintain but a notification that opens the download page might not be so hard and very useful. I don't mind a ticket for this either and there are also not many open tickets, I mean issues.
stax76 is offline  
Old 15th September 2019, 21:48   #878  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by stax76 View Post
Hello Nikos,



it's possible to query which GPUs are present, I get a caption for each GPU from WMI, if there is only one caption and it contains AMD or NVIDIA than there can not be an Intel GPU.



If you are referring to the Decoder dropdown, I don't know if it is easy to hide or disable items in this dropdown, both together will be some work, I don't mind if you create a ticket for it.
You can actually have both cards active (iGPU + discrete card) and use them easily in Windows 10.
But in this case you can obviously use QSVEncC, so no problem.
Yes, I'm talking about the decoder drop-down because my CPU has no iGPU but I can see QSVenc decoder.
I'll try to create a ticket.
Thanks!
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline  
Old 16th September 2019, 08:57   #879  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 117
Quote:
Originally Posted by stax76 View Post
@FreaQ

It seems it's not the filename but something else, you can still use ffms2 and dgdecnv, the latter is probably the most robust in regard of ts.
With FFVideoSource it worked.
FreaQ is offline  
Old 16th September 2019, 22:01   #880  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Hello everybody. Unfortunately the dxva2 function can not be used in the current version of staxrip. This is due to the included Wolfberry version of ffmpeg. In this the hardware acceleration dxva2 is disabled. Here is a link to my version.

https://github.com/staxrip/staxrip/i...ment-531877274
Patman is offline  
Closed Thread

Tags
aac, hdr, hevc, nvenc, staxrip, x264, x265

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 22:59.


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