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 14th January 2014, 19:16   #18841  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by DarWun View Post
Another update. After having success with a rebuild of Hugo 3D to BD-25, I retried a rebuild to BD-9. The video encode failed on three separate attempts. This may not have anything to do with the failures, but BD-Rebuilder Priority was set on idle and I was doing other CPU/GPU intensive things on the PC while the rebuild was happening (i.e. playing Civilization 5). The reason I mention this is that when I ran two BD-9 rebuilds of the same movie with different quality settings in batch mode overnight, they both completed successfully. I usually run rebuilds in the background while doing other things on the PC without an issue.
Can you post your settings? I'm interested what you are using for frame serving.

I also noticed that your log post doesn't include the output showing whether you settings are correct. That makes me wonder why you decided to remove that part. Can you run INSPECT and post the results?

[Note] Actually I forgot this was a 3D encode... so obviously you're using FRIMDecode for frame serving. I may have to do some testing and see if FRIMDecode is vulnerable/affected by CPU usage.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 14th January 2014 at 19:28.
jdobbs is offline   Reply With Quote
Old 14th January 2014, 19:55   #18842  |  Link
DarWun
Registered User
 
Join Date: Feb 2007
Location: Toronto, Ontario, Canada
Posts: 55
Quote:
Originally Posted by jdobbs View Post
Can you post your settings? I'm interested what you are using for frame serving.

I also noticed that your log post doesn't include the output showing whether you settings are correct. That makes me wonder why you decided to remove that part. Can you run INSPECT and post the results?
Weird. I didn't edit the log files at all (other than to change the extensions so that I could attach them to my post). I'm not sure why the Inspect information isn't there. I'll run inspect when I get home tonight and post the results.

I may be wrong about this, but my recollection is that when doing a normal 2D rebuild in the past using DGDecNV, not all my CPU's cores were used. I'm pretty sure all six cores were running at 100% when doing the 3D rebuild. I'll check that tonight as well to make sure that is actually the case.

Edited to add: I looked back through the forum to see where the inspect information is supposed to be showing up in the log file. In the posts I found with logs for failed rebuilds, it looks like the inspect information is supposed to be tacked on after the encode fails. None of my failed encode log files I looked at last night had that information in them. The last line in all the logs was the same as it was in the log I attached to my original post: "Failed video encode, aborted".

Last edited by DarWun; 14th January 2014 at 20:31.
DarWun is offline   Reply With Quote
Old 15th January 2014, 02:32   #18843  |  Link
Limobar
aka Rabomil
 
Join Date: Sep 2005
Posts: 82
Quote:
Originally Posted by Limobar
[screenshot that shows artifacts]
Quote:
Originally Posted by HWK View Post
Can you provide more info about GPU and system?
i7 920@3.8Ghz
nVidia GTX 460
6 GB RAM
Windows 7 (64 bit)

Your request for more info got me thinking. I disabled hardware acceleration in TMT5 and then the artifacts are gone. I tried it also with PowerDVD 12, but that software appears to disallow disabling of hardware acceleration.

Blu-Ray players use hardware acceleration. Does that mean that FRIM encodes do not get decoded correctly?

I cannot test it myself, because I don't have a 3D compatible Blu-Ray player. I created a sample (130 MB). Please, try it and report back.

Here's the sample: https://www.hightail.com/download/el...cklrUm52WnRVag
Limobar is offline   Reply With Quote
Old 15th January 2014, 02:35   #18844  |  Link
DarWun
Registered User
 
Join Date: Feb 2007
Location: Toronto, Ontario, Canada
Posts: 55
I ran across another potential bug when trying to do multiple rebuilds using FRIMEncode with different quality settings in batch mode. The attached BDBATCH file shows that the encode quality settings for the two tasks were set at 0 (good) and 3 (high). The attached BATCHITEM file shows that the second high quality encode task was completed using an encode quality of 0 instead of 3. This is the first time I've tried batch mode using different quality settings. So I'm not sure if this is something new to this version of BD-Rebuilder or something that has carried over from a previous version.
Attached Files
File Type: txt BDBATCH.TXT (2.4 KB, 21 views)
File Type: txt BATCHITEM.TXT (1.2 KB, 22 views)
DarWun is offline   Reply With Quote
Old 15th January 2014, 02:56   #18845  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by Limobar View Post
i7 920@3.8Ghz
nVidia GTX 460
6 GB RAM
Windows 7 (64 bit)

Blu-Ray players use hardware acceleration. Does that mean that FRIM encodes do not get decoded correctly?
No, if it was the case encoder will crash on garbage input. Sound more like video card issue since GPU acceleration off result in good and clean playback.

Anyways I will try on software and hardware and see what is happening.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 15th January 2014, 02:59   #18846  |  Link
Limobar
aka Rabomil
 
Join Date: Sep 2005
Posts: 82
Quote:
Originally Posted by HWK View Post
...Sound more like video card issue since GPU acceleration off result in good and clean playback.
I highly doubt that. It's only with FRIM encodes that the artifacts show.
Limobar is offline   Reply With Quote
Old 15th January 2014, 03:03   #18847  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by Limobar View Post
I highly doubt that. It's only with FRIM encodes that the artifacts show.
Hmm, Can you share more info about movie and setting you were using. If I have the movie I can test and see what is happening with this .

I will also try to run with another MVC encoder and see if there is something I can come up with regards to encoder or its setting.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 15th January 2014, 03:05   #18848  |  Link
DarWun
Registered User
 
Join Date: Feb 2007
Location: Toronto, Ontario, Canada
Posts: 55
Quote:
Originally Posted by DarWun View Post
Weird. I didn't edit the log files at all (other than to change the extensions so that I could attach them to my post). I'm not sure why the Inspect information isn't there. I'll run inspect when I get home tonight and post the results.
Here are the results from INSPECT:

- Windows Version: 6.2 [9200]
- AVISYNTH Version: [2.5.8.0], Ok
- HAALI Splitter: [1.9.42.1], Ok
- FFDSHOW: [4504], Ok
- FFDSHOW VC-1 set to "wmv9", Ok
- FFDSHOW MPEG2 set to "libavcodec": Ok
- FFDSHOW AVC set to "libavcodec": Ok
- AnyDVD settings check: Ok.
- BD Rebuilder v0.46.0.3, Ok
- X264: Ok
- AFTEN: Ok
- FAAC: Ok
- WAVI: Ok
- TSMUXER: Ok

Here are the contents of the settings file from the BD-Rebuilder installation directory:

[Options]
VERSION=0.46.0.3
MODE=3
ENCODE_QUALITY=0
DTSX_ENABLE=1
MULTIPROCESS=1
DISABLE_VIDEO_SLEEP=1
FULL_3D=1
ONEPASS_ENCODING=0
AUTO_QUALITY=1
STATUS_LOG=1
TARGET_SIZE=8032
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
CONVERT_WIDE=0
DTS_REENCODE=0
AC3_REENCODE=0
AC3_640=1
AC3_192=0
KEEP_HD_AUDIO=1
AVCHD=0
REMOVE_WORKFILES=1
MOVIE_ONLY_LOOP=0
REMOVE_OUTPUT=1
USE_FILTERS=0
BDMV_CERT_ONLY=0
USE_LAVF=0
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
UNMASK_CHAPTER=0
COMPLETION_BEEP=0
DGDECNV=1
OUTPUT_SBS=0
NEROAAC=0
SUPTITLE=1
AUDIO_TRACK_LIMIT=1
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=50000
[Paths]
WORKING_PATH=D:\TEMP\
DGIndexNV=D:\Program Files (x86)\DGDecNV\DGIndexNV.exe
DGDecNV=D:\Program Files (x86)\DGDecNV\DGDecodeNV.dll
DirectShowMVCSource=D:\Program Files (x86)\BD_Rebuilder\Tools\stereoplayer.exe\DirectShowMVCSource.dll
SupTitlePath=D:\Program Files (x86)\BD_Rebuilder\Tools\SupTitle\SupTitle.dll
SOURCE_PATH=I:\

Last edited by DarWun; 15th January 2014 at 03:12.
DarWun is offline   Reply With Quote
Old 15th January 2014, 03:12   #18849  |  Link
Limobar
aka Rabomil
 
Join Date: Sep 2005
Posts: 82
Quote:
Originally Posted by HWK View Post
Hmm, Can you share more info about movie and setting you were using. If I have the movie I can test and see what is happening with this .

I will also try to run with another MVC encoder and see if there is something I can come up with regards to encoder or its setting.
The movie is: "Cloudy With A Chance Of Meatballs 2". I used the "Highest Quality" setting. The Movie "Epic" gives the same artifacts with hardware acceleration.


Log:
----------------------
[01/14/14] BD Rebuilder v0.46.03 (beta)
[10:59:08] Source: CLOUDY_2_00001
- Input BD size: 29.94 GB
- Approximate total content: [01:34:50.684]
- Target BD size: 23.68 GB
- Windows Version: 6.1 [7601]
- MOVIE-ONLY mode enabled
- Quality: Highest (Very Slow), ABR
- X264 Tweak(s) enabled
- MVC 3D Output Mode enabled
- Decoding/Frame serving: FRIMDecode
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[10:59:08] PHASE ONE, Encoding
- [10:59:08] Processing: VID_00344 (1 of 3)
- [10:59:08] Extracting A/V streams [VID_00344]
- [11:05:20] Reencoding video [VID_00344]
- [11:05:20] Reencoding: VID_00344, Pass 1 of 1
- Track 4352 (eng): Keeping original audio
- [12:11:11] Processing: VID_00345 (2 of 3)
- [12:11:11] Extracting A/V streams [VID_00345]
- [12:11:16] Reencoding video [VID_00345]
- [12:11:16] Reencoding: VID_00345, Pass 1 of 1
- [12:13:42] Processing: VID_00346 (3 of 3)
- [12:13:42] Extracting A/V streams [VID_00346]
- [12:22:06] Reencoding video [VID_00346]
- [12:22:06] Reencoding: VID_00346, Pass 1 of 1
[23:35:05]PHASE ONE complete
[23:35:05]PHASE TWO - Rebuild Started
- [23:35:05] Rebuilding BD file Structure
[23:46:12] - Encode and Rebuild complete
[23:46:12] JOB: CLOUDY_2 finished.

Setup info:

[Status]
LABEL=CLOUDY_2
VERSION=v0.46.03 (beta)
SOURCE_SIZE=32143816704
SOURCE_VIDEO_SIZE=32143816704
TARGET_SIZE=25427968000
REDUCTION=.791068721992673
RESIZE_1080=0
RESIZE_1440=0
AUDIO_TO_KEEP=all
KEEP_HD_AUDIO=-1
SUBS_TO_KEEP=all
BACKUP_MODE=1
MOVIEONLY_TYPE=0
USE_LAVF=-1
INSTANCES=1
DGDECNV=0
SSIF_MODE=-1
QUICK=0
ENCODE_STEP=0
COMPLETED=3
REBUILD_COMPLETE=1
[00344]
AUDIO=1111
PGS=1111111
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=2080530686
RATE=30866
NSIZE=0
FLINK=-1
MLINK=0
[00345]
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=74387293
RATE=28312
AUDIO=1111
NSIZE=0
FLINK=-1
MLINK=0
[00346]
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=23273050021
RATE=30089
AUDIO=1000
NSIZE=0
FLINK=0
MLINK=0
Limobar is offline   Reply With Quote
Old 15th January 2014, 03:26   #18850  |  Link
DarWun
Registered User
 
Join Date: Feb 2007
Location: Toronto, Ontario, Canada
Posts: 55
Quote:
Originally Posted by HWK View Post
Hmm, interesting find. So it seems OS is having difficulty locating CPU time to applications or it would seem so with game. What is even more interesting is I am gamer as well and never came across such a thing.
It's new to me as well. If I can find some time I'm going to play around a bit more tonight to see if I can reproduce the occurrence. I should point out that of the three rebuild failures that occurred last night, only two of them occurred while I was gaming. The third occurred while I was backing up my NAS to an external hard drive. I don't recall that being very CPU intensive. But then again don't usually pay much attention to CPU performance while completing backups (unless I'm bored ;-) ).
DarWun is offline   Reply With Quote
Old 15th January 2014, 03:38   #18851  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by Limobar View Post
The movie is: "Cloudy With A Chance Of Meatballs 2". I used the "Highest Quality" setting. The Movie "Epic" gives the same artifacts with hardware acceleration.


Log:
----------------------
[01/14/14] BD Rebuilder v0.46.03 (beta)
[10:59:08] Source: CLOUDY_2_00001
- Input BD size: 29.94 GB
- Approximate total content: [01:34:50.684]
- Target BD size: 23.68 GB
- Windows Version: 6.1 [7601]
- MOVIE-ONLY mode enabled
- Quality: Highest (Very Slow), ABR
- X264 Tweak(s) enabled
- MVC 3D Output Mode enabled
- Decoding/Frame serving: FRIMDecode
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[10:59:08] PHASE ONE, Encoding
- [10:59:08] Processing: VID_00344 (1 of 3)
- [10:59:08] Extracting A/V streams [VID_00344]
- [11:05:20] Reencoding video [VID_00344]
- [11:05:20] Reencoding: VID_00344, Pass 1 of 1
- Track 4352 (eng): Keeping original audio
- [12:11:11] Processing: VID_00345 (2 of 3)
- [12:11:11] Extracting A/V streams [VID_00345]
- [12:11:16] Reencoding video [VID_00345]
- [12:11:16] Reencoding: VID_00345, Pass 1 of 1
- [12:13:42] Processing: VID_00346 (3 of 3)
- [12:13:42] Extracting A/V streams [VID_00346]
- [12:22:06] Reencoding video [VID_00346]
- [12:22:06] Reencoding: VID_00346, Pass 1 of 1
[23:35:05]PHASE ONE complete
[23:35:05]PHASE TWO - Rebuild Started
- [23:35:05] Rebuilding BD file Structure
[23:46:12] - Encode and Rebuild complete
[23:46:12] JOB: CLOUDY_2 finished.

Setup info:

[Status]
LABEL=CLOUDY_2
VERSION=v0.46.03 (beta)
SOURCE_SIZE=32143816704
SOURCE_VIDEO_SIZE=32143816704
TARGET_SIZE=25427968000
REDUCTION=.791068721992673
RESIZE_1080=0
RESIZE_1440=0
AUDIO_TO_KEEP=all
KEEP_HD_AUDIO=-1
SUBS_TO_KEEP=all
BACKUP_MODE=1
MOVIEONLY_TYPE=0
USE_LAVF=-1
INSTANCES=1
DGDECNV=0
SSIF_MODE=-1
QUICK=0
ENCODE_STEP=0
COMPLETED=3
REBUILD_COMPLETE=1
[00344]
AUDIO=1111
PGS=1111111
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=2080530686
RATE=30866
NSIZE=0
FLINK=-1
MLINK=0
[00345]
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=74387293
RATE=28312
AUDIO=1111
NSIZE=0
FLINK=-1
MLINK=0
[00346]
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=23273050021
RATE=30089
AUDIO=1000
NSIZE=0
FLINK=0
MLINK=0
Thank you, I will add to do list and will also check out your sample.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 15th January 2014, 03:39   #18852  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by DarWun View Post
It's new to me as well. If I can find some time I'm going to play around a bit more tonight to see if I can reproduce the occurrence. I should point out that of the three rebuild failures that occurred last night, only two of them occurred while I was gaming. The third occurred while I was backing up my NAS to an external hard drive. I don't recall that being very CPU intensive. But then again don't usually pay much attention to CPU performance while completing backups (unless I'm bored ;-) ).
Are you doing compression or similar before sending to NAS which may cause cpu to be high side.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 15th January 2014, 04:13   #18853  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
@ Limobar

I just downloaded your sample and I am experience the same thing when playing with TMT 5. Acceleration on causing artifact in video and with off video is doing zigzag(not in focus) seem to be related to tsmuxer(I had with other situation as well)
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 15th January 2014, 04:16   #18854  |  Link
Limobar
aka Rabomil
 
Join Date: Sep 2005
Posts: 82
Quote:
Originally Posted by HWK View Post
...video is doing zigzag(not in focus) seem to be related to tsmuxer(I had with other situation as well)
Left and right mixed up, probably.
Limobar is offline   Reply With Quote
Old 15th January 2014, 04:19   #18855  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by Limobar View Post
Left and right mixed up, probably.
Not quite, even static background is moving. Best I can describe is going between point a and b which are very close and it is doing rapidly.

Hardware acceleration does not cause this problem.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.

Last edited by HWK; 15th January 2014 at 05:21.
HWK is offline   Reply With Quote
Old 15th January 2014, 05:31   #18856  |  Link
DarWun
Registered User
 
Join Date: Feb 2007
Location: Toronto, Ontario, Canada
Posts: 55
Quote:
Originally Posted by HWK View Post
Are you doing compression or similar before sending to NAS which may cause cpu to be high side.
No compression.
DarWun is offline   Reply With Quote
Old 15th January 2014, 05:34   #18857  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
@ Limobar

I finish analyzing sample you have provided and I can confirm FRIMEncode is at fault over here. I ran five different test to make sure it is not random occurrence and for all test FRIMDecode was used. Part of test was to use pipe between two processes, create yuv files and check number of frames are equal in both view.

I can upload sample which I fixed with another encoder so you can test as well, for my test TMT 5 with hardware acceleration turned on.

System Info
Intel core i7 3930K
nVidia GTX 580
32GB Ram
Windows 7 (64 bit)

I am also gone test with different version of FRIMEncode to see if I find one where problem does not occur.

I forgot to add all test were done outside of BD-RB environment with FRIM tools.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.

Last edited by HWK; 15th January 2014 at 08:11.
HWK is offline   Reply With Quote
Old 15th January 2014, 05:45   #18858  |  Link
DarWun
Registered User
 
Join Date: Feb 2007
Location: Toronto, Ontario, Canada
Posts: 55
Quote:
Originally Posted by jdobbs View Post
[Note] Actually I forgot this was a 3D encode... so obviously you're using FRIMDecode for frame serving. I may have to do some testing and see if FRIMDecode is vulnerable/affected by CPU usage.
I had two rebuilds running through the day while I was at work to evaluate the impact of the encoder quality settings. They both completed fine. I started a rebuild when I got home from work. It ran unattended for about 30minutes. Ten minutes after I loaded Civilization 5, the video encode failed. I can now confirm without any doubt that the log file does not summarize inspect results after the failure.
DarWun is offline   Reply With Quote
Old 15th January 2014, 05:59   #18859  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Do you have other game which you can use and test to see if this happens again. A game which is not much demanding would be best candidate.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.

Last edited by HWK; 15th January 2014 at 07:28.
HWK is offline   Reply With Quote
Old 15th January 2014, 08:46   #18860  |  Link
DarWun
Registered User
 
Join Date: Feb 2007
Location: Toronto, Ontario, Canada
Posts: 55
Quote:
Originally Posted by HWK View Post
Do you have other game which you can use and test to see if this happens again. A game which is not much demanding would be best candidate.
I do. I'm heading out of town for a few days so I won't be able to get back to it until the weekend though.
DarWun 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 09:56.


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