recording sound from pcm along with tv by mencoder
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
but the sound isnt recorded correctly. The tv tuner card comes out thru this binding:
Code:
sox -t alsa hw:1,1 -t alsa hw:0,0
The above line allows the sound of sound card to comeout from the speaker
So I thought it has to do with line-in, http://inspirated.com/2007/04/05/als...e-with-mplayer.
But I followed everything on the blog but nothing worked. I must have done something incorrectly.
Thanks,
Ted
Lets start with some info.
Are you trying to record an analog NTSC TV broadcast, or a digital broadcast?
Do you want to capture the audio that is coming through your sound card, or the audio portion of the TV broadcast?
Can you play the TV broadcast with mplayer? If so post your command line.
Thanks for your reply! I am trying to record NTSC TV broadcast with TV tuner card, and the sound input is thru the TV sound card. Although I am not very sure with the exact procedure, but I believe sox -t alsa hw:1,1 -t alsa hw:0,0this binds the TV card to the pcm input of the sound card to play the sound, the sound changes as I switch between channels. Since the sound could be played, I believe its technicallly possible to record the sound input, but not sure about whether I could get the sound in the same avi file (best if it could) or a separate sound file (if there is no better choice).
So far there is no problem playing TV bc with mplayer and the picture sound both show up fine. I could now record picture with mencoder but not with the sound.
If mplayer can play it, you can dump it's output to file.
The audio from the tv card goes in to the sound card... You could make a loopback device and capture what is coming through line in, or what's coming out of the speakers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.