Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-2 Encoding

View Poll Results: Do you still use MPEG2 in 2019?
Yes 12 31.58%
Yes, for simple content (tv shows, etc) 2 5.26%
No 25 65.79%
I don't know what MPEG2 is... 2 5.26%
Multiple Choice Poll. Voters: 38. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th July 2019, 19:15   #21  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,435
I think it would be useful to have x262 encoding working with VirtualDub2, especially as we can now save directly to the .mkv container...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 15th July 2019, 19:45   #22  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,410
Who do you think would want or need to encode MPEG-2 to MKV?
sneaker_ger is offline   Reply With Quote
Old 15th July 2019, 19:55   #23  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 2,550
Thanks Groucho for the binaries.

I took a quick look at the help, leaves me a little confused. The help always refers to x264, is this just sloppiness? And then I do not see the option to output an m2v elementary stream, are the devs serious about this? Dunno, looks I will stick with HCenc and FFmpeg for my MPEG2 encoding needs...
manolito is offline   Reply With Quote
Old 15th July 2019, 20:06   #24  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,359
Quote:
Originally Posted by manolito View Post
I took a quick look at the help, leaves me a little confused. The help always refers to x264, is this just sloppiness? And then I do not see the option to output an m2v elementary stream, are the devs serious about this? Dunno, looks I will stick with HCenc and FFmpeg for my MPEG2 encoding needs...
This seems to produce a perfectly fine mpeg2 elementary stream:
Code:
x262_32 test.avs --mpeg2 --output test.m2v
If you need the full help:
x262_32 --fullhelp > x262.txt
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 16th July 2019 at 14:15.
Groucho2004 is offline   Reply With Quote
Old 15th July 2019, 20:16   #25  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,435
Quote:
Originally Posted by sneaker_ger View Post
Who do you think would want or need to encode MPEG-2 to MKV?
It's not necessarily about the container. But having a container the correctly supports b-frames is useful.

And once the elementary MPEG-2 has been extracted it can be muxed into other containers...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 15th July 2019, 21:47   #26  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Germany
Posts: 620
Quote:
Originally Posted by SeeMoreDigital View Post
It's not necessarily about the container. But having a container the correctly supports b-frames is useful.

And once the elementary MPEG-2 has been extracted it can be muxed into other containers...
Yep. In my case, I mux MPEG-2 files with BBC BMX in mxf. I was actually using ffmpeg to mux audio and video before, but I found out that some softwares are just too "pretentious" in terms of specifications and refuse MPEG-2 files muxed with ffmpeg but accept them if I mux them with BBC BMX (I'm looking at you AVID!).

By the way, thanks for the updated binaries, Groucho!

Quote:
Originally Posted by SeeMoreDigital View Post
I think it would be useful to have x262 encoding working with VirtualDub2, especially as we can now save directly to the .mkv container...
+1
Although I've automatized everything via bat, it would be useful to have it available on VirtualDub as well. For the records, by "VirtualDub" I mean VirtualDub2 Filtermod of course.
__________________
Broadcast Encoder
LinkedIn
FranceBB is offline   Reply With Quote
Old 15th July 2019, 23:28   #27  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 899
Quote:
Originally Posted by Groucho2004 View Post
Here are the r2633 builds (32 & 64 bit). Input is Avisynth or stdin.

Standard disclaimer:
I have not tested these at all and take no responsibility if your computer blows up or you grow excessive nose hair using these binaries.
Thanks for this!
Already trimming them so they can regrow in the process.
__________________
Win10 (x64) build 17134 | GPU Caps Viewer 1.40.1.0
NVIDIA GeForce GT 1030 (GP108) 2047MB/GDDR5 | (R417.22)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 15th July 2019, 23:44   #28  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,512
MPEG-2 is still absolutely mainstream, widely deployed, and utterly critical in professional workflows, mostly in broadcast. Just a few examples:

- OTA broadcast via ATSC is still MPEG-2.
- Many cable systems still use MPEG-2 for linear channels due to legacy settop boxes (often live transcoded from the "real" AVC used by the rest of the system). Lots of cable VOD is still MPEG-2 as well.
- Many legacy HD and SD linear channels are originated on satellite via MPEG-2
- DVDs are still very much a thing.

- Most linear TV channels play MPEG-2 files out of their video servers. IMX is common for SD, and XDCAM HD422 is common for HD.

That last one I know a ton about as I worked on the ingest / workflow side of broadcast for many years. Most channels have huge libraries of content in their "house format" which tends to be MPEG-2 based for simplicity and consistency with files ingested 10+ years ago. You change as little as possible when taking channels to air. Storage is definitely expensive, but the businesses tend to prefer spending the money on the old file formats since it mitigates risk elsewhere.

Thankfully nobody doing OTT streaming uses MPEG-2, because as we all know it's utterly outclassed by 2+ compression format generations and 20+years of development. Things move slow

Last edited by Blue_MiSfit; 15th July 2019 at 23:47.
Blue_MiSfit is offline   Reply With Quote
Old 16th July 2019, 13:30   #29  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 885
Quote:
Originally Posted by manolito View Post
I took a quick look at the help, leaves me a little confused. The help always refers to x264, is this just sloppiness?
Do you still have any doubts?
I would like to know why x262 isn't a pure MPEG-2 encoder yet...
not sure whether it's impossible to get rid of the H.264 encoder parts, or whether the developer was just too lazy

Anyway, I only knew that x262 suckED in the beginning... but yesterday and today I gave a second chance to the binary.
Well, it's much better now, I have to say. It does not limit the GOP length, accepts the linear quantization scale and custom matrices as well, and is fast.

*THUMBS UP*
filler56789 is offline   Reply With Quote
Old 24th July 2019, 11:34   #30  |  Link
outhud
Registered User
 
Join Date: Aug 2018
Posts: 1
Hi Sparktank, I needed to encode for DVD recently, and used HCenc also.

Interested to try x262, are there any comparisons available comparing x262 with HCenc? Or have you found any result from your own testing?

Last edited by outhud; 24th July 2019 at 11:37.
outhud is offline   Reply With Quote
Old 24th July 2019, 19:54   #31  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 899
I'll be doing some testing within the next couple weeks. I just need cannibalize my computers. The old one has the really good drive that does UHD-BD's.

From some limited testing yesterday, it's quite decent but needs a lot of tweaking.

Quote:
Originally Posted by filler56789 View Post
Anyway, I only knew that x262 suckED in the beginning... but yesterday and today I gave a second chance to the binary.
Well, it's much better now, I have to say. It does not limit the GOP length, accepts the linear quantization scale and custom matrices as well, and is fast.

*THUMBS UP*
Have any scripts to share? Some feedback on the source types (grain,noise,flat,animation,etc)?
__________________
Win10 (x64) build 17134 | GPU Caps Viewer 1.40.1.0
NVIDIA GeForce GT 1030 (GP108) 2047MB/GDDR5 | (R417.22)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 24th July 2019, 21:20   #32  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 885
Quote:
Originally Posted by Sparktank View Post
Have any scripts to share? Some feedback on the source types (grain,noise,flat,animation,etc)?
Not yet. I ran just a couple of test encodes in a VERY unscientific way ...
but the visual quality AND the small filesize were similar to the results produced by the (already-old) Mainconcept Reference MPEG-2 Encoder.

Last edited by filler56789; 24th July 2019 at 21:21. Reason: typo
filler56789 is offline   Reply With Quote
Old 24th July 2019, 23:40   #33  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,048
Quote:
Originally Posted by filler56789 View Post
Do you still have any doubts?
I would like to know why x262 isn't a pure MPEG-2 encoder yet...
not sure whether it's impossible to get rid of the H.264 encoder parts, or whether the developer was just too lazy
x265 was basically forked and refactored away from the reference HEVC implementation, IIRC. x264 might have been developed similarly in the early stages, but I don't know that for sure. x262 was basically a set of changes to x264's already-mature codebase which allowed it to encode MPEG-2.

So to use an analogy, x264 and x265 are like cousins. x262 is like x264 grew a second head.
qyot27 is offline   Reply With Quote
Reply

Tags
2019, 480p, mpeg2, sd content, x262

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.