mp2v Not working on stream?

About encoding, codec settings, muxers and filter usage
archades
New Cone
New Cone
Posts: 4
Joined: 15 Dec 2005 13:10

mp2v Not working on stream?

Postby archades » 15 Dec 2005 13:39

basically i just started using this program, took a while to understand it all but i get the jist,however when i try to http, encapsulate with mpeg 2 ts, the Mp2v stream never seems to work when transcoding.
im using a hauppage pvr and windows version of vlc.
the mpg file swork on both pc's when i record tv, and when i set vlc to output stream and play locally with no transcoding, and mpeg-ts the video and sound works on the serving pc, but on the client pc it only gets audio. when i use mp4, and others it all works fine, but it doesnt seem to wanna work with the original stream.
anyone else ever have that problem? it SHOULD be just outputting the stream it gets from the card with no other encoding, im on gigabit network and reguarly watch recorded tv over network so theres no slowdown.

sorry for the spelling, quite tired :D

nifty lil program so far

wlarsong
Blank Cone
Blank Cone
Posts: 38
Joined: 09 Aug 2005 16:53

Postby wlarsong » 15 Dec 2005 21:39

Are you sure your card supports mp2v. I don't know why you would want to use that codec? But thats all I can gather from it. Any reason as to why you are using Http as opposed to UDP. Try UDP at MP2V perhaps your bitrate is to high?

Try UDP and see if it works...according to the documentation Mp2v sould work across HTTP.

bishamon
New Cone
New Cone
Posts: 5
Joined: 24 Nov 2005 06:14

Postby bishamon » 16 Dec 2005 03:15

can anyone suggest what's the best video and audio codec for streaming in HTTP or UDP? best means the fastest and most efficient.

for MPEG-TS, i've been using MJPEG and MP4a.

archades
New Cone
New Cone
Posts: 4
Joined: 15 Dec 2005 13:10

Postby archades » 16 Dec 2005 12:35

well im guessing it's mpeg-2 which is what the hauppage hardware encodes right? i want it to stream the exact same stream from the hardware card, so i dont need to waste cpu on encoding into a new stream. the other codecs i try seem to all use more cpu than i have avail athlon xp 2500+

ive tried udp but am still dumbfounded as to how to use it
ive tried no transcoding, transcoding, i select UDP and play locally, it works fine locally, but i cannot access it via my other pc

archades
New Cone
New Cone
Posts: 4
Joined: 15 Dec 2005 13:10

Postby archades » 16 Dec 2005 13:26

tried udp soem more, couldnt figure it out, tried http again, .wmv and audio etc still work, just not mp2v
also if i dont set buffer, it doesnt work
when i try use mp2v it says cannot open encoder, and then a heap of main warning: late buffer for mux input and resampling stopped after 90000 usec, and the stream and media info say codec: YUY2, res 720x576, 29.97fps, codec:araw audio 2 1411kb/s bits per sample 16

this is what i get on my player when trying it with no transcoding,
_____________________________________________________
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 3740 (input) created at priority 1 (src/input/input.c:230)
main debug: `http://192.168.0.47:1234' gives access `http' demux `' path `192.168.0.47:1234'
main debug: creating demux: access='http' demux='' path='192.168.0.47:1234'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='192.168.0.47:1234'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='192.168.0.47' port=1234 file='(null)
main debug: net: connecting to 192.168.0.47 port 1234
main debug: connection in progress
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access2 module "access_http"
main debug: pre buffering
main error: cannot pre fill buffer
main warning: cannot create a stream_t from access
main debug: unlocking module "access_http"
main debug: thread times: real 0m10.406250s, kernel 0m0.000000s, user 0m0.015625s
main debug: thread 3740 joined (src/input/input.c:386)
main warning: refcount is 1, delaying before deletion (id=395,type=-7)
main: nothing to play

___________________________________
and now with transcoding .mp2v and mp2a on my client machine
___________________________________
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4048 (input) created at priority 1 (src/input/input.c:230)
main debug: `http://192.168.0.47:1234' gives access `http' demux `' path `192.168.0.47:1234'
main debug: creating demux: access='http' demux='' path='192.168.0.47:1234'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='192.168.0.47:1234'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='192.168.0.47' port=1234 file='(null)
main debug: net: connecting to 192.168.0.47 port 1234
main debug: connection in progress
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access2 module "access_http"
main debug: pre buffering
main debug: received first data for our buffer
main debug: prebuffering done 9500 bytes in 0s - 22 kbytes/s
main debug: creating demux: access='http' demux='' path='192.168.0.47:1234'
main debug: looking for demux2 module: 40 candidates
main debug: using demux2 module "ts"
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: `http://192.168.0.47:1234' successfully opened
ts debug: pid[68] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=11209 version=7 current_next=1
ts debug: * number=1 pid=66
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=1 pid_pcr=68
ts debug: * es pid=68 type=3 fcc=mpga
main debug: selecting program id=1
main debug: looking for decoder module: 26 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 4356 (decoder) created at priority 2 (src/input/decoder.c:159)
ts warning: first packet for pid=68 cc=0xc
mpeg_audio debug: MPGA channels:2 samplerate:44100 bitrate:192
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: Realtek HD Audio rear output
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: creating DirectSoundThread
main debug: thread 3748 (DirectSound Notification Thread) created at priority 15 (directx.c:374)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 'fl32'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1262 bytes
main debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion


theres some reading for you


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 18 guests