Error During Streams Muxing
Translation packages Support FAQ Forums Contribution Beta-testing Donate RSS Welcome Username: Password: Remember me [ Signup ] [ Forgot password? ] [ Resend Activation Email ] FAQRandom FAQI am not able to run the preview, why?RSS Feeds Our forum posts can be syndicated by using these rss feeds. DonationsYou can make a donation online using the button below if you have a credit card or a PayPal account.W3C Compliance Powered by Forums AVI ReComp Home Page :: Forums :: AVI ReComp :: Questions & Troubleshooting << Previous thread | Next thread >> Error during streams muxing Moderators: Krzychu, Prozac, munky-head, jrfer, Barough Author Post WK Mon, 02 Jul 2012, 11:37 AM Registered Member #2478 Joined: Sun, 12 Feb 2012, 07:13 AM Posts: 10 Hi. I have been using ARC to comp and hardsub my videos and the process has been very smooth. However, yesterday, a problem popped upThis is part of my log:**2/7/2012 3:18:57 AM** Muxing streams...**2/7/2012 3:18:59 AM** Muxing failed **2/7/2012 3:18:59 AM** EXCEPTION: Error during streams muxing!**2/7/2012 3:18:59 AM** Error message: "The function DeleteComments was called on a stream[?] that hasn't been previously initialized with SetSource." - Probably the source file contains invalid (corrupted) audio stream.**2/7/2012 3:18:59 AM** Temporary files have been protected against being deleted.So I went looking around in the forum to see if anyone has this problem and I found some possible solutions to the problem: According to danielk,"As I Said Before ,Best Way To Fix This Problem ,Is:1.Open The Original File With VirtualdubMod2.In Audio -->Streamlist ,Save The Sound As Wav3.Use Besweet ,With BesweetGui(Can Found On VideoHelp.com)4.Re-Encode The Audio To MP3/AC35.Open The "Picture" File In The Temp Directory That avirecomp Made WithVirtualDubMod(The File Is Without Sound!!)6.Go to Audio--> Streamlist ,And Add the AudioFile just Maded With Besweet7.In The Video Section ,Choose Direct Stream Copy ,And Save It As Avi."I tried his method but I got stuck at the BesweetGui step.I followed the Besweet guide here: But I cant get the audio I wanted. The
Stable: Expect patches, possible http://www.avirecomp.com/e107_plugins/forum/forum_viewtopic.php?5759 features additions. Example var MuxDemux = require('mux-demux')var net = require('net') net.createServer(function (con) { con.pipe(MuxDemux(function (stream) { stream.on('data', console.log.bind(console)) })).pipe(con)}).listen(8642, function () { var con = net.connect(8642), mx con.pipe(mx = MuxDemux()).pipe(con) var ds = mx.createWriteStream('times') setInterval(function () { ds.write(new Date().toString()) }, 1e3)}) Binary Support By encoding JSON as msgpack, binary is supported. just require from mux-demux/msgpack instead https://www.npmjs.com/package/mux-demux of mux-demux. var MuxDemux = requrie('mux-demux/msgpack') Gotchas take care to create a MuxDemux instance per connection, do not connect many connections to one `MuxDemux'. Right net.createServer(function (stream) { stream.pipe(MuxDemux(function (_stream) { }).pipe(stream)}).listen(port) WRONG! var mx = MuxDemux()net.createServer(function (stream) { //this will connect many streams to the OUTER MuxDemux Stream! stream.pipe(mx).pipe(stream)}).listen(port) Errors, and use in PRODUCTION mux-demux parses a JSON protocol, and so you must handle any errors that may result from someone connecting, and sending invalid data. net.createServer(function (stream) { var mx = MuxDemux() stream.pipe(mx).pipe(stream) mx.on('error', func
send multiple Streams over one connection. It uses Buffers to send data on the TCP channel. So the overhead is minimal. To error during create a MuxServer (tcp server): var Muxer = require('tcp-stream-muxer');var server = new Muxer.MuxServer(12345); To create a MuxClient (tcp client): var Muxer = require('tcp-stream-muxer');var server = new Muxer.MuxClient(12345); The MuxServer is an EventEmitter with following events: connection - Emits when a new error during streams Client connects to a MuxServer The connection also is an EventEmitter: stream - Emits if the Client creates a new Stream Each Stream has a EventEmitter: data - The data that comes out of the stream end - If the Stream gets terminated Each one, the Server and the Client, have a StreamPool per Connection. To access it you need a connection on the server. Creating new Streams in tcp-stream-muxer: Server: var Muxer = require('tcp-stream-muxer');var server = new Muxer.MuxServer(12345);server.on('connection', function(con) { //Here you can access the connection StreamPool and create Streams con.StreamPool.createStream({type: "update", file: "xy.js"}, function (stream) { stream.write(new Buffer("console.log('Hello');")); };}); The client that accepts this stream: var Muxer = require('tcp-stream-muxer');var client = new Muxer.MuxClient(12345, function() { client.on('stream', function(stream) { console.log(stream.meta); //{type: "update", file: "xy.js"} stream.on('data', function (data) { console.log(data.toString()); //console.log('Hello'); }; });}); Client: var Muxer = require('tcp-stream-muxer');var client