How to disable GStreamer and Enable the PVCore

Hi all,
Can anybody tell me How to disable GStreamer and Enable the PVCore?
Actually I am observing that my components inside the codecs_v2/omx
are not getting used. Might be GStreamer is providing the decode
functionality when I use the Video Player to decode the Video.
Please note that if I delete my lib_omx_avc*...so from the system/lib
folder still the video is getting decoded!

Regards,
Sanjeev Kumar Verma

Sanjeev,
To Enable PVCore instead of Gstreamer :-

1. Remove or rename gst.conf to something else.
2. kill -9 "pid of mediaserver"

Regards,

kill -9 "pid of mediaserver : Is this a command? When to execute this
command?
Regards,
Sanjeev

All,
Does the H264 video play in PVCore mode?
I get the Error : Cannot Play Video
Regards,
Sanjeev Kumar Verma

Rupesh,
By followiing the two steps by you, I am able to disable the GStreamer
but I am not able to play video. Is there any other step missing?
Regards,
Sanjeev Kumar Verma

Here is the detailed log:-
40T

Texas Instruments X-Loader 1.41
Starting on with MMC
Reading boot sector

180776 Bytes Read from MMC
Starting OS Bootloader from MMC...

U-Boot 2009.06-rc2 (Jun 05 2009 - 10:19:13)

OMAP3530-GP ES2.1, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
DRAM: 128 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Board revision Ax/Bx
Die ID #619e00020000000004013ebf0a004012
Hit any key to stop autoboot: 10 9 8 7 6 5 4
0
OMAP3 beagleboard.org # boot
mmc1 is available
reading uImage

2075384 bytes read
## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux-2.6.29-omap1-07193-g3f4964
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 2075320 Bytes = 2 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux.............................................................
.........................................................................
done,
booting the kernel.
Linux version 2.6.29-omap1-07193-g3f49649 (root@ittiam-desktop) ( For
any Querie
s, information and bug reports please mail to osd@embinux.com ) #1 Fri
Jul 17 12
:39:15 IST 2009
CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430 ES2.1
SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
Reserving 12582912 bytes SDRAM for VRAM
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
32512
Kernel command line: console=ttyS2,115200n8 noinitrd root=/dev/
mmcblk0p2 video=o
mapfb.mode=dvi:1280x720MR-24@50 init=/init rootfstype=ext3 rw
rootdelay=1 nohz=o
ff androidboot.console=ttyS2
Unknown boot option `androidboot.console=ttyS2': ignoring
Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
PID hash table entries: 512 (order: 9, 2048 bytes)
OMAP clockevent source: GPTIMER12 at 32768 Hz
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 112768KB available (3824K code, 718K data, 144K init)
Calibrating delay loop... 497.82 BogoMIPS (lpj=1941504)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 520 bytes
regulator: core version 0.5
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VMMC1: 1850 <--> 3150 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VUSB1V5: 1500 <--> 0 mV normal standby
regulator: VUSB1V8: 1800 <--> 0 mV normal standby
regulator: VUSB3V1: 3100 <--> 0 mV normal standby
regulator: VPLL2: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV normal standby
i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
SCSI subsystem initialized
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 220
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
i2c /dev entries driver
Driver 'sd' needs updating - please use bus_type methods
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
1,8V 16-bi
t)
cmdlinepart partition parsing not available
Creating 5 MTD partitions on "omap2-nand":
0x000000000000-0x000000080000 : "X-Loader"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000680000 : "Kernel"
0x000000680000-0x000010000000 : "File System"
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.29-omap1-07193-g3f49649 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
android init
android_bind
mass_storage_function_add
android_usb gadget: Number of LUNs=1
adb_function_add
android_usb gadget: android_usb ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.29-omap1-07193-g3f49649 musb-hcd
usb usb2: SerialNumber: musb_hdrc
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
twl4030_rtc twl4030_rtc: Power up reset detected.
twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI AD73311
No device for DAI AK4535
No device for DAI CS4270
No device for DAI PCM3008 HiFi
No device for DAI SSM2602
No device for DAI tlv320aic23
No device for DAI tlv320aic3x
No device for DAI twl4030
No device for DAI UDA134X
No device for DAI UDA1380
No device for DAI UDA1380
No device for DAI UDA1380
No device for DAI WM8510 HiFi
No device for DAI WM8580 PAIFRX
No device for DAI WM8580 PAIFTX
No device for DAI WM8728
No device for DAI WM8731
No device for DAI WM8750
No device for DAI WM8753 DAI 0
No device for DAI WM8753 DAI 1
No device for DAI WM8971
No device for DAI WM8990 ADC/DAC Primary
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
OMAP3 Beagle SoC init
TWL4030 Audio Codec init
asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
ALSA device list:
  #0: omap3beagle (twl4030)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev
1
Console: switching to colour frame buffer device 80x30
clock: clksel_round_rate_div: dpll4_m4_ck target_rate 36000000
clock: new_div = 12, new_rate = 36000000
omapdss: Could not find exact pixel clock. Requested 23500 kHz, got
24000 kHz
twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00
UTC (946684
800)
Waiting 1sec before mounting root device...
mmc0: new high speed SD card at address aaaa
mmcblk0: mmc0:aaaa SD02G 1.84 GiB
mmcblk0: p1 p2
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 144K
Warning: unable to open an initial console.
init: cannot open '/initlogo.rle'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
# warning: `rild' uses 32-bit capabilities (legacy support in use)
usb 2-1: new high speed USB device using musb_hdrc and address 2
usb 2-1: New USB device found, idVendor=0409, idProduct=005a
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-1: configuration #1 chosen from 1 choice
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
usb 2-1.1: new low speed USB device using musb_hdrc and address 3
usb 2-1.1: device v0461 p4d15 is not supported
usb 2-1.1: New USB device found, idVendor=0461, idProduct=4d15
usb 2-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 2-1.1: Product: USB Optical Mouse
usb 2-1.1: configuration #1 chosen from 1 choice
input: USB Optical Mouse as /class/input/input0
generic-usb 0003:0461:4D15.0001: input: USB HID v1.11 Mouse [USB
Optical Mouse]
on usb-musb_hdrc-1.1/input0
usb 2-1.4: new low speed USB device using musb_hdrc and address 4
usb 2-1.4: device v413c p2003 is not supported
usb 2-1.4: New USB device found, idVendor=413c, idProduct=2003
usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.4: Product: Dell USB Keyboard
usb 2-1.4: Manufacturer: Dell
usb 2-1.4: configuration #1 chosen from 1 choice
input: Dell Dell USB Keyboard as /class/input/input1
generic-usb 0003:413C:2003.0002: input: USB HID v1.10 Keyboard [Dell
Dell USB Ke
yboard] on usb-musb_hdrc-1.4/input0

# mount -t vfat /dev/block/mmcblk0p1 /sdcard
# setprop EXTERNAL_STORAGE_STATE mounted ^C
# kill -9 "pid of mediaserver"
[1] Killed kill -9 "pid of mediaserver"
# setprop EXTERNAL_STORAGE_STATE mounted
# am broadcast -a android.intent.action.MEDIA_MOUNTED --ez read-only
false -d f
ile:///sdcard
Broadcasting: Intent { action=android.intent.action.MEDIA_MOUNTED
data=file:///s
dcard (has extras) }
binder: release 681:681 transaction 2792 in, still active
binder: send failed reply for transaction 2792 to 886:895
binder: release 899:909 transaction 3104 in, still active
binder: send failed reply for transaction 3104 to 886:910
binder: 886:895 transaction failed 29189, size92-0
binder: release 921:921 transaction 3520 in, still active
binder: send failed reply for transaction 3520 to 886:910
binder: 886:911 transaction failed 29189, size120-0
binder: release 931:931 transaction 3616 in, still active
binder: send failed reply for transaction 3616 to 886:911
binder: release 942:946 transaction 3976 in, still active
binder: send failed reply for transaction 3976 to 886:911
binder: 886:886 transaction failed 29189, size64-0
binder: release 967:967 transaction 4784 in, still active
binder: send failed reply for transaction 4784 to 886:973

binder: release 981:986 transaction 4931 in, still active
binder: send failed reply for transaction 4931 to 886:979
^C
# logcbinder: release 990:996 transaction 5069 in, still active
binder: send failed reply for transaction 5069 to 886:979
at^C
# ^C
# logcat
I/ARMAssembler( 713): generated
scanline__00000077:03515104_00001001_00000000 [
64 ipp] (84 ins) at [0x205fd0:0x206120] in 244141 ns
D/dalvikvm( 765): GC freed 2066 objects / 134728 bytes in 55ms
W/KeyCharacterMap( 765): No keyboard for id 0
W/KeyCharacterMap( 765): Using default keymap: /system/usr/keychars/
qwerty.kcm.
bin
D/dalvikvm( 811): GC freed 3131 objects / 187680 bytes in 89ms
I/ActivityManager( 713): Starting activity: Intent
{ action=android.intent.acti
on.MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000
comp={com
.android.camera/com.android.camera.GalleryPicker} }
I/ActivityManager( 713): Start proc com.android.camera for activity
com.android
.camera/.GalleryPicker: pid=886 uid=10002 gids={1006, 2001, 3003}
E/ImageManager( 886): create NNNAAAAA file: /sdcard/DCIM/100ANDRO
failed
V/ImageManager( 886): storage state is mounted
V/ImageManager( 886): storage state is mounted
V/ImageManager( 886): storage state is mounted
V/ImageManager( 886): storage state is mounted
D/dalvikvm( 886): Trying to load lib /system/lib/libmedia_jni.so 0x0
V/ImageManager( 886): storage state is mounted
V/ImageManager( 886): storage writable is true
W/IInputConnectionWrapper( 765): showStatusIcon on inactive
InputConnection
I/ActivityManager( 713): Displayed activity
com.android.camera/.GalleryPicker:
609 ms
D/dalvikvm( 886): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 886): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 886): Shared lib '/system/lib/libmedia_jni.so' already
loaded in sa
me CL 0x0
D/dalvikvm( 886): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 886): Shared lib '/system/lib/libmedia_jni.so' already
loaded in sa
me CL 0x0
D/dalvikvm( 886): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 886): Shared lib '/system/lib/libmedia_jni.so' already
loaded in sa
me CL 0x0
I/DEBUG ( 678): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** *