Software :: Convert A Xxx.mp4 To Xxx.264 With Mencoder?
Sep 23, 2010i want to convert my mp4 video into h264 format, but how to convert with mencoding,
View 1 Repliesi want to convert my mp4 video into h264 format, but how to convert with mencoding,
View 1 RepliesI'm trying to convert OGG clip to avi using mencoder:
Code:
mencoder myclip.ogg -ovc lavc -oac mp3lame -o myclip.avi
It works OK except that while the original clip has 16:9 aspect ration, the resulting AVI is 4:3
I'm looking for help to write a little script to convert a whole folder of .mkv to .avi. This is the mencoder bit i've been using to do so
Code:
mencoder -mc 0 -noskip -vf expand=:::::16/9,scale=720:480,hqdn3d,harddup -ovc xvid -oac mp3lame -xvidencopts fixed_quant=3.8:me_quality=6:noqpel:nogmc:trellis:chroma_me:chroma_opt:hq_ac:vhq=4:lumi_mask:max_key_interval=300:quant_type=mpeg:max_bframes=2:closed_gop:nopacked:profile=asp5:autoaspect:bvhq=1 -lameopts vbr=2:q=6:aq=2 -o [file destination] [source file] 1/"
and it seems to work fine. what i'm looking for is the ability to go into a directory and use the script like so
[Code]...
I have some video files (.avi and .swf) & I need to convert them to the following format:
Stream #0.0(eng): Video: mjpeg, yuvj422p, 320x240, 30 tbr, 30 tbn, 30 tbc
Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
how to do this with mencoder or ffmpeg?
I wonder if there is a way to convert 3gp format to avi using mencoder or something similar?
View 7 Replies View RelatedI have a MKV file and need to convert it down to XVID to allow some of my other streamers to use the file. However, when I try I get the following errors:
Quote:
Too many audio packets in the buffer: (4103 in 8255236 bytes)
and
Quote:
Maybe you are playing a non-interleaved stream/file or the codec failed?2:128] For AVI files, try to force non-interleaved mode with the -ni option.
The file details are :
Quote:
General
Complete name : Test 1080p.mkv
Format : Matroska
File size : 10.9 GiB
[code]....
and the command I am using to run the conversion is:
Quote:
mencoder "Test 1080p.mkv" -channels 6 -ovc xvid -oac mp3lame -xvidencopts pass=1 -o /dev/null -lameopts cbr:br=128
I presume that it has something to do with the 6 channel DTS audio and the conversion to mp3 because if I change the command to just copy the audio all progresses fine.
I am trying to use 'convert' in command prompt to convert image file format.I get the following error.
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies View RelatedI'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
View 5 Replies View RelatedAn easy way to convert wav files into mp3 (or ogg).
$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.
after that run
$ nautilus-script-manager enable ConvertAudioFile
Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.
i am using ubuntu 8.04.I wanted to clip from a movie so I ran
Code:
mencoder -ss 2453 -endpos 34 InpuTFile -acodec copy -vcodec copy -o Output
I changed the ss value still it cut from same frame of the video.It seems mencoder works faster than ffmpeg but jumps to keyframe hence cannot jump to accurately specified second.
I am getting following error while trying to record an ".avi" file
Movie Creation Error: Error 8 - Failed to execute child process "mencoder" (No such file or directory)
[root@localhost iNSpect_4_beta_3]#
I have found that if I change the FPS of a video, the audio is out of sync.
Is there a way in mencoder to have it correct this, and maintain the correct sync?
I don't think it is just a matter of audio/video delay. I have tried many times to correct this via that method, and it doesn't come close. Although, if I encode the video to another format, but with the original fps, the audio is sync'd.
compile mplayer & mencoder with VP8 support? also what with VP8 support in rpmfusion?
View 3 Replies View RelatedA recent update to ffmpeg, in which I've learned was an upgrade to the restricted ffmpeg as opposed to the unrestricted default one that is in the official repos, has now made it unable for me to use mplayer or Devede. Reading up about this, especially from here: [URL].. I have learned it's a frequent problem when installing the restricted ffmpeg. Basically what Devede says at startup is:
Code:
Cant's find the following programs:
mplayer
mencoder
Devede needs them to work. If you want to use Devede, you must install all of them. Using the terminal to open mplayer (or mencoder), I get this error: mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference From my research, seems as though the problem lies in libavformat52 not being installed (or removed) and libavformat-extra-52 is installed, which is the same thing, but because it's the restricted version, it is called something different. Anybody know if that is correct?
Also, checking up, libavformat-unstripped-52 isn't installed but available, so should I install that to replace the missing libavformat52, as when I sudo aptitude install libavformat52, it says it conflicts with libavformat-extra-52?
I installed libavformat-unstripped-52, which didn't conflict with the already installed libavformat-extra-52, just to see if it would basically just replace the missing libavformat52, which conflicted with libavformat-extra-52 and couldn't be installed safely, but after I did, nothing changed. I still get the same error with opening Devede and mplayer (or mencoder) in the terminal.
I have an 8Gb mkv file, which I tried to encode to avi using mencoder, it took more than 6hrs and when completed, the quality of the avi was pretty poor.Is there a way to increase the quality or is there a program that can encode mkv files? The mkv will not play on my system without stuttering badly.
View 8 Replies View RelatedI was just wondering if it is possible to output an encoding file to http, mms, udp etc... (eg. http://127.0.0.1).I found a way to input these streams and encode them I just cant find a command to output to these.
View 1 Replies View RelatedWhere to get guidance as new user of acidrip? I can't find a "how to"
View 7 Replies View RelatedI 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?
I edited some mpeg videos using Mencoder to crop unwanted footage from the beginning and the end. It worked, but now the file does not have a "visual" icon, i.e. a still from the video. The properties of the new file also reveal that it thinks it's an audio file! The file still plays (as a video) okay though.A typical command I used to extract just the first 14 seconds of the video was:
mencoder "e03.mpg" -o ee03a.mpg -ss 0:0:0 -endpos 0:0:14 -oac copy -ovc copyI did try to make up a new icon by making a snapshot of the movie playing, then using the image to replace the icon in the properties window. (I am using Nautilus file manager in Ubuntu). The icon it now gives me looks like a small sheet of paper with one end curled up.I can appreciate that editing the video length might have "lost" the icon information, but is there any way I can put it back again
I have a lot of .flac files downloaded from several sites. Most of them come with a .cue file, and the .jpg with the cover, etc. It seems it is the intention of the uploader that one rebuilds the original CDDA. However, if I had a stand-alone CD/DVD player with flac I would hardly see the point of converting the flac to cdda. Furthermore, I could even play the flacs with a software player although, in this case, the audio quality would not be so good due to the noise picked up by the signal from the PC digital circuits.
View 2 Replies View RelatedI'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.
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.
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]....
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
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]....
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].....
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.
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 View RelatedIs 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 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.