Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th June 2024, 11:48   #25261  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,368
Quote:
Originally Posted by Blight View Post
Nev:
Any chance of adding an interface so I can assign a user-agent and referrer strings or possibly just a formatting option in the URL specified?

For example "https://www.somesite.org/stream|user-agent|referrer" ?
I've added a new interface for the next version of LAV to explicitly specify the user agent and referer when opening an URL.

I didn't particularly like parsing it out of a string, so dedicated function it is.

https://github.com/Nevcairiel/LAVFil...rceFilterLAV.h

It should be exposed on the LAVSplitterSource filter, just like IFileSourceFilter
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 7th June 2024, 12:51   #25262  |  Link
Blight
Software Developer
 
Blight's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 1,010
Quote:
Originally Posted by nevcairiel View Post
I've added a new interface for the next version of LAV to explicitly specify the user agent and referer when opening an URL.

I didn't particularly like parsing it out of a string, so dedicated function it is.

https://github.com/Nevcairiel/LAVFil...rceFilterLAV.h

It should be exposed on the LAVSplitterSource filter, just like IFileSourceFilter
Very cool, I'll try it out once the new version comes out.

Just a quick question, when is the best time to set the referrer/user-agent values, before assigning the URL? before running the graph?
__________________
Yaron Gur
Zoom Player . Lead Developer

Last edited by Blight; 7th June 2024 at 16:49.
Blight is offline   Reply With Quote
Old 7th June 2024, 17:25   #25263  |  Link
Prinz
Registered User
 
Join Date: Jul 2011
Posts: 84
Quote:
Originally Posted by Blight View Post
Very cool, I'll try it out once the new version comes out.
According to build log on https://files.1f0.de/lavf/nightly/ , this change is already included in the lasted nightly build: LAVFilters-0.79.2-9.exe

So you should be able to test it out already.
Prinz is offline   Reply With Quote
Old 7th June 2024, 18:20   #25264  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 311
Quote:
Originally Posted by Blight View Post
Just a quick question, when is the best time to set the referrer/user-agent values
???
lvqcl is online now   Reply With Quote
Old 7th June 2024, 21:48   #25265  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,368
Quote:
Originally Posted by Blight View Post
Just a quick question, when is the best time to set the referrer/user-agent values, before assigning the URL? before running the graph?
The interface has you pass it in together with the URL you open, so that question doesn't even apply.
The function _replaces_ the Load function from IFileSourceFilter, so you just call this one if you want to specify this detail.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th June 2024 at 10:57.
nevcairiel is offline   Reply With Quote
Old 8th June 2024, 19:07   #25266  |  Link
Siso
Soul Seeker
 
Siso's Avatar
 
Join Date: Sep 2013
Posts: 744
There is a problem with subtitle workshop latest versions with lav filters LAVFilters-0.79.2-5, LAVFilters-0.79.2-6 and LAVFilters-0.79.2-9. I'm attaching a shot of the error. Version LAVFilters-0.79.2-3 works fine without the error. The error happens when I open mkv files with external srt subtitles.

Last edited by Siso; 8th June 2024 at 19:37.
Siso is offline   Reply With Quote
Old 17th June 2024, 21:16   #25267  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,368
Quote:
Originally Posted by Siso View Post
There is a problem with subtitle workshop latest versions with lav filters LAVFilters-0.79.2-5, LAVFilters-0.79.2-6 and LAVFilters-0.79.2-9. I'm attaching a shot of the error. Version LAVFilters-0.79.2-3 works fine without the error. The error happens when I open mkv files with external srt subtitles.

This should hopefully be resolved in the next build.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 18th June 2024, 12:31   #25268  |  Link
Siso
Soul Seeker
 
Siso's Avatar
 
Join Date: Sep 2013
Posts: 744
Quote:
Originally Posted by nevcairiel View Post
This should hopefully be resolved in the next build.
Thank you. It is working properly.

Last edited by Siso; 18th June 2024 at 12:33.
Siso is offline   Reply With Quote
Old 6th September 2024, 11:05   #25269  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,821
Do LAV Filters support HEVC version 3 profiles?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 6th September 2024, 11:16   #25270  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,155
Watch ffplay trying to play it:

Code:
[hevc @ 000001f898a18ac0] Error parsing NAL unit #0.
[hevc @ 000001f898adea80] Could not find ref with POC 165
[hevc @ 000001f898adea80] Could not find ref with POC 160
[hevc @ 000001f898adea80] SCC profile is not yet implemented in hevc native decoder.
[hevc @ 000001f898adea80] Error parsing NAL unit #0.
[hevc @ 000001f898ba4bc0] alignment_bit_equal_to_one=0
[hevc @ 000001f898ba4bc0] Skipping invalid undecodable NALU: 0
The libavcodec HEVC decoder does not yet implement it. So LAV Filters, using this decoder, could not either.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 16th September 2024, 14:20   #25271  |  Link
Blight
Software Developer
 
Blight's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 1,010
I am writing a client for Emby/JellyFin and as a security measure, these media servers require an authentication token passed in the header field when opening the stream, for example:
X-Emby-Token=e70c7c19bf134fb2cb9032867715de81

Is there a way to specify custom headers when opening a stream? If not, can you please add one?
__________________
Yaron Gur
Zoom Player . Lead Developer

Last edited by Blight; 17th September 2024 at 02:15.
Blight is offline   Reply With Quote
Old 22nd September 2024, 16:47   #25272  |  Link
Blight
Software Developer
 
Blight's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 1,010
I've encountered another issue with LAV Source/Splitter with regards to network streaming from a remote Emby server.

When seeking or changing a subtitle track, there's a large pause, anywhere from 1-25 seconds (I confirmed this issue exists in GraphStudio/GraphEdit).
However, if I use libVLC to seek or switch subtitle track, it's nearly instant.

Is there an opportunity to improve this behavior?
__________________
Yaron Gur
Zoom Player . Lead Developer
Blight is offline   Reply With Quote
Old 5th November 2024, 18:48   #25273  |  Link
DMU
Registered User
 
Join Date: Dec 2018
Posts: 210
Hello everyone.
Need your advice.
After many years of problem-free viewing of 4K UHD (hevc), after reinstalling the OS (Windows 10 IoT Enterprise LTSC), something appeared that I cannot fix and understand. A few (3-10) minutes after playing a video, image freezes and sound stutters. The decoder load reaches 100% (Screenshot). If I press Pause, wait until the load drops to 0%, and then press Play again, the video first plays faster, and then starts playing normally again. On the same screenshot, the decoder load is shown at the bottom right. After a few minutes, everything repeats.

Tried different types of decoders (D3D11 / DXVA2 / native / copyback) - did not help.
Video playback is local, not over the network.
MPC-HC latest from github.
Attached Images
 
__________________
R3 3200G / Vega8 / Samsung UE40NU7100
Win11Pro 21H2 / 4K RGB 59Hz / AMD last driver
MPC-HC 1.9.17 / madVR 0.92.17 / FSW / SM / 8bit
DMU is offline   Reply With Quote
Old 5th November 2024, 18:57   #25274  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,155
Can you monitor CPU or GPU temperatures?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 5th November 2024, 19:18   #25275  |  Link
DMU
Registered User
 
Join Date: Dec 2018
Posts: 210
It is definitely not a matter of overheating. The PC is currently installed in a cool room. The processor (APU) temperature does not rise above 40 degrees.
__________________
R3 3200G / Vega8 / Samsung UE40NU7100
Win11Pro 21H2 / 4K RGB 59Hz / AMD last driver
MPC-HC 1.9.17 / madVR 0.92.17 / FSW / SM / 8bit
DMU is offline   Reply With Quote
Old 5th November 2024, 19:33   #25276  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 582
There is a decoder setting you haven't tried yet.. "None".. to have the CPU do the decoding. The purpose of testing with this setting would be to rule out the video card's involvement with the decoding process and see if the freezes happen again.

If it does, then at least you know it's not the decoder. So in that scenario it might be the video drivers.. so then cleanly remove them with DDU and install older drivers, perhaps the ones that MS already approved in the driver catalog.
Sunspark is offline   Reply With Quote
Old 5th November 2024, 20:29   #25277  |  Link
DMU
Registered User
 
Join Date: Dec 2018
Posts: 210
Checked. 4-core APU is loaded by about 80%. Software decoding/playback is smooth. No glitches or drops.
__________________
R3 3200G / Vega8 / Samsung UE40NU7100
Win11Pro 21H2 / 4K RGB 59Hz / AMD last driver
MPC-HC 1.9.17 / madVR 0.92.17 / FSW / SM / 8bit
DMU is offline   Reply With Quote
Old 5th November 2024, 20:58   #25278  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 582
There are other decoders you can try, you can make them work with HC too.

You can install MPC-BE's decoder from the standalone filters and configure HC to use it, or probably easier for you, to just install BE as a separate player and select madvr as the renderer from the dropdown. See if the stuttering still happens.
Sunspark is offline   Reply With Quote
Old 6th November 2024, 04:56   #25279  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,133
Quote:
Originally Posted by DMU2009504
After many years of problem-free viewing of 4K UHD (hevc), after reinstalling the OS (Windows 10 IoT Enterprise LTSC), something appeared that I cannot fix and understand. A few (3-10) minutes after playing a video, image freezes and sound stutters. The decoder load reaches 100% (Screenshot).
R3 3200G / Vega8
In my experience, Vega 8 graphics are not enough to reliably play 4k HDR 10-bit. 30 fps videos are still watchable, but problems arise at 60 fps. Also, remember that the load increases for high-bitrate videos.
If you did not have the problem before, then the new driver could have had an effect.
It is also worth monitoring the frequencies of the CPU, GPU and memory.
v0lt is online now   Reply With Quote
Old 27th November 2024, 09:34   #25280  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,178
Quote:
Originally Posted by DMU View Post
Hello everyone.
Need your advice.
After many years of problem-free viewing of 4K UHD (hevc), after reinstalling the OS (Windows 10 IoT Enterprise LTSC), something appeared that I cannot fix and understand. A few (3-10) minutes after playing a video, image freezes and sound stutters. The decoder load reaches 100% (Screenshot). If I press Pause, wait until the load drops to 0%, and then press Play again, the video first plays faster, and then starts playing normally again. On the same screenshot, the decoder load is shown at the bottom right. After a few minutes, everything repeats.

Tried different types of decoders (D3D11 / DXVA2 / native / copyback) - did not help.
Video playback is local, not over the network.
MPC-HC latest from github.
hardware decoder usually really don't care about bit rate. try a different power state.

AMD hardware decoder are utterly trash they can barely do 60 in the best of cases for what ever reason. they just do the bare minimum and hope it is enough and it looks like not this time. stick to native decode you have no bandwidth anyway.
huhn is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.