Page 1 of 1
No sound
Posted: 27 Mar 2007 17:05
by jontydog
I have vlc installed on 4 pcs in the house and the video works perfectly but I can't get any sound either locally or on the clients. I don't think its a codec problem as sound works in all my other video programs I am only having problems with VLC
Any advice gratefully received.
Posted: 28 Mar 2007 08:06
by DJ
It might be a good idea
to see that VLC works properly with your hardware on each of those machines before trying to use a client server arrangement over a local LAN.
Posted: 28 Mar 2007 14:21
by jontydog
Thanks for the reply DJ. Ok had another play this morning using an avi file off the server full sound works fine and dandy on all machines so I will go into a bit more detail. I am trying to stream from a Medion TV Card which is phillips based 7134 card all machines have windows xp and has a Technomate satellite receiver connected. Sound works fine when using dscaler to view it or chris tv but can't any sound from vlc when using it. All I get when using the tv card is crackling.
Posted: 28 Mar 2007 20:45
by DJ
VLC is a packet based player that likes to have control of the stream and as such transcoding is required. I would first suggest that you try streaming a file. If there are issues here, transcode the source to a local file and play back the result checking Messages. Correct the issues and try again. As far as VLC is concerned there is no difference between transcoding to file and streaming.
Now, to stream a capture device depends on the source format. Most generally this is raw video with PCM audio. The audio and video must be working error free in VLC (check Messages). Then try transcoding to file using Div3 and MP3 in a ASF container. If this works (check Messages) try streaming the file and then try streaming capture device with the same settings.
Posted: 29 Mar 2007 05:17
by jontydog
Cheers for the reply DJ will try that. Streaming a divx file works fine on each pc so I assume it is something to do with the transcoding of the capture card. If I play the capture card locally on the pc I don't get any sound so I will have a play with the settings again although I thought I had tried all of them I have obviously missed something somewhere.
Posted: 29 Mar 2007 12:51
by DJ
You must be able to get sound from the source before transcoding or streaming.
Posted: 29 Mar 2007 15:33
by jontydog
thanks again DJ. I think I have found the problem but don't know how to rectify it. The problem seems to be direct x related. I get the same result if I use chris tv and dscaler with directx but its fine using dscalers own drivers.
Posted: 29 Mar 2007 17:47
by jontydog
managed to get sound from the source using different pin connections in the dshow settings. Getting there very slowly
Posted: 04 Apr 2007 01:35
by xcesarfrancox
Hi, I have a similar problem, I'm a very very novice user, I just installed VLC, and I only get sound on avi, flv, and ogm, I have opened mpg, mpeg, m2v, wmv, and I have this problem: some files, doesn't sound at all, in others it sounds the first miliseconds of the audio track and then no audio until the end, of some others have audio glitching....
what should I do??
Posted: 04 Apr 2007 08:32
by DJ
All digital video is follow audio for sync. If the audio card is not taking control from the program or not controlling the video there will be problems. Try updating your audio drivers.
Posted: 04 Apr 2007 09:32
by xcesarfrancox
Mmm I'm sure it's not my drivers cause I have the latest version for my audio drivers... I think the issue is a matter of settings or configurations... maybe??
Posted: 04 Apr 2007 11:07
by DJ
If the sound device is Realtek or Audigy it is even more probable at this point. But everything you describe points to drivers.
Realtek requires downgrading and Audigy requires third party drivers.
Posted: 05 Apr 2007 00:49
by xcesarfrancox
Its none of that... I have a VIA chipset, (MSI K8MM):
Audio
• 6 channels software audio codec VIA VT1617A
- Compliance with AC97 v2.3 Spec.
- Meet PC2001 audio performance requirement.
And I have the latest version... and I get perfect playing of my videos on other players like nplayer and bsplayer... even windows media player and winamp... what can I do?
Posted: 05 Apr 2007 10:48
by DJ
First time I have heard of this chipset. Reading the information, the drivers appear to address a special codec for Windows. It is doubtful this will work with VLC.
No Sound in VLC
Posted: 06 Apr 2007 20:37
by gaurav_dm
Hi,
I created an mpeg2-ts file using ffmpeg (vcodec=mpeg2video, acodec=mp2, sampling= 44.1khz, ac=2, ab=192kbps, f=mpegts). When I created a vod asset out of this file in the VLC server and tried to stream it to a vlc client, I get no sound. I get only video.
What could be the problem? Can you please guide me.
Regards,
Gaurav
Posted: 06 Apr 2007 20:42
by DJ
Depending on the source format and the transcode format you may need the command samplerate=<rate> in order for the sound to actually transcode. See messages for errors during the transcode or stream.
Audio problem
Posted: 06 Apr 2007 20:51
by gaurav_dm
The Source format is FLV and the transcode format is mpeg2video encapsulated with mpegts.
I use the following command to generate the mpeg2-ts file:
ffmpeg.exe -i 50371_700.flv -f mpegts -vcodec mpeg2video -b 3000k -qscale 3 -minrate 3000k -maxrate 3000k -bufsize 2000k -r 3
0000/1001 -acodec mp2 -ab 224 -ar 44100 -ac 2 50371_mp2_TS_1.mpg
This is the output of the transcode process:
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 29.92 (359/12)
Input #0, flv, from '50371_700.flv':
Duration: 00:01:18.0, start: 0.000000, bitrate: 32 kb/s
Stream #0.0: Video: flv, yuv420p, 320x240, 29.92 fps(r)
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s
Output #0, mpegts, to '50371_mp2_TS_1.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 320x240, q=2-31, 3000 kb/s, 29.97 fps
Stream #0.1: Audio: mp2, 44100 Hz, stereo, 224 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 2334 q=3.0 Lsize= 32449kB time=77.8 bitrate=3414.8kbits/s
video:28459kB audio:2133kB global headers:0kB muxing overhead 6.071573%
Posted: 06 Apr 2007 21:00
by DJ
This is a VLC for Windows forum, not a FFmpeg forum. Try posting your question in the proper forum and you may get an answer. The command structure is different in VLC than it is using FFmpeg directly.
Posted: 06 Apr 2007 21:04
by gaurav_dm
I agree that the command structure could be different. I presumed that the mpeg2ts produced by vlc or ffmpeg could be the same as vlc eventually uses ffmpeg behind the scenes ..correct?
Is there a way to see the command line statements when executing something on the VLC GUI?
Let me know.
Thanks,
Gaurav
Posted: 07 Apr 2007 07:51
by ricosalazar
i converted an AVI file to WMV some play but i have 4 files that have no sound. there is one when i play it as an AVI but once its converted to WMV it just disappears? got any ideas??