This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Gstreamer .avi playback on DM355

Other Parts Discussed in Thread: TMS320DM355

There are several of us over in the gstreamer forum (at https://gstreamer.ti.com/ ) that are having the same problem and no luck finding help, so I thought I would try this forum.  

I have compiled gstreamer from the source of gst-ti-plugin-full-0.99.00.  I can successfully play back the standard davincieffect.mpeg4 elementary file using ./decode_elementary.sh.  But when I try to play back a .avi file I get:

./decode_avi.sh -f videos/testFull.avi
gst-inspect TIViddec2
gst-inspect mad
gst-inspect osssink
*********** Pipeline Settings *************
platform = dm355
audio_plugin = mad
audio_plugin_args =
soundStd = oss
video_plugin = TIViddec2
video_plugin_args =
dispStd = fbdev
dispDevice = /dev/fb/3
videoStd = D1_NTSC
videoOutput = COMPOSITE
resizer = FALSE
accelFrameCopy = TRUE
gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc location=videos/testFull.avi ! typefind ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=
1200 max-size-time=0 max-size-bytes=0 ! typefind ! mad ! audioconvert ! osssink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVideoSink displayStd=fbdev display
Device=/dev/fb/3 videoStd=D1_NTSC videoOutput=COMPOSITE resizer=FALSE accelFrameCopy=TRUE
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstAviDemux:demux: Internal data stream error.
Additional debug info:
gstavidemux.c(4115): gst_avi_demux_loop (): /GstPipeline:pipeline0/GstAviDemux:demux:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ... 

Note that my testFull.avi file has played back successfully using a precompiled version of gstreamer and all of the same settings.  I get no errors when compiling gstreamer.  I need to modify gsttidmaivideosink.c, so I can't just use the canned version of gstreamer.  I get the same error with gst-ti-plugin-full-1.00.02.

Any ideas on where I should look?

I am using dvsdk_1_30_00_40, dmai_1_16_00_03, xdc_3_00_04, and RHEL4. 

Thanks

-Vim

  • OK, there is a patch that allows gstreamer to recognize the xvid mime type that ArcSoft's MediaConverter uses.  The patch can be found here:

    https://gstreamer.ti.com/gf/project/gstreamer_ti/tracker/?action=TrackerItemEdit&tracker_item_id=462

     

  • Hi,

       I cann't playback a avi video,too.

    Regards,

    Zhouhui

  • Hi ,

    I am working on dm355 linux platform.

    following getting started guide tms320dm355 dvevm v1.30, i got the kernel and root file system, got success Booting via TFTP using NFS file system.

    but unable to run the demo, getting osd display output but no video display and error as shown below.

    root@10.10.10.242:/opt/dvsdk/dm355# ls
    cmemk.ko decode.txt encode encodedecode.txt log.txt web
    data dm350mmap.ko encode.txt interface mapdmaq
    decode dvevmdemo encodedecode loadmodules.sh thirdpartydemos

    root@10.10.10.242:/opt/dvsdk/dm355# ./decode -v data/videos/davincieffect_pal.mpeg4

    Decode demo started.
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    Decode Error: Failed FBIOPUT_VSCREENINFO on /dev/fb/3 (Invalid argument)
    Decode Error: Failed to open video decode algorithm
    root@10.10.10.242:/opt/dvsdk/dm355#


    kindly do the needfull.

    Thanks and regards,

    Mohammed asif.