I'm trying to convert a video (720,404), to (720,480). When I put addborder into the script, the video is outputted as 29fps instead of the original 23fps. If I don't use addborder, the encode works fine.
+ Reply to Thread
Results 1 to 18 of 18
-
-
Code:
DirectShowSource("D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.mp4", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001) #deinterlace #crop AddBorders(0, 38, 0, 38) #resize #denoise ConvertToYV12()
Code:-[Information] Log for job68 (video, Criminal Minds.E01.The Silencer.avs -> Criminal Minds.E01.The Silencer.264) --[Information] [09/11/2014 15:53:03] Started handling job --[Information] [09/11/2014 15:53:03] Preprocessing -[NoImage] DirectShowSource("D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.mp4", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001) -[NoImage] #deinterlace -[NoImage] #crop -[NoImage] AddBorders(0, 38, 0, 38) -[NoImage] #resize -[NoImage] #denoise -[NoImage] ConvertToYV12() --[Information] [09/11/2014 15:53:03] Avisynth input script --[Information] [09/11/2014 15:53:03] resolution: 720x480 --[Information] [09/11/2014 15:53:03] frame rate: 24000/1001 --[Information] [09/11/2014 15:53:03] aspect ratio: 3:2 (1.500) --[Information] [09/11/2014 15:53:03] target device selected: AVCHD --[Information] [09/11/2014 15:53:03] detected --sar 1:1 --[Warning] [09/11/2014 15:53:03] assume --sar 10:11 as only 40:33 or 10:11 are supported with a resolution of 720x480 for the selected device. --[Warning] [09/11/2014 15:53:03] changing --pulldown to 32 as it is required for encoding of 720x480 with 24000/1001 fps for the selected device. --[Information] [09/11/2014 15:53:03] Job commandline: "C:\Users\Michael\Downloads\MeGUI_2507_x86\tools\x264\avs4x264mod.exe" --level 4.1 --bluray-compat --crf 18 --keyint 240 --open-gop --slices 4 --vbv-bufsize 14000 --vbv-maxrate 14000 --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m --pulldown 32 --sar 10:11 --output "D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264" "D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.avs" --[Information] [09/11/2014 15:53:03] Process started --[Information] [09/11/2014 15:53:03] Standard output stream --[Information] [09/11/2014 15:53:03] Standard error stream ---[Information] [09/11/2014 15:53:04] raw [info]: 720x480p 10:11 @ 24000/1001 fps (cfr) ---[Information] [09/11/2014 15:53:04] x264 [info]: using SAR=10/11 ---[Information] [09/11/2014 15:53:04] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX ---[Information] [09/11/2014 15:53:04] x264 [info]: profile High, level 4.1 ---[Information] [09/11/2014 15:58:12] x264 [info]: frame I:947 Avg QP:12.62 size: 31058 ---[Information] [09/11/2014 15:58:13] x264 [info]: frame P:21129 Avg QP:16.54 size: 8125 ---[Information] [09/11/2014 15:58:13] x264 [info]: frame B:37001 Avg QP:18.62 size: 1927 ---[Information] [09/11/2014 15:58:13] x264 [info]: consecutive B-frames: 9.4% 18.0% 10.0% 62.7% ---[Information] [09/11/2014 15:58:13] x264 [info]: mb I I16..4: 19.6% 59.6% 20.7% ---[Information] [09/11/2014 15:58:13] x264 [info]: mb P I16..4: 1.8% 6.0% 1.2% P16..4: 35.0% 20.3% 8.8% 0.0% 0.0% skip:26.9% ---[Information] [09/11/2014 15:58:13] x264 [info]: mb B I16..4: 0.1% 0.2% 0.0% B16..8: 34.4% 5.7% 0.9% direct: 1.5% skip:57.1% L0:40.5% L1:50.2% BI: 9.3% ---[Information] [09/11/2014 15:58:13] x264 [info]: 8x8 transform intra:64.0% inter:76.8% ---[Information] [09/11/2014 15:58:13] x264 [info]: coded y,uvDC,uvAC intra: 63.2% 72.6% 42.0% inter: 13.7% 17.6% 1.2% ---[Information] [09/11/2014 15:58:13] x264 [info]: i16 v,h,dc,p: 37% 27% 12% 24% ---[Information] [09/11/2014 15:58:13] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 17% 21% 5% 7% 8% 7% 7% 7% ---[Information] [09/11/2014 15:58:13] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 24% 14% 5% 8% 8% 7% 6% 5% ---[Information] [09/11/2014 15:58:13] x264 [info]: i8c dc,h,v,p: 54% 20% 20% 7% ---[Information] [09/11/2014 15:58:13] x264 [info]: Weighted P-Frames: Y:1.4% UV:0.6% ---[Information] [09/11/2014 15:58:13] x264 [info]: ref P L0: 78.7% 18.0% 3.4% ---[Information] [09/11/2014 15:58:13] x264 [info]: ref B L0: 97.0% 3.0% ---[Information] [09/11/2014 15:58:13] x264 [info]: ref B L1: 95.7% 4.3% ---[Information] [09/11/2014 15:58:13] x264 [info]: kb/s:884.30 ---[Information] [09/11/2014 15:58:13] encoded 59077 frames, 191.27 fps, 884.31 kb/s ---[Information] [09/11/2014 15:58:13] avs [info]: AviSynth 2.58, build:Dec 22 2008 [08:46:51] ---[Information] [09/11/2014 15:58:13] avs [info]: Video colorspace: YV12 ---[Information] [09/11/2014 15:58:13] avs [info]: Video resolution: 720x480 ---[Information] [09/11/2014 15:58:13] avs [info]: Video framerate: 24000/1001 ---[Information] [09/11/2014 15:58:13] avs [info]: Video framecount: 59077 ---[Information] [09/11/2014 15:58:13] avs4x264 [info]: "x264_64" - --level 4.1 --bluray-compat --crf 18 --keyint 240 --open-gop --slices 4 --vbv-bufsize 14000 --vbv-maxrate 14000 --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m --pulldown 32 --sar 10:11 --output "D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264" --frames 59077 --fps 24000/1001 --input-res 720x480 --input-csp i420 --[Information] [09/11/2014 15:58:13] Final statistics ---[Information] [09/11/2014 15:58:13] Constant Quality Mode: Quality 18 computed... ---[Information] [09/11/2014 15:58:13] Video Bitrate Obtained (approximate): 884 kbit/s --[Information] [09/11/2014 15:58:13] MediaInfo ---[Information] [09/11/2014 15:58:13] File: D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264 -[Information] Format: AVC -[Information] FormatString: AVC -[Information] FileSize: 272367165 -[Information] PlayTime: ---[Information] General -[Information] ID: -[Information] StreamOrder: -[Information] Width: 720 -[Information] Height: 480 -[Information] FrameCount: -[Information] FrameRate: 29.970 -[Information] FrameRateOriginal: -[Information] FrameRateMode: -[Information] ScanType: Progressive -[Information] Codec: AVC -[Information] CodecString: AVC -[Information] Bits Depth: 8 -[Information] Format: AVC -[Information] AspectRatio: 1.364 -[Information] AspectRatioString: 4:3 -[Information] Delay: -[Information] Title: -[Information] Language: -[Information] LanguageString: -[Information] Default: -[Information] DefaultString: -[Information] Forced: -[Information] ForcedString: ---[Information] Video --[Information] [09/11/2014 15:58:14] Postprocessing ---[Information] [09/11/2014 15:58:14] Deleting intermediate files --[Information] [09/11/2014 15:58:14] Job completed -[Information] Log for job69 (mux, Criminal Minds.E01.The Silencer.264 -> Criminal Minds.E01.The Silencer.mkv) --[Information] [09/11/2014 15:58:14] Started handling job --[Information] [09/11/2014 15:58:26] Preprocessing --[Information] [09/11/2014 15:58:26] MediaInfo ---[Information] [09/11/2014 15:58:26] File: D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264 -[Information] Format: AVC -[Information] FormatString: AVC -[Information] FileSize: 272367165 -[Information] PlayTime: ---[Information] General -[Information] ID: -[Information] StreamOrder: -[Information] Width: 720 -[Information] Height: 480 -[Information] FrameCount: -[Information] FrameRate: 29.970 -[Information] FrameRateOriginal: -[Information] FrameRateMode: -[Information] ScanType: Progressive -[Information] Codec: AVC -[Information] CodecString: AVC -[Information] Bits Depth: 8 -[Information] Format: AVC -[Information] AspectRatio: 1.364 -[Information] AspectRatioString: 4:3 -[Information] Delay: -[Information] Title: -[Information] Language: -[Information] LanguageString: -[Information] Default: -[Information] DefaultString: -[Information] Forced: -[Information] ForcedString: ---[Information] Video --[Information] [09/11/2014 15:58:26] Job commandline: "C:\Users\Michael\Downloads\MeGUI_2507_x86\tools\mkvmerge\mkvmerge.exe" -o "D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.mkv" "D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264" "--compression" "0:none" --ui-language en --[Information] [09/11/2014 15:58:26] Process started --[Information] [09/11/2014 15:58:26] Standard output stream --[Information] [09/11/2014 15:58:26] Standard error stream ---[Information] [09/11/2014 15:58:26] mkvmerge v7.0.0 ('Where We Going') 32bit built on Jun 9 2014 15:08:34 ---[Information] [09/11/2014 15:58:27] 'D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264': Using the demultiplexer for the format 'AVC/h.264'. ---[Information] [09/11/2014 15:58:27] 'D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264' track 0: Using the output module for the format 'AVC/h.264 (unframed)'. ---[Information] [09/11/2014 15:58:27] The file 'D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.mkv' has been opened for writing. ---[Information] [09/11/2014 15:58:27] 'D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 720/528. ---[Information] [09/11/2014 15:58:35] The cue entries (the index) are being written... ---[Information] [09/11/2014 15:58:35] Muxing took 8 seconds. --[Information] [09/11/2014 15:58:35] MediaInfo ---[Information] [09/11/2014 15:58:35] File: D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.mkv -[Information] Format: Matroska -[Information] FormatString: Matroska -[Information] FileSize: 272772699 -[Information] PlayTime: 00:32:51.202 ---[Information] General -[Information] ID: 1 -[Information] StreamOrder: 0 -[Information] Width: 720 -[Information] Height: 480 -[Information] FrameCount: 59077 -[Information] FrameRate: 29.970 -[Information] FrameRateOriginal: -[Information] FrameRateMode: CFR -[Information] ScanType: Progressive -[Information] Codec: V_MPEG4/ISO/AVC -[Information] CodecString: AVC -[Information] Bits Depth: 8 -[Information] Format: AVC -[Information] AspectRatio: 1.364 -[Information] AspectRatioString: 4:3 -[Information] Delay: 0 -[Information] Title: -[Information] Language: -[Information] LanguageString: -[Information] Default: Yes -[Information] DefaultString: Yes -[Information] Forced: No -[Information] ForcedString: No ---[Information] Video --[Information] [09/11/2014 15:58:35] Postprocessing -[Information] [09/11/2014 15:58:35] Successfully deleted D:\Download\Criminal Minds Season 8 Complete\Criminal Minds.E01.The Silencer.264 ---[Information] [09/11/2014 15:58:35] Deleting intermediate files --[Information] [09/11/2014 15:58:35] Job completed
-
It's because you selected target device AVCHD
There are strict standards when using those targets, native 23.976p isn't supported at SD resolution for BD or AVCHD
What is the intended target? (How are you going to be viewing these) ? Choose a different preset if you don't need "AVCHD"Last edited by poisondeathray; 9th Nov 2014 at 10:33.
-
I will be using AVCHD as target, I wanted to add blackbars so that MultiAVCHD would accept. MultiAVCHD lets me uncrop to 480, and output using AVCHD, but I wasn't happy with the encoding so I turned to MeGUI. I wanted to burn a few episodes onto a DVD.
-
Strictly speaking - 23.976pN isn't allowed, only 29.97 interlaced
At SD resolution, 23.976p content has 3:2 pulldown . You're in the UK, but this is similar to how NTSC DVD's would have it. You can think of it sort of as "23.976p in 29.97i"
You don't need to do this, unless you were going to play this on optical disc in a BD player as an authored disc. And most newer BD players can play various files like MKV, h.264, MP4 etc.. as is through USB, there is usually no need to add the borders back in the first place , no need to add pulldown, no need to waste time or lose quality re-encodingLast edited by poisondeathray; 9th Nov 2014 at 10:32.
-
Yeah I did want to burn it to a DVD to play in a BD player as an authored disc. Would I have to convert the FPS to 29.97?
-
I just changed the AVCHD option to 'default' and it's working fine now. Thanks for your knowledge!
-
-
-
-
Also, I just wanted to know how to do it anyway, in case I need to do it in the future, no harm in learning.
-
Last edited by newpball; 9th Nov 2014 at 10:47.
-
But even if he did tell me, I still wouldn't be sure on what needed to be done, I'm not very knowledgeable in this area of technology, all I know is that when I author a disk, it works. I've had too many problems in the past with videos not working on some devices and such, so il just stick with this method. Sure it's not the best option quality wise, although I was happy with the encode (crf 18). But quite frankly I'm doing a favour for him and I don't think he will care that it's been re-encoded. Of course in my own I home I don't have this problem and play material from its original untouched source.
-
-
Well if you want what you want you have to do a three-two pull down to get it to 29.97:
http://en.wikipedia.org/wiki/Three-two_pull_down
Well the source you use is obviously not the original untouched source.
If you own the DVD then there is absolutely no point in going from 29.97 to 23.97 and then back to 29.97.
Last edited by newpball; 9th Nov 2014 at 11:08.
-