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-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th May 2020, 16:14   #1  |  Link
FLX90
Registered User
 
Join Date: Nov 2018
Posts: 34
MPEG-2 decoding issues

I'm trying to decode a MPEG2 video to AVC with those two lines:
Code:
x264-r3000-33f9e14.exe --fps 24000/1001 --force-cfr --bitrate 20669 --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 -o outputx.264 input.mkv
x264-r3000-33f9e14.exe --fps 24000/1001 --force-cfr --bitrate 20669 --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 -o output.264 input.mkv
input video:
Code:
Video
ID                                       : 1
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@High
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=15
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Duration                                 : 1 h 50 min
Bit rate mode                            : Variable
Bit rate                                 : 20.7 Mb/s
Maximum bit rate                         : 35.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.416
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Stream size                              : 15.9 GiB (91%)
Default                                  : Yes
Forced                                   : No
I get the following error message:
Code:
[mpeg2video @ 00000000004eed00] ignoring pic cod ext after 0
[mpeg2video @ 0000000002296d00] ignoring pic cod ext after 0
What does that mean and how does it affect the output?
FLX90 is offline   Reply With Quote
Old 27th May 2020, 20:45   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
This message almost certainly is not from x264 itself, but from libavcodec (ffmpeg) MPEG-2 decoder.

Could be the result of a broken MPEG-2 bitstream, but does not necessarily mean you will see any "corruptions" in decoded output. Did you check the output for any noticeable issues?

(I'd probably do an encode with ultra-fast settings and check the output for broken frames, just to be sure)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 27th May 2020 at 21:00.
LoRd_MuldeR is offline   Reply With Quote
Reply

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 07:48.


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