Gstreamer-ti

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

  1. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
    \o/


    Sample AVI is playing!
     
  2. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
    buuuuut... it's slow, so I'm guessing it's now using community codec pack plugins :S Right I'll install your ipks again!
     
  3. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    OK. Don't forget to reboot.


    And you can redo tests with playbin2 too.
     
    Last edited by a moderator: Feb 4, 2012
  4. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Also instead of :


    gst-launch -v filesrc location=sample.avi ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! mad ! alsasink demux.video_00 ! queue ! TIViddec2 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! TIDmaiVideoSink videoStd=VGA videoOutput=LCD


    use :


    gst-launch -v filesrc location=sample.avi ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! TIAuddec1 ! alsasink demux.video_00 ! queue ! TIViddec2 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! TIDmaiVideoSink videoStd=VGA videoOutput=LCD


    to use the mp3 codec from TI.
     
  5. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
    no element "TIAuddec1"
     
  6. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    do "gst-inspect-0.10 | grep TI".
     
  7. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
    Not what we want to see:

     
  8. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Isn't libgstticodecplugin.so in /usr/lib/gstreamer-0.10/ with all the other plugins ?


    I am clueless :/


    Maybe it's blacklisted : gst-inspect-0.10 -b ?
     
    Last edited by a moderator: Feb 4, 2012
  9. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
    aha! Yes it's blacklisted!


    libgstdfbvideosink.so


    libgstrtp.so


    libgstticodecplugin.so


    all blacklisted!
     
  10. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Maybe you can try :


    rm ~/.gstreamer-0.10/registry*


    gst-inspect-0.10 /usr/lib/gstreamer-0.10/libgstticodecplugin.so
     
  11. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
     
  12. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Could you do gst-launch-0.10 --version ?
     
  13. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
     
  14. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    We succeeded to play a MP3 for 15 seconds :p
     
  15. gunrock

    gunrock Member

    Joined:
    Jan 20, 2011
    Messages:
    499
    Cool. And it was *definitely* using the dsp?
     
  16. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    Yes, it was using the DSP.


    Now we have to try with a patched kernel as a hole in memory map doesn't work well with the current one.
     
    Last edited by a moderator: Feb 8, 2012
  17. EvilDragon

    EvilDragon Administrator Staff Member

    Joined:
    Mar 4, 2003
    Messages:
    19,687
    Location:
    Ingolstadt
    BTW: I talked with TI today.


    We are free to include these codecs in the community codec pack :)
     
  18. klaxonn

    klaxonn Still Fresh

    Joined:
    Feb 25, 2011
    Messages:
    88
    I thought so,but it's good to have the confirmation. :)
     
  19. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,512
    Location:
    UK
    Yeah we also had a video playing for less than a second. Hopefully we'll do better tomorrow with a patched kernel! :D
     
  20. EvilDragon

    EvilDragon Administrator Staff Member

    Joined:
    Mar 4, 2003
    Messages:
    19,687
    Location:
    Ingolstadt
    Don't forget to let notaz know what you did if it works :)
     

Share This Page

Loading...