Questions tagged [mpeg4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
44 votes
5 answers
67k views

Joining H264 *without* re-encoding

I have two halves of a single show in two .MP4 files, encoded in H264. I would like to join them without re-encoding. Is this possible? I managed to create a joined video as a Quicktime file (.mov) ...
jdmuys's user avatar
  • 861
40 votes
2 answers
93k views

Repairing corrupt MP4

I took a video from my Android phone (Sony Xperia P, if you need to know), and before I could stop recording it, the phone memory got full and the phone got hanged too. I rebooted the phone, the video ...
noob's user avatar
  • 1,295
23 votes
2 answers
53k views

What do the numbers 240 and 360 mean when downloading video? How can I tell which video is more compressed?

I have downloaded some computer science lectures from YouTube recently. There is usually more than one choice of file size and file format to download. I noticed that for the same video, the ...
DaMing's user avatar
  • 233
10 votes
1 answer
14k views

What is the best way to losslessly compress MJPEG to MP4?

I have a few digital camera movies recorded in MJPEG that are taking a few GB of storage space. I would like to better compress them, but losing as little detail as possible, or none. Since MJPEG ...
lpacheco's user avatar
  • 687
5 votes
2 answers
16k views

How to encode XviD using ffmpeg for Home Theater/DVD Player?

I wanted to convert a file so I can play it my DVD player which only works with divx/xvid. I tried : ffmpeg.exe -y -i "in.mp4" -t 480.00 -vf scale=720:301,pad=720:576:0:137 -map 0:v:0 -map 0:1 -b:v ...
poqdavid's user avatar
  • 633
4 votes
3 answers
8k views

Synchronizing audio and video using MP4Box / ffmpeg to concatenate files

I have two H.264 encoded MPEG-4 files that I need to concatenate. I have been using MP4Box for this task by first ensuring the files are encoded identically (even went so far as to compare output from ...
Jesse L's user avatar
  • 143
4 votes
2 answers
3k views

Convert MPEG4 to AMV via ffmpeg

I am trying to convert a MPEG4 video to AMV via ffmpeg. I've searched through web about the appropriate formatand and also tried to check another AMV video parametrs. So I've found that there should ...
ffmpeg beginner's user avatar
4 votes
1 answer
4k views

Smart Trim an h.264 .MP4 Video file in ffmpeg

I would like to take live-captured h.264 video as an input and trim it to start in a fade up from black and end with a fade to black with as little encoding as possible. These fade in/out points may ...
HGBells's user avatar
  • 43
4 votes
1 answer
4k views

How to accurately split and combine videos with ffmpeg respecting inpoint/outpoint

I'm learning how to split and combine videos with ffmpeg. Presently I'm practicing on a 799 KB MP4, one_through_ten-timestamped.mp4, where each frame has a burnt-in "frame number" (up to frame 40, the ...
watkipet's user avatar
  • 415
3 votes
2 answers
633 views

Cut part of audio track in MP4 file

I have an .MP4 file with one video track (H.264, 25 FPS) and one audio track (MP2). The total length is ~2:52 (two hours, 52 minutes). I've noticed that A/V is synchronous before ~2:34 but async ...
user avatar
2 votes
1 answer
8k views

why is mpeg4 encoder faster than libx264 using ffmpeg

I have been padding mp4 videos so they can become of the size 1920x1080 instead of 1920x800. I used initially used mpeg4 encoder using ffmpeg, the encoding was quick but the size of the file was more ...
Falah Abu Hassan's user avatar
2 votes
2 answers
8k views

Why does encoding a video using the MJPEG codec take longer than MPEG-4?

I am testing the encoding performance (MPEG-4 and MJPEG) of a smart camera. I have written an application in OpenCV/FFMPEG for performing encoding, where the application captures images from the ...
umair's user avatar
  • 41
2 votes
1 answer
4k views

How to let ffmpeg use back same bitrate when encode video?

I have an mp4 file encoded using mpeg4 with a size of 20MB When I checked the details of it, it said it has a 308k variable bitrate Then, when I encoded it into h264, ffmpeg converted it with a ...
Med Lexo's user avatar
  • 101
2 votes
2 answers
3k views

How can I convert trp video format to mpeg4?

Has anybody had experience with converting TRP format to MPEG4 or any other format playable on a PC?
user1097772's user avatar
2 votes
1 answer
245 views

What is the quickest way to merge multiple MPEG-4 files to a single DVD?

I am using Mac OS X 10.5 I have 30 MPEG-4 files, and I wish to burn these to a DVD that can be played in a standard DVD player (i.e. on a TV) What is the best way to burn these all to a DVD so that ...
Mazatec's user avatar
  • 143
2 votes
1 answer
495 views

HE AACv2 Audio profile on MediaInfo

I have a SDI input encoder with audio configuration as Coding : AAC/HE-AAC Coding Mode : MPEG-4 HE AAC v2 Mode : Stereo (2/0) Sameple Rate : 48KHz ES Bitrate : 64Kbps Transport Format : ADTS And, ...
Andrei Kim's user avatar
2 votes
0 answers
1k views

Trancoding a video with vlc and the MPEG-4 codec with a video bit rate

When I try to trancode a video with vlc using the MPEG-4 codec and a video bit rate, I get the following error : Either both buffer size and max rate or neither must be specified Here is the command ...
Nicolas's user avatar
  • 1,037
1 vote
1 answer
1k views

Extract Y-channel of every I-frame from MPEG4 movie as loslessly as possible

I'm working on a video tracking experiment and got stuck with videos that are quite badly compressed with the MPEG4 DivX 5x/6x codec. I'm fairly new to image formats, codecs and compression, but I ...
Goat-Anti-Rabbit's user avatar
1 vote
1 answer
518 views

What are the "software" requirements for a 3D video?

Today, looking for the technical explanations about MPEG4, I saw that it can implement the VRML rendering for a 3D video. This makes me wondering about the "software" requirements to make or to see a ...
Diogo's user avatar
  • 30.5k
1 vote
1 answer
896 views

Creating a DVD-player compatible movie file

I've created encoded a MPEG-4 file with mplayer and placed it on a DVD. The file is identified as RIFF (little-endian) data, AVI, 320 x 240, 25.00 fps, video: FFMpeg MPEG-4, audio: uncompressed PCM ...
Robert Munteanu's user avatar
1 vote
7 answers
1k views

Encoding Uncompressed video

I'd like to encode uncompressed video into compressed avi or mpeg4. Was wondering what program I should look at getting to do such a task. Videos are between 3 and 20 minutes long, and range anywhere ...
Sakamoto Kazuma's user avatar
1 vote
1 answer
150 views

Using ffprobe to get count of audio streams in mp4 file

I am looking for a way to get a count of the number of audio streams in mp4 files. Among some big long threads (mostly pre-2019 dated) on using ffprobe for this I found the following command: ffprobe ...
Alan MusicMan's user avatar
1 vote
1 answer
445 views

FFMpeg Mp4 cover art shows on Windows but not in Android

I'm decrypting an audible audiobook using this command: ffmpeg -audible_key KEY -audible_iv IV -i book.aax -c copy out.m4b The output file seems fine on my Windows machine. Metadata and cover are are ...
user3335599's user avatar
1 vote
0 answers
1k views

Repair MP4 corrupted index

I have a corrupted MP4 file whose length is 25 minutes, but fter the first 4 minutes it jumps ahead to 20 minutes and one cannot playback the middle portion. It appears as though the index is ...
Rex's user avatar
  • 409
0 votes
2 answers
3k views

avi to mpeg4 command line convertor

I am writting program for recording IP cameras videos. I use Aforge framework and can save video in avi format, but it's size is too big. I need some command line program to convert videos from avi to ...
Samvel Siradeghyan's user avatar
0 votes
1 answer
1k views

ffmpeg: What does the format 'null' imply?

I am trying to understand exactly what does the 'null' format imply. I did read the documentation from: https://ffmpeg.org/ffmpeg-formats.html#null But I fail to understand the following scenario. ...
malat's user avatar
  • 1,269
0 votes
1 answer
428 views

ffmpeg transcode twice compress further?

I have a collection of avi videos (say A). I first convert them into MPEG4 Part2 (say B) using ffmpeg -i ${inname} -vf scale=340:256,setsar=1:1 -q:v 1 -c:v mpeg4 -g 12 -f rawvideo ${outname}. The ...
apoliver's user avatar
0 votes
1 answer
1k views

Does using preset=placebo or veryslow option also decrease decode time?

When using h.264 I use preset=placebo option. It increases encoding efficiency, but I don't know I feel like it is also increasing decoding time. Is it right or it doesn't affect decoding time at all?
Alireza Mohamadi's user avatar
0 votes
0 answers
217 views

How can I edit Android-grabbed MP4 files in Virtualdub?

Android's command adb shell screenrecord x.mp4 is supposed to produce MPEG-4 files. VirtualDub is supposed to support MPEG-4 files through the use of the FFInputDriver plugin. The latter is true ...
Nilzor's user avatar
  • 4,519
0 votes
0 answers
168 views

How can I truncate .m4v elementary stream files?

I have two .m4v MPEG4-Visual elementary streams which need to be truncated down to a specific length, leaving the same starting point and simply specifying a frame number at which to end. I have ...
Luke's user avatar
  • 279
0 votes
1 answer
5k views

MPEG-4 (Base Media / Version 2) to MPEG-4 (3GPP Media Release 5)

Hi I want to convert an MP4 file to work with a Sony Ericsson Aino Here is a detailed comparison of the file format that I want to convert to which is MP4(3GPP) and the file that I want to convert ...
Aivan Monceller's user avatar
0 votes
1 answer
186 views

Encode divx into iPhone-compatible MPEG4 while downloading?

Is there a way to encode a DivX file into an iPhone-compatible video file while the DivX is downloading/streaming? Further, is it possible to re-stream the resulting iPhone-compatible video to the ...
Jonathan.'s user avatar
  • 2,614
-1 votes
1 answer
209 views

Generate mpeg 4 file with specific format with h.264 codec

I need a specific format in my .mp4 video file: 1. Only I and P frames 2. Each P frame based on only the previous (temporally) I frame 3. An I frame every second or so Is it possible to generate ...
TudorT's user avatar
  • 101
-1 votes
1 answer
181 views

Convert .mp4 video file for playback on camcorder

I have a .mp4 file with MPEG4 for video and MP3 for audio that I need to convert to make my camcorder (a cheap one I got off eBay) play it back, but the only problem is that it doesn't accept anything ...
Sanr's user avatar
  • 33