Hot answers tagged

16

You can encode to Theora video and Vorbis audio with ffmpeg if it has been compiled with --enable-libtheora and --enable-libvorbis. Depending on your ffmpeg version the default settings may not provide good enough quality. Therefore you must add some additional parameters to enable a constant quality type of mode for the video. Theora video Adjust video ...


7

ffmpeg has removed their x264 presets so the -vpre setting doesn't work any more. Now, I have a script for converting video files to a format my Cellphone can handle. ffmpeg -i input.avi -sws_flags lanczos+accurate_rnd -vf "scale=320:240" -c:v libx264 -crf 20 -preset veryslow -profile:v main -tune fastdecode -c:a copy output.mkv I'll explain each option ...


6

What you are talking about is upscaling and any current HDTV will do upscaling automatically. Upscaling doesn't work miracles though, it will only make it so that the lower quality signal can be watched on a higher quality display. It just multiplies the pixels so that a 720 by 480 (.9 pixel compressed) signal for example doesn't end up only taking up 1/4 ...


5

For a server, you definitely want ffmpeg. I would also strongly recommend compiling it yourself (those are Ubuntu instructions, but should work for Debian as well AFAIK) - the best AAC encoder available for ffmpeg (libfdk_aac) cannot be redistributed alongside x264 (because of the GPL), and the version of ffmpeg in the repositories is probably too old for ...


5

The default settings for ffmpeg are very low quality, and since you don't specify any codec or quality parameters it's just using the defaults (I don't know why the devs don't fix that because it generates a lot of questions on forums everywhere). Try adding -c:v libx264 -crf 20 -preset slow to the command. -c:v libx264 tells it to use the libx264 ...


4

Thanks to Brads recommendation, I used ffmpeg for the job. Here is a small bash script that converts all the mp3 files to mpeg4 avi files (a jpg image must be included in the folder): #!/bin/bash # Requires: ffmpeg # Usage: ./convert.sh for file in *.mp3; do ffmpeg -i *.jpg -i "${file}" "${file%.*}.avi" done Some more info here and here, but that ...


4

You can use wonderful ffmpeg for your desired workflow. There is a guide here on this page but once you have the ffmpeg installed, you can simply cd into your folder with sequence, and type in your terminal: ffmpeg -f image2 -pattern_type glob -i '*.png' -vcodec qtrle -r 25 -s 1920x1080 test.mov To understand the options, you can check the documentation ...


4

Devices are often picky, and specifications are usually too uninformative so it's always trial and error. For example, your link indicates that the phone supports MP4 playback, but that is simply a container than can utilize several video and audio formats. MPEG-4 part 2 video and AAC-LC audio (partially based on the working video details you provided) ...


4

The cabling is likely your problem. The composite cables you're using (red, yellow, white) will only move analog signal from the set top box to the TV. Likewise with RG59 or RG6 (coaxial). While both varieties of cables there are technically capable of passing digital signals (they don't care... they're just dumb cables), set top boxes typically only ...


4

Hope this explanation is what you're looking for: When you transcode to an encoding such as H.264 (MPEG-4 part 10) you necessarily also resample the video, that's part of H.264 compression technique. Nontheless, I doubt if this is the reason you experience a timing gap since the resampling doesn't necessarily influence the clock rate of the media. So, I ...


4

As you are hardcoding subtitles, the video (with the subtitles added) will be re-encoded. You can use the CRF rate control method to modulate the quality of the output. So, start with ffmpeg -i grdedFinal.mov -vf subtitles=portSbs.srt -crf 18 -c:a copy gradedFinalwithSubs.mov If the quality's not acceptable, lower that value till it is - in exchange ...


4

Although @stib's advice is sound, I disagree with "to get an appreciable size reduction you would have to throw away a lot of quality". Cameras have to compress on-the-fly, so they use constrained baseline mode, which is to say, they skip most of the tricks that H.264 codec uses to efficiently compress videos. If space isn't a pressing concern, keep them ...


3

Wonderful ffmpeg command line utility is the solution. Just check their documentation, but something like the following will probably work for your case: ffmpeg -i video.mts video%05d.png This will take your video, and create video00001.png, video00002.png... files in the same folder. You can find a lot of guides for ffmpeg, or ask here for a specific ...


3

If you had just 4:3 and 16:9 videos, I would suggest: ffmpeg -i input.mov -filter:v 'scale=-1:768;crop=1024:ih' \ -c:v libx264 -crf 23 -preset veryfast output.mp4 That would scale a video to a height of 768, scaling the width to keep the aspect ratio; and then it crops the width to 1024, keeping the height at 768. However, the fact that you are using 1:1 ...


3

I'm trying to help. First, I don't understand why you're saying FFMPEG H.264 is not the input format? I don't know the FFMPEG command line well enough (is there anyone who does? ;) ). There's got to be a switch for multipass encoding. I know there are some built-in presets you could probably use and do almost certainly what you're aiming for. These are ...


3

FFmpeg should be able to do this - assuming you don't mind getting down with the command line (there may be some GUI options out there too possibly). My Olympus E-P3 produces .MTS files - I assume they're similar (AVC/AC3 in a Blu-Ray Video wrapper). I ran the following command: ffmpeg -i 00001.MTS -vcodec copy -acodec copy -f mp4 00001.mp4 That just ...


3

Many different factors can contribute to stutter in video playback. It could be a CPU issue (check your CPU when playing the video) in which case, a simpler codec or a player that can leverage the graphics card for decoding would help. It could also be data rate related though. In this case, using a simpler format would actually compound the problem as ...


3

Apparently by default ffmpeg only copies one stream of each type. To tell it to copy all streams, you need -map 0 So, this does it: ffmpeg -i "concat:a01.mxf|b02.mxf" -y -map 0 -c copy result.mxf


3

The 'interface connector' is (almost certainly) a serial control port, not a video output. LVD stored composite analog video, so there are no chroma or difference signals available to assist in digitizing the video.


3

A lot of these answers seem somewhat misleading unfortunately. Forget about getting a capture card. Practically every one has AGC. AGC is very similar to macrovision, except it's superimposed onto any video source. It's impossible to disable unless you use Linux and know your way around hacking drivers. Some cards on Windows have third party tools to ...


3

For VHS, the signal will be kept highest quality if you connect via s-video, so yes, you should use an s-video cable if your VCR has an s-video output. Depending on how good your VCR is, you may get a significant improvement from a better deck. Quality of the read heads on various VCRs can vary a fair bit and while the majority of the difference was in ...


3

That's way more than h.264 can handle. The maximum resolution for h.264 is 4096×2304 with Level 5.1 or 5.2. http://en.wikipedia.org/wiki/H.264#Levels There are lossless codecs who can theoretically handle this video resolution but it would make no sense to do this. There is no hardware capable of playing videos in this resolution at any acceptable frame ...


3

Somewhat of an duplicate of: Can I manually change an .mp4 to .m4v by changing the extension in the Finder (mac) or explorer (win)? MP4 and M4V are essentially the exact same thing, M4V is usually used to indicate video only files but some sofware/companies are using it for standard MP4 files with video AND audio (lots of Apple software f.e.). It's just a ...


3

One big loss in converting VHS to DVD arises from going through the composite domain. Both VHS and MPEG2 use a separated chroma paradigm -- on the VHS tape are two signals, essentially luma and bandwidth-limited chroma. MPEG2 (the standard for DVD) also uses separate luma and chroma. But the standard output from a VHS player combines the signals in a way ...


3

Use Avanti with ffmpeg. The former has a job control manager where you drop in multiple files at once and go. You can find webm encoding guide for ffmpeg here: http://trac.ffmpeg.org/wiki/Encode/VP8 Use crf mode encoding and experiment till you get desired size. Set b:v high like 10M and tweak CRF value and if you have no audio, use -an in place of -c:a ...


3

Yes, it seems to be a problem of generated timecode. See https://trac.videolan.org/vlc/ticket/12713#no1 Switch to ffmpeg (with a GUI like Avanti) to avoid this issue. My answer to an earlier webm question may guide you on settings.


3

Judge based on the quality rather than the bitrate value. Use CRF mode encoding and if the quality isn't what you can accept, decrease the CRF value. ffmpeg -i "%%a" -s 3840x2610 -c:v libx264 -crf 18 -acodec copy D:\%%~na.mp4


3

Just integrate all filtering into one command: ffmpeg -i input.mp4 \ -filter_complex "[0:v]crop=in_w/2:in_h:0:0 [top]; \ [0:v]crop=in_w/2:in_h:in_w/2:0[bottom]; \ [top][bottom]vstack[outv]" \ -map "[outv]" -map 0:a -c:a copy output_3dv.mp4 Edit: this command below scales and pads the output to 2000x2000 ffmpeg -i input.mp4 \ -filter_complex ...


3

Use this ffmpeg* command: ffmpeg -i "20151105-175532.dad" -c:v copy "20151105-175532.mp4" *get 32-bit static build.



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