Other Parts Discussed in Thread: OMAP3530
Hi all,
I'm trying to play a video file using dsplink with gstreamer on beagleboard. The kernel image, modules and the filesystem are downloaded from http://www.angstrom-distribution.org/demo/beagleboard. The kernel version is 2.6.32-r71 with Angstrom patches.
The attempt to launch gstreamer gave the following result:
root@beagleboard:~# DMAI_DEBUG=1 gst-launch --gst-debug=2 --gst-debug-no-color filesrc location=BigBuckBunny_640x360.m4v ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 ! TIViddec2 ! TIDmaiVideoSink videoStd=480p displayStd=FBDev displayDevice=/dev/fb0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:00.830718993 1221 0x15050 WARN bin gstbin.c:2312:gst_bin_do_latency_func:<pipeline0> failed to query latency
@0x00077db8:[T:0x42f9b490] ti.sdo.dmai - [Display] Failed FBIOPUT_VSCREENINFO on /dev/fb0 (Invalid argument)
0:00:00.834716797 1221 0x181898 ERROR TIDmaiVideoSink gsttidmaivideosink.c:1231:gst_tidmaivideosink_init_display: Failed to open display device
0:00:00.834991455 1221 0x181898 WARN TIDmaiVideoSink gsttidmaivideosink.c:1448:gst_tidmaivideosink_render:<tidmaivideosink0> error: Unable to initialize display
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0: Unable to initialize display
Additional debug info:
gsttidmaivideosink.c(1448): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0
Execution ended after 1098633 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:00.838623046 1221 0x11f1c8 ERROR default gsttiquicktime_h264.c:214:gst_h264_parse_and_queue: Failed to put NAL code prefix
Setting pipeline to NULL ...
Freeing pipeline ...
And when I tried to play it to /dev/fb2:
t@beagleboard:~# DMAI_DEBUG=1 gst-launch --gst-debug=2 --gst-debug-no-color filesrc location=BigBuckBunny_640x360.m4v ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 ! TIViddec2 ! TIDmaiVideoSink videoStd=480p displayStd=FBDev displayDevice=/dev/fb2
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ..[ 135.756347] omapfb omapfb: setup_plane failed
.
0:00:00.828948975 1203 0x15050 WARN bin gstbin.c:2312:gst_bin_do_latency_func:<pipeline0> failed to query latency
@0x0004aab7:[T:0x42f9b490] ti.sdo.dmai - [Display] Failed to set plane info
0:00:00.837036132 1203 0x181898 ERROR TIDmaiVideoSink gsttidmaivideosink.c:1231:gst_tidmaivideosink_init_display: Failed to open display device
0:00:00.837280273 1203 0x181898 WARN TIDmaiVideoSink gsttidmaivideosink.c:1448:gst_tidmaivideosink_render:<tidmaivideosink0> error: Unable to initialize display
0:00:00.840789794 1203 0x11f1c8 WARN ffmpeg gstffmpegdemux.c:1455:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20> stream_movi flow: unexpected / unexpected
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0: Unable to initialize display
Additional debug info:
gsttidmaivideosink.c(1448): gst_tidmaivideosink_render (): /GstPipeline:pipeline0/GstTIDmaiVideo
Sink:tidmaivideosink0
Execution ended after 1220703 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
If I use videotestsrc instead filesrc, the result is the same.
I recompiled TI's DVSDK-3.01.00.03 against the mentioned kernel, and tried to run the decode program:
root@beagleboard:/opt/dvsdk/omap3530# ./decode -i -v data/videos/davincieffect_ntsc_1.264
Decode demo started.
Error: Failed to create display device
Demo interface started at level 4.
[ 350.575714] detected fb_set_par error, error code: -22
Error: Failed to create display device instance
I would appreciate any ideas which can help me play a movie on beagleboard, using the dsp video decoding.
Thanks.