[vlc] Re: basic question about codec

Sigmund Augdal sigmunau at stud.ntnu.no
Tue Jun 14 19:05:14 CEST 2005


On Tue, Jun 14, 2005 at 05:58:35PM +0200, Antoine Bardel wrote:
> thanks a lot for your answer. 
> 
> But there's a thing I still don't understand : 
> 
> when I write : vcodec = mp4v, Am I choosing a video codec or a container ?
> same for acodec = mpga ?

The container format is selected with the mux= lines later in an ordinary
sout line. Some times (like streaming rtp) no container format is used.

Sigmund
> 
> 
> thanks
> 
> 
> 
> On 6/14/05, list at scttransport.dk <list at scttransport.dk> wrote:
> > 
> >  A codec is normally considered either for audio or video. Mpeg, avi, mov 
> > etc are not codecs, they are containers (which contains stuff that have been 
> > encoded with a codec)
> > 
> >  Codecs are divx, xvid, mp3, h.264 etc. etc.
> > 
> > It can be confusing though since some formats are normally just mentioned 
> > as 1, like windows media files or quicktime files.
> > 
> >  A place I would recommend if u want to know more, is www.doom9.org<http://www.doom9.org/>which contains a lot of info on video encoding.
> > 
> >  Cheers
> > 
> > Jonas Larsen
> >   ------------------------------
> >  
> > *From:* vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] *On 
> > Behalf Of *Antoine Bardel
> > *Sent:* 14. juni 2005 17:36
> > *To:* vlc at videolan.org
> > *Subject:* basic question about codec
> >  
> >  Hi all,
> > 
> > I would like to clarify one thing about tv streaming. 
> > I'm using this command line : 
> > 
> > vlc -vvv --color --sout 
> > '#transcode{vcodec=mp4v,vb=4000,venc=ffmpeg{keyint=80,hurry-up,vt=800000},scale=1,acodec=mpga,ab=128,samplerate=44100}:std{access=udp,mux=ts,pcr=100,url=
> > 239.255.1.1 <http://239.255.1.1>,sap,name="F2"}' 
> > v4l:/dev/video0:size=640x380:frequency=623250:norm=secam:adev=/dev/dsp:audio=0
> > 
> > One thing I'm not clear with is the codec stuff. I thought that in a video 
> > codec, there was sound layers no ? (ex: mpeg). So why do I have to put a 
> > video and an audio codec there ?
> > 
> > I know this is a basic question, but if someone could explain it to me it 
> > would help a lot !!
> > 
> > Thanks
> >

-- 
Sigmund Augdal
Edgar B. Schieldropsv 29-14
N-7033 Trondheim
Norway
tlf: 91809129

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list