Been searching for hours and only need confirmation

About encoding, codec settings, muxers and filter usage
ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Been searching for hours and only need confirmation

Postby ebknoppert » 09 Jan 2013 23:51

Main goal is to download the http stream like mp3 or aac straight to disk without quality loss.
When used on mp4 for example i would like the file to be ok with any player and thus a need for a container.

I have it working like
--intf wx %URL% :sout=#duplicate{dst=display,dst=std{access=file,mux=mp4,dst=%FILEOUT%.mp4}}

and (mp3 example)
%URL% :demux=dump :demuxdump-file=c:\cdrom\output.mp3

This first one suits me the best, it seems to dump the bytes downloaded into a new container but does not seem to modify the data like re compressing it or whatever.
The 2nd seems to be doing the same but it allows you to skip the container (dummy or whatever) which don't care for per se, at least this mode is described as saving to disk without modification.

Can someone please tell me that the first is as good as the 2nd, the 2nd does not let me listen to the audio simultaniously.
The duplicate mode documentation does not elaborate on the quality, while it may be obvious since i did not use the transcode statement here.

Thats all fokes..
Edwin,

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Been searching for hours and only need confirmation

Postby Jean-Baptiste Kempf » 14 Jan 2013 12:46

Yes. this is good too, and will not change the coding quality.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Re: Been searching for hours and only need confirmation

Postby ebknoppert » 15 Jan 2013 20:36

Thanks, that was important to me :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Been searching for hours and only need confirmation

Postby Jean-Baptiste Kempf » 16 Jan 2013 10:53

cool.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Re: Been searching for hours and only need confirmation

Postby ebknoppert » 15 Feb 2014 18:16

I always used vlc086 and i am now trying to use vlc 2.1.3. since it supports mp4 recording.

I have this url:
http://www.radioveronica.nl/player/radioveronica.pls

it delivers 64kb aac mp4a but i want to automate it.

--intf wx http://www.radioveronica.nl/player/radioveronica.pls :sout=#duplicate{dst=display,dst=std{access=file,mux=raw,dst=filename1.mp4}}

Problems:
1) But it does not longer show the userinterface and thus hard to abort.

2) The result seems incorrect, no player can open and play the file when done.

Been visitting https://wiki.videolan.org/VLC_command-line_help but vlc is daunting to me..

Just want to use the Windows taskplanner to run (and stop) and download the stream *without* re-encoding to disk.
Mp3 via vlc086 works fine.

Thanks :)

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

Re: Been searching for hours and only need confirmation

Postby bat999 » 15 Feb 2014 19:19

2) The result seems incorrect, no player can open and play the file when done.
Hi
The radioveronica.nl stream is aac, so "mux=raw" is no good this time.
Use "mux=mp4".
{access=file,mux=mp4,dst=filename1.m4a}

This command makes a 30 second test recording (Windows XP).

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc" -vv --stop-time=30 -I dummy http://8633.live.streamtheworld.com/VERONICAAAC_SC --sout="#std{access=file,mux=mp4,dst=test.m4a}" vlc://quit

ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Re: Been searching for hours and only need confirmation

Postby ebknoppert » 15 Feb 2014 19:44

Bit dumb of me since my first post here already had 'mp4' for tag :)

But i have tried better but in fact same results..
The output file is not correct + the UI is not shown, here is my full (Windows .lnk) shortcut:

"C:\Program Files\VideoLAN\VLC213\vlc.exe" --intf wx http://www.radioveronica.nl/player/radioveronica.pls :sout=#duplicate{dst=display,dst=std{access=file,mux=mp4,dst=d:\cdrom\filename1.mp4}}

The i tried the dump again, but i dumps the pls contents and thus not follow up the urls..
"C:\Program Files\VideoLAN\VLC213\vlc.exe" http://www.radioveronica.nl/player/radioveronica.pls :demux=dump :demuxdump-file=d:\cdrom\filename2.mp4

One of the follow up urls is:
"C:\Program Files\VideoLAN\VLC213\vlc.exe" http://8623.live.streamtheworld.com:3690/VERONICAAAC_SC :demux=dump :demuxdump-file=d:\cdrom\filename2.mp4

This actually saves the stream 100% ok and is playable afterwards + also shows the UI but without sound.
I can write me an app to obain an url from the pls but maybe there is a switch for that when using the dump method?
Also enabling the sound would be nicer so i can verify it sometimes, it's not a major issue but would be nice.
Last edited by ebknoppert on 15 Feb 2014 19:46, edited 1 time in total.

ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Re: Been searching for hours and only need confirmation

Postby ebknoppert » 15 Feb 2014 19:46

We had a cross-post (edit), i'll try your option as well but maybe you can see my post as well.

ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Re: Been searching for hours and only need confirmation

Postby ebknoppert » 15 Feb 2014 19:56

Your line records (without sound during record) but each 30 secs it erases the file and records again.

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

Re: Been searching for hours and only need confirmation

Postby bat999 » 15 Feb 2014 20:26

... but each 30 secs it erases the file and records again.
Works for me, but I am not in Holland. :)
Try with a different feed for radioveronica.nl instead of http://8633.live.streamtheworld.com/VERONICAAAC_SC.

Contents of radioveronica.pls
[playlist]
File1=http://8533.live.streamtheworld.com:80/VERONICAAAC_SC
Title1=Radio Veronica
Length1=-1
File2=http://8533.live.streamtheworld.com:3690/VERONICAAAC_SC
Title2=Radio Veronica
Length2=-1
File3=http://8533.live.streamtheworld.com:443/VERONICAAAC_SC
Title3=Radio Veronica
Length3=-1
File4=http://8603.live.streamtheworld.com:80/VERONICAAAC_SC
Title4=Radio Veronica
Length4=-1
File5=http://8603.live.streamtheworld.com:3690/VERONICAAAC_SC
Title5=Radio Veronica
Length5=-1
File6=http://8603.live.streamtheworld.com:443/VERONICAAAC_SC
Title6=Radio Veronica
Length6=-1
NumberOfEntries=6
Version=2

ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Re: Been searching for hours and only need confirmation

Postby ebknoppert » 15 Feb 2014 20:40

I moved towards the dump method, gives me a better feeling about the dump being 1:1
+ the UI is visible.
Any chance on enabling the sound to the speaker as well?

I have this wrapper app for running vlc, adding the max record time may be handy as well.
Will try that myself now.

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

Re: Been searching for hours and only need confirmation

Postby bat999 » 16 Feb 2014 00:19

... the dump method...
It's your choice...
but run 2 tests:-

Code: Select all

--sout="#std{access=file,mux=mp4,dst=test1.m4a}"
and

Code: Select all

:demux=dump :demuxdump-file=test2.m4a
Use MediaInfo program to compare test1.m4a and test2.m4a results.
See the difference?

test1.m4a plays OK on my iPod :D
But it ignores test2.m4a. :(

ebknoppert
New Cone
New Cone
Posts: 8
Joined: 09 Jan 2013 23:40

Re: Been searching for hours and only need confirmation

Postby ebknoppert » 16 Feb 2014 09:13

I am aware that the 'container' maybe different but i am using the record button the next day to get a 1:1 mp4.
This maybe a better mp4 for your ipod :)
This due to lack of a good audio trimmer/fader (without re-encoding).


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests