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 > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th December 2013, 13:11   #1  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
Avisynth MVC decoder plugin ?

Hi
Does anyone could make an Avisynth plugin for MVC decoding based on Intel Media SDK 2013 R2 ?
We are talking about this in this topic : http://forum.doom9.org/showthread.ph...00#post1659500
This plugin already exists but it is not free to redistribute (MVCsource.dll from BDtoAVCHD software).
In this topic, an existing decoder / encoder exists also but it needs .yuv files to work.
Thanks if anyone could help us !

Last edited by Nico8583; 27th December 2013 at 13:17.
Nico8583 is offline   Reply With Quote
Old 27th December 2013, 13:16   #2  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
Intel Media SDK 2013 R2 is available here : http://software.intel.com/en-us/vcso...ools/media-sdk
Nico8583 is offline   Reply With Quote
Old 27th December 2013, 13:21   #3  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,209
I second that request. We desperately need a good MVC decoder plugin for avisynth. It seems that currently, only the Intel MVC decoder can properly decode the MVC streams, but there is no avisynth plugin able to use it, except MVCSource, but its author imposes too many limitations, and we cannot use it freely.

Thanks in advance to anybody interested to help us. :-)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 27th December 2013 at 13:26.
r0lZ is offline   Reply With Quote
Old 27th December 2013, 17:25   #4  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,312
Your best option is to ask videofan3d to make FRIMDecode open source so someone (perhaps him?) can modify it to a plugin.
Wilbert is offline   Reply With Quote
Old 27th December 2013, 21:29   #5  |  Link
Cedvano
Registered User
 
Join Date: Jul 2009
Posts: 232
And use it directly with SSIF most great !!!
Cedvano is offline   Reply With Quote
Old 27th December 2013, 21:51   #6  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
Quote:
Originally Posted by Wilbert View Post
Your best option is to ask videofan3d to make FRIMDecode open source so someone (perhaps him?) can modify it to a plugin.
Yes we have already ask him if he could transform his decoder to an Avisynth plugin but it seems he can't do that so we are searching a pro to help us
Nico8583 is offline   Reply With Quote
Old 28th December 2013, 16:18   #7  |  Link
slavanap
Registered User
 
slavanap's Avatar
 
Join Date: May 2011
Location: Moscow, Russia
Posts: 126
If this MVCSource requires only one file, that sample_decode.exe requires, I can write a simple workaround.
Just wrap sample_decode as Avisynth plugin and force it to use pipes.

I don't know, what exactly mvcsource does, so I can't be sure about what you want.

ADD:
can you explain how now the pipeline is looks like? I can join almost any software for using pipes, if it does not require seeking, as I did for ssifSource1.

Last edited by slavanap; 28th December 2013 at 16:23.
slavanap is offline   Reply With Quote
Old 28th December 2013, 17:12   #8  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,209
Thanks for the proposition. :-)

The current MVCSource takes 2 files as input: the AVC and the MVC demuxed streams. It has a third parameter to specify what it must return: the AVC frames (value of the parameter is 0), the MVC frames (value 1), or the AVC + MVC streams, interleaved (value 2 or -2, where 2 returns the AVC (odd frames) + MVC (even frames), and -2 returns the MVC (odd) +AVC (even). It is not possible to seek, and it's why it is important to have the possibility to select the order of the AVC and MVC frames. It doesn't use pipes, and calls the external Intel DLL.
Code:
MvcSource("AVC.h264", "MVC.h264", output)
Where output is:
 0 : base view (AVC)
 1 : dependent view (MVC)
 2 : interleaved base-dependent (base first)
-2 : interleaved dependent-base (dependent first)
Of course, we don't need exactly this syntax. It is however much better to accept the 2 input streams instead of a single AVC+MVC combined stream, as combining the 2 streams would require an additional long pass, and more disc space. Of course, the best solution would be to accept a MPLS file as input, but I suppose it's too complex. Currently, I think the best option is to demux the 2 video streams with tsMuxeR or eac3to, and to use them directly in the Source command. I don't know if the Intel decoder requires a single combined file as input, but I suppose it can accept two streams, even if sample_decode.exe requires a single combined input.

Using the pipes to communicate the data to the decoder is of course possible, but since the decoder is open source and some examples exist, I wonder if it is much more difficult to integrate it completely in the avisynth plugin. Currently, the open source examples accept only plain files as input, but afaik the FRIM decoder accept pipes. Unfortunately, FRIM is currently closed source. It should be usable without modifications with the pipes, but I haven't studied how FIRM works, and I may be wrong.

Anyway, thanks again for considering to help us.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 28th December 2013 at 17:19.
r0lZ is offline   Reply With Quote
Old 28th December 2013, 19:52   #9  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
Thanks slavanap to try to help us !
Nico8583 is offline   Reply With Quote
Old 31st December 2013, 12:43   #10  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
A new info if it can help you
I've installed Intel Media SDK 2013 and there are :
- "sample_decode.exe" (and source code) : permit to decode input to .yuv files
- "h264_dec_filter.dll" (and source code) : an Intel DirectShow Filter to decode h264
- "mvc_dec_filter.dll" (and source code) : an Intel DirectShow Filter to decode MVC
Perhaps it is easier to adapt DirectShow source filter to Avisynth plugin :??:
Nico8583 is offline   Reply With Quote
Old 31st December 2013, 13:07   #11  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,209
Yes, it's probably the best solution, but I don't know if it's easy. What do you think?

I have tested sample_decode.exe with a small clip, and it works well, but it creates huge files on HDD. It is therefore not usable in practical situations. So, it should either be adapted to write to pipes, or the mvc_dec_filter.dll should be adapted as an avisynth plugin. Of course, I prefer largely the second solution. Pipes are usually not easy to handle, and require much memory. An avisynth plugin similar to DirectShowMVCSource but without its bugs would be perfect.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 31st December 2013, 13:25   #12  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
I'm not competent to make that but I think it's possible.
Slavanap (or another dev) could tell us if he thinks it's possible
Nico8583 is offline   Reply With Quote
Old 4th January 2014, 20:27   #13  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
I hope anyone could help us

The most unfortunate thing is that this plugin already exists (in this forum) but it is not free to use and redistribute :/
Nico8583 is offline   Reply With Quote
Old 4th January 2014, 23:40   #14  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Can't users download BDtoAVCHD and take out the DLL and install it themselves? Maybe not fully convenient I agree but one does what one has to do. Or have I missed something?
Guest is offline   Reply With Quote
Old 4th January 2014, 23:58   #15  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 856
Quote:
Originally Posted by neuron2 View Post
Can't users download BDtoAVCHD and take out the DLL and install it themselves? Maybe not fully convenient I agree but one does what one has to do. Or have I missed something?
I believe they're looking for one that can be freely redistributeable (without depending on installing a software bundle).

One that can also be maintained separately than any other versions currently available (with additional support for .yuv files and/other future support?).

Between the several threads, that's what I'm gathering.
I would like to throw in a vote for a stand-alone build, if that's indeed the goal.
__________________
Win10 (x64) build 17134 | GPU Caps Viewer 1.40.1.0
NVIDIA GeForce GT 1030 (GP108) 2047MB/GDDR5 | (R417.22)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 5th January 2014, 02:41   #16  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,209
I agree with Sparktank. The DLL can't be installed without installing the whole program. It doesn't work if it is installed alone. And, of course, we would prefer a standalone dll, freely re-distributable.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 5th January 2014, 03:29   #17  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 684
With BDtoAVCHD 1.9.4, DLL can work in standalone mode but since BDtoAVCHD 1.9.5, the author added a protection to force users to install his soft if they want to use the DLL. But the soft installs freewares who can interfere with already installed freewares, and his soft contains a Google Ad-sense code so it could be considered as an Ad-aware...
So yes users can take out DLL but no it doesn't work

Edit : Sorry, I have not refresh page before my response so I have not seen Sparktank and r0lZ have already responded

Last edited by Nico8583; 5th January 2014 at 03:32.
Nico8583 is offline   Reply With Quote
Old 5th January 2014, 03:46   #18  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,923
Thanks for the clarification, guys.
Guest is offline   Reply With Quote
Old 5th January 2014, 10:39   #19  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
NOP dll is possible.
Sharing unrestricted Pistacho always be the welcome.
__________________
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; 6th January 2014 at 00:18.
frencher is offline   Reply With Quote
Old 5th January 2014, 11:50   #20  |  Link
pistacho
Registered User
 
Join Date: Feb 2010
Location: Spain
Posts: 465
EDIT: Since frencher cleaned his message (with the criticism towards BDtoAVCHD). I also prefer clean this.
__________________
BDtoAVCHD - One Click Blu-Ray 2D/3D to BD5/BD9/BD25/MKV
BDtoAVCHD Doom9 Forum thread
MVCsource MVC 3D Avisynth Source Plugin
MVCenc MVC 3D Encoder

Last edited by pistacho; 6th January 2014 at 00:40.
pistacho 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 21:27.


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