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 > (HD) DVD, Blu-ray & (S)VCD > DVD & BD Rebuilder

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd September 2014, 05:35   #21261  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by jdobbs View Post
By installing LAVFilters, you will make Directshow available in the AVS files for use in encoding when you need to do things within AVISYNTH that are beyond x264's internal LAVF capabilities. It also makes Directshow available, even when you don't have FFDSHOW or HAALI installed.
In addition all players based on directshow source will be able to play files without problem or need for codec, such as windows media player.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 23rd September 2014, 05:43   #21262  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by jdobbs View Post
Yes, that's all you have to do.

LAV is a set of open-source audio/video libraries that is used by a lot of programs (libavformat and libavcodec). LAVFilters uses those libraries to decode for Directshow. The LAVF that you've been using is the implementation of those libraries within x264 for internal decoding.

By installing LAVFilters, you will make Directshow available in the AVS files for use in encoding when you need to do things within AVISYNTH that are beyond x264's internal LAVF capabilities. It also makes Directshow available, even when you don't have FFDSHOW or HAALI installed.
Ah, I see now. Thanks for taking the time to explain; I appreciate it. HWK too. Got it!
Lathe is offline   Reply With Quote
Old 23rd September 2014, 05:43   #21263  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 333
Help, I trying to encode the 3D version of Maleficent, but the encoding process fails with a weird error:

Code:
C:\Users\Myself>"E:\Archivos de Programa\BD Rebuilder\tools\FRIMDecode
.exe" -ts -i::mvc "I:\BDMV\STREAM\00300.m2ts" "I:\BDMV\STREAM\00331.m2ts" -o \\.
\pipe\bdrb.yuv | "E:\Archivos de Programa\BD Rebuilder\tools\FRIMEncode.exe" mvc
 -i \\.\pipe\bdrb_L.yuv -i \\.\pipe\bdrb_R.yuv  -viewoutput -o "E:\TEMP\MOVIE RI
PPING\WORKFILES\VID_00300.AVS.264" -o "E:\TEMP\MOVIE RIPPING\WORKFILES\VID_00300
.AVS.mvc" -w 1920 -h 1080 -f 23.976 -u 3 -cpbsize 3750 -l 6 -profile high -level
 4.1 -vbr 27153 45000 -gop 24 4 0 O -maxdpb 4

ERROR: unknown error (-1),      src\pipeline_decode.cpp (1116)


ERROR: the previous asynchrous operation is in execution (1),   src\main_frim_de
code.cpp (122)

FRIM Encoder version 1.23 (build: Mar 19 2014)
 - based on Intel(R) Media SDK

Media SDK impl          HARDWARE - D3D9 (C:\Program Files\Intel\Media SDK\libmfx
hw32.dll)
Media SDK version       1.10
Memory type             System

Input  format           YUV420

Output video            AVC
Source picture:
  Resolution            1920x1088
  Crop X,Y,W,H          0,0,1920,1080
Destination picture:
  Resolution            1920x1088
  Crop X,Y,W,H          0,0,1920,1080
Frame rate              23.976
Bitrate control         VBR
  avg,maximum           27153,45000
GOP structure:
  GOP length            24
  I-/P-frame distance   4
  IDR-frame interval    0
  GOP type              Opened
Num of slices           6
Target usage            3
Processing started
Frame number: 0
Processing finished in 0.00 seconds

C:\Users\Myself>
Tested on BD Rebuilder 0.48.05 and 0.49.01
SquallMX is offline   Reply With Quote
Old 23rd September 2014, 08:31   #21264  |  Link
AmigaFuture
Registered User
 
AmigaFuture's Avatar
 
Join Date: Apr 2003
Location: Within the main Source.
Posts: 895
Quote:
Originally Posted by Lathe View Post
Sort of related, I too found that the reason why my encodes were taking twice as long was because my CPU and possibly my SSD were running too hot.
It wasn't heat related. I was able to reproduce it BUT unable to do it consistently. It did it when it was cool also. I'm checking into it more. I'd like to know it it's BD-RB or...TsMuxER..or? Or SSD firmware flaw? Until I have a repeatable BD-RB "bug"...I'll leave it from here.

I'm noticing some other stuff..but doing more checks..
__________________
Life is not a journey to the grave; but rather to skid out broadside, thoroughly used, torn and warn and loudly proclaim; WOW; What a ride!!! Soon, I'm going to do it AGAiN in different skin!!
AmigaFuture is offline   Reply With Quote
Old 23rd September 2014, 09:05   #21265  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Is your SSD Samsung type 840 or 840EVO? Apparently there is a bug which slows down reading. SAMSUNG are about to releasing a fix.
You may google for the news.

Added:
http://www.anandtech.com/show/8550/s...-is-on-the-way

Last edited by Sharc; 23rd September 2014 at 09:20.
Sharc is offline   Reply With Quote
Old 23rd September 2014, 12:26   #21266  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
@jdobbs
v0.49.01 (beta):
A minor issue only: For x265 the encoding speed (fps) in the status line of BD-RB is almost double than what is shown in the commandline window.
(For x264 it is correct).
Sharc is offline   Reply With Quote
Old 23rd September 2014, 13:41   #21267  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
Quote:
Originally Posted by jdobbs View Post
I've never had a problem with it. Are you sure the player is handling it correctly?
jdobbs, sorry, meant result without audio track.
Audio track is not extracted in preparation.
If you want to test, this clip and others are available at this link.

Source
Code:
General
ID                                       : 1 (0x1)
Complete name                            : E:\HD Trailers\Dolby Digital Plus\Beardyman.m2ts
Format                                   : MPEG-TS
File size                                : 454 MiB
Duration                                 : 4mn 1s
Overall bit rate mode                    : Variable
Overall bit rate                         : 15.8 Mbps
Maximum Overall bit rate                 : 35.5 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@High
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=12
Codec ID                                 : 2
Duration                                 : 4mn 1s
Bit rate mode                            : Variable
Bit rate                                 : 14.6 Mbps
Maximum bit rate                         : 20.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.293
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
Stream size                              : 419 MiB (92%)
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : E-AC-3
Format/Info                              : Audio Coding 3
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 4mn 1s
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 12.9 MiB (3%)

AVCHD
Code:
General
ID                                       : 1 (0x1)
Complete name                            : E:\VIDEOS\BEARDYMAN\BDMV\STREAM\00000.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 445 MiB
Duration                                 : 4mn 1s
Overall bit rate mode                    : Variable
Overall bit rate                         : 15.5 Mbps
Maximum Overall bit rate                 : 35.5 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : 27
Duration                                 : 4mn 1s
Bit rate mode                            : Variable
Bit rate                                 : 14.8 Mbps
Maximum bit rate                         : 15.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.299
Stream size                              : 427 MiB (96%)
soneca is offline   Reply With Quote
Old 23rd September 2014, 16:33   #21268  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by Sharc View Post
@jdobbs
v0.49.01 (beta):
A minor issue only: For x265 the encoding speed (fps) in the status line of BD-RB is almost double than what is shown in the commandline window.
(For x264 it is correct).
I'm not paying any attention to the fps reported by the encoder. I am calculating it based upon the number of frames completed against the system clock and I'd rather continue doing my own calculations. I'm not seeing anything near "double" -- but it does vary from what x265 reports.

I'll look at it again to make sure it's right.

[Edit] Yep... forgot to take a reporting delay into account. Fixed it
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 23rd September 2014 at 16:58.
jdobbs is offline   Reply With Quote
Old 23rd September 2014, 17:58   #21269  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by jdobbs View Post
I'm not paying any attention to the fps reported by the encoder. I am calculating it based upon the number of frames completed against the system clock and I'd rather continue doing my own calculations. I'm not seeing anything near "double" -- but it does vary from what x265 reports.

I'll look at it again to make sure it's right.

[Edit] Yep... forgot to take a reporting delay into account. Fixed it

"Double" (or even more) was observed at the beginning of the encode, gradually getting lower. Your explanation makes it clear as to why this happened. Thanks.
Sharc is offline   Reply With Quote
Old 23rd September 2014, 21:57   #21270  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by Sharc View Post
Is your SSD Samsung type 840 or 840EVO? Apparently there is a bug which slows down reading. SAMSUNG are about to releasing a fix.
You may google for the news.

Added:
http://www.anandtech.com/show/8550/s...-is-on-the-way
Thank you Sharc; yes, I do indeed have that one. It's good to know that they are working on a fix for it.
Lathe is offline   Reply With Quote
Old 23rd September 2014, 22:00   #21271  |  Link
AmigaFuture
Registered User
 
AmigaFuture's Avatar
 
Join Date: Apr 2003
Location: Within the main Source.
Posts: 895
Quote:
Originally Posted by Sharc View Post
Is your SSD Samsung type 840 or 840EVO? Apparently there is a bug which slows down reading. SAMSUNG are about to releasing a fix.
You may google for the news.

Added:
http://www.anandtech.com/show/8550/s...-is-on-the-way
EVO and PRO. Though it's the Pro I am using and posted about. Thanks, Sharc. I was going to use Google soon for it, but I appreciate the share.
__________________
Life is not a journey to the grave; but rather to skid out broadside, thoroughly used, torn and warn and loudly proclaim; WOW; What a ride!!! Soon, I'm going to do it AGAiN in different skin!!
AmigaFuture is offline   Reply With Quote
Old 23rd September 2014, 22:01   #21272  |  Link
Starfiresg1
Registered User
 
Starfiresg1's Avatar
 
Join Date: Sep 2009
Posts: 22
Quote:
Originally Posted by SquallMX View Post
Help, I trying to encode the 3D version of Maleficent, but the encoding process fails with a weird error:
I just tried a HW accelerated 3D encode (normally I only use software mode because I get corruptions in the MVC track using hardware mode anyway) and it also failed with the same error.
I hunted down the cause and can report the following:

The error only happens if you are using the latest Intel drivers 15.36.3.64.3907 and HW mode is used for FRIMDecode (FRIM_SW_DECODE=0) - using HW mode for FRIMEncode doesn't cause the error (it just isn't usable for me due to the mentioned corruptions). Going back to older drivers (e.g. 15.33.22.64.3621) resolves this issue. So there is either an issue in the Media SDK shipped with the newest driver itself or FRIMDecode needs to be updated for the new SDK version (1.10).
Starfiresg1 is offline   Reply With Quote
Old 23rd September 2014, 23:51   #21273  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Hello Jdobbs, I am working on CAPT_AMERICA_WINTER_SOLDIER_3D and have alternate output enabled with HEVC and aac audio. I f I use neroaacencoder I get failure and if faac is used then it works fine.

I am attaching info here to help troubleshoot issue, when neroaac encoder fails.

Quote:
[01:21:26] PHASE ONE, Encoding
- [01:21:26] Processing: VID_00800 (1 of 1)
- [01:21:27] Reencoding video [VID_00800]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 195,505 frames
- Bitrate: 9,839 Kbs
- [01:21:27] Reencoding: VID_00800, Pass 1 of 2
- [04:44:35] Reencoding: VID_00800, Pass 2 of 2
- [18:06:07] Video Encode complete
- [18:06:07] Processing audio tracks
- Track 4352 (eng): Reencoding audio to AAC...
- ERROR in attempt to reencode to AAC audio [AUD_00800__4352.AVS]
[18:11:14] - Failed to reencode audio, aborted
Content of audio.bat

Quote:
"E:\BD-RBV04901\BD_Rebuilder\tools\wavi.exe" "F:\BD-RB\WORKFILES\AUD_00800_4352.AVS" - | "E:\BD-RBV04901\NeroAACCodec-1.5.1\win32\neroAacEnc.exe" -br 448000 -if - -of "F:\BD-RB\WORKFILES\AUD_00800_4352.AAC"
content of AUD_00800_4352.avs file
Quote:
#Created by BD Rebuilder - v0.49.01 (beta)
LoadPlugin("E:\BD-RBV04901\BD_Rebuilder\tools\nicaudio.dll")
audio=NicDTSSource("00800.track_4352.dts")
audio = (AudioChannels(audio) > 6) ? GetChannel(audio,1,2,3,4,7,8) : audio
ConvertAudioTo16bit(ResampleAudio(audio, 48000))
Quote:
[Options]
VERSION=0.49.0.1
ENCODER=0
MODE=3
ENCODE_QUALITY=3
ONEPASS_ENCODING=0
AUTO_QUALITY=0
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=eng;
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=1
SD_TO_1080=0
IGNORE_3D=0
CONVERT_WIDE=0
DTS_REENCODE=0
AC3_REENCODE=0
AC3_640=1
AC3_192=0
KEEP_HD_AUDIO=0
DECODER=3
AVCHD=1
REMOVE_WORKFILES=0
REMOVE_OUTPUT=0
USE_FILTERS=0
BDMV_CERT_ONLY=0
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
FRIMSOURCE=0
COMPLETION_BEEP=0
OUTPUT_SBS=0
NEROAAC=1
SUPTITLE=0
AUDIO_TRACK_LIMIT=1
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=23500
MOVIEONLY_TYPE=33
ALTCRF=23
ALT_TARGET=10240
ALTMETHOD=2
ALTAUTOCROP=1
MINIMIZE_TO_TRAY=1
[Paths]
SOURCE_PATH=J:\
NeroAACPath=E:\BD-RBV04901\NeroAACCodec-1.5.1\win32\neroAacEnc.exe
DGIndexNV=E:\BD-RBV04901\dgdecnv2048\DGIndexNV.exe
DGDecNV=E:\BD-RBV04901\dgdecnv2048\DGDecodeNV.dll
WORKING_PATH=F:\BD-RB\
Any ideas what can cause this?

[update]

Even if audio process is success, mkvmerge fails. Upon further investigation I know the cause of failure.

Contents of mux_movie_only_meta
Quote:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500 --start-time=27000000
V_MPEGH/ISO/HEVC, "F:\BD-RB\WORKFILES\VID_00800.AVS.hevc", fps=23.976, insertSEI, contSPS
However there is no such file in directory, instead it is VID_00800.AVS.264. As you can see it is trying to call file which does not exist.





Also there is cosmetic issue when processing audio it goes above 100 percent in this case at least. another issue is if you abort on second pass encoding and restart from beginning it does not update overall progress.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.

Last edited by HWK; 24th September 2014 at 00:19.
HWK is offline   Reply With Quote
Old 24th September 2014, 00:18   #21274  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
The only difference I see between my setup and yours is that I'm using NeroAACEn v1.5.4 to your v1.5.1. But I did a lot of AAC encodes using Nero during testing.

There should never be a .264 extension when using MOVIEONLY_TYPE=33. I'll have to go back and see how that is possible. I did at least 20-30 encodes in testing and it never happened. Maybe there some's kind of flag confusion from a 3D source (I don't think I tested any 3D sources), I'll have to try one and see.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 24th September 2014 at 02:34.
jdobbs is offline   Reply With Quote
Old 24th September 2014, 01:04   #21275  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
@HWK, jdobbs

The correct extension used on my system - MKV 1920 x 1080 CRF 18 Intact Audio
Attached Images
 
gonca is offline   Reply With Quote
Old 24th September 2014, 01:28   #21276  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 333
Quote:
Originally Posted by Starfiresg1 View Post
I just tried a HW accelerated 3D encode (normally I only use software mode because I get corruptions in the MVC track using hardware mode anyway) and it also failed with the same error.
I hunted down the cause and can report the following:

The error only happens if you are using the latest Intel drivers 15.36.3.64.3907 and HW mode is used for FRIMDecode (FRIM_SW_DECODE=0) - using HW mode for FRIMEncode doesn't cause the error (it just isn't usable for me due to the mentioned corruptions). Going back to older drivers (e.g. 15.33.22.64.3621) resolves this issue. So there is either an issue in the Media SDK shipped with the newest driver itself or FRIMDecode needs to be updated for the new SDK version (1.10).
Thanks that fixed my problem.
SquallMX is offline   Reply With Quote
Old 24th September 2014, 03:52   #21277  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by gonca View Post
@HWK, jdobbs

The correct extension used on my system - MKV 1920 x 1080 CRF 18 Intact Audio
You are encoding to avc, where I am doing HEVC.

@ Jdobbs, I decided to do same movie in crf mode and video encode aborted. Upon examination of bat file of x265 I discovered argument weren't pass correctly.

Quote:
"E:\BD-RBV04901\BD_Rebuilder\tools\avs2yuv.exe" "F:\BD-RB\WORKFILES\VID_00800.AVS" -o - | "E:\BD-RBV04901\BD_Rebuilder\tools\x265.exe" - --preset slow --slow-firstpass --qpfile "F:\BD-RB\WORKFILES\VID_00800.CHP" --keyint 240 --crf 20 --y4m --stats "F:\BD-RB\WORKFILES\VID_00800.AVS.hevc.stats" --output "F:\BD-RB\WORKFILES\VID_00800.AVS.hevc"
As you can see underline ones are not needed.

I am gone try 2D source next and see what is outcome.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.

Last edited by HWK; 24th September 2014 at 04:04.
HWK is offline   Reply With Quote
Old 24th September 2014, 05:23   #21278  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
I have a Blu-ray that with the movie only comes to 24.34 Gigs. I tried changing the 'Custom Size' for BD-25 higher than the default 22.9 (only in these rare cases would I do this) But, when I went to run the encode, BDRB still shows the target size as 22.9. I tried changing it in the 'Setup' menu where it LOOKS like you can input another value. Will I be able to squeak this one in? What is the maximum size I can get? Why didn't it change; did I input too large of a size (I tried 24.5)

Thanks!

*** EDIT

Sorry, never tried this before, but I figured it out (Duh...) I have to SELECT the custom output size as opposed to BD-25. I'll play around with the sizes and figure it out. Geez...

Last edited by Lathe; 24th September 2014 at 05:37.
Lathe is offline   Reply With Quote
Old 24th September 2014, 07:56   #21279  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by HWK View Post
You are encoding to avc, where I am doing HEVC.

@ Jdobbs, I decided to do same movie in crf mode and video encode aborted. Upon examination of bat file of x265 I discovered argument weren't pass correctly.



As you can see underline ones are not needed.
Perhaps not needed in this case. It may however make perfectly sense to produce a stats file even for a --crf encode, just in case you like to take some corrective action in a second pass and take advantage of the stats from the first (--crf ) pass. Scenario proposed here.
I think however --pass 1 needs to be added in the commandline in order to really produce the stats file.
Sharc is offline   Reply With Quote
Old 24th September 2014, 10:55   #21280  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
@HWK
I was re-encoding to HEVC.
Mode: MKV HEVC, Intact Audio
gonca 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 14:50.


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