Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Apple ProRes Codec Support in Ubuntu?

  1. #11
    Join Date
    Jun 2010
    Beans
    47
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Apple ProRes Codec Support in Ubuntu?

    Aha! yes, it does shed some light --

    Code:
    MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
    CPU vendor name: GenuineIntel  max cpuid level: 13
    CPU: Genuine Intel(R) CPU           U2300  @ 1.20GHz (Family: 6, Model: 23, Stepping: 10)
    extended cpuid-level: 8
    extended cache-info: 67125312
    Detected cache-line size is 64 bytes
    Testing OS support for SSE... yes.
    Tests of OS support for SSE passed.
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/cjs/.mplayer/codecs.conf'
    Reading /home/cjs/.mplayer/codecs.conf: Can't open '/home/cjs/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
    Using built-in default codecs.conf.
    Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu --disable-arts --enable-largefiles --language=all --disable-libdvdcss-internal --disable-dvdread-internal --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a --target=i586-linux --enable-runtime-cpudetection --enable-debug --enable-mga --enable-3dfx --enable-tdfxfb --disable-gui
    CommandLine: '-v' 'file:///media/Iomega/grizzly%20movs/Grizzlies1-3.mov'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/cjs/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/cjs/.mplayer/input.conf'
    Can't open input config file /home/cjs/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 91 binds
    Setting up LIRC support...
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    get_path('Grizzlies1-3.mov.conf') -> '/home/cjs/.mplayer/Grizzlies1-3.mov.conf'
    
    Playing file:///media/Iomega/grizzly%20movs/Grizzlies1-3.mov.
    get_path('sub/') -> '/home/cjs/.mplayer/sub/'
    File not found: '/media/Iomega/grizzly%20movs/Grizzlies1-3.mov'
    Failed to open file:///media/Iomega/grizzly%20movs/Grizzlies1-3.mov.
    
    vo: x11 uninit called but X11 not initialized..
    
    Exiting... (End of file)
    I don't have a codecs.conf file in my /home/cjs/.mplayer/ folder. All I have in there is a "config" file that has the following:

    "# Write your default config options here!


    [gnome-mplayer]
    vo=xv
    msglevel=all=5
    vf=eq2"

    so... yes...
    can't. quite. grasp. almost. trying. so. close...

  2. #12
    Join Date
    Dec 2006
    Beans
    7,221

    Re: Apple ProRes Codec Support in Ubuntu?

    This is the immediate problem:

    Code:
    File not found: '/media/Iomega/grizzly%20movs/Grizzlies1-3.mov'
    Failed to open file:///media/Iomega/grizzly%20movs/Grizzlies1-3.mov.
    Perhaps drag the file onto your desktop and open it up from there?

    Andrew
    You think that's air you're breathing now?

  3. #13
    Join Date
    Jun 2007
    Beans
    14,208

    Re: Apple ProRes Codec Support in Ubuntu?

    Another way to eliminate path error as the issue is to just open a terminal and type in your command (in this instance mplayer -v

    After typing the command hit the space bar, then just drag and drop the file to be played onto the terminal window.
    Click anywhere in the terminal to return focus and press enter on keyboard.

    (I use a couple of 'drag & drop' desktop launchers, (set as application in terminal), to run mplayer in slightly different ways

  4. #14
    Join Date
    Jun 2010
    Beans
    47
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Apple ProRes Codec Support in Ubuntu?

    I completely missed that. (Red-faced).

    Here is the output for a valid file location:

    Code:
    MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
    CPU vendor name: GenuineIntel  max cpuid level: 13
    CPU: Genuine Intel(R) CPU           U2300  @ 1.20GHz (Family: 6, Model: 23, Stepping: 10)
    extended cpuid-level: 8
    extended cache-info: 67125312
    Detected cache-line size is 64 bytes
    Testing OS support for SSE... yes.
    Tests of OS support for SSE passed.
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/cjs/.mplayer/codecs.conf'
    Reading /home/cjs/.mplayer/codecs.conf: Can't open '/home/cjs/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
    Using built-in default codecs.conf.
    Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu --disable-arts --enable-largefiles --language=all --disable-libdvdcss-internal --disable-dvdread-internal --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a --target=i586-linux --enable-runtime-cpudetection --enable-debug --enable-mga --enable-3dfx --enable-tdfxfb --disable-gui
    CommandLine: '-v' 'Desktop/Grizzlies2-13.mov'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/cjs/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/cjs/.mplayer/input.conf'
    Can't open input config file /home/cjs/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 91 binds
    Setting up LIRC support...
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    get_path('Grizzlies2-13.mov.conf') -> '/home/cjs/.mplayer/Grizzlies2-13.mov.conf'
    
    Playing Desktop/Grizzlies2-13.mov.
    get_path('sub/') -> '/home/cjs/.mplayer/sub/'
    [file] File size is 118301101 bytes
    STREAM: [file] Desktop/Grizzlies2-13.mov
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
    libavformat file format detected.
    ==> Found video stream: 0
    ======= VIDEO Format ======
      biSize 50
      biWidth 1280
      biHeight 720
      biPlanes 0
      biBitCount 24
      biCompression 1751347297='apch'
      biSizeImage 2764800
    Unknown extra header dump: [0] [0] [0] [a] [66] [69] [65] [6c] [1] [0] 
    ===========================
    [lavf] stream 0: video (unknown), -vid 0
    ==> Found audio stream: 1
    ======= WAVE Format =======
    Format Tag: 30580 (0x7774)
    Channels: 2
    Samplerate: 48000
    avg byte/sec: 0
    Block align: 1
    bits/sample: 16
    cbSize: 0
    ==========================================================================
    [lavf] stream 1: audio (pcm_s16be), -aid 0, -alang eng
    LAVF: 1 audio and 1 video streams found
    LAVF: build 3424258
    VIDEO:  [apch]  1280x720  24bpp  29.970 fps  108820.2 kbps (13283.7 kbyte/s)
    [V] filefmt:44  fourcc:0x68637061  size:1280x720  fps:29.970  ftime:=0.0334
    get_path('sub/') -> '/home/cjs/.mplayer/sub/'
    open: No such file or directory
    [MGA] Couldn't open: /dev/mga_vid
    open: No such file or directory
    [MGA] Couldn't open: /dev/mga_vid
    [VO_TDFXFB] Can't open /dev/fb0: Permission denied.
    [VO_3DFX] Unable to open /dev/3dfx.
    X11 opening display: :0.0
    vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1366x768 with depth 24 and 32 bpp (":0.0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    [vdpau] Error when calling vdp_device_create_x11: 1
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [qtvideo] Quicktime Video decoder
    sh->ImageDesc not set, cannot use binary QuickTime codecs (try -demuxer mov?)
    VDecoder init failed :(
    Cannot find codec matching selected -vo and video format 0x68637061.
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [pcm] Uncompressed PCM audio decoder
    dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
    AUDIO: 48000 Hz, 2 ch, s16be, 0.0 kbit/0.00% (ratio: 0->192000)
    Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
    ==========================================================================
    Building audio filter chain for 48000Hz/2ch/s16be -> 0Hz/0ch/??...
    [libaf] Adding filter dummy 
    [dummy] Was reinitialized: 48000Hz/2ch/s16be
    [dummy] Was reinitialized: 48000Hz/2ch/s16be
    Trying preferred audio driver 'pulse', options '[none]'
    AO: [pulse] 48000Hz 2ch s16be (2 bytes per sample)
    AO: Description: PulseAudio audio output
    AO: Author: Lennart Poettering
    Building audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/2ch/s16be...
    [dummy] Was reinitialized: 48000Hz/2ch/s16be
    [dummy] Was reinitialized: 48000Hz/2ch/s16be
    Video: no video
    Freeing 1 unused video chunks.
    Starting playback...
    Increasing filtered audio buffer size from 0 to 50048
    ds_fill_buffer: EOF reached (stream: audio)  
    ds_fill_buffer: EOF reached (stream: audio)  
    ds_fill_buffer: EOF reached (stream: audio)  
    EOF code: 1  1) of 8.6 (08.6)  2.3% 
    
    Uninit audio filters...
    [libaf] Removing filter dummy 
    Uninit audio: pcm
    vo: uninit ...
    
    Exiting... (End of file)
    Did I just did not properly install it --? Many directories and files not found... So the install from Synaptic package manager is not the same as the compile instructions I saw you had elsewhere?

    [an aside - is it helpful or not to use the "code" tags when copying terminal output here? Doesn't the lack of word wrap for those long lines make it harder to read?]
    Last edited by carbon512; March 26th, 2011 at 08:18 PM. Reason: typo

  5. #15
    Join Date
    Dec 2006
    Beans
    7,221

    Re: Apple ProRes Codec Support in Ubuntu?

    There seems to be a problem here:

    Code:
    Opening video decoder: [qtvideo] Quicktime Video decoder
    sh->ImageDesc not set, cannot use binary QuickTime codecs (try -demuxer mov?)
    VDecoder init failed :(
    Cannot find codec matching selected -vo and video format 0x68637061.
    Perhaps try the suggested syntax, which will make your command:

    Code:
    mplayer -demuxer mov $HOME/Desktop/Grizzlies2-13.mov
    Code tags are preferred as they make reading easier and do not distort the line spacing.

    Andrew
    You think that's air you're breathing now?

  6. #16
    Join Date
    Jun 2010
    Beans
    47
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Apple ProRes Codec Support in Ubuntu?

    Well, here is the output of that command; still no joy. At this point I am not sure what I am reading any more. I thought I was on to something with the missing codecs.conf file but now I am lost. Appreciate the help. (note - I got some "permission denied" so I ran it again with sudo but still no go.

    Code:
    cjs@xxxxxx:~$ mplayer -demuxer mov $HOME/Desktop/Grizzlies2-13.mov
    MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    
    Playing /home/cjs/Desktop/Grizzlies2-13.mov.
    Quicktime/MOV file format detected.
    [mov] Video stream found, -vid 0
    [mov] Audio stream found, -aid 1
    VIDEO:  [apch]  1280x720  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
    open: No such file or directory
    [MGA] Couldn't open: /dev/mga_vid
    open: No such file or directory
    [MGA] Couldn't open: /dev/mga_vid
    [VO_TDFXFB] Can't open /dev/fb0: Permission denied.
    [VO_3DFX] Unable to open /dev/3dfx.
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    [vdpau] Error when calling vdp_device_create_x11: 1
    ==========================================================================
    Opening video decoder: [qtvideo] Quicktime Video decoder
    Win32 LoadLibrary failed to load: QuickTime.qts, /usr/lib/codecs/QuickTime.qts
    unable to load QuickTime.qts
    VDecoder init failed :(
    Cannot find codec matching selected -vo and video format 0x68637061.
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [pcm] Uncompressed PCM audio decoder
    AUDIO: 48000 Hz, 2 ch, s16be, 1536.0 kbit/100.00% (ratio: 192000->192000)
    Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
    ==========================================================================
    AO: [pulse] 48000Hz 2ch s16be (2 bytes per sample)
    Video: no video
    Starting playback...
    A:   8.2 (08.1) of 8.6 (08.5)  0.1% 
    
    Exiting... (End of file)

  7. #17
    Join Date
    Jun 2007
    Beans
    14,208

    Re: Apple ProRes Codec Support in Ubuntu?

    Then I got the codec, put it in /usr/lib/codecs/ and ran your "definitive test" :

    Code:

    xxx@xxxxx:~$ mplayer -vc help | grep -i appleprores

    qtprores qtvideo working Apple ProRes 422 (HQ) decoder [AppleProResDecoder.qtx]
    That doesn't quite qualify as "definitive" in the sense that the codec is installed and working, just means that your installed version of mplayer supports it and is considered 'working'

    this stands out in your log -
    Win32 LoadLibrary failed to load: QuickTime.qts, /usr/lib/codecs/QuickTime.qts
    unable to load QuickTime.qts
    Note it's looking to use QuickTime.qts

    Would be good if there was a common sample of a 'problem' file available

  8. #18
    Join Date
    Dec 2006
    Beans
    7,221

    Re: Apple ProRes Codec Support in Ubuntu?

    Hmmm.... not sure if the QuickTime.qts thing is a red herring..... but it would not hurt to check if both are in place:
    Code:
    sudo find /usr -iname QuickTime.qts
    sudo find /usr -iname AppleProResDecoder.qtx
    But as mc4man has mentioned, can you post the file somewhere?

    Andrew
    Last edited by andrew.46; March 27th, 2011 at 08:27 AM.
    You think that's air you're breathing now?

  9. #19
    Join Date
    Jun 2007
    Beans
    14,208

    Re: Apple ProRes Codec Support in Ubuntu?

    can you post the file somewhere?
    If not possible then if there is an online sample that you can't play. ( not sure how easy to find..

  10. #20
    Join Date
    Jun 2010
    Beans
    47
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Apple ProRes Codec Support in Ubuntu?

    Nope, no QuickTime.qts :

    Code:
    cjs@XXX:~$~$ sudo find /usr -iname AppleProResDecoder.qtx
    /usr/lib/codecs/AppleProResDecoder.qtx
    cjs@XXX:~$:~$ sudo find /usr -iname QuickTime.qts
    cjs@XXXX:~$
    I put up a test file, encoded in AppleProRes 422 (HQ); you can get it at http://www.io.com/~csperber/prores.html

    Sorry for the large file, I don't have a reliable way to edit it and keep the original codec right now. For what it is worth, the sample file at http://samples.mplayerhq.hu/V-codecs/HCPA/ doesn't work either -- that is a smaller file to play with though.
    Last edited by carbon512; March 27th, 2011 at 11:09 PM.

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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