vlc-0.9.0-win32.exe(trunk-20080804-0005) transcode fail ><||

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
cybercockroach
Blank Cone
Blank Cone
Posts: 19
Joined: 11 Jul 2008 03:35

vlc-0.9.0-win32.exe(trunk-20080804-0005) transcode fail ><||

Postby cybercockroach » 04 Aug 2008 04:24

Dear VLC Developers:
I am doing some transcode tests, but fail, and i miss something?? list below is the test code. and I also test the vlc media player, and get the same results.

vcodec=mp2v, mux=ts=====>get hang ><
vcodec=mp2v, mux=ps=====>get hang ><
vcodec=mp4v, mux=ts=====>works, but when i close the vlc media player by click left upper X button, the vlc media player crash.
vcodec=mp4v, mux=ps=====>works, but when i close the vlc media player by click left upper X button, the vlc media player crash.
vcodec=mp4v, mux=asf=====>works, but when i close the vlc media player by click left upper X button, the vlc media player crash.
vcodec=h264, mux=ts=====>ie crash, vlc media player test also crash.

any ideas?



<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="WebIPFinder.test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">

<table>
<tr>
<td>
<!-- vlc player -->
<div id="CH1" style="width:352px;height:240px;background:blue">
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
width="400" height="300" id="VLCH1" >
</object>


</div>
</td>


</tr>
</table>




<script type="text/javascript">

var options = [":no-overlay", ":no-one-instance"];

document.VLCH1.playlist.add("rtsp://192.168.90.12/mpeg4/media.amp", null, options);
document.VLCH1.playlist.play();



function Button1_onclick() {
var myopts = [":sout=#transcode{vcodec=mp4v}:duplicate{dst=display,dst=std{access=file,mux=ps,dst=c:/output1.wmv}}"];


document.VLCH1.playlist.add("rtsp://192.168.90.13/mpeg4/media.amp", null, myopts);

document.VLCH1.playlist.togglePause();
document.VLCH1.playlist.togglePause();
document.VLCH1.playlist.next();

}

function Button2_onclick() {

document.VLCH1.playlist.stop();

}


</script>
<p><input id="Button1" type="button" value="button" onclick="return Button1_onclick()" /></p>
<p><input id="Button2" type="button" value="button" onclick="return Button2_onclick()" /></p>



</form>
</body>
</html>

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-0.9.0-win32.exe(trunk-20080804-0005) transcode fail ><||

Postby Jean-Baptiste Kempf » 04 Aug 2008 19:37

Fill a bug.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 24 guests