I have a GPS device which sends in data on port number 5000, i am able to capture the data into a pcap file using tcpdump. Now my problem is, i need to pipe the data into a text file as and when data arrives into the pcap file continuously.I did extensive search, but to no avail. been trying to solve this for the past 3 days. I use the following commands to capture and pipe the data, but that happens only once when i issue the command. I want this to happen continuously as and when the data arrives.
I have a PDF File here with upright ("portrait" format) pages, and I want to convert it so that each page gets "split" in the middle and becomes two wide ("landscape" format) pages.
Something like "print multiple pages on one page", only reversed
Is there any way to do such a thing with CUPS or something?
I have an pdf file on my linux RHEL 4.7 machine. I can open that file but when i click on 'saveas' to save the file in 'Text' format there are no options i see there. I need to save the 'pdf' file to 'text' format. could anyone tell me how to save the pdf file to Text format. Iam using 'KDE'
I'm still trying to find out if my coby mp3 player will actually play mtv video files as is advertised.
ffmpeg -formats does list mtv but the only command I really ever used was one to convert a vid to an mp3 so I tried Code: ffmpeg -i test.mp4 -acodec copy output.mtv it returns Code: Unable to find a suitable output format for 'output.mtv' I can't find any mtv files online for purchase or free for that matter, so I know this is all pretty obscure but shouldn't there be a way to convert them since ffmpeg lists mtv format?
I am trying to convert a mpg video file to mxf container format using ffmpeg by follwing command. ffmpeg -y -i INPUT.mpg -s 640x480 -vcodec mjpeg -b 5Mb -minrate 4Mb -maxrate 6Mb -bufsize 3Mb -an -f mxf OUTPUT.mxf
I am trying to convert a video file to mxf container format using ffmpeg.But not able to achieve the goal.This the command which i used.ffmpeg -i smirnoff_edlp2ok4.mpg -vcodec mpeg2video -b 450k -acodec libmp3lame -ab 64k -ar 48000 -y op.mxf
I have been sent some file sI need to open but they are in .pub format. Having them sent in another format is not an option. I need to open them on Linux. Is there a tool which I can convert it into another format (preferably PDF) rather than having to mess around getting publisher installed on wine etc etc?
1) capturing an RDF formatted RSS feed as a file on my computer
2) converting the result to HTML using local command line tools
I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.
I am trying to analyze the output of tcpdump, but I am unable to figure out what the output is. as I think that the security my computer would be compromised by this output.
it compares two files using md5... if they are same , a corresponding character is output to a text file .. but the problem is it gets appended by default.. is there any way to output in a normal way because the text is a message and it should be of proper format here is my script
Code:
#!/bin/bash g=`tail -1 new.txt|head -n 1` array=( a b c d e f g h i j k l m n o p q r s t u v w x y z ) for((i=1 ; i <$g+1 ; i++))
[code]....
the message is supposed to be hello , i need to get rid of the endlines somehow..
As part of a research experiment, we need to use a web proxy and direct certain users from their computers through that web-proxy. Given that we do not have access to DHCP logs (this is on a college campus), we have asked each user to go through the proxy using a different port number so we can differentiate between them. Now as a result of doing this, the entire TCP packet is encapsulated as payload data within the captured packet (using tshark to capture the packets). Now I need to be able to parse the payload for statistics including the URL. I am not sure how best to proceed. I cannot find a utility that will just output the payload and then I can probably parse the output.
just wondering is there a simple script to convert datetime to UTC format. I have been searching different forums but most answers are for converting UTC to datetime. For example what is a simple command/script to convert todays datetime to UTC format i.e. '2009-10-09 11:47:59'.
I have a few ogg files that I want to put on my phone. My phone doesn't play oggs, so I need to convert. It's just an audiobook so I really don't care about quality. Oddly, nothing I try seems to be up to the task. Here's what I tried so far:
sox my.ogg my.mp3: "sox FAIL formats: can't open output file `x.mp3': SoX was compiled without MP3 encoding support" mencoder: wants video too?? Wha?? vlc (from GUI): "p, li { white-space: pre-wrapStreaming / Transcoding failed: It seems your FFMPEG (libavcodec) installation lacks the following encoder: MPEG Audio layer 1/2/3. If you don't know how to fix this, ask for support from your distribution.
This is not an error inside VLC media player. Do not contact the VideoLAN project about this issue." lame my.ogg my.mp3: "sorry, vorbis support in LAME is deprecated." audicity (via GUI): success..but I'm now going to have to somehow script it. This is very annoying. It makes me want to rip directly into mp3 from now on. Is there an easy way to convert an ogg file to an mp3 from the command-line?
I have some .mp4 files. While open this file using vlc-player the resolution is fine. Then I convert this .mp4 format to .avi format using "ffmpeg". While open the .avi file using vlc-player the resolution is not fine.
What is the best way using Linux to convert a DVD from NTSC to PAL format? I have a DVD made from an HD recording using a video camera. Made a standard DVD by copying from the Camera to the DVD recorder [ergo NTSC].
Is there any way to convert *.flv and *.mp4 videos to *.swf format please? I have some videos downloaded with .....-dl that are in the above format. I would like to make them all into SWF files, so anyone can watch them in their browser, without having to find a suitable multimedia player.
I guess many guys got lots of eBooks in PDF and other formats, but some e-readers like Sony Reader, Barnes & Noble Nook, Hanlin eReader and phones/devices using Android only support specific formats with their default reader apps, especially newly-released and hot iPad. What's the best way to convert those PDFs to ePub (ePub is the only ebook format iTunes accepts)?
I have a Humax HDPVR-1000C digital cable set-top box. Now I want to transfer some of the shows I had recorded with the box to a DVD. So I copy a movie from the Humax box to an external USB hard drive and then plug the hard drive to my OpenSUSE box. The hard drive now contains three files: one with the extension .hmt, one with the extension .nts and a fairly large file with the extension .ts.
After doing some googling I found out that the .hmt and .nts files are apparently related to Microsoft HighMAT technology. So it seems that the Humax box stores the recordings in M$ HighMAT format.
My question is that how do I fit these files to a DVD that can be played in a DVD player? VLC can play these files just fine, but really would like to burn them on a DVD.
Trying to use tcpdump -r TEST, and get permission denied, even though I am logged in as root or super user. Tried using the "chmod a+rw TEST" (any other file for that matters, yes it came from another source) and get permission denied.
I use Linux for my everyday work but lately I've been faced with a trouble when I send out file printouts from my browser from my Debian system to (normally) window$ systems, where they are not readable. Is there a way for me to convert the postscript files into pdf format? Most window$ users will have some sort of pdf reader installed but I am still to find one user that has Ghostscript and Ghostview installed. where can I find the TTF fonts that are shipped with every standard installation of Debian? I'm sometimes forced to print files through a windows system and because the fonts loaded in that system are not the ones I use in Debian (URW Gothic L, as an example) I end up having my official documents disfigured. If I can carry around with me a ready-to-install fonts package I can get over this obstacle.