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: 309
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 offline   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,711
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,076
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
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 07:11.


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