Page 3 of 3 FirstFirst 123
Results 41 to 51 of 51

Linux script for mencoder.

This is a discussion on Linux script for mencoder. within the Video and Imaging forums, part of the miniPlayer M6 / SL category; First, just updated my post with version .2, added aspect ratio autodetection (it _should_ work roughly) @mfb I agree OggdropXP ...

  1. #41
    Passing By
    Join Date
    Oct 2007
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    First, just updated my post with version .2, added aspect ratio autodetection (it _should_ work roughly)

    @mfb

    I agree OggdropXP has a nice user interface. About the drag&drop thing, I've just placed my script in ~/.gnome2/nautilus-scripts/ and I can just select the files from nautilus... maybe I could add a little wrapper to show a zenity progress bar with some captions. I don't know about KDE, but I guess there'd be a similar way to do it.

    Now, a GUI for profiles is a different animal... a much more complex one, which I don't know if it deserves the time. I don't use different profiles, and I really don't know if people usually do.

    If we wanted to do a full-fledged multi-platform GUI, I guess we could still rely on mencoder, and write it in python or something alike. I'm just not sure if it's worth the time and effort!

    Anyways, it's an interesting discussion.

    pd: why are we doing Meizu's job? :P

    Cheers!

  2. #42
    mfb
    mfb nincs online
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by wishmechaos View Post
    @mfb

    I agree OggdropXP has a nice user interface. About the drag&drop thing, I've just placed my script in ~/.gnome2/nautilus-scripts/ and I can just select the files from nautilus... maybe I could add a little wrapper to show a zenity progress bar with some captions. I don't know about KDE, but I guess there'd be a similar way to do it.
    Yes, using: ~/.kde/share/apps/konqueror/servicemenus/enteranamehere.desktop

    Now, a GUI for profiles is a different animal... a much more complex one, which I don't know if it deserves the time. I don't use different profiles, and I really don't know if people usually do.

    If we wanted to do a full-fledged multi-platform GUI, I guess we could still rely on mencoder, and write it in python or something alike. I'm just not sure if it's worth the time and effort!
    Python is nice. :D There is only one small problem with it on win32: Windows users like static things which basically means a simple application can become around 15MB in Python.

    Anyways, it's an interesting discussion.

    pd: why are we doing Meizu's job? :P
    Because Meizu refuses to do so. I've been working at adapting the Xvid-profiles in the mencoder source to make a 100% compatible M6-profile (No stuttering or failing, higher possible bitrate). It's something that meizu could have done, as they know how their decoder, and could have embedded in a proper encoder. Instead, I'm trying to guess the parameters and trying over and over which takes time of which I don't have a lot to spare currently.

  3. #43
    Freshman
    Join Date
    Jul 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've started to learn kommander scripting just for the gui... And there is a very nice one that can be adapted, 3gpwiz. If you search for it in google you'll find it in kde-apps. I am thinking on doing some work on a meizu version soon, using only mencoder (3gpwiz uses mencoder for the first pass and ffmpeg for the second and third ones).

  4. #44
    Valued Member
    Join Date
    May 2007
    Posts
    3,199
    Thanks
    17
    Thanked 32 Times in 29 Posts
    mencoder includes ffmpeg libraries btw.

  5. #45
    Freshman
    Join Date
    Jul 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by BobbyQ View Post
    mencoder includes ffmpeg libraries btw.
    Yes, I know. 3gpwiz uses ffmpeg directly because it needs a specific version of ffmpeg with amr support enabled.

  6. #46
    Passing By
    Join Date
    Oct 2007
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mfb View Post
    Python is nice. :D There is only one small problem with it on win32: Windows users like static things which basically means a simple application can become around 15MB in Python.
    Mh, that's true, but it's pretty much the price for platform-independence, unless it's written in a compilable language. Which is out of my league (unless you count visual basic!). Most multiplatform software is in Java, with JRE's huge overhead, and people seem to like stuff like Azureus.

  7. #47
    Passing By
    Join Date
    Jun 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What about VB or C#?

    C# is quite easy, it runs under mono in linux.

  8. #48
    mfb
    mfb nincs online
    Member
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by deviance View Post
    C# is quite easy, it runs under mono in linux.
    How about C++ with Qt4? :P It runs under Windows, Linux and Mac using native look and feel.

    Mono basically is shit, it's kind of like WINE. No native look and feel whatsoever.

  9. #49
    Passing By
    Join Date
    Oct 2007
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, Evolution is Mono, and the look and feel is OK. Anyways, I don't like it much... C++ with QT4 would be better (smplayer does this and it's great), though QT stuff looks out of place under Gnome.

    And I'd have to learn C++

  10. #50
    Stalker
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Guys, I've got a problem with that...
    I've pasted that, what Shooky wrote in #7 post at 1st page.
    when I put:
    Code:
    filippo@filippo-desktop:~$ meizu-convert home/filippo/deathnote13.rmvb /media/DataStorage/meizuvid/
    It says:
    Code:
    /usr/bin/mencoder: /home/filippo/mono-1.2.6/lib/libpng12.so.0: no version information available (required by /usr/bin/mencoder)
    MEncoder 2:1.0~rc1-0ubuntu13.1 (C) 2000-2006 MPlayer Team
    CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    File not found: '~home/filippo/deathnote13.rmvb'
    Failed to open ~home/filippo/deathnote13.rmvb.
    Cannot open file/device.
    
    Exiting...
    I know I'm doing something wrong, but i don't know what it is

    Best regards.
    Last edited by -Kira-; 02-05-2008 at 02:03 PM.

  11. #51
    Stalker
    Join Date
    Jan 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the path does not exist.

    after first look i think you just forgot the / in front of home.

    try /home/filippo/deathnote13.rmvb instead of home/filippo/...

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Mencoder Video Converter Info
    By FirePower in forum Video and Imaging
    Replies: 46
    Last Post: 01-06-2009, 01:06 PM
  2. Bash script for conversion under Linux
    By parena in forum Video and Imaging
    Replies: 9
    Last Post: 11-06-2008, 07:42 PM
  3. My Theme Linux Redhat
    By leoriohunter in forum Modifications and Skins
    Replies: 2
    Last Post: 02-04-2007, 12:26 PM
  4. Avidemux / Linux
    By scaglifr in forum Video and Imaging
    Replies: 1
    Last Post: 02-01-2007, 01:30 PM
  5. Ubuntu Linux Theme
    By Austin in forum Modifications and Skins
    Replies: 2
    Last Post: 12-31-2006, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •