RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
687 stars 42 forks source link

Taking too long to convert a video #1294

Open Rebeca-Green opened 1 month ago

Rebeca-Green commented 1 month ago

Problem Description

Converting a 2K video into 1080p resolution, the vidcoder took around 2hr and 45 minutes to complete the task, while hardware encoding was on. Can you please help me with this issue?

What version of VidCoder are you running?

10.14

Encode Log

VC [16:27:24] VidCoder 10.14
VC [16:27:24] Starting job 1/1
VC [16:27:24]   Source path: C:\Users\Debarati Datta\Videos\WonderFox Soft\HD Video Converter Factory Pro\OutputVideo\How To Get and Stay Motivated (With Stoicism)_5.mp4
VC [16:27:24]   Destination path: C:\Users\Debarati Datta\Videos\How To Get and Stay Motivated (With Stoicism) 5-1.mp4
VC [16:27:24]   Title: 1
VC [16:27:24]   Range: All
VC [16:27:24]   Preset: Very Fast 1080p30
VC [16:27:24]   Picker: 
VC [16:27:25] Worker ready: Pipe 'VidCoderWorker.456515de-275f-418e-a92e-bd4180a51eb6' is open
VC [16:27:25] Connecting to process 70076 on pipe VidCoderWorker.456515de-275f-418e-a92e-bd4180a51eb6
HB ro\OutputVideo\How To Get and Stay Motivated (With Stoicism)_5.mp4, title_index=1
[16:27:26] scan: decoding previews for title 1
HB [16:27:27] scan: audio 0x1: aac, rate=48000Hz, bitrate=130939 English (AAC LC, 2.0 ch, 130 kbps)
HB [16:27:28] using container PAR 1:1
[16:27:28] scan: 10 previews, 2560x1440, 23.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[16:27:28] libhb: scan thread found 1 valid title(s)
HB [16:27:29] Starting work at: Mon Aug 12 16:27:29 2024
[16:27:29] 1 job(s) to process
[16:27:29] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:eac3",
      "copy:truehd",
      "copy:dts",
      "copy:dtshd",
      "copy:mp2",
      "copy:mp3",
      "copy:flac",
      "copy:opus"
    ]
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\Debarati Datta\\Videos\\How To Get and Stay Motivated (With Stoicism) 5-1.part.mp4",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 6,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 4,
        "Settings": {
          "block-height": "16",
          "block-thresh": "80",
          "block-width": "16",
          "filter-mode": "1",
          "mode": "0",
          "motion-thresh": "2",
          "spatial-metric": "2",
          "spatial-thresh": "3"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      },
      {
        "ID": 20,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {
    "Artist": "Daily Stoic",
    "Comment": "https://www.youtube.com/watch?v=q5Xh7k-Bn-o",
    "Description": "\uD83E\uDDE0 https://betterhelp.com/dailystoic check out today\u0027s sponsor BetterHelp to get 10% off your first month of therapy.\n\n00:00-02:34 - Intro\n02:34-04:48 - PT 1: How To Get Motivated\n04:48-09:10 - PT 2: How to Stay Motivated\n09:10-13:24 - PT 3: 5 Habits To Fuel Your Motivation\n13:24-15:19 - PT 4: What To Read For Motivation\n\n\uD83D\uDCD7 Get Robert Greene\u0027s \u0022Mastery\u0022 at The Painted Porch Bookshop - https://www.thepaintedporch.com/products/s
elfhelp15?_pos=6\u0026_sid=8a0aafa38\u0026_ss=r\n\nThe struggle to find and hold on to motivation isn\u2019t new.\n\nIt\u2019s comforting to think that even that long ago the emperor of Rome was giving himself a pep talk in order to summon up the willpower to throw the blankets off each morning and get out of bed. What makes it more impressive is that Marcus Aurelius didn\u2019t have to do anything. That would have been one of the perks of being Emperor. He could have gotten other people to do
everything for him. And he must have been tempted routinely to do so. Because we know that his physical health fluctuated. We know he had insomniatic tendencies. And we know he didn\u2019t want to be Emperor. He wanted to be a philosopher. \n\nMarcus motivated himself to not only do a job he didn\u2019t particularly want to do, but to do it better than anyone had before or since.\n\nHow? What can we learn from Marcus and the Stoics he studied to help stoke our own motivation?\n\nThis video aims
 to answer those questions. It is rooted in ancient philosophy and designed to be applied in the modern world.\n\n\u2709\uFE0F Want Stoic wisdom delivered to your inbox daily? Sign up for the FREE Daily Stoic email at https://dailystoic.com/dailyemail\n\n\uD83C\uDFDB Get Stoic inspired books, medallions, and prints to remember these lessons at the Daily Stoic Store: https://store.dailystoic.com/\n\n\uD83E\uDD1D Join the largest community of Stoics ever in history and get exclusive bonuses at ht
tps://dailystoiclife.com \n\nInstagram: \u200Bhttps://www.instagram.com/dailystoic\nTwitter: https://www.twitter.com/dailystoic\nFacebook: https://www.facebook.com/dailystoic\nTikTok: https://www.tiktok.com/@daily_stoic\n\n#Stoicism\u200B #DailyStoic\u200B #RyanHoliday\u200B",
    "LongDescription": "\uD83E\uDDE0 https://betterhelp.com/dailystoic check out today\u0027s sponsor BetterHelp to get 10% off your first month of therapy.\n\n00:00-02:34 - Intro\n02:34-04:48 - PT 1: How To Get Motivated\n04:48-09:10 - PT 2: How to Stay Motivated\n09:10-13:24 - PT 3: 5 Habits To Fuel Your Motivation\n13:24-15:19 - PT 4: What To Read For Motivation\n\n\uD83D\uDCD7 Get Robert Greene\u0027s \u0022Mastery\u0022 at The Painted Porch Bookshop - https://www.thepaintedporch.com/produc
ts/selfhelp15?_pos=6\u0026_sid=8a0aafa38\u0026_ss=r\n\nThe struggle to find and hold on to motivation isn\u2019t new.\n\nIt\u2019s comforting to think that even that long ago the emperor of Rome was giving himself a pep talk in order to summon up the willpower to throw the blankets off each morning and get out of bed. What makes it more impressive is that Marcus Aurelius didn\u2019t have to do anything. That would have been one of the perks of being Emperor. He could have gotten other people to
 do everything for him. And he must have been tempted routinely to do so. Because we know that his physical health fluctuated. We know he had insomniatic tendencies. And we know he didn\u2019t want to be Emperor. He wanted to be a philosopher. \n\nMarcus motivated himself to not only do a job he didn\u2019t particularly want to do, but to do it better than anyone had before or since.\n\nHow? What can we learn from Marcus and the Stoics he studied to help stoke our own motivation?\n\nThis video
aims to answer those questions. It is rooted in ancient philosophy and designed to be applied in the modern world.\n\n\u2709\uFE0F Want Stoic wisdom delivered to your inbox daily? Sign up for the FREE Daily Stoic email at https://dailystoic.com/dailyemail\n\n\uD83C\uDFDB Get Stoic inspired books, medallions, and prints to remember these lessons at the Daily Stoic Store: https://store.dailystoic.com/\n\n\uD83E\uDD1D Join the largest community of Stoics ever in history and get exclusive bonuses a
t https://dailystoiclife.com \n\nInstagram: \u200Bhttps://www.instagram.com/dailystoic\nTwitter: https://www.twitter.com/dailystoic\nFacebook: https://www.facebook.com/dailystoic\nTikTok: https://www.tiktok.com/@daily_stoic\n\n#Stoicism\u200B #DailyStoic\u200B #RyanHoliday\u200B",
    "Name": "How To Get and Stay Motivated (With Stoicism)",
    "ReleaseDate": "20240315"
  },
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Debarati Datta\\Videos\\WonderFox Soft\\HD Video Converter Factory Pro\\OutputVideo\\How To Get and Stay Motivated (With Stoicism)_5.mp4",
    "HWDecode": 0
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "placebo",
    "Profile": "main",
    "Quality": 24,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[16:27:29] Starting Task: Encoding Pass
[16:27:29] work: track 1, dithering not supported by codec
[16:27:29] work: only 1 chapter, disabling chapter markers
[16:27:29] job configuration:
[16:27:29]  * source
[16:27:29]    + C:\Users\Debarati Datta\Videos\WonderFox Soft\HD Video Converter Factory Pro\OutputVideo\How To Get and Stay Motivated (With Stoicism)_5.mp4
[16:27:29]    + title 1, chapter(s) 1 to 1
[16:27:29]    + container: mov,mp4,m4a,3gp,3g2,mj2
HB [16:27:29]    + data rate: 6731 kbps
[16:27:29]  * destination
[16:27:29]    + C:\Users\Debarati Datta\Videos\How To Get and Stay Motivated (With Stoicism) 5-1.part.mp4
[16:27:29]    + container: MPEG-4 (libavformat)
[16:27:29]      + align initial A/V stream timestamps
[16:27:29]  * video track
[16:27:29]    + decoder: hevc 8-bit (yuv420p)
[16:27:29]      + bitrate 6595 kbps
[16:27:29]    + filters
[16:27:29]      + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[16:27:29]      + Decomb (mode=39)
[16:27:29]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:27:29]        + frame rate: 23.970 fps -> peak rate limited to 30.000 fps
[16:27:29]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[16:27:29]        + source: 2560 * 1440, crop (0/0/0/0): 2560 * 1440, scale: 1920 * 1080
[16:27:29]    + Output geometry
[16:27:29]      + storage dimensions: 1920 x 1080
[16:27:29]      + pixel aspect ratio: 1 : 1
[16:27:29]      + display dimensions: 1920 x 1080
[16:27:29]    + encoder: H.264 (libx264)
[16:27:29]      + preset:  placebo
[16:27:29]      + profile: main
[16:27:29]      + level:   4.0
[16:27:29]      + quality: 24.00 (RF)
[16:27:29]      + color profile: 1-1-1
[16:27:29]      + color range: tv
[16:27:29]      + chroma location: left
[16:27:29]  * audio track 1
[16:27:29]    + decoder: English (AAC LC, 2.0 ch, 130 kbps) (track 1, id 0x1)
[16:27:29]      + bitrate: 130 kbps, samplerate: 48000 Hz
[16:27:29]    + mixdown: Stereo
[16:27:29]    + encoder: AAC (libavcodec)
[16:27:29]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:27:29] sync: expecting 14382 video frames
[16:27:29] encx264: min-keyint: 24, keyint: 240
[16:27:29] encx264: encoding at constant RF 24.000000
[16:27:29] encx264: unparsed options: level=4.0:ref=4:bframes=16:b-adapt=2:direct=auto:analyse=all:8x8dct=0:me=tesa:merange=24:subme=11:trellis=2:fast-pskip=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=60
HB x264 [info]: x264 [info]: x264 [info]: [16:27:29] sync: first pts video is 0
[16:27:29] sync: "Chapter 1" (1) at frame 1 time 0
[16:27:29] sync: first pts audio 0x1 is 0
HB [16:39:36] work: average encoding speed for job is 1.136077 fps
HB [16:39:36] comb detect: heavy 3 | light 284 | uncombed 519 | total 806
[16:39:36] decomb: deinterlaced 3 | blended 284 | unfiltered 510 | total 797
[16:39:36] vfr: 788 frames output, 0 dropped and 0 duped for CFR/PFR
[16:39:36] vfr: lost time: 0 (0 frames)
[16:39:36] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:39:36] aac-decoder done: 1728 frames, 0 decoder errors
HB [16:39:36] hevc-decoder done: 874 frames, 0 decoder errors
[16:39:36] sync: got 835 frames, 14382 expected
HB [16:39:36] sync: framerate min 17.685 fps, max 23.970 fps, avg 23.960 fps
HB x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: x264 [info]: [16:39:42] mux: track 0, 683 frames, 8761382 bytes, 2012.08 kbps, fifo 1024
[16:39:42] mux: track 1, 1631 frames, 710077 bytes, 163.07 kbps, fifo 2048
[16:39:42] Finished work at: Mon Aug 12 16:39:42 2024
[16:39:42] libhb: work result = 1
VC [16:39:43] Encoding stopped
RandomEngy commented 1 month ago

For starters you've selected the x264 encoder, which is not a hardware encoder. Also sometimes a filter, resize or frame rate change can bottleneck the encode with a CPU-bound operation.