Audio Distorsion streaming flv in http

About encoding, codec settings, muxers and filter usage
airtek
Blank Cone
Blank Cone
Posts: 17
Joined: 06 Nov 2007 20:10

Audio Distorsion streaming flv in http

Postby airtek » 14 Dec 2008 02:22

Hi guys ,

I'm using vlc for streaming in http some flv files.

I follow two ways:

The first it's to encode in flv with ffmpeg , send the flv to the standard out and capture with vlc and streaming in http

this is the command line that I use:

ffmpeg -r 25 -i /var/www/filmakers/compressi/Thriller/access_road_of_a_mind/86.mpg -acodec libmp3lame -ar 44100 -ab 64k -ar 44100 -s 448x336 -b 500k -maxrate 750k -bufsize 3000k -mbd 2 -g 300 -flags trell+mv4 -r 25 -f flv - | vlc -vvv - --sout "#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=192.168.1.100:8080/stream.flv}

The second it's to use vlc for convert to vlc and stream in http too .

This is the command line:
vlc -vvv /var/www/filmakers/compressi/Thriller/access_road_of_a_mind/86.mpg --sout #transcode{vcodec=FLV1,acodec=mp3,samplerate=22050}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=192.168.1.100:8090/stream.flv}


( when I use thi s coomand I have a lot of this errors

(flv@0x81e9a10)
[00000492] avcodec encoder warning: vbv buffer overflow
(flv@0x81e9a10)
[00000492] avcodec encoder warning: vbv buffer overflow
(flv@0x81e9a10)
[00000492] avcodec encoder warning: vbv buffer overflow
(flv@0x81e9a10)


)

But If I see the video , with my local vlc , or a flv player , the audio it's strange it's artificial and has some artifacts and distortions , isn't natural how in the mpeg file .

I tryed with vlc 0.9.5 and 0.9.8.a compiled with this options , on my ubuntu 8.0.4 box :

./configure --enable-shout --disable-qt4 --disable-skins2 --disable-live555 --enable-theora --enable-twolame


How i can convert in flv without his audio problems?

Thanks for the help

Goodbye

Pierpaolo

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests