[vlc] Re: basic question about codec

Paul Rae PRae at aminocom.com
Wed Jun 15 11:43:16 CEST 2005


Can this not be made any clearer?
 
When you select the video codec you are choosing the codec to encode the video stream
When you select the audio codec you are chooding the codec to encode the audio streamj

-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org]On Behalf Of Antoine Bardel
Sent: 15 June 2005 09:01
To: vlc at videolan.org
Subject: [vlc] Re: basic question about codec


thank you

 but this does not answer my question.

Why do I have to choose both a video and an audio codec ? (since video codec can encode sound) Are the streams separated ?

thanks


On 6/14/05, Jonas A. Larsen < jonas at vrt.dk> wrote: 

Mmm considering the field name I would think it was obvious?

 

If you chose vcodec u chose a video codec. If you chose acodec u chose an audio codec

Mp4v means mpeg4 video, which is a codec.

 


  _____  


From: vlc-bounce at videolan.org [mailto:  <mailto:vlc-bounce at videolan.org> vlc-bounce at videolan.org] On Behalf Of Antoine Bardel
Sent: 14. juni 2005 17:59
To: vlc at videolan.org
Subject: [vlc] Re: basic question about codec

 

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 ?


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: [vlc] 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=  <http://239.255.1.1> 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

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20050615/879dd220/attachment.html>


More information about the vlc mailing list