[vlc] Module Transcode

Johannes Kaefer kaefer at lkn.ei.tum.de
Fri Oct 17 17:07:28 CEST 2003


Hi!

I'm trying to do a little transcoding with vlc.
I call vlc with: "vlc -vvv file.mp4 --sout
'#transcode{width=400,height=200,vb=300,vcodec=mp4v}:#std{access=udp,mux=ts,url=192.168.0.1}'"

So unfortunatly this does not work. I get the output. I've included the
full output because I don't know what exactly is importend and if there
are no sideeffects between other things not working.

But: I can stream the mp4 file with the command: "vlc file.mp4 --sout
udp://192.168.0.1". So the codecs are there and I can also watch them. I
don't know whats wrong.

Thanks in advance
  jak4

First: The section where the error occurs

[00000148] main stream output debug: stream=`transcode'
[00000149] main private debug: looking for sout stream module
[00000149] main private debug: probing 1 candidate
[00000148] main stream output debug: stream=`#std'
[00000150] main private debug: looking for sout stream module
[00000150] main private debug: probing 0 candidates
[00000150] main private error: no sout stream module matched "#std,none"
[00000150] main private debug: destroying chain... (name=#std)
[00000150] main private debug: destroying chain done
[00000149] stream_out_transcode private debug: codec video=mp4v 400x200
292kb/s
[00000149] stream_out_transcode private error: cannot create chain
[00000149] main private warning: no sout stream module matching
"transcode,none" could be loaded
[00000149] main private debug: destroying chain... (name=transcode)
[00000149] main private debug: destroying chain done
[00000148] main stream output error: stream chained failed for
`transcode{width=400,height=200,vb=300,vcodec=mp4v}:#std{access=udp,mux=ts,url=192.168.0.1}'
[00000144] main input error: cannot start stream output instance,
aborting
[00000144] access_file input: closing `/://film.mp4'
[00000077] main module debug: unlocking module "access_file"
[00000144] mp4 input debug: freeing all memory
[00000070] main module debug: unlocking module "mp4"
[00000146] main decoder debug: waiting for sout
[00000147] main decoder debug: waiting for sout
[00000144] main input debug: thread 32771 joined (src/input/input.c:214)
[00000144] main input error: cannot delete object with children

**** the rest of the log is before the snippet above *****

VideoLAN Client 0.6.2 Trevelyan
[00000000] main root debug: VLC media player - version 0.6.2 Trevelyan -
(c) 1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure
--with-ffmpeg
--with-ffmpeg-tree=/usr/src/packages/SOURCES/ffmpeg-20030813/
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist
yet
[00000000] main root debug: checking builtin modules
[00000000] main root debug: checking plugin modules
[00000000] main root debug: recursively browsing `modules'
[00000000] main root debug: recursively browsing `/usr/local/lib/vlc'
[00000000] main root debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 129 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist
yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE
FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000143] main playlist debug: waiting for thread completion
[00000143] main playlist debug: thread 16386 (playlist) created at
priority 0 (src/playlist/playlist.c:80)
[00000143] main playlist debug: adding playlist item « 2 » ( 2 )
[00000143] main playlist debug: adding playlist item « film.mp4 » (
film.mp4 )
[00000143] main playlist debug: creating new input thread
[00000144] main input: playlist item `film.mp4'
[00000144] main input debug: waiting for thread completion
[00000144] main input debug: thread 32771 (input) created at priority 0
(src/input/input.c:180)
[00000144] main input debug: playing at normal rate
[00000145] main interface debug: looking for interface module
[00000145] main interface debug: probing 1 candidate
remote control interface initialized, `h' for help
[00000036] main module debug: using interface module "rc"
[00000145] main interface debug: interface initialized
[00000144] main input debug: access `', demux `', name `film.mp4'
[00000144] main input debug: looking for access module
[00000144] main input debug: probing 6 candidates
[00000144] dvdread input warning: dvdread module discarded (not a valid
source)
[00000144] dvd input warning: dvd module discarded (not a valid block
device)
[00000144] vcd input debug: trying .cue file: film.cue
[00000144] vcd input warning: could not open film.mp4
[00000144] cdda input debug: trying .cue file: film.cue
[00000144] cdda input warning: could not open film.mp4
[00000144] access_file input debug: opening file `film.mp4'
[00000077] main module debug: using access module "access_file"
[00000144] main input debug: looking for demux module
[00000144] main input debug: probing 14 candidates
[00000144] mp4 input debug: Found Box: ftyp size 32
[00000144] mp4 input debug: Found Box: mdat size 8
[00000144] mp4 input debug: Skip box: "mdat"
[00000144] mp4 input debug: Found Box: mdat size 16389303
[00000144] mp4 input debug: Skip box: "mdat"
[00000144] mp4 input debug: Found Box: moov size 77761
[00000144] mp4 input debug: Found Box: mvhd size 108
[00000144] mp4 input debug: Read Box: "mvhd" creation 36288d-31h:17m:06s
modification 36288d-31h:25m:20s time scale 600 duration 0d-00h:00m:01s
rate 1.000000 volume 1.000000 next track id 5
[00000144] mp4 input debug: Found Box: trak size 39307
[00000144] mp4 input debug: Found Box: tkhd size 92
[00000144] mp4 input debug: Read Box: "tkhd" creation 36288d-31h:17m:07s
modification 36288d-31h:25m:20s duration 234185080d-29h:24m:16s track ID
1 layer 0 volume 1.000000 width 0.000000 height 0.000000
[00000144] mp4 input debug: Found Box: edts size 36
[00000144] mp4 input debug: Found Box: elst size 28
[00000144] mp4 input debug: Read Box: "elst" entry-count 0
[00000144] mp4 input debug: Found Box: mdia size 39171
[00000144] mp4 input debug: Found Box: mdhd size 32
[00000144] mp4 input debug: Read Box: "mdhd" creation 36288d-31h:17m:07s
modification 36288d-31h:25m:20s time scale 32000 duration
56d-29h:58m:24s language eng
[00000144] mp4 input debug: Found Box: hdlr size 58
[00000144] mp4 input debug: Read Box: "hdlr" hanler type soun name 
[00000144] mp4 input debug: Found Box: minf size 39073
[00000144] mp4 input debug: Found Box: smhd size 16
[00000144] mp4 input debug: Read Box: "smhd" balance 0.000000
[00000144] mp4 input debug: Found Box: dinf size 36
[00000144] mp4 input debug: Found Box: dref size 28
[00000144] mp4 input debug: Found Box: url  size 12
[00000144] mp4 input debug: Read Box: "url" url: (null)
[00000144] mp4 input debug: Read Box: "dref" entry-count 1
[00000144] mp4 input debug: Found Box: stbl size 39013
[00000144] mp4 input debug: Found Box: stsd size 109
[00000144] mp4 input debug: Found Box: mp4a size 93
[00000144] mp4 input debug: Read Box: "soun" mp4 or qt1/2 (rest=57)
[00000144] mp4 input debug: Found Box: esds size 57
[00000144] mp4 input debug: Read Box: "soun" in stsd channel 2 sample
size 16 sampl rate 32000.000000
[00000144] mp4 input debug: Read Box: "stsd" entry-count 1
[00000144] mp4 input debug: Found Box: stts size 24
[00000144] mp4 input debug: Read Box: "stts" entry-count 1
[00000144] mp4 input debug: Found Box: stsc size 1372
[00000144] mp4 input debug: Read Box: "stsc" entry-count 113
[00000144] mp4 input debug: Found Box: stsz size 19004
[00000144] mp4 input debug: Read Box: "stsz" sample-size 0 sample-count
4746
[00000144] mp4 input debug: Found Box: stco size 18496
[00000144] mp4 input debug: Read Box: "co64" entry-count 4620
[00000144] mp4 input debug: Found Box: trak size 37349
[00000144] mp4 input debug: Found Box: tkhd size 92
[00000144] mp4 input debug: Read Box: "tkhd" creation 36288d-31h:17m:07s
modification 36288d-31h:25m:20s duration 234185080d-29h:24m:16s track ID
2 layer 0 volume 0.000000 width 320.000000 height 240.000000
[00000144] mp4 input debug: Found Box: edts size 36
[00000144] mp4 input debug: Found Box: elst size 28
[00000144] mp4 input debug: Read Box: "elst" entry-count 0
[00000144] mp4 input debug: Found Box: mdia size 37213
[00000144] mp4 input debug: Found Box: mdhd size 32
[00000144] mp4 input debug: Read Box: "mdhd" creation 36288d-31h:17m:07s
modification 36288d-31h:25m:20s time scale 2997 duration 5d-06h:25m:00s
language eng
[00000144] mp4 input debug: Found Box: hdlr size 58
[00000144] mp4 input debug: Read Box: "hdlr" hanler type vide name
[00000144] mp4 input debug: Found Box: minf size 37115
[00000144] mp4 input debug: Found Box: vmhd size 20
[00000144] mp4 input debug: Read Box: "vmhd" graphics-mode 0 opcolor (0,
0, 0)
[00000144] mp4 input debug: Found Box: dinf size 36
[00000144] mp4 input debug: Found Box: dref size 28
[00000144] mp4 input debug: Found Box: url  size 12
[00000144] mp4 input debug: Read Box: "url" url: (null)
[00000144] mp4 input debug: Read Box: "dref" entry-count 1
[00000144] mp4 input debug: Found Box: stbl size 37051
[00000144] mp4 input debug: Found Box: stsd size 171
[00000144] mp4 input debug: Found Box: mp4v size 155
[00000144] mp4 input debug: Found Box: esds size 69
[00000144] mp4 input debug: Read Box: "vide" in stsd 352x264 depth 24
[00000144] mp4 input debug: Read Box: "stsd" entry-count 1
[00000144] mp4 input debug: Found Box: stts size 24
[00000144] mp4 input debug: Read Box: "stts" entry-count 1
[00000144] mp4 input debug: Found Box: stss size 376
[00000144] mp4 input debug: Read Box: "stss" entry-count 90
[00000144] mp4 input debug: Found Box: stsc size 28
[00000144] mp4 input debug: Read Box: "stsc" entry-count 1
[00000144] mp4 input debug: Found Box: stsz size 18224
[00000144] mp4 input debug: Read Box: "stsz" sample-size 0 sample-count
4551
[00000144] mp4 input debug: Found Box: stco size 18220
[00000144] mp4 input debug: Read Box: "co64" entry-count 4551
[00000144] mp4 input debug: Found Box: trak size 469
[00000144] mp4 input debug: Found Box: tkhd size 92
[00000144] mp4 input debug: Read Box: "tkhd" creation 36288d-31h:25m:20s
modification 36288d-31h:25m:20s duration 234185080d-29h:24m:16s track ID
3 layer 0 volume 0.000000 width 0.000000 height 0.000000
[00000144] mp4 input debug: Found Box: edts size 36
[00000144] mp4 input debug: Found Box: elst size 28
[00000144] mp4 input debug: Read Box: "elst" entry-count 0
[00000144] mp4 input debug: Found Box: mdia size 333
[00000144] mp4 input debug: Found Box: mdhd size 32
[00000144] mp4 input debug: Read Box: "mdhd" creation 36288d-31h:25m:20s
modification 36288d-31h:25m:20s time scale 600 duration 1d-25h:18m:31s
language eng
[00000144] mp4 input debug: Found Box: hdlr size 65
[00000144] mp4 input debug: Read Box: "hdlr" hanler type sdsm name 
[00000144] mp4 input debug: Found Box: minf size 228
[00000144] mp4 input debug: Found Box: nmhd size 12
[00000144] mp4 input debug: Found Box: dinf size 36
[00000144] mp4 input debug: Found Box: dref size 28
[00000144] mp4 input debug: Found Box: url  size 12
[00000144] mp4 input debug: Read Box: "url" url: (null)
[00000144] mp4 input debug: Read Box: "dref" entry-count 1
[00000144] mp4 input debug: Found Box: stbl size 172
[00000144] mp4 input debug: Found Box: stsd size 72
[00000144] mp4 input debug: Found Box: mp4s size 56
[00000144] mp4 input warning: Unknown box type mp4s (uncompletetly
loaded)
[00000144] mp4 input debug: Read Box: "stsd" entry-count 1
[00000144] mp4 input debug: Found Box: stts size 24
[00000144] mp4 input debug: Read Box: "stts" entry-count 1
[00000144] mp4 input debug: Found Box: stsc size 28
[00000144] mp4 input debug: Read Box: "stsc" entry-count 1
[00000144] mp4 input debug: Found Box: stsz size 20
[00000144] mp4 input debug: Read Box: "stsz" sample-size 15 sample-count
1
[00000144] mp4 input debug: Found Box: stco size 20
[00000144] mp4 input debug: Read Box: "co64" entry-count 1
[00000144] mp4 input debug: Found Box: trak size 487
[00000144] mp4 input debug: Found Box: tkhd size 92
[00000144] mp4 input debug: Read Box: "tkhd" creation 36288d-31h:25m:20s
modification 36288d-31h:25m:20s duration 234185080d-29h:24m:16s track ID
4 layer 0 volume 0.000000 width 0.000000 height 0.000000
[00000144] mp4 input debug: Found Box: edts size 36
[00000144] mp4 input debug: Found Box: elst size 28
[00000144] mp4 input debug: Read Box: "elst" entry-count 0
[00000144] mp4 input debug: Found Box: tref size 24
[00000144] mp4 input debug: Found Box: mpod size 16
[00000144] mp4 input warning: Unknown box type mpod (uncompletetly
loaded)
[00000144] mp4 input debug: Found Box: mdia size 327
[00000144] mp4 input debug: Found Box: mdhd size 32
[00000144] mp4 input debug: Read Box: "mdhd" creation 36288d-31h:25m:20s
modification 36288d-31h:25m:20s time scale 600 duration 1d-25h:18m:31s
language eng
[00000144] mp4 input debug: Found Box: hdlr size 64
[00000144] mp4 input debug: Read Box: "hdlr" hanler type odsm name
[00000144] mp4 input debug: Found Box: minf size 223
[00000144] mp4 input debug: Found Box: nmhd size 12
[00000144] mp4 input debug: Found Box: dinf size 36
[00000144] mp4 input debug: Found Box: dref size 28
[00000144] mp4 input debug: Found Box: url  size 12
[00000144] mp4 input debug: Read Box: "url" url: (null)
[00000144] mp4 input debug: Read Box: "dref" entry-count 1
[00000144] mp4 input debug: Found Box: stbl size 167
[00000144] mp4 input debug: Found Box: stsd size 67
[00000144] mp4 input debug: Found Box: mp4s size 51
[00000144] mp4 input warning: Unknown box type mp4s (uncompletetly
loaded)
[00000144] mp4 input debug: Read Box: "stsd" entry-count 1
[00000144] mp4 input debug: Found Box: stts size 24
[00000144] mp4 input debug: Read Box: "stts" entry-count 1
[00000144] mp4 input debug: Found Box: stsc size 28
[00000144] mp4 input debug: Read Box: "stsc" entry-count 1
[00000144] mp4 input debug: Found Box: stsz size 20
[00000144] mp4 input debug: Read Box: "stsz" sample-size 18 sample-count
1
[00000144] mp4 input debug: Found Box: stco size 20
[00000144] mp4 input debug: Read Box: "co64" entry-count 1
[00000144] mp4 input debug: Found Box: iods size 33
[00000144] mp4 input warning: Unknown box type iods (uncompletetly
loaded)
[00000144] mp4 input debug: Dumping root Box "root"
[00000144] mp4 input debug: |    + ftyp size 32
[00000144] mp4 input debug: |    + mdat size 8
[00000144] mp4 input debug: |    + mdat size 16389303
[00000144] mp4 input debug: |    + moov size 77761
[00000144] mp4 input debug: |    |    + mvhd size 108
[00000144] mp4 input debug: |    |    + trak size 39307
[00000144] mp4 input debug: |    |    |    + tkhd size 92
[00000144] mp4 input debug: |    |    |    + edts size 36
[00000144] mp4 input debug: |    |    |    |    + elst size 28
[00000144] mp4 input debug: |    |    |    + mdia size 39171
[00000144] mp4 input debug: |    |    |    |    + mdhd size 32
[00000144] mp4 input debug: |    |    |    |    + hdlr size 58
[00000144] mp4 input debug: |    |    |    |    + minf size 39073
[00000144] mp4 input debug: |    |    |    |    |    + smhd size 16
[00000144] mp4 input debug: |    |    |    |    |    + dinf size 36
[00000144] mp4 input debug: |    |    |    |    |    |    + dref size 28
[00000144] mp4 input debug: |    |    |    |    |    |    |    + url 
size 12
[00000144] mp4 input debug: |    |    |    |    |    + stbl size 39013
[00000144] mp4 input debug: |    |    |    |    |    |    + stsd size
109
[00000144] mp4 input debug: |    |    |    |    |    |    |    + mp4a
size 93
[00000144] mp4 input debug: |    |    |    |    |    |    |    |    +
esds size 57
[00000144] mp4 input debug: |    |    |    |    |    |    + stts size 24
[00000144] mp4 input debug: |    |    |    |    |    |    + stsc size
1372
[00000144] mp4 input debug: |    |    |    |    |    |    + stsz size
19004
[00000144] mp4 input debug: |    |    |    |    |    |    + stco size
18496
[00000144] mp4 input debug: |    |    + trak size 37349
[00000144] mp4 input debug: |    |    |    + tkhd size 92
[00000144] mp4 input debug: |    |    |    + edts size 36
[00000144] mp4 input debug: |    |    |    |    + elst size 28
[00000144] mp4 input debug: |    |    |    + mdia size 37213
[00000144] mp4 input debug: |    |    |    |    + mdhd size 32
[00000144] mp4 input debug: |    |    |    |    + hdlr size 58
[00000144] mp4 input debug: |    |    |    |    + minf size 37115
[00000144] mp4 input debug: |    |    |    |    |    + vmhd size 20
[00000144] mp4 input debug: |    |    |    |    |    + dinf size 36
[00000144] mp4 input debug: |    |    |    |    |    |    + dref size 28
[00000144] mp4 input debug: |    |    |    |    |    |    |    + url 
size 12
[00000144] mp4 input debug: |    |    |    |    |    + stbl size 37051
[00000144] mp4 input debug: |    |    |    |    |    |    + stsd size
171
[00000144] mp4 input debug: |    |    |    |    |    |    |    + mp4v
size 155
[00000144] mp4 input debug: |    |    |    |    |    |    |    |    +
esds size 69
[00000144] mp4 input debug: |    |    |    |    |    |    + stts size 24
[00000144] mp4 input debug: |    |    |    |    |    |    + stss size
376
[00000144] mp4 input debug: |    |    |    |    |    |    + stsc size 28
[00000144] mp4 input debug: |    |    |    |    |    |    + stsz size
18224
[00000144] mp4 input debug: |    |    |    |    |    |    + stco size
18220
[00000144] mp4 input debug: |    |    + trak size 469
[00000144] mp4 input debug: |    |    |    + tkhd size 92
[00000144] mp4 input debug: |    |    |    + edts size 36
[00000144] mp4 input debug: |    |    |    |    + elst size 28
[00000144] mp4 input debug: |    |    |    + mdia size 333
[00000144] mp4 input debug: |    |    |    |    + mdhd size 32
[00000144] mp4 input debug: |    |    |    |    + hdlr size 65
[00000144] mp4 input debug: |    |    |    |    + minf size 228
[00000144] mp4 input debug: |    |    |    |    |    + nmhd size 12
[00000144] mp4 input debug: |    |    |    |    |    + dinf size 36
[00000144] mp4 input debug: |    |    |    |    |    |    + dref size 28
[00000144] mp4 input debug: |    |    |    |    |    |    |    + url 
size 12
[00000144] mp4 input debug: |    |    |    |    |    + stbl size 172
[00000144] mp4 input debug: |    |    |    |    |    |    + stsd size 72
[00000144] mp4 input debug: |    |    |    |    |    |    |    + mp4s
size 56
[00000144] mp4 input debug: |    |    |    |    |    |    + stts size 24
[00000144] mp4 input debug: |    |    |    |    |    |    + stsc size 28
[00000144] mp4 input debug: |    |    |    |    |    |    + stsz size 20
[00000144] mp4 input debug: |    |    |    |    |    |    + stco size 20
[00000144] mp4 input debug: |    |    + trak size 487
[00000144] mp4 input debug: |    |    |    + tkhd size 92
[00000144] mp4 input debug: |    |    |    + edts size 36
[00000144] mp4 input debug: |    |    |    |    + elst size 28
[00000144] mp4 input debug: |    |    |    + tref size 24
[00000144] mp4 input debug: |    |    |    |    + mpod size 16
[00000144] mp4 input debug: |    |    |    + mdia size 327
[00000144] mp4 input debug: |    |    |    |    + mdhd size 32
[00000144] mp4 input debug: |    |    |    |    + hdlr size 64
[00000144] mp4 input debug: |    |    |    |    + minf size 223
[00000144] mp4 input debug: |    |    |    |    |    + nmhd size 12
[00000144] mp4 input debug: |    |    |    |    |    + dinf size 36
[00000144] mp4 input debug: |    |    |    |    |    |    + dref size 28
[00000144] mp4 input debug: |    |    |    |    |    |    |    + url 
size 12
[00000144] mp4 input debug: |    |    |    |    |    + stbl size 167
[00000144] mp4 input debug: |    |    |    |    |    |    + stsd size 67
[00000144] mp4 input debug: |    |    |    |    |    |    |    + mp4s
size 51
[00000144] mp4 input debug: |    |    |    |    |    |    + stts size 24
[00000144] mp4 input debug: |    |    |    |    |    |    + stsc size 28
[00000144] mp4 input debug: |    |    |    |    |    |    + stsz size 20
[00000144] mp4 input debug: |    |    |    |    |    |    + stco size 20
[00000144] mp4 input debug: |    |    + iods size 33
[00000144] mp4 input debug: unrecognized major file specification
(mp42).
[00000144] mp4 input debug: find 4 tracks
[00000144] mp4 input debug: track[Id 0x1] read 4620 chunk
[00000145] main interface debug: thread 49156 (manager) created at
priority 0 (src/interface/interface.c:118)
[00000144] mp4 input debug: track[Id 0x1] read 4746 samples length:151s
[00000144] mp4 input debug: adding track[Id 0x1] audio (enable) language
eng
[00000144] mp4 input debug: track[Id 0x2] read 4551 chunk
[00000144] mp4 input debug: track[Id 0x2] read 4551 samples length:151s
[00000144] mp4 input debug: adding track[Id 0x2] video (enable) language
eng
[00000144] mp4 input debug: ignoring track[Id 0x3]
[00000144] mp4 input debug: ignoring track[Id 0x4]
[00000144] mp4 input debug: track[Id 0x1] does not provide Sync Sample
Box (stss)

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list