[MPlayer-users] no sound while watching tv with mplayer
Duane Evenson
devenson at shaw.ca
Sun Jun 20 04:43:02 CEST 2004
Me too!
Watching TV was OK, and I heard it while encoding. I finally found the
problem and a work-around.
my command looked something like this:
mencoder -tv
on:driver=v4l:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=8
-ovc lavc -lavcopts vcodec=mpeg4:v4mv -vop pp=lb -oac mp3lame -lameopts
cbr:br=64 -endpos 5 -o vcr-test.avi
Upon upgrading, I first changed the line to this:
mencoder -tv
driver=v4l:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=8
tv:// -ovc lavc -lavcopts vcodec=mpeg4:v4mv -vop pp=lb -oac mp3lame
-lameopts cbr:br=64 -endpos 5 -o vcr-test.avi
but got no sound. Then I removed the lameopts:
mencoder -tv
driver=v4l:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=8
tv:// -ovc lavc -lavcopts vcodec=mpeg4:v4mv -vop pp=lb -oac mp3lame
-endpos 5 -o vcr-test.avi
and I got the following output:
...
MP3 audio selected
Building audio filter chain for 44101Hz/1ch/16bit -> 44101Hz/1ch/16bit...
Writing AVI header...
ODML: vprp aspect is 4:3.
Forcing audio preload to 0, max pts correction to 0
Pos: 5.0s 149f ( 0%) 29fps Trem: 0min 0mb A-V:0.000 [865:0]]
Writing AVI index...
Fixing AVI header...
ODML: vprp aspect is 4:3.
Video stream: 865.661 kbit/s (108207 bps) size: 541580 bytes 5.005
secs 149 frames
Audio stream: nan kbit/s (-2147483648 bps) size: 0 bytes 0.000 secs
MJP: returning!
I tried lavc with acodec=mp2, mp3, ac3, and adpcm_ima_wav. Mencoder
wouldn't work except with adpcm_ima_wav, which produced noisy sound
(probably a fix for that but not tonight).
Using the pcm codec does seem to work, resulting in probably much larger
files.
Thus my final command looks like this:
mencoder -tv
driver=v4l:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=8
tv:// -ovc lavc -lavcopts vcodec=mpeg4:v4mv -vop pp=lb -oac pcm -endpos
5 -o vcr-test.avi
This works for now. I hope all those incredibly smart people who've been
in this mailing-list more than a day :) and know what the problem is,
can tell us what we're doing wrong so that we can use MP3 audio enocding
again.
Hint, hint, nudge, nudge... ;)
I hope this overly-verbose reply helps you.
utzkul wrote:
> hy,
> after i updated my mplayer to MPlayer 1.0pre4-3.3.3
> i have no sound while watching tv.
>
> befor the update i started mplayer with:
> #mplayer -tv on:driver=bsdbt848:device=/dev/bktr0:audioid=2:input=1
>
> after the update i switched the syntax to:
> #mplayer -tv driver=bsdbt848:device=/dev/bktr0:audioid=2:input=1 tv://
>
> i nothing changed in the mixer options!
> what goes wrong?
>
> thanks for help
>
>
> PLEASE HELP! I NEED SOUND! :(
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
More information about the MPlayer-users
mailing list