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

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd September 2024, 01:41   #4901  |  Link
Guest
Guest
 
Posts: n/a
Quote:
Originally Posted by DMD View Post
Surely it will already be fixed in version 2.42
I read somewhere, might have been Github, that Dendraspis posted a comment that the x265 issue has already been fixed for the upcoming 2.42 build.
  Reply With Quote
Old 4th September 2024, 14:59   #4902  |  Link
DMD
Registered User
 
DMD's Avatar
 
Join Date: Jan 2006
Location: Italy
Posts: 276
Quote:
Originally Posted by FTLOY View Post
I read somewhere, might have been Github, that Dendraspis posted a comment that the x265 issue has already been fixed for the upcoming 2.42 build.
Confirmed.
https://github.com/staxrip/staxrip/issues/1457
__________________
my PC with Ryzen 7950X
DMD is offline   Reply With Quote
Old 6th September 2024, 12:44   #4903  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 1,123
Version 2.42.0 is released.
https://github.com/staxrip/staxrip/releases/tag/v2.42.0

Lots of changes, etc.
__________________
Long term RipBot264 user.

RipBot264 modded builds..
*new* x264 & x265 addon packs..
TDS is offline   Reply With Quote
Old 9th September 2024, 15:37   #4904  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 1,123
Version 2.42.1 (update) is released. (just a small fix 1.16Mb)
https://github.com/staxrip/staxrip/releases/tag/v2.42.1

Here we go again..
__________________
Long term RipBot264 user.

RipBot264 modded builds..
*new* x264 & x265 addon packs..
TDS is offline   Reply With Quote
Old 9th September 2024, 15:58   #4905  |  Link
DMD
Registered User
 
DMD's Avatar
 
Join Date: Jan 2006
Location: Italy
Posts: 276
Update needed at least for log file generation.
__________________
my PC with Ryzen 7950X
DMD is offline   Reply With Quote
Old 15th September 2024, 03:01   #4906  |  Link
Shuichiyagami
Registered User
 
Join Date: Feb 2019
Posts: 5
I got something like this when i extract staxrip. Is this okay?
Shuichiyagami is offline   Reply With Quote
Old 15th September 2024, 03:13   #4907  |  Link
Guest
Guest
 
Posts: n/a
Quote:
Originally Posted by Shuichiyagami View Post
I got something like this when i extract staxrip. Is this okay?
Try downloading it again...

And/or use 7z to unpack it.
  Reply With Quote
Old 5th October 2024, 20:26   #4908  |  Link
Bibo64
Registered User
 
Join Date: Dec 2018
Posts: 2
problems with fps conversion and deinterlacing with ffmpeg in staxrip

Hello guys,
since I changed from 2.29 to 2.42.1 last week, neither deinterlacing nor frame conversion work using ffmpeg within staxrip.
On the end of a fps conversion the program stops with an error that there were too less frames to encode. How can I tell staxrip that exactly this was my intention (I have 720p50 input which I convert to 480p25)?

And second, deinterlacing doesn't work with ffmpeg.
My command line looks like: -hwaccel cuda -hwaccel_output_format cuda -c:v h264_nvenc -profile:v high -v verbose -vf yadif,delogo=x=100:y=59:w=30:h=60,eq=gamma=0.91:saturation=1.4,crop=1920:1080:0:0,scale=1744x980:flags=lanczos,unsharp=3:3:2 -preset p6 -tune hq -rc vbr -rc-lookahead 32 -spatial-aq 1 -temporal-aq 1 -coder cabac -refs 2 -bf 4 -b_ref_mode middle -b:v 4300k

The log is this:

Quote:
------------------------- System Environment -------------------------

StaxRip : v2.42.1
Settings : v2.42.1
Windows : Windows 10 Pro 22H2 2009 (19041.1.amd64fre.vb_release.191206-1406)
Language : German (Germany)
CPU : AMD Ryzen 9 5900X 12-Core Processor
RAM : 32GB
GPU : NVIDIA GeForce RTX 4060 Ti
Resolution : 2560 x 1440
DPI : 96
Code Page : 1252

----------------------- Media Info Source File -----------------------

D:\GBlueUE4k\1\20240921 Hello_fixed.ts

General
ID : 10016 (0x2720)
Complete name : D:\GBlueUE4k\1\20240921 Hello_fixed.ts
Format : MPEG-TS
File size : 2.46 GiB
Duration : 42 min 15 s
Overall bit rate mode : Variable
Overall bit rate : 8 342 kb/s
Frame rate : 25.000 FPS

Video
ID : 6571 (0x19AB)
Menu ID : 50032 (0xC370)
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
Format, GOP : M=4, N=24
Codec ID : 27
Duration : 42 min 15 s
Bit rate : 7 478 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.144
Stream size : 2.21 GiB (90%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 6572 (0x19AC)
Menu ID : 50032 (0xC370)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 6
Duration : 42 min 15 s
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -56 ms
Stream size : 135 MiB (5%)
Language : German
Service kind : Complete Main
Dialog Normalization : -31 dB
cmixlev : -4.5 dB
surmixlev : -6 dB
dialnorm_Average : -27 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -27 dB

----------------------------- Demux Audio -----------------------------

ffmpeg N-116758-x64-gcc14.2.0

"C:\Programme (portabel)\StaxRip-v2.42.0-x64\Apps\FrameServer\AviSynth\ffmpeg.exe" -y -hide_banner -probesize 10M -i "D:\GBlueUE4k\1\20240921 Hello_fixed.ts" -vn -sn -c:a copy "D:\GBlueUE4k\1\20240921 Hello_fixed_temp\ID1_[de] (German) -56ms.ac3"

[h264 @ 000001fe726dc340] mmco: unref short failure
Last message repeated 1 times
[h264 @ 000001fe726dc340] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 000001fe726dc340] mmco: unref short failure
Last message repeated 1 times
[h264 @ 000001fe726dc340] Increasing reorder buffer to 2
Input #0, mpegts, from 'D:\GBlueUE4k\1\20240921 Hello_fixed.ts':
Duration: 00:42:15.14, start: 19074.473467, bitrate: 8342 kb/s
Program 50032
Stream #0:0[0x19ab]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn
Stream #0:1[0x19ac](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Output #0, ac3, to 'D:\GBlueUE4k\1\20240921 Hello_fixed_temp\ID1_[de] (German) -56ms.ac3':
Metadata:
encoder : Lavf61.5.101
Stream #0:0(deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 448 kb/s
Press [q] to stop, [?] for help
[out#0/ac3 @ 000001fe726dc340] video:0KiB audio:138646KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.000000%

Start: 23:49:05
End: 23:49:06
Duration: 00:00:00

General
Complete name : D:\GBlueUE4k\1\20240921 Hello_fixed_temp\ID1_[de] (German) -56ms.ac3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
File size : 135 MiB
Duration : 42 min 15 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 : 42 min 15 s
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 135 MiB (100%)
Service kind : Complete Main
Dialog Normalization : -31 dB
cmixlev : -4.5 dB
surmixlev : -6 dB
dialnorm_Average : -27 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -27 dB

------------------------------ Auto Crop ------------------------------

AutoCrop 2.5

"C:\Programme (portabel)\StaxRip-v2.42.0-x64\Apps\Support\AutoCrop\AutoCrop.exe" "D:\GBlueUE4k\1\20240921 Hello_fixed_temp\20240921 Hello_fixed_source.avs" 3 15 3168 3168 1000 0

0,0,0,0

Start: 23:49:09
End: 23:49:09
Duration: 00:00:00

---------------------------- Configuration ----------------------------

Template : NVENC-ffmpeg-int-TV·HD-colorEnhanced-unsharp
Video Encoder : ffmpegEnc
Video Encoder Profile : ffmpeg | Nvidia | Nvidia H.264
Container/Muxer Profile : MKV (mkvmerge)
+++++
Process Priority : BelowNormal
Delete Temp Files : Disabled
Delete Temp Files Selection : Include

--------------------------- AviSynth Script ---------------------------

AddAutoloadDir("C:\Programme (portabel)\StaxRip-v2.42.0-x64\Apps\FrameServer\AviSynth\plugins")

LoadPlugin("C:\Programme (portabel)\StaxRip-v2.42.0-x64\Apps\Plugins\Dual\L-SMASH-Works\LSMASHSource.dll")
LWLibavVideoSource("D:\GBlueUE4k\1\20240921 Hello_fixed.ts", cachefile="D:\GBlueUE4k\1\20240921 Hello_fixed_temp\temp.lwi")
FadeIO2(50)
# hardware encoder resizes

------------------------- Source Script Info -------------------------

Width : 1920
Height : 1080
Frames : 63377
Time : 42:15.080
Framerate : 25 (25/1)
Format : YUV420P8

------------------------- Target Script Info -------------------------

Width : 1920
Height : 1080
Frames : 63381
Time : 42:15.240
Framerate : 25 (25/1)
Format : YUV420P8

------------- Error Video encoding Nvidia | Nvidia H.264 -------------

ffmpeg N-116758-x64-gcc14.2.0

"C:\Programme (portabel)\StaxRip-v2.42.0-x64\Apps\FrameServer\AviSynth\ffmpeg.exe" -hwaccel cuda -hwaccel_output_format cuda -i "D:\GBlueUE4k\1\20240921 Hello_fixed.ts" -c:v h264_nvenc -profile:v high -v verbose -vf yadif,delogo=x=143:y=69:w=60:h=80,eq=gamma=0.91:saturation=1.4,crop=1920:1080:0:0,scale=1744x980:flags=lanczos,unsharp=3:3:2 -preset p6 -tune hq -rc vbr -rc-lookahead 32 -spatial-aq 1 -temporal-aq 1 -coder cabac -refs 2 -bf 4 -b_ref_mode middle -b:v 4300k -an -y -hide_banner "D:\GBlueUE4k\1\20240921 Hello_fixed_temp\20240921 Hello_fixed_out.h264"

[h264 @ 000002614951f340] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 000002614951f340] mmco: unref short failure
Last message repeated 1 times
[h264 @ 000002614951f340] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 000002614951f340] Increasing reorder buffer to 1
[h264 @ 000002614951f340] mmco: unref short failure
Last message repeated 1 times
[h264 @ 000002614951f340] Increasing reorder buffer to 2
[mpegts @ 0000026149514400] max_analyze_duration 5000000 reached at 5000000 microseconds st:0
Selecting decoder 'h264' because of requested hwaccel method cuda
Input #0, mpegts, from 'D:\GBlueUE4k\1\20240921 Hello_fixed.ts':
Duration: 00:42:15.14, start: 19074.473467, bitrate: 8342 kb/s
Program 50032
Stream #0:0[0x19ab]: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first, left), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn
Stream #0:1[0x19ac](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 448 kb/s
[out#0/h264 @ 000002614a6eec00] No explicit maps, mapping streams automatically...
[vost#0:0/h264_nvenc @ 00000261497e0580] Created video stream from input stream 0:0
[Parsed_delogo_1 @ 00000261495a4a80] x:100 y:59, w:30 h:60 band:1 show:0
[Parsed_scale_9 @ 000002614a7f42c0] w:1744 h:980 flags:'lanczos' interl:0
Correcting start time of Input #0 by 56000 us.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
[vost#0:0/h264_nvenc @ 00000261497e0580] Starting thread...
[vf#0:0 @ 00000261495a4440] Starting thread...
[vist#0:0/h264 @ 000002614a6ed040] [dec:h264 @ 00000261495a4a80] Starting thread...
[in#0/mpegts @ 0000026149514080] Starting thread...
Press [q] to stop, [?] for help
[h264 @ 00000261496b09c0] NVDEC capabilities:
[h264 @ 00000261496b09c0] format supported: yes, max_mb_count: 65536
[h264 @ 00000261496b09c0] min_width: 48, max_width: 4096
[h264 @ 00000261496b09c0] min_height: 16, max_height: 4096
[h264 @ 00000261496b09c0] Reinit context to 1920x1088, pix_fmt: cuda
[h264 @ 000002614b0e2040] mmco: unref short failure
Last message repeated 1 times
[h264 @ 000002614b0e2040] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 00000261495bb2c0] mmco: unref short failure
Last message repeated 1 times
[Parsed_delogo_1 @ 0000026149512ec0] x:100 y:59, w:30 h:60 band:1 show:0
[graph -1 input from stream 0:0 @ 000002616b157cc0] w:1920 h:1080 pixfmt:cuda tb:1/90000 fr:25/1 sar:1/1 csp:bt709 range:tv
[auto_scale_0 @ 000002616b157dc0] w:iw h:ih flags:'' interl:0
[Parsed_yadif_0 @ 000002614aef83c0] auto-inserting filter 'auto_scale_0' between the filter 'graph -1 input from stream 0:0' and the filter 'Parsed_yadif_0'
Impossible to convert between the formats supported by the filter 'graph -1 input from stream 0:0' and the filter 'auto_scale_0'
[vf#0:0 @ 00000261495a4440] Error reinitializing filters!
[vf#0:0 @ 00000261495a4440] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 00000261495a4440] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_nvenc @ 00000261497e0580] Encoder thread received EOF
[vost#0:0/h264_nvenc @ 00000261497e0580] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 00000261497e0580] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 00000261497e0580] Terminating thread with return code -22 (Invalid argument)
[vist#0:0/h264 @ 000002614a6ed040] [dec:h264 @ 00000261495a4a80] Decoder returned EOF, finishing
[vist#0:0/h264 @ 000002614a6ed040] [dec:h264 @ 00000261495a4a80] Terminating thread with return code 0 (success)
[vist#0:0/h264 @ 000002614a6ed040] All consumers of this stream are done
[in#0/mpegts @ 0000026149514080] All consumers are done
[in#0/mpegts @ 0000026149514080] Terminating thread with return code 0 (success)
[out#0/h264 @ 000002614a6eec00] Nothing was written into output file, because at least one of its streams received no packets.
[AVIOContext @ 00000261495a4240] Statistics: 0 bytes written, 0 seeks, 0 writeouts
[in#0/mpegts @ 0000026149514080] Input file #0 (D:\GBlueUE4k\1\20240921 Hello_fixed.ts):
[in#0/mpegts @ 0000026149514080] Input stream #0:0 (video): 36 packets read (543343 bytes); 4 frames decoded; 0 decode errors;
[in#0/mpegts @ 0000026149514080] Total: 36 packets (543343 bytes) demuxed
[AVIOContext @ 0000026149514ac0] Statistics: 4444304 bytes read, 2 seeks
Conversion failed!


Video encoding Nvidia | Nvidia H.264 returned exit code: -40 (0xFFFFFFD8)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Start: 14:33:34
End: 14:33:35
Duration: 00:00:01
Bibo64 is offline   Reply With Quote
Old 7th October 2024, 19:30   #4909  |  Link
Bibo64
Registered User
 
Join Date: Dec 2018
Posts: 2
Using ffmpeg to perform fps conversion and deinterlacing fails

I use staxrip since the very early days and always found a way for me to manage problems which occur with a new version.
But now I'm stuck...
I convert 720p50 content to 480p25 that fails because staxrip counts the frames encoded and realizes a mismatch (of course...!).

The second is a failure with deinterlacing. I use ffmpeg to impose the delogo filter and so I do all the work within an ffmpeg filter graph that fails completely.
I tried to post a few days before. It was blocked. Maybe my log file was too big?

Tanks in advance.

My command line for the deinterlacing job is: "C:\Programme (portabel)\StaxRip-v2.42.0-x64\Apps\FrameServer\AviSynth\ffmpeg.exe" -hwaccel cuda -hwaccel_output_format cuda -i "D:\GBlueUE4k\1\20240921 Hello_fixed.ts" -c:v h264_nvenc -profile:v high -v verbose -vf yadif,delogo=x=143:y=69:w=60:h=80,eq=gamma=0.91:saturation=1.4,crop=1920:1080:4:4,scale=1744x980:flags=lanczos,unsharp=3:3:2 -preset p6 -tune hq -rc vbr -rc-lookahead 32 -spatial-aq 1 -temporal-aq 1 -coder cabac -refs 2 -bf 4 -b_ref_mode middle -b:v 4300k -an -y -hide_banner "D:\GBlueUE4k\1\20240921 Hello_fixed_temp\20240921 Hello_fixed_out.h264"

error log output (excerpt):
Quote:
[Parsed_delogo_1 @ 0000026149512ec0] x:100 y:59, w:30 h:60 band:1 show:0
[graph -1 input from stream 0:0 @ 000002616b157cc0] w:1920 h:1080 pixfmt:cuda tb:1/90000 fr:25/1 sar:1/1 csp:bt709 range:tv
[auto_scale_0 @ 000002616b157dc0] w:iw h:ih flags:'' interl:0
[Parsed_yadif_0 @ 000002614aef83c0] auto-inserting filter 'auto_scale_0' between the filter 'graph -1 input from stream 0:0' and the filter 'Parsed_yadif_0'
Impossible to convert between the formats supported by the filter 'graph -1 input from stream 0:0' and the filter 'auto_scale_0'
[vf#0:0 @ 00000261495a4440] Error reinitializing filters!
[vf#0:0 @ 00000261495a4440] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 00000261495a4440] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_nvenc @ 00000261497e0580] Encoder thread received EOF
[vost#0:0/h264_nvenc @ 00000261497e0580] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 00000261497e0580] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 00000261497e0580] Terminating thread with return code -22 (Invalid argument)
[vist#0:0/h264 @ 000002614a6ed040] [dec:h264 @ 00000261495a4a80] Decoder returned EOF, finishing
[vist#0:0/h264 @ 000002614a6ed040] [dec:h264 @ 00000261495a4a80] Terminating thread with return code 0 (success)
[vist#0:0/h264 @ 000002614a6ed040] All consumers of this stream are done
[in#0/mpegts @ 0000026149514080] All consumers are done

Last edited by Bibo64; 7th October 2024 at 19:37.
Bibo64 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 19:59.


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