Environment : Under the Fedora13 with WMware.
Recently, i had to design the user interface for mplayer use qt3.
the source package of mplayer : MPlayer-1.0rc4.tar.bz2
configure : ./configure --prefix=/usr/local/mplayer --codecsdir=/usr/lib/codecs/ --enable-gui --enable-menu
When i play the SWF file ,it can not be played... but it can play the AVI files.
I wrote some codes play the file:
playProc->clearArguments();
playProc->addArgument(mplayerPath);
playProc->addArgument( "-vo" );
playProc->addArgument( "xv" );
playProc->addArgument( "-slave");
playProc->addArgument( "-quiet");
playProc->addArgument(filename);
playProc->addArgument("-wid");
playProc
->addArgument
("0x" + QString::number((long)(playWidget
->winId
()),
16));
playProc->start();
playProc->clearArguments();
playProc->addArgument(mplayerPath);
playProc->addArgument( "-vo" );
playProc->addArgument( "xv" );
playProc->addArgument( "-slave");
playProc->addArgument( "-quiet");
playProc->addArgument(filename);
playProc->addArgument("-wid");
playProc->addArgument("0x" + QString::number((long)(playWidget->winId()),16));
playProc->start();
To copy to clipboard, switch view to plain text mode
When I played the SWF files report I get the following:
[root@localhost bin]# ./mplayer /home/ywj/Main.swf
MPlayer 1.0rc4 (C) 2000-2010 MPlayer Team
Playing /home/ywj/Main.swf.
libavformat file format detected.
[swf @ 0x93cbd10]Compressed SWF format not supported
LAVF_header: av_open_input_stream() failed
Seek failed
libavformat file format detected.
LAVF_header: av_open_input_stream() failed
Exiting... (End of file)
Any help would be appreciated!
Thank you .
Bookmarks