This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] BD Source
#11
Avisynth script looks fine to me:
etMemoryMax(1536)
SetMTMode(5,8) # changing MT mode
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ffms2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mt_masktools-26.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\daa.avs")
# loading source: G:\Download\The Omen 1976 1080p EUR Blu-ray AVC DTS-HD MA 5.1-HDMike\THE_OMEN_F1\BDMV\PLAYLIST\00014.mpls
#  input luminance scale tv
FFVideoSource("G:\Download\The Omen 1976 1080p EUR Blu-ray AVC DTS-HD MA 5.1-HDMike\THE_OMEN_F1\BDMV\STREAM\00331.m2ts",cachefile="C:\Users\Administrator\AppData\Local\Temp\2\08_27_06_5010.ffindex",vtrack=0)
# current resolution: 1920x1080
SetMTMode(2) # changing MT mode
# cropping to 1920x812
Crop(0,134,0,-134)
# current resolution: 1920x812
# grain handling
Removegrain()
# anti-aliasing
daa()
# scaling
Spline36Resize(1280,544)
distributor()
Encoding and decoding call looks fine too, but what happens if you call:
"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -threads 8 -i "C:\Users\Administrator\AppData\Local\Temp\2\encodingTempSynthSkript_08_27_06_5010.avs" -an -sn  -vsync 0 -pix_fmt yuv420p  -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --bitrate 3072 --profile high --level 4.1 --direct auto --b-adapt 2 --rc-lookahead 50 --sar 1:1 --non-deterministic --range tv --stats "C:\Users\ADMINI~1\AppData\Local\Temp\2\xxxxx_08_27_06_5010_17.stats" --demuxer raw --input-res 1280x544 --input-csp i420 --input-depth 8 --fps 24000/1001 --output NUL -
in a Windows command prompt?
Does the Avisynth preview work for that source?
Since FFmpeg seems to have problems with that source, might be that FFVideoSource has the same problem.
Does anything change when you enable "Filtering->Avisynth->Misc->LibavVideoSource instead of FFmpegSource" ?

Cu Selur
Reply
#12
(10.03.2018, 09:22)Selur Wrote: Encoding and decoding call looks fine too, but what happens if you call:
"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" -y -loglevel fatal -threads 8 -i "C:\Users\Administrator\AppData\Local\Temp\2\encodingTempSynthSkript_08_27_06_5010.avs" -an -sn  -vsync 0 -pix_fmt yuv420p  -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --bitrate 3072 --profile high --level 4.1 --direct auto --b-adapt 2 --rc-lookahead 50 --sar 1:1 --non-deterministic --range tv --stats "C:\Users\ADMINI~1\AppData\Local\Temp\2\xxxxx_08_27_06_5010_17.stats" --demuxer raw --input-res 1280x544 --input-csp i420 --input-depth 8 --fps 24000/1001 --output NUL -
in a Windows command prompt?
Does the Avisynth preview work for that source?
Since FFmpeg seems to have problems with that source, might be that FFVideoSource has the same problem.
Does anything change when you enable "Filtering->Avisynth->Misc->LibavVideoSource instead of FFmpegSource" ?

Cu Selur

Command prompt call

PHP Code:
Microsoft Windows [Version 6.3.9600] (c2013 Microsoft CorporationAll rights reservedC:\Windows\system32>"C:\PROGRA~1\Hybrid\32bit\ffmpeg.exe" --loglevel fatal -th reads 8 -"C:\Users\Administrator\AppData\Local\Temp\2\encodingTempSynthSkript_ 08_27_06_5010.avs" -an -sn -vsync 0 -pix_fmt yuv420p -f rawvideo - | "C:\PROGR A~1\Hybrid\x264.exe" --pass 1 --bitrate 3072 --profile high --level 4.1 --direct auto --b-adapt 2 --rc-lookahead 50 --sar 1:--non-deterministic --range tv --s tats "C:\Users\ADMINI~1\AppData\Local\Temp\2\xxxxx_08_27_06_5010_17.stats" --dem uxer raw --input-res 1280x544 --input-csp i420 --input-depth 8 --fps 24000/1001 --output NUL raw [info]: 1280x544p 1:24000/1001 fps (cfrx264 [info]: using SAR=1/1 x264 [info]: using cpu capabilitiesMMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AV X2 x264 [info]: profile Mainlevel 4.1 x264 [info]: final ratefactor17.07 

But enable libavsource now looks like fix this problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)