News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Vomp media player

Started by avvdr, March 14, 2007, 15:52:25

Previous topic - Next topic

avvdr

Hello all,
I just finished a new version of the media player, being able to play videos.
Additionally you can insert server side script commands to convert media on the fly.
Please refer to http://www.wellenvogel.de/software/vomp/index.html#Update_20080320.
Any feedback is highly appreciated.

regards
Andreas

avvdr

Hi all,
I just uploaded some bugfixes and extensions for the version 2008/03/20.
Please be aware that there was an error in the documentation for the script interface.
For testing the availability the program is called with the parameter "check".
Files are here:http://www.wellenvogel.de/software/vomp/index.html#Update_080322

Regards
Andreas

avvdr

Hi all,
I just uploaded some patches to make the media player handle playlists.
This is done via the server side scripting interface. You can now create arbitrary lists via this interface. They are displayed and handled like normal directories.
This also allows for creating lists of streaming sources like internet radio.
Files can be found at
http://www.wellenvogel.de/software/vomp/index.html#Update_20080401

Any feedback is highly appreciated.

Regards
Andreas

avvdr

Hi all,
I just uploaded 2 patches that provide the media player functions on top of the 0.2.7 version.
You can find them here
http://www.wellenvogel.de/software/vomp/index.html#Update_20080404
Those include the video player functions and the server side script interface to plugin any converters, virtual files,...
Any feedback is welcome.

Regards
Andreas

hondansx

Hi Andreas,

BIG THX.  :)
I will give it a try.

Walter
GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

avvdr

Hi all,
I just uploaded a small patch that avoids some "unable to load media list" after stopping during playback (audio, video).
Files as usual at
http://www.wellenvogel.de/software/vomp/index.html#Update_20080407.

Regards
Andreas

tivi

Hi Andreas,

I would like to use your latest patch. I'm using the diff listed here:
http://www.vdr-portal.de/board/thread.php?threadid=69824&threadview=0&hilight=&hilightuser=0&page=1.

Unfortunately compiling stops with error.

make[1]: Entering directory `/usr/src/vdr/vdr-1.4.7/PLUGINS/src/vompserver'
( if [ -f .standalone ] ; then ( rm -f .standalone; make clean ; make objects ) ; else exit 0 ;fi )
g++ -O2 -fPIC -Wall -Woverloaded-virtual -Werror -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vompserver"' -DVOMPSERVER -I../../../include -I/include -o media.o media.c
media.c: In member function `char* Media::getTimeString(char*) const':
media.c:238: Warnung: »%g« liefert nur die letzten 2 Ziffern des Jahres
make[1]: *** [media.o] Fehler 1


Compiling without applying the patch works.

Any ideas?

Regards
tivi

avvdr

Hi tivi,
which gcc you are using?
Looks like -Wformat-y2k is enabled (that should be disabled by default).
Cannot try it in the moment, but maybe adding -Wno-format-y2k to CXXFLAGS in the Makefile works.
Alterantively you could go the hard way with omitting -Werror in CXXFLAGS as a workaround.

Regards
Andreas

tivi

Hi Andreas,

THX for posting. Meanwhile Alex told me to change line 238 in media.c:

strftime(buffer,TIMEBUFLEN, "%0G/%0m/%0d %0H:%0M ", btime);


That works!


Regards
tivi

stu-e

Hi Andreas
I get an error when building vompserver with your latest media patches:
cc1plus: warnings being treated as errors
medialauncher.c:75: warning: deprecated conversion from string constant to 'char*'
medialauncher.c:75: warning: deprecated conversion from string constant to 'char*'
medialauncher.c:75: warning: deprecated conversion from string constant to 'char*'
medialauncher.c:75: warning: deprecated conversion from string constant to 'char*'
make[1]: *** [medialauncher.o] Error 1

I edited the assignment to mediatypes as follows:
static struct {
  char* mtypename;
  ULONG mtypeid;
} mediatypes[]= {
  {(char *) "PICTURE",MEDIA_TYPE_PICTURE},
  {(char *) "AUDIO",MEDIA_TYPE_AUDIO},
  {(char *) "VIDEO",MEDIA_TYPE_VIDEO},
  {(char *) "LIST",MEDIA_TYPE_DIR}
};

Now it builds without error.

Stuart

avvdr

Hi Stuart,
which gcc are you using?
Most probably changing

char* mtypename
to
const char* mtypename

could solve the problem (without the ugly casts  :( )- but I'm not sure (it will maybe need some other const's in the code.
Is the only reason I see why gcc should warn here - assigning a const string to an non const ptr...

Regards
Andreas

stu-e

Gcc 4.2

I'll try const instead of the cast and let you know if it compiles ok or not.

Stuart

stu-e

Yes gcc 4.2 compiles ok using const char* instead of the casts.

Thanks
Stuart

avvdr

QuoteYes gcc 4.2 compiles ok using const char* instead of the casts.

OK - will change this in the code.

Regards
Andreas

stu-e

I just tried to play some mp3s encoded using the LAME nogap feature for gapless playback.
There is still a gap between tracks that would normally have no gap between them.
The tracks however play gapless using Xine.

Any chance Vomp Media Player can support gapless mp3 playback?