All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
544 views

H.264/MPEG-4 from PNG frames: how to, and how to tune compression

I often create digital animations by preparing all the frames in .png format (with minimal compression), that I need to convert to video format for upload to websites such as reddit, instagram, gfycat....
0
votes
1answer
993 views

What is the format name to have a MP4 video as output in ffmpeg?

The following command ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 -f ogg - > video.mp4 Does not produce a .mp4 video. I want to replace -f ogg with -f <mp4 ...
0
votes
0answers
2k views

How to re-encode file A.mp4 with the same settings as B.mp4?

I have a MP4 file with AAC audio and H264 video, let's call it B.mp4. I also have file A.mp4 with the same picture resolution, but: different FPS possibly different audio/video bitrate different ...
19
votes
4answers
36k views

Convert a video to a fixed screen size by cropping and resizing

I've tried to figure this out myself, but the myriad of options just baffles me. I want to use ideally either ffmpeg or mencoder (or something else, but those two I know I have working) to convert ...
6
votes
2answers
1k views

Convert video to exactly the same format as another video

Suppose I have two video files A and B. Now I want to convert A to the same format (i.e. same container, same audio and video codec), same bitrate, size etc. as B. Is there a way to do this ...
2
votes
0answers
2k views

Rotating a video (ubuntu 12.04)

I have a video, shot on my android phone, which I want to rotate 90 degrees clockwise for computer viewing. Here's what I expect should work: ffmpeg -i infile.mp4 -vf "transpose=1" -an -vcodec mpeg4 ...
2
votes
1answer
3k views

Fix error in mp3 file

I have an mp3 file that plays OK on computer but there is a problem to play it on mp3 player. ffmpeg shows this: $ ffmpeg -i file.mp3 [mp3 @ 0x8de72a0] Invalid size in frame , skipping the rest of ...
5
votes
2answers
14k views

Mencoder with same quality output

I like mencoder for converting video files because it shows me how much time is remaining to the end of the conversion (in opposite to ffmpeg). mencoder file.wmv -ofps 23.976 -ovc lavc -oac copy -o ...