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..
I'm having issues while converting 192kbps mp3 using ffmpeg. The right channel somehow gets damaged. I'm using winff and I'm facing this problem only when using mp3 files having bit rate of 192 kbps . i've attached the screenshots of the file . Should i report a bug??
im setting up an external hard drive for movies and music to connect to my ps3. the majority of the movies work just fine (they are in mpeg format). but over half of them are HD and take up somewhere in the range of 5 to 8 gigs. since ps3 only supports fat32 externally i can only have file sizes up to 4 gigs. so i need to split the oversized videos into two parts, but i dont know how to do that. ive tried using avidemux (which is a pretty cool program and actually taught me alot) but i cant seem to get a correct format that will work with the ps3. playstations website listed several formats the ps3 is supposed to recognize but none seamed to work for me (maybe i did it wrong though).
I've been going bonkers trying to get an m4b audiobook converted to mp3. I've tried putting ffmpeg -i <infile.m4b> -acodec libmp3lame -ar 22050 <outfile.mp3> into terminal where "infile" is the filename I want converted and "outfile" is the new filename, but I keep getting the error message "bash: syntax error near unexpected token 'newline'" What am I doing wrong?! I have tried sound converter, but it hates me and crashes.VLC told me "It seems your FFMPEG (libavcodec) installation lacks the following encoder: MPEG Audio layer 1/2/3."
I would like to make a script for converting music using ffmpeg. I have a lot of music that I would like to convert to a different format and I don't want to have to do it manually each time. At the moment, I am using this command to convert the music:
I've mostly mp4/flv media files,i need to convert them to mp3 to put in my mp3 player but at the same time i like to adjust the mp3 bitrate to save space and maintain quality sometimes. How do i actually do that in Linux. Is there any GUI program that performs the job for me quickly ?
I have spend the entire weekend trying to convert a mkv file with a DTS audio track to an AC3 audio track. I wrote a small article on it on my website with plenty of links and suggestions. I used applications like TVersity, PS3 Media Server, mkvdts2ac3 script, and avidemux. I just hope i can save someone's weekend with this. Anyway here is the link:
i am converting my DVDs into a media library. The ripping itself is no problem. (using Xilisoft dvd-rip under wine; works flawless).
when i convert to a mp4 file, with good quality, the output is always around 1.2 -1.8 gb. depending on the movie file. i tried Xvid and the size is pretty much the same. only by reduucing the pixel size etc... i get like a 600-800 mb file.
when i see other ripped movies, with about the same movie length, they getting 800mb mp4, in perfect quality, no smaller screen, pixels are great etc... is there any kind of advanced setting to it? bitrate, audio? to get down to this file size..?
I have mediatomb (0.12.0~svn2018-6ubuntu2) installed on Ubuntu Server 10.04.2 LTS which I use to serve video to my PS3 (slim version). MOst videos work fine but I have some mkv's giving me trouble.I'm trying to use mencoder to re-code the video to one that the PS3 can play. mkvinfo says the video track is Codec ID: V_MPEG4/ISO/AVC and the audio track is Codec ID: A_AC3.I used this command to convert to avi (found it in a thread on this forum):
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):
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:
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
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.
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:
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 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:
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.
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.
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.
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?
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
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
Trying to burn with CD/DVD Creator. I can't find anything in the program (settings wise) that will automatically convert mp3 files to wav files. I used to use k3b, and it used to do that. I did try installing k3b, however I am getting glitches in the program. I don't want to covert mp3 files over to wav every time I want to burn a new cd. Does anyone have a suggestion as to another program or place to find the burn setting for encoding?
I have video files in wmv, mov format but my dvd player will not support these formats so I want to convert those to avi format, is there any software for this purpose, How can I install and use that?
To Ubuntu after switching from Windows Vista. So far I really like it. I am trying to convert music in wma format that I purchased on Zune to mp3 format so that I can play it in Rhythm Box and use it on a SanDisk Fuze that I recently purchased. I installed Sound Convert. Sound Convert works fine when converting wma files that were created from ripping CD's. However, it freezes when trying to convert wma files that were purchased from Zune. Also if I try to double click on one of the wma files to play it with movie player, I get an error message saying that the file is encrypted and decryption is not supported.
I did find a converter on Windows that works. However, it was a trial version that only converts 90 secs. The full version costs $25. I do not feel that I should have to pay for music that I have already paid for. The music was purchased a la carte from Zune (not with the monthly pass). Does anyone know of a workaround to free my Zune music so I can access it on Ubuntu?