Newbie's questions
Posted: 06 Sep 2009 17:27
Hi, I'd like to make a small media player based on libvlc (part of a bigger project), but I'm in some troubles:
1) How to make a playlist? I tried libvlc_media_list_t conversion to libvlc_media_t using libvlc_media_list_media(), but it didn't work, then playing libvlc_media_list_t in libvlc_media_list_player_t with the same result.
2) How to play an audio CD? I follow these instructions: http://wiki.videolan.org/LibVLC_SampleCode_Qt, playing "cdda:///dev/sr0" (same device as in vlc) - doesn't work for me.
2) The position slider from the example above restarts playback when moved.
I'm using Ubuntu 9.04, vlc 1.0.1. Thanks for any help
1) How to make a playlist? I tried libvlc_media_list_t conversion to libvlc_media_t using libvlc_media_list_media(), but it didn't work, then playing libvlc_media_list_t in libvlc_media_list_player_t with the same result.
2) How to play an audio CD? I follow these instructions: http://wiki.videolan.org/LibVLC_SampleCode_Qt, playing "cdda:///dev/sr0" (same device as in vlc) - doesn't work for me.
2) The position slider from the example above restarts playback when moved.
I'm using Ubuntu 9.04, vlc 1.0.1. Thanks for any help