Ubuntu Multimedia :: Ffmpeg Can No Longer Encode H263p For Some Reason?
Oct 13, 2010
I recently installed Ubuntu 10.10 after using 10.04. While using 10.04 I used ffmpeg quite a bit and just a few days ago I was using ffmpeg to encode video with the h263p codec.Anyway, for some reason ffmpeg no longer seems to want to decode h263p anymore. If I type "ffmpeg -codecs" to get a codec list, I get" EV h263p H.263+ / H.263-1998 / H.263 version 2"When it used to be "DEV" for decode / encode video. But now just " EV"Even on the ffmpeg website here http://ffmpeg.org/general.html#SEC3 it says ffmpeg should still be able to decode h263p. Yet, it can't!I've tried installing all sorts of codec libraries and I even followed a guide to download and compile ffmpeg myself. Nothing seems to change.
I'm trying to create a script that will trawl through a directory structure looking for VOB files, convert them to AVI and place them in a ./converted/ sub-directory of the the original source folder. I've knocked up the script below which appears to work fine when I place an "echo" in front of the actual ffmpeg encode line, I get the output on the screen with ffmpeg finding all the VOB files in the directories and looking to convert them to the correct sub-directory. Yet, when I remove the echo and run the script for real, ffmpeg converts the first file and then stops. No errors. Is this something to do with ffmpeg or a problem with my script below?
What is an easy way detect corrupt movie file during or before using ffmpeg to encode them? is there a command I can use to check if the file is not corrupt and then pipe it ffmpeg or standard input?
There's so little documentation for GLC that it's nearly impossible to get it working. I just tried encoding a file I made using the script provided, and got this output:
Code: joseph@joseph:~/Desktop$ sh encode.sh lugaru-17880-0.glc [: 103: lugaru-17880-0.glc: unexpected operator
After several google searches and forum searches, installing restricted repos, encoders, codecs, ffmpec still REFUSES to encode H.264. Here the output of an FLV to be converted:
This is my first post in this forum. After trying out every video compositing program I found for Linux, I am about to settle with KDEnlive. It looks like the best allrounder professional program in this section to me.
I only got one problem. I cant encode files with mpeg-4. All options here are grayed out and if I hover over one of the options for a moment it's going to tell me:
"Unsupported audio codec: libmp3lame" Whats funny is that it worked a time before i reinstalled my system. I also checked and I got libmp3lame installed. So why has KDEnlive problems to access this library?
I can't for the life of me find the option to encode my video in H264 in Pitivi. There's just about every other codec imaginable in the list. I'm running Ubuntu 11.04 32-bit and everything is up to date.
I used K3B to rip some of my DVDs (using the Xvid codec) onto my laptop to take away on holiday with me. This worked fine for 2 of the DVDs but the 3rd one ended up with the audio out of sync with the video. Fortunately VLC comes to the rescue with the ability to offset the video and audio tracks.Is there a way to re-encode the ripped files to permanently fix the offset.
I have a lot of old video footage around that, I am ashamed to say, I encoded with heavily proprietary codecs like DivX and such during the dark ages (aka. the Windows Times).
Now, I would like to redeem myself from the mistakes of my past by re-encoding everything into open formats. Since those videos are often not of the best quality (poor camera, poor codecs, poor knowledge), I do not want to loose more quality in the process.
So, to avoid any more mistakes in the future, I would be glad if someone could answer me some of the following questions: 1. Is it even possible to re-encode those movies into something like x264/vp8/theora without loosing any more quality? 2. What tools should I use for that? Command line is actually preferred. 3. What would be the most desirable format to have? I'm thinking about x264 in Martroska with ogg Auto. Is there anything better suited?
If I try to open Cinelerra from the GUI, it does nothing. If I try from the terminal I get this:
Code: cinelerra: error while loading shared libraries: libfaad.so.0: cannot open shared object file: No such file or directory I've been looking around all over the place and can't find a way past this. I really want to get it going again, can anyone help?
I've checked in synaptic and I have libfaad2 2.7-4
My hp does not want to start X for some reason. I have so many errors. I made an account to just see this problem be fixed. Now when I type "startx" I get back, "bash: /usr/bin/startx no such file in directory". I have to use GRUB due to the fact I forgot my login. Although, I do remember my password.
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
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..
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:
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.
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.
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