Ubuntu Multimedia :: Batch Convert Audio In Video Files?

May 8, 2010

a movie is encoded with AC3 in 6 channel audio, what I get out is all of the sounds except for voices, which in 5.1 would be sent to the center channel. What I usually do is fire up avidemux and convert the audio to mp3 stereo, as converting to a 5.1 format usually ends up with a very odd sound (like running everything through an echo chamber). What I'd like to do is run a script to batch-convert these files from AC3 to MP3. The video format may vary, but they are usually XVID. I am comfortable at the command line, but I am not well-versed in audio/video tool terms. I don't need anything extravagant, I just want something that works. Heck, even if it is done one at a time, having a shell script that I can use to simply type:

tool.sh inputfile.avi outputfile.avi

View 4 Replies


ADVERTISEMENT

Ubuntu Multimedia :: How To Batch Convert Files To .flv?

Apr 16, 2011

So I have a php script that is setup to stream flash video (.flv) and I absolutely love having it. The problem is that any files I want to stream have to be in .flv format for it to work properly as .avi and others obviously don't stream well. Up until now, I've used FFMpeg to change the format from .avi to .flv, however the process takes a lot of time if you have a lot of videos, added to that you have to do one file at a time definitely makes it a pain.Does anyone know of a bash script that can take all the files (i.e. avi, .wmv, .mkv, .mpeg4) in one folder and automatically convert it to .flv? Then possibly delete the old files? Low resolution is fine, so long as it at least viewable. Does anyone have a script or know of a program that can do this (I run Ubuntu 10.04). I think FFMpeg has the best chance of doing this, but I don't know the syntax to actually do so.

I've searched the internet, and while I have found a few scripts, they didn't work for me (still looking into two scripts I found.I am currently messing with them to see if I can get them to work).It would be immensely helpful if someone knew of a way to do this.I also forget to mention that I have used Winff, but I was looking more for a bash script to do this so that I can set a cron job to convert them every hour or so.

View 4 Replies View Related

Ubuntu Multimedia :: Convert Video To Audio Use Ffmpeg?

Jul 15, 2010

I want to convert all video file in folder a become audio file in folder b use ffmpeg, how to type it in terminal?

View 7 Replies View Related

Ubuntu :: Script To Batch Convert Video In Handbrake?

Feb 21, 2011

I've looked everywhere I could but I must be blind. I have Ubuntu 10.04 Server and I'm trying to batch convert .avi to .m4v in folders and subfolders. I can't seem to find a script to do that.

View 1 Replies View Related

General :: What Program Can Batch Convert Video?

Apr 22, 2011

I have many video files that I'm trying to convert from *** to .mp4..Currently I'm using Handbrake which does a good job but getting it started is very tedious. In Handbrake I need to confirm and add to queue all of the files. When there are over 200 files at a time it takes way too long. If there is a way to not confirm all of the files please let me know.What program can I use to just add a folder and have it automatically add all of the files to my queue?

View 9 Replies View Related

Ubuntu Multimedia :: PACPL - Pearl Audio Converter - Convert Wav Files To Wma Files ?

Jan 30, 2011

I have installed this program ok but I am new to command lines in terminal.

I want to convert some wav files to wma files. I have the wav files currently in a folder called Test to make it easy. So I have entered the following command line:

ajpearson@ajpearson-laptop:~/Desktop/pacpl-4.0.5$ pacpl --to wma home/ajpearson/Desktop/Test and the error message I get is:

error: the following is not a file or directory: home/ajpearson/Desktop/Test

It does not matter what directory I use I get the same error. I am sure the answer is obvious - but not t me.

View 9 Replies View Related

Ubuntu Multimedia :: User Friendly Video Converter - Ffmpeg Cannot Convert A .avi To .3gp With Audio Working

May 15, 2011

i am using Ubuntu 11.04 on my computer system. I urgently need a good video converter for converting videos.I have already installed FFmpeg and men-coder,Winff etc. The problem is each has its own drawback.For instance ffmpeg cannot convert a .avi to .3gp with audio working. My preferences are the converter should be user friendly, should support all popular video formats.

View 2 Replies View Related

OpenSUSE Multimedia :: Convert Dss And Ds2 Audio Files

Oct 27, 2010

DSS and DSS Pro file formats are used by professional voice recorders such as the Olympus DS-4000, Olympus DS-5000 and Philips LFH-9600. Is there any known program running under Linux to play and/or convert these files into something more compatible?

View 2 Replies View Related

OpenSUSE Multimedia :: Can't Convert Audio Tracks Into Mp3 Files

Dec 6, 2009

I want to convert some audio files, to mp3 files. I have only k3b but it converts into ogg or wav. Is there any program to convert a track in mp3? r a k3b add-on?

View 6 Replies View Related

Ubuntu Multimedia :: Convert Any Video Files To Any Format?

Jan 4, 2011

I just wanted to know what people think is the best video encoding program. I want to be able to convert any video files to any format, mostly x264, avi that sort of stuff. I used AVS encoder in windows.

View 2 Replies View Related

Software :: Batch-convert A Bunch Of Old Wma Files To Ogg Vorbis?

Jan 15, 2010

I'm not asking for help here, just documenting something I just discovered. Yesterday I wanted to batch-convert a bunch of old wma files to ogg vorbis. Not wanting to go through intermediate wav files, I tried to use ffmpeg to do it in one go. I first tried using the following command (in a loop, which I won't print here).

Code:
ffmpeg -i $file -f ogg -acodec vorbis -ab 192k outputdir/$file "vorbis" turns out to be the built-in libavc implementation of the codec. In the process I discovered that the -ab value is always ignored. No matter what value you put, the output is always the default 64k (average, but of course it's vbr). You can however use the poorly-documented -aq option to set the audio quality used. The values don't correspond to the oggenc values though, being a number ranging from 10-100 (or more, I don't know what the maximum is). It's not exactly clear what number corresponds to what average bitrate, so you have to experiment. ~30 seems to give you an average-rate file, while anything above 60 is probably overkill.

Switching to the external libvorbis gave me more flexibility, although at a cost of much longer encoding times (note that ffmpeg must have been compiled with libvorbis support first).

Code:
ffmpeg -i $file -f ogg -acodec libvorbis -ab 192k outputdir/$file
ffmpeg -i $file -f ogg -acodec libvorbis -aq 6 outputdir/$file

I could use both -ab and -aq (with the numbers corresponding to the oggenc values), with no problems. ffmpeg does display some wrong values in it's output text, however. In addition, there's one more difference. The vorbis (libavc) codec provides an entry in the header of the ogg container reporting the average bitrate, but it doesn't appear to provide a similar bitrate header in the vorbis stream itself. Some programs may not report the bitrate value because of this.

libvorbis provides both headers, avoiding that problem. So to summarize, libvorbis appears to be a better codec choice than vorbis.

View 10 Replies View Related

Ubuntu Multimedia :: FFMPEG - FLV To MP3 Batch Convert

Mar 15, 2010

I have a file with about 6 .flv files and I wish to batch convert them to libmp3lame. I have tried making a #!bin/bash script with all the files in e.g.

Code:
ffmpeg -i filename.flv -sameq -acodec libmp3lame -f asf filename.mp3

I have inserted all the filenames individually into the script but when I ran it I got too many errors and i was wondering if someone knew a quicker way to do it e.g. a script that would batch convert all .flv files in that folder to .mp3 format.

View 8 Replies View Related

Ubuntu Multimedia :: Change MP4 Video Files In A Directory To MP3 Audio Files?

Apr 29, 2011

What would be a nice, simple command to go through all files in a directory (no sub-directories), and change all the MP4 Video files I have to MP3 audio files (keeping the original filenames except for changing the "mp4" extension to "mp3")?

The files in question were videos taken with one of those Flip cameras, but I only need the audio off of it.

View 3 Replies View Related

Ubuntu Multimedia :: Convert HD Mkv Video Files To AVI Or WMV Without Loss Of Quality

Nov 23, 2010

does anyone know of any FOSS program I can use to convert HD X.264 MKV video files to AVI or WMV without loss of quality. I wish to stream these videos from my linux box (yes u can do that via ushare)to my xbox 360 but unfortunaly it wont play MKV files.

View 9 Replies View Related

OpenSUSE Multimedia :: Batch Convert Flac To Mp3?

Jun 6, 2011

pacpl and audioKonverter appear to be missing from the Packman and OpenSuse repositories. Does anyone know of something similar that's available?

View 3 Replies View Related

Ubuntu Multimedia :: .box .idx Video - Audio Files

Apr 18, 2011

My work just installed a new surveillance system and it uses .box video files and .idx audio to go along with it. They have a windows program to view them but I would love to keep on using my Ubuntu laptop.

View 1 Replies View Related

Ubuntu Multimedia :: Write A Bash Script To Batch Convert To Mp3hd?

Oct 23, 2010

ok so i am trying to write a batch convert script for mp3hd(do not snigger)my starting point is a script i know works i got elsewhere

Code:
for f in *.m4a; do ffmpeg -i "$f" "${f%.m4a}.wav"; done
from here

[code]....

View 9 Replies View Related

Ubuntu Multimedia :: Batch Convert Entire Music Directory To 320kbps MP3

Jan 3, 2011

I have a large (~60GB) collection of music in various formats on my hard drive. It is organised in the form Artist/Album/*.ext

The formats include M4A, FLAC, MP3, and OGG. What I would like to do is convert the entire directory, keeping subfolders and ID3 information intact. I would preferably like to be able to do this with a single script.

I am running Ubuntu 10.10 x86_64. I am fairly adept with BASH and the command line, so I foresee no problems there. If I have to write my own script, these are the things I'm not sure about:

(a) maintaining the directory structure.
(b) how to tell the script which converter tool to use (LAME, FLAC, etc.
(c) keeping ID3 tags.

View 9 Replies View Related

Ubuntu Multimedia :: MKV Files Audio/video Out Of Sync?

Mar 29, 2011

I put all my dvds on my "media center" by converting them to .MP4 with handbrake.

Recently I saw that with a MKV file you could do soft subtitles. I tested a part of a movie, and the audio and video are very out of sync.

With MP4/burned in audio everything is ok...

Edit: Ow yes I'm using XBMC for playing it. MP4 + MKV files are both H.264, they have the exact same settings except for subtitles...

Weirdly Enough: I tried another video and at this one the audio is in sync....

View 1 Replies View Related

Ubuntu Multimedia :: Unable To Play Audio/video Files?

May 14, 2010

I'm using latest version of ubuntu 10.04.

Sometimes when i play a media file i get this error :

Code:
"An error occurred : Failed to connect stream: Too large"

I have all the codecs installed.None of the player totem,vlc plays them.

View 1 Replies View Related

Ubuntu Multimedia :: Way To Play Read Audio / Video Files

Jan 14, 2011

Is there a way to play read audio/video files (.rmvb .rm etc) using the VLC Player without installing realplayer?

View 1 Replies View Related

Debian Multimedia :: Mplayer Audio Extraction From Video Files

Dec 9, 2010

I am on Squeeze. In the past I have successfully extracted audio from video files. Recently when I try it I get an unplayable file, just some brief noise nothing more. Mplayer on the other hand plays every video and audio file out there. Is there something wrong with mplayer? I installed mplayer from the repo. I haven't compile mplayer since before Lenny.

View 14 Replies View Related

Ubuntu :: How Do You Convert Video To Audio

Jan 27, 2011

when i had windows xp i used to convert almost any videos video into audio (the whole video into audio) by going to [url], downloading vdownloader and just inserting the url in the box provided; waiting for a couple of minutes and having an mp3 format file at the location that i want it to be in the desktop. when i searched for something similar for linux, because vdownloader was an .exe file and obviously wasn't going to work on ubuntu.

i found that i could get a video downloaded from videos but not an audio - i wait for the video to finish buffering; click on places; computer; file system; tmp; then rename the video folder and copy/relocate it to where ever on the desktop. ending with this video format "flash video (video/x-flv)". my question is: is there a linux program where i get to convert the entire video format to an audio format, possibly mp3?

View 9 Replies View Related

Fedora :: Easy Way To Get Multimedia Codecs To Play All Types Of Audio An Video Files?

Dec 6, 2009

What is the best/easiest way to get ALL multimedia codecs both free nd non free so i can play all types of audio an video files? Like xvid quicktime, avi windows video files etc etc

View 2 Replies View Related

Fedora :: Download Multimedia Codecs Which Enables To Play All Kind Of Audio And Video Files?

Dec 5, 2009

How can I download multimedia codecs which enables me to play all kind of audio and video files. I am using 64 bit F12.

View 3 Replies View Related

Ubuntu :: Convert 3gp Audio Files For Audacity

Jun 21, 2010

I have an android phone. The voice recorder records files in 3gp audio only format. I can play these on my computer with the standard gnome player and with vlc. However, audacity won't open it up. There is an error that says that FFmpeg should import it but it didn't understand the format. I need to edit some of these audio files for use. Is there a way to convert these files to mp3 or flac so I can edit them? Searches turn up w32 ware and some arcane mencoder commands but they have to do with converting video.

View 5 Replies View Related

Ubuntu Multimedia :: Batch Extraction Of Subtitles From Mkv Files?

Jul 16, 2011

I have recently been tasked to extract the subtitles from a lot of mkv files. Hundreds of them, maybe even more than a thousand. To do this, I modified a script I found online:

#!/bin/bash
IFS="|"
if test -z $1; then

[Code].....

So in the above example the subtitle is actually in track number one and my script would be borked for that particular file. Is there a way to integrate mkvinfo into the script and parse it to see what track should be extracted? Like, read it line-by-line and change the value of some #TRACKNO variable everytime a string like "| + Track number:" appears, and stop when a string like "| + Track type: subtitles" appears? Maybe even skip doing anything if there aren't any subtitles.

PS: I actually prefer SRT subtitles to ***. If there was some command line tool I could use to convert the resulting *** file to SRT I would be much obliged.

View 2 Replies View Related

Ubuntu Multimedia :: Convert Any Video To Mp3 Without Video?

Oct 5, 2010

I been looking on Google to convert videos to mp3 audio and all I get is just a video conversion from one format to another and some things I installed just get error messages so I took them back off. Anyone know the proper syntax in Mencorder to convert a video just to audio? Or any other program I can use that won't cause this much trouble?

View 7 Replies View Related

OpenSUSE Multimedia :: 11.2 - Batch Of Codecs To Work With MKV Files

Jan 25, 2010

System - openSUSE 11.2 "Emerald" KDE (with gnome base)
Player - vlc
I'm hoping to find a batch of codecs for my newly installed openSUSE OS. I have a very troublesome collection of .mkv files that took several codec packs to make them work. For a brief explanation, I had tried haali and matroska both together and they still didn't work on certain mkvs. I ended up using CCCP, but that's win only as far as I can tell. It took the latest update of CCCP to work on all of my mkvs.

View 4 Replies View Related

Ubuntu Multimedia :: Separate The Audio And Video Streams, Speed Up The Video?

Apr 20, 2011

I have a video file in which the audio runs faster than the video, so they quickly go out of sync. The way to fix it would be to separate the audio and video streams, speed up the video (the audio is FINE, it's the video that's wrong), and then recombining them. What is the easiest way for doing that?

View 7 Replies View Related







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