VideoHelp Forum




+ Reply to Thread
Results 1 to 18 of 18
  1. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    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.
    Quote Quote  
  2. Originally Posted by shnabz View Post
    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.
    post the full script, and encode log
    Quote Quote  
  3. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    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
    Quote Quote  
  4. 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.
    Quote Quote  
  5. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    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.
    Quote Quote  
  6. 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-encoding
    Last edited by poisondeathray; 9th Nov 2014 at 10:32.
    Quote Quote  
  7. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    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?
    Quote Quote  
  8. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    I just changed the AVCHD option to 'default' and it's working fine now. Thanks for your knowledge!
    Quote Quote  
  9. Originally Posted by shnabz View Post
    I just changed the AVCHD option to 'default' and it's working fine now. Thanks for your knowledge!
    But this won't work in your player as an authored disc, it's "illegal" . At SD resolution, it has to be 29.97
    Quote Quote  
  10. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by poisondeathray View Post
    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-encoding
    Exactly why "butcher" the video to get it into a format that is not necessary?

    Quote Quote  
  11. Originally Posted by newpball View Post
    Originally Posted by poisondeathray View Post
    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-encoding
    Exactly why "butcher" the video to get it into a format that is not necessary?



    Maybe he has an older BD player ?
    Quote Quote  
  12. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by newpball View Post
    Originally Posted by poisondeathray View Post
    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-encoding
    Exactly why "butcher" the video to get it into a format that is not necessary?

    Because I DO want to play this on optical disc in a BD player as an authored disc. I'm giving it to a friend, and I don't know if other methods will be compatible with his player. So I figured an authored disc would be the best option.
    Quote Quote  
  13. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    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.
    Quote Quote  
  14. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by shnabz View Post
    I'm giving it to a friend, and I don't know if other methods will be compatible with his player.
    So then just ask him?

    Originally Posted by shnabz View Post
    So I figured an authored disc would be the best option.
    You figured wrong!

    You say you want to give this to a single friend, so customize the solution for him in the best possible way, that's what friends are for! Right?

    Last edited by newpball; 9th Nov 2014 at 10:47.
    Quote Quote  
  15. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by newpball View Post
    Originally Posted by shnabz View Post
    I'm giving it to a friend, and I don't know if other methods will be compatible with his player.
    So then just ask him?
    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.
    Quote Quote  
  16. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by newpball View Post
    Originally Posted by shnabz View Post
    I'm giving it to a friend, and I don't know if other methods will be compatible with his player.
    So then just ask him?

    Originally Posted by shnabz View Post
    So I figured an authored disc would be the best option.
    You figured wrong!

    You say you want to give this to a single friend, so customize the solution for him in the best possible way, that's what friends are for! Right?

    Lol, I suppose I should have said, "I do not have the time/patience to learn this stuff!"
    Quote Quote  
  17. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    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

    Originally Posted by shnabz View Post
    Of course in my own I home I don't have this problem and play material from its original untouched source.
    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.
    Quote Quote  
  18. Member
    Join Date
    Nov 2014
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by newpball View Post
    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

    Originally Posted by shnabz View Post
    Of course in my own I home I don't have this problem and play material from its original untouched source.
    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.

    Who said anything about owning the DVD?
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!