GStreamer 0.10
Required :: need to install or compile GStreamer 0.10.* , an open source multimedia framework ...
Update XFG configuration files ::
:: /root/redstone/FileGarden/xfg.conf
...
...
[Execute selection as ...]
...
...
Selection as Sound link=%WorkShellFile%
Selection as Sound link(GSTREAMER)=%WorkShellFile%
Selection as Enqueued Video link=%WorkShellFile%
Selection as Multiple Video link=%WorkShellFile%
Selection as Video link(GSTREAMER)=%WorkShellFile%
...
[Execute selection as ...Image]
...
...
Selection as Video link(GSTREAMER)=/root/redstone/FileGarden/image/video-21.png
Selection as Sound link(GSTREAMER)=/root/redstone/FileGarden/image/sound-file-21.png
[WorkShellFile]
...
...
Selection as HTML link=%GetCustomCommand%XFGMemoInsertAtLine%GetValue%XFGMemoInsertXFGCommandTag
Selection as HTML link [ Opera ]=%GetCustomCommand%XFGMemoInsertAtLine%GetValue%XFGMemoInsertXFGCommandTag
Selection as Video link(GSTREAMER)=%GetCustomCommand%XFGMemoInsertAtLine%GetValue%XFGMemoInsertXFGCommandTag
Selection as Sound link(GSTREAMER)=%GetCustomCommand%XFGMemoInsertAtLine%GetValue%XFGMemoInsertXFGCommandTag
...
[xfgMemoMenuHasSelection]
...
...
Selection as Editor link=1
Selection as Video link(GSTREAMER)=1
Selection as Sound link(GSTREAMER)=1
[Open File]
...
...
Play sound with Xine=%MenuViewWith%
Play sound with gst=%MenuViewWith%
Play video with Xine=%MenuViewWith%
Play video with mplayer=%MenuViewWith%
Play video with gst=%MenuViewWith%
------seperator904=1
View Man=%MenuViewWith%
View with Gimp=%MenuViewWith%
[MenuViewWith]
...
...
View with Gimp=gimp $in &
View with XFig=xfig $in &
View PDF with Acroread=acroread $in &
Play video with gst=%RunMessageInfo%gst-launch-0.10 -v -t playbin uri=file://%in &
Play sound with gst=%RunMessageInfo%gst-launch-0.10 -v -t filesrc location=%in ! decodebin ! audioconvert ! audioresample ! osssink &
[Open FileImage]
...
...
Play sound=/root/redstone/FileGarden/image/sound-file-21.png
Play sound with Xine=/root/redstone/FileGarden/image/sound-file-21.png
Play sound with gst=/root/redstone/FileGarden/image/sound-file-21.png
Play video with Xine=/root/redstone/FileGarden/image/video-21.png
Play video with mplayer=/root/redstone/FileGarden/image/video-21.png
Play video with gst=/root/redstone/FileGarden/image/video-21.png
------seperator904=none
View Man=/root/redstone/FileGarden/image/gdict-21.png
View with Gimp=/root/redstone/FileGarden/image/gimp-21.png
:: /root/redstone/resource/XFGMemoInsertXFGCommandTag
...
[Command]
...
...
Selection as Video link(GSTREAMER)=xterm -hold -e 'gst-launch-0.10 -v -t playbin uri="file://%XFGMemoInsertExecuteThisCommandMultiple%"'
Selection as Sound link(GSTREAMER)=xterm -hold -e 'gst-launch-0.10 -v -t filesrc location="%XFGMemoInsertExecuteThisCommandMultiple%" ! decodebin ! audioconvert ! audioresample ! osssink'
the above should work but if you have problems using and configuring the menuitem , feel free
to reach me at Email :: alred2@lycos.com