View Single Post
Old 30th January 2018, 21:12   #15482  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
Quote:
Originally Posted by Wishbringer View Post
@Atak_Snajpera:
I have a strange problem since some encodes.
Muxing fails, because there is no audio file.



This happens each time I encode to *.mp4 and AAC-Codec, regardless of source.
When encoding to *.mkv with other codecs, all is fine.

BUT!
While encoding, AAC-File is created.
And while RB still encodes Video, AAC (ready encoded) still exists and can be played without issues.
After muxing (with error) there is no AAC-File anymore.
So it must be deleted after encoding of audio and before shutdown (after job is finished).

Last encode I enabled write-protection after AAC-encode finished and this time muxing completed without errors.

I haven't changed anything at running system except automated CU of Windows10.
Other possible cause could be update of RB.

Edit:
Now am encoding a film with dtsma (preconverted to flac with ripbot) and destination mp4 with aac:
flac-file is there and plays fine, but this time no aac is created, no aac-encoding task in taskmanager.
Works on my "antique" windows 7 as always


Code:
C:\>"C:\Users\Dave\Documents\Delphi_Projects\RipBot264\_Compiled\Tools\ffmpeg\bin\ffmpeg.exe" -loglevel panic -i "C:\Temp\RipBot264temp\job1\job1.avs" -strict -1 -f yuv4mpegpipe -   | "C:\Users\Dave\Documents\Delphi_Projects\RipBot264\_Compiled\tools\x264\x264_x64.exe" --colorprim bt709 --transfer bt709 --colormatrix bt709  --crf 20 --fps 24000/1001 --force-cfr  --min-keyint 24 --keyint 240 --frames 5805 --sar 1:1 --level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --b-pyramid none --stdin y4m --output "C:\Temp\RipBot264temp\video.264" - 
y4m [info]: 624x464p 1:1 @ 24000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0
                                                                               
x264 [info]: frame I:81    Avg QP:18.09  size: 23030
x264 [info]: frame P:2370  Avg QP:21.50  size: 12950
x264 [info]: frame B:3354  Avg QP:24.14  size:  6067
x264 [info]: consecutive B-frames:  5.3% 36.7% 49.3%  8.8%
x264 [info]: mb I  I16..4: 11.7% 83.1%  5.1%
x264 [info]: mb P  I16..4:  4.6% 37.9%  2.1%  P16..4: 28.4% 16.1%  7.2%  0.0%  0.0%    skip: 3.6%
x264 [info]: mb B  I16..4:  0.9%  6.7%  0.5%  B16..8: 45.1% 10.5%  2.3%  direct: 8.3%  skip:25.9%  L0:32.8% L1:39.5% BI:27.7%
x264 [info]: 8x8 transform intra:84.4% inter:80.3%
x264 [info]: coded y,uvDC,uvAC intra: 71.4% 88.5% 37.3% inter: 34.9% 38.0% 1.3%
x264 [info]: i16 v,h,dc,p: 33% 23% 15% 28%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 21% 27%  3%  4%  5%  4%  5%  4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 13% 12%  6% 10% 12%  7%  8%  5%
x264 [info]: i8c dc,h,v,p: 39% 22% 23% 16%
x264 [info]: Weighted P-Frames: Y:4.9% UV:4.1%
x264 [info]: ref P L0: 68.9% 17.7%  9.4%  3.9%  0.2%
x264 [info]: ref B L0: 93.1%  6.9%
x264 [info]: kb/s:1748.09

encoded 5805 frames, 219.67 fps, 1748.09 kb/s

C:\>"C:\Users\Dave\Documents\Delphi_Projects\RipBot264\_Compiled\tools\mp4box\mp4box.exe" -tmp "C:\Temp\RipBot264temp"  -add "C:\Temp\RipBot264temp\video.264":name="snoop dogg - sensual seduction" -fps 23.976 -add "C:\Temp\RipBot264temp\job1\Encoded_Audio_1.aac":lang=und -mpeg4  -new "C:\Users\Dave\Desktop\snoop dogg - sensual seduction.mp4" 
AVC-H264 import - frame size 624 x 464 at 23.976 FPS
                                                          
AVC Import results: 5805 samples - Slices: 81 I 2370 P 3354 B - 5883 SEI - 77 IDR
Stream uses forward prediction - stream CTS offset: 2 frames
AAC import  - sample rate 48000 - MPEG-4 audio - 2 channels
                                                     
Saving C:\Users\Dave\Desktop\snoop dogg - sensual seduction.mp4: 0.500 secs Interleaving
                                                        
-------------------------
 
Elapsed Time: 00h:00m:28s
Atak_Snajpera is offline   Reply With Quote