Ubuntu Multimedia :: Converting OGV To AVI In Mencoder - Too Much Framedrop?
Jan 9, 2011
I'm trying to convert my screencast to an .avi file, but when I open it... the commentary track is waaay out of sync. No matter which codec I use, it will not stop dropping frames!
View 4 Replies
ADVERTISEMENT
May 22, 2010
I recorded a TV show on my pc using mythbuntu software (ubuntu version of mythtv). It cut out all the commercials and then transcoded it to a nice 40 min nuv file that I put onto a usb thumb drive. Now it's portable and vlc can play the file...on a pc. I want to burn it onto a DVD so I can put it in any NTSC DVD player. Also, the file was recorded at 480x480 and I want to change the size to widescreen (16:9). Additionally, the top of the screen recorded a thin horizontal line of junk that needs to be deleted.
Now, I've googled around and found this line in ffmpeg that should work:
ffmpeg -i V-RedSky.nuv -croptop 4 -y -target ntsc-dvd -sameq -aspect 16:9 RedSky.mpg
The new 16:9 video size is great, the annoying horizontal line got cropped, and I got a nice mpg file...but the audio is now out of sync. I tried ffmpeg with fewer options and the audio still got out of sync.
So, I'm thinking I should try different software. Maybe mencoder. How could I put the above ffmpeg options into mencoder?
View 4 Replies
View Related
Jul 3, 2011
The version of mencoder I currently have installed segfaults (immediately) when you ask it to convert x264-encoded MKVs to another format. One sample command-line would be:
Code:
mencoder -nosound -ovc libdv Puella_Magi_Madoka_Magica_720p_GG_-_06.mkv -o a.avi
This produces the following output:
Code:
MEncoder 20110702-4.5.2 (C) 2000-2011 MPlayer Team
success: format: 0 data: 0x0 - 0x1c43987e
libavformat file format detected.
[Code]...
Incidentally, I'm wondering if the version of FFMpeg that the MPlayer configure script downloads might be at fault. The slightly outdated FFMpeg I installed from SBo (6.1) does not crash when converting the same file. And no, I can't use either Alien Bob's Mplayer build or the MPlayer binaries included with Slackware. Neither is built against either libdv or x264. I need libdv as an output codec.
View 3 Replies
View Related
Mar 7, 2010
I'm trying to convert a video in .ogm format to .avi format so I can stream it to my PS3 via uShare. I'm using Mencoder and the following command to do it (to transcode the audio from vorbis to mp3 and the video from mpeg4 to xvid):
Code: mencoder input.ogm -oac mp3lame -ovc xvid -xvidencopts pass=1 -o output.avi.The only problem is, the video contains 2 audio streams - one Japanese and one English. Needless to say, I need the English one. The above command only seems to transcode the Japanese audio though!Here's what ffmpeg has to say about the input file:
Code:
Input #0, ogg, from 'input.ogm':
Duration: 00:24:16.12, start: 0.000000, bitrate: 1280 kb/s[code]...
what I can do to specify the correct audio stream to encode? Also, how can I keep the bitrate the same as the output.avi seems to default to 96kbps?I'm not sure which audio stream is which but a little trial and error will sort that out in no time.
View 7 Replies
View Related
Apr 20, 2010
I'm trying to transcode and merge sub with mencoder in order to watch a video on my nokia cellphone.
I'm using this command :
Code:
without success. The transcoding works, but no subtitle is merged.
The transcoding log is here
I'm using Karmic.
View 4 Replies
View Related
Apr 28, 2010
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
[Code]....
View 1 Replies
View Related
Jun 2, 2010
how to remove audio from an .ogv video (GTKRcordmydesktop) while converting to .avi using mencoder?
I've started with this command:
Code:
mencoder -ovc lavc -ofps 15 -oac mp3lame -af volnorm=1:1 out-2.ogv -o sound_editing.avi
View 1 Replies
View Related
Jun 6, 2010
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:
Code:
>> Command executed:
"/opt/MIKSOFT/MobileMediaConverter/lib/mencoder" -oac lavc -ovc lavc -of lavf -lavcopts
[code]....
View 3 Replies
View Related
Sep 29, 2010
I am working in a script I have, to capture video with sound from my capture board, wich is a clone of the pico2000. This script was working in Ubuntu 9.10 untill I reformated my machine and instaled the Ubuntu 10.10, 64 bits. The machine is an AMD Athlon II, 2.6GHz with 3 GBytes of Ram. The former script was:
Code:
#!/bin/bash
clear
SERVICE="mencoder"
MOVIE=$(date +"%H%M")
[Code].....
View 1 Replies
View Related
Nov 26, 2010
I'm doing a little python app for encoding .avi from dvds. I know there are a few really good applications out there that do the same thing but I wanted something simple with less faff. The application has 3 settings: Fast, Medium, and Slow. These are for the varying quality rips. For file format I was thinking either lavc or Xvid.
So my first question is, which is better? I really don't know anything about it and I haven't found a decent site that compares them. And secondly what are the best settings for a DVD rip for a Fast Rip, a 'Best of Both' Rip, and a Best Quality Rip? If I've missed any factors in this, please let me know, I'm new to the DVD ripping game. I have no intentions of distributing the movies, they are for my own uses.
View 2 Replies
View Related
Apr 9, 2011
I wonder if there is a way to convert 3gp format to avi using mencoder or something similar?
View 7 Replies
View Related
Feb 12, 2010
I've just been trying to convert a video to DV format, but mencoder doesn't know about libdv.
Using the command code...
How can I get mencoder to find the codec? Is there a specific place it looks for them?
View 3 Replies
View Related
Apr 5, 2010
I have a video that is currently in .mkv format, and I need it in .avi, however, when I attempt to convert it with MEncoder, it cannot find the video. (Please note this is my first attempt to convert anything with MEncoder, or convert any video on Linux). What I entered and my results are as follows -
mencoder Pocketful_Of_Rainbows.mkv -o Pocketful_Of_Rainbows.avi -ovc xvid -oac mp3lame
MEncoder SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
File not found: 'Pocketful_Of_Rainbows.mkv'
[code].....
View 4 Replies
View Related
Apr 7, 2010
I want to try encoding some videos with Dirac. I was told on another site that I have to build mencoder with Schroedinger support if I want to do this with OGMRip. I have installed the libschroedinger package installed. How do I buld it with mencoder?
I am using Ubuntu 10.04.
View 1 Replies
View Related
May 24, 2010
Is the motion compensation deinterlacer missing in Ubuntu's Version of Mencoder?
mencoder -vf help doesn't show it (I guess this means it's not installed...), although mencoder's man pages do have an mcdeint entry.
I have those versions installed:
Code:
I first tried the Versions shipped with Ubuntu Lucid Lynx, then I installed them from the Medibuntu repositories. Both without any success. Does anyone know, how to enable mcdeint support? Is there a repository or something I could add to my sources?
View 2 Replies
View Related
Jan 18, 2010
My 1st and only grandson turned 1 year old and we have taken about 1 million pics of him. I wanted to make a video from pictures taken in the past year. The first one is an ultra sound picture. The last one was taken this last Saturday. I have 153 12 MPixel pictures in a folder. They are named C001.jpg - C153.jpg (I can rename them if needed).
I had noticed mencoder or ffmpeg can create movies from jpegs. But, I didn't think about the frames per second. Would I need to make like 20 copies of each picture and then make it like 10 FPS? or something like that? Optimally, I would like to have a video where each picture lasts for 8-10 seconds or so and I would be able to add a song as audio. (I think I know how to use mencoder to add the audio).
View 9 Replies
View Related
Aug 5, 2010
I use the script h264enc (installed from the repos) to encode my dvds into avi and mp4. It was working flawlessly under 9.10, now I get the error that MEncoder doesn't support AAC encoding? I have installed all the restricted drivers and I can play dvds, mp4's, .
View 8 Replies
View Related
Oct 16, 2010
I recently upgraded to Maverick and am loving it. Converting over my various scripts to work on the new box I notice that my video trascoding script, which uses mencoder to re-encode video as h264, now does not work.
Code:
mencoder $inpfile -oac mp3lame -lameopts vbr=3:q=3 -ovc x264 -x264encopts crf=22:threads=auto:subq=4:bframes=2:b_pyramid:weight_b:turbo=1 -ofps 25 -o $outfile
For a long time this has worked just fine but the command basically bombs out every time with
Code:
FATAL: Cannot initialize video driver.
I tried using the medibuntu mplayer/mencoder but still no dice.
Does anyone know how I can get this important functionality back?
View 4 Replies
View Related
Mar 20, 2011
I have been using mencoder to record audio and video from my Logitech Quickcam Pro 9000. I've been using the following wrapper script under 10.04:
Code:
#!/bin/bash
outFile=$(date +%Y-%m-%d)
mencoder tv:// -tv driver=v4l2:width=800:height=600:device=/dev/video0:forceaudio:adevice=/dev/audio1 -ovc lavc -oac mp3lame -lameopts
[Code]....
The video and audio work in other applications, but for some reason mencoder isn't using them. I don't like Cheese because it seems like I can't get equally high framerates at good resolution, and besides I want to be able to run this from the command line.
View 6 Replies
View Related
Apr 26, 2011
I want to encode video content with mencoder and libvpx codec. I have libvpx installed on my machine and I can encode with libvpx using ffmpeg. My OS is Ubuntu 10.10, 64bit. I downloaded fresh mplayer/mencoder from SVN repository. If I configure mplayer/mencoder without any explicit enabled features using:
[Code]...
View 3 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
Aug 12, 2010
Is there a way to instruct mencoder to stop streaming/recording after a specified period associated with a loss of signal?I use mencoder to record over-the-air television recordings. Most of the time there are no problems.Occasionally a station's transmission signal disappears, caused by quirky atmospheric conditions, usually at night.Noticing these signal outages is easy by the mencoder error message:dvb_streaming_read, attempt N. %x failed with errno %y when reading %z bytes"Lengthy outages are unbearable because mencoder silently waits forever rather than quit.The significant problem with lengthy signal outages is mencoder continues recording for the time specified by the -endpos parameter. Thus, for example, if the recording is scheduled for 2 hours and there is a 20 minute loss of signal, the recording does not end until 2 hours and 20 minutes after starting.
Generally, when the interruption is lengthy the recording is ruined and I don't care to watch. I would like to programmatically tell mencoder to stop waiting and quit.Is there a way to do this? Say, after ten minutes of no signal, just terminate.I do not notice any parameters that might offer that option, but I could be overlooking something obvious. I tried the -skiplimit parameter with no success.I am aware of the MPlayer/MEncoder Tips and Tricks thread.
View 2 Replies
View Related
Mar 18, 2010
I'm wondering if anyone distributes mplayer, mencoder, and ffmpeg, up-to-date builds of each and their associated dependencies (x264, faac, xvid, etc).I had to compile all that stuff myself and fought with it, and finally got it working.
If no one distributes latest builds, then I was thinking of going further with what I've done to help others: virtualbox lenny and automated compiles of all packages and putting up the builds, with latest revisions of mplayer and ffmpeg from their source code repos. Using LD_LIBRARY_PATH to isolate the build so any modern linux can run the produced binaries, with only glibc as a dependency.
View 3 Replies
View Related
Feb 16, 2010
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:
[URL]
View 4 Replies
View Related
May 6, 2010
every time i try to convert from ogv to avi file using ffmpeg on ubuntu 10.04, this was working on 9.10 the output avi file comes out looks like this
View 9 Replies
View Related
Jun 14, 2010
Is there a command that I can use in terminal to convert a .avi file to a .mp4 file?
View 1 Replies
View Related
Dec 14, 2010
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..?
View 4 Replies
View Related
Feb 18, 2011
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):
mencoder -oac mp3lame -lameopts cbr=128 -ovc xvid -xvidencopts bitrate=1200 video.mkv -o video.avi
but the PS3 says the avi is an unsupported format.
View 6 Replies
View Related
Jan 28, 2010
How would I go about converting an MPG to a DVD format so I could burn it to a DVD disc and play it on a standard player?
View 2 Replies
View Related
Feb 10, 2010
I am in Toronto Canada and we have NTSC television. I am going to England where they use PAL. My mom's DVD player cannot read NTSC.
I have a TV show on my PVR that I want to burn to a DVD so that she can see.
I have to output the program from the PVR to my DVD recorder; I do not have the hardware to send directly to my computer.
So I believe I must follow these steps:
Rip DVD to computer
Convert to PAL format
Burn to DVD
View 2 Replies
View Related