Ubuntu :: FLAC To MP3 Transcoding: Shell Script That Keeps ID3 Tag Info?
Mar 27, 2011
My aim is to create a bash shell script that I can use in directories with many subdirectories full of .flac files for mass transcodings that recquire minimal user input.At present I have this file at ~/bin/flac2mp3:
Code:
#!/bin/bash
file="$1"
flac -cd "$file" | lame --preset fast extreme - "${file%.flac}.mp3"
I navigate to the directory in question and run:
[Code]...
View 2 Replies
ADVERTISEMENT
Sep 1, 2010
how do you obtain system info like the CPU cache sizes and core speeds from the shell?
View 2 Replies
View Related
Aug 6, 2010
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
View 9 Replies
View Related
Mar 27, 2010
1.What character instructd the shell to interpret a special character as an ordinary character?
2.What directory contains some of the utilities available on the system in the form of binary files?
3. What command is used to search the location of a utility?
4. What command is used to instruct the editor to write the file and quit the editor?
5. What key quits the more utility and displays the shell prompt?
6. What command starts a child shell as the super user, taking on root's identity and environment?
7. Which wildcard characters can be used for searching all the files in the system that start with "A"?
8. The user name or login name of the super user is????
[Code]....
View 10 Replies
View Related
Jan 22, 2010
I tried converting wma to mp3 with vlc, but an error comes up this is what it says.
p, li { white-space: pre-wrap; }
Streaming / Transcoding failed:
It seems your FFMPEG (libavcodec) installation lacks the following encoder:
MPEG Audio layer 1/2/3.
Either how can I get that encoder for vlc or what else can I use to convert wma to mp3?
View 9 Replies
View Related
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
Sep 21, 2010
Can't find anything quite like this having been asked already I have just bought all of Babylon 5, and want to put it on my hdd instead of using the discs. dvd::rip works fine for me. I can rip and then transcode titles to AVI manually. What I want is to rip a disc or two, and then have dvd::rip transcode them overnight (takes about 50 minutes per episode on my machine). I tried this on the command line: dvdrip -f transcode -t 2 b5s1d1.rip which, after briefly loading the GUI, just gets this error: Can't locate object method "error_dialog" via package "Video:VDRip::GUI::Main" at /usr/share/perl5/Video/DVDRip/GUI/Main.pm line 173. Gave up and found dvd::ripqueue, which is a gui utility that automates what I would have put into a script, but it doesn't work properly - dvd::rip launches, but only performs the first pass and produces no output. My projects were set up and saved correctly (as I said, all this works if I start it manually from the dvd::rip GUI).
View 2 Replies
View Related
Jan 4, 2010
The commandcvlc --run-time 180 "http://amber.streamguys.com:4500/wcvehd1.m3u" --sout file/ogg:/home/mikeb/Audio_Recordings/WCVE-test"$(date +%F-%T)".oggwill successfully record a stream from my local NPR station. If I understand the messages thatare printed to stdout when I run it, this transcodes the mp3 stream to an ogg filece I am using this to timeshift a program that I otherwise would not be able to listen to, I would prefer simply to dump the stream in mp3 format without transcoding. tried changing "ogg" "dump" but that produces an error about the --sout option. Can someone tell me how to modify this command so that it simply dumps the incoming stream to a file in mp3 format
View 8 Replies
View Related
Mar 10, 2011
I am looking for audio transcoding tips. I would like to transcode mp3 to ogg on F14. Can someone advise me the tool to use and if there are some script lines required to operate in bulk mode?
View 10 Replies
View Related
Feb 24, 2011
I've followed the instruction on this site. But I'm not able to play videos with subtitles on my LG TV. Transcoding is working (I tried the command in terminal) and I can see transcoded video in the list of videos on my TV. When I try to play the video, it shows error "Not supported format"
View 4 Replies
View Related
Aug 24, 2010
I've been interested in trying to figure out how to do some real-time transcoding to downsize video files on the fly and play them back on my android phone. I read the Mencoder and vlc documentations and am trying to figure out an open source method and i don't mind setting up an apache server and writing some code to get a web interface.
View 1 Replies
View Related
Sep 12, 2010
In newer versions of Avidemux wrong parameters are set when choosing "Sony Playstation Portable" from the Auto menu. The PSP doesn't support more than 2 reference frames or 8x8 DCT Transform.
This is how you can fix it. Backup the original file
Code:
sudo cp /usr/lib/ADM_plugins/videoEncoder/x264/Sony PlayStation Portable.xml /usr/lib/ADM_plugins/videoEncoder/x264/Sony PlayStation Portable.xml.org
Edit the file
Code:
sudo gedit /usr/lib/ADM_plugins/videoEncoder/x264/Sony PlayStation Portable.xml
Change this line
[Code]...
View 1 Replies
View Related
Jan 26, 2011
What's the easiest software to use (simplest command) that will read a VIDEO_TS folder (a ripped DVD) and transcode it? I don't want a GUI. mencoder looks like my best bet, but I just wanted to check before I start transcoding all my DVDs with it. Also, auto-cropping would be a great feature, but I don't think mencoder can do this unless you find this out prior to the transcode with mplayer.
View 2 Replies
View Related
Apr 28, 2010
I am finding little bits and parts of information about CUDA enabled mplayer/mencoder .. apparently CUDA will enable your Nvidia GPU to do work when transcoding video instead of the CPU?
does anyone know if there are any Fedora RPMs of a CUDA enabled mplayer? how can you tell if your Nvidia card supports CUDA in linux? I found some ubuntu packages but so far nothing for Fedora
View 4 Replies
View Related
May 13, 2011
does anyone know if there are Linux drivers for the Leadtek MPEG-2/H.264 Transcoding Card WinFast PxVC1100? I read it works under Linux, but there seems to be no specific drivers for it.
View 1 Replies
View Related
Jan 29, 2011
I have a torrentbox. The special thing about this torrent box is that it's custom built, it has Windows 7 installed and I have full control over it using TightVNC. At the moment I'm using uTorrent WebUI and FTP do download the files. But I'm thinking - When I download a 1,5 hour long video in 30 minutes, wouldn't it be theoretically possible to just WATCH the movie directly from the torrentbox? Obviously this can't be dont using FTP since it makes you download the entire file, BUT:
Is there some other way to fool your OS into thinking that this is a local folder, and get media players like VLC or GOM player to play video files directly? This would be a monumental time- and space saver for me.(I have both Windows and Linux Mint on my PCs)
View 1 Replies
View Related
May 13, 2011
There are Linux drivers for the Leadtek MPEG-2/H.264 Transcoding Card WinFast PxVC1100? I read it works under Linux, but there seems to be no specific drivers for it.
View 2 Replies
View Related
Jul 7, 2011
This is an error I got from VLC Media Player:
Streaming / 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.
It said not to contact VideoLAN, but instead the Distro so...here I am. Was there a file I should download in order to fix this? If there is one, where do I place it or run it to stop this error?
View 2 Replies
View Related
Apr 8, 2010
I'm using ubuntu 10.04 beta 1. when I try to update & upgrade I get the following error:
Code:
Setting up install-info (4.13a.dfsg.1-5ubuntu1) .../etc/environment: line 4: LC-ALL=en_US.UTF-8: command not found dpkg: error processing install-info (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: install-info
View 4 Replies
View Related
May 4, 2011
I have no idea why Braseo won't write this album to a CD. I can easily listen to the whole album with Banshee, but Braseo won't burn it I copy and pasted the log file below.
Checking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1744)
BraseroNormalize called brasero_job_get_action
BraseroNormalize called brasero_job_get_action
BraseroNormalize called brasero_job_get_tracks
[Code]....
I read the log file and I can't make any sense out of it.
View 8 Replies
View Related
Jul 12, 2011
I have Ubuntu 11.04 and I have some music in flac-format. However, when I try to transfer that music to my ipod nano 5g using Banshee, I only have the option of converting it to pcm, not i.e. mp3.
Is it possible to set Banshee up, so it converts flac to mp3 instead of PCM?
View 2 Replies
View Related
Jul 23, 2011
I converted using a simple app called sound converter to convert my mp4 vids to flac (because they were music i didn't need the picture.)
Which is bad because one of the main reasons I wanted to convert is because i thought removing video reduced the file size.
For example one file went from 6.4mb mp4 to a 19.7mb flac.
View 3 Replies
View Related
Feb 7, 2010
Does anyone know how to use neroaacencoder (in CLI) to convert a flac file to AAC ? Is it also possible to encode in WMA in Linux ?
View 9 Replies
View Related
Mar 8, 2010
How to install XMMS from source with the Flac plugin. It was originally based on howto's from blogs. I have tested this on Karmic Koala and it should work fine.
We will start off with XMMS. We'll take the plugin later..
First you need to update your packages list
Quote:
Now install build-essentials
Quote:
View 5 Replies
View Related
Apr 16, 2010
You will need "cuetag" for this which is part of the "cuetools" but since you already installed it (see previous seps), all you have to do is open the terminal, navigate to the folder where you just splitted some APE or FLAC files and type this:
Code:
cuetag *.cue split-track*.flac ;
(if you didn't change the file's name from split-trackNN.flac). All the split-track*.flac files will have tags in just a few seconds.so i did exactly what i was suppose to do but for some reason is still could not add the tags to my FLAC files..
Code:
kon@kon-laptop:~$ cd ~/Desktop
kon@kon-laptop:~/Desktop$ cd *ora*
kon@kon-laptop:~/Desktop/sDvorak $ cd *CD1*
[code]....
View 2 Replies
View Related
Oct 14, 2010
I have tried everything within my power and knowledge to get xmms2 to play my flac files, but I just get no sound. I've had to resort to mplayer for now for flac. For the record, yes I have the flac plugin installed along with the all-plugins package.
View 3 Replies
View Related
Oct 25, 2010
I used Sound Converter to convert a few artists tracks from flac to mp3. I've done this successfully in the Windows environment many times. Now when I go to play the tracks on my Creative Zen, they are not there but when I look at the tracks that I transferred over, in the file window, they are there and they are MP3's but my Zen isn't recognizing them. What's going on? All other artists that aren't converted MP3s are fine.
View 4 Replies
View Related
Nov 1, 2010
How can I convert DTS files to Flac? Soundconverter and the likes won't work, so I thought of VLC but could not get it to work either.
View 9 Replies
View Related
Nov 20, 2010
How do you convert a flac file to mp3? Well I have an entire album to convert actually.
View 5 Replies
View Related
Feb 23, 2011
Lately I've tried rsync for backing up my home partition to an external drive, but I've run into some problems with some flac files (there might be other problematic files though, these are the ones I know of). The external drive is formatted in ntfs. Now, when adding my whole music directory (within my home directory) first as a library to VLC and then copying to the playlist, some files are not playable. I discovered this at work in windows, and resaved all the flac files using ex falso to skip windows incompatible characters. The problem persisted though. I tried the same thing in VLC in Ubuntu, and got again a set of non-playable files, partly, but not completely, overlapping the set of files that were not playable in windows. The original files (on my internal drive) are playable in VLC in Ubuntu. What to do (except to go back to cp instead of rsync, rsync is faster, but if it doesn't copy correctly, it's not worth it)?
View 2 Replies
View Related