Ubuntu Multimedia :: Make Exact Video Quality Conversion With Ffmpeg?
Jan 3, 2010
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.
View 1 Replies
ADVERTISEMENT
Aug 11, 2010
I was experimenting with transcoding video with ffmpeg. using the command
Code:
ffmpeg -i moviename.avi moviename.mkv
outputs the .avi into .mkv, but the output quality is very, very bad, while the original is dvd-quality.
View 1 Replies
View Related
Jun 5, 2010
is there a command to create a video from a mp3 and a png suitable to upload on ..... if anybody knows?
View 4 Replies
View Related
Sep 1, 2011
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?
View 4 Replies
View Related
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
Sep 19, 2010
I am using ubuntu version Ubuntu 8.04 , it is observed that the video quality is poor as compared to windows os i am not sure it is driver problem or something different, below are detail of my system
CPU : 2.6 Mhz
RAM :1024 MB
board : Intel 845 chipset
View 2 Replies
View Related
May 23, 2010
I've some videos with poor quality.It has pixelation and such problems.Can somebody suggest me some filters to be used with avidemux for correcting the pixelation and maybe deblocking it
View 2 Replies
View Related
Aug 8, 2010
I have a 500MB video that is 720x400. I want to half the size of the video while retaining the same relative quality.My main goal is to half the filesize of the video, but to do that and keep the same relative quality I will have to also make the resolution smaller.I can't seem to find a way to do this.I would preferer to use ffmpeg, but any solution would be good at this point. I would really like to be able to do this from the command line, but if there is a gui program that will also give me the command line it uses, that's great too.Does any one know of a way to half the file size of a video while maintaining the same relative quality?
View 8 Replies
View Related
May 11, 2011
When I watch movies on Ubuntu I noticed that quality of reproduction is not good as in Windows. All movies seems to have some sort of contrast problem which I don't know how to fix. This problem is not present in Windows (XP/7) and stand-alone DVD players play them also correctly.
Here are images (AVI, DivX format)
Windows version: http://i52.tinypic.com/125hlis.png
Linux version: http://i56.tinypic.com/tz53t.png
Also here is MKV format which is noticeably even sharper in Windows:
Windows version: http://i53.tinypic.com/2lmqxqe.png
Linux version: http://i53.tinypic.com/15gfmlt.png
Note: I didn't wanted to include them in post since they are quite big and I didn't want to do JPG compress since they might lose quality. Try not to resize them.
On Ubuntu I installed some 'extra' codecs (might be proprietary) via Software center. I use standard movie player that comes with 10.10, but for MKV I use VLC since mkv don't run in standard movie player. On Windows I use k-lite codec pack and GOM player. My guess is that Windows solve those sharpness and contrast issues by using some playback filters (possibly contained in k-lite codec pack) that are unavailable in Ubuntu. I installed proprietary video driver for ATI RADEON 2600.
View 5 Replies
View Related
Nov 1, 2010
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.
[Code]....
View 9 Replies
View Related
Jun 14, 2010
How can I make DVDrip movie look almost like in original DVD?
And can you recommend me a software for this? This is first time for me to do this in Linux.
View 3 Replies
View Related
Feb 4, 2010
I hooked up my laptop via monitor cable to the L.C.D. T.V. and ran a patch I found on Ubuntu forums because it wasn't showing up on the T.V. After that it asked me what screen resolution I wanted I entered it and then the screen worked! However, now when I play movies on either the T.V as a monitor or just on the laptop itself it comes out with bad video quality now. It sucks because that was the purpose of hooking up my T.V. as the monitor was to watch movies and videos I have downloaded.
View 9 Replies
View Related
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
Jan 16, 2011
I installed Ubuntu 10.10 recently and I love it. Everything works great except for video playing. When I try to play DVD's with VLC or ANY video player, I get horizontal flickering and I can't seem to fix it. I re-downloaded and installed the most recent video drivers from Nvidia and it did not change anything.
My video card:
Code:
I don't know what else to do. When I run windows, the videos play smoothly, just fine. But when I play the same DVD's under Ubuntu, it's choppy.
View 1 Replies
View Related
May 15, 2011
OS: Opensuse 11.4 Webcam: Bus 002 Device 002: ID 046d:08ac Logitech, Inc. QuickCam Cool Error Message: libv4l2: error allocating conversion buffer. The quality of my webcam output is very poor. I am uncertain as to what I can do to re
View 2 Replies
View Related
Aug 31, 2010
I'm having trouble to find the right ffmpeg options to encode a video that can be read on a htc G1 cell phone. I have used several codecs and formats but none is working.
I have followed these instruction to install ffmpeg and x264 [URL]
Here is my ffmpeg config :
Code:
FFmpeg version SVN-r24953, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 27 2010 22:44:01 with gcc 4.4.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-
[Code].....
View 3 Replies
View Related
Jan 9, 2011
What would give me good quality: 960x640 for ipod 4but keep the file low size?I found 2 codes online:ffmpeg -i Name.avi -acodec libfaac -ac 2 -ab 128k -vcodec libx264 -vpre hq -vpre ipod640 -crf 26 -s 640x480 -threads 0 Name.mp4ffmpeg -i source_video.avi input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X final_video.mp4I guess I need to edit the resolutions there? anything else? (btw I know nothing of commands, but i can copy paste! xD)Or! can anyone propose something better?
View 1 Replies
View Related
Feb 19, 2010
I am trying to get a listing of video information using ffmpeg or mplayer. I have found a way BUT it is only returning 1 piece of info..
Here is what I'm doing in PHP:
print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_");
But this will not provide an entire listing, it will only print out 1 thing such as:
ID_AUDIO_CODEC=mp3
I can specify what exactly I want to know something like:
print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_VIDEO_WIDTH");
but I want to just have all the info available at once instead of having to loop through like 20 times..
View 3 Replies
View Related
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
Aug 30, 2010
Anybody had any success in getting ffmpeg to work as advertised with video capture from a webcam? I really want to convert the webcam output to VP8 or H264, but apparently ffmpeg can't even capture the webcam with a video4linux device.
Code:
View 9 Replies
View Related
Aug 13, 2011
I tried to trim a video in FFmpeg using this command:
Code:
ffmpeg -ss 00:20:48.500 -t 00:01:00 -i INPUT.mp4 -acodec copy -vcodec copy OUTPUT.mp4
But FFmpeg is not accurate and it started the video from a nearby point instead (from 00:24:46~). I tried to add 2 seconds to my starting point and it took another frame (not what I wanted).
The video source is H264 video with AAC audio.
View 8 Replies
View Related
Mar 11, 2011
I have some videos in an mkv container that are 1920 pixels wide, but less than 1080 pixels high. This causes problems when playing the videos on a PS3 (after converting to an AVCHD system), because the PS3 won't centre the video, leaving a very large black bar at the bottom but none at the top. Is there a way to use mencoder or ffmpeg to losslessly add padding to the top and bottom to make the video 1920x1080?
If I use
Code:
ffmpeg -i video.mkv -acodec copy -vcodec copy -scodec copy -padtop 132 -padbottom 132 out.mkv
then ffmpeg won't do the padding, and the resulting file is basically exactly the same. If I use
Code:
ffmpeg -i video.mkv -acodec copy -vpre libx264-lossless_fast -scodec copy -padtop 132 -padbottom 132 out.mkv
I get
Code:
Output #0, matroska, to 'anr.mkv':
Metadata:
encoder : Lavf52.64.2
[code]......
View 1 Replies
View Related
Mar 1, 2010
I'm trying to write a bash script for gpodder to automatically convert video podcasts to play on my media player. I'm using ffmpeg for the conversions (compiled myself with all codecs enabled). I'd like to avoid resampling the video or audio whenever it's unnecessary but ffmpeg seems to want to resample my video even if I only give it audio parameters to change.For example I have a test video with the following parameters:
Code:
Stream #0.0(eng): Video: h264, yuv420p, 640x480, 1394 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 159 kb/s
[code]...
View 2 Replies
View Related
Jun 5, 2010
How do you loop a video a number of times in ffmpeg or mencoder? I made a ogv out of a gif. It loops 1 time, so it's less than a second.
View 4 Replies
View Related
Jul 31, 2011
command line option in ffmpeg to do this
I am told I need the output file to comply with this
Video Resolution: 480*320
Video Bitrate: 768 kbps
Audio Bitrate: 128 kbps
Video Format: MPEG-4 (be sure not to use H264, as it�s not supported in the current firmware)
[Code]....
View 3 Replies
View Related
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
Jul 24, 2011
I am having problems with ffmpeg. My goal is to capture a video stream from my webcam and feed that into a webcam-capturing program. But to get that to work, I will need ffmpeg to work. I need the following command to work, but I get an error:
Code:
$ ffmpeg -b 100K -an -f video4linux2 -s 320x240 -r 10 -i $device -b 100K -f image2pipe -vcodec mjpeg - | perl -pi -e 's/\xFF\xD8/KIRSLESEP\xFF\xD8/ig'
ffmpeg: relocation error: /usr/lib/libavfilter.so.2: symbol avformat_find_stream_info, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference
View 1 Replies
View Related
Jan 14, 2011
I've got a 1920x1080 video I've edited and rendered with Cinelerra, and I'm trying to use ffmpeg to transcode it to something smaller. However, when I use a command like this, for instance:
Code:
I inevitably get some weird green band at the bottom of the frame in the converted video. I know that there's some weird pixel stretching going on here, because the NTSC standard for 16:9 is 720x480 with rectangular pixels, and the 1080 version has square pixels, so I'm guessing the green band is an artifact of that process?
View 2 Replies
View Related
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
Feb 22, 2011
I am using ffmpeg for merge wav files to a mov video. My doing is below
1. First extract audio (wav file) from video
2. Create wav file from mp3 track 1
3. Create wav file from mp3 track 2
4 Merge extract audio from video with track 1 and track2.
Now finally create a new video with original video's video stream and merged audio stream.
Process is working. However final video is 3-4 times greater than original one. I want that final video should be near about size of original video. As I understand, all three wav files (created from ) make video larger.
Example commands i using is as below:
View 6 Replies
View Related