Mpeg 4 Video

0 views
Skip to first unread message

Toney Talbot

unread,
Aug 5, 2024, 5:17:25 AM8/5/24
to perracemi
Thefirst 30seconds or so seem to be fine. After that, the video stutters and VLC stops playing the video stream (while it sometimes keeps the audio running). When jumping to a later/earlier position in the movie, there is no image, just audio. Or I have image but no audio. When I do a single frame step in VLC, the images reveal significant artifacts as shown in the following image, where a hand is moving in front of a blue background. The edge of the hand seems to show rectangles of the previous frame:

Try playing it in Shotcut. I bet it will be fine. The export preset is not perfectly compatible with everything on its own. I think that is because MPEG-2 typically requires some specification details ala DVD, HDV, or ATSC. The preset is generic, so it just creates a generic average bitrate. When you view the export job log it typically shows something like:


with additonal buffer underflow warnings.

You can switch to constant bitrate to set a buffer size, but the messages and problem in VLC does not go away. Even when I choose a DVD preset the log messages do not go away. I think some FFmpeg changes impaired our MPEG-2 encoding, but at least the DVD presets play fine for me in VLC.


As for the MPEG-2 choice:

The videos shall be archived and may be converted in other formats in the future. When searching through the net (some years ago) I found that most people said that MPEG-2 would be the right choice. It produces bigger files but with less loss than MP4. So I assumed this would be the best format for file archival.


Thank you for your suggestions. I will give them a try and compare the results to find a good compromise between quality and file size. (Complete lossless might produce files which a far too big. I also have movies of one hour or more. So I will do some tests with higher quality settings and see what happens.)


I am trying to import MPEG-2 files into Final Cut Pro X. I have the raw files from a Sony Handicam HDR-SR5 as well as raw files from an Sony Handicam MDR-CX560. These files were recorded as MPEG-2 files and copied from the camera hard drives (entire folders were copied containind the MPEG-2 fies) to a local hard drive on my computer.


Is there a way to get the files into Final Cut Pro X without having to convert them? It seems a little rediculous that Final Cut Pro can import the files directly from the camera but not from the hard drive.


Are you trying to import them as files or as a camera archive? I suspect you are trying to import files. If FCPX can import them directly from the camera, it is also able to import them from your "camera archive" on your HD. In other words, import them the same way you would from the camera. That is, assuming you copied the entire set of folders and files from your camera to create a real camera archive.


Yes, I am trying to import them as files not an archive. The camera's hard drive has several folders. I only copied the folder that contained the .mpg files and not the others. Lesson learned. I will have to copy the entire contents of the camera hard drive next time.


Do you have an idea how long it takes to do the conversion? A 20 minute video is about 1.7 GB in files size. When trying to convert to ProRes 422 in Compressor it was goin to be 6 GB or larger when it was done and take abou 30 minutes.


Sounds about right - ProRes 422 is roughly between 5 and 8 times bigger than native camera footage - sometimes as much as 10 times, I believe, but it's well worth it for editing, effects and playback quality.


These cameras record both SD and HD. The SD media is MPEG-2, and that cannot be imported from the camera. Only the AVCHD media can be imported from the camera. Streamclip can convert the SD media but not the HD media.


This is really annoying. Why won't Final Cut just read MPEG-2? I have a ton of footage and MPEG Streamclip won't convert because I don't have the Apple QuickTime Component installed. Do I have to buy the QuickTime component?


However, please note that even if you buy MPEG-2 plugin for Quick time, this plugin is not compatible on Lion. I raised this concer to Apple and they refunded my $20 when I could not install the mpeg-2 plugin on Lion.


we are on the year 2023

why cubase wont let me imported whatsapp files (.mpeg)

i am working with ppl around the world and somtimes they send me arrenge idea or somthing why i cannot import it and need to convert ??

i dont care about sound quality and stuff just need it to be in cubase

come on guys why it like this


Maybe think about spending a little money ($22) on a video player instrument plugin called VidPlayVST, so you can playback your *.mpeg media right inside Cubase, straight away. No conversion of your video files needed.!


I use Any Video Converter, which, despite the name, can convert virtually any format (audio or video) into any other, including extracting audio from video. The free version displays a nag screen at the end.


Any Video Converter Free is the best free video converter that is featured useful single and assembly tools including video converting, video clipping, video cropping, video merging, gif making, video color adjusting, and more.


File Converter is a very simple tool which allows you to convert and compress one or several file(s) using the context menu in windows explorer. - GitHub - Tichau/FileConverter: File Converter is a...


I'm trying to convert an mp3 audio file to an AAC file with FFMPEG, and I need the audio to be wrapped in an MPEG-2 container.The resulting AAC file needs to be AAC-LC (Low Complexity), 1-channel, CBR mode, 44100 sample rate, and 48kb/s bitrate, so I use this command:


But when I examine the ADTS headers, the audio file is always being wrapped in an MPEG-4 container. I have tried all the codecs listed here but I still end up with an mpeg-4 container wrapped around the audio:


Any ideas as to why ffmpeg wraps an mp4 container around the audio? Can I get around this somehow? Are there any other encoders I can try aside from FFMPEG? I was giving FAAC encoder a shot and it gives me the proper encoding and ADTS headers, but alas it does not support mp3, only WAV.


Your terminology is a bit confused. first, mp4 is NOT the same thing as mpeg4. mpeg4 is an encompassing term to describe all sorts of codecs and containers. the mp4 container is also known as mpeg4 part 14. the aac container format is just a collection of raw aac frames with ADTS headers, it is described in mpeg4 part 3. hence .aac is a mpeg4 format but NOT an mp4 file.


I needed to go into FFmpeg's source code and change the hard-coded MPEG version in libfaac.c to MPEG2, at line 115 (a few lines up from what is mentioned in the other post). I then recompiled FFmpeg, making sure to include --enable-libfaac.


I think part of me not being able to find the right package is that I do not know which repos are supposed to be used with RL. Can rpmfusion repos work with RL? Centos 8 repos? RHEL 8 repos? Is there a list of repos that are supposed to be used with RL?


Powertools used to be the name of a CentOS repo, I think, now replaced by crb. On alma at least, you can enable it with

sudo dnf config-manager --enable powertools.

The rpmfusion free and unfree repos have ffmpeg and mpv. Pretty sure those will cover most things you want to play.


I'm downloading a video file ... mpeg, avi - being one of the popular formats. Now, if I am downloading it, and the download breaks in the middle of the uhm ... download, then, for example, Windows Media Player will give out some error and refuse to play it (although the file is, let's say, 98% complete). But, players like KMPlayer, or MediaPlayer Classic will play it up until that point (as the matter of fact, they can play it while it is being downloaded as well).


So, I'm interested, ... without using any means of download (download managers and alike) to secure the file is completely downloaded, how can one verify whether the video file is downloaded whole, and that it is complete ?


You can use a feature in ffmpeg video converter: if you will specify it to recode video to nothing it will just read input file and report any errors that will appear. This is a very fast process because video frames are just being read, checked and silently dropped.


You will get a full error log with some generic information about file ffmpeg will output, so this will probably require your attention, through filters can be written to perform batch check of similar files.


I liked idea of using ffmpeg -f null above, but I'd actually like to automate process of using that output. In particular, common scenario I have with my music video collection is that I have few clips which have same resolution, and I'd like to diff verification logs for those files to remove ones broken the most.


Setup:Download FFmpeg for Windows from here: and unzip themChange C:\ffmpeg\bin\ in the bat file for the path where you have unzipped ffmpegPut checkvideo.bat on a folder included in the Path or add his folder to Path environment variable


I really liked the ffmpeg version provided by How can I check the integrity of a video file (avi, mpeg, mp4...)? but I wanted a version that would only tell me if ffmpeg failed to play the video in a way that stopped it (I can deal with frame drops), and I wanted it to be linux based. I came to the solution below. I also wanted more information about what was happening while it was scanning, so I opted for scanned/total/errored outputting whenever a file starts scanning.


However, there is a CAVEAT. This method can yield wrong results, because sometimes thumbnail can be generated even for corrupt files. E.g. if the video file is corrupted only at the end, this method will fail.

3a8082e126
Reply all
Reply to author
Forward
0 new messages