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 > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd February 2015, 17:19   #1  |  Link
Batman007
Registered User
 
Join Date: Jan 2015
Posts: 44
How to make avs from .mpls ?

Hi guys .....

I am trying to make .avs from .mpls ... But I can't ...
Can anyone tell me proper way to make .avs from .mpls (with or without MeGUI) ?

Thank you ......
Batman007 is offline   Reply With Quote
Old 23rd February 2015, 19:05   #2  |  Link
Batman007
Registered User
 
Join Date: Jan 2015
Posts: 44
Please help....
Batman007 is offline   Reply With Quote
Old 23rd February 2015, 22:20   #3  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 3,102
I don't think it is possible. I do not know of any filter than can open a bluray playlist in AVISynth. You will need to use the .m2ts files directly.
Asmodian is offline   Reply With Quote
Old 23rd February 2015, 23:57   #4  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 940
Code:
#!/bin/bash

if test x"$1" = x"-h" -o x"$1" = x"--help" -o x"$1" = x"" ; then
cat <<EOF
Usage: mpls-to-avs <mplsfile> <sourcefilter>

Help:
  -h, --help        print this message
EOF
exit 1
fi

if [ "$2" = "ffms2" ] ; then
    SCRIPTFUNC="FFVideoSource"
elif [ "$2" = "lsmash" ] ; then
    SCRIPTFUNC="LwLibavVideoSource"
fi

BASICNAME=$(sed 's/M2TS/M2TS\n/g' "$1" | perl -ne 'print scalar reverse;' | cut -c1-9 | perl -ne 'print scalar reverse;')
echo $BASICNAME | sed 's/M2TS/M2TS\n/g' | grep M2TS | sed -e 's/ //g' -e 's/M2TS/.m2ts/g' | awk '{printf("(\"%s\") ++ \\\n",$1)};' | sed -e "s/^/$SCRIPTFUNC/g" -e '$ s/ ++ \\//' | todos > "$1".avs

This is assuming that .mpls files are simple playlists and don't do weird chapter jumping stuff, and that all of the .m2ts files the .mpls refers to actually work. At any rate, it does show which files the .mpls refers to, so it still has some value, I guess.



Although the easiest way to deal with it is just by running the playlist through mkvmerge and working with the single file it gives you.
qyot27 is offline   Reply With Quote
Old 24th February 2015, 06:52   #5  |  Link
Batman007
Registered User
 
Join Date: Jan 2015
Posts: 44
I have a movie whose length is 01:42 .. But the largest M2TS is still shorter than 01:42 .. That's why I chose to encode with mpls ... But I'm not getting how to encode that .mpls ...
Batman007 is offline   Reply With Quote
Old 24th February 2015, 11:07   #6  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 5,648
qyot27's script seems to be Linux based, you might be able to run it under eg Cygwin: http://en.wikipedia.org/wiki/Cygwin

https://www.cygwin.com/
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 24th February 2015, 14:07   #7  |  Link
Batman007
Registered User
 
Join Date: Jan 2015
Posts: 44
Please help ...
Batman007 is offline   Reply With Quote
Old 24th February 2015, 14:25   #8  |  Link
Groucho2004
 
Join Date: Mar 2006
Posts: 3,715
Quote:
Originally Posted by Batman007 View Post
Please help ...
I think your best option is to load the playlist in tsmuxer gui, and then create a m2ts that combines all segments (-> m2ts muxing). The resulting m2ts can be loaded in Avisynth with FFMS2 or similar.
Groucho2004 is offline   Reply With Quote
Old 24th February 2015, 14:33   #9  |  Link
Batman007
Registered User
 
Join Date: Jan 2015
Posts: 44
Quote:
Originally Posted by Groucho2004 View Post
I think your best option is to load the playlist in tsmuxer gui, and then create a m2ts that combines all segments (-> m2ts muxing). The resulting m2ts can be loaded in Avisynth with FFMS2 or similar.
Is this tutorial fine for me ? http://www.dvd-guides.com/guides/blu...blu-ray-to-mkv
Batman007 is offline   Reply With Quote
Old 24th February 2015, 14:42   #10  |  Link
Groucho2004
 
Join Date: Mar 2006
Posts: 3,715
Quote:
Originally Posted by Batman007 View Post
You don't need to go through all that just to load your BD into Avisynth. Maybe you should tell us first what you want to do with your BD.

Edit: If you are not sure which playlist you should pick, the guide you linked to is probably fine.

Last edited by Groucho2004; 24th February 2015 at 14:45.
Groucho2004 is offline   Reply With Quote
Old 24th February 2015, 14:58   #11  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
That tutorial is fine for nobody. TSMuxer and then MMG? MMG will rip the playlist all by itself, and if you use MakeMKV you can even skip AnyDVD HD. It's WAY out of date.
ndjamena is offline   Reply With Quote
Old 24th February 2015, 14:59   #12  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,084
Quote:
Originally Posted by Asmodian View Post
I don't think it is possible. I do not know of any filter than can open a bluray playlist in AVISynth. You will need to use the .m2ts files directly.
DGDecNV can index .mpls files directly. Makes it very easy, especially with some Blu-ray's that are split into a large amount of smaller segments.
Reel.Deel is offline   Reply With Quote
Old 24th February 2015, 20:02   #13  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 3,102
Quote:
Originally Posted by Reel.Deel View Post
DGDecNV can index .mpls files directly. Makes it very easy, especially with some Blu-ray's that are split into a large amount of smaller segments.
Wow, I had no idea. That makes DGDecNV a lot better. Thanks!
Asmodian 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:14.


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