<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=283264109-15062005><FONT face=Arial color=#0000ff size=2>Can
this not be made any clearer?</FONT></SPAN></DIV>
<DIV><SPAN class=283264109-15062005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=283264109-15062005><FONT face=Arial color=#0000ff size=2>When
you select the video codec you are choosing the codec to encode the video
stream</FONT></SPAN></DIV>
<DIV><SPAN class=283264109-15062005><FONT face=Arial color=#0000ff size=2>When
you select the audio codec you are chooding the codec to encode the audio
streamj</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> vlc-bounce@videolan.org
[mailto:vlc-bounce@videolan.org]<B>On Behalf Of </B>Antoine
Bardel<BR><B>Sent:</B> 15 June 2005 09:01<BR><B>To:</B>
vlc@videolan.org<BR><B>Subject:</B> [vlc] Re: basic question about
codec<BR><BR></FONT></DIV>thank you<BR><BR> but this does not answer my
question.<BR><BR>Why do I have to choose both a video and an audio codec ?
(since video codec can encode sound) Are the streams separated
?<BR><BR>thanks<BR><BR>
<DIV><SPAN class=gmail_quote>On 6/14/05, <B class=gmail_sendername>Jonas A.
Larsen</B> <<A href="mailto:jonas@vrt.dk">jonas@vrt.dk</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mmm considering the
field name I would think it was obvious?</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If you chose vcodec
u chose a video codec. If you chose acodec u chose an audio
codec</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mp4v means mpeg4
video, which is a codec.</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0pt; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0pt; BORDER-LEFT: 1.5pt solid; PADDING-TOP: 0pt; BORDER-BOTTOM: medium none">
<DIV>
<DIV style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc-bounce@videolan.org"
target=_blank>vlc-bounce@videolan.org</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc-bounce@videolan.org" target=_blank>
vlc-bounce@videolan.org</A>] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of
</SPAN></B>Antoine Bardel<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> 14. juni 2005 17:59<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc@videolan.org"
target=_blank>vlc@videolan.org</A><BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [vlc] Re: basic question about
codec</SPAN></FONT></P></DIV>
<DIV><SPAN class=e id=q_1047efee5d44f506_1>
<P><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P style="MARGIN-BOTTOM: 12pt"><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">thanks a lot for your answer. <BR><BR>But
there's a thing I still don't understand : <BR><BR>when I write : vcodec =
mp4v, Am I choosing a video codec or a container ?<BR>same for acodec
= mpga ?<BR><BR><BR>thanks<BR><BR><BR></SPAN></FONT></P>
<DIV>
<P><SPAN><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">On 6/14/05, <B><SPAN style="FONT-WEIGHT: bold"><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:list@scttransport.dk"
target=_blank>list@scttransport.dk</A></SPAN></B> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:list@scttransport.dk"
target=_blank>list@scttransport.dk</A>> wrote: </SPAN></FONT></SPAN></P>
<DIV>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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)</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Codecs are divx,
xvid, mp3, h.264 etc. etc.</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">It can be confusing
though since some formats are normally just mentioned as 1, like windows
media files or quicktime files.</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">A place I would
recommend if u want to know more, is <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.doom9.org/" target=_blank>www.doom9.org</A> which contains
a lot of info on video encoding.</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Cheers</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Jonas
Larsen</SPAN></FONT></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0pt; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0pt; BORDER-LEFT: 1.5pt solid; PADDING-TOP: 0pt; BORDER-BOTTOM: medium none">
<DIV>
<DIV style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=3>
</SPAN></FONT></DIV>
<P><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc-bounce@videolan.org"
target=_blank>vlc-bounce@videolan.org</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc-bounce@videolan.org"
target=_blank>vlc-bounce@videolan.org</A>] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Antoine Bardel<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> 14. juni 2005 17:36<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc@videolan.org"
target=_blank>vlc@videolan.org</A><BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [vlc] basic question about
codec</SPAN></FONT></P></DIV>
<DIV><SPAN>
<P><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hi
all,<BR><BR>I would like to clarify one thing about tv streaming. <BR>I'm
using this command line : <BR><BR>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=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://239.255.1.1" target=_blank> 239.255.1.1</A>,sap,name="F2"}'
v4l:/dev/video0:size=640x380:frequency=623250:norm=secam:adev=/dev/dsp:audio=0<BR><BR>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 ?<BR><BR>I know this is a basic question, but
if someone could explain it to me it would help a lot
!!<BR><BR>Thanks</SPAN></FONT></P></SPAN></DIV></DIV></DIV></DIV>
<P><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"></SPAN></FONT> </P></SPAN></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>