Ubuntu :: PHP Files Conversion To JPG?
Oct 29, 2010I have a couple of files which are categorized as .php, is there a way of converting them into something readable in UBUNTU.
View 9 RepliesI have a couple of files which are categorized as .php, is there a way of converting them into something readable in UBUNTU.
View 9 RepliesIs there any software out there to convert *.mov files (from a digital camera) to *.mpg files, of which way I have to go?
View 2 Replies View RelatedHaving downloaded alien for the first time, and attempted to use it to convert an rpm file to a deb file (specifically asymptote located at [URL]), instead I found that it failed to do so. I've searched on google for a long while, and found that while this appears to be a problem encountered by multiple people, but there are no workarounds posted anywhere. Here is the error message that I am getting:
Unpacking of 'asymptote-1.92-1.fc12.i686.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 153.
I've tried running the following variants of commands and all fail with the same error:
sudo alien --to-deb --scripts --keep-version asymptote-1.92-1.fc12.i686.rpm
sudo alien -d asymptote-1.92-1.fc12.i686.rpm
sudo alien -k asymptote-1.92-1.fc12.i686.rpm
The errors reported by others are on a variety of packages, so it seems to me that it is an bug with alien itself and not with the package, but that is only a guess.
And related to this, Alien is version 8.69, perl 5.8.8 and ubuntu is 8.04.
I'm trying to convert the encoding of multiple files in a directory and I try to do it as follows.
Code:
#/bin/bash
find . -type f -name *.txt -exec iconv -f GBK -t utf-8 "{}" -o "{}.utf8" ;
find . -type f -name *.utf8 -exec mv -f "{}" `echo "{}" | sed 's/.utf8//'` ;
The first command goes well by generating utf8 files from all txt files, but the second command fails with error message. Could someone enlighten me about the mistake in the command and share a workable solution?
I have some downloaded files of radio programme from BBC which are .aac. I have never come across this type before. Googled it so now I am a bit wiser and VLC seems to play them without problem but they are not accepted by my upnp client devices which are happier with flac or mp3. I would prefer flac but what is the preferred conversion software.
View 3 Replies View RelatedIs there any Linux tool that will take a SWF file and output some kind of video format? Note that I don't want a tool which will re-encode an embedded FLV or MP4, I want to take a standard Flash movie and render it as a video.I found a reference to dump-gnash in the GNU Manual, but having installed the gnash package on Fedora I don't have that command.
View 1 Replies View RelatedI have generated some .eps figure which I needed to show one by one. I converted them using convert file.eps file.jpg but the generated files were kind of blurred (not much, but they are not of the same quality as the .eps files) Is there anything to do to get a good conversion? Also, which is better, is/are there any image viewer package that would help show the .eps files as .jpg files? I have tried, gthumb, gqview, f-spot, image magic (display).
View 8 Replies View RelatedAnyone know of a desktop app that allows me to quickly plug in kb, gb, bytes, etc. and have them converted? I know there's lots of web apps, but was fishing to see if there was a desktop app to facilitate this.
View 1 Replies View Relatedi use openoffice a lot, mostly writer and calc. i convert most of the files to pdf from openoffice. is there a way to re-convert pdf to the respective openoffice doc ? for the purpose of cross platform compatibility with ms office i save the openoffice docs in msoffice format. it will be nice if i get a clue to re-convert pdf to openoffice files for editing (at times)
View 8 Replies View RelatedGot some TV progs in MKV format which are jumpy when played through VLC. Other shows in the series AVI format play OK.
Are there any open source programs out there that can convert MKV to AVI?
I recently upgraded to Ubuntu 10.04 and recorded a screencast with gtk-recordMyDesktop. Upon completion of the recording I attempted to convert the OGV file to an AVI, for ease of editing purposes, using WinFF.(And yes, I have installed libavcodec-unstripped-52) The result was an incredibly annoying error message Which stated:
Code:
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5+svn20090706-2ubuntu2.2 --prefix=/usr --enable-
[code]....
It seems more and more people are encoding with the MKV container on bit torrent these days, and a lot of the shows I'm watching are starting to release almost exclusively with .mkv formatted videos. This is not a problem if I want to watch the shows on my computer but I've become accustomed to watching them on my PlayStation3 using my thumb drive. It seems the offical documentation for the PS3 includes a list of supported codecs [URL], but when I use FFMPEG to convert with libxvid video and aac audio in the MP4 container my PS3 says the output video is not supported. I've also tried most combinations of libxvid, libx264, mpeg4 for -vcodec and aac, libmp3lame for -acodec in several different container formats but nothing seems to work. I have found one option that always works:
Code:
ffmpeg -i inputfile.mkv -sameq -ac 2 outputfile.mpeg
I don't like doing it this way, however, as the output file is twice the size and the audio quality is terrible. If I don't reduce the audio channels to only two using -ac 2 FFMPEG throws an error (apparently MKV audio supports 6 channels). And preserving the video quality in MPEG video using -sameq produces too a large file (and I prefer to keep my files as lossless as possible). Ideally I want to save the files on an external HD I have but if a single episode of a show is 1.5 GB it's not very pratical.
Anyway, the PS3 docs say it supports h264 and xvid with aac audio, but apparently I'm doing something wrong. Has anyone sucessfully used FFMPEG to convert an MKV to MP4 for use on a PS3?
I've been trying out a few scripts (I hacked one myself) to convert HD MKV files to MP4 containers. Specifically, the main issue I'm trying to solve is converting DTS -> AAC audio. I noticed the scripts I used before used ffmpeg. I tried NeroAacEnc and found the audio quality is much better. Unfortunately, I'm having issues with MP4Box accepting the audio NeroAacEnc creates. I also hit one other issue and that is making sure HxW size of video is in multiples of 16. I was trying to use ffmpeg pad filter for that but couldn't figure it out.
View 1 Replies View RelatedIn 2003 I converted over 25000 of invalid WAV files to MP3 ones using the sequence of commands:sox file.wav file.cdr lame file.cdr file.mp3.I used that intermediate method because it wasn't possible to convert most of these WAV files using lame only. The command lame file.wav file.mp3 displayed in such cases the message:Code: Unsupported data format: 0x0002.Now I tried to convert the same WAV files using the same method but lame doesn't recognize CDR audio format and complains:
Now I wonder how to achieve the same result enabling CDR audio format reading in lame because I prefer the second method. Unfortunately I haven't idea how to enable that during the configuration of the sources of lame. Its documentation doesn't mention about such switch.
I'm setting up my menu.lst for GRUB Legacy (downgraded from GRUB2 in 9.10) and I'm just having difficulty getting my head around converting the /dev/sda1, sda2 etc to hd(0,0), (0,1).
My partitions are as follows:
sda1 = Windows XP (ntfs primary partition)
sda2 = Windows Vista (ntfs primary partition)
sda3 = Linux boot (small ext2 primary partition)
sda4 = extended partition
sda5 = Windows XP second different installation (ntfs logical partition)
sda6 = Ubuntu 9.10 root (ext3 logical partition)
sda7 = linux-swap (swap logical partition)
As I said, I am trying to set these up in GRUB, but cannot work out what all the hd(0,x) equivalents are. I *thought* it was just a case of subtracting 1 from the sdax number, but it doesn't appear to be that way.
I am Ubuntu user, having only recently left the stinking, bloated corpse that is Windows ($225 for an upgrade to Win7 is just obscene). I have a huge library of Mp3's, which I have managed to enable support for on Ubuntu, and have installed Amarok, as I didn't think much of rythmbox.
So far so good, but I still need a program to rip/convert the rest of my CD's, and to convert lossless files. I'm looking for a CD ripper with similar functionality to EAC (Exact Audio Copy). One aspect I am looking for is the ability to manually change the Mp3 encoder used by the program. I am partial to the lame 3.98 encoder, and would like to keep using it. If the program already uses this encoder (or a close version), then that's fine and no need for the ability to manually change the encoder.
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]....
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]....
I know this is a bit out in left field but my gf's dad has created a fairly large application in Excel 2003 and now we need to run it online. I setup mono and xsp2 on my Ubuntu server in order to test but have no idea how to convert a monster .xls file in VB to ASP or maybe even PHP (one can hope, right??)
View 9 Replies View RelatedI'm trying to figure out how to convert .ogv video files to put on my moto droid. Has anyone did this? How??
View 1 Replies View RelatedI have a LaTeX document in one folder, and the images that this documents includes via
Code:
includegraphics{filename}
are in subfolders of this directory. Sometimes I compile this LaTeX file using PDFLaTeX, and others using plain LaTeX. Thus, I would like to have my images in PDF and EPS format, along with its original source, normally an SVG file created with Inkscape. I know I can use Inkscape to convert these files to these formats, but when there are 50 images, it becomes cumbersome/boring/APITA.
I have a small Makefile that reads gnuplot scripts and generates EPS files
Code:
# Makefile to convert into Encapsulated Postscript
# the plots made with GNU Plot. (.plt files)
.PHONY=eps,clean
PLOTS=$(shell ls *.plt 2> /dev/null)
[Code].....
or any conversion I suppose. My question is simple: How do I use this command: mplayer -ao pcm *.m4a -ao pcm:file="*.mp3" to convert whole directories and place the converted tracks into another directory. The way it's listed above it will convert all songs with a .mp4 extension into a single file with a .mp3 extension. Which of course, is not what I want, but I know of no other way to use this command.
View 1 Replies View RelatedWith Banshee, I am easily able to put music onto my iPod and have it convert my FLAC to something that the iPod can read. But is there a way to control the quality of the conversion. I don't really want my FLAC to go down to like 192kbps. Are there any settings that I am missing or any files that could be edited to make this happen?
View 4 Replies View RelatedI need a utility to convert a non-copyprotected dvd to an mpeg file. Where can I find one? Something I can send via email.
View 9 Replies View RelatedI would like to do the above conversion for some old songs so I can get them on my MP3. I could not download the conversion software on to my HP mini which is run on Open SUSE. I tried on my MAC. The software got downloaded alright, but when I open the file -- hmm....its meant for Windows run computers-- all I can see is a whole string of undecipherable codes in the download!!
View 4 Replies View RelatedI'm writing a centralized logging piece, and I need to grep out logs that have specific date tags. The date command returns abbreviated months (Sep), via "#date -d yesterday '+%b'" but I need it all caps. ie SEP vice Sep. Otherwise the grep doesn't catch it
View 3 Replies View RelatedI have a staic ip from my ISP provider and i have a web server too. I NAT the port 80 from my modem to the webserver and I can access my webserver from internet using typing my static ip. If my static ip is 122.67.xx.xx, then I need to type http://122.67.xx.xx. and i have a domain name mydomain.com pointed to this 122.67.xx.xx ip in my C-panel. I can ping mydomain.com from internet but if I type http://mydomain.com I am getting the following error from my browser Unable to determine IP address from host name for mydomain.com and The dnsserver returned: Name Error: The domain name does not exist.
View 1 Replies View RelatedDear Advanced c/g++ on boost programers: I have copied and testd a simple (Copy a file with Boost) program from page 372, Example10-10, book(C++ cookbook)
[Code]...
I'm working on a Qt program and when it gets to the following line of code I get a seg fault:
QString blah = QString::fromAscii(entry->d_name, 256);
entry->d_name is a 256 byte character array returned by readdir(), I would expect this line of code to convert that character array from ascii to a QString, but I get a seg fault and I'm not entirely sure why..
I have a web server running and want to take a html page, convert it to pdf, and then display it back to the user. I need some help finding free command-line software that can do that. The cgi scripts are written in C. I've seen some hits on html2pdf,
View 2 Replies View Related