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,359
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,008
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: 302
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,359
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: 723
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
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 20:45.


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