Ubuntu Multimedia :: Feature In FFMPEG That Will Automatically Do The Calculations?

Mar 15, 2011

I have several videos (around 50) of varying resolutions aspect and varying aspect ratios that all need to be down converted to be playable on iOS and Android. Some videos are 4x3 some are 16x9 and some are 2.35x1. I want to write a script to convert all of these to a 360P version in one go. That means the 4x3 will be 480x360 the 16x9 will be 640x360 and the 2.35 will be 640x272.Is there a feature in FFMPEG that will automatically do the calculations for me?

View 9 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Ffmpeg 6 Is Out For Some Time When Will Lucid Afford Such A New Ffmpeg?

Jul 20, 2010

Since ffmpeg 6 is out for some time, when will Ubuntu Lucid afford such a new ffmpeg package from its repository?

View 2 Replies View Related

Fedora :: Multiseat Feature That Had Been In The Feature List At One Point?

Mar 9, 2010

Does anyone know what happened to the Multiseat feature that had been in the feature list at one point?To briefly summarise, a single machine with multiple graphics cards, sound cards, keyboards & mice provides multiple seats for users. Each user gets their own monitor, keyboard, mouse & perhaps audio. The rest of the machine resources are then shared.

The last I saw on the topic was this discussion, although I have a recollection that there was going to be support in a newer version of X.Org. I've googled around quite a bit, but can't seem to find anything.

Anybody know anything? It would be a great feature to have and it's frustrating to have had such an omission since F8 :-o

View 1 Replies View Related

Ubuntu :: Use Calc For Simple Calculations?

May 25, 2010

i am trying to use Calc for simple calculations. How can i do so that a whole column uses a number from previous row? for example i want D2=B2+C2+D1 and the next row to be D3=B3+C3+D2?

View 5 Replies View Related

Ubuntu :: Calculations In A Shell Script?

Apr 21, 2011

I'm having some troubles with my backup script, i want to delete the folder that is 2 weeks old. The problem is that when is use the folowing code:

YEAR=(date +%Y)

Code:

#Remove old directories
TWOWEEKSAGO=$(date +%U)-2|bc
echo $TWOWEEKSAGO
#rm -r /home/[my home directory]/Backups/$YEAR/$TWOWEEKSAGO/

The $TWOWEEKSAGO variable is [empty] and not 14, but when I remove the -2|bc and I use:

Code:

echo $TWOWEEKSAGO-2|bc

It echo's 14.the weeknumber at this moment minus 2, I have to fix it when the weeknumber is 1 or 2 so the directory of the last year will be deleted, but I will fix that later if you don't know that.

Code:

#Remove old directories
TWOWEEKSAGO=$(date +%U --date='2 weeks ago')
rm -r /home/[my home directory]/Backups/$YEAR/$TWOWEEKSAGO/

After 30 minutes with some help I coded the following to delete the folders of last year:

Code:

#Remove old directories
TWOWEEKSAGO=$(date +%U --date='2 weeks ago')
if [ $TWOWEEKSAGO -eq 51 ]; then

[code]....

View 6 Replies View Related

Fedora :: GSL For Scientific Calculations Configuration

Feb 26, 2010

Install GSL for scientific calculations. When you try to. / Configure appears Permishn denaynd. As I understand it because I have a file system in properties has Read-Only flag. An attempt to change it to read and write an error - saying that this can not be done. All this is done under Root. But nothing came of it, and very much need to put this library.

View 13 Replies View Related

Ubuntu Multimedia :: Audio Recorder With Scheduling Feature?

May 14, 2010

I am a Mac user who has been using Audio Hijack Pro for many years. I use it to record radio shows from the station I work at. One of the nice features is that it has a built in scheduler that I use to record shows at different times and dates.[URL]

View 5 Replies View Related

Ubuntu Multimedia :: Looking For Specific Music Library Feature

May 15, 2010

I haven't been able to find it yet, but I may just be overlooking it in the programs I've tried. What I want, is to have a lossless music library on my desktop. Be able to browse this music library, select certain songs, and convert them to a mobile friendly format as I push them onto my phone for playback. Such as a flac to mp3/aac conversion while it pushes them onto the phone. Is there a program that does this? The last time I was able to do this, was in Windows using J River Studios Media Center, and it did this quite well.

View 1 Replies View Related

Ubuntu Multimedia :: Finding Certain Feature In A Media Player?

Aug 24, 2010

I'm using the default Totem movie player to play all my mp3s. However, because I listen to a lot of podcasts(some over an hour in length), I'm looking for some kind of media player that makes it easy to navigate through long audio files. For example Winamp has global hotkeys that allow you to jump forward or backward by 30 seconds (something like that).

View 2 Replies View Related

Programming :: Calculations - High Resolution Mandelbrot - Working Code

Feb 25, 2010

I am piecing a Mandelbrot generator up, I have one working to produce a 1,500 x 1,500 picture (which is fairly accurate).

I would like to increase the resolution over 100,000 x 100,000 + (into the millions x millions).

How I can achieve this? What kind of buffer sizes do I need?

(note this code doesnt have any memory allocations yet)

Here is my code so far:

The program outputs the Mandelbrot as a .tga file. I calculated the image on fixed axis of -2 to 2 (on the x and y axis). Image produced: [url]

View 12 Replies View Related

Debian Multimedia :: KDE Feature - Can't Move Icons From The Panel

Feb 9, 2011

I'm using squeeze and the xserver-xorg-core, kdebase and kdm packages with their dependencies in addition to the base system installation. I get glitches when I try to drag the icons on the panel: I can't move them properly and occasionally the whole screen gets redrawn (by this I mean it goes black and gets back several seconds later.) and gives an error with signal 11 (segmentation fault). The problem is not specific to my user account, because I tried it with a newly created user, and I didn't do any configuration on mine either. I also experienced other glitches, about which I made some screenshots: [URL]

View 1 Replies View Related

Ubuntu Multimedia :: Ffmpeg To Convert HD .mkv To .avi?

Jan 13, 2010

I've got a bunch of HD files in .mkv format that I want to convert to a format that the 360 will read (currently just trying .avi files) so I can stream the media to my xbox360. I'd rather avoid transcoding the entire file, so I tried unpacking the .mkv file into audio and video (and subtitle if necessary) and repacking said file into avi using ffmpeg. The repacking is where I am having the problem. Here's the commands I tried at first (it might look familiar):

Code:

mkvextract tracks file.mkv 1:temp_video.avi 2:temp_audio.ogg 3:temp_sub.srt
ffmpeg -i temp_video.avi -i temp_audio.ogg -vcodec copy file.avi

However, I keep getting this annoying error:

Code:

Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height Where stream #0.1 is the output audio stream to the .avi file. I think I have narrowed it down to the fact that the input streams are all 6 channel (5.1 surround sound) which mp2 doesn't support (the ffmpeg audio default) so I did this instead:

Code:

ffmpeg -i temp_video.avi -i temp_audio.ogg -vcodec copy -acodec libmp3lame file.avi

I'm still getting the same error, but when I use

Code:

ffmpeg -i temp_video.avi -i temp_audio.ogg -vcodec copy -acodec libmp3lame -ac 2 file.avi

to change the sound to stereo it works. Problem is I'd like to keep my media in surround sound. Any thoughts on how to get all 6 channels in the new mp3 file? I'm fairly certain that mp3s support 5.1. And after some messing around, I haven't found that my ffmpeg can transcode audio format from 5.1 back to 5.1. So since (I think) the 360 can play .ac3 files I decided to just copy both the video and audio file to the .avi file sans transcoding using

Code:

ffmpeg -i temp_video.avi -i temp_audio.ogg -vcodec copy -acodec copy file.avi

however now about halfway through, I run into this error:

Code:

NULL @ 0x22f3a00]error, non monotone timestamps 62562 >= 62562

av_interleaved_write_frame(): Error while opening file I can't seem to find any solution to this problem anywhere online, does anyone know how to get around this? I'd prefer to use ffmpeg for this if possible. (so I can write a script and just attack an entire directory at once) For what it's worth, I'm using the latest ffmpeg in the ubuntu (karmic) default repositories.

View 1 Replies View Related

Ubuntu Multimedia :: Cannot Convert .ogg To Mp3 Using Ffmpeg

Apr 26, 2010

i want to convert a song from ogg format to mp3 using ffmpeg the command i use to do this is

ffmpeg -i /home/john/Music/input.ogg to mp3 output.mp3

i then get then get a message back saying

"unknown format"

how do i correct this ?

View 1 Replies View Related

Ubuntu Multimedia :: Cannot Convert To Ogv With Ffmpeg On 10.04

May 18, 2010

The command line to convert to ogg theora

ffmpeg -y -i input.flv -sameq OUTPUT.ogv

runs perfectly on 9.04 but on 10.04 it gives errors:

Code:
ffmpeg -y -i input.flv -sameq OUTPUT.ogv
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter

[Code].....

View 9 Replies View Related

Ubuntu Multimedia :: MKV Conversion For PS3 Using FFMPEG?

May 27, 2010

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?

View 3 Replies View Related

Ubuntu Multimedia :: Using Ffmpeg To Convert DTS To AC3?

Jul 28, 2010

I have a .mkv container with proper video (h264/~6000kbps) and audio (DTS/1500kbps). For some reason I want to have similar quality but with another video and audio codecs. For video it goes well and ffmpeg is very helpful here, no problems. Also, I want DTS to become AC3/320-448kbps/5-6 channels. Commands like this:

Quote:

ffmpeg -i in.dts/mkv -acodec ac3 -ac 5 -ab 448k out.ac3

gives me not proper reordered sound in channels, so I hear center on the right, music on the left, etc.

Is there a way to make that properly with ffmpeg?

Also, I have a question about multi core encoding cause I have a quad processor. Ffmpeg seems not using them in all the way, I get something like 25% of CPU usage while encoding. Command -threads, even using the h264, does not make any extra load of cpu.

View 4 Replies View Related

Ubuntu Multimedia :: Convert .avi To .mov With Ffmpeg?

Jul 29, 2010

I'm making little animated bits in GIMP with the gap package. I can only get GIMP to encode the files as .avi. Problem here is that when I try to use any converter, it compresses 80MB files down to 1MB-4MB files and, unsurprisingly, the video quality is terrible. WinFF and ffmpeg (via terminal) output at a drastically reduced size. Is there some way to keep the files big/big-ish? I don't want to lose any detail.

View 6 Replies View Related

Ubuntu Multimedia :: FFmpeg Script For DVD To Mp4?

Aug 31, 2010

i want to convert DVD movie to mp4 using x264 and aac. I'm having some issues with GUI apps.I use ffmpeg in terminal for all my single file converts and prefer to use it but don't know how to use it in terminal for a DVD movie to mp4.

View 9 Replies View Related

Ubuntu Multimedia :: Ffmpeg - Convert .ogv To .avi?

Nov 4, 2010

Recently I installed gtk-recordMyDesktop, so that I could record my movements and send the Media File to my dad, so he could learn how to use Ubuntu too [plug]My problem is converting the .ogv file to .avi - I have tried ffmpeg but it loses quality dramatically.Can anyone tell me how to get better quality video out of ffmpeg, or let me know another way to convert the .ogv file to .avi or something that is widely used?

View 3 Replies View Related

Ubuntu Multimedia :: Convert Amr To Mp3 With Ffmpeg?

Feb 13, 2011

I've been recording one of my classes with my android phone, and the file it gives me is an .amr file. I'd like to convert that to .mp3, and I was hoping I could use ffmpeg to do it via the command line. Here's what I did, and the output that I got:

Quote:

roger@KarmaLaptop:~/Desktop$ ffmpeg -i Net202-week6.amr Net202-week6.mp3
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 5 2010 22:36:53 with gcc 4.4.5
configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter

[Code]....

View 5 Replies View Related

Ubuntu Multimedia :: How To Add Subtitle In Ffmpeg

Jul 17, 2011

i have a mp4 file and i will convert it with ffmpeg and add new subtitle i use this command

Code:

ffmpeg -i Taylor-Swift-Mine.mp4 -b 768000 -r 24 -s 640x360 -aspect 16:9 -newsubtitle Mine.srt -ab 128000 -ac 2 -ar 44100 out.mp4

and output command

Code:

ffmpeg version N-30884-g54dd50d, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 20 2011 19:09:46 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-

[code]...

At least one output file must be specified Do you see i can't convert my file now how i add subtitle to my video in ffmpeg

View 1 Replies View Related

Debian Multimedia :: How To Bind A Key To Mouse Click With Holding Feature

Jun 21, 2015

I have a trackball with only two buttons. And I searched for a way to scroll (wheel simulation) with the trackball.

I already managed to emulate the wheel when holding a trackball button (eg, the right click). I succeed using xinput as described here. But clicking on the right button when rolling with the same hand is not very easy (indeed it is even difficult).

And since I have some media keys (XF86 on the far most left corner of my keyboard it could be very convenient if I can simulate the wheel using a key press.

Unfortunately the evdev option "Option "EmulateWheelButton" allows only to use a mouse button no key from keyboard.

So I found a way to map a keyboard key (in my case the "Audio Player Next Track" shortcut) to the right click using the three steps [URL]..... So pressing the key actually triggers a right click and this works very well ... with two exceptions .

The first one is that I don't know why but this completely disabled my numkeys (the numpad at the right end of the keyboard).

The keys control the mouse. After I checked under the "universal access" I saw that "Control the pointer using the keypad" option was checked. But this could not be a problem and I could be satisfied without the second problem..

Which is that my keyboard simulated right click do not actually enable the wheel emulation since the rightclick should be held down...

When pressing and holding down the real right button of the trackball it works. Even when holding the right click with a regular mouse.

But using my shortcut key I'm unable to generate a keydown event.

Is there a way to map the keyboard key and the mouse button like this :

a key press => a regular right click
a key down => a held right click
a key up => a right click release

View 1 Replies View Related

Ubuntu Multimedia :: Ffmpeg In Automated Script?

Jan 14, 2010

have downloaded from internet to a mp4 format, so I can play them in my Nokia 5800.This is command line that works perfectly:ffmpeg -i "input.avi" -f mp4 -vcodec libxvid -s 640x360 -b 768kb -r 25 -aspect 16:9 -acodec libfaac -ab 96kb -ar 44100 -ac "output.mp4"n:Is there a way to make it really quiet so I can run it from cron..

View 2 Replies View Related

Ubuntu Multimedia :: Audacity Not Recognizing FFmpeg?

Jan 17, 2010

I installed Audacity to convert an mp4 to an mp3. Now, I don't necessarily need Audacity to do this, but for the time being I'm more concerned with getting Audacity to work properly as opposed to getting an mp3 onto my iPod.

In Audacity, I went to Edit>Preferences>Libraries. For the MP3 Export Library, Audacity recognizes LAME, but under the FFmpeg Import/Export Library it says "FFmpeg library not found." I hit the Download button and read this page on how to install FFmpeg, noticing the warning about needing FFmpeg 0.5 or later on Linux.

I fired up Synaptic and searched for "ffmpeg," chose the vanilla version and installed it along with two dependencies which I don't exactly remember but I bet they were libavformat52 and libavdevice52.

Back in the Audacity Preferences window I chose the "Locate..." button to point to the newly installed libraries, but Audacity is not recognizing/installing them successfully. I've tried pointing to the following files:

/usr/lib/libavformat.so.52
/usr/lib/libavformat.so.52.36.0
/usr/lib/i686/cmov/libavformat.so.52
/usr/lib/i686/cmov/libavformat.so.52.36.0
/usr/share/lintian/overrides/libavformat52

[Code]....

Did I install the wrong version of FFmpeg or libavformat? Any pointers?

View 4 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 :: Merge Two Files With Ffmpeg?

Mar 31, 2010

how can i merge two files with ffmpeg?

one is : /home/pt/t/pa1.flv
the other is : /home/pt/t/pa2.flv
1 o merge with ffmpeg
ffmpeg -i /home/pt/t/pa1.flv -i /home/pt/t/pa2.flv -vcodec copy -acodec copy /home/pt/t/dd.flv
the problem is: the merged file ( /home/pt/t/dd.flv ) just contain one file--the first one
/home/pt/t/pa1.flv,there is no the second file--/home/pt/t/pa2.flv in the /home/pt/t/dd.flv

[Code].....

View 4 Replies View Related

Ubuntu Multimedia :: Tovid Ffmpeg And Subversion ?

Apr 24, 2010

I just installed 10.04 today and i love it I'm trying to install some software tried devede but i didn't like it only text menu's and nothing more.I also found tovid software looks really cool and i was wanting to try it i tried to install the debs but no go the tovid website say's to install from subversion it also says something about installing ffmpeg from subversion.So what is subversion and how do i install from it?

View 2 Replies View Related

Ubuntu Multimedia :: How To Convert Bulk In FFmpeg

Jun 20, 2010

I recently developed a taste for the Alac format and ffmpeg will oblige with this line of code
Code:
ffmpeg -i <input> -acodec alac <output>.m4a
and this worked beautifully one file at a time and
How does one do all the files in a given folder? Is there an asterisk one adds as in shntool.

View 2 Replies View Related

Ubuntu Multimedia :: Converting M4a Videos With Ffmpeg?

Jul 11, 2010

I've seen posts with similar titles on these forums, but I know nothing about the plethora of codes out there and all those thread seem to be way over my head. I've installed ffmpeg (an unrestricted version) but I can't convert m4a audio files to mp3 audio files. I installed a package called 'libavcodec52' from synaptic because it came up in the search results for 'm4a' and its description said something about m4a and ffmpeg but still no luck..

View 9 Replies View Related

Ubuntu Multimedia :: Using Lame Options With Ffmpeg?

Aug 8, 2010

When using libmp3lame with ffmpeg is there a way to use lame options?

Code:
ffmpeg -i foo -acodec libmp3lame foo.mp3
For example:- --vbr-new, --abr <bitrate>, -V (n) and -q <arg>

I think it is possible to pipe ffmpeg to lame then use the options.But is it possible to do it without a pipe.

Code:
ffmpeg -i foo -f wav - | lame --vbr-new -V 4 - foo.mp3

View 7 Replies View Related







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