I have an issue with the audio when streaming TV tuner from Ubuntu 9.10.
A description on what happens on the system:
a) tvtime works ok.
b) vlc 1.0.2 standalone works partially: I have to give the width and height parameters for v4l2, otherwise the image size is not detected properly and I only get the distorted lower left corner of the TV channel. Also, audio is not closed when I close VLC (the sound system still plays the line-in values from the tuner). Plus, the video is not in sync with the audio.
c) when streaming with vlc from command line, I'm using this script:
Code: Select all
new vlc42 broadcast enabled
setup vlc42 input "v4l2://"
setup vlc42 option :v4l2-width=480
setup vlc42 option :v4l2-height=384
setup vlc42 option :v4l2-tuner-frequency=203250
setup vlc42 option http-reconnect
setup vlc42 output #transcode{venc=x264,vcodec=h264,fps=25,vb=800,scale=1,acodec=mp3,ab=96,channels=1,samplerate=44100}:std{access=http,mux=ts,dst=0.0.0.0:1234}
I've also tried to play with adev, audio-method, etc, no luck. Don't know what values I should be using, but for adev I tried /dev/audio1, /dev/dsp1, etc.
It's Ubuntu 9.10 - no debian-multimedia in apt sources list, using default pulseaudio driver (no alsa installed), user is member of the audio and video groups.
Any idea why ?
Thank you,