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


ADVERTISEMENT

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 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

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

General :: Mencoder Not Accurate

Jun 30, 2010

i am using ubuntu 8.04.I wanted to clip from a movie so I ran

Code:
mencoder -ss 2453 -endpos 34 InpuTFile -acodec copy -vcodec copy -o Output
I changed the ss value still it cut from same frame of the video.It seems mencoder works faster than ffmpeg but jumps to keyframe hence cannot jump to accurately specified second.

View 2 Replies View Related

General :: Mencoder OutPut Support?

Jan 29, 2010

I was just wondering if it is possible to output an encoding file to http, mms, udp etc... (eg. http://127.0.0.1).I found a way to input these streams and encode them I just cant find a command to output to these.

View 1 Replies View Related

Networking :: Darwin Streaming Server Video Streaming Local Only?

May 26, 2009

I successfully installed darwin streaming server .. I stream Audio through internet well but videos I can stream locally in my network only .. when I am connected to internet outside my network .. it doesn't stream I think their must be ports opened for that .. or any 1 have any ideas .. the audio is streamed on port 8000 .. video is streamed on port 7070 but locally only .. I opened those 2 ports in my router only the audio is working .. also I opened ports 554,7170 disabled the firewall of the router .. is it a problem of ports or something else .

View 2 Replies View Related

General :: Mencoder To Encode Multiple AVI Files?

Dec 29, 2009

I'm new to commandline, and I'd like to:
$mencoder -ffourcc DX50 -oac mp3lame -ovc lavc about 10 files...
How to write that?

View 2 Replies View Related

General :: Extract Audio From Video File Using Mencoder?

Feb 2, 2011

Code:
mencoder The.Negotiator.mkv -of rawaudio -oac mp3lame -ovc copy -o sound-mencoder.mp3
I got a 195.3MB mp3 file

[code]...

View 2 Replies View Related

General :: Encoding Multi-jpegs With Mencoder, Skipping Broken Files?

Jan 16, 2011

I've multiple jpegs uploaded form IP cam via FTP, I use mencoder to periodically pack them into single avi file, problem is that sometimes one or two jpegs submitted by cam are broken, and this make mencoder exit, without producing movie

View 1 Replies View Related

General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop

Oct 11, 2010

whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?

View 1 Replies View Related

General :: `mencoder` Captures 10 Minutes Of Audio In Less Than 10 Minutes?

Mar 15, 2011

I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.

I narrowed down the problem to the following command line:

$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69
real 9m54.886s
user 0m5.536s
sys 0m1.740s
$ ls -l test-32000.wav
-rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav

Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?

Since the machine's restart, I've also noticed dmesg is flooded with entries like this:

CE: hpet increased min_delta_ns to XXX nsec

Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?

View 2 Replies View Related

General :: VLC RTP Streaming In FC12?

May 17, 2010

I'm trying to get VLC to work streaming RTP audio/video over my office network. The goal is multicast a/v streaming. In all test cases, we are streaming from VLC to VLC. I am able to stream from Windows to Windows, and from Fedora to Windows, but not from Windows to Fedora. Additionally, I am unable to receive a LOCAL stream from one instance of VLC to another, within Fedora.

I don't see any reason why this would be. The buffer indicator (where the elapsed/total time is normally displayed) never shows any connectivity, so it would appear to be a network problem, but since I am able to stream from Fedora to Windows (same IP, same port) I thought it would be something else.Does anyone know of a solution to this issue?

EDIT: Correction to previous edit: the IGMPv3 protocol was just not being picked up by Wireshark. Reverting to IGMPv2, I am able to pick up the Membership Report, Join, and Leave group packets from the Linux machine. I'm using the GUI to configure the following:

CLIENT
rtp://@239.255.12.42 :rtp-caching=1000
SERVER:
screen:// :screen-fps=30.000000 :screen-caching=300 :sout=#transcode
{vcodec=mp4v,vb=800,fps=30,acodec=mp4a,ab=128,channels=2,samplerate=44100}
:rtp{dst=239.255.12.42,port=5004,mux=ts}
:no-sout-rtp-sap :no-sout-standard-sap :sout-keep

MOST of this is default settings, for the given methods, which I haven't really changed. I've also tried adding the :5004 to the client URL to explicitly give the port, but received no different effect.

View 1 Replies View Related

General :: VLC Tv Card Streaming?

Oct 24, 2010

I'm trying to stream the output of my desktop's tv card to my laptop using vlc without success. I have on both pcs ArchLinux installed.I'm stuck here:

[Code]...

View 1 Replies View Related

General :: Streaming Video On The 9.10?

Jan 21, 2010

I am trying to get streaming video to work on install of fully up to date Ubuntu 9.10.

For example: [URL]

I am guessing that the packages/codecs necessary cannot be distributed with Linux due to license issues.

View 1 Replies View Related

General :: Streaming Webcam ?

Jul 23, 2011

I have been using WebcamXP, but changed over to Ububtu. Is there a similar program that works like that?

View 2 Replies View Related

General :: Streaming Mp3 With Ffmeg And Ffserver?

Apr 13, 2011

I am trying to stream an MP3 using ffserver. My config for ffserver is

Port 8090
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 4096
CustomLog -
NoDaemon

[Code]...

but it goes right to the prompt screen after this. It does not appear to do anything and when I try to play the stream nothing happens. Is there something I'm missing?

View 1 Replies View Related

General :: Streaming Video Server

Jul 25, 2010

Can any one tell me, how to setup a streaming video server in linux. user cant download the content can only view.

View 4 Replies View Related

General :: Can't Access Streaming Video

May 21, 2010

I have Debian Lenny on an i386 machine.Working fine, in general.Windows Manager is ratpoison, browser is Opera.I want to watch a video stream (russian) archived on URL...I'm doing it in Opera. I get an error message telling me that the site is inaccessible. But it works on other machines (using M$).

View 3 Replies View Related

General :: Is Video Streaming For Images?

Jun 5, 2011

Is that requires a video streaming in case of only capture images and store it, without transmit it over the internet?

View 7 Replies View Related

General :: Streaming The Video To Firefox?

Apr 24, 2010

I am using ubuntu 8.04 with GNOME. I copied a video from cache folder of firefox.It is actually video from ...... I was wondering can I stream it to firefox to watch it once again instead of running it in media player ? If I try to drag that file into firefox it brings up window

Code:

You have chosen to open abc.flv which is a:flash video from:/data What should firefox do with this file open with movie player(default) save file

View 10 Replies View Related

General :: Streaming Video From Machine ?

Jun 13, 2011

It is possible (I'm sure it is but I don't know how), to stream video program played on one Linux computer equipped with DVD so it can be watched on another Linux machine? I have pretty fast Internet connection. I watch UNIX Academy training DVDs on a laptop, however I would rather stream it and watch on my netbook which is much lighter and more portable. Where should I start looking for a solution?

View 11 Replies View Related

General :: .WMA Streaming - Standard - Windows ?

Feb 9, 2010

[1st off...I used to host my music (A&R) website on a dedicated windows server...'cause I thought it was necessary for streaming .wma files. when I discovered it wasn't...I went w/ a standard hosting package, w/ GoDaddy...

BUT...

I moved my recording studio's site to it's own domain. [it used to be a series of pages on my A&R site.]

I now need to create a '301 Redirect' in my old site's directory to redirect surfers (who have my old url) to the new site...but more importantly...to retain my ranking w/ the major search engines...!

It cannot be done on a Windows server (which I'm on, w/ GoDaddy)...not an .htm redirect anyway, which I need. I've tried all the php, asp, etc. scripts...they don't work. [&...I don't think I really need windows features like php or asp...I code my site(s) in Dreamweaver as html pages.]

so...If I migrate my site(s) to a Linux server...

1) Will standard .wma streaming continue to work...? (i.e., a .wax file in the directory that points to the .wma).

2) Which type of server is FASTER for this task...(if any)...Linux or Windows...?

View 3 Replies View Related

General :: Streaming - Recommendations For A Really Good DVB-T Card?

Feb 4, 2010

I am so fed up with my Sony HDR that is already obsolete. As I am a linux geek, I have been thinking on building my own media central. Reading various hardware support list gives some information about if a card works or not, but not if its good. Also, I would like to buy a card from a vendor that actively supports linux. Can someone recommend a really good DVB-T card?

I would need: DVB-T support.Radio as an option.Two or more channels, three seems like the maximum that I would ever need, but who knows. Doesn't matter if its one or two cards, as long as it works. CAM support. Additional card or built in. I have no idea of how this works actually, but I think the CA module must support mpeg4 too? HDTV/Mpeg4 support (Software is fine, I guess.) I would also need a good remote control (bluetooth) that not neccesarily needs to come with the card, and a decent fanless graphics card that handles hdtv on linux...

View 1 Replies View Related

General :: Anyone Know Any Decentralized Audio Streaming Software?

Nov 8, 2010

I was wondering if anyone knew of any [client] software that takes an audio stream from an input - the mic - samples it, optionally codes it with a codec, and then packetize it to send over the network to an IP address and port number.And on the same machine and other machines can be [server] software listening on a port that would take any packets arriving on that port from another IP address, depacketize it, optionally decode it, and output it - to the speaker.

I'm trying to allow voice over a MANET / Mesh network in a cave, with no outside connection, so can't rely on logging in to other nets or server based VoIP.

View 3 Replies View Related

General :: Capture Internet Streaming File?

Apr 29, 2010

I'm trying to capture a video from a site in Japan. Unfortunately, most of the video downloader tools don't seem to work. Since I'm using Firefox I'm guessing I can't look in my local cache. Is there any way to find it?They might block you if you're not in Japan. I used to use a proxy server when I was in the US but after a while it didn't work.

View 5 Replies View Related

General :: How To Get QuickTime Player For Streaming Server

Jan 10, 2010

I need command line for quicktime to run different tests for my streaming server. Is there any quicktime version available for linux? I am using fedora11- 64 bit.

View 3 Replies View Related

General :: Force Mono Sound On 9.10?

Mar 15, 2010

My headphones broke so audio only works on the right speaker. As a temporary fix I want to force all sounds to play in mono in the right speaker. I run Ubuntu 9.10. Is there a way to complete this?

View 1 Replies View Related

General :: Can I Force-logout Other Session From A New SSH

Sep 27, 2010

I sshed into a Linux machine (bash shell) from a public Windows machine (in our lab) and forgot to log out. I'm now back at my seat in another room and I am too lazy to walk back and log out that session; I can ssh into the Linux machine from my current PC though. Can I force-logout the other session from a new SSH session?

When I ssh to the Linux box from my current PC and type users command, I can see that I'm still logged in there; my name is listed twice - one for the current session and another for the session from lab PC.

I don't have root privileges on the said machine, but I guess that shouldn't matter as I'm just trying to log out myself.

View 1 Replies View Related

General :: Force Firefox To Use Different Library?

Aug 12, 2011

I'm trying to upgrade to Firefox 5 on RHEL5, and am getting the following error:

./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/isdtc/tdiakiw/bin/firefox5/firefox/libxul.so)

As the computer is a work machine,I don't have access to update the libraries directly. To try and get around this I downloaded the libstdc++.so.6.0.10 library.strings libstdc++.so.6.0.10 | grep GLIBCXX shows:

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2[code]....

Is there some way of forcing firefox to use this library instead? I have tried adding the directory containing the new library (with a so name) to LD_LIBRARY_PATH and then running, but I'm still getting the same error message

./firefox
+ moz_libdir=/usr/local/lib/firefox-5.0.1
+ found=0

View 1 Replies View Related







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