(I have found this somewhere in the Internet and modified a little bit - changed the resoultion, the refresh rate and the output format (from VOB to bare MPG)) succesfully but the quality is still too bad.
Anther thing I actually need (I have chosen not to include it in the question title to avoid making it too specific but I'd appreciate it being considered in the answers) is adding pure silence as a sound track - there is no sound in the original but the TV set complains about it and I'd like to get rid of this complain. I have generated a same-length (second-precise) silence OGG Vorbis file using Audacity but I can't manage to merge it with the video:
The problem is that the default bitrate for the MPEG-2 is rather low (as with most other video encoders in ffmpeg, the H.264 one being an exception). MPEG-2 is also not the best choice as a codec these days.
Increase the bitrate. You're now using -b:v 2500k. If it's HD video, you will not get far with only 2.5 MBit/s. You need at least double that or even more to make the result look good. For example, use -b:v 6000k -target pal-dvd.
I chose MP3 as codec. MPEG files cannot contain audio other than MPEG Layer I and II audio as well as PCM streams, so using a silent Ogg Vorbis file will not work unless you convert the audio stream as well (which is not what you're doing when you use -c:a copy).
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.
Cost really depends on which way you look at it. Do you want to buy more drives or better processors and GPU's but eventually you run out of drive space without adding more storage cases/racks. Then there's the case for using client hardware that supports h.265. More and more support it now and as the big guys such as Netflix nix their services on older hardware more and more will support it too. I'm thinking towards preparing the library for the future here. As a side note, I see no difference converting mpeg2.ts to h265.mkv over h264.mkv using Handbrake in MCEBuddy; IE conversion times are typically the same.
I get what you're saying but I'm going that route to save on my dwindling drive space. I have some odd 25 to 30 TB mostly h.264 and I don't want to buy more drives. I've started to prefer HEVC to conserve space. I guess that's part of the reason I added a GTX 1060 to my system. It's a small cost and I'm not seeing much in the way of performance degradation. I'm recording between 5 and 10 or more shows a day and things are running smoothly for the most part, even with some outside clients transcoding and MCEBuddy running two simultaneous conversions on half throttle (2 of 4 cores).
I'd say yes, convert them. Part of the conversion process will deinterlace the media. So you'll never have to worry about whether your player can deinterlace. It'll just play much better. And mpeg2 is just antiquated, and poor quality. When converting, you can also use filters to 'deblock', and improve picture quality.
MP4 is probably the most commonly used format due to its good compatibility and balance of size and quality. Although MP4 is the dominant video format today due to its many benefits, sometimes we still need to convert MP4 to other formats to be compatible with different software or devices, such as an old DVD player or a portable DVD player for car travel. In this case, MPEG-2 is the best choice.
You will need a proper video converter to help you convert MP4 to MPEG2. Here in this article, we will show you how to convert MP4 to MPEG2, covering both online and offline, for Windows and Mac, as well as the step-by-step guide. Please keep reading and find more.
Compatibility is the primary reason why people need to change MP4 to MPEG2. With the support of more than 420 codecs and file formats, VideoProc Converter AI can handle almost all your audio/video file conversion needs, including MP4 to MPEG-2, MKV, OGV, AVI, etc. A/V file conversion is straightforward and as easy as 1-2-3 with the intuitive interface of the program. With VideoProc Converter AI, you can easily convert MP4 to MPEG2 for DVD or other devices with no watermark. Follow the steps below to convert MP4 to MPEG2 free on Mac and Windows PC.
Note: The Windows version now supports AI-powered Super Resolution, Frame Interpolation, and Stabilization to enhance video and image quality. These AI features are not yet available in the Mac version but will be coming soon.
Browse and select your MP4 file(s) by clicking the +Video button in the upper left corner. Click the + Video Folder button to import the entire folder. You can also import files by dragging and dropping them.
Go to the Target Format button in the lower-left corner of the interface, and a window named Select Output Profile will pop up. Search for MPEG2 format in the search box. Choose the format according to your needs. Then hit the Done button to confirm your choice. VideoProc Converter AI offers presets for DVD burning, PS3, PS4, MPEG2 TS video, etc.
Click the gear icon named Option. Here you can set the overall quality, resolution, bitrate, frame rate, etc. VideoProc Converter AI also provides basic editing features in the Edit tab, including changing playback speed, cutting unwanted parts, adding effects and subtitles, etc.
Start converting MP4 to MPEG2 by clicking the RUN button in the lower right corner of the interface. Make sure the box in front of the Hardware Acceleration Engine is checked so that you can enjoy a lightning-fast conversion speed.
The free MP4 to MPEG2 converter online also work nicely when converting MP4 to MPEG-2 if your internet connection is good. They are good for occasional uses. Most of them are pretty easy to use and especially suitable when you don't want to install any software. The following content is how to convert MP4 to MPEG2 online free with Convertio.
Note: Most online converters have limits on file size (100 MB for Convertio in this case) or concurrent conversions. Some of them won't let you set parameters such as codec, frame rates, etc. The conversion process is relatively time-consuming and related to your network environment.
The freeware we are talking about is the VLC media player. Well-known as a phenomenal video player, VLC can also work as a video converter. If you already have VLC installed on your device, you can also use it to turn MP4 to MPEG2. The following are the steps to convert MP4 to MPEG2 VLC.
FFmpeg is a popular command line-based tool. It includes encoders and decoders for many audio and video file formats, making it support many common and uncommon multimedia formats. FFmpeg is also an open-source program that you can get for free. Use the steps below to convert MP4 to MPEG2 free with FFmpeg.
Note: Since FFmpeg is a command-line tool, it does not have a native GUI. Users need to be very familiar with various common commands and type them with the keyboard in the command-line tool to transcode multimedia files and streams. Novice users may find it complicated.
VideoProc Converter AI is highly recommended considering the ease of use, conversion speed, and effect. Novice users can benefit from the intuitive interface and rich presets. Experienced users can also customize various advanced parameters according to their needs. Plus with the Hardware Acceleration technology, VideoProc Converter AI will deliver a buttery-smooth video conversion process.
MPEG2 (or MPEG-2) is a common codec standard for lossy video and audio compression. It is used in Digital Video Broadcast and DVDs. Typical container formats for MPEG2 are TS (MPEG transport stream) and PS (MPEG program stream).
To play an MPEG-2 video on your PC, you can simply double-click it and let the system choose which program to use. If you are a Mac user, QuickTime Player should play your MPEG-2 video. If you are working on Windows, you may need to install the MPEG-2 Video Extension since Microsoft Movies & TV does not support MPEG-2 videos. You can also use VideoProc Converter AI to convert your MPEG-2 videos to a more universal format.
Cecilia Hwung is the editor-in-chief of Digiarty VideoProc. With over a decade of experience, she specializes in delivering insightful content on AI trends, video/audio editing, conversion, troubleshooting, and software reviews. Her expertise makes her a trusted ally in enhancing users' digital experiences.
Digiarty Software, established in 2006, pioneers multimedia innovation with AI-powered and GPU-accelerated solutions. With the mission to "Art Up Your Digital Life", Digiarty provides AI video/image enhancement, editing, conversion, and more solutions. VideoProc under Digiarty has attracted 4.6 million users from 180+ countries.
c80f0f1006