Colours Messed Up When Streaming Video

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
perfectmark
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 01:16
Location: London, UK

Colours Messed Up When Streaming Video

Postby perfectmark » 04 Jan 2004 14:59

I am streaming TV from my WinTV card (PAL) to the other computers on my network. But the colours are all messed up, if I adjust the Hue on the client machines, the colours look a lot better, but not perfect. Does anyone know how to solve this.

My Server uses Windows 2000pro, the clients are a mixture of Mac OS X and Windows 2000pro. I am using VLC 0.7 on all machines and streaming using MEPG TS Encapsulation, with MPV4 video and MPGA Audio.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 04 Jan 2004 15:20

And if you don't stream but watch directly? how are the colors then?
Don't use PMs for support questions.

perfectmark
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 01:16
Location: London, UK

Postby perfectmark » 04 Jan 2004 15:50

The colours are fine if I just watch the TV directly.

Marco

Postby Marco » 08 Jan 2004 11:58

I have the same problem, with my TV Card HAUPPAUGE WinTv Primio. If I watch directly the TV, it's all OK! But if I select VIDEO COMPRESSION, to save the stream or to transfer it to my notebook, the colours aren't correct. Instead, if i make the same thing from DVD Source or a MPG file also the video compression is OK!

I am using Windows XP Pro and VLC 0.7 on all machines and streaming using MEPG TS Encapsulation, with MPV4 video and MPGA Audio.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 08 Jan 2004 14:25

Have a look at the logs in the "Messages" window (needs to be opened before playing). You should find a list of formats supported by your input card. Have a look at the different "chromas" it supports and try to force them in the dshow section of the preferences panel.

Could you also paste the full log messages here ?

Marco

Postby Marco » 08 Jan 2004 16:29

Thanks a lot for your help!!! Now all is OK!!!

Guest

Postby Guest » 08 Jan 2004 17:52

Great!

Could you still paste a full log here (for the default chroma) so I can fix the problem ?

Marco

Postby Marco » 08 Jan 2004 22:56

This is the default log, before changes.

main debug: adding playlist item « dshow:// » ( dshow:// )
main debug: creating new input thread
main debug: set input option: sout to #transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=display}
main: playlist item `dshow://'
main debug: waiting for thread completion
main debug: access `dshow', demux `', name `'
main debug: stream=`transcode'
main debug: looking for sout stream module
main debug: probing 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module
main debug: probing 1 candidate
stream_out_duplicate debug: creating a duplication
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module
main debug: probing 1 candidate
main debug: using sout stream module "stream_out_display"
main debug: using sout stream module "stream_out_duplicate"
stream_out_transcode debug: codec audio=mpga 0Hz 2 channels 187Kb/s
stream_out_transcode debug: codec video=mp4v 0x0 scaling: 1.000000 1000kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: looking for access module
main debug: probing 8 candidates
main debug: thread 3376 (input) created at priority 15 (src/input/input.c:257)
dshow debug: found device: Hauppauge WinTV Capture
dshow debug: using device: Hauppauge WinTV Capture
dshow debug: EnumDeviceCaps: pin Capture
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:384, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:768, height:576
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:384, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:768, height:576
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:320, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:384, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:768, height:576
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: YVU9, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YVU9, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YVU9, width:384, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: YVU9, width:768, height:576
dshow debug: EnumDeviceCaps: input pin accepts chroma: YVU9, width:320, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:384, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:768, height:576
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:320, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: YV12, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YV12, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YV12, width:384, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: YV12, width:768, height:576
dshow debug: EnumDeviceCaps: input pin accepts chroma: YV12, width:320, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:384, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:768, height:576
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:320, height:288
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: connecting filters
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::QueryInternalConnections
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 3)
dshow debug: CaptureFilter::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::EnumMediaTypes
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CaptureEnumMediaTypes::Reset
dshow debug: CaptureEnumMediaTypes::Next
dshow debug: CaptureEnumMediaTypes::Release (ref: 1)
dshow debug: CaptureEnumMediaTypes::~CaptureEnumMediaTypes
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::ReceiveConnection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::GetAllocatorRequirements
dshow debug: CapturePin::GetAllocator
dshow debug: CapturePin::NotifyAllocator
dshow debug: MEDIATYPE_Video
dshow debug: found device: NVIDIA(R) nForce(TM) Audio
dshow debug: found device: Periferica wave SB Live!
dshow debug: found device: Registrazione linea #0 modem
dshow debug: found device: Registrazione linea #1 modem
dshow debug: found device: Registrazione ricevitore #0 mo
dshow debug: found device: Registrazione ricevitore #1 mo
dshow debug: using device: NVIDIA(R) nForce(TM) Audio
dshow debug: EnumDeviceCaps: pin Capture
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:96000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:96000 bits/sample:16
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: connecting filters
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::QueryInternalConnections
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 3)
dshow debug: CaptureFilter::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::EnumMediaTypes
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CaptureEnumMediaTypes::Reset
dshow debug: CaptureEnumMediaTypes::Next
dshow debug: CaptureEnumMediaTypes::Release (ref: 1)
dshow debug: CaptureEnumMediaTypes::~CaptureEnumMediaTypes
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::ReceiveConnection
dshow debug: CapturePin::GetAllocatorRequirements
dshow debug: CapturePin::NotifyAllocator
dshow debug: MEDIATYPE_Audio
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
message warning: message queue overflowed
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder MPEG-4
main debug: using encoder module "ffmpeg"
main debug: unlocking module "ffmpeg"
main debug: looking for encoder module
main debug: probing 12 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder MPEG-4
main debug: using encoder module "ffmpeg"
main debug: selecting ES 0xc
main debug: looking for decoder module
main debug: probing 19 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4) started
main debug: using decoder module "ffmpeg"
main debug: thread 3712 (decoder) created at priority 0 (src/input/input_dec.c:166)
main debug: no usable vout present, spawning one
main debug: looking for video output module
main debug: probing 4 candidates
vout_directx debug: creating DirectXEventThread
main debug: waiting for thread completion
vout_directx debug: DirectXCreateWindow
vout_directx debug: Created video sub-window
main debug: thread 3668 (DirectX Events Thread) created at priority 0 (directx.c:208)
vout_directx debug: DirectXEventThread running
vout_directx debug: DirectXInitDDraw
vout_directx debug: DirectXEnumCallback: Driver video primario, display
vout_directx debug: screen dimensions (0x0,1280x1024)
vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=0 colorkey=1 stretch=1 bltfourcc=1
vout_directx debug: End DirectXInitDDraw
vout_directx debug: DirectXCreateDisplay
vout_directx debug: DirectXCreateClipper
main debug: using video output module "vout_directx"
main debug: looking for text renderer module
main debug: probing 3 candidates
freetype debug: Using fontsize: 15
main debug: using text renderer module "freetype"
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
main debug: waiting for thread completion
vout_directx debug: YUV overlay created successfully
vout_directx debug: End NewPictureVec (succeeded)
main debug: got 1 direct buffer(s)
main debug: picture in 320x240, chroma 0x30323449 (I420), aspect ratio 4:3
main debug: picture out 320x240, chroma 0x32315659 (YV12), aspect ratio 4:3
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 3632 (video output) created at priority 1 (src/video_output/video_output.c:471)
main debug: adding a new input
stream_out_transcode debug: creating audio transcoding from fcc=`s16l' to fcc=`mpga'
main debug: looking for encoder module
main debug: probing 12 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder MPEG Audio layer 1/2
main debug: using encoder module "ffmpeg"
main debug: selecting ES 0xc
main debug: looking for decoder module
main debug: probing 19 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 3600 (decoder) created at priority 2 (src/input/input_dec.c:166)
mpeg_audio: MPGA channels:2 samplerate:44100 bitrate:192
main debug: looking for audio output module
main debug: probing 4 candidates
aout_directx debug: OpenAudio
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: couldn't use hardware sound buffer
aout_directx debug: creating DirectSoundThread
main debug: thread 4056 (DirectSound Notification Thread) created at priority 15 (directx.c:357)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module
main debug: probing 3 candidates
main debug: using audio mixer module "float32_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
main debug: probing 21 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
main debug: probing 21 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion

____________________________________________________

Then, setting in the preferences panel, modules/access/dshow/

Resolution = 320x240
Chroma = RV32

now all is OK when I select video compression, but in direct stream I have the same problem that happended before with compression. It isn't a problem, if I want watch TV directly It's sufficient setting the default parameters.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests