Gstreamer-ti


Ok flashed and tested the latest packages and I had more success on the tests


Had a test sound working, so I guess that's working fine. I can't seem to get the correct video sink to test the videos. So... I think it's working, maybe.


Also now if I play videos using mplayer, will they using these dsp compatible codecs?
 
Can you explicit the tests you did ?


No, mplayer don't use gstreamer, you'll need a video player using gstreamer like totem.
 
Last edited by a moderator:
You can try : gst-launch-0.10 playbin2 uri=file://absolute_path_of_your_video audiosink=TIAuddec1 videosink=TIViddec2
 
Ok I tried that, results below. I will try a different format soon. Also installed Totem using opkg and it doesn't detect these gstreamer plugins, it just quits out.


And the test I managed to get working was this one:

gst-launch audiotestsrc freq=1000 num-buffers=100 ! alsasink

kevin-openpandora:/media/SYSTEM$ gst-launch-0.10 playbin2 uri=file:///media/SYSTEM/bleach.mkv audiosink=TIAuddec1 videosink=TIViddec2
Setting pipeline to PAUSED ...


Pipeline is PREROLLING ...


WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-matroska'.


Additional debug info:


gsturidecodebin.c(686): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0


ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: Your GStreamer installation is missing a plug-in.


Additional debug info:


gstdecodebin2.c(2944): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:


no suitable plugins found


ERROR: pipeline doesn't want to preroll.


Setting pipeline to NULL ...


Freeing pipeline ...
 
Last edited by a moderator:
kevin-openpandora:/media/SYSTEM$ gst-launch-0.10 playbin2 uri=file:///media/PANDSTORAGE/sample.avi audiosink=TIAuddec1 videosink=TIViddec2Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...


WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-msvideo'.


Additional debug info:


gsturidecodebin.c(686): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0


ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: Your GStreamer installation is missing a plug-in.


Additional debug info:


gstdecodebin2.c(2944): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:


no suitable plugins found


ERROR: pipeline doesn't want to preroll.


Setting pipeline to NULL ...


Freeing pipeline ...
 
Exactly same error, looks like it's just not seeing the codec plugins for some reason.
 
Did you try that with your sample.avi ?


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
 
Last edited by a moderator:
Wall of text from dmesg jsst in case there is something helpful there!

[ 37.128509] CMEMK module: built on Feb 3 2012 at 21:24:58


[ 37.128540] Reference Linux version 2.6.27


[ 37.128570] File /media/oe/pandora-firmware/tmp/angstrom/work/omap3-pandora-angstrom-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r26e/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c


[ 37.128601] CMEMK Debug: Allocated major number: 249


[ 37.128936] CMEM Range Overlaps Kernel Physical - allowing overlap


[ 37.128967] CMEM phys_start (0x86300000) overlaps kernel (0x80000000 -> 0x8e300000)


[ 37.128967] CMEMK Debug: calling request_mem_region(0x86300000, 16777216, "CMEM")


[ 37.130859] CMEMK Debug: ioremap_nocache(0x86300000, 16777216)=0xd1000000


[ 37.131286] CMEMK Debug: Allocating 1 buffers of size 5251072 (requested 5250000)


[ 37.131286] CMEMK Debug: alloc_pool_buffer: Called for size 5251072


[ 37.131317] CMEMK Debug: alloc_pool_buffer: Fits req 5251072 < avail: 16777216


[ 37.131317] CMEMK Debug: alloc_pool_buffer: new available block size is 11526144


[ 37.131317] CMEMK Debug: alloc_pool_buffer: returning allocated buffer at 0xd1afe000


[ 37.131347] CMEMK Debug: get_phys: block_virtoff[0] translated kernel 0xd1afe000 to 0x86dfe000


[ 37.131378] CMEMK Debug: Allocated buffer 0, virtual 0xd1afe000 and physical 0x86dfe000 and size 5251072


[ 37.131408] ------------[ cut here ]------------


[ 37.131439] WARNING: at kernel/mutex.c:135 __mutex_lock_interruptible_slowpath+0x98/0x230()


[ 37.131439] Modules linked in: cmemk(+) ipv6 fuse ads7846 hwmon


[ 37.131469] [<c02eaab4>] (dump_stack+0x0/0x14) from [<c004f79c>] (warn_on_slowpath+0x4c/0x84)


[ 37.131500] [<c004f750>] (warn_on_slowpath+0x0/0x84) from [<c02eb84c>] (__mutex_lock_interruptible_slowpath+0x98/0x230)


[ 37.131561] r6:60000013 r5:bf057b54 r4:cf985e80


[ 37.131561] [<c02eb7b4>] (__mutex_lock_interruptible_slowpath+0x0/0x230) from [<c02eb9f4>] (mutex_lock_interruptible+0x10/0x14)


[ 37.131591] [<c02eb9e4>] (mutex_lock_interruptible+0x0/0x14) from [<bf050b18>] (dump_lists+0x40/0xe0 [cmemk])


[ 37.131652] [<bf050ad8>] (dump_lists+0x0/0xe0 [cmemk]) from [<bf052174>] (alloc_pool+0x1c0/0x200 [cmemk])


[ 37.131713] r8:bf055ac0 r7:00000001 r6:bf057b00 r5:d1afe000 r4:cf985e80


[ 37.131713] [<bf051fb4>] (alloc_pool+0x0/0x200 [cmemk]) from [<bf059438>] (init_module+0x438/0x848 [cmemk])


[ 37.131774] [<bf059000>] (init_module+0x0/0x848 [cmemk]) from [<c002b2e0>] (do_one_initcall+0x50/0x17c)


[ 37.131835] [<c002b290>] (do_one_initcall+0x0/0x17c) from [<c0071e14>] (sys_init_module+0x98/0x188)


[ 37.131866] r8:c002bea8 r7:00000000 r6:4014d000 r5:bf055940 r4:0000899a


[ 37.131866] [<c0071d7c>] (sys_init_module+0x0/0x188) from [<c002bd00>] (ret_fast_syscall+0x0/0x2c)


[ 37.131896] r7:00000080 r6:00000000 r5:00000000 r4:00016098


[ 37.131927] ---[ end trace 88e5908145c5d8aa ]---


[ 37.131958] Unable to handle kernel NULL pointer dereference at virtual address 00000000


[ 37.131988] pgd = cf3d0000


[ 37.131988] [00000000] *pgd=8f3bc031, *pte=00000000, *ppte=00000000


[ 37.132019] Internal error: Oops: 817 [#1]


[ 37.132019] Modules linked in: cmemk(+) ipv6 fuse ads7846 hwmon


[ 37.132049] CPU: 0 Tainted: G W (2.6.27.57-omap1 #1)


[ 37.132049] PC is at __mutex_lock_interruptible_slowpath+0xcc/0x230


[ 37.132080] LR is at __mutex_lock_interruptible_slowpath+0xb8/0x230


[ 37.132110] pc : [<c02eb880>] lr : [<c02eb86c>] psr: 40000093


[ 37.132110] sp : cf281be8 ip : cf281be8 fp : cf281c2c


[ 37.132110] r10: bf057b58 r9 : 00000000 r8 : cf38ca80


[ 37.132141] r7 : 00000000 r6 : 60000013 r5 : bf057b54 r4 : cf281bec


[ 37.132141] r3 : 00000000 r2 : cf280000 r1 : cf281bec r0 : bf057b54


[ 37.132171] Flags: nZcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user


[ 37.132171] Control: 00c5387f Table: 8f3d0018 DAC: 00000015


[ 37.132202] Process modprobe (pid: 1050, stack limit = 0xcf2802e8)


[ 37.132202] Stack: (0xcf281be8 to 0xcf282000)


[ 37.132202] 1be0: 37332020 bf057b58 00000000 11111111 bf057b54 cf281bec


[ 37.132232] 1c00: cf281c1c cf985e80 00000000 bf055ac8 00000000 bf055ac0 00000000 00502000


[ 37.132263] 1c20: cf281c3c cf281c30 c02eb9f4 c02eb7c0 cf281c64 cf281c40 bf050b18 c02eb9f0


[ 37.132293] 1c40: c02eac08 cf985e80 d1afe000 bf057b00 00000001 bf055ac0 cf281cac cf281c68


[ 37.132324] 1c60: bf052174 bf050ae4 00502000 4ad00000 00000000 bf055ac4 00000001 00000000


[ 37.132354] 1c80: 01000000 00000001 00000000 00000001 00501bd0 00000000 00000000 bf057b18


[ 37.132385] 1ca0: cf281f04 cf281cb0 bf059438 bf051fc0 00000000 c007ff80 bf0576d8 00000000


[ 37.132415] 1cc0: c01759dc bf0578e0 bf0576e0 cedc7300 c037b143 00000000 cf281e0c cf281ce8


[ 37.132446] 1ce0: c0175d40 c01759b4 ffffffff 00000000 d0a0067e 00000000 00000006 cedc7300


[ 37.132476] 1d00: c03f1180 00000000 00000001 cf281d54 cf281d8c fffffff9 c0081f00 cf8048c0


[ 37.132507] 1d20: 00000000 00000001 cf8048c4 c040b184 00000000 00000000 cf281d9c cf281dd0


[ 37.132537] 1d40: cf281d6c cf281d50 c02ebeec c006bd64 c00e5078 cf281dd0 cf2fbbd8 00000000


[ 37.132568] 1d60: cf281d7c cf281d70 c02ebf4c c02ebe5c cf281dcc cf281d80 c00e5888 c02ebf48


[ 37.132598] 1d80: cf281dd0 cf281d98 cf281db4 cf281d98 c00e54b4 cf281ddc cf281db4 fffffff9


[ 37.132629] 1da0: cf2fbbd8 cf8048c0 00000000 00000001 cf8048c4 c040b184 00000000 00000000


[ 37.132659] 1dc0: cf281e24 cf281e58 cf281df4 cf281dd8 c02ebeec c006bd64 c00e5078 cf281e58


[ 37.132690] 1de0: 00000000 cf2fbba8 cf281e04 cf281df8 c02ebf4c c02ebe5c cf281e54 cf281e08


[ 37.132720] 1e00: c00e5888 cedc7900 d09f8000 00000001 d09f8000 c05ff620 c03f09c4 40000013


[ 37.132751] 1e20: cf281e4c cf281e30 c00817e8 c00801bc 00000000 d09f8000 cedc7900 00000001


[ 37.132781] 1e40: cf281e5c cf281e50 c00818ac c00816e4 cf281e74 00000009 d09f8000 cedc7900


[ 37.132812] 1e60: 00000001 d09fe2e0 cf281e94 cf281e78 c00930c0 c009b988 cf985380 00000001


[ 37.132843] 1e80: bf055940 00000001 cf281ea4 cf281e98 c00931b4 c0093014 cf281f7c cf281ea8


[ 37.132873] 1ea0: c0071c40 c009318c 00000000 c0087c44 cedbbc40 cf281f3c 000161a0 d09fe1a0


[ 37.132904] 1ec0: d09fe2b8 cf1cd46e 00000000 cf1cd45a 00000000 00000018 0000000c 0000899a


[ 37.132934] 1ee0: bf055940 4014d000 bf059000 00000000 cf280000 00000000 cf281f7c cf281f08


[ 37.132965] 1f00: c002b2e0 bf05900c 000000d1 000000d1 cf280000 cf281f2c bf055988 d09fe2e0


[ 37.132965] 1f20: bf05594c 0000001a c02ef0d4 d09fe308 00000000 00000000 00000000 0000899a


[ 37.132995] 1f40: cf281f6c 0000899a bf055940 4014d000 00000000 c002bea8 cf281f7c 0000899a


[ 37.133026] 1f60: bf055940 4014d000 00000000 c002bea8 cf281fa4 cf281f80 c0071e14 c002b29c


[ 37.133056] 1f80: 00000003 00000000 00016098 00000000 00000000 00000080 00000000 cf281fa8


[ 37.133087] 1fa0: c002bd00 c0071d88 00016098 00000000 4014d000 0000899a 000161a0 000161a0


[ 37.133117] 1fc0: 00016098 00000000 00000000 00000080 00000000 00016114 00016108 00000000


[ 37.133148] 1fe0: be8afed3 be8af974 0000b180 400e9264 60000010 4014d000 00000000 00000000


[ 37.133178] Backtrace:


[ 37.133178] [<c02eb7b4>] (__mutex_lock_interruptible_slowpath+0x0/0x230) from [<c02eb9f4>] (mutex_lock_interruptible+0x10/0x14)


[ 37.133239] [<c02eb9e4>] (mutex_lock_interruptible+0x0/0x14) from [<bf050b18>] (dump_lists+0x40/0xe0 [cmemk])


[ 37.133270] [<bf050ad8>] (dump_lists+0x0/0xe0 [cmemk]) from [<bf052174>] (alloc_pool+0x1c0/0x200 [cmemk])


[ 37.133331] r8:bf055ac0 r7:00000001 r6:bf057b00 r5:d1afe000 r4:cf985e80


[ 37.133331] [<bf051fb4>] (alloc_pool+0x0/0x200 [cmemk]) from [<bf059438>] (init_module+0x438/0x848 [cmemk])


[ 37.133392] [<bf059000>] (init_module+0x0/0x848 [cmemk]) from [<c002b2e0>] (do_one_initcall+0x50/0x17c)


[ 37.133422] [<c002b290>] (do_one_initcall+0x0/0x17c) from [<c0071e14>] (sys_init_module+0x98/0x188)


[ 37.133453] r8:c002bea8 r7:00000000 r6:4014d000 r5:bf055940 r4:0000899a


[ 37.133483] [<c0071d7c>] (sys_init_module+0x0/0x188) from [<c002bd00>] (ret_fast_syscall+0x0/0x2c)


[ 37.133514] r7:00000080 r6:00000000 r5:00000000 r4:00016098


[ 37.133544] Code: e285a004 e5854008 e50ba040 e50b303c (e5834000)


[ 37.133666] ---[ end trace 88e5908145c5d8aa ]---
 
Doh... ok This may be the issue. I need to reinstall the codec pack :S
 

Similar threads

Back
Top