Need Help In Totem Media Player

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Felipe,
	With help of playbin2 also I am able to run all HD video content by
following commands.

$ gst-launch-0.10 playbin2 uri=file:///648x480.mp4

$ gst-launch-0.10 playbin2 uri=file:///1280x720.mp4

	I have taken debug log of totem playback, it is  creating bin as
playbin only.

totem --gst-debug=GST_ELEMENT_*:3 --play /media/mmcblk0p1/Movie.mp4
	
	It is using playbin only. And the kernel image which I am using is
having DSS2. 

	I have added "omapfb.vram=0:2M,1:4M" argument to my boot argument.
Still I am getting "omapdss MANAGER error: dispc_setup_plane failed for ovl
1" error


-Tejas.

-----Original Message-----
From: Felipe Contreras [mailto:felipe.contreras at gmail.com] 
Sent: Monday, February 22, 2010 5:39 PM
To: Tejas
Cc: Stefan Kost; gstreamer-openmax at lists.sourceforge.net
Subject: Re: [Gstreamer-openmax] AV Sync with Gst-OpenMax pluggin

On Mon, Feb 22, 2010 at 2:00 PM, Tejas <tejas at picus.in> wrote:

On Mon, Feb 22, 2010 at 2:00 PM, Tejas <tejas at picus.in> wrote:
> Hello Felipe,
>        As I was not able to play any video content with the help of
omapfbsink plugin. Later I found that memory from frame buffer 1 was not
mapped , because memory for fb1 has not been allocated. After my system of
beagle board boots I am running following commands to allocate memory.
>
>        My boot args is as followed.
>
> "setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait
omapfb.mode=dvi:1280x720MR-32 at 60 vram=12M'"

I add "omapfb.vram=0:2M,1:4M". I'm not sure if you need that in recent DSS2.

> $echo 8000000 > /sys/class/graphics/fb1/size $fbset -fb /dev/fb1 
> -nonstd 1 $echo "1" > /sys/devices/platform/omapdss/overlay1/enabled
> $echo "$1,$2" > /sys/devices/platform/omapdss/overlay1/output_size
> $echo "0,0" > /sys/devices/platform/omapdss/overlay1/position
> $fbset -fb /dev/fb0 -xres $1 -yres $2
> $echo "0,0" > /sys/devices/platform/omapdss/overlay0/position
> $echo "0" > /sys/devices/platform/omapdss/display0/enabled
> $echo "" > /sys/devices/platform/omapdss/manager0/display
> $echo "0" > /sys/devices/platform/omapdss/overlay1/enabled
> $
> $echo "1" > /sys/devices/platform/omapdss/overlay1/enabled
> $echo "dvi" > /sys/devices/platform/omapdss/manager0/display
> $echo "1" > /sys/devices/platform/omapdss/display0/enabled
>
>        I put all these command into one disp.sh file and run it as
./disp.sh 640 480, then 640x480 display comes and rest comes as black. Now I
can run following command smoothly.
>
> $gst-launch-0.10 playbin uri=file:///648x480.mp4

AFAIK omapfbsink would do most of those sysctl commands. However maybe you
are using and old version of gst-omapfb.

>        After that when I run following command, that display doesn't come
properly. That video content is of resolution 1280 x 720.
>
> $gst-launch-0.10 playbin uri=file:///1280x720.mp4
>
>        After that I run ./disp.sh 1280 720 and then run above command I
can play video properly.
>
>        But when I run 1280 x 720 video file into totem movie player
nothing is coming and only blue screen throught entire video play back.
After getting log file it gives following error.
> "omapdss MANAGER error: dispc_setup_plane failed for ovl 1"
>
>                Can any one guide me to come out this error.

That's really strange. Totem shouldn't be doing anything different...
well, I't using playbin2 instead of playbin. Can you try that?

Anyway, I would add debugging in gst-omapfb to find out what parameters are
being used to setup the plane that make it fail.

Cheers.

--
Felipe Contreras

-----Original Message-----
From: Tejas [mailto:tejas at picus.in] 
Sent: Friday, February 19, 2010 4:39 PM
To: 'Felipe Contreras'
Cc: gstreamer-embedded at lists.sourceforge.net
Subject: Re: Need Help In Totem Media Player

Hi Felipe,
	After debugging I found that memory map is failed in the start
function of omapfb.c file. 

	Can you guide me what other things are missing ?

Thanks In Advance,
Tejas.

-----Original Message-----
From: Felipe Contreras [mailto:felipe.contreras at gmail.com] 
Sent: Wednesday, February 17, 2010 4:46 PM
To: Tejas
Cc: gstreamer-embedded at lists.sourceforge.net
Subject: Re: Need Help In Totem Media Player

On Wed, Feb 17, 2010 at 1:11 PM, Tejas <tejas at picus.in> wrote:
>        If I use following pipe line it will work fine.
>
> "gst-launch-0.10 filesrc location=/media/mmcblk0p1/Movie.mp4 ! mpeg4parser
! mpeg4dec ! ffmpegcolorspace ! fbdevsink"
>
>        Here mpeg4parser and mpeg4dec are my Plugins which I made.
Capability of both are as followed.

[...]

>        Src pad of mpeg4dec will be connected with ffmpegcolorspace and
later will be connected with fbdevsink and complete pipeline will be
settled.
>
>        But instead fbdevsink if I use omapfbsink I can not create pipeline
and getting following error.

Ah, I see. Have you got omapfbsink to do anything? Maybe the fb
overlays haven't been setup properly.

Where did you get the omapfbsink element?

-- 
Felipe Contreras


----------------------------------------------------------------------------
--
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded





[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux