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:
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 spent about a half hour wrestling with different website tutorials about how to convert a file with ffmpeg and figuring out how to get all the video quality options right. Then I discovered you can just use the -sameq option and it figures it all out for you if you don't want to change the vid quality but just want it in another format. Thought I'd leave this on the site in case anyone else finds himself in the same boat.
I 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).
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-
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.
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
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:
With 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?
Does anyone know what I should do to read a dvd disc that I recorded on my dvd recorder off the satellite decoder. When I look in winxp it shows the contents which is only a video_ts folder and no audio folder. Inserting the same into the pc with ubuntu 9.10 running the drive reads the disc but I then cannot access the contents, which I want to convert to a divx file or similar. Will I have to use my Windows system for this?
Is it possible to convert a 2.1 channel mp3 or any video file to get a respective 5.1 file permanently so I could play them on external music system which is 5.1 speaker system. Any sites where i can usually songs n video with 5.1 channel.
I had some success with handrake to rip dvd's in older versions of ubuntu. i now have a clean install of 10.10 and know that handbrake is not compatible (even tried the ppa of the nighly builds without success). In looking for alternatives, i cam across arista transcoder....which seems perfect for my needs (simple), but whenever i put a dvd in the queue its gives me an error that says conversion failed....no valid dvd title found. this happens no matter what dvd i use and no matter what preset i choose.
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.
I'm using Rhythmbox to manage my music collection. I have ripped my CDs into FLAC files. I'm using the Motorola Milestone (The Droid) as my music player and syncing it using Rhythmbox.
Now, when I transfer my music files from Rhythmbox to the Milestone, it automatically convert the FLAC files to MP3. But the conversion is set to 128Kps.
How do I change this default conversion rate? Or even, how do I change to another conversion format altogether?
i am using ubuntu lucid now and using ubuntu for 2years now.except nokia pc-suite i do not miss other s/w for windows.i tried to convert audio and video for using in nokia 5800,but i am not very successful mainly due to my inexperience.i installed winff and ffmpeg and searched a bit in this forum.found a few guides but mostly the converted files shows 'unable to play video or audio' in nokia 5800.
Code: -r 29.97 -vcodec libxvid -vtag XVID -s 400x240 -aspect 16:9 -maxrate 1200k -b 1200k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 44100 -ab 160k -ac 2 -async1 this is the example of wiff preset command for nokian810(but not working for me).apparently there is no need for -i or output file(and here i get confused from the command lines posted in the forum.
I think that the biggest problem that I have had is that some of the music (and audio books) that I have gotten have not played on my walkman, or have not been able to be downloaded in to I-tunes.
First: I hate itunes... I only try to make it work because I love my wife. (and do not want her to hit me)
Second: I know that my Walkman has a very limited range of files that it can play, so I will need to convert some types of files.
But my basic questions:
* How can I figure out what format a file is in? * Below that, how can I identify the singular characteristics of a file? (bit rate, and other formats...) * Is there a best way to switch the formats or format options of these files. (I am currently using sox to do this, it seems to very complete)
Basically. I know nothing! The most that I do not know is that two files that as far as I can tell have the same formats, and should work the same never the less, one of them works, the other does not. I am looking to figure out a way to look at these files (maybe they are mislabeled) and figure out what their real format is (and a more complete format than just being MP3 or such) and then to be able to convert it in to a format that is able to be used by myself and/or my wife.
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.
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
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..