kiến thức Tổng hợp những addon chất cho Firefox / Chromium

Đoạn cuối này của mình giữ nguyên hay là xóa mất ? Ở hình trên nghĩa là video đang phát ở độ phân giải lớn nhất, còn nếu giữ đoạn này nó sẽ giới hạn ở FHD:

Code:
#########
# Profile #
#########
#Chi tiet: https://voz.vn/t/tong-hop-nhung-addon-chat-cho-firefox-pc-mobile.682181/post-24149834
#Luon de phan nay o cuoi file mpv.conf
[quality-youtube]
profile-cond=path:match"youtube" ~= nil or filename:match"youtube" ~= nil
profile-restore=copy
ytdl-format=bestvideo[container*=dash][proto*=http_dash_segments][height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]
e chỉ thay đổi đoạn này thôi
Code:
ytdl-format=bestvideo[container*=dash][proto*=http_dash_segments][height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]
 
e chỉ thay đổi đoạn này thôi
Code:
ytdl-format=bestvideo[container*=dash][proto*=http_dash_segments][height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]
Thế thì do MPV không nhận file mpv.conf rồi thỉ phải, bạn để file đó ở đâu ?

Bình thường nếu làm theo bài này:
Thì file mpv.config sẽ trong folder portable_config.

Mình vừa tạo profile mới cho MPV test thử file mpv.conf mà mình vừa chia sẻ, 100% hoạt động nhé:

1685435140545.png
 
Để vậy thì đúng mà, thử mở CMD từ folder mpv, rồi gõ mpv https://m.youtube.com/watch?v=Sw1QNlR9Dkw rồi copy cho mình mấy cái log từ cửa sổ CMD xem sao.

Profile mới của MPV, một phát được luôn:
1685435140545.png
1685435451768.png

1685435490688.png


Code:
Microsoft Windows [Version 10.0.19044.2965]
(c) Microsoft Corporation. All rights reserved.

D:\mpv>mpv https://m.youtube.com/watch?v=Sw1QNlR9Dkw
Can't load unknown script: D:/mpv/portable_config/scripts/Default.conf.iosinterface
[longtitlepatcher]
[longtitlepatcher] 0
[longtitlepatcher]
[longtitlepatcher] 0
[auto_profiles] Applying auto profile: quality-youtube
[longtitlepatcher] watch?v=Sw1QNlR9Dkw
[longtitlepatcher] 19
[longtitlepatcher] https://m.youtube.com/watch?v=Sw1QNlR9Dkw
[longtitlepatcher] 41
 (+) Video --vid=1 (*) (av1 3840x2160 24.000fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
     Subs  --sid=1 --slang=en 'English' (webvtt) (external)
     Subs  --sid=2 --slang=ja 'Japanese' (webvtt) (external)
     Subs  --sid=3 --slang=live_chat 'json' (null) (external)
     Subs  --sid=4 --slang=vi 'Vietnamese' (webvtt) (external)
File tags:
 Uploader: DreamS Entertainment
 Channel_URL: https://www.youtube.com/channel/UCePk6_QtQ7zbcR4HBuS357A
[longtitlepatcher] CHÀNG TRAI SƠ MI HỒNG - HOÀNG DUYÊN | Official MV 4K
[longtitlepatcher] 58
[longtitlepatcher] https://m.youtube.com/watch?v=Sw1QNlR9Dkw
[longtitlepatcher] 41
[ffmpeg/video] av1: Failed setup for format d3d11: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
(Paused) AV: 00:01:14 / 00:05:12 (24%) A-V:  0.000 Cache: 1.9s/1MB
[markwatched] [Cookies] Extracting cookies from firefox
[markwatched] [Cookies] Extracted 1139 cookies from firefox
[markwatched] Available version: [email protected], Current version: [email protected]
[markwatched] Current Build Hash: 5703eaa3e1156bcd142186a9f4a1f04126ec5d5e80896070a069a24a33235c74
[markwatched] yt-dlp is up to date ([email protected])
[markwatched] [youtube] Extracting URL: https://m.youtube.com/watch?v=Sw1QNlR9Dkw
[markwatched] [youtube] Sw1QNlR9Dkw: Downloading webpage
[markwatched] [youtube] Sw1QNlR9Dkw: Downloading android player API JSON
[markwatched] [youtube] Sw1QNlR9Dkw: Marking watched
[markwatched] [youtube] Sw1QNlR9Dkw: Marking fully watched
[markwatched] [info] Sw1QNlR9Dkw: Downloading subtitles: en
[markwatched] [info] Sw1QNlR9Dkw: Downloading 1 format(s): 313+251
[markwatched]
[markwatched] [debug] Command-line config: ['--cookies-from-browser', 'firefox:D:\\firefox\\PortableData\\AppData\\Mozilla\\Firefox\\Profiles\\7sj8yfyw.default', '--mark-watched', '-vU', '--simulate', 'https://m.youtube.com/watch?v=Sw1QNlR9Dkw']
[markwatched] [debug] Portable config "D:\mpv\yt-dlp.conf": ['-o', 'D:/mpv/Downloads/%(title)s.%(ext)s', '--format=bestvideo[fps<=30]+bestaudio/worst', '--no-check-certificates', '--write-sub', '--write-auto-sub', '--mark-watched']
[markwatched] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error cp1252 (No VT), screen cp1252 (No VT)
[markwatched] [debug] yt-dlp version [email protected] [6f10cdcf7] (win_exe)
[markwatched] [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[markwatched] [debug] exe versions: ffmpeg N-110925-g45fa85a77 (setts), phantomjs 2.1.1
[markwatched] [debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[markwatched] [debug] Extracting cookies from: "D:\firefox\PortableData\AppData\Mozilla\Firefox\Profiles\7sj8yfyw.default\cookies.sqlite"
[markwatched] [debug] Proxy map: {}
[markwatched] [debug] Loaded 1839 extractors
[markwatched] [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
[markwatched] [debug] [youtube] Extracted SAPISID cookie
[markwatched] [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[markwatched] [debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[markwatched]
(Paused) AV: 00:01:17 / 00:05:12 (25%) A-V:  0.000 Cache: 27s/35MB
[ffmpeg] tls: mbedtls_ssl_read returned -0x0
[ffmpeg] https: Will reconnect at 104004848 in 0 second(s), error=I/O error.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Packet corrupt (stream = 0, dts = 1291776).
[ffmpeg] NULL: Invalid OBU length: 134861, but only 55978 bytes remaining in fragment.
[ffmpeg] NULL: Failed to parse temporal unit.

Exiting... (Quit)
 
Code:
Microsoft Windows [Version 10.0.19044.2965]
(c) Microsoft Corporation. All rights reserved.

D:\mpv>mpv https://m.youtube.com/watch?v=Sw1QNlR9Dkw
Can't load unknown script: D:/mpv/portable_config/scripts/Default.conf.iosinterface
[longtitlepatcher]
[longtitlepatcher] 0
[longtitlepatcher]
[longtitlepatcher] 0
[auto_profiles] Applying auto profile: quality-youtube
[longtitlepatcher] watch?v=Sw1QNlR9Dkw
[longtitlepatcher] 19
[longtitlepatcher] https://m.youtube.com/watch?v=Sw1QNlR9Dkw
[longtitlepatcher] 41
 (+) Video --vid=1 (*) (av1 3840x2160 24.000fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
     Subs  --sid=1 --slang=en 'English' (webvtt) (external)
     Subs  --sid=2 --slang=ja 'Japanese' (webvtt) (external)
     Subs  --sid=3 --slang=live_chat 'json' (null) (external)
     Subs  --sid=4 --slang=vi 'Vietnamese' (webvtt) (external)
File tags:
 Uploader: DreamS Entertainment
 Channel_URL: https://www.youtube.com/channel/UCePk6_QtQ7zbcR4HBuS357A
[longtitlepatcher] CHÀNG TRAI SƠ MI HỒNG - HOÀNG DUYÊN | Official MV 4K
[longtitlepatcher] 58
[longtitlepatcher] https://m.youtube.com/watch?v=Sw1QNlR9Dkw
[longtitlepatcher] 41
[ffmpeg/video] av1: Failed setup for format d3d11: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
(Paused) AV: 00:01:14 / 00:05:12 (24%) A-V:  0.000 Cache: 1.9s/1MB
[markwatched] [Cookies] Extracting cookies from firefox
[markwatched] [Cookies] Extracted 1139 cookies from firefox
[markwatched] Available version: [email protected], Current version: [email protected]
[markwatched] Current Build Hash: 5703eaa3e1156bcd142186a9f4a1f04126ec5d5e80896070a069a24a33235c74
[markwatched] yt-dlp is up to date ([email protected])
[markwatched] [youtube] Extracting URL: https://m.youtube.com/watch?v=Sw1QNlR9Dkw
[markwatched] [youtube] Sw1QNlR9Dkw: Downloading webpage
[markwatched] [youtube] Sw1QNlR9Dkw: Downloading android player API JSON
[markwatched] [youtube] Sw1QNlR9Dkw: Marking watched
[markwatched] [youtube] Sw1QNlR9Dkw: Marking fully watched
[markwatched] [info] Sw1QNlR9Dkw: Downloading subtitles: en
[markwatched] [info] Sw1QNlR9Dkw: Downloading 1 format(s): 313+251
[markwatched]
[markwatched] [debug] Command-line config: ['--cookies-from-browser', 'firefox:D:\\firefox\\PortableData\\AppData\\Mozilla\\Firefox\\Profiles\\7sj8yfyw.default', '--mark-watched', '-vU', '--simulate', 'https://m.youtube.com/watch?v=Sw1QNlR9Dkw']
[markwatched] [debug] Portable config "D:\mpv\yt-dlp.conf": ['-o', 'D:/mpv/Downloads/%(title)s.%(ext)s', '--format=bestvideo[fps<=30]+bestaudio/worst', '--no-check-certificates', '--write-sub', '--write-auto-sub', '--mark-watched']
[markwatched] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error cp1252 (No VT), screen cp1252 (No VT)
[markwatched] [debug] yt-dlp version [email protected] [6f10cdcf7] (win_exe)
[markwatched] [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[markwatched] [debug] exe versions: ffmpeg N-110925-g45fa85a77 (setts), phantomjs 2.1.1
[markwatched] [debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[markwatched] [debug] Extracting cookies from: "D:\firefox\PortableData\AppData\Mozilla\Firefox\Profiles\7sj8yfyw.default\cookies.sqlite"
[markwatched] [debug] Proxy map: {}
[markwatched] [debug] Loaded 1839 extractors
[markwatched] [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
[markwatched] [debug] [youtube] Extracted SAPISID cookie
[markwatched] [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[markwatched] [debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[markwatched]
(Paused) AV: 00:01:17 / 00:05:12 (25%) A-V:  0.000 Cache: 27s/35MB
[ffmpeg] tls: mbedtls_ssl_read returned -0x0
[ffmpeg] https: Will reconnect at 104004848 in 0 second(s), error=I/O error.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Packet corrupt (stream = 0, dts = 1291776).
[ffmpeg] NULL: Invalid OBU length: 134861, but only 55978 bytes remaining in fragment.
[ffmpeg] NULL: Failed to parse temporal unit.

Exiting... (Quit)
Lạ nhỉ, của mình nhận luôn, hay AnyDesk mình kiểm tra trực tiếp cho nhanh ? https://anydesk.com/en/downloads/windows
 
để e xóa đi làm lại hết, nếu k được thì e inbox buổi tối nha bác
XGxqc0v.png
Ok, của mình làm profile mới tinh nó hiện ra như này, chú ý hai dòng bôi đậm, nếu thành công nó sẽ như này:

[longtitlepatcher]
[longtitlepatcher] 0
[longtitlepatcher]
[longtitlepatcher] 0
[auto_profiles] Applying auto profile: quality-youtube
[longtitlepatcher] watch?v=Sw1QNlR9Dkw
[longtitlepatcher] 19
[longtitlepatcher] 41
[osd/libass] fontselect: Using default font family: (mpv-osd-symbols, 400, 0) -> ArialMT, 0, ArialMT
(+) Video --vid=1 (*) (h264 1280x720 24.000fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
Subs --sid=1 --slang=en 'English' (webvtt) (external)
Subs --sid=2 --slang=ja 'Japanese' (webvtt) (external)
Subs --sid=3 --slang=live_chat 'json' (null) (external)
Subs --sid=4 --slang=vi 'Vietnamese' (webvtt) (external)
[longtitlepatcher] CHÀNG TRAI SƠ MI HỒNG - HOÀNG DUYÊN | Official MV 4K
[longtitlepatcher] 58
[longtitlepatcher] 41
Using hardware decoding (d3d11va).
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 d3d11[nv12]
(Paused) AV: 00:00:03 / 00:05:12 (1%) A-V: 0.000 Cache: 240s/35MB
 
Không cần đổi máy mới đâu, mình có con máy cũ rích chơi MPV 0.4% CPU vs trình duyệt 30% CPU / 1 video ầm ầm mà.

Phần debug này không có thông tin về độ phân giải nên mình chịu, ấn phím i sẽ ra phân giải.

Mà mở 4K sau khi tải về rồi mà trắng xóa thì chắc là do cái gì liên quan tới GPU chứ không phải do yt-dlp rồi, cho mình biết thông số máy phát:
  • CPU
  • GPU
  • Hệ điều hành

Copy toàn bộ file mpv.conf rồi paste vào [code][/code] mình xem qua.
em đang dùng con r5 3550h gpu của nó là radeon vega 8. win thì em mới cài lại nóng hổi w11 đúng 1 tuần chưa có gì nhiều hết ạ. em có chạy mpv link bài chàng trai sơ mi hồng thì nó báo đỏ này nhờ bác xem giúp em với ạ.
1685438943148.png


còn đây là phần mpv.config của em. lúc sáng lúc còn đang gg sửa file config phần video em có thêm mấy dòng thì xem đc vài video nên em ko dám đụng lại nữa luôn, ko biết có phải nhờ mấy dòng đó ko nhưng chắc là do nó mà mpv chạy nặng hẳng lên chứ ko nhẹ như hqua em ngó trong task dù xem fhd. nhờ bác xem thử ạ

Code:
###########

# General #

###########



# Custom config

#ontop                                   # video player always on top

osd-on-seek=no

osd-font-size=24

#osd-duration=100

keep-open=yes

force-window=immediate

no-focus-on-open

geometry=50%x50%



#########

# Video #

#########

hwdec=auto-safe

profile=gpu-hq

scale=ewa_lanczossharp

cscale=ewa_lanczossharp

video-sync=display-resample

interpolation

tscale=oversample



#########

# Audio #

#########



#audio-file-auto=fuzzy                   # play external audio files with same name as video files

#audio-pitch-correction=yes              # automatically insert scaletempo when playing with higher speed

volume-max=200                          # maximum volume in %, everything above 100 results in amplification

volume=100                              # default volume, 100 = unchanged

audio-spdif=ac3,eac3,dts-hd,truehd      # enable HD audio codecs like TrueHD and DTS-MA to passthrough to an AV receiver

af=scaletempo2                          # af=scaletempo2



#########

# Cache #

#########



cache-pause

cache=yes

#cache-default=80000                     # size in KB (80MB) -- Increase if you have buffering issues

#cache-backbuffer=80000                  # size in KB

#cache-initial=0                         # start playback when your cache is filled up with x kB

cache-secs=240                           # how many seconds of audio/video to prefetch if the cache is active

demuxer-thread=yes

#demuxer-max-bytes=50MiB

demuxer-max-back-bytes=10MiB

demuxer-readahead-secs=240



#########

# Network #

#########

network-timeout=1000

stream-lavf-o-append=reconnect_on_http_error=4xx,5xx

stream-lavf-o-append=reconnect_delay_max=30

stream-lavf-o-append=reconnect_streamed=yes

stream-lavf-o-append=reconnect_on_network_error=yes



#########

# YTDL #

#########

ytdl-raw-options-append=no-check-certificates=

#ytdl-raw-options-append=extractor-args=youtube:player_skip=webpage,configs,js;player_client=android,web;lang=vi,en

#ytdl-raw-options-append=extractor-args=youtube:player_client=android;lang=vi,en

ytdl-raw-options-append=sub-langs=en,en-US,eng,vi,vi-VN,vie,ja,ja-JP,jap,live_chat

ytdl-raw-options-append=write-sub=

ytdl-raw-options-append=write-auto-sub=

ytdl-raw-options-append=mark-watched=

ytdl-raw-options-append=add-metadata=







###################################

# Protocol Specific Configuration #

###################################



stream-lavf-o-append=reconnect_on_http_error=4xx,5xx

stream-lavf-o-append=reconnect_delay_max=30

stream-lavf-o-append=reconnect_streamed=yes

stream-lavf-o-append=reconnect_on_network_error=yes



#uosc

# required so that the 2 UIs don't fight each other

osc=no

# uosc provides its own seeking/volume indicators, so you also don't need this

osd-bar=no

# uosc will draw its own window controls if you disable window border

border=no



#https://voz.vn/t/tong-hop-nhung-addon-chat-cho-firefox-pc-mobile.682181/post-24149834

[quality-youtube]

profile-cond=path:match"youtube" ~= nil or filename:match"youtube" ~= nil

profile-restore=copy

#ytdl-format=bestvideo[container*=dash][proto*=http_dash_segments][height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]

ytdl-format=bestvideo[height<=?720][vcodec!=vp9]+bestaudio/best[height<=720]
 
thím chỉ em cụ thể mở MPV với web này với ạ, em dùng M3U8 Video Detector and Downloader lấy được link video với m3u8 mà mở MPV ko lên :sad:

https://vuigher.com/kimetsu-no-yaiba/tap-1-tan-ac
Mở thì mở được nhưng khả năng là do chưa cài longtitlepatcher vì cái URL dài quá nó gây treo MPV:
Đây là M3U8, M3U8 nghĩa là định dạng stream (nên mở bằng Livestreamer xem sẽ nhanh và ổn định hơn: Cách dùng MPV+Streamlink để xem livestream như Twitch, Youtube, Facebook...):
1685440962448.png


Đây là MP4:
1685440359057.png
 
Last edited:
em đang dùng con r5 3550h gpu của nó là radeon vega 8. win thì em mới cài lại nóng hổi w11 đúng 1 tuần chưa có gì nhiều hết ạ. em có chạy mpv link bài chàng trai sơ mi hồng thì nó báo đỏ này nhờ bác xem giúp em với ạ.


còn đây là phần mpv.config của em. lúc sáng lúc còn đang gg sửa file config phần video em có thêm mấy dòng thì xem đc vài video nên em ko dám đụng lại nữa luôn, ko biết có phải nhờ mấy dòng đó ko nhưng chắc là do nó mà mpv chạy nặng hẳng lên chứ ko nhẹ như hqua em ngó trong task dù xem fhd. nhờ bác xem thử ạ
Mình sửa lại với dọn lại cho đẹp rồi, thử lại xem:

Code:
###########
# General #
###########
# Custom config
#ontop                                   # video player always on top
osd-on-seek=no
osd-font-size=24
#osd-duration=100
keep-open=yes
force-window=immediate
no-focus-on-open
geometry=50%x50%

#########
# Video #
#########
hwdec=auto-safe
#profile=gpu-hq
#scale=ewa_lanczossharp
#cscale=ewa_lanczossharp
#video-sync=display-resample
#interpolation
#tscale=oversample

#########
# Audio #
#########
#audio-file-auto=fuzzy                   # play external audio files with same name as video files
#audio-pitch-correction=yes              # automatically insert scaletempo when playing with higher speed
volume-max=200                          # maximum volume in %, everything above 100 results in amplification
volume=100                              # default volume, 100 = unchanged
#audio-spdif=ac3,eac3,dts-hd,truehd      # enable HD audio codecs like TrueHD and DTS-MA to passthrough to an AV receiver
#af=scaletempo2                          # af=scaletempo2

#########
# Cache #
#########
cache-pause
cache=yes
#cache-default=80000                     # size in KB (80MB) -- Increase if you have buffering issues
#cache-backbuffer=80000                  # size in KB
#cache-initial=0                         # start playback when your cache is filled up with x kB
cache-secs=240                           # how many seconds of audio/video to prefetch if the cache is active
demuxer-thread=yes
#demuxer-max-bytes=50MiB
demuxer-max-back-bytes=10MiB
demuxer-readahead-secs=240

#########
# Network #
#########
network-timeout=1000
stream-lavf-o-append=reconnect_on_http_error=4xx,5xx
stream-lavf-o-append=reconnect_delay_max=30
stream-lavf-o-append=reconnect_streamed=yes
stream-lavf-o-append=reconnect_on_network_error=yes

#########
# YTDL #
#########
ytdl-raw-options-append=no-check-certificates=
#ytdl-raw-options-append=extractor-args=youtube:player_skip=webpage,configs,js;player_client=android,web;lang=vi,en
#ytdl-raw-options-append=extractor-args=youtube:player_client=android;lang=vi,en
ytdl-raw-options-append=sub-langs=en,en-US,eng,vi,vi-VN,vie,ja,ja-JP,jap,live_chat
ytdl-raw-options-append=write-sub=
ytdl-raw-options-append=write-auto-sub=
ytdl-raw-options-append=mark-watched=
ytdl-raw-options-append=add-metadata=

###################################
# Protocol Specific Configuration #
###################################
stream-lavf-o-append=reconnect_on_http_error=4xx,5xx
stream-lavf-o-append=reconnect_delay_max=30
stream-lavf-o-append=reconnect_streamed=yes
stream-lavf-o-append=reconnect_on_network_error=yes
#uosc
# required so that the 2 UIs don't fight each other
osc=no
# uosc provides its own seeking/volume indicators, so you also don't need this
osd-bar=no
# uosc will draw its own window controls if you disable window border
border=no

#https://voz.vn/t/tong-hop-nhung-addon-chat-cho-firefox-pc-mobile.682181/post-24149834
[quality-youtube]
profile-cond=path:match"youtube" ~= nil or filename:match"youtube" ~= nil
profile-restore=copy
#ytdl-format=bestvideo[container*=dash][proto*=http_dash_segments][height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]
ytdl-format=bestvideo[height<=?720][vcodec!=vp9]+bestaudio/best[height<=720]


#EOF
 
em đang dùng con r5 3550h gpu của nó là radeon vega 8. win thì em mới cài lại nóng hổi w11 đúng 1 tuần chưa có gì nhiều hết ạ. em có chạy mpv link bài chàng trai sơ mi hồng thì nó báo đỏ này nhờ bác xem giúp em với ạ.
View attachment 1865726

còn đây là phần mpv.config của em. lúc sáng lúc còn đang gg sửa file config phần video em có thêm mấy dòng thì xem đc vài video nên em ko dám đụng lại nữa luôn, ko biết có phải nhờ mấy dòng đó ko nhưng chắc là do nó mà mpv chạy nặng hẳng lên chứ ko nhẹ như hqua em ngó trong task dù xem fhd. nhờ bác xem thử ạ

Code:
###########

# General #

###########



# Custom config

#ontop                                   # video player always on top

osd-on-seek=no

osd-font-size=24

#osd-duration=100

keep-open=yes

force-window=immediate

no-focus-on-open

geometry=50%x50%



#########

# Video #

#########

hwdec=auto-safe

profile=gpu-hq

scale=ewa_lanczossharp

cscale=ewa_lanczossharp

video-sync=display-resample

interpolation

tscale=oversample



#########

# Audio #

#########



#audio-file-auto=fuzzy                   # play external audio files with same name as video files

#audio-pitch-correction=yes              # automatically insert scaletempo when playing with higher speed

volume-max=200                          # maximum volume in %, everything above 100 results in amplification

volume=100                              # default volume, 100 = unchanged

audio-spdif=ac3,eac3,dts-hd,truehd      # enable HD audio codecs like TrueHD and DTS-MA to passthrough to an AV receiver

af=scaletempo2                          # af=scaletempo2



#########

# Cache #

#########



cache-pause

cache=yes

#cache-default=80000                     # size in KB (80MB) -- Increase if you have buffering issues

#cache-backbuffer=80000                  # size in KB

#cache-initial=0                         # start playback when your cache is filled up with x kB

cache-secs=240                           # how many seconds of audio/video to prefetch if the cache is active

demuxer-thread=yes

#demuxer-max-bytes=50MiB

demuxer-max-back-bytes=10MiB

demuxer-readahead-secs=240



#########

# Network #

#########

network-timeout=1000

stream-lavf-o-append=reconnect_on_http_error=4xx,5xx

stream-lavf-o-append=reconnect_delay_max=30

stream-lavf-o-append=reconnect_streamed=yes

stream-lavf-o-append=reconnect_on_network_error=yes



#########

# YTDL #

#########

ytdl-raw-options-append=no-check-certificates=

#ytdl-raw-options-append=extractor-args=youtube:player_skip=webpage,configs,js;player_client=android,web;lang=vi,en

#ytdl-raw-options-append=extractor-args=youtube:player_client=android;lang=vi,en

ytdl-raw-options-append=sub-langs=en,en-US,eng,vi,vi-VN,vie,ja,ja-JP,jap,live_chat

ytdl-raw-options-append=write-sub=

ytdl-raw-options-append=write-auto-sub=

ytdl-raw-options-append=mark-watched=

ytdl-raw-options-append=add-metadata=







###################################

# Protocol Specific Configuration #

###################################



stream-lavf-o-append=reconnect_on_http_error=4xx,5xx

stream-lavf-o-append=reconnect_delay_max=30

stream-lavf-o-append=reconnect_streamed=yes

stream-lavf-o-append=reconnect_on_network_error=yes



#uosc

# required so that the 2 UIs don't fight each other

osc=no

# uosc provides its own seeking/volume indicators, so you also don't need this

osd-bar=no

# uosc will draw its own window controls if you disable window border

border=no



#https://voz.vn/t/tong-hop-nhung-addon-chat-cho-firefox-pc-mobile.682181/post-24149834

[quality-youtube]

profile-cond=path:match"youtube" ~= nil or filename:match"youtube" ~= nil

profile-restore=copy

#ytdl-format=bestvideo[container*=dash][proto*=http_dash_segments][height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]

ytdl-format=bestvideo[height<=?720][vcodec!=vp9]+bestaudio/best[height<=720]
Thử thêm gpu-api= vulkan xem sao

via theNEXTvoz for iPhone
 
thím chỉ em cụ thể mở MPV với web này với ạ, em dùng M3U8 Video Detector and Downloader lấy được link video với m3u8 mà mở MPV ko lên

https://vuigher.com/kimetsu-no-yaiba/tap-1-tan-ac

Chỉ cụ thể chi tiết đây nha.

Sửa lại nút MPV chút là xem được trang này, trang này nó đòi hỏi Referer mới phát video ấy mà #1 mình hướng dẫn lại không có khoản này:
  • Name: MPV
  • Executable: Đường dẫn tới file mpv.exe, ví dụ của mình là D:\mpv\mpv.exe
  • Arguments: --ytdl --http-header-fields="Referer: [PRE_SCRIPT]" "[HREF]"
  • Pre java script: document.currentScript.output=location.href;
  • Ignore Errors: Do not alert application errors
  • Quotation: Surround arguments with quote characters
  • Chọn: Toolbar buttonLink context
  • Save.
1685442565087.png



Thế là xem ngon, ngọt nhé: https://streamable.com/j7p2mk

Đã cập nhập lên #1 nhé
 
Last edited:
Chỉ cụ thể chi tiết đây nha.

Sửa lại nút MPV chút là xem được trang này, trang này nó đòi hỏi Referer mới phát video ấy mà #1 mình hướng dẫn lại không có khoản này:
  • Name: MPV
  • Executable: Đường dẫn tới file mpv.exe, ví dụ của mình là D:\mpv\mpv.exe
  • Arguments: --ytdl --http-header-fields="Referer: [PRE_SCRIPT]" "[HREF]"
  • Pre java script: document.currentScript.output=location.href;
  • Quotation: Surround arguments with quote characters
  • Chọn: Toolbar buttonLink context
  • Save.
View attachment 1865870


Thế là xem ngon, ngọt nhé: https://streamable.com/j7p2mk

Đã cập nhập lên #1 nhé
cám ơn thím nhiều, vụ server DU của trang này có cách nào ko ạ? :byebye:

https://animevietsub.im/phim/thanh-guom-diet-quy-lang-tho-ren-i4-a4466/tap-01-89774.html
 
Mình sửa lại với dọn lại cho đẹp rồi, thử lại xem:

Code:
###########
# General #
###########
# Custom config
#ontop                                   # video player always on top
osd-on-seek=no
osd-font-size=24
#osd-duration=100
keep-open=yes
force-window=immediate
no-focus-on-open
geometry=50%x50%

#########
# Video #
#########
hwdec=auto-safe
#profile=gpu-hq
#scale=ewa_lanczossharp
#cscale=ewa_lanczossharp
#video-sync=display-resample
#interpolation
#tscale=oversample

#########
# Audio #
#########
#audio-file-auto=fuzzy                   # play external audio files with same name as video files
#audio-pitch-correction=yes              # automatically insert scaletempo when playing with higher speed
volume-max=200                          # maximum volume in %, everything above 100 results in amplification
volume=100                              # default volume, 100 = unchanged
#audio-spdif=ac3,eac3,dts-hd,truehd      # enable HD audio codecs like TrueHD and DTS-MA to passthrough to an AV receiver
#af=scaletempo2                          # af=scaletempo2

#########
# Cache #
#########
cache-pause
cache=yes
#cache-default=80000                     # size in KB (80MB) -- Increase if you have buffering issues
#cache-backbuffer=80000                  # size in KB
#cache-initial=0                         # start playback when your cache is filled up with x kB
cache-secs=240                           # how many seconds of audio/video to prefetch if the cache is active
demuxer-thread=yes
#demuxer-max-bytes=50MiB
demuxer-max-back-bytes=10MiB
demuxer-readahead-secs=240

#########
# Network #
#########
network-timeout=1000
stream-lavf-o-append=reconnect_on_http_error=4xx,5xx
stream-lavf-o-append=reconnect_delay_max=30
stream-lavf-o-append=reconnect_streamed=yes
stream-lavf-o-append=reconnect_on_network_error=yes

#########
# YTDL #
#########
ytdl-raw-options-append=no-check-certificates=
#ytdl-raw-options-append=extractor-args=youtube:player_skip=webpage,configs,js;player_client=android,web;lang=vi,en
#ytdl-raw-options-append=extractor-args=youtube:player_client=android;lang=vi,en
ytdl-raw-options-append=sub-langs=en,en-US,eng,vi,vi-VN,vie,ja,ja-JP,jap,live_chat
ytdl-raw-options-append=write-sub=
ytdl-raw-options-append=write-auto-sub=
ytdl-raw-options-append=mark-watched=
ytdl-raw-options-append=add-metadata=

###################################
# Protocol Specific Configuration #
###################################
stream-lavf-o-append=reconnect_on_http_error=4xx,5xx
stream-lavf-o-append=reconnect_delay_max=30
stream-lavf-o-append=reconnect_streamed=yes
stream-lavf-o-append=reconnect_on_network_error=yes
#uosc
# required so that the 2 UIs don't fight each other
osc=no
# uosc provides its own seeking/volume indicators, so you also don't need this
osd-bar=no
# uosc will draw its own window controls if you disable window border
border=no

#https://voz.vn/t/tong-hop-nhung-addon-chat-cho-firefox-pc-mobile.682181/post-24149834
[quality-youtube]
profile-cond=path:match"youtube" ~= nil or filename:match"youtube" ~= nil
profile-restore=copy
#ytdl-format=bestvideo[container*=dash][proto*=http_dash_segments][height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]
ytdl-format=bestvideo[height<=?720][vcodec!=vp9]+bestaudio/best[height<=720]


#EOF
cũng vẫn bị cái có cái ko á bác ơi:pudency:
1685443952890.png

gpu-api= vulkan
em thêm thì nó vẫn bị bác ơi
1685442675978.png
 
Back
Top