Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

command line recording of video and/or MythTV backend setup

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
cyberlala
n00b
n00b
Posts: 5
Joined: Sun Nov 16, 2003 7:08 am
Location: Edmonton, AB, Canada

command line recording of video and/or MythTV backend setup

  • Quote

Post by cyberlala » Sun Nov 16, 2003 7:27 am

I just read the previous post about recording audio without running XWindows, but I'm interested in recording shows over shell commands.

I have tvtime working properly. I've tried to set up MythTv but cannot get back end completely configured (keeps telling me to run ./setup, but I cannot find where ./setup is supposed to be)

I would appreciate any help I can get on this.

Thanks in advance
Top
CheshireCat
Guru
Guru
User avatar
Posts: 572
Joined: Sun Aug 25, 2002 11:06 pm

  • Quote

Post by CheshireCat » Sun Nov 16, 2003 2:00 pm

Gentoo installs the file you're looking for as /usr/bin/mythsetup. Good luck w/ MythTV, I've found it to be a great application so far.
Top
lbrtuk
l33t
l33t
User avatar
Posts: 910
Joined: Thu May 08, 2003 3:02 pm

  • Quote

Post by lbrtuk » Sun Nov 16, 2003 2:10 pm

MythTV is fantastic if you want a pvr, but not really ideal for just simple recording.

For simple commandline video recording, I reccomend ffmpeg.
Top
blueworm
l33t
l33t
Posts: 962
Joined: Fri May 09, 2003 3:21 pm

  • Quote

Post by blueworm » Sun Nov 16, 2003 8:51 pm

If you are looking for a commandline recording program try vcr

Code: Select all

emerge vcr
http://www.tldp.org/HOWTO/VCR-HOWTO.html
Top
J0rus
n00b
n00b
User avatar
Posts: 30
Joined: Tue May 27, 2003 5:41 am
Location: Maryland, USA

  • Quote

Post by J0rus » Mon Nov 17, 2003 2:31 am

I use mencoder which is part of the mplayer package. Here's a simple script I use to record shows:

Code: Select all

root@node-2: pts/1: 7 files 99Mb | cat recordtv.sh
#/bin/sh

z=$(($1*60))
nice -n -19 mencoder tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0:input=2:norm=ntsc:alsa:amode=1 -of avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=2500 -oac mp3lame -lameopts vbr=0:cbr=128:aq=6:mode=0 -o $2-`date +%d-%m-%y`.avi -endpos $z

Then I call it from my crontab like this:

Code: Select all

/path/to/recordtv.sh 60 show

The first variable is length of recording in minutes, second is show name which is automatically appended with the date and .avi.
If you have questions about the syntax check out the man/info pages for mencoder.
Oh, it's worth noting the above code works with mplayer 1.0pre1/2; don't think it's the same for older versions...

~J0rus
Top
Post Reply

5 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic