How can I download mp2t videos from jw player from the website. The video appears to be in bits/fragments?
For me worked:
In Firefox
Open F12-Tools Firefox
Tab Network
Refresh Page, start Video
Filter: Media
First File should be File like: FILE_NAME_XYZ.mp4 .m3u8
Copy address
In VLC
Media>Open Network Stream
Paste address
Choose: Convert
Convert as h264+MP3
Choose Location
Confirm
You could try this Firefox Add-on:
https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/
Searching for a way to download web videos in the mp2t format for quite some time, I came across a Firefox plugin (add-on), named "HLS Downloader" (from HTTP Live Streaming), that finally could detect mp2t stream on a page and download it after choosing stream quality (in my case). The downloaded file has a "ts" extension and Media Player Classic plays it without complaining.
Also, there are a few other HLS downloaders in the Firefox add-on list you can try, if you don't want or can't use HLS Downloader.
Use the firefox browser
Go to the web site containing video
Press ctrl + shift + E (You are directed to the network tab)
Select media filter and disable other filters
Press F5 for refresh web page
Click on the video in the web page
After load data right click on the one of the mp2t type
Click on the "Open in New Tab"
Now show a new window for save file in your computer
With the Download Helper plugin installed play the video, and when it detects video files to download click the arrow to the right of one of the segments it finds and click on the "info" option. Then just look for a really long string that ends with "mu38". Copy that string to the clipboard, open up VLC and use the "Convert/Save" from File, then use the "Network" tab. Paste the link that you copied into the textbox and click "Save". VLC will then stream the whole file down to your computer
Related
I have a microsoft Teams tab application. I would like to print an svg image from this tab (generated on the client)
Normally, this is done by opening a new window and constructing a document to print there (I want to print a generated svg picture)
But in teams client, this option is disabled as opening popups is prohibited by the client.
I have tried some workarounds to open popups mentioned here to no avail:
using microsoftTeams.tasks.startTask to open a popup and try printing from there (does not load because the file is not located on the server at all, it is generated on the client). Maybe this can be still done somehow?
microsoftTeams.authentication.authenticate to open a new window. Downloads the content instead of opening it.
We have methods to enable print for the entire tab. You can use the following- microsoftTeams.enablePrintCapability() and microsoftTeams.print().
I've built the Chromium browser on my Windows from its source code (Github) by following this documentation. After doing this successfully, I've a chrome.exe file which is able to launch the browser (see screenshot).
The next thing I want to implement is to change the logo and name of Chromium (say, MyBrowser) everywhere on the browser. I'm stuck at this step. Is there any way to achieve this by modifying the code or replacing the icon?
You will have to make lots of changes. Before replacing these files, please make sure the files that you are replacing with matches the resolution and format too.
If you want to change the logo of Chromium then replace these files with yours
src/chrome/app/theme/chromium/product_logo_22_mono.png
src/chrome/app/theme/chromium/product_logo_24.png
src/chrome/app/theme/chromium/product_logo_48.png
src/chrome/app/theme/chromium/product_logo_64.png
src/chrome/app/theme/chromium/product_logo_128.png
src/chrome/app/theme/chromium/product_logo_256.png
src/chrome/app/theme/default_100_percent/chromium/product_logo_16.png
src/chrome/app/theme/default_100_percent/chromium/product_logo_32.png
src/chrome/app/theme/default_100_percent/chromium/product_logo_name_22.png
src/chrome/app/theme/default_200_percent/chromium/product_logo_16.png
src/chrome/app/theme/default_200_percent/chromium/product_logo_32.png
src/chrome/app/theme/default_200_percent/chromium/product_logo_name_22.png
src/chrome/app/theme/default_200_percent/chromium/product_logo_name_48.png
src/chrome/app/theme/chromium/win/tiles/Logo.png
src/chrome/app/theme/chromium/win/tiles/SmallLogo.png
Then replace this icon file:
For Windows:
src/chrome/app/theme/chromium/win/chromium.ico
For macOS:
src/chrome/app/theme/chromium/mac/app.icns
To change the name of the browser and messages displayed in Chromium, open and modify these files
src/chrome/app/theme/chromium/BRANDING
src/chrome/app/generated_resources.grd
src/chrome/app/chromium_strings.grd
You should replace Chromium or Chrome references from the above files with your brand
i did a little script that save flash videos, it uses lsof , :
#create an ARRAY which has flash paths
filesarray=($(ls -l "/proc/$(lsof -n | awk ' /Flash/{print $2 ; exit}')/fd" | awk '/Flash/{print $9}'))
echo ${filesarray[#]}
#create an array for firefox ...
filesarraytwo=($(ls -l "/proc/$(lsof -n | awk ' /plugin-co/{print $2 ; exit}')/fd" | awk '/Flash/{print $9}'))
echo ${filesarraytwo[#]}
now this method doesn't work for chromium , i am not able to find the files in /proc//fd/ i guess it's pepper flash that it's quite different from the standard flash so , i would like just complete this script even for chrome chromium and pepper flash.
i tried even to do this
lsof -n | grep -i flash
chromium- 11658 sem mem REG 8,10 17139808 662709 /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
but of course on /proc/11658/fd i have no file that are video files so :S
i guess it's not so simple as i thought and i tried to search on these folder without luck
$HOME/.cache/chromium/Default/Cache/
and
$HOME/.cache/chromium/Default/Media Cache/
in these folders i can see some video files but they are not all that's it's pretty strange
EDIT : I found that for long files there is a weird behavior , at the beginning there the file in $HOME/.cache/chromium/Default/Cache/ but after a while they disappear ... so i guess they change location :S
i am using chromium : Version 34.0.1847.116
anyone has find a solution for this ?
i found this solution here i will paste down here the same stuff you can find in the link:
How to download streaming video
Streaming just means a download that they don't want you to keep. But Chrome's developer tools make it easy to access what's really going on under the hood.
Open Developer Tools
From the page where you want to download some things, go into your chrome menu to open the developer tools. You can either:
(On a mac): Command-option-J
(On a PC): Control-alt-J
(In your menu on a mac): Open View > Developer > Developer Tools
(On any Chrome machine): The far right menu button, to the right of the URL bar, you can press that, go down to "Tools", then open the "Developer Tools".
Monitor Network Traffic
By clicking the "Network" tab, you'll get a list of all files requested since you opened that tab. Our goal is to isolate the web request that returns the video of your choice. At this point, you can navigate to the video you want, and I'd probably press the "clear" button in the developer tools right before finally pressing the "Play" button on the video, so it can be one of the only transfers you see.
Identify the video transfer
It should be easy to recognize the video transfer: It has a mime type of video, it's a transfer that should take a lot longer than the rest, etc.
Once you've found it, click on the request name, which represents the HTTP request that was sent to the server for the video file.
Identify the Request URL
The first thing in the first tab of the request viewer should be the Request URL in the Headers tab. You can just copy this URL into another window/tab, and now if you right click the video, it should include a Save option, unlike when the whole thing was wrapped in Flash or whatever.
Enjoy!
In my automation, I have to click on a button which opens a new browser instance with search results, and from that window, I have to select a video to upload. I switched to the window using:
driver.switch_to_window( "File Upload" )
In order to upload a video, I have to select the video from that window, but I can't, as there is no way to access that window. Is there any way in selenium webdriver with Ruby or some other plugin or tool I can achieve this?
The file upload windows are usually system windows and selenium/webdriver cannot be used to interact with it. In Java, sendkeys is used to type the link to the file being uploaded. You can try using an equivalent function (something that you use to type data in any textfield etc function) to directly give the link to your video file.
Hope it helps..
I downloaded the spring mvc petclinic, when I run it, and clicked in the link :
Display all vitiranians
I got a pop up dilog box saying :
Do you want to save this file, or find a program online to open it ?
in the controller that link is defined like this :
#RequestMapping("/vets")
public ModelMap vetsHandler() {
Vets vets = new Vets();
vets.getVetList().addAll(this.clinic.getVets());
return new ModelMap(vets);
}
My question is :
why it does not dsplay vitiranians and just propmpt me withat dialog box ?
any idea or help will be appreciated.
thanks
The application to be used to open a content of a certain type can be customized in some browsers (I know only for Mozilla and Opera):
Mozilla Firefox users
Open Mozilla Firefox
Click Tools and then Options
Within the Options window click Applications
Select the Content Type you wish to adjust. For example, if you want
to change how a .PDF file opens in Firefox, select Adobe Acrobat Document.
In the Action section, change the action to how you wish to open the
file. If you want to download .PDF files instead of opening them,
select Save file.
Opera users
Open Opera
Click Tools and then Preferences
In the Advanced tab click Downloads
Locate and highlight the file extension you wish to adjust. For
example, pdf (or application/pdf). Tip: You can sort these columns.
Once highlighted, click the Edit button.
Within the file type window, specify how you wish for the file to be
handled.