Gstreamer-ti

Discussion in 'NEON / DSP' started by klaxonn, Jan 31, 2012.

  1. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88

    Attached Files:

    Last edited by a moderator: Feb 22, 2012
  2. EvilDragon

    EvilDragon Administrator Staff Member

    Joined:
    Mar 4, 2003
    Messages:
    19,651
    Location:
    Ingolstadt
    Everything included and installing now.


    However, it can't play any files.



    Code:
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ** Message: Error: failed to create decode thread
    
    gsttividdec2.c(1137): gst_tividdec2_init_video (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTIViddec2:tividdec20
    



    Looks like it tries to use the correct TI plugins, but the device for the memory is missing.

    Booted to kernel with DSP Mem reserved (SuperZaxxon B1.1).



    Which program or module creates /dev/cmem?



    EDIT: Okay, found issue with cmem...



    Code:
    cmemk: module has no symbols (stripped?)
    
    

    Happens on startup.


    Inserting it manually says "Invalid module format", so there's still something wrong in the OS.
     
    Last edited by a moderator: Feb 22, 2012
  3. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    For now, you could try with my modules, i've manually compiled them.
     
  4. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    Yeah my recipe porting effort failed, I missed OE do-not-strip magic variable change.


    The old OE tree is such pain to work with..
     
    Last edited by a moderator: Feb 22, 2012
  5. EvilDragon

    EvilDragon Administrator Staff Member

    Joined:
    Mar 4, 2003
    Messages:
    19,651
    Location:
    Ingolstadt
    Okay, tried with fixed firmware, slowly getting there.


    First, I'm getting "Failed to open /dev/cmem: 'Permission denied'" unless I run gst-launch-0.10 or Totem using sudo.


    So something is wrong with the permissions.


    However, regardless what file I throw at totem or gst-launch, I always get the "Assertion 'hBufTab' failed" - error. :(
     
  6. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Can you try with CE_DEBUG=2 sudo gst-launch-0.10 -vvv playbin2 uri=file:///your_file, to have more information ?


    It's maybe a problem with the pools size.


    Also cat proc/cmem
     
    Last edited by a moderator: Feb 23, 2012
  7. skeezix

    skeezix Internal Development

    Joined:
    Mar 11, 2003
    Messages:
    8,060
    Anyone still banging on this?
     
  8. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    I am waiting my pandora to rework on that.


    If anyone want to try, be sure to use the Hotfix 7 Beta 2, and the 2.6.27 kernel whith dsp enabled.
     
  9. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,200
    Location:
    Innsmouth, MA
    Hi :)

    pandora:~$ CE_DEBUG=2 sudo gst-launch-0.10 -vvv playbin2 uri=file:///media/Pandora/big_buck_bunny_480p_surround-fix.avi


    Password:


    Setting pipeline to PAUSED ...


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:///media/Pandora/big_buck_bunny_480p_surround-fix.avi"


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstFileSrc) source


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = video/x-msvideo


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:sink: caps = video/x-msvideo


    Pipeline is PREROLLING ...


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: always-ok = FALSE


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector1.GstPlaybin2SelectorPad:sink0: always-ok = FALSE


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)24/1, width=(int)854, height=(int)480


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink1: caps = audio/x-ac3, rate=(int)48000, channels=(int)6


    Home directory /home/samuel not ours.


    Home directory /home/samuel not ours.


    /GstPlayBin2:playbin20/GstPlaySink:playsink0: volume = 1.000000


    /GstPlayBin2:playbin20/GstPlaySink:playsink0: mute = FALSE


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0: active-pad = (GstPlaybin2SelectorPad) sink0


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector0.GstPlaybin2SelectorPad:sink0: tags = ((GstTagList*) 0x2540b0)


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)24/1, width=(int)854, height=(int)480


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTIViddec2:tividdec20.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)24/1, width=(int)854, height=(int)480


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector1: active-pad = (GstPlaybin2SelectorPad) sink0


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector1.GstPlaybin2SelectorPad:sink0: tags = ((GstTagList*) 0x27c5c0)


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src1: caps = audio/x-ac3, rate=(int)48000, channels=(int)6


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_ac3:ffdec_ac30.GstPad:sink: caps = audio/x-ac3, rate=(int)48000, channels=(int)6


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src1: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src1: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_ac3:ffdec_ac30.GstPad:src: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector1.GstPlaybin2SelectorPad:sink0: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src1.GstProxyPad:proxypad7: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src1.GstProxyPad:proxypad5: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector1.GstPad:src: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:sink: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:src0: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:sink: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:audio_raw_sink: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:audio_raw_sink.GstProxyPad:proxypad8: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioConvert:aconv.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE >


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioConvert:aconv.GstPad:sink: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin.GstGhostPad:sink: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin.GstGhostPad:sink.GstProxyPad:proxypad13: caps = audio/x-raw-int, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT >, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioResample:aresample.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE >


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioResample:aresample.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE >


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstVolume:volume.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE >


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstVolume:volume.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)48000, channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE >


    ERROR: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa: Could not get/set settings from/on resource.


    Additional debug info:


    gstalsasink.c(520): set_hwparams (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa:


    Unable to set hw params for playback: Invalid argument


    ERROR: pipeline doesn't want to preroll.


    Setting pipeline to NULL ...


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstVolume:volume.GstPad:src: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstVolume:volume.GstPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioResample:aresample.GstPad:src: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioResample:aresample.GstPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioConvert:aconv.GstPad:src: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAudioConvert:aconv.GstPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin.GstGhostPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:src0: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:audio_raw_sink: caps = NULL


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector1.GstPlaybin2SelectorPad:sink0: caps = NULL


    /GstPlayBin2:playbin20/GstPlaybin2InputSelector:playbin2inputselector1.GstPad:src: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src1: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src1: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_ac3:ffdec_ac30.GstPad:src: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_ac3:ffdec_ac30.GstPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30000/1001, width=(int)854, height=(int)480


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30000/1001, width=(int)854, height=(int)480


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTIViddec2:tividdec20.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30000/1001, width=(int)854, height=(int)480


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTIViddec2:tividdec20.GstPad:src: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTIViddec2:tividdec20.GstPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink1: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src1: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:audio_00: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:video_00: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:sink: caps = NULL


    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL


    Freeing pipeline ...


    pandora:~$

    pandora:~$ cat /proc/cmem


    Block 0: Pool 0: 1 bufs size 5251072 (5250000 requested)


    Pool 0 busy bufs:


    Pool 0 free bufs:


    id 0: phys addr 0x86dfe000


    Block 0: Pool 1: 7 bufs size 831488 (829440 requested)


    Pool 1 busy bufs:


    Pool 1 free bufs:


    id 0: phys addr 0x86d33000


    id 1: phys addr 0x86c68000


    id 2: phys addr 0x86b9d000


    id 3: phys addr 0x86ad2000


    id 4: phys addr 0x86a07000


    id 5: phys addr 0x8693c000


    id 6: phys addr 0x86871000


    Block 0: Pool 2: 1 bufs size 348160 (345600 requested)


    Pool 2 busy bufs:


    Pool 2 free bufs:


    id 0: phys addr 0x8681c000


    Block 0: Pool 3: 1 bufs size 692224 (691200 requested)


    Pool 3 busy bufs:


    Pool 3 free bufs:


    id 0: phys addr 0x86773000


    Block 0: Pool 4: 1 bufs size 4096 (1 requested)


    Pool 4 busy bufs:


    Pool 4 free bufs:


    id 0: phys addr 0x86772000


    pandora:~$


    EDIT: I'm running SuperZaxxon 1.5 beta 2 in DSP mode, with the codec pack installed and your latest ti-gstreamer.pnd.


    Bye, Magic Sam
     
    Last edited by a moderator: Mar 25, 2012
  10. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    write


    pcm.!default { type hw card 0}


    ctl.!default { type hw card 0}


    in your .asoundrc located in your home directory and retry.
     
  11. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,200
    Location:
    Innsmouth, MA
    @ klaxon,


    Good news: IT WORKS !!! :)


    Bad news: sound is okay but video is VERY slow... :(


    Bye, Magic Sam
     
  12. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88

    Attached Files:

    Last edited by a moderator: Mar 25, 2012
  13. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,200
    Location:
    Innsmouth, MA
    @ klaxon: same stuff, audio plays fine but video is slow :(
     
  14. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Maybe you could try different files with different audio/video formats and different resolutions.
     
  15. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,200
    Location:
    Innsmouth, MA
    Good news... Buster Keaton's "Cops" (400x300 *.ogv file, Theora 25 fps 512kbps + Vorbis 44100Hz 128kbps) works fine.


    The same movie in MP4 (320x240 H.264 / AVC 25fps 511kbps + AAC 48000Hz 49kbps) also works...


    The only issue is that playing both movies with gstreamer uses about 50% of the CPU power (according to "top"), while playing the same movies with smplayer (without DSP support) uses about 20% of CPU power...
     
  16. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Can you try that :


    sudo gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc location=file:///media/Pandora/big_buck_bunny_480p_surround-fix.avi ! typefind ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! typefind ! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! dmaiperf engine-name=codecServer print-arm-load=TRUE ! TIDmaiVideoSink displayStd=v4l2 displayDevice=/dev/video1 videoStd=D1_NTSC videoOutput=LCD resizer=FALSE rotation=90 accelFrameCopy=FALSE


    If it doesn't work, replace TIAuddec1 by ffdec_ac3.
     
  17. gunrock

    gunrock Member

    Joined:
    Jan 20, 2011
    Messages:
    498
    Hi Sam, what happened with this? Did Klaxon get bored?
     

Share This Page

Loading...