who can help me to slove the question?

About encoding, codec settings, muxers and filter usage
dragon-pk
Blank Cone
Blank Cone
Posts: 67
Joined: 27 Mar 2008 05:23

who can help me to slove the question?

Postby dragon-pk » 03 Apr 2008 08:07

[root@localhost vlc-0.8.6c]# ./vlc -vvv "/ONSRA/movies/xx.mp4" :sout='#duplicate{dst=std{access=udp,mux=mp4,dst=239.0.0.1:2600}}'
VLC media player 0.8.6c Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************

It is potentially dangerous, and might not even work properly.
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 196 modules
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000241] main playlist debug: waiting for thread completion
[00000241] main playlist debug: thread 3083033488 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000242] main private debug: waiting for thread completion
[00000242] main private debug: thread 3072543632 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000001] main private: creating VLM
[00000243] main vlm debug: thread 3062053776 (vlm thread) created at priority 0 (misc/vlm.c:105)
[00000001] main private: using the VLM interface plugin......
[00000244] main private debug: looking for vod server module: 1 candidate
#############vod server modules of open rtsp.c 212######
[00000244] vod_rtsp private debug: allowing up to 0 connections
[00000244] main private: creating httpd
[00000244] main private debug: net: listening to port 554
[00000247] main http server debug: thread 3051563920 (httpd host thread) created at priority 0 (network/httpd.c:1081)
[00000244] main private debug: using vod server module "vod_rtsp"
[00000248] main interface debug: looking for interface module: 1 candidate
[00000248] main interface debug: using interface module "hotkeys"
[00000248] main interface debug: thread 3041074064 (interface) created at priority 0 (interface/interface.c:231)
[00000250] main interface debug: looking for interface module: 1 candidate
[00000250] main interface debug: using interface module "screensaver"
[00000250] main interface debug: thread 3030584208 (interface) created at priority 0 (interface/interface.c:231)
[00000241] main playlist debug: adding playlist item `/ONSRA/movies/xx.mp4' ( /ONSRA/movies/xx.mp4 )
[00000252] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000252] main interface debug: using interface module "rc"
[00000252] main interface debug: thread 3020094352 (manager) created at priority 0 (interface/interface.c:216)
[00000241] main playlist debug: creating new input thread
[00000254] main input debug: waiting for thread completion
[00000254] main input debug: thread 3009604496 (input) created at priority 0 (input/input.c:265)
[00000254] main input debug: creating statistics handler
[00000256] main stream output debug: stream=`duplicate'
[00000257] main private debug: looking for sout stream module: 1 candidate
status change: ( new input: /ONSRA/movies/xx.mp4 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000257] stream_out_duplicate private debug: creating 'duplicate'
[00000257] stream_out_duplicate private debug: * adding `std{access=udp,mux=mp4,dst=239.0.0.1:2600}'
[00000256] main stream output debug: stream=`std'
[00000259] main private debug: looking for sout stream module: 1 candidate
[00000259] main private debug: set sout option: sout-standard-access to udp
[00000259] main private debug: set sout option: sout-standard-mux to mp4
[00000259] main private debug: set sout option: sout-standard-dst to 239.0.0.1:2600
[00000259] stream_out_standard private debug: creating `udp/mp4://239.0.0.1:2600'
[00000259] stream_out_standard private debug: extension is 1:2600
[00000259] stream_out_standard private debug: extension -> mux=(null)
[00000259] stream_out_standard private error: for now udp and rtp are only valid with TS
[00000259] stream_out_standard private debug: using `udp/mp4://239.0.0.1:2600'
[00000261] main private debug: looking for sout access module: 1 candidate
[00000261] main private debug: net: connecting to 239.0.0.1 port 2600
[00000263] main private debug: thread 2999114640 (sout write thread) created at priority 0 (udp.c:268)
[00000261] access_output_udp private debug: udp access output opened(239.0.0.1:2600)
[00000261] main private debug: using sout access module "access_output_udp"
[00000259] stream_out_standard private debug: access opened
[00000264] main private debug: looking for sout mux module: 1 candidate
[00000264] mux_mp4 private debug: Mp4 muxer opend
[00000264] main private debug: using sout mux module "mux_mp4"
[00000259] stream_out_standard private debug: mux opened
[00000259] main private debug: using sout stream module "stream_out_standard"
[00000257] main private debug: using sout stream module "stream_out_duplicate"
[00000254] main input debug: `/ONSRA/movies/xx.mp4' gives access `' demux `' path `/ONSRA/movies/xx.mp4'
[00000254] main input debug: creating demux: access='' demux='' path='/ONSRA/movies/xx.mp4'
[00000266] main demuxer debug: looking for access_demux module: 0 candidates
[00000266] main demuxer warning: no access_demux module matched "any"
[00000254] main input debug: creating access '' path='/ONSRA/movies/xx.mp4'
[00000267] main access debug: looking for access2 module: 5 candidates
[00000267] vcd access debug: trying .cue file: /ONSRA/movies/xx.cue
[00000267] vcd access debug: could not find .cue file
[00000267] access_file access debug: opening file `/ONSRA/movies/xx.mp4'
[00000267] main access debug: using access2 module "access_file"
[00000272] main private debug: pre-buffering...
[00000272] main private debug: received first data for our buffer
[00000272] main private debug: pre-buffering done 1408981 bytes in 0s - 65964 kbytes/s
[00000254] main input debug: creating demux: access='' demux='' path='/ONSRA/movies/xx.mp4'
[00000273] main demuxer debug: looking for demux2 module: 39 candidates
[00000272] mp4 private debug: found Box: ftyp size 20
[00000272] mp4 private debug: found Box: mdat size 12468009
[00000272] mp4 private debug: skip box: "mdat"
[00000272] mp4 private debug: found Box: moov size 95966
[00000272] mp4 private debug: found Box: mvhd size 108
[00000272] mp4 private debug: read box: "mvhd" creation 719084d-44h:00m:00s modification 719084d-44h:00m:00s time scale 90000 duration 694977d-48h:04m:20s rate 1.000000 volume 1.000000 next track id 3
[00000272] mp4 private debug: found Box: trak size 24340
[00000272] mp4 private debug: found Box: tkhd size 92
[00000272] mp4 private debug: read box: "tkhd" creation 719084d-44h:00m:00s modification 719084d-44h:00m:00s duration -1550265436d-01h:20m:00s track ID 1 layer 0 volume 0.000000 width 320.000000 height 240.000000
[00000272] mp4 private debug: found Box: mdia size 24240
[00000272] mp4 private debug: found Box: mdhd size 32
[00000272] mp4 private debug: read box: "mdhd" creation 719084d-44h:00m:00s modification 719084d-44h:00m:00s time scale 90000 duration 695174d-51h:20m:00s language ```
[00000272] mp4 private debug: found Box: hdlr size 45
[00000272] mp4 private debug: read box: "hdlr" handler type vide name
VideoHandler
[00000272] mp4 private debug: found Box: minf size 24155
[00000272] mp4 private debug: found Box: vmhd size 20
[00000272] mp4 private debug: read box: "vmhd" graphics-mode 0 opcolor (0, 0, 0)
[00000272] mp4 private debug: found Box: dinf size 36
[00000272] mp4 private debug: found Box: dref size 28
[00000272] mp4 private debug: found Box: url size 12
[00000272] mp4 private debug: read box: "url" url: (null)
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: read box: "dref" entry-count 1
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: found Box: stbl size 24091
[00000272] mp4 private debug: found Box: stsd size 187
[00000272] mp4 private debug: found Box: mp4v size 171
[00000272] mp4 private debug: found Box: esds size 85
[00000272] mp4 private debug: found esds MPEG4ESDescr (71Bytes)
[00000272] mp4 private debug: found esds MP4DecConfigDescr (63Bytes)
[00000272] mp4 private debug: found esds MP4DecSpecificDescr (48Bytes)
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: read box: "vide" in stsd 320x240 depth 24
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: read box: "stsd" entry-count 1
[00000272] mp4 private debug: found Box: stts size 24
[00000272] mp4 private debug: read box: "stts" entry-count 1
[00000272] mp4 private debug: found Box: stss size 1040
[00000272] mp4 private debug: read box: "stss" entry-count 256
[00000272] mp4 private debug: found Box: stsc size 28
[00000272] mp4 private debug: read box: "stsc" entry-count 1
[00000272] mp4 private debug: found Box: stsz size 11404
[00000272] mp4 private debug: read box: "stsz" sample-size 0 sample-count 2846
[00000272] mp4 private debug: found Box: stco size 11400
[00000272] mp4 private debug: read box: "co64" entry-count 2846
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: found Box: trak size 71440
[00000272] mp4 private debug: found Box: tkhd size 92
[00000272] mp4 private debug: read box: "tkhd" creation 719084d-44h:00m:00s modification 719084d-44h:00m:00s duration 1050575871d-25h:52m:00s track ID 2 layer 0 volume 1.000000 width 0.000000 height 0.000000
[00000272] mp4 private debug: found Box: mdia size 71340
[00000272] mp4 private debug: found Box: mdhd size 32
[00000272] mp4 private debug: read box: "mdhd" creation 719084d-44h:00m:00s modification 719084d-44h:00m:00s time scale 48000 duration 695082d-52h:43m:44s language ```
[00000272] mp4 private debug: found Box: hdlr size 45
[00000272] mp4 private debug: read box: "hdlr" handler type soun name
SoundHandler
[00000272] mp4 private debug: found Box: minf size 71255
[00000272] mp4 private debug: found Box: smhd size 16
[00000272] mp4 private debug: read box: "smhd" balance 0.000000
[00000272] mp4 private debug: found Box: dinf size 36
[00000272] mp4 private debug: found Box: dref size 28
[00000272] mp4 private debug: found Box: url size 12
[00000272] mp4 private debug: read box: "url" url: (null)
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: read box: "dref" entry-count 1
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: found Box: stbl size 71195
[00000272] mp4 private debug: found Box: stsd size 91
[00000272] mp4 private debug: found Box: mp4a size 75
[00000272] mp4 private debug: read box: "soun" mp4 or qt1/2 (rest=39)
[00000272] mp4 private debug: found Box: esds size 39
[00000272] mp4 private debug: found esds MPEG4ESDescr (25Bytes)
[00000272] mp4 private debug: found esds MP4DecConfigDescr (17Bytes)
[00000272] mp4 private debug: found esds MP4DecSpecificDescr (2Bytes)
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: read box: "soun" in stsd channel 2 sample size 16 sample rate 48000.000000
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: read box: "stsd" entry-count 1
[00000272] mp4 private debug: found Box: stts size 24
[00000272] mp4 private debug: read box: "stts" entry-count 1
[00000272] mp4 private debug: found Box: stsc size 28
[00000272] mp4 private debug: read box: "stsc" entry-count 1
[00000272] mp4 private debug: found Box: stsz size 35524
[00000272] mp4 private debug: read box: "stsz" sample-size 0 sample-count 8876
[00000272] mp4 private debug: found Box: stco size 35520
[00000272] mp4 private debug: read box: "co64" entry-count 8876
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: found Box: udta size 70
main warning: can't store message (无效或不完整的多字节字符或宽字符): found Box:
main warning: can't store message (无效或不完整的多字节字符或宽字符): read box: "
main warning: can't store message (无效或不完整的多字节字符或宽字符): found Box:
main warning: can't store message (无效或不完整的多字节字符或宽字符): read box: "
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: out of bound child
[00000272] mp4 private debug: dumping root Box "root"
[00000272] mp4 private debug: | + ftyp size 20
[00000272] mp4 private debug: | + mdat size 12468009
[00000272] mp4 private debug: | + moov size 95966
[00000272] mp4 private debug: | | + mvhd size 108
[00000272] mp4 private debug: | | + trak size 24340
[00000272] mp4 private debug: | | | + tkhd size 92
[00000272] mp4 private debug: | | | + mdia size 24240
[00000272] mp4 private debug: | | | | + mdhd size 32
[00000272] mp4 private debug: | | | | + hdlr size 45
[00000272] mp4 private debug: | | | | + minf size 24155
[00000272] mp4 private debug: | | | | | + vmhd size 20
[00000272] mp4 private debug: | | | | | + dinf size 36
[00000272] mp4 private debug: | | | | | | + dref size 28
[00000272] mp4 private debug: | | | | | | | + url size 12
[00000272] mp4 private debug: | | | | | + stbl size 24091
[00000272] mp4 private debug: | | | | | | + stsd size 187
[00000272] mp4 private debug: | | | | | | | + mp4v size 171
[00000272] mp4 private debug: | | | | | | | | + esds size 85
[00000272] mp4 private debug: | | | | | | + stts size 24
[00000272] mp4 private debug: | | | | | | + stss size 1040
[00000272] mp4 private debug: | | | | | | + stsc size 28
[00000272] mp4 private debug: | | | | | | + stsz size 11404
[00000272] mp4 private debug: | | | | | | + stco size 11400
[00000272] mp4 private debug: | | + trak size 71440
[00000272] mp4 private debug: | | | + tkhd size 92
[00000272] mp4 private debug: | | | + mdia size 71340
[00000272] mp4 private debug: | | | | + mdhd size 32
[00000272] mp4 private debug: | | | | + hdlr size 45
[00000272] mp4 private debug: | | | | + minf size 71255
[00000272] mp4 private debug: | | | | | + smhd size 16
[00000272] mp4 private debug: | | | | | + dinf size 36
[00000272] mp4 private debug: | | | | | | + dref size 28
[00000272] mp4 private debug: | | | | | | | + url size 12
[00000272] mp4 private debug: | | | | | + stbl size 71195
[00000272] mp4 private debug: | | | | | | + stsd size 91
[00000272] mp4 private debug: | | | | | | | + mp4a size 75
[00000272] mp4 private debug: | | | | | | | | + esds size 39
[00000272] mp4 private debug: | | | | | | + stts size 24
[00000272] mp4 private debug: | | | | | | + stsc size 28
[00000272] mp4 private debug: | | | | | | + stsz size 35524
[00000272] mp4 private debug: | | | | | | + stco size 35520
[00000272] mp4 private debug: | | + udta size 70
[00000272] mp4 private debug: | | | +
[00000272] mp4 private debug: | | | +
[00000273] mp4 demuxer debug: ISO Media file (isom) version 512.
[00000273] mp4 demuxer debug: find 2 tracks
[00000273] mp4 demuxer debug: track[Id 0x1] read 2846 chunk
[00000273] mp4 demuxer debug: track[Id 0x1] read 2846 samples length:189s
[00000254] main input debug: selecting program id=0
[00000273] mp4 demuxer debug: adding track[Id 0x1] video (enable) language undef
[00000273] mp4 demuxer debug: track[Id 0x2] read 8876 chunk
[00000273] mp4 demuxer debug: track[Id 0x2] read 8876 samples length:189s
[00000273] mp4 demuxer debug: adding track[Id 0x2] audio (enable) language undef
[00000273] main demuxer debug: using demux2 module "mp4"
[00000273] mp4 demuxer warning: DEMUX_GET_FPS unimplemented !!
[00000254] main input debug: looking for a subtitle file in /ONSRA/movies/
[00000275] main packetizer debug: looking for packetizer module: 15 candidates
[00000275] packetizer_mpeg4video packetizer debug: opening with vol size: 48
[00000275] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000254] main input debug: stream out mode -> no decoder thread
[00000292] main packetizer debug: looking for packetizer module: 15 candidates
[00000292] packetizer_mpeg4audio packetizer debug: running MPEG4 audio packetizer
[00000292] packetizer_mpeg4audio packetizer debug: AAC 48000Hz 1024 samples/frame
[00000292] main packetizer debug: using packetizer module "packetizer_mpeg4audio"
[00000254] main input debug: stream out mode -> no decoder thread
[00000254] main input debug: starting in sync mode
[00000254] main input debug: `/ONSRA/movies/xx.mp4' successfully opened
[00000273] mp4 demuxer debug: track[Id 0x1] using Sync Sample Box (stss)
[00000273] mp4 demuxer debug: stts gives 0 --> 0 (sample number)
[00000273] mp4 demuxer debug: track[Id 0x2] does not provide Sync Sample Box (stss)
[00000256] main stream output debug: adding a new input
[00000257] stream_out_duplicate private debug: duplicated a new stream codec=mp4v (es=0 group=0)
[00000264] main private debug: adding a new input
[00000264] mux_mp4 private debug: adding input
[00000257] stream_out_duplicate private debug: - added for output 0
[00000256] main stream output debug: adding a new input
[00000257] stream_out_duplicate private debug: duplicated a new stream codec=mp4a (es=1 group=0)
[00000264] main private debug: adding a new input
[00000264] mux_mp4 private debug: adding input
[00000257] stream_out_duplicate private debug: - added for output 0
[00000261] access_output_udp private debug: late packet for udp input (1207202623061808)
[00000261] access_output_udp private debug: late packet for udp input (482882)
[00000261] access_output_udp private debug: late packet for udp input (141595)
[00000261] access_output_udp private debug: late packet for udp input (98961)
[00000261] access_output_udp private debug: late packet for udp input (56328)
[00000261] access_output_udp private debug: late packet for udp input (3026)
[00000261] access_output_udp private warning: packet size > MTU, you should probably increase the MTU
[00000263] access_output_udp private debug: mmh, hole (1207202622579087 > 2s) -> drop
[00000263] access_output_udp private debug: dropped 1 packets


i think that i can use the method as play vlc multicast mpeg to play mpeg-4,but i can realize vlc multicast in .mpg and not realize in .mp4 ,both of these the commands are same,why cann`t mp4 realize vlc multicast?

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests