MediaSlayer - CD and DVD HD ripping tool (1 Viewer)

Mencoder - working or not

  • Yep, all is fine

    Votes: 29 30.9%
  • No and I'm frustrated

    Votes: 65 69.1%

  • Total voters
    94
  • Poll closed .

mgraovac

Portal Member
October 27, 2007
7
0
Home Country
Croatia Croatia
No filename passed to Mencoder

Hi!

I'm trying to use this pligin for some time now and no luck. Until this last version (1.1e_t3) I had a config problem. Now that problem is gone but there's nother issue.

When I start to rip DVD everything looks nice until 100% of 1/2 pass. Than the message pops out "Error!

I've been trough logs (you can find them attched) and this seems to be a problem:

2009-05-21 23:52:07.483918 [Debug][18]: MediaSlayer (Mpeg4-args): dvd://02 -dvd-device G:\ -sws 2 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:v4mv:mbd=2:trell:cmp=3:subcmp=3:vbitrate=1200:threads=2:turbo=1:vpass=1 -aid 128 ,hqdn3d=2:1:2,scale -zoom -xy 720 -passlogfile C:\Documents and Settings\Miljac\Local Settings\Temp\xvid2pass.log -o NUL


So there's no filename passed to mencoder command. I've tried with the offered filename and with changing it but no luck.

Could you help with this?

Thanks

Miljenko
 

-Manfred-

Retired Team Member
  • Premium Supporter
  • May 15, 2007
    728
    343
    Home Country
    Finland Finland
    Mencoder test version

    Thanks for logs. Helped a lot to understand why this is not working for all DVDs. See explanation below.

    What can I say - mplayer is buggy when it comes to detecting titles' length and main movie itself. Here is now different approach for that. Copy vstrip.dll to MP root and try this version of MediaSlayer. You can check from MediaPortal.log (debug mode) what titles there are and what is selected. If still not working I will delete this thread completely... just kidding, but I am soon getting also a bit angry if you can't trust others sw a one bit.

    Example of detecting main title:

    2009-05-22 13:31:17.344600 [Debug][19]: Title: 01 720x576 PAL 00:00:08
    2009-05-22 13:31:17.349600 [Debug][19]: Title: 02 720x576 PAL 00:00:19
    2009-05-22 13:31:17.353600 [Debug][19]: Title: 03 720x576 PAL 01:30:18
    2009-05-22 13:31:17.359600 [Debug][19]: Title: 04 720x576 PAL 00:01:30
    2009-05-22 13:31:17.595600 [Debug][17]: MediaSlayer (Mpeg4-analyze DVD): MPlayer Sherpya-SVN-r29280-4.5.0 (C) 2000-2009 MPlayer Team
    2009-05-22 13:31:17.607600 [Debug][17]: MediaSlayer (Mpeg4-analyze DVD): getch2: 6 can't get number of input events [disabling console input]
    2009-05-22 13:31:17.608600 [Debug][17]: MediaSlayer (Mpeg4-analyze DVD):
    2009-05-22 13:31:17.608600 [Debug][17]: MediaSlayer (Mpeg4-analyze DVD): Playing dvd://03.

    Please use poll so I can know if it works now (poll cleared).
     

    mgraovac

    Portal Member
    October 27, 2007
    7
    0
    Home Country
    Croatia Croatia
    Hi again!

    Same thing all over again! I did exactly as you told me and still no luck...

    Logs attached!

    Thx

    M.
     

    -Manfred-

    Retired Team Member
  • Premium Supporter
  • May 15, 2007
    728
    343
    Home Country
    Finland Finland
    Yep, noticed that also when inside ifo there is more than one title. There is still one major but. If trying to encode series DVD it will just do one title (the longest one) and not all. Consider then iso format so you can have menu where to select episode.

    Hope that this will work.
     

    Nato

    Portal Pro
    April 18, 2006
    156
    4
    Christchurch
    Home Country
    New Zealand New Zealand
    Is there a way to rip using the "internal" method (to iso) and saving the iso into a folder with the movie name? (so it gets imported correctly with moving pictures)
     

    mgraovac

    Portal Member
    October 27, 2007
    7
    0
    Home Country
    Croatia Croatia
    So, the plugin works in wy to detect the longest title and encodes only that title? This is fine but in my last log you can see that I've tried to rip Swordfish (a movie, not series) and the longest title this plugin detected is some 15 mins. I'm pretty sure that Swordfish lasts longer :)

    Why not make an option in config to rip the whole dvd regardless of titles (menoder dvd://)? Then one could choose weather to rip everything or just the longest title.

    Furthermore, are these the arguments that are passed to mencoder:

    dvd://03 -dvd-device G:\ -sws 2 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:v4mv:mbd=2:trell:cmp=3:subcmp=3:vbitrate=1200:threads=2:turbo=1:vpass=1 -aid 128 -vf hqdn3d=2:1:2,scale -zoom -xy 720 -passlogfile C:\Documents and Settings\Miljac\Local Settings\Temp\xvid2pass.log -o NUL

    If so, I think there's a problem with those because it sends NUL for a filename (switch -o).

    Any comment or you are killing the thread? :)))

    Thx
     

    -Manfred-

    Retired Team Member
  • Premium Supporter
  • May 15, 2007
    728
    343
    Home Country
    Finland Finland
    Like I said, detection had a bug if inside one ifo file there is more than one title. It is now corrected. New version is out - see first post.

    mencoder dvd:// without title number doesn't mean all titles, just the longest one (which didn't work well) or first title which is not always the right one. Now I have all the building blocks in place to make user selectable title if needed. It just works now for all DVDs I tried so didn't do it.

    dvd://03 -dvd-device G:\ -sws 2 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:v4mv:mbd=2:trell:cmp=3:subcmp=3:vbitr ate=1200:threads=2:turbo=1:vpass=1 -aid 128 -vf hqdn3d=2:1:2,scale -zoom -xy 720 -passlogfile C:\Documents and Settings\Miljac\Local Settings\Temp\xvid2pass.log -o NUL

    First pass is just for info collection to make a better quality so no need to stress your harddrive. Second pass will have output set correctly.
     

    mgraovac

    Portal Member
    October 27, 2007
    7
    0
    Home Country
    Croatia Croatia
    Hi!

    I'm happy to say that I've made some progress but, unfortunately, there are still some problems.

    First things first... I've managed to get pass by "Mencoder Pass #1 error" but only after I've changed TMP Enivronment variable to C:\TEMP. Before that it was C:\Documents and Settings\Miljac\Local Files\Temp.

    I've tried mencoder in command line with all arguments from log file and it started to do something and then returned an error: File not found 'and'. I would say that spaces in path are creating a probleme here. As said, changing the TMP variable corrected the problem but you can't expect people to to that, can you :)

    Now to a more complex stuff... There is still a problem in detecting a correct title. In my attachd log you willfind that I've tried with 4 different DVDs:
    - The Departed (search for THE_DEPARTED.avi)
    - Swordfish (Search fro SWORDFISH.avi)
    - Open Range (Search for OPEN_RANGE.avi)
    - Bug's Life (search for ABUGSLIFELIC26LB1_DES.avi)

    Title detection was correct only for The Departed.

    In case of Swordfish correct title is Title1. All other titles are badly identifyed. This extaction from the log file with addition of correct titles:
    2009-05-24 22:46:04.765625 [Debug][18]: Titles in VTS_01_0.IFO: 10
    2009-05-24 22:46:04.765625 [Debug][18]: Title: 01 720x576 PAL 00:04:12 --> Title 10
    2009-05-24 22:46:04.765625 [Debug][18]: Title: 02 720x576 PAL 00:01:03 --> Title 11
    2009-05-24 22:46:04.765625 [Debug][18]: Title: 03 720x576 PAL 00:02:15 --> Title 12
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 04 720x576 PAL 00:02:11 --> Title 13
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 05 720x576 PAL 00:00:51 --> Title 14
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 06 720x576 PAL 00:02:10 --> Title 15
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 07 720x576 PAL 00:01:31 --> Title 16
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 08 720x576 PAL 00:01:23 --> Title 17
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 09 720x576 PAL 00:01:27 --> Title 18
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 10 720x576 PAL 00:00:01 --> Title 19
    2009-05-24 22:46:04.781250 [Debug][18]: Titles in VTS_02_0.IFO: 6
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 11 720x576 PAL 01:35:13 --> Title 1
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 12 720x576 PAL 00:00:12 --> Title 2
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 13 720x576 PAL 00:00:12 --> Title 3
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 14 720x576 PAL 00:00:12 --> Title 4
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 15 720x576 PAL 00:02:08 --> Title 5
    2009-05-24 22:46:04.781250 [Debug][18]: Title: 16 720x576 PAL 00:23:33 --> Title 6
    2009-05-24 22:46:04.796875 [Debug][18]: Titles in VTS_03_0.IFO: 3
    2009-05-24 22:46:04.796875 [Debug][18]: Title: 17 720x576 PAL 00:08:17 --> Title 7
    2009-05-24 22:46:04.796875 [Debug][18]: Title: 18 720x576 PAL 00:15:03 --> Title 8
    2009-05-24 22:46:04.796875 [Debug][18]: Title: 19 720x576 PAL 00:05:59 --> Title 9

    In case of Open Range, correct title should be Title 5. This is how this part of the log looks like with additions of proper titles:
    2009-05-24 22:50:40.234375 [Debug][3]: Titles in VTS_01_0.IFO: 3
    2009-05-24 22:50:40.234375 [Debug][3]: Title: 01 720x576 PAL 00:00:18 --> Title 1
    2009-05-24 22:50:40.234375 [Debug][3]: Title: 02 720x576 PAL 00:00:14 --> Title 2
    2009-05-24 22:50:40.234375 [Debug][3]: Title: 03 720x576 PAL 00:00:24 --> Title 3
    2009-05-24 22:50:40.234375 [Debug][3]: Titles in VTS_02_0.IFO: 2
    2009-05-24 22:50:40.234375 [Debug][3]: Title: 04 720x576 PAL 00:04:15 --> Title 4
    2009-05-24 22:50:40.234375 [Debug][3]: Title: 05 720x576 PAL 00:00:00 --> Title 4 continued
    2009-05-24 22:50:40.250000 [Debug][3]: Titles in VTS_03_0.IFO: 1
    2009-05-24 22:50:40.250000 [Debug][3]: Title: 06 720x576 PAL 02:13:11 --> Title 5
    2009-05-24 22:50:40.250000 [Debug][3]: Titles in VTS_04_0.IFO: 2
    2009-05-24 22:50:40.250000 [Debug][3]: Title: 07 720x576 PAL 00:12:45 --> Title 6
    2009-05-24 22:50:40.250000 [Debug][3]: Title: 08 720x576 PAL 00:24:33 --> Title 7

    In case of Bug's life correct title is Title9. I don't have all other titles mapped for this movie... All these mappings I've checked with DVD shrink.

    Is it possible that there is a problem with detection if main title is not in VTS_01 file?

    Sorry for such long post but I hope that it will help you to nail it down this time! ;-)

    Good luck!
     

    Attachments

    • MediaPortal.rar
      30.6 KB

    damuro72

    Portal Member
    July 17, 2007
    6
    0
    Home Country
    Spain Spain
    I know that they should be in SF and maybe someday after clean up they will. Until then if you are willing to play with messy code I can send it.

    Please, please! Send me the code damuro72 at gmail dot com.

    I sent you emails and PM's but no luck :(

    :D:D
     

    rhartinger

    Portal Pro
    May 28, 2008
    694
    11
    Hi,

    how can I shrink a Movie. I want to use internal. The ripping works but the movie is too big
    can I search OFDB for Movieinfos?
     

    Users who are viewing this thread

    Top Bottom