Difference between revisions of "Demuxdump"

From VideoLAN Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{mux|id=dump|encoder=n}}
 
{{mux|id=dump|encoder=n}}
A special codec used mainly for debugging. This is an input codec: to output data without a [[container]], use [[dummy]].
+
A special codec used mainly for debugging. This saves the input as a file (specified by ''demuxdump-file''), without decoding it.
 +
 
 +
This is a way to "decode" input to VLC. To output data without a [[container]], use [[dummy]].
 +
 
 +
For example, saving the raw input of an [[mp3]] [[shoutcast]] stream can be done with:
 +
{{%}} vlc <nowiki>http://example.org/shoutcast.mp3</nowiki> :demux=dump :demuxdump-file=output.mp3
  
 
== Module options ==
 
== Module options ==
Line 9: Line 14:
  
 
== Source code ==
 
== Source code ==
{{file|modules/demux/demuxdump.c|output muxer}}
+
{{file|modules/demux/demuxdump.c|input demuxer}}

Latest revision as of 10:02, 11 May 2009

dump
VLC can decode this container.
The module name to use at the command line is dump.

A special codec used mainly for debugging. This saves the input as a file (specified by demuxdump-file), without decoding it.

This is a way to "decode" input to VLC. To output data without a container, use dummy.

For example, saving the raw input of an mp3 shoutcast stream can be done with:

% vlc http://example.org/shoutcast.mp3 :demux=dump :demuxdump-file=output.mp3

Module options

  • demuxdump-file (file name)
    File to output data, default: "stream-demux.dump"
  • demuxdump-append (boolean)
    Append data to file. Set as true to append data, or false (default) to overwrite the file with the new data.

Source code