Debian Multimedia :: Force Mencoder To Stop Streaming?

Aug 12, 2010

Is there a way to instruct mencoder to stop streaming/recording after a specified period associated with a loss of signal?I use mencoder to record over-the-air television recordings. Most of the time there are no problems.Occasionally a station's transmission signal disappears, caused by quirky atmospheric conditions, usually at night.Noticing these signal outages is easy by the mencoder error message:dvb_streaming_read, attempt N. %x failed with errno %y when reading %z bytes"Lengthy outages are unbearable because mencoder silently waits forever rather than quit.The significant problem with lengthy signal outages is mencoder continues recording for the time specified by the -endpos parameter. Thus, for example, if the recording is scheduled for 2 hours and there is a 20 minute loss of signal, the recording does not end until 2 hours and 20 minutes after starting.

Generally, when the interruption is lengthy the recording is ruined and I don't care to watch. I would like to programmatically tell mencoder to stop waiting and quit.Is there a way to do this? Say, after ten minutes of no signal, just terminate.I do not notice any parameters that might offer that option, but I could be overlooking something obvious. I tried the -skiplimit parameter with no success.I am aware of the MPlayer/MEncoder Tips and Tricks thread.

View 2 Replies


ADVERTISEMENT

General :: How To Force Mencoder To Stop Streaming

Aug 11, 2010

Is there a way to instruct mencoder to stop streaming/recording after a specified period associated with a loss of signal?I use mencoder to record over-the-air television recordings. Most of the time there are no problems.Occasionally a station's transmission signal disappears, caused by quirky atmospheric conditions, usually at night.Noticing these signal outages is easy by the mencoder error message:dvb_streaming_read, attempt N. %x failed with errno %y when reading %z bytes"Lengthy outages are unbearable because mencoder silently waits forever rather than quit.

The significant problem with lengthy signal outages is mencoder continues recording for the time specified by the -endpos parameter. Thus, for example, if the recording is scheduled for 2 hours and there is a 20 minute loss of signal, the recording does not end until 2 hours and 20 minutes after starting.Generally, when the interruption is lengthy the recording is ruined and I don't care to watch. I would like to programmatically tell mencoder to stop waiting and quit.Is there a way to do this? Say, after ten minutes of no signal, just terminate do not notice any parameters that might offer that option, but I could be overlooking something obvious. I tried the -skiplimit parameter with no success.

View 11 Replies View Related

Debian Multimedia :: Up-to-date Binaries Of Mplayer, Mencoder And Ffmpeg

Mar 18, 2010

I'm wondering if anyone distributes mplayer, mencoder, and ffmpeg, up-to-date builds of each and their associated dependencies (x264, faac, xvid, etc).I had to compile all that stuff myself and fought with it, and finally got it working.

If no one distributes latest builds, then I was thinking of going further with what I've done to help others: virtualbox lenny and automated compiles of all packages and putting up the builds, with latest revisions of mplayer and ffmpeg from their source code repos. Using LD_LIBRARY_PATH to isolate the build so any modern linux can run the produced binaries, with only glibc as a dependency.

View 3 Replies View Related

Debian Multimedia :: Streaming .avi Online | Multimedia Server

Apr 13, 2010

I want to stream .avi *divx/xvid* (because of the nice compression and quality) online and have all streams accessible through a web based library type thing. Something like Jinzora ( http://en.jinzora.com/ ) is what I am looking for, but it's buggy. I would even be satisfied with a web based library of streams that you click and open with an external program. I have searched a lot for this and the only thing I found that can do this how I want (if it worked right) was jinzora. I don't want to convert to mpeg4 or flv because of size and quality issues.

View 5 Replies View Related

Debian Multimedia :: Streaming Music From PC To Phone?

May 22, 2011

Does anyone know of any software that would allow me to listen to music on my android phone that is stored on my computer? Most of the ones I have looked at involve having to buy the music, where as I already have a large music collection.

View 2 Replies View Related

OpenSUSE :: How To Stop Screensaver During Video Streaming

Jun 27, 2010

I am using opensuse 11.2 Gnome. Screensaver is spoiling video streaming and I have to manually stop it every time. There are options in media players to stop screensaver but when I watch videos online it seems like there is no global option to stop it. Is there a way to resolve this issue?

View 9 Replies View Related

Debian Multimedia :: Streaming Movies To Samsung Smart TV

Mar 18, 2015

I often use popcorn time [URL] .... to watch some movies. It allows me automatically to stream a movie to my samsung smart TV (which is connected to the network, but I do not have anything like chromecast connected to it).

Now, seen that it is possible for popcorn time to stream to my TV, how can I do it myself e.g. in the case of a video file or some pictures which are on my PC?

View 1 Replies View Related

Debian Multimedia :: Force Firefox To Use Xdg-open

Dec 28, 2015

Firefox keeps trying to download docx files with my default text editor. Is there a way to get Firefox to just open everything using xdg-open?

There seems to be no way to get this browser to consistently open files with my chosen default applications. My mime-type settings are only obeyed sometimes. The pertinent file type isn't in the Application list of browser preferences, and there's no way to add it. The "Do this automatically..." option in the file download dialog is greyed out, so I have to go through my file system and choose the desired application every time I download a file of that type.

View 2 Replies View Related

Ubuntu Multimedia :: Internet Streaming Media Server For Debian PPC?

Mar 17, 2010

I've tried on a couple of mailing lists to get a decent response, but it's been pretty shabby, so I thought I'd try the expertise of this fine community.I have a, relatively, ancient iMac G4 "Flowerpot" running Debian Testing and XFCE that I was using as a home music server. I write "was" because I could simply mount it using SSHFS from work, but now they have decided to become very restrictive with ports and for the life of me I can't get it working. I've already set-up GNUMP3D on it, but that also uses a port work won't allow.

So, in essence, I'm looking for suggestions on a Web-based application I could use to stream my music from home. Flash does not work on PPC, so anything Adobe-related is out of the question. Also, Java seems "iffy" at best... It's also worth note all of my music is in OGG format, so the program would have to be able to play said format.

View 7 Replies View Related

General :: How To Stop Pop3 Brute Force Attacks

Mar 31, 2011

I have a mail server running RHEL, with postfix, dovecot, etc. I installed Fail2ban and this works wonders against SSH brute force attacks. It'll ban an IP address for a period of time if it unsuccessfully attempts to log on 3 times within, say a minute. I was wondering if it can be as effective with pop3 attacks. If it is, how can I get it done?

View 1 Replies View Related

Debian Multimedia :: Start And Stop Xfce When Want?

Aug 24, 2011

I am trying to make a web server with debian 6 and i want a xfce dsektop when i need to open files,extract,navigate but to be able to turn it off when i dont need it (to save ressources).I already installed it with aptitude install xorg and aptitude install xfce.

View 4 Replies View Related

Ubuntu Multimedia :: Transcoding Audio With Mencoder?

Mar 7, 2010

I'm trying to convert a video in .ogm format to .avi format so I can stream it to my PS3 via uShare. I'm using Mencoder and the following command to do it (to transcode the audio from vorbis to mp3 and the video from mpeg4 to xvid):

Code: mencoder input.ogm -oac mp3lame -ovc xvid -xvidencopts pass=1 -o output.avi.The only problem is, the video contains 2 audio streams - one Japanese and one English. Needless to say, I need the English one. The above command only seems to transcode the Japanese audio though!Here's what ffmpeg has to say about the input file:

Code:
Input #0, ogg, from 'input.ogm':
Duration: 00:24:16.12, start: 0.000000, bitrate: 1280 kb/s[code]...

what I can do to specify the correct audio stream to encode? Also, how can I keep the bitrate the same as the output.avi seems to default to 96kbps?I'm not sure which audio stream is which but a little trial and error will sort that out in no time.

View 7 Replies View Related

Ubuntu Multimedia :: Transcode And Merge Sub With Mencoder

Apr 20, 2010

I'm trying to transcode and merge sub with mencoder in order to watch a video on my nokia cellphone.

I'm using this command :

Code:

without success. The transcoding works, but no subtitle is merged.

The transcoding log is here

I'm using Karmic.

View 4 Replies View Related

Ubuntu Multimedia :: Mencoder (or A GUI) Conversion For Android?

Apr 28, 2010

So I typically use cat to put my avi files together.. but today I figure lets see about ripping over so I can watch on my Droid.

As nobody has a xvid or vlc player on the droid (yet.. coders are doing alot for Android ya know) I will have to convert the video down and change the format.. So.. can anybody tell me a mencoder command line directive to get as close to this as possible (I found ipod settings leave the actual video lacking).

Video
Format MP4
Encoder H.264
Resolution 854 x 480 (or 720 x 480; 480 x 320; 320 x 240)
Frame Rate 12 fps - 30 fps

[Code]....

View 1 Replies View Related

Ubuntu Multimedia :: Remove Sound With Mencoder?

Jun 2, 2010

how to remove audio from an .ogv video (GTKRcordmydesktop) while converting to .avi using mencoder?

I've started with this command:

Code:
mencoder -ovc lavc -ofps 15 -oac mp3lame -af volnorm=1:1 out-2.ogv -o sound_editing.avi

View 1 Replies View Related

Ubuntu Multimedia :: Mencoder - Conversion To MP4 Fails?

Jun 6, 2010

Using Miksoft's Mobile Media Converter, and I cannot convert files to MPEG4.[URL]Converting to MPEG1/2 works fine, but trying to convert video for my son's PSP always produces an error. Here's the output:

Code:
>> Command executed:
"/opt/MIKSOFT/MobileMediaConverter/lib/mencoder" -oac lavc -ovc lavc -of lavf -lavcopts

[code]....

View 3 Replies View Related

Ubuntu Multimedia :: Video Capture Using Mencoder?

Sep 29, 2010

I am working in a script I have, to capture video with sound from my capture board, wich is a clone of the pico2000. This script was working in Ubuntu 9.10 untill I reformated my machine and instaled the Ubuntu 10.10, 64 bits. The machine is an AMD Athlon II, 2.6GHz with 3 GBytes of Ram. The former script was:

Code:
#!/bin/bash
clear
SERVICE="mencoder"
MOVIE=$(date +"%H%M")

[Code].....

View 1 Replies View Related

Ubuntu Multimedia :: MEncoder Settings For DVD Fast Rip

Nov 26, 2010

I'm doing a little python app for encoding .avi from dvds. I know there are a few really good applications out there that do the same thing but I wanted something simple with less faff. The application has 3 settings: Fast, Medium, and Slow. These are for the varying quality rips. For file format I was thinking either lavc or Xvid.

So my first question is, which is better? I really don't know anything about it and I haven't found a decent site that compares them. And secondly what are the best settings for a DVD rip for a Fast Rip, a 'Best of Both' Rip, and a Best Quality Rip? If I've missed any factors in this, please let me know, I'm new to the DVD ripping game. I have no intentions of distributing the movies, they are for my own uses.

View 2 Replies View Related

Ubuntu Multimedia :: Converting OGV To AVI In Mencoder - Too Much Framedrop?

Jan 9, 2011

I'm trying to convert my screencast to an .avi file, but when I open it... the commentary track is waaay out of sync. No matter which codec I use, it will not stop dropping frames!

View 4 Replies View Related

Ubuntu Multimedia :: Way To Convert 3gp Format To Avi Using Mencoder?

Apr 9, 2011

I wonder if there is a way to convert 3gp format to avi using mencoder or something similar?

View 7 Replies View Related

Debian Multimedia :: Stop Evolution Printing Attachments

Mar 11, 2015

Is there anyway to get evolution to not automatically print email attachments?

View 2 Replies View Related

Ubuntu Multimedia :: Mencoder Can't See Libdv / Get It To Find Codec?

Feb 12, 2010

I've just been trying to convert a video to DV format, but mencoder doesn't know about libdv.

Using the command code...

How can I get mencoder to find the codec? Is there a specific place it looks for them?

View 3 Replies View Related

Ubuntu Multimedia :: MEncoder Fails To Find File?

Apr 5, 2010

I have a video that is currently in .mkv format, and I need it in .avi, however, when I attempt to convert it with MEncoder, it cannot find the video. (Please note this is my first attempt to convert anything with MEncoder, or convert any video on Linux). What I entered and my results are as follows -

mencoder Pocketful_Of_Rainbows.mkv -o Pocketful_Of_Rainbows.avi -ovc xvid -oac mp3lame
MEncoder SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
File not found: 'Pocketful_Of_Rainbows.mkv'

[code].....

View 4 Replies View Related

Ubuntu Multimedia :: Build Mencoder With Dirac Support?

Apr 7, 2010

I want to try encoding some videos with Dirac. I was told on another site that I have to build mencoder with Schroedinger support if I want to do this with OGMRip. I have installed the libschroedinger package installed. How do I buld it with mencoder?

I am using Ubuntu 10.04.

View 1 Replies View Related

Ubuntu Multimedia :: Mencoder Motion Compensation Deinterlacing

May 24, 2010

Is the motion compensation deinterlacer missing in Ubuntu's Version of Mencoder?

mencoder -vf help doesn't show it (I guess this means it's not installed...), although mencoder's man pages do have an mcdeint entry.

I have those versions installed:

Code:

I first tried the Versions shipped with Ubuntu Lucid Lynx, then I installed them from the Medibuntu repositories. Both without any success. Does anyone know, how to enable mcdeint support? Is there a repository or something I could add to my sources?

View 2 Replies View Related

Debian Multimedia :: Graphics Stop Working After Upgrade To Jessie

Oct 17, 2015

I upgraded from wheezy to jessie, but now I just boot to a console. I've gone through and made sure all packages are up to their latest versions, and I've made sure gnome, xorg, and xserver-xorg are reinstalled (during the upgrade they got uninstalled..).

Here's what happens when I run startx manually:

Code: Select allcharlie@asimov:~$ startx
X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian

[Code] ...

Note also that this whole time, gdm3 has been running:

Code: Select allcharlie@asimov:~$ ps ax | grep gdm3
 1058 ?        Sl     0:00 /usr/sbin/gdm3
 3993 tty2     S+     0:00 grep gdm3
charlie@asimov:~$ sudo service gdm3 status

[Code] .....

I'm not sure why it prints that it's starting gdm3, but it does that every time I run `sudo service gdm3 status'.

Here's a copy of my /var/log/Xorg.0.log.

View 8 Replies View Related

Ubuntu Multimedia :: Create Video From JPEGs - Use Mencoder To Add The Audio?

Jan 18, 2010

My 1st and only grandson turned 1 year old and we have taken about 1 million pics of him. I wanted to make a video from pictures taken in the past year. The first one is an ultra sound picture. The last one was taken this last Saturday. I have 153 12 MPixel pictures in a folder. They are named C001.jpg - C153.jpg (I can rename them if needed).

I had noticed mencoder or ffmpeg can create movies from jpegs. But, I didn't think about the frames per second. Would I need to make like 20 copies of each picture and then make it like 10 FPS? or something like that? Optimally, I would like to have a video where each picture lasts for 8-10 seconds or so and I would be able to add a song as audio. (I think I know how to use mencoder to add the audio).

View 9 Replies View Related

Ubuntu Multimedia :: Get The Error That MEncoder Doesn't Support AAC Encoding?

Aug 5, 2010

I use the script h264enc (installed from the repos) to encode my dvds into avi and mp4. It was working flawlessly under 9.10, now I get the error that MEncoder doesn't support AAC encoding? I have installed all the restricted drivers and I can play dvds, mp4's, .

View 8 Replies View Related

Ubuntu Multimedia :: Mencoder X264 Encoding Broken In Maverick?

Oct 16, 2010

I recently upgraded to Maverick and am loving it. Converting over my various scripts to work on the new box I notice that my video trascoding script, which uses mencoder to re-encode video as h264, now does not work.

Code:
mencoder $inpfile -oac mp3lame -lameopts vbr=3:q=3 -ovc x264 -x264encopts crf=22:threads=auto:subq=4:bframes=2:b_pyramid:weight_b:turbo=1 -ofps 25 -o $outfile
For a long time this has worked just fine but the command basically bombs out every time with
Code:
FATAL: Cannot initialize video driver.
I tried using the medibuntu mplayer/mencoder but still no dice.

Does anyone know how I can get this important functionality back?

View 4 Replies View Related

Ubuntu Multimedia :: Mencoder Cam Recording Script No Longer Works?

Mar 20, 2011

I have been using mencoder to record audio and video from my Logitech Quickcam Pro 9000. I've been using the following wrapper script under 10.04:

Code:
#!/bin/bash
outFile=$(date +%Y-%m-%d)
mencoder tv:// -tv driver=v4l2:width=800:height=600:device=/dev/video0:forceaudio:adevice=/dev/audio1 -ovc lavc -oac mp3lame -lameopts

[Code]....

The video and audio work in other applications, but for some reason mencoder isn't using them. I don't like Cheese because it seems like I can't get equally high framerates at good resolution, and besides I want to be able to run this from the command line.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved