[vlc] Re: Problem with avi file generate by --sout file/avi:/foo.avi. with vlc-6.0.0

Philippe Van Hecke philippe.vanhecke at belnet.be
Wed Aug 13 16:17:05 CEST 2003


On Wednesday 13 August 2003 12:29, you wrote:
> > There is something fundamentally wrong with *all* AVI files.  You're
> > much better off using MPEG-PS or MP4.
>
> Ok but howto ask to vlc to save to MP4 ?
> The dumped ts stream is a mp4v and mp3 audio sended by vls.
>
> Thanks Philippe.
I have try this with vlc 6.0

/usr/local/bin/vlc -vvv --intf dummy jt-rtbf-Aug081060623000.ts --sout 
'#transcode{vcodec=mp4v,acodec=mp4a,vb=2000,ab=128,deinterlace}:std{mux="mp4",access="file",url="rtbf.mp4"}'
i get an mp4 file but without the audi track.
i have also try to replace the acodec with mp3 but it seem that vlc doesn't 
accept this acodec.

here is the output of vlc



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 
--enable-dvdread --enable-dvdplay --enable-v4l --enable-mad --enable-ffmpeg 
--enable-alsa --enable-gnome --enable-dvd --enable-dvbpsi --enable-vcd 
--enable-faad --enable-xvid--enable-ogg --enable-ncrurses 
--with-faad-tree=/tmp/vlc/faad2/ 
--with-ffmpeg-tree=/tmp/vlc/ffmpeg-cvs-2003-05-16 
--with-libmpeg2-tree=/tmp/vlc/mpeg2dec-0.3.2-cvs --with-ffmpeg-mp3lame
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /home/philippe/.vlc/vlcrc
[00000001] main vlc warning: config file /home/philippe/.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 143 modules
[00000001] main vlc debug: opening config file /home/philippe/.vlc/vlcrc
[00000001] main vlc warning: config file /home/philippe/.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"
[00000161] main playlist debug: waiting for thread completion
[00000161] main playlist debug: thread 16386 (playlist) created at priority 0 
(src/playlist/playlist.c:80)
[00000161] main playlist debug: adding playlist item « 
jt-rtbf-Aug081060623000.ts » ( jt-rtbf-Aug081060623000.ts )
[00000161] main playlist debug: creating new input thread
[00000162] main input: playlist item `jt-rtbf-Aug081060623000.ts'
[00000162] main input debug: waiting for thread completion
[00000162] main input debug: thread 32771 (input) created at priority 0 
(src/input/input.c:180)
[00000162] main input debug: playing at normal rate
[00000163] main interface debug: looking for interface module
[00000163] main interface debug: probing 5 candidates
[00000163] dummy interface: Using the dummy interface plugin...
[00000030] main module debug: using interface module "dummy"
[00000163] main interface debug: interface initialized
[00000163] main interface debug: thread 49156 (manager) created at priority 0 
(src/interface/interface.c:118)
[00000162] main input debug: access `', demux `', name 
`jt-rtbf-Aug081060623000.ts'
[00000162] main input debug: looking for access module
[00000162] main input debug: probing 8 candidates
[00000162] dvdplay input debug: plugin discarded (not a valid source)
[00000162] dvdread input warning: dvdread module discarded (not a valid 
source)
[00000162] dvd input warning: dvd module discarded (not a valid block device)
[00000162] vcd input debug: trying .cue file: jt-rtbf-Aug081060623000.cue
[00000162] vcd input warning: could not open jt-rtbf-Aug081060623000.ts
[00000162] cdda input debug: trying .cue file: jt-rtbf-Aug081060623000.cue
[00000162] cdda input warning: could not open jt-rtbf-Aug081060623000.ts
[00000162] access_file input debug: opening file `jt-rtbf-Aug081060623000.ts'
[00000087] main module debug: using access module "access_file"
[00000162] main input debug: looking for demux module
[00000162] main input debug: probing 17 candidates
[00000162] mp4 input warning: MP4 plugin discarded (not a valid file)
[00000162] avi input warning: avi module discarded (invalid header)
[00000162] asf input warning: ASF v1.0 plugin discarded (not a valid file)
[00000162] v4l input warning: v4l plugin discarded (not a valid stream)
[00000162] v4l input warning: v4l plugin discarded (not a valid stream)
[00000162] ts_dvbpsi input error: using default mtu (0) with bufsize (65536)

[00000162] main input debug: looking for mpeg-system module
[00000162] main input debug: probing 1 candidate
[00000081] main module debug: using mpeg-system module "mpeg_system"
[00000078] main module debug: using demux module "ts_dvbpsi"
[00000164] main stream output debug: stream=`transcode'
[00000165] main private debug: looking for sout stream module
[00000165] main private debug: probing 1 candidate
[00000164] main stream output debug: stream=`std'
[00000166] main private debug: looking for sout stream module
[00000166] main private debug: probing 1 candidate
[00000166] stream_out_standard private debug: creating `file/mp4://rtbf.mp4'
[00000167] main private debug: looking for sout access module
[00000167] main private debug: probing 1 candidate
[00000167] access_output_file private: Open: name:`rtbf.mp4'
[00000050] main module debug: using sout access module "access_output_file"
[00000166] stream_out_standard private debug: access opened
[00000168] main private debug: looking for sout mux module
[00000168] main private debug: probing 1 candidate
[00000168] mux_mp4 private: Open
[00000021] main module debug: using sout mux module "mux_mp4"
[00000166] stream_out_standard private debug: mux opened
[00000121] main module debug: using sout stream module "stream_out_standard"
[00000165] stream_out_transcode private debug: codec audio=mp4a 0Hz 0 channels 
125Kb/s
[00000165] stream_out_transcode private debug: codec video=mp4v 0x0 1953kb/s
[00000014] main module debug: using sout stream module "stream_out_transcode"
[00000162] mpeg_system input warning: first packet for PID 0 received by TS 
demux
libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 0)
[00000162] mpeg_system input warning: first packet for PID 18 received by TS 
demux
libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 0)
[00000162] ts_dvbpsi input debug: Processing PMT for program 4626 version 0
[00000162] ts_dvbpsi input warning: mpeg4 stream without (valid) sl_descriptor
[00000162] main input debug: ES 12 has unknown type
[00000162] main input debug: selecting ES e0
[00000162] main input debug: selecting ES 0xe0
[00000169] main decoder debug: looking for packetizer module
[00000169] main decoder debug: probing 7 candidates
[00000150] main module debug: using packetizer module "packetizer_mpeg4video"
[00000169] main decoder debug: thread 65541 (decoder) created at priority 0 
(src/input/input_dec.c:112)
[00000162] main input debug: selecting ES c0
[00000162] main input debug: selecting ES 0xc0
[00000170] main decoder debug: looking for packetizer module
[00000170] main decoder debug: probing 7 candidates
[00000151] main module debug: using packetizer module "packetizer_mpegaudio"
[00000170] main decoder debug: thread 81926 (decoder) created at priority 0 
(src/input/input_dec.c:112)
[00000162] mpeg_system input warning: first packet for PID 192 received by TS 
demux
[00000162] mpeg_system input warning: first packet for PID 224 received by TS 
demux
[00000169] packetizer_mpeg4video decoder: Running MPEG4 Video packetizer
[00000164] main stream output debug: adding a new input
[00000170] packetizer_mpegaudio decoder: Running mpegaudio packetizer
[00000164] main stream output debug: adding a new input
[00000165] stream_out_transcode private debug: creating audio transcoding from 
fcc=`mpga' to fcc=`mp4a'
[00000165] stream_out_transcode private error: cannot find encoder id
[00000165] stream_out_transcode private error: cannot create audio chain
[00000170] packetizer_mpegaudio decoder error: cannot add a new stream
[00000169] packetizer_mpeg4video decoder debug: starcode 0x000001b6

********* cannot find startcode
[00000169] packetizer_mpeg4video decoder debug: starcode 0x000001b6

********* cannot find startcode
[00000169] packetizer_mpeg4video decoder debug: starcode 0x000001b0
[00000169] packetizer_mpeg4video decoder debug: starcode 0x000001b5
[00000169] packetizer_mpeg4video decoder debug: starcode 0x00000100
[00000169] packetizer_mpeg4video decoder debug: Reopening output
[00000164] main stream output debug: removing an input
[00000164] main stream output debug: adding a new input
[00000165] stream_out_transcode private debug: creating video transcoding from 
fcc=`mp4v' to fcc=`mp4v'
header damaged

So it seem that vlc was unable to 

-- 
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