sAvE a StReAm.....

About encoding, codec settings, muxers and filter usage
vlcuser
Blank Cone
Blank Cone
Posts: 36
Joined: 24 Jan 2006 05:31
Location: INDIA

sAvE a StReAm.....

Postby vlcuser » 03 Feb 2006 05:12

Hi all,
How can I save a stream playing by VLC to a File. I am using vlc-0.8.5-svn-20060203-0114.
Thanks in advance,
vlcuser :lol:

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 03 Feb 2006 13:06

Use the "Wizard" (in the file menu)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

vlcuser
Blank Cone
Blank Cone
Posts: 36
Joined: 24 Jan 2006 05:31
Location: INDIA

Postby vlcuser » 04 Feb 2006 05:06

Hi,
I tried the wizard to stream to a file but, its not working. I 've got a file, but I can't play it in VLC or any other player. I think there is nothing in that file, its size is 4bytes only.
The steps I followed with the wizard are as shown below..
  • (i) Chose the Transcode/Save to File radio button
    (ii) Chose Direct show for input

    Code: Select all

    dshow://
    (iii) In the nxt screen I checked Transcode Video and chose codec as MPEG-1 Video and Bitrate as 1024kbps
    (iv) Encapsulation Format is MPEG 1
    (v) Select A file name as Test (does it need any extensions like MPEG or something??? :?: )
Now I clicked on Finish to start streaming to a File and wait For Some minutes and stop the streaming..... But the ultimate result is nothing in that file and I can't play that file in VLC or any other players....
Anything wrong in my procedures??? :?:

cat6man

Postby cat6man » 06 Feb 2006 01:49

i find i can do it fine manually but not on a command line.

open capture device=>direct show=>refresh and choose video device

for my setup, i am using a MOT stb and the open MRL gives

dshow:// :dshow-vdev="Motorola AV/C Tuner Device" :dshow-adev="" :dshow-size=""

now, check 'stream output', then choose settings to the stream output screen.

i select file, dump raw input, enter file name (mine is d:\media\temp\vlctest.ts)

destination target MRL shows

:demux=dump :demuxdump-file="d:\media\temp\vlctest.ts"

hit OK twice and it starts recording perfectly.

what i am trying to do (without success) is find a command line that does this automatically.

i used the following:

vlc --dshow:// :dshow-vdev="Motorola AV/C Tuner Device" :demux=dump :demuxdump-file="d:\media\temp\vlctest.ts"

but that syntax doesn't seem to be right....anyone have suggestions for a beginner?

thanks

vlcuser
Blank Cone
Blank Cone
Posts: 36
Joined: 24 Jan 2006 05:31
Location: INDIA

Postby vlcuser » 06 Feb 2006 03:53

Thank U, Thats Working.... Now I can Save a stream to my hard disc.... :) And its perfectly playing in VLC too.... but I can't play the files with extension .ts in my Windows Media Player... I tried to save it with .MPEG extension, now the VLC playing it perfectly, but when I tried it with my Media player it shows an error as shown below....

Code: Select all

Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play.
Is it possible to save a stream in MPEG format, so that I can play it in another media players tooo.... :roll:

bongox

Saving stream problems too

Postby bongox » 06 Feb 2006 19:06

I am experiencing saving stream problems too. I am trying to access audio in video files, in order to convert them to mp3 format. Nothing I try in the wizard seems to help. Any advice would be greatly appreciated.
Cheers

vlcuser
Blank Cone
Blank Cone
Posts: 36
Joined: 24 Jan 2006 05:31
Location: INDIA

Postby vlcuser » 07 Feb 2006 05:02

friends,
I too can't change the format of captured .TS file. Now I can dump the raw data as .TS format... But I need it in MPEG format.... Anybody can help me? :D
Rgds,
vlcuser. 8)

pvdeejay
New Cone
New Cone
Posts: 8
Joined: 29 Jan 2006 23:26
Location: Slovakia

Postby pvdeejay » 07 Feb 2006 16:00

in the stream save settings dialog check file instead of raw dump, choose mpeg2 container tick audio and video checkboxes and set valid codecs and bitrates and thats it
United Audio Team aka The lazy bastardz

vlcuser
Blank Cone
Blank Cone
Posts: 36
Joined: 24 Jan 2006 05:31
Location: INDIA

Postby vlcuser » 08 Feb 2006 05:39

I tried to do so, but I can't play that file. By which extension should I save that file?I tried with .MPEG.... but.... :(

Thank U for ur reply... :)
With rgrds, :lol:
vlcuser. :D

Guest

Postby Guest » 11 Feb 2006 19:06

the extension doesn't matter
you can just save it without an extension

extensions are for users that want to know what type of file it is quickly - using icons

it dosen't change the actual data in the file...

extension are also so your operating system could open the file with an app installed in your computer instead of you telling it with which app to open the file, to make the operating system user friendly


extensions have nothing to do with the actual data in the file...

about your problem, i can only suggest to try different encapsulation methods....
sorry i can't help more


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests