Tag Info

Hot answers tagged

11

Based on my experience with Handbrake on Windows and Linux: it does not use mencoder. Instead it offers its own command line interface: HandBrakeCLI. On Windows one can click Show Queue>Queue>Generate Batch Script to export a script which contains all the command line parameters passed on to HandBrakeCLI. Although your reference to the "Activity Window" ...


11

mencoder has a -speed option you can use, e.g. -speed 2 to double the speed. It's described in the man page. Example: mencoder -speed 2 -o output.avi -ovc lavc input.avi


6

You can do this with Handbrake, which comes in both GUI and CLI flavours and uses ffmpeg on the backend to do the transcoding. HandBrakeCLI -Z "High Profile" -i a_movie.iso -o a_movie.mp4 Alternatively, if you have some funky FFmpeg voodoo that you can't easily replicate in HandBrakeCLI, you could mount the ISO locally and copy the VIDEO_TS folder up to ...


5

AviDemux is the closest thing for editing (not recording, though).


5

With ffmpeg, you can use the aevalsrc filter to generate silence, and then in a second command use the concat protocol to combine them losslessly: ffmpeg -filter_complex aevalsrc=0 -t 10 10SecSilence.mp3 ffmpeg -i "concat:input.mp3|10SecSilence.mp3" -c copy output.mp3 You can control the length of silence by altering -t 10 to whatever time in seconds you ...


5

What you are looking for is probably a so-called intermediate codec that is specifically targeted towards editing. It will allow you to perform a (visually) lossless compression but still make changes to the video without reasonable quality loss. Just like JPEG isn't made for resaving a photo a hundred times, you will need a special codec. Your approach ...


4

a little old but the way to do this would be mencoder -ovc copy -audiofile silent.mp3 -oac copy input.avi -o output.avi


4

I'm an idiot. The video is non-interlaced and I was passing the -deinterlace flag to ffmpeg. This was the source of the artifacts.


3

Aha: what I wanted was the -speed option. Somehow missed it amongst all the other stuff in the manual.


3

For iPhone I used this before with success: mencoder "$file" -subcp cp1252 -sub-fuzziness 1 -subfont-autoscale 3 -subfont-blur 2 -subfont-outline 2 -aid 1 -vf scale=480:320:0:0:0.00:0.50,dsize=480:320,harddup -sws 2 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts ...


3

Original and transposed & cropped version Using ffmpeg You can do this in ffmpeg. By default the input frame rate is used for the output frame rate. Example to rotate 90° clockwise with transpose filter and crop (centered) to size 720x1280: ffmpeg -i input -vf "transpose=1,crop=720:1280" -c:v libx264 -c:a copy out.mkv Usage of video filters ...


3

Handbrake has presets for the iPhone, AppleTV 2 and 3, iPod and other devices. These make use of a rather recent bundled version of libx264 – so it usually produces really good quality. When choosing settings, make sure you use the Constant Rate Factor instead of a fixed or average bitrate (or check that it's not over 2 Mbit/s; see later for more). It ...


3

While slhck has a pretty comprehensive answer, a simpler way is to use the tools Apple has included in the OS. Apple's Automator has an encode movie option. Setting this up (at least on Mac OS X 10.7 and later) is a pretty quick process: Set up an Automator action that is a folder action Select the folder Add encode media action Specify 720p setting and ...


3

I would personally do this with ffmpeg's Concat demuxer First create a file called inputs.txt which looks like this: file 'input1.flv' file 'input2.flv' Then use ffmpeg like so: ffmpeg -f concat -i inputs.txt -c copy output.mp4 (You can use output.flv, though MP4 is a generally more useful format). The demuxer is avaiable on versions of ffmpeg from ...


3

Use avconv. For example, if you'd like to extract a clip of duration 10s starting at 15s, then you'd use avconv -ss 00:00:15 -t 00:00:10 -i input.mp4 -codec copy output.mp4 There are a lot more options that you can play with, like specifying the resolution, output format etc. See the man page of avconv for all the options. If you happen to have ffmpeg ...


2

Per the Xbox Engineering Video Playback FAQ, the h.264 requirements are: Video Profiles: Baseline, main, and high (up to Level 4.1) profiles. Video Bitrate: 10 Mbps with resolutions of 1920 x 1080 at 30fps. See question number 11 for more information. Audio Profiles: 2 channel AAC low complexity (LC) Audio Max Bitrate: No restrictions. Now, ...


2

Ok. Let's assume you have 1.mp4 - video with with duration 30 sec, 2.mp4 - video with duration 30 sec, and you want to insert audio from 2.mp4 to 1.mp4 video with offset 5 sec. And also you need black video frames when video stream of 1.mp4 ends. So the command should be like: ffmpeg -i 1.mp4 -i 2.mp4 -f lavfi -i "color=black:size=1920x1080:duration=5" \ ...


2

You really have two options. Personally, I use Option 2 and a variance of it. I created a C#.NET service that will monitor a folder and will transcode any videos in that folder. Once a successful transcode has occured, it will move the video into a holding tank. The holding tank will upload the video to a LMS site I made. The LMS site will then capture the ...


2

This tool might be of use: http://mpgtx.sourceforge.net/ From the Examples section: I want to split this file at 699 Megs so that it can fit on my Video CD! mpgtx -s file {699M} Now processing Chunk 1/2 ... 100.00% Now processing Chunk 2/2 ... 45.31% Here are chunk-1.mpg and chunk-2.mpg (default basename is chunk) Not sure if it ...


2

I think your best bet is to use mencoder to convert to AVI, then use a tool like ffmpeg or tcextract (from the transcode package` to extract the MP3: $ ffmpeg -i in.avi -acodec copy out.mp3 $ tcextract -i foo.avi -x mp3 > out.mp3 Using tcextract will do no re-encoding at all and is very fast. ffmpeg isn't supposed to be doing any reprocessing but ...


2

Use free tool, for example Any Audio Converter: http://www.any-audio-converter.com/


2

You need the bmovl (Bitmap Overlay) option bmovl=hidden:opaque:fifo The bitmap overlay filter reads bitmaps from a FIFO and displays them on top of the movie, allowing some transformations on the image. Also see TOOLS/bmovl-test.c for a small bmovl test pro†gram. <hidden> ...


2

Perhaps the encoder stored the resulting pixel aspect ratio, and the player honored it. NTSC DVD uses 720x480 for both 4:3 and 16:9. The difference is the pixel aspect ratio: the former is taller/skinnier and the latter is shorter/fatter. Unlike your monitor, the pixels are not square. If a naive player displays the video pixel-for-pixel the video will be ...


2

Starting with audio, important stuff only: Average bitrate on AAC audio must be 96 - 160 kbps. That gives us (together with what you already found): -oac faac -faacopts br=160:mpeg=4:object=2 -channels 2 -srate 48000 Let's see what the document specifies for video — I've stripped out the unimportant parts: No setting can go below what ...


2

Do you insist on using FLV format? you can convert them to mpg or some other formats(refer this) and then join them(refer this). or may be you can just try the joining method directly on flv files. EDIT Read this or this. It uses some different parameters for MEncoder.


2

slowmoVideo is able to speed up and slow down video slowmoVideo is an OpenSource program that creates slow-motion videos from your footage. But it does not simply make your videos play at 0.01× speed. You can smoothly slow down and speed up your footage, optionally with motion blur. How does slow motion work? slowmoVideo tries to find out ...


2

You provide minimal information. That is not very helpful. You should provide: Kernel version Are there any customisations? what is .mplayer/config what is min_delta_ns? what is the output of cat /proc/timer_list Here are my guesses based on this limited information: One of the below or a combination: Updates have been applied onto your machine ...


2

Turns out this command will trim the video from 2 seconds on, as expected: ffmpeg -ss 2 -i input.flv -vcodec copy -acodec copy output.flv The issue was with the keyframe interval in input.flv. It was set to 5 seconds, which yielded 3 seconds worth of black frames at the beginning of the video (5 - 2 = 3). I've since changed my keyframe interval to 1 ...


1

You could try out a program called 'chronolapse' which worked great for me when combining 80k+ images. It's free and open source. You can get it here: http://keeyai.com/projects-and-releases/chronolapse/


1

I would use Imagemagick to preprocess each image, putting the filename on it.



Only top voted, non community-wiki answers of a minimum length are eligible