[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Playing a file while it is being downloaded

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Playing a file while it is being downloaded

Problems, bugs, suggestions... anything related to SMPlayer.

Playing a file while it is being downloaded

Postby Slider2k » Fri Jan 11, 2013 10:43 am

VLC is able to start playback of a currently downloading file and play arriving data.
SMPlayer can't do that. You have to restart playback to be able to see new file data.

Really useful feature - starting video download and being able to play right off the bat without waiting for complete download.

PS. I think it's because (S)Mplayer doesn't account the filesystem state of files it opens. On file opening the (S)Mplayer inappropriately fixate the end of file for files that are still being written at.
Slider2k
 
Posts: 4
Joined: Fri Jan 11, 2013 9:51 am

Re: Playing a file while it is being downloaded

Postby rvm » Sat Jan 12, 2013 12:20 am

I think that happens only when the -idx option is used. You can disable it (uncheck "rebuild index if needed" in preferences -> advanced).
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Playing a file while it is being downloaded

Postby Slider2k » Sat Jan 12, 2013 11:55 am

That option is off (by default). Maybe there are related mplayer command line options?
Slider2k
 
Posts: 4
Joined: Fri Jan 11, 2013 9:51 am

Re: Playing a file while it is being downloaded

Postby DVV » Sun Jan 13, 2013 2:43 pm

Probably the file is being downloaded by several parts in parallel. Thus, when MPlayer gets to the end of the first downloaded part, it can not proceed playing because the file has a "hole" (probably filled by zero bytes) between downloaded parts there.

But I have another question here. I usually use wget for downloading and it downloads a whole file continuously. The file can be played up to the end of its downloaded data, but no seeking forward or backward is possible. Why? Other players - such as VLC or GOM - mostly allows to seek (navigate) within already downloaded part of the file.
DVV
 
Posts: 29
Joined: Sun Jan 13, 2013 2:26 pm

Re: Playing a file while it is being downloaded

Postby rvm » Sun Jan 13, 2013 2:49 pm

I think you can seek in those files with mplayer if using the lavf demuxer.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Playing a file while it is being downloaded

Postby Slider2k » Sun Jan 13, 2013 8:04 pm

Slider2k
 
Posts: 4
Joined: Fri Jan 11, 2013 9:51 am

Re: Playing a file while it is being downloaded

Postby Slider2k » Fri Jan 18, 2013 6:43 am

So, it appears there's no solution to the OP problem?
Will have to use VLC... :(
Slider2k
 
Posts: 4
Joined: Fri Jan 11, 2013 9:51 am

Re: Playing a file while it is being downloaded

Postby MacTheKnife » Fri Jan 18, 2013 9:25 pm

I do this all the time in Linux Mint with my HDHomerun (I'll start recording a show with my HDHR and then start viewing it while the HDHR continues to add data to the file). And I'll occasionally start watching something while Firefox (or the Downloadhelper extension) is still downloading.

Sounds to me like it's either your OS or the app that you use to download that's the issue.
MacTheKnife
 
Posts: 27
Joined: Thu Jan 14, 2010 8:58 pm


Return to General

Who is online

Users browsing this forum: No registered users and 126 guests