Save video stream?

Rick Stevens ricks at nerd.com
Tue Jun 29 17:21:49 UTC 2010


On 06/29/2010 09:08 AM, Bob Goodwin wrote:
> On 29/06/10 11:31, Frank Cox wrote:
>> On Tue, 2010-06-29 at 10:21 -0400, Bob Goodwin wrote:
>>
>>> How can I save a short clip to a file, preferably using software
>>>       provided with F-13?
>>>
>>
>>
>>      wget?
>>
>
>
>
>>      Ok, that looks like it might work. I did:
>>
>>          [bobg at box9 ~]$ wget http://cam2/mjpg/video.mjpg --user=admin
>>          --password=1234
>>
>
>>          --2010-06-29 11:42:26-- http://cam2/mjpg/video.mjpg
>>          Resolving cam2... 192.168.1.52
>>          Connecting to cam2|192.168.1.52|:80... connected.
>>          HTTP request sent, awaiting response... 401 Unauthorized
>>          Connecting to cam2|192.168.1.52|:80... connected.
>>          HTTP request sent, awaiting response... 200 OK
>>          Length: unspecified [multipart/x-mixed-replace]
>>          Saving to: “video.mjpg”
>>
>>          [<=>  ] 271,324 12.9K/s ^C
>>
>>      And stopped it with "CTRL C" but Firefox will not display the
>>      resulting "video.mjpg" file. Perhaps the ctrl-c is not the right
>>      way to end it? It protests that it's a .bin file and offers to
>>      save it.
>>
>>      I would try VLC but yum says it's not available ...

vlc is available from rpmfusion via yum.  Try "yum list vlc*":

[root at bigdog ~]# yum list vlc*
Loaded plugins: refresh-packagekit
rpmfusion-free-updates                                   | 2.8 kB 
00:00
rpmfusion-nonfree-updates                                | 2.8 kB 
00:00
updates/metalink                                         |  13 kB 
00:00
updates                                                  | 4.5 kB 
00:00
Installed Packages
vlc.x86_64            1.0.6-1.fc13                @rpmfusion-free
vlc-core.x86_64       1.0.6-1.fc13                @rpmfusion-free

The URL you used is typical of a camera that gives you an MPEG via web
access (D-Link cameras use this a lot).  There's a web server built
into the camera that gives you that, but there's usually a method to
access the live stream as well.  Look at the camera's docs.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-         C program run. C program crash. C programmer quit.         -
----------------------------------------------------------------------


More information about the users mailing list