I want to convert videos to mpeg2 422P Profile H-14 Layer, (422P@H-14) , with the use of ffmpeg. What arguments would i need to use?
I followed this queation https://forum.videohelp.com/threads/345143-mpeg2-MP-ML-with-ffmpeg to slove it. As comment 6: 422P@H-14 would be -profile:v 0 -level:v 6
But it is not worked.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
To address your problem it will be good to see complete ffmpeg command line.
Not sure about pixel format used by you - for 4:2:2 you should use 'yuv422p' pixel format.
Also based on mpeg2enc source perhaps you are trying to use incorrect level as seem for 422 profile only level 2 (high) and 5 (main) are allowed.
Code:215 if (avctx->level == FF_LEVEL_UNKNOWN) { 216 if (avctx->profile == FF_PROFILE_MPEG2_422) { /* 4:2:2 */ 217 if (avctx->width <= 720 && avctx->height <= 608) 218 avctx->level = 5; /* Main */ 219 else 220 avctx->level = 2; /* High */ 221 } else { 222 if (avctx->profile != FF_PROFILE_MPEG2_HIGH && 223 avctx->pix_fmt != AV_PIX_FMT_YUV420P) { 224 av_log(avctx, AV_LOG_ERROR, 225 "Only High(1) and 4:2:2(0) profiles support 4:2:2 color sampling\n"); 226 return AVERROR(EINVAL); 227 } 228 if (avctx->width <= 720 && avctx->height <= 576) 229 avctx->level = 8; /* Main */ 230 else if (avctx->width <= 1440) 231 avctx->level = 6; /* High 1440 */ 232 else 233 avctx->level = 4; /* High */ 234 } 235 } 236
Similar Threads
-
using ffmpeg to convert a mkv or mp4 to MPEG-4 suitable for a DVD player
By NeilTelford in forum Video ConversionReplies: 5Last Post: 3rd Jun 2021, 11:55 -
Get the complete FFmpeg command line when using FFmpeg Batch Converter
By pascor in forum Newbie / General discussionsReplies: 8Last Post: 14th May 2021, 00:14 -
FFMPEG transcoded MPEG-TS files are lagging to start video
By dogmydog in forum Video ConversionReplies: 19Last Post: 12th Apr 2021, 10:01 -
Extract subtitles from MPEG-TS-file (DVB Subtitle & Teletext) using ffmpeg
By DeafYakuza in forum SubtitleReplies: 8Last Post: 13th Jun 2019, 14:40 -
MPEG-2 DAR is 16:9 but needs to be 4:3, FFmpeg seems incapable of helping
By ItaloFan in forum Video ConversionReplies: 4Last Post: 12th Jul 2018, 18:41