<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0pt;
mso-margin-bottom-alt:auto;
margin-left:0pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mmm considering the field name I would
think it was obvious?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If you chose vcodec u chose a video codec.
If you chose acodec u chose an audio codec<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mp4v means mpeg4 video, which is a codec.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0pt 0pt 0pt 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
vlc-bounce@videolan.org [mailto:vlc-bounce@videolan.org] <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> <st1:PersonName w:st="on">vlc@videolan.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [vlc] Re: basic question
about codec</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>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>
<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 6/14/05, <b><span style='font-weight:bold'><a
href="mailto:list@scttransport.dk">list@scttransport.dk</a></span></b> <<a
href="mailto:list@scttransport.dk">list@scttransport.dk</a>> wrote: </span></font></span><o:p></o:p></p>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>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><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Codecs are divx, xvid, mp3, h.264 etc. etc.</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>It can be confusing though since some formats are normally
just mentioned as 1, like windows media files or quicktime files.</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>A place I would recommend if u want to know more, is <a
href="http://www.doom9.org/" target="_blank">www.doom9.org</a> which contains a
lot of info on video encoding.</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Cheers</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Jonas Larsen</span></font><o:p></o:p></p>
<div style='border:none;border-left:solid windowtext 1.5pt;padding:0pt 0pt 0pt 4.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:vlc-bounce@videolan.org" target="_blank">vlc-bounce@videolan.org</a>
[mailto:<a 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
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><o:p></o:p></p>
</div>
<div><span id="q_1047b8fe3cc4ff21_1">
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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
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<o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</span>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>