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 > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st May 2021, 18:23   #1021  |  Link
trevorjharris
Registered User
 
Join Date: Jan 2007
Posts: 43
Quote:
Originally Posted by trevorjharris View Post
I have updated to Frim 1.31 64 bit and installed the example frim project into premiere pro cs6. When I try to export I get an empty file. The log is

Media SDK impl SOFTWARE (c:\UTL\FRIM\libmfxsw64.dll)
Media SDK version 1.28
Memory type System
Async depth 4

Input format I420

Encoder AVC

Input picture:
Resolution 1920x1088
PAR 1:1
Structure Progressive
Crop X,Y,W,H 0,0,1920,1080
Frame rate 23.976
Output picture:
Resolution 1920x1088
PAR 1:1
Structure Progressive
Crop X,Y,W,H 0,0,1920,1080
Frame rate 23.976
Bitrate control VBR
avg,maximum 28000,40000
GOP structure:
GOP length 24
I-/P-frame distance 4
IDR-frame interval 0
GOP type Opened
Num of slices 6
Target usage 4 (balanced)

Encoded frames: 720
Processing finished in 0.20 seconds

As you can see it process the correct number of frames but the .h264 file is empty.

Please can someone help.
I tried this in Windows 7 so I think it might have something to do with Windows 10. Please can anyone help.
trevorjharris is offline   Reply With Quote
Old 1st May 2021, 23:20   #1022  |  Link
trevorjharris
Registered User
 
Join Date: Jan 2007
Posts: 43
What I meant to say was that it worker in windows 7. So I think that windows 10 broke it.
trevorjharris is offline   Reply With Quote
Old 2nd May 2021, 13:57   #1023  |  Link
trevorjharris
Registered User
 
Join Date: Jan 2007
Posts: 43
OK I solved it. I reinstalled premiere pro and all was well. The i420 problem using avisynth still does not work but at least I can use premiere. Thanks
trevorjharris is offline   Reply With Quote
Old 3rd May 2021, 15:16   #1024  |  Link
trevorjharris
Registered User
 
Join Date: Jan 2007
Posts: 43
Found a way to speedup frimencode

In premiere pro I tried rendering the first sequence with 2 video tracks to an intermediate using cineform. I then imported this back into Premiere and then exported it with Frimencode This was alot faster than exporting a sequence with a sequence in it. Frim encoding was about 14 times faster but encoding to an intermediate does take time.
trevorjharris is offline   Reply With Quote
Old 31st May 2022, 09:15   #1025  |  Link
3DJ
Registered User
 
Join Date: Feb 2022
Posts: 2
SBS MP4 to MVC 3D?

Howdy folks!
I've been trying to convert an NVIDIA 3D Vision 1080p60 gameplay recording in full-resolution SBS MP4 format to a single MVC 3D MKV (like BD3D MakeMKV rips) with the hopes of saving HDD space by encoding redundant data efficiently without losing significant quality.
But so far, I've only gotten errors and corrupted (colored static) video files and I'm not sure what I'm missing/doing wrong.

Input: https://www.dropbox.com/sh/nzdws2k4c...T0KH8wHxa?dl=0
Code:
Format                      : MPEG-4
Format profile              : Base Media
Codec ID                    : isom (isom/iso2/avc1/mp41)
File size                   : 69.0 MiB
Duration                    : 6 s 681 ms
Overall bit rate            : 86.7 Mb/s
encoder                     : Lavf58.76.100

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L5.1
Format settings             : CABAC / 1 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 1 frame
Format settings, GOP        : M=1, N=30
Codec ID                    : avc1
Codec ID/Info               : Advanced Video Coding
Duration                    : 6 s 681 ms
Source duration             : 6 s 714 ms
Bit rate                    : 85.6 Mb/s
Maximum bit rate            : 96.7 Mb/s
Width                       : 3 840 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 3.556
Frame rate mode             : Variable
Frame rate                  : 59.724 FPS
Minimum frame rate          : 16.129 FPS
Maximum frame rate          : 620.690 FPS
Original frame rate         : 60.000 FPS
Standard                    : PAL
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.345
Stream size                 : 68.8 MiB (100%)
Source stream size          : 68.8 MiB (100%)
Title                       : VideoHandle
Writing library             : x264 core 164
Encoding settings           : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=85567 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Color range                 : Limited
Color primaries             : BT.601 NTSC
Transfer characteristics    : BT.601
Matrix coefficients         : BT.601
mdhd_Duration               : 6681
Codec configuration box     : avcC

Audio #1
ID                          : 2
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : mp4a-40-2
Duration                    : 6 s 681 ms
Source duration             : 6 s 664 ms
Bit rate mode               : Constant
Bit rate                    : 192 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 46.875 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                 : 159 KiB (0%)
Source stream size          : 159 KiB (0%)
Title                       : SoundHandle
Default                     : Yes
Alternate group             : 1
mdhd_Duration               : 6681

Audio #2
ID                          : 3
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : mp4a-40-2
Duration                    : 6 s 680 ms
Source duration             : 6 s 674 ms
Bit rate mode               : Constant
Bit rate                    : 117 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 46.875 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                 : 95.7 KiB (0%)
Source stream size          : 95.7 KiB (0%)
Title                       : SoundHandle
Default                     : Yes
Alternate group             : 2
mdhd_Duration               : 6680
Command:
Code:
FRIMEncode64 -i i1.mp4 -sbs 2 -o:mvc o1.mkv -size 1920 1080 -dstsize 1920 1080 -f 60 -dar 16:9
Output: https://www.dropbox.com/sh/845ikih2n...qbT9CVOqa?dl=0
Code:
FRIM Encoder version 1.31 - Win64 (build: Mar  8 2020)
 - based on Intel(R) Media SDK

Media SDK impl          HARDWARE (2) - D3D11 (C:\Windows\SYSTEM32\libmfxhw64.dll)
Media SDK version       1.34
Memory type             System
Async depth             4

Input  format           I420

Encoder                 AVC

Input picture:
  Resolution            1920x1088
  PAR                   1:1
  Structure             Progressive
  Crop X,Y,W,H          0,0,1920,1080
  Frame rate            60.000
Output picture:
  Resolution            1920x1088
  PAR                   1:1
  Structure             Progressive
  Crop X,Y,W,H          0,0,1920,1080
  Frame rate            60.000
Bitrate control         CBR
  bitrate               4717
GOP structure:
  GOP length            60
  I-/P-frame distance   4
  IDR-frame interval    0
  GOP type              Opened
Num of slices           6
Target usage            4 (balanced)

Processing started
Frame number: 11
Processing finished in 0.15 seconds
Not sure why it insists on 1920x1088 resolution even tho I already set
Code:
-size 1920 1080 -dstsize 1920 1080
Here's how the output file looks:
3DJ is offline   Reply With Quote
Old 4th June 2022, 07:27   #1026  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
[QUOTE=3DJ;1969736]Howdy folks!
FRIMEncode input must be planar YUV (more precisely yv12 pixel format) - not any kind of compressed container.

Also output is elementary stream .h264/.mvc which need to be multiplexed using tsMuxer.

Finally, I'm worried that 1080p60 is not standard for 3D-Bluray.
I always used only 1080p24 with my videos.
videofan3d is offline   Reply With Quote
Old 12th June 2022, 10:38   #1027  |  Link
3DJ
Registered User
 
Join Date: Feb 2022
Posts: 2
Woah, so the input must be a raw video? That sounds quite impractical, unless there's a way to pipe an ffmpeg uncompressed stream to avoid having to waste hundreds if not thousands of GBs?
The full video is like ~6hrs of 1080p60 3D (Side by Side so 2160 horizontal pixels).
I usually just upload my 3D videos onto YouTube but the quality drops noticeably even at "4K" resolution so I just wanted a more efficient method to store my 3D videos locally.
3DJ is offline   Reply With Quote
Old 12th June 2022, 17:06   #1028  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by 3DJ View Post
Woah, so the input must be a raw video? That sounds quite impractical, unless there's a way to pipe an ffmpeg uncompressed stream to avoid having to waste hundreds if not thousands of GBs?
Certainly you can connect using pipes.
Check the FRIMEncode_readme.pdf document in the package and make few experiments - I'm sure you will find how to use it.
videofan3d is offline   Reply With Quote
Old 20th June 2022, 17:12   #1029  |  Link
Cedvano
Registered User
 
Join Date: Jul 2009
Posts: 244
Hi,

I would like to know if it's possible to create mkv with the combined output h264/mvc ?
When I use MkvToolNix, impossible to read with Sterescopic Player.

Thanks in advance.
Cedvano is offline   Reply With Quote
Old 20th June 2022, 20:29   #1030  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by Cedvano View Post
Hi,

I would like to know if it's possible to create mkv with the combined output h264/mvc ?
When I use MkvToolNix, impossible to read with Sterescopic Player.

Thanks in advance.
Combined h264/mvc is specific elementary stream containing frames of both main-view and dependent-view, suitably multiplexed.
It is (probably) rarely used part of h264 MVC standard. As such, I doubt there is any available decoder who can even read it.

Furthermore to my knowledge, dependent view MVC elementary stream is not supported by MKVToolNix.
Author said in past that he will implement it if there will be demand but he wants to do it right.
Nowadays with decline of 3D I'd say there won't be any demand anymore. There are also no more mediaplayers capable of 3D.
Pity...
videofan3d is offline   Reply With Quote
Old 22nd June 2022, 16:19   #1031  |  Link
Cedvano
Registered User
 
Join Date: Jul 2009
Posts: 244
Quote:
Originally Posted by videofan3d View Post
Combined h264/mvc is specific elementary stream containing frames of both main-view and dependent-view, suitably multiplexed.
It is (probably) rarely used part of h264 MVC standard. As such, I doubt there is any available decoder who can even read it.

Furthermore to my knowledge, dependent view MVC elementary stream is not supported by MKVToolNix.
Author said in past that he will implement it if there will be demand but he wants to do it right.
Nowadays with decline of 3D I'd say there won't be any demand anymore. There are also no more mediaplayers capable of 3D.
Pity...
Thanks for your answer.
Cedvano is offline   Reply With Quote
Old 9th January 2023, 08:53   #1032  |  Link
KSSW
Registered User
 
Join Date: Sep 2022
Location: China
Posts: 23
FRIM_ x64_ version_ 1.31 Whether MVC can conform to Blu ray 3D

Scenarist BD V8 MUI Tips



Quote:
FRIM Encoder version 1.31 - Win64 (build: Mar 8 2020)
- based on Intel(R) Media SDK

Media SDK impl HARDWARE (2) - D3D11 (C:\windows\SYSTEM32\libmfxhw64.dll)
Media SDK version 1.35
Memory type System
Async depth 4

Input format I420

Encoder AVC

Input picture:
Resolution 1920x1088
PAR 1:1
Structure Progressive
Crop X,Y,W,H 0,0,1920,1080
Frame rate 23.976
Output picture:
Resolution 1920x1088
PAR 1:1
Structure Progressive
Crop X,Y,W,H 0,0,1920,1080
Frame rate 23.976
Bitrate control VBR
avg,maximum 35000,38000
GOP structure:
GOP length 24
I-/P-frame distance 3
IDR-frame interval 0
GOP type Opened
Num of slices 6
Target usage 1 (quality)

Processing started
Frame number: 1438
Processing finished in 174.68 seconds

Last edited by KSSW; 9th January 2023 at 09:23.
KSSW is offline   Reply With Quote
Old 4th July 2023, 20:22   #1033  |  Link
KaraokeAmerica
Registered User
 
Join Date: Nov 2015
Posts: 57
ERROR: the previous asynchrous operation is in execution

When I try to encode an .264 and MVC file I get this error:

Quote:
ERROR: the previous asynchrous operation is in execution (1), c:\prj\frim\frim_encode\src\main_frim_encode.cpp (128)
I searched the forums for this exact error code, but even though it gave me search results I could never actually find the comments that contained this error so I don't know what it means. I don't even have that path on my system.

The command line I'm running is this:

Quote:
FRIMEncode64 -i 00000.track_4113.264 00001.track_4114.mvc -o:mvc output_combined.h264 -w 1920 -h 1080 -f 23.976 -vbr 28000 40000 -level 4.1 -u 1
It doesn't happen until it has encoded 2930 frames. It creates an .h264 output file of about 600MB that if I examine in mediainfo shows up as:

First video stream:
Quote:
1920*1080 (16:9), at 23.976 (24000/1001) FPS, AVC (Stereo High@L4.1 / High@L4.1)(CABAC/3 Ref Frames)
which is precisely what I see when I have a complete 3D-MVC MKV rip.

I'm not sure if I am seeing an issue or it is operator error so any suggestions are appreciated!
KaraokeAmerica is offline   Reply With Quote
Old 11th July 2023, 22:45   #1034  |  Link
KaraokeAmerica
Registered User
 
Join Date: Nov 2015
Posts: 57
Quote:
Originally Posted by videofan3d View Post
FRIMEncode input must be planar YUV (more precisely yv12 pixel format) - not any kind of compressed container.
How do you make that yv12 pixel format?
KaraokeAmerica is offline   Reply With Quote
Old 15th September 2023, 07:50   #1035  |  Link
wcapes2101
Registered User
 
Join Date: Dec 2021
Posts: 2
Hi all

Question about functionality

I'm just experimenting and playing on my 3D Blurays to make backups, as I like to keep the original stored away. So I've managed to rip my movie ( won't drop names to be safe in 2023 ) and managed to demux into
01000.track_4113.264
01000.track_4114.mvc
01000.track_4353.ac3

I have used NVEncC to re-encode the 264 stream to a lower bitrate.
Was wondering if I can use FRIM to reencode JUST the MVC stream based off my encode instead of the 01000.track_4113.264 one.

Reason being is I prefer NVEncC encoding as it's quicker ( I know not the best reason , I just like it )

Thanks
wcapes2101 is offline   Reply With Quote
Old 15th September 2023, 14:46   #1036  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
To achive the desired encoding efficieny a direct encoding parameter dependency of both streams is needed to be maintained.
Not only bitrate distribution, quantizer, frame type...
Conclusion: Base and dependent stream have to come out of one and the same encoder based on the same decisions.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 15th September 2023 at 14:50.
Emulgator is offline   Reply With Quote
Old 15th September 2023, 17:12   #1037  |  Link
wcapes2101
Registered User
 
Join Date: Dec 2021
Posts: 2
Quote:
Originally Posted by Emulgator View Post
To achive the desired encoding efficieny a direct encoding parameter dependency of both streams is needed to be maintained.
Not only bitrate distribution, quantizer, frame type...
Conclusion: Base and dependent stream have to come out of one and the same encoder based on the same decisions.
Makes sense, thanks for the reply
wcapes2101 is offline   Reply With Quote
Reply

Tags
encoders, mvc

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 16:47.


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