May 16, 2008

Streaming Video Capture On Linux - this script will download all the stream video using linux mplayer

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Others

free web hosting

Streaming Video Capture On Linux - this script will download all the stream video using linux mplayer

zamaliphe
i was looking for video capter on linux and i coldent find one

so i rote one of my one

if you use linux then you can try this script

and if you need any hep just ask

CODE
#!/bin/bash
#      

# mplayer auto dump stream script
#this script will download all the stream files in the ./zam_list files

#this script by (mohammed tawfeek) zamaliphe@gmail.com

#i have do this to be able to watch the video on Linux

#if you think it is illegally or some thing just  don't tel me that ha
#© #bash 6/6/2006
download_folder="./video/"
#grep -e HREF ./asx/*.asx > ./list1.txt

#sed -i 's/[^"]*"\([^"]*\).*/\1/' ./list1.txt

#nl ./list1.txt >./list.txt

let max=`grep -c [:alnum:] ./list.txt`

echo "$max files will be downloaded"


if [ -d $download_folder ]
then
for ((i=1; i<=$max; i++))
do
download_src=`gawk '$1 =="'$i'" {print $2}' ./list.txt`
download_file=${download_folder}${download_src##*/}
    printf "please wite...\ndownloading file number:%d of:%d \nfile is : %s\n" "$i" "$max" "$download_file"
mplayer -dumpstream -dumpfile "$download_file" "$download_src"


done


else
echo "folder "$download_folder" notfound created "
mkdir "$download_folder"

for ((i=1; i<=$max; i++))
do
download_src=`gawk '$1 =="'$i'" {print $2}' ./list.txt`
download_file=${download_folder}${download_src##*/}
    printf "please wite...\ndownloading file number:%d of:%d \nfile is : %s\n" "$i" "$max" "$download_file"
mplayer -dumpstream -dumpfile "$download_file" "$download_src"


done

fi


reated " mkdir ./asx

CODE
fi


#!/bin/bash

asx_folder="./asx"
asx_list=./asx_list


if [ -d $asx_folder ]then

echo "folder "$asx_folder" notfound created "
mkdir "$asx_folder"



fi


if [ -r $asx_list ]
then
wget -T 60  -t 0 -c -nd -P ./asx -i ./asx_list

else

echo "error: no file list found
pleases add the list of '*.asx' fils you wish do download to file './asx_list' "
fi


if [ -d $asx_folder ]
then
grep -e HREF ./asx/*.asx > ./list1.txt
sed -i 's/[^"]*"\([^"]*\).*/\1/' ./list1.txt
nl ./list1.txt >./list.txt

else

echo "folder './asx' notfound created "
mkdir ./asx



fi



fell free to edit this script as you like under "gnu gpl" linsses biggrin.gif

note::

link to my post at egptian form

http://www.eglug.org/node/2079

the post under my name also

zamaliphe


and if you have any qustion fell free to ask

 

 

 


Reply

truefusion
Most people just use Firefox's video downloader and then play the files through VLC. Konqueror also has an mplayer plug-in which has a record button; it'll record anything streamable.

Reply

zamaliphe
QUOTE(truefusion @ Jan 5 2008, 03:06 AM) *
Most people just use Firefox's video downloader and then play the files through VLC. Konqueror also has an mplayer plug-in which has a record button; it'll record anything streamable.


i have trayed every thing and every thing fals apart

nothing work for me perfict than this small script

it is not perfct but it work

this script you can just creat a list of videos on text file and pass it to the script

and it wil download them all for you not just that it will decode them also so you can play the videos using any video player in linux

like mplayer kmplayer kaffeine and so . youdont need to use flav player in linux

and it take times to download videos so you beret do that will you are not a round

me i just find the videos

creat list to download and start the script from the command line

with a command to hatl the system when it finsh

after it finsh

and that some thing you cant do without this script

it take fom me about 7 dayes to wrote this script bay the way biggrin.gif

and it is one of 6 apps i have created allredy

one of them fore backing up your web site to your email using bash script also

so you can corn it and you get email every day hav back up of your site

i will pos it here soon god willing

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : streaming, video, capture, linux, script, download, stream, video, linux, mplayer

  1. Search For Video Files And Display Them
    Using a batch file in windows (0)
  2. Download Script
    (4)
    hey all, on my website, i would to link to files that i have created/found. since these files are
    larger than 5mb, and i didn't want to waste my precious 500mb space, i hosted them on fileden,
    an online file storage site allowing hotlinking. an example of a url from this site is:
    http://www.fileden.com/files/2007/10/20/15...some%20file.mp3 so anyway, on one of my pages i would
    like to have a link to one of these files. however, instead of streaming the file as the website
    would normally do for the mp3 extension, i would like to 'force' the save link as /....
  3. Flash - Streaming Flv With Interactible Objects
    Actionscript 3.0 - syncronising swf with flv (3)
    Hi Guys, I am trying to make a flash based web site. The idea is to have a flv video streaming
    which has people moving around and the people need to be clickable objects. I tried tracing the
    video by importing the flv to the flash time line and creating a button that follows a person in
    each frame. I then remove the flv video from the timeline and stream it using actionscript. This
    leads to synchronization issues. Does anyone know if this combination of swf and flv has ever been
    implemented? If so could you please refer me to the source or post a link to an example, i....
  4. Lightbox Script Variations
    (0)
    When the Web 2.0 and Ajax era kicked the best of the best in programmers started creating scripts of
    various kinds. One of these scripts called Lightbox has one of the biggest impact I have notice, it
    is well customizable to fit various formats, such as images, videos, and even maps. To start off I
    will post a link to the original source of the script, I think. Lightbox The object of this
    script is simple, when a user clicks on a thumbnail version of an image it does smooth transition of
    a pop up image that is larger, usually the original size, and when the user cl....
  5. Ajax - A New Technology
    AJAX relies on Java Script (10)
    Recently i did one of my project using AJAX and i could experience the real advantage of this
    Language , What do you say about that ?....
  6. How Can I Make An Auto-updating Shoutbox Type Script?
    I have a few ideas involving AJAX but im looking for something more.. (4)
    Hi all. Ive just started to experiment with AJAX working with PHP and MYSQL to get data and display
    it and im looking to implement it into a shoutbox similar to the one here on the forums but i have a
    question... i know how to use ajax and JS to refresh the contents of a DIV every few seconds r so
    and that essentially reloads the shoutbox content as the REFRESH button does up there ^^ on the
    shoutbox but i think it silly that it should update every few seconds even if theres no new activity
    so what im looking for is a way of letting my AJAX know when there is a new ent....
  7. Site Loader
    Like you see on video games (2)
    This is a cool little idea I ve bee thinking about lately. I am curious as to how I would make a
    webpage loader in an .exe form. Ex: many RPG games have a launcher program, that shows you the
    current updates and news, and checks for new updates. This thing usually shows a webpage to show the
    news and updates right? I was wondering how I would create one of those (What language?), or if I
    could possibly get a pre-made one where I can just change the code or the page it loads in its
    program frame. I really hope this makes sense. If not, I can try and make more sense of ....
  8. Looking For Phpbb Script
    (2)
    Hi Friends, I am new to this phpbb script, I come across some features in some site... In some
    sites, the user should reply to the post to view the hidden content. ... Where can I find this kind
    of scripts or plug-ins... Please reply me in this thread.......
  9. Swf Cd Help Needed Please
    Need assistance with a next/previous page script (1)
    Question is: I have a web page that displays a flash file that zooms and pans, but the next page
    button doesnt work. 1. Can the next page work and load the next or previous numbered file? 2. Does
    it have to have all pages in one file, then it calls the next frame? I can e-mail you the 3
    pages/files directly, firewall wont let me pload them. Thank you....
  10. How Do I Script A Tutorial Submit Site
    (3)
    I am very interested in learning how to create or start my own tutorial submitt site. What do I
    need to learn ? What do I need to have. Is there a script that can be made up or a software? What
    I would like to do is start my own tutorial submit site. something similar to good-tutorials and or
    pixel2life except those sites are really big and cover many tutoriasl for many different programs.
    Id like to just cover tutorials for maybe a total of 3 to 4 different programs. Im sure I need
    hosting a domain a site and some good forums to get something good going. But t....
  11. Error In Purchased Script
    Help Me? (9)
    Ok well i bought a script off the net and tried uploading it to my server and it gave me this error
    Fatal error: Unable to read 22293 bytes in /home/ancient/public_html/index.php on line 0 so i
    contacted the guy who made the script and he said there was nothing wrong with the script and gave
    me a ftp to his account and told me to upload the it there and it works on there so i tried another
    script from another guy and i get same error you guys know anything about it???? Moving from
    Computinghost > Technical Support to Programming. Edited topic title--"Help with a scr....
  12. Need Script Please
    need script (4)
    Hey everyone i need a script for a password protected page but not just that i also want and
    registration form with it can n e help....
  13. What Is A News Script?
    Fusion News? Cute News? (1)
    What do news scripts such as Fusion News and Cute News do? Does it provide local news or global
    news or something? Or is it something else?....
  14. Installing A Server On Linux?, Doesn't Seem To Wor
    (0)
    I've been trying to install a server on my Mankdrake 10 linux distro machine, but it has failed.
    I followed a book, I followed several "install mysql" tutorial stuff and it doesn't seem to
    work. I am new to linux and I have never had even an RPM work on this computer. Its not a slow
    computer, but it runs a 1.7g Intel Celeron, 300+ Ram (256 + 128), built in graphics and sound -
    sound doesn't work, and screensavers are slow as hell. I think the os has lots a problems with
    the hardware (duh), and I'm not sure where to get drives (not that ill be able to use....

    1. Looking for streaming, video, capture, linux, script, download, stream, video, linux, mplayer

Searching Video's for streaming, video, capture, linux, script, download, stream, video, linux, mplayer
advertisement



Streaming Video Capture On Linux - this script will download all the stream video using linux mplayer



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE