Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Help] Encoding issue with Xvid4psp v5.0.37.8
#1
Hey, guys.
My new computer doesn't want to encode a video with my old Xvid4PSP v5.0.37.8 software that I always use to make xvid mp3 @ 25 fps out of HD videos to then use as basis to work with in my subtitle software. It's just more convenient that way. What's crazy is that my not-as-good PC does the job all right and they both run on Windows 10. I'm not sure what I'm missing here.

Here's the ongoing report of one that failed:

PLATFORM

------------------------------
OS: Microsoft Windows NT 6.2.9200.0
OEMCodePage: 850
Language: FRA
DecimalSeparator: ,
Framework: 2.0.50727.8835
Processors: 12
Machine: BERTRAND-PC1
UserName: beber
SystemDrive: C:

XVID4PSP
------------------------------
Version: 5.0.37.8 rev132
Created: 30/03/2010 09:15:38
TempPath: C:\Temp
AppPath: C:\Program Files (x86)\Winnydows\XviD4PSP5

FILES
------------------------------
Prince Of Darkness remastered 1080p 2018 Studio Canal Blu-ray REMUX DTS HDMA+PCM MULTi+commentary+PGS.mkv >
Prince Of Darkness remastered 2018 Studio Canal PAL.avi

TASK
------------------------------
Format: AVI
Duration: 01:37:42:480 (146562)
VideoDecoder: DirectShowSource
Resolution: 1920x1080 > 640x360
VCodecPreset: XviD HQ Ultra
VEncodingMode: Quality
VideoCodec: h264 > XviD
VideoBitrate: 36612 > Q3.0
Framerate: 24.000 > 25.000
FramerateModifer: AssumeFPS
SourceType: PROGRESSIVE
FieldOrder: UNKNOWN
AudioDecoder: 0
AEncodingPreset: MP3 CBR 128k
AudioCodec: PCM > MP3
AudioBitrate: 1536 > 128
Samplerate: 48000
Channels: 2
Normalize: 100%
Accurate: 10%
Gain: 4.761

SCRIPT
------------------------------
import("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\functions\AudioFunctions.avs")
import("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\functions\VideoFunctions.avs")

DirectShowSource("C:\Users\beber\Videos\Prince Of Darkness remastered 1080p 2018 Studio Canal Blu-ray REMUX DTS HDMA+PCM MULTi+commentary+PGS.mkv", fps=24.000, convertfps=true)

AmplifydB(4.761)
ConvertToYV12()
BilinearResize(640, 360)
AssumeFPS(25.000, true)
ResampleAudio(48000)



VIDEO ENCODING
------------------------------
Encoding video to: C:\Temp\0000.avi
XviD Q3.0 640x360 25.000fps (146562 frames)
 
xvid_encraw.exe: -cq 3 -bvhq -qpel -gmc -max_bframes 3 -threads 14 -avi "C:\Temp\0000.avi" -i "C:\Temp\0000.avs"
 

AUDIO ENCODING
------------------------------
Encoding audio to: C:\Temp\0000.mp3
MP3 128kbps 2ch 16bit 48000khz
 
lame.exe: -m s -b 128 -q 2 - "C:\Temp\0000.mp3"
 

MUXING
------------------------------
Video file: C:\Temp\0000.avi
Audio file: C:\Temp\0000.mp3
Muxing to: C:\Users\beber\Videos\Prince Of Darkness remastered 2018 Studio Canal PAL.avi
Please wait...

Error:



This log was saved here: C:\Users\beber\Videos\Prince Of Darkness remastered 2018 Studio Canal PAL.avi.error.log


The video encoding part is actually skipped and it goes right away to audio encoding, and then, it crashes when reaching the muxing and I get this error message:

[Image: w45kw.jpg]



And now, here's one that worked on my lesser PC:

PLATFORM

------------------------------
OS: Microsoft Windows NT 6.2.9200.0
OEMCodePage: 850
Language: FRA
DecimalSeparator: ,
Framework: 2.0.50727.8937
Processors: 4
Machine: BERTRAND-PC2
UserName: beber
SystemDrive: C:

XVID4PSP
------------------------------
Version: 5.0.37.8 rev132
Created: 30/03/2010 09:15:38
TempPath: D:\
AppPath: C:\Program Files (x86)\Winnydows\XviD4PSP5

FILES
------------------------------
Halloween 1080p US UHD Blu-ray TrueHD+PCM+AC3+commentary.mkv >
Halloween UHD.avi

TASK
------------------------------
Format: AVI
Duration: 01:27:50:760 (131769)
VideoDecoder: DirectShowSource
Resolution: 1920x1080 > 640x360
VCodecPreset: XviD HQ Ultra
VEncodingMode: Quality
VideoCodec: h264 > XviD
VideoBitrate: 21479 > Q3.0
Framerate: 23.976 > 25.000
FramerateModifer: AssumeFPS
SourceType: PROGRESSIVE
FieldOrder: UNKNOWN
AudioDecoder: NicAC3Source
AEncodingPreset: MP3 CBR 128k
AudioCodec: AC3 > MP3
AudioBitrate: 448 > 128
Samplerate: 48000
Channels: 6 > 2
UpDownMix: ConvertToDolbyProLogicII
Normalize: 100%
Accurate: 10%
Gain: 8.514

SCRIPT
------------------------------
import("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\functions\AudioFunctions.avs")
import("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\functions\VideoFunctions.avs")
loadplugin("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\plugins\NicAudio.dll")
loadplugin("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\plugins\soxfilter.dll")

video = DirectShowSource("\\NASNO2\Public\Zappiti Collection suite\Halloween\Halloween 1080p US UHD Blu-ray TrueHD+PCM+AC3+commentary.mkv", audio=false, fps=23.976, convertfps=true)
audio = NicAC3Source("D:\\0005_2.ac3")
AudioDub(video, audio)

ConvertToDolbyProLogicII()
ConvertAudioTo16bit()
AmplifydB(8.514)
ConvertToYV12()
BilinearResize(640, 360)
AssumeFPS(25.000, true)
ResampleAudio(48000)



VIDEO ENCODING
------------------------------
Encoding video to: D:\\0005.avi
XviD Q3.0 640x360 25.000fps (131769 frames)
 
xvid_encraw.exe: -cq 3 -bvhq -qpel -gmc -max_bframes 3 -threads 6 -avi "D:\\0005.avi" -i "D:\\0005.avs"
 

AUDIO ENCODING
------------------------------
Encoding audio to: D:\\0005.mp3
MP3 128kbps 2ch 16bit 48000khz
 
lame.exe: -m s -b 128 -q 2 - "D:\\0005.mp3"
 

MUXING
------------------------------
Video file: D:\\0005.avi
Audio file: D:\\0005.mp3
Muxing to: C:\Users\beber\Videos\Halloween UHD.avi
Please wait...

TIME
------------------------------
Temps total d'encodage: 35 min 26 sec
Le taille du fichier de sortie est: 413.46 mb


So what's wrong with my "better" PC? Did I forget to install something?
Reply
Thanks given by:
#2
FYI DirectShowSource might not be good idea to use, as it is not frame-accurate which might result in syncing problems to final video.

I'd just use ffmpeg if I were you for this. Try StaxRip for easy GUI for most of the formats.
Reply
Thanks given by:
#3
Maybe you do not have the xvid Encoder installed on the new System.

check if you have "xvid_encraw.exe" on the new PC. Maybe you had an codec package installed, containing that Encoder on the old PC, that is now missing on the new PC.

If it exists, check if itis maybe blocked by your Anti-Virus Software.

Edit:
Maybe you miss the "xvidcore.dll" (Thats the codec file)
"Never cut a deal with a dragon..."
- Old Shadowrun wisdom
Reply
Thanks given by:
#4
None of that worked, guys. I f***ing hate computers! I hate them! I'm gonna have to do this BS with my 2nd PC and hope it lasts forever, basically.
Reply
Thanks given by:
#5
I'm trying avidemux, we'll see.
Reply
Thanks given by:
#6
What's with those two plug-ins loaded in the second pc:

loadplugin("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\plugins\NicAudio.dll")
loadplugin("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\plugins\soxfilter.dll")
"Never cut a deal with a dragon..."
- Old Shadowrun wisdom
Reply
Thanks given by:
#7
(2018-12-11, 12:38 AM)MrBrown Wrote: What's with those two plug-ins loaded in the second pc:

loadplugin("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\plugins\NicAudio.dll")
loadplugin("C:\Program Files (x86)\Winnydows\XviD4PSP5\dlls\AviSynth\plugins\soxfilter.dll")

I tried to copy those and paste them into the other PC, and they were already there, I replaced them anyway, and they're still not involved in the encoding process on the PC that fails. And it's not just about xvid, it won't encode in x264 either. I'll never understand all this.
My eac3to µGUI won't work anymore either, so I can't even change the audio framerate that way from 23.976 to 25.
Avidemux, although it worked in the video encoding in Xvid including for changing it to 25 fps, the audio didn't. It was the PCM from Prince of Darkness. That's tricky, 'cause for video, you're allowed to chose 24.000 for source and 25 for target, but in audio, there's only Film to PAL. And when trying with a DTS track, it fails, so Avidemux won't do it either. I give up: my second PC will do this job from now on. I'm tired with this BS computer stuff, there's always something wrong. Again, I HATE them!
Reply
Thanks given by:
#8
I never used this particular software but as I understand it, the GUI uses some software in the background and the report shows that at some point there was an error, but it doesn't give a more detailed error message, so it's hard to tell what the problem is.

If I were you, I'd install AviSynth+ (if you haven't already), copy that avisynth script into an .avs file, then run this line from the batch (that's the one that threw an error):
xvid_encraw.exe: -cq 3 -bvhq -qpel -gmc -max_bframes 3 -threads 14 -avi "C:\Temp\0000.avi" -i "C:\Temp\0000.avs"

(replace the .avs path with the path to the .avs file you copied the avisynth code into)

See what kind of error you get and narrow it down from there. Might be a problem with the Avisynth script not recognizing the video, or with the xvid encoder having some issue. But impossible to tell unless you do a bit of debugging like that.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Help] Encoding audio with LFE2? LucasGodzilla 8 1,636 2023-06-04, 08:49 PM
Last Post: zoidberg
  Flagging 1080p25 as 1080i25 without re-encoding Dr. Cooper 3 1,521 2021-12-07, 01:14 PM
Last Post: FreaQ
  FFV1 encoding for archival pipefan413 0 1,441 2021-03-11, 07:14 PM
Last Post: pipefan413
  [Help] Encoding HDR to SDR awsmguy145 3 2,346 2020-09-28, 12:01 PM
Last Post: Chewtobacca
Thumbs Up Avisynth parallel encoding spoRv 27 18,909 2020-04-03, 06:10 AM
Last Post: spoRv
  Issue Exporting Audio in Premiere Croweyes1121 16 8,404 2020-02-28, 06:13 PM
Last Post: deleted user
  x264 encoding from Adobe Premiere DoomBot 26 17,749 2019-03-25, 08:26 PM
Last Post: jaminmc
  Bitrate and video encoding spoRv 0 2,765 2017-05-01, 11:19 AM
Last Post: spoRv
  Encoding : where to go from here...? Docsap 2 3,727 2017-02-26, 04:42 AM
Last Post: spoRv
  H.265 Encoding PDB 3 4,118 2016-10-18, 08:49 PM
Last Post: Feallan

Forum Jump:


Users browsing this thread: 1 Guest(s)