you can edit your config file (when vlc is closed) in C:\Documents And Settings\(you)\Application Data\VideoLAN\VLC\.vlcrc (the last path may be not correct, it's maybe in Application Data\VLC don't remember)
note that Application Data is a hidden folder
now looks for "#extraintf=" and change it by "extraintf=http"
launch vlc and http interface will be loaded
that's exactly what I meant!FYI: Tested with the latest VLC 0.8.6d and the sub is not delivered in the stream "automatically". Subs are working when I watch the same movie on the computer (not streaming). The sub is also delivered when I stream to a Dreambox WHEN I manually point out the subfile in the VLC configuration.
/J
So, it's Windows issue, probably some file/directory handling differs on Linux and Windows.flangis wrote:
Please note that i can not confirm the bug because since my original post i have switched to gnu/linux which does not have the problem (the problem was found on windows). Just for your information i'm running Ubuntu feisty with vlc 0.8.6b and subtitles work fine both when using the dreambox web interface and dreambox vlc frontend 1.3
Code: Select all
/* extract filename & dirname from psz_fname */
tmp = strrchr( psz_fname, DIRECTORY_SEPARATOR );
if( tmp )
{
int dirlen = 0;
f_fname = malloc( strlen(tmp) );
if( f_fname )
strcpy( f_fname, tmp+1 ); // we skip the separator, so it will still fit in the allocated space
dirlen = strlen(psz_fname) - strlen(tmp) + 2; // add the separator
f_dir = malloc( dirlen + 1 );
if( f_dir != NULL )
strlcpy( f_dir, psz_fname, dirlen );
}
else
{
/* Get the current working directory */
int dirlen;
#ifdef HAVE_UNISTD_H
f_dir = getcwd( NULL, 0 );
#endif
if( f_dir == NULL )
{
if( psz_fname_original ) free( psz_fname_original );
return NULL;
}
dirlen = strlen( f_dir );
f_dir = (char *)realloc(f_dir, dirlen +2 );
f_dir[dirlen] = DIRECTORY_SEPARATOR;
f_dir[dirlen+1] = '\0';
f_fname = FromLocaleDup( psz_fname );
}
Code: Select all
#if defined( WIN32 )
#define DIRECTORY_SEPARATOR '\\'
#else
#define DIRECTORY_SEPARATOR '/'
#endif
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\ <=======================????
it's simple and work ! very good program for Dreambox users ... and ppl who need subtitle it's a kind of nightmare !!!and what is this mysterious "VLC frontend on dreambox" ?
about path I check any place (movie directory...vlc...specific path)with language C, \ escape the next character so we need to use '\\' instead of '\'
about your issue, what happens if you launch vlc from the directory where your sub & movie are ?
Code: Select all
main debug: adding playlist item `E:\Video\Movies\300 CD2.avi' ( E:\Video\Movies\300 CD2.avi )
Code: Select all
main debug: adding playlist item `E:/Video/Movies/300 CD2.avi :sout=#transcode{vcodec=mp2v,soverlay,senc,vb=8192,width=704,height=576,fps=25,acodec=mpga,ab=192,channels=2,audio-sync}:std{access=http,mux=ts,dst=:9090/dboxstream}' ( E:/Video/Movies/300 CD2.avi )
Return to “VLC stream-output (sout)”
Users browsing this forum: No registered users and 18 guests