transcoding mpeg2 TS to mp4

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
DeftonesXP
New Cone
New Cone
Posts: 9
Joined: 01 Jun 2005 17:01
Location: Université de Sherbrooke, Québec

transcoding mpeg2 TS to mp4

Postby DeftonesXP » 01 Jun 2005 17:58

Hi everyone!

I am trying to do it under linux (RedHat 8.0). I downloaded vlc 0.8.1 with all the libs and compiled everything from src.

Since it didn't work in linux, I tried using a precompiled vlc on win2k and this command is actually working (same vers.). I suppose it's a mp4 lib problem, but I just don't know what to do to fix this problem. Please help me !

Here's my command :
add /record/testno2.mpg :sout=#transcode{vcodec=mp4v,vb=128,scale=0.5,acodec=mp4a,ab=64,channels=2}:duplicate{dst=std{access=file,mux=mp4,url="/record/test.mp4"}}

Then here's what I get :
[root@pizzabox record]# vlc -v
VLC media player 0.8.1 Janus
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
Remote control interface initialized, `h' for help

add /record/testno2.mpg :sout=#transcode{vcodec=mp4v,vb=128,scale=0.5,acodec=mp4a,ab=64,channels=2}:duplicate{dst=std{access=file,mux=mp4,url="/record/test.mp4"}}
trying to add /record/testno2.mpg :sout=#transcode{vcodec=mp4v,vb=128,scale=0.5,acodec=mp4a,ab=64,channels=2}:duplicate{dst=std{access=file,mux=mp4,url="/record/test.mp4"}} to playlist
add: returned 0 (no error)
[00000223] vcd access warning: could not open /record/testno2.mpg
[00000229] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000229] avi demuxer warning: avi module discarded (invalid header)
[00000229] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000229] mpgv demuxer warning: ES module discarded (no startcode)
[00000229] aac demuxer warning: AAC module discarded
[00000229] sap demuxer warning: SDP (UDP) module discarded
[00000229] ogg demuxer warning: ogg module discarded (invalid header)
[00000229] real demuxer warning: Real module discarded
[00000229] pva demuxer warning: PVA module discarded
[00000229] nsv demuxer warning: NSV module discarded
[00000229] aiff demuxer warning: AIFF module discarded
[00000229] playlist demuxer warning: old import module discarded: invalid file
[00000229] playlist demuxer warning: pls import module discarded
[00000229] au demuxer warning: AU module discarded
[00000229] ts demuxer warning: first packet for pid=301 cc=0xc
[00000273] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 bitrate:256
[00000280] ffmpeg encoder error: cannot find encoder MPEG AAC Audio
[00000210] stream_out_transcode private error: cannot find encoder
[00000210] stream_out_transcode private error: cannot create audio chain
[00000273] main packetizer error: cannot create packetizer output
[msmpeg4 @ 0x83a5764]only YUV420 is supported
[00000287] ffmpeg encoder error: cannot open encoder
[00000210] stream_out_transcode private error: cannot find encoder
[00000210] stream_out_transcode private error: cannot create video chain
[00000255] main packetizer error: cannot create packetizer output
[00000208] main input warning: Program doesn't contain anymore ES, TODO cleaning ?
[00000208] main input warning: destroying sout


Thank you in advance !

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests