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.

stats was not created!
#1
Hi,

I already used Hybrid a few times but now it goes wrong all the time.
I think it's my mistake somewhere but I really can't figure it out. Could you please help me?
I already trashed all Hybrid related files and then installed the newest version.
I read your process of installing VapourSynth but I didn't understood everything and I'm not sure it applies to my problems.

I tried various encodings with Hybrid and got various errors.
Here's the one I get most often : "###.stats was not created!"
This message appears as soon as I start the job.

I join the debug file.

Please feel free to ask me any question that may help you to help me ;-)
Reply
#2
Looking at the encoder call:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/_O_/Films à Blurer/*Studios Ghibli*/Laputa/A-x264 AVC 1920x1080 (déformé) 23,97 ?Kbs Jap AAC 2.0 ?kbs st en/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe - | "/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x264" --preset veryfast --pass 1 --bitrate 16836 --profile high10 --level 5.0 --direct auto --b-adapt 0 --sync-lookahead 6 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --aq-mode 0 --sar 1:1 --non-deterministic --range tv --stats "/private/var/folders/3r/c8s1_mcx52j6jf80lhjhkh4w0000gr/T/laputa_2021-04-12@23_26_04_1910_01.stats" --input-range tv --fps 24000/1001 --output-depth 10 --demuxer y4m --output /dev/null -
a. change the default temp path (Config->Paths) to something not in a protected folder
b. try adjusting your file names to something that can be fully decoded by the mac os terminal (especialy the question marks in the file names hint to issues).

Cu Selur
Reply
#3
(13.04.2021, 05:03)Selur Wrote: Looking at the encoder call:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/_O_/Films à Blurer/*Studios Ghibli*/Laputa/A-x264 AVC 1920x1080 (déformé) 23,97 ?Kbs Jap AAC 2.0 ?kbs st en/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe - | "/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x264" --preset veryfast --pass 1 --bitrate 16836 --profile high10 --level 5.0 --direct auto --b-adapt 0 --sync-lookahead 6 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --aq-mode 0 --sar 1:1 --non-deterministic --range tv --stats "/private/var/folders/3r/c8s1_mcx52j6jf80lhjhkh4w0000gr/T/laputa_2021-04-12@23_26_04_1910_01.stats" --input-range tv --fps 24000/1001 --output-depth 10 --demuxer y4m --output /dev/null -
a. change the default temp path (Config->Paths) to something not in a protected folder
b. try adjusting your file names to something that can be fully decoded by the mac os terminal (especialy the question marks in the file names hint to  issues).

Cu Selur

Thanks Celur for taking the time to help.
I changed the temp path to my user folder. And I changed the output path to something simpler with characters that should be recognised.
But nothing changed in the results.

please see attachment since April 13th.
Reply
#4
According to the log attached to you last post, the call still contains unkown characters:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/_O_/Films à Blurer/*Studios Ghibli*/Laputa/A-x264 AVC 1920x1080 (déformé) 23,97 ?Kbs Jap AAC 2.0 ?kbs st en/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe - | "/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x264" --preset veryfast --pass 1 --bitrate 16836 --profile high10 --level 5.0 --direct auto --b-adapt 0 --sync-lookahead 6 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --aq-mode 0 --sar 1:1 --non-deterministic --range tv --stats "/private/var/folders/3r/c8s1_mcx52j6jf80lhjhkh4w0000gr/T/laputa_2021-04-12@23_26_04_1910_01.stats" --input-range tv --fps 24000/1001 --output-depth 10 --demuxer y4m --output /dev/null -
and the temp folder wasn't changed.

23,97 ?Kbs Jap AAC 2.0 ?kbs st en
and
"/private/var/folders/3r/c8s1_mcx52j6jf80lhjhkh4w0000gr/T/l

You need to recreate the job, changing paths after creating the jobs will not influence all the jobs.

Cu Selur
Reply
#5
Hi Celur,
Thanks again.

Last time I did change the directories but I found out that I've got the debug file recorded in three different places. So I'm not sure you got the correct file.
Plus, I always create a new job when I make any change to the settings. I just keep all the jobs in the queue for memory.
To be sure, this time : I removed all the jobs. I removed all the debug files. I changed the temp dir. I put the input file to the root of my drive.
Same result (HybridDebugOutput-1).

I made another try: I put the temp dir to the same place as my input and output files.
Same result (HybridDebugOutput-2).

Huh 

I'm waiting for your godly words Shy  to find out what's happening.
Thanks.

Laurent
Reply
#6
Lookint at the encoding call:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe -| '"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/x264" --preset veryfast --pass 1 --bitrate 16000 --profile high10 --level 5.0 --direct auto --b-adapt 0 --sync-lookahead 6 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --aq-mode 0 --sar 1:1 --qpfile "/Users/Laurent/Movies/Laputa_2021-04-16@10_25_32_1910_01.qp" --non-deterministic --range tv --stats "/Users/Laurent/Movies/Laputa_2021-04-16@10_25_32_1910_02.stats" --input-range tv --fps 24000/1001 --output-depth 10 --demuxer y4m --output /dev/null -'
and the error message:
Quote:y4m [error]: bad sequence header length
What ouput do you get when you call:
/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe /dev/null
inside a terminal?

Cu Selur
Reply
#7
(16.04.2021, 16:10)Selur Wrote: What ouput do you get when you call:
/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe /dev/null
inside a terminal?

Cu Selur

I get :
/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg: No such file or directory

I went there, inside Hybrid, and "ffmpeg" is well present. It weights 76Mb.

I don't understand...
Reply
#8
I see the problem, I accidentally missed a quote at the beginning of the line I posted, needs to be:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe /dev/null

Cu Selur
Reply
#9
(16.04.2021, 20:00)Selur Wrote: I see the problem, I accidentally missed a quote at the beginning of the line I posted, needs to be:
"/Applications/_Mes_Applis_/Video/Conversion/Hybrid.app/Contents/MacOS/ffmpeg" -y -noautorotate -nostdin -threads 4 -i "/Volumes/Racines/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv" -map 0:0 -an -sn -vf scale=1920:1038,pad=1920:1080:0:20 -pix_fmt yuv420p10le -strict -1 -vsync 0  -sws_flags spline -f yuv4mpegpipe /dev/null

Cu Selur

Ok, it does something Wink 
I copied the result :

ffmpeg version N-101841-ga2a38b1606-tessus  https://evermeet.cx/ffmpeg/  Copyright © 2000-2021 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 72.100 / 56. 72.100
  libavcodec    58.135.100 / 58.135.100
  libavformat    58. 77.100 / 58. 77.100
  libavdevice    58. 14.100 / 58. 14.100
  libavfilter    7.111.100 /  7.111.100
  libswscale      5. 10.100 /  5. 10.100
  libswresample  3. 10.100 /  3. 10.100
  libpostproc    55. 10.100 / 55. 10.100
[matroska,webm @ 0x7fb1ba002400] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '/Volumes/Racines/Studio.Ghibli.-.Movie.01.-.Castle.in.the.Sky.[1986].[1080p.BluRay.x264].[10bit].[DHD].mkv':
  Metadata:
    encoder        : libebml v1.3.0 + libmatroska v1.4.1
    creation_time  : 2014-05-05T10:09:33.000000Z
  Duration: 02:04:32.61, start: 0.000000, bitrate: 16803 kb/s
  Stream #0:0: Video: h264 (High 10), yuv420p10le(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
  Stream #0:2(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
[yuv4mpegpipe @ 0x7fb1a908ae00] Warning: generating non standard YUV stream. Mjpegtools will not work.
Output #0, yuv4mpegpipe, to '/dev/null':
  Metadata:
    encoder        : Lavf58.77.100
  Stream #0:0: Video: wrapped_avframe, yuv420p10le(tv, progressive), 1920x1080 [SAR 173:180 DAR 692:405], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn (default)
    Metadata:
      encoder        : Lavc58.135.100 wrapped_avframe
frame=    1 fps=0.0 q=-0.0 size=    5888kB time=00:00:00.04 bitrate=1156480.7kbiframe=  90 fps=0.0 q=-0.0 size=  546560kB time=00:00:03.75 bitrate=1192785.8kbiframe=  183 fps=178 q=-0.0 size= 1111552kB time=00:00:07.63 bitrate=1193014.7kbiframe=  273 fps=178 q=-0.0 size= 1658368kB time=00:00:11.38 bitrate=1193123.4kbiframe=  353 fps=174 q=-0.0 size= 2144256kB time=00:00:14.72 bitrate=1193078.5kbiframe=  416 fps=164 q=-0.0 size= 2526976kB time=00:00:17.35 bitrate=1193094.6kbiframe=  468 fps=15frame=  560 fps=138 q=-0.0 size= 340198frame= 4845 fps=121 q=-0.0 size=29433344kB time=00:03:22.07 bitrate=1193199.1kbits/s speed=5.05x    

On the last line, the figures are changing, especially the number of frames.
I suppose it's encoding.
I colored in red some lines that were in pink or yellow in the terminal.

So, it seems to work by the terminal...?


Final lines after encoding completed:
frame=179163 fps=114 q=-0.0 Lsize=1088416275kB time=02:04:32.59 bitrate=1193201.6kbits/s speed=4.77x
video:93781kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1160498.125000%
Reply
#10
Yes, that was only the decoding call which seems to work.
The two warnings were expected and no need to worry.

Atm. I hav eno clue why the output of the pipe seems ot be malformed,...
Probably won't find time to look at it today, but I'll try to reproduce it tomorrow in a mac vm.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)