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 30th October 2013, 10:33   #1  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Free H.264 MVC 3D Encoder

(Project is mirrored on site videofan3d)

Intel Media SDK provides framework for MPEG2, H.264 AVC/MVC-3D, and H.265 HEVC encoding and decoding.
SDK is supported on Windows 7, Windows 8.x, Windows 10 and it can be freely distributed and used.
Intel Media SDK is probably the only platform providing free MVC-3D encoding capabilities (end of 2013).

FRIM is free SW package based on patterns and examples from this SDK.

FRIM Encoder (command-line tool) converts planar-yuv file, named pipe, uncompressed avi or Avisynth script into elementary MPEG2, H.264 AVC/MVC-3D or H.265 HEVC streams.
Resulting elementary video streams can be then multiplexed into transport stream (.ts, .m2ts) or Blu-ray directory structure.
tsMuxeR 2.1.2 (and higher) is needed for 3D Blu-ray multiplexing.

FRIM Decoder (command-line tool) converts elementary or transport streams (MPEG2, H.264 AVC/MVC-3D, H.265 HEVC, VC1) into planar-yuv. Output can be either regular file or Windows named pipe.
Output to a pipe allows further YUV processing without consumption of enormous diskspace.

FRIM Source is Avisynth plugin for sequential reading of elementary or transport streams (MPEG2, H.264 AVC/MVC-3D, H.265 HEVC, VC1) in Avisynth scripts.

FRIM Export is plugin for Adobe Premiere Pro (CS6) for direct export and encoding to MPEG2, H.264 AVC/MVC-3D or H.265 HEVC elementary streams

FRIM Import is plugin for Adobe Premiere Pro (CS6) for import of 3D-material recorded in AVCHD-3D format (produced by camcorders like Sony HXR-NX3D1 or Panasonic Z10000).
FRIM Import and FRIM Export together support rendering workflow without re-encoding to any intermediate format.

FRIM executables and documentation can be downloaded from:
2020-03-08: FRIM version 1.31 (x86) - suitable for direct decoding/encoding and Avisynth 2.6.0 (Intel Media SDK 2019 R1)
2020-03-08: FRIM version 1.31 (x64) - suitable for direct decoding/encoding (also HEVC), Adobe Premiere Pro and Avisynth+ (Intel Media SDK 2019 R1) - HEVC 10-bit support

2019-04-16: FRIM version 1.30 (x86) - suitable for direct decoding/encoding and Avisynth 2.6.0 (Intel Media SDK 2018 R2) - maintenance release
2019-04-16: FRIM version 1.30 (x64) - suitable for direct decoding/encoding (also HEVC), Adobe Premiere Pro and Avisynth+ (Intel Media SDK 2018 R2) - maintenance release

2018-07-09: FRIM version 1.29 (x86) - suitable for direct decoding/encoding and Avisynth 2.6.0 (Intel Media SDK 2018 R1)
2018-07-09: FRIM version 1.29 (x64) - suitable for direct decoding/encoding (also HEVC), Adobe Premiere Pro and Avisynth+ (Intel Media SDK 2018 R1)

2017-07-08: FRIM version 1.27 (x86) - suitable for direct decoding/encoding and Avisynth 2.6.0 (Intel Media SDK 2017 R1)
2017-07-08: FRIM version 1.27 (x64) - suitable for Adobe Premiere Pro and Avisynth+ (Intel Media SDK 2017 R1)

2016-01-16: FRIM version 1.26 (x86) - suitable for direct decoding/encoding and Avisynth 2.6.0 (Intel Media SDK 2016)
2016-01-16: FRIM version 1.26 (x64) - suitable for Adobe Premiere Pro and Avisynth+ (Intel Media SDK 2016)

2015-05-10: FRIMSource64.dll (x64) - 64-bit version of FRIM decoder (FRIMSource) for AviSynth+ (64-bit).
2015-03-28: FRIM version 1.25 (x86) - suitable for direct decoding/encoding and Avisynth (Intel Media SDK - INDE 2015 Update 1)
2015-03-28: FRIM version 1.25 (x64) - suitable for Adobe Premiere Pro (Intel Media SDK - INDE 2015 Update 1)

2015-02-28: FRIM version 1.24 (withdrawn)

2014-03-22: FRIM version 1.23 (x86) - suitable for direct decoding/encoding and Avisynth
2014-03-22: FRIM version 1.23 (x64) - suitable for Adobe Premiere Pro
2014-03-22: FRIM version 1.23 - Premiere - example of Adobe Premiere project

2014-02-02: FRIM version 1.22 (withdrawn)
2014-01-25: FRIM version 1.21 (withdrawn)
2014-01-13: FRIM version 1.20 (withdrawn)
2014-01-03: FRIM version 1.19 (withdrawn)
2013-11-26: FRIM version 1.18 (withdrawn)
2013-11-21: FRIM version 1.16 (withdrawn)
2013-11-12: FRIM version 1.15 (withdrawn)
2013-11-07: FRIM version 1.11 (withdrawn)
2013-11-05: FRIM version 1.10 (withdrawn)
2013-10-29: FRIM version 1.00 (withdrawn)

Last edited by videofan3d; 8th March 2020 at 12:11. Reason: FRIM 1.31 - (Intel Media SDK 2019 R1)
videofan3d is offline   Reply With Quote
Old 30th October 2013, 11:49   #2  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by videofan3d View Post
Intel Media SDK provides framework for MPEG2, H.264 AVC and H.264 MVC-3D encoding and decoding.
SDK is supported on Windows 7, Windows 8.x, and it can be freely distributed and used.

FRIM Encoder and FRIM Decoder are free command-line tools based on modification of examples from this SDK.


FRIM Encoder converts planar-yuv file, named pipe, uncompressed avi or Avisynth script into elementary MPEG2, H.264 AVC or MVC-3D streams.
Resulting elementary video streams can be then multiplexed into transport stream (.ts, .m2ts) or Blu-ray directory structure.
Input from named pipes, avi-files and Avisynth scripts allows connection of FRIM Encoder to NLE Editing systems like Adobe Premiere
(via frame-server even without consumption of enormous diskspace).

Intel Media SDK is probably the only platform providing free MVC-3D encoding capabilities.
tsMuxeR 2.1.2 (and higher) is needed for 3D Blu-ray multiplexing.

FRIM Decoder converts elementary MPEG2, H.264 AVC or MVC-3D streams into planar-yuv. Output can be either regular file or Windows named pipe.
Output to named pipe allows further YUV processing without consumption of enormous diskspace.


FRIM executables and documentation can be downloaded from:
FRIM version 1.00
Nice job, Although I already have encoder for MVC but will try out this one as well. Also would it be possible to provide encoder options, specially quality ones.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.

Last edited by HWK; 30th October 2013 at 11:57.
HWK is offline   Reply With Quote
Old 30th October 2013, 11:53   #3  |  Link
tymoxa
Registered User
 
Join Date: Oct 2006
Location: Kyiv, Ukraine
Posts: 117
videofan3d
Thanks for your effort.
FRIM Decoder seems to work, but FRIM Encoder gives me an "Unknown codec" error (h264/mpeg2/mvc codec with .yuv/.avi/.avs/.pipe input).
My Cpu is an old Core2Duo.
tymoxa is offline   Reply With Quote
Old 30th October 2013, 11:58   #4  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by tymoxa View Post
videofan3d
Thanks for your effort.
FRIM Decoder seems to work, but FRIM Encoder gives me an "Unknown codec" error (h264/mpeg2/mvc codec with .yuv/.avi/.avs/.pipe input).
My Cpu is an old Core2Duo.
What file you are you trying to work with.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 30th October 2013, 12:00   #5  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by tymoxa View Post
videofan3d
Thanks for your effort.
FRIM Decoder seems to work, but FRIM Encoder gives me an "Unknown codec" error (h264/mpeg2/mvc codec with .yuv/.avi/.avs/.pipe input).
My Cpu is an old Core2Duo.
You need to have at least Win7 - I tested both on W7/W8/64-bit, but FRIM itself is 32-bit application)

You probably need to have installed proper codecs for VFW API. e.g. K-Lite Mega Codec Pack (10.0.5).
videofan3d is offline   Reply With Quote
Old 30th October 2013, 12:03   #6  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by videofan3d View Post
You need to have at least Win7 - I tested both on W7/W8/64-bit, but FRIM itself is 32-bit application)

You probably need to have installed proper codecs for VFW API. e.g. K-Lite Mega Codec Pack (10.0.5).
Just wanted to ask what kind of speed you get when encoding. Also post system specs 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 30th October 2013, 12:06   #7  |  Link
tymoxa
Registered User
 
Join Date: Oct 2006
Location: Kyiv, Ukraine
Posts: 117
Quote:
Originally Posted by HWK View Post
What file you are you trying to work with.
- .avs with DGSource("test.dgi").ConvertToYV12() in it
- short .avc converted to .yuv
- couple of avi/yuv created with MVCtoAVI converter
Maybe it's because my cpu support only sw mode?
tymoxa is offline   Reply With Quote
Old 30th October 2013, 12:10   #8  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by tymoxa View Post
- .avs with DGSource("test.dgi").ConvertToYV12() in it
- short .avc converted to .yuv
- couple of avi/yuv created with MVCtoAVI converter
Maybe it's because my cpu support only sw mode?
I don't think it is software since it can gracefully fall back if software can't take advantage processing capabilities.

What kind of OS are you using.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 30th October 2013, 12:49   #9  |  Link
tymoxa
Registered User
 
Join Date: Oct 2006
Location: Kyiv, Ukraine
Posts: 117
Quote:
Originally Posted by HWK View Post
What kind of OS are you using.
Win7x32. I doubt that it's decoder related problem as i can play .avi files in Media Player Classic without using it internal filters plus i have K-Lite Codec Pack installed.
tymoxa is offline   Reply With Quote
Old 30th October 2013, 12:55   #10  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by tymoxa View Post
Win7x32. I doubt that it's decoder related problem as i can play .avi files in Media Player Classic without using it internal filters plus i have K-Lite Codec Pack installed.
Please provide exact error message, the input and exact command which you are running. Then I can check.
videofan3d is offline   Reply With Quote
Old 30th October 2013, 13:05   #11  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by HWK View Post
Just wanted to ask what kind of speed you get when encoding. Also post system specs as well.
I didn't perform measurements, yet (as it is time consuming )
I'll do some statistics during next weekend.
videofan3d is offline   Reply With Quote
Old 30th October 2013, 15:40   #12  |  Link
bigotti5
Spielberger
 
bigotti5's Avatar
 
Join Date: Feb 2005
Posts: 838
Same here using AVI, YUV , AVS
always get
Quote:
Error: Unknown codec
Quote:
FRIMEncode h264 –avi -i bars.avs -o bars.h264 -b 24000
bigotti5 is offline   Reply With Quote
Old 30th October 2013, 16:58   #13  |  Link
tymoxa
Registered User
 
Join Date: Oct 2006
Location: Kyiv, Ukraine
Posts: 117
It's strange but after reboot it worked with the same avs file/command line:
Quote:
FRIMEncode h264 -avi -i test.avs -o output.h264 -b 20000
Testing further.
tymoxa is offline   Reply With Quote
Old 30th October 2013, 19:09   #14  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by bigotti5 View Post
Same here using AVI, YUV , AVS
always get
This is strange: Message "Unknown codec" should appear only (and only) if you miss keyword "h264/mpeg2/mvc".

Which Windows do you have? Win 7/32 or Win 7/64
Do you run it from command prompt (cmd.exe) or batch file?
videofan3d is offline   Reply With Quote
Old 30th October 2013, 21:56   #15  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Hi very good news videofan3d

Same problem for me with batch file
Code:
FRIMDecode mvc -i MVCCombined.h264 -o input.yuv
input_L.yuv and input_R.yuv OK Done...



Code:
FRIMEncode.exe mvc -i input_L.yuv -i input_R.yuv –viewoutput -o output_L.h264 -o output_R.h264 -w 1920 –h 1080 –f 23.976 -b 40000 –u 1
Return
Quote:
FRIM Encoder version 1.00 (build: Oct 29 2013)
- based on Intel(R) Media SDK (version: 4.0.760.60435)

Error: Unknown codec
I have Wndows 7 x64 and i7 3930k
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.

Last edited by frencher; 30th October 2013 at 22:22.
frencher is offline   Reply With Quote
Old 30th October 2013, 22:29   #16  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by frencher View Post
Hi very good news videofan3d

Same problem for me with batch file

Code:
FRIMEncode.exe mvc -i input_L.yuv -i input_R.yuv –viewoutput -o output_L.h264 -o output_R.h264 -w 1920 –h 1080 –f 23.976 -b 40000 –u 1
Return


I have Wndows 7 x64 and i7 3930k
This is really strange, I cannot succeed to simulate it
I have Win8/64 and this command works - this is how I did all my tests...

Can you send me the batch file itself to check it?
videofan3d is offline   Reply With Quote
Old 30th October 2013, 22:34   #17  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by videofan3d View Post
This is really strange, I cannot succeed to simulate it
I have Win8/64 and this command works - this is how I did all my tests...

Can you send me the batch file itself to check it?
Remind me of Jdobbs when he released BD-RB to public and all the failure occurring.

I had failure as well with uncompressed out put with YV12 color space. I couldn't create h264 or mvc file. Also side by side didn't work for me either.

I just noticed those who are having problem are on win7 including me and you are on win 8. Could it be OS or some dependency.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 30th October 2013, 22:48   #18  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Unknown Codec
Guys, maybe I got it :-)

I guess you all copied the sample command "FRIMEncode ..." from PDF, right?

Please note, that PDF is generated from MS Word, and MS Word is doing some smart formatting and sometimes replaces character 0x2D (hyphen '-') by 0x96 (which also looks like hyphen!!!), but it is some "pseudo-hyphen" not recognized by cmd.exe

Please retype the command directly and manually in notepad, and it will work

Last edited by videofan3d; 30th October 2013 at 23:04.
videofan3d is offline   Reply With Quote
Old 30th October 2013, 23:20   #19  |  Link
HWK
Registered User
 
HWK's Avatar
 
Join Date: Feb 2009
Location: Toronto, Ontario, Canada
Posts: 1,059
Quote:
Originally Posted by videofan3d View Post
Guys, maybe I got it :-)

I guess you all copied the sample command "FRIMEncode ..." from PDF, right?

Please note, that PDF is generated from MS Word, and MS Word is doing some smart formatting and sometimes replaces character 0x2D (hyphen '-') by 0x96 (which also looks like hyphen!!!), but it is some "pseudo-hyphen" not recognized by cmd.exe

Please retype the command directly and manually in notepad, and it will work
Which might explain why encoder doesn't even start.
__________________
If you fail to plan; you plan to fail, would you not agree? Think about it.
HWK is offline   Reply With Quote
Old 30th October 2013, 23:23   #20  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Quote:
Originally Posted by frencher View Post
FRIMEncode.exe ... –u 1
Just to comment, -u 1 is the highest quality, but also slowest encoding (naturally).
I was positively surprised with Intel Media encoding quality.
In general, I use only high bitrates, 24 mbit/s for 2D and 40 mbit/s for 3D (quality is most important for me).

As for test I encoded so far two of my own "3D-films" recorded by 3D-camcorder Panasonic Z10000 - and I didn't notice any ugly artefacts on this high bitrate.

x264 is probably better but it doesn't support MVC-3D (unfortunately there is no big demand for it... )
videofan3d 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 12:15.


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