Other output messing the binary Stdout?

About encoding, codec settings, muxers and filter usage
Polyphem
Blank Cone
Blank Cone
Posts: 15
Joined: 14 Nov 2005 09:35

Other output messing the binary Stdout?

Postby Polyphem » 15 Nov 2005 17:55

Hello Folks,

currently playing around with the binary Stdout option an run into a problem.

When I use
standard{access=file,mux=asf,url='test.mpeg'}

the resulting local file is healthy and plays in VLC and WMP. When I try to capture the binary output from Stdout with

standard{access=file,mux=asf,url=-}

and than create the movie with an external program, it is corrupted. I took hex look at the binaries and it seems that 99.9% are identical. Only in the top 2-3 header rows and the bottom 2-3 footer rows the Stdout file looks sligtly different.

Anyone had this problem before? Is it possible that VLC mixes other Stdout output into the stream? Invoked it with -q, but are there other parameters to tell VLC to shut up?

Many thanks in advance,
Polyphem

Polyphem
Blank Cone
Blank Cone
Posts: 15
Joined: 14 Nov 2005 09:35

Postby Polyphem » 15 Nov 2005 23:25

I looked up the Stdout function here:
https://trac.videolan.org/vlc/file/trun ... put/file.c

Is it possible that these:

msg_Dbg( p_access, "using stdout" );
msg_Dbg( p_access, "file access output opened (`%s')", p_access->psz_name );
msg_Dbg( p_access, "file access output closed" );

come in my way? Are they also parsed to the Stdout and I have to deactivate them somehow, or do those Messages need to be invoked by a special debug option (which I did not found until now)?

Cheers

Polyphem
Blank Cone
Blank Cone
Posts: 15
Joined: 14 Nov 2005 09:35

Postby Polyphem » 16 Nov 2005 12:46

Thought that it might be an issue with video, but with mp3 it's the same.

Tried with mp3 to:
{access=file,mux=raw,url='-'}

and received a working but very choppy file, but

{access=file,mux=raw,url='target.mp3'} worked fine.

Also
{access=file,mux=raw,url='-'} 1>target.mp3
delievered the same choppy mp3.

Invoked all with --quiet, running on WinXP pro, 0.8.5-svn-20051111-001 Janus.

Guest

Postby Guest » 26 Dec 2005 06:03

Tried with mp3 to:
{access=file,mux=raw,url='-'}

and received a working but very choppy file, but

{access=file,mux=raw,url='target.mp3'} worked fine.
I tried this, and it worked fine really.

vlc aMPCsong.mpc :sout=#transcode{acodec=s16l,ab=512,channels=2}:duplicate{dst=std{access=file,mux=wav,url=" - "}} | lame - > aMP3song.mp3

Trick being that the output is shaped into standard wav, s16l

Diddeleedoo


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests