0 B output file due to wrong detection of stream duration

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pim
New Cone
New Cone
Posts: 9
Joined: 12 Mar 2009 10:27

0 B output file due to wrong detection of stream duration

Postby pim » 23 Jul 2009 15:18

Workaround: server of czech television http://www.ceskatelevize.cz/ivysilani/ offers online archive of its own production.

When is extracted .asx of the stream from source code of html page, it includes duration of the stream. Example:
<ASX VERSION = "3.0"><PARAM NAME="encoding" VALUE="utf-8" /><ENTRY><REF HREF="http://ctwm.visual.cz/iVysilani.Archive ... ske&LIVE=0" /><DURATION VALUE="02:01:41" /><TITLE>Rozloučení s Waldemarem Matuškou</TITLE></ENTRY><TITLE>Rozloučení s Waldemarem Matuškou</TITLE></ASX>
(The exact address is randomly generated and works only once, so reload of the web page is needed after each playback.)

When this .asx is inserted into VLC, it detects different duration (02:02:29 in this case).

Problem: If user tries to transcode and save the stream using VLC's capabilities and the detected duration of the stream is longer than the real one (included in .asx), VLC sets file size of the final output to 0 bytes (Manual stop before stream ends prevents this, so file remains playable) . When detected duration is shorter then real, it just cuts off the end of the stream, but output file is at least readable.

This behavior is platform independent.

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests