LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-14-2004, 11:45 AM   #1
glore
Member
 
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, 06:57 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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:
Code:
#!/bin/bash
#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:
#http://www.linuxquestions.org/questi...109#post285109
#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 \
on:chanlist=us-bcast:channel=$1:driver=v4l:width=640:height=480:norm=ntsc:forcea
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

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

Original Poster
Rep: Reputation: 15
DivX?

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

Thanks.
 
  


Reply


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 11:39 AM
Recording in DivX with Streamer glore Linux - Software 3 05-14-2004 08:42 PM
streamer --help lackluster Linux - Software 1 01-06-2003 09:11 PM
XawTv's Streamer ohrock Linux - Software 2 10-29-2002 01:55 PM
Any distro:DiVX Linux version:DivX codec compatible player? sewer_monkey Linux - Software 16 05-19-2002 08:03 AM


All times are GMT -5. The time now is 06:00 AM.

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