Ubuntu + Moonshell + DPG = ??

Discussion in 'NDS - Emulation and Homebrew' started by Pippin666, Aug 19, 2009.

Aug 19, 2009

Ubuntu + Moonshell + DPG = ?? by Pippin666 at 4:43 PM (1,991 Views / 0 Likes) 9 replies

  1. Pippin666
    OP

    Member Pippin666 SSF43DE Master

    Joined:
    Mar 30, 2009
    Messages:
    1,663
    Location:
    Montreal, Qc
    Country:
    Canada
  2. ChuckMcB

    Member ChuckMcB GBAtemp Fan

    Joined:
    Mar 30, 2007
    Messages:
    373
    Country:
    United Kingdom
    I've not come across any other ways, always have to jump onto my win2k3 machine to do it...if you are 'stuck' in Ubuntu how about running dpgenc.exe in wine?
     
  3. Pippin666
    OP

    Member Pippin666 SSF43DE Master

    Joined:
    Mar 30, 2009
    Messages:
    1,663
    Location:
    Montreal, Qc
    Country:
    Canada
    I did try dpgenc.exe under Wine, but I am always getting an error from ffmpeg.exe and the program closes. [​IMG]

    So let's say, that I have an divx (.avi) in my /home named 123.avi, I would simply have to open a terminal and type

    Code:
    mencoder 123.avi -o out.mpg -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vrc_buf_size=327:vrc_maxrate=512:vbitrate=256:vstrict=-1 -ofps 18 -vf scale=256:192
    If yes, would this directly give me a proper file ready to use in Moonshell ??

    In any case, if I do I get this error :

    Code:
    pip@pip-desktop:~$ mencoder kop4b.avi -o out.mpg -nosound -ovc lavc -lavcopts vcodec=mpeg1video:vrc_buf_size=327:vrc_maxrate=512:vbitrate=256:vstrict=-1 -ofps 18 -vf scale=256:192
    MEncoder 2:1.0~rc2-0ubuntu19+medibuntu1 (C) 2000-2007 MPlayer Team
    CPU: AMD Athlon(tm) XP 3000+ (Family: 6, Model: 10, Stepping: 0)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
    Compiled with runtime CPU detection.
    
    WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
    success: format: 0ÂÂdata: 0x0 - 0x14177000
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO:ÂÂ[XVID]ÂÂ560x336ÂÂ12bppÂÂ25.000 fpsÂÂ3420.9 kbps (417.6 kbyte/s)
    [V] filefmt:3ÂÂfourcc:0x44495658ÂÂsize:560x336ÂÂfps:25.00ÂÂftime:=0.0400
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [scale w=256 h=192]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    VDec: vo config request - 560 x 336 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.67:1 - prescaling to correct movie aspect.
    SwScaler: reducing / aligning filtersize 10 -> 12
    SwScaler: reducing / aligning filtersize 10 -> 12
    SwScaler: reducing / aligning filtersize 8 -> 7
    SwScaler: reducing / aligning filtersize 8 -> 7
    [swscaler @ 0x883e410]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX2
    [swscaler @ 0x883e410]SwScaler: using n-tap MMX scaler for horizontal luminance scaling
    [swscaler @ 0x883e410]SwScaler: using n-tap MMX scaler for horizontal chrominance scaling
    [swscaler @ 0x883e410]SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
    [swscaler @ 0x883e410]SwScaler: 560x336 -> 256x192
    videocodec: libavcodec (256x192 fourcc=3167706d [mpg1])
    [mpeg1video @ 0x88433f0]MPEG1/2 does not support 18/1 fps
    Could not open codec.
    FATAL: Cannot initialize video driver.
    
    Exiting...
    I have installed mencoder using Synaptic btw.

    Pip'
     
  4. Overlord Nadrian

    Banned Overlord Nadrian Banned

    Joined:
    Jul 28, 2008
    Messages:
    6,671
    Location:
    Riviera
    Country:
    Belgium
    You should install a version of Windows. Ubuntu or any other Linux distribution will fail.
     
  5. ChuckMcB

    Member ChuckMcB GBAtemp Fan

    Joined:
    Mar 30, 2007
    Messages:
    373
    Country:
    United Kingdom
  6. Pippin666
    OP

    Member Pippin666 SSF43DE Master

    Joined:
    Mar 30, 2009
    Messages:
    1,663
    Location:
    Montreal, Qc
    Country:
    Canada
    The tuto from the ubuntu forum is easy to set up, but the link to dpgconv-0.43.py is down !! [​IMG]

    Pip'
     
  7. ChuckMcB

    Member ChuckMcB GBAtemp Fan

    Joined:
    Mar 30, 2007
    Messages:
    373
    Country:
    United Kingdom
  8. WalterCool

    Member WalterCool GBAtemp Regular

    Joined:
    Jan 8, 2009
    Messages:
    203
    Location:
    Chlle
    Country:
    Chile
    Please, NO!

    Avoid wintroll comments...

    For ubuntu, you can use that application: http://www.megaupload.com/?d=7WJ3VBA3

    You must use a shell or console for that.

    If you want install it, please do that:

    sudo su
    mv dpgconv /usr/local/bin


    now on shell you can do dpgconv , and you will get a dpg video =P
     
  9. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,325
    Location:
    Georgia
    Country:
    United States
    As far as I know, DPGConv is the best way to convert to DPG in Linux, as WalterCool stated. Give it a shot before trying other methods.
     
  10. ChuckMcB

    Member ChuckMcB GBAtemp Fan

    Joined:
    Mar 30, 2007
    Messages:
    373
    Country:
    United Kingdom
    Yup, WalterCool's app that he links to is the same as dpgconv-0.43.py. Are you saying that you do not need to Follow the other 'setup' steps listed here
     

Share This Page