Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-14-2004, 10:45 AM   #1
Registered: Apr 2004
Location: Argentina
Distribution: Mandrake 10
Posts: 61

Rep: Reputation: 15
Streamer and DivX. How?

I would like to record from my tv tuner in a DivX file. Until now, I use streamer and save the movei in mjpeg but the resulting file size is too big.

I use Mandrake 10 Official (if this matters) :-)

Well, thank you very much.
Old 05-15-2004, 05:57 PM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
I use a small script I wrote that uses mencoder, I believe it only works with the older of mplayer/mencoder, prior to 1.x, but here it is:
#This script is simply a very long mencoder laundry list of
#options to enable a very clean recording from a TV-in source
#such as a WinTV Go card using the bttv driver.

#Suggested from jharris, from this thread:
#Example for use:
#Place mentv in your $PATH and run:
#mentv <channel> <filename>
#If your show is on channel 11, and you want to name it Snow.avi, then:
#mentv 11 Snow.avi
#Edit the -o option to your desired path, keeping $2 so Snow.avi works.

/home/masterc/downloads/MPlayer-0.90rc5/mencoder -tv \
udio:amode=1:forcechan=1:adevice=/dev/dsp \
-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1200:vme=5 \
-oac mp3lame -lameopts cbr:br=128 -vop scale=512:340,pp=tn/lb -sws 1 \
-o /mnt/var/tv/$2
As you can see I use the binary mencoder from inside the older mplayer source directory after I compiled it, I did this because of the necessity of the way to write the options for mencoder 1.x versus the older 0.9x as shown above.

The resulting show, assuming it's 1 hour, is ~700MB, just enough to fit on a CD

Old 05-20-2004, 12:41 PM   #3
Registered: Apr 2004
Location: Argentina
Distribution: Mandrake 10
Posts: 61

Original Poster
Rep: Reputation: 15

Thanks for the help but, Can I record directly in DivX?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I record in DivX with Streamer? glore Linux - Software 2 05-25-2004 10:39 AM
Recording in DivX with Streamer glore Linux - Software 3 05-14-2004 07:42 PM
streamer --help lackluster Linux - Software 1 01-06-2003 08:11 PM
XawTv's Streamer ohrock Linux - Software 2 10-29-2002 12:55 PM
Any distro:DiVX Linux version:DivX codec compatible player? sewer_monkey Linux - Software 16 05-19-2002 07:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration