<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 12/03/12 03:06, Petar Koretić wrote:
<blockquote
cite="mid:CAOWmdGNt8UChLMUzvHem4Cict_Cffp=E4pbX1UhsOrdDh054gw@mail.gmail.com"
type="cite">I wrote that on the line above. In this case, with
mpeg2 codec ffmpeg uses more resources per one stream, and since
we have 50-100 live channels transcoding this ends up being pretty
big difference.
<div>On the other hand, If there is an obvious option, why is not
working? Maybe I should file a bug report?<br>
<br>
<div class="gmail_quote">On Sun, Dec 2, 2012 at 1:45 PM, dE . <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:de.techno@gmail.com" target="_blank">de.techno@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>I'm not a webserver expert and I think I don't understand
your requirements, but you can use ffmpeg for this.</p>
<div class="im"><br>
---------------------------------<br>
Support software for non profit, buy Android phones.</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_quote">On Dec 2, 2012 12:13 AM, "Petar
Koretić" <<a moz-do-not-send="true"
href="mailto:petar.koretic@gmail.com"
target="_blank">petar.koretic@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm doing real time transcoding on our servers. Gui
is not an option. There is already web gui fronted
for transcoding.<br>
<br>
<div class="gmail_quote">On Sat, Dec 1, 2012 at 7:01
PM, dE . <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:de.techno@gmail.com"
target="_blank">de.techno@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<p>Why dont you use the force aspect ratio line
in vlc GUI settings?<br>
---------------------------------<br>
Support software for non profit, buy Android
phones.</p>
<div class="gmail_quote">
<div>
<div>On Nov 30, 2012 3:23 AM, "Petar
Koretić" <<a moz-do-not-send="true"
href="mailto:petar.koretic@gmail.com"
target="_blank">petar.koretic@gmail.com</a>>
wrote:<br type="attribution">
</div>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div>
<div>
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">This
is ffmpeg line ( I have removed other
parameters as it would be too long)
which works, it sets aspect ratio to
what I want (checked with mediainfo,
and seen on the system)</span><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<br>
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">ffmpeg
-i $1 -vcodec mpeg2video -aspect
"16:9" -vf scale=$width:$height -an -f
mpegts </span><a
moz-do-not-send="true"
style="margin:0px;padding:0px;direction:ltr;text-decoration:initial;color:rgb(93,143,189);border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(102,102,102);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">udp://@$2</a><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">for
vlc I use this</span><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<br>
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">vlc
-I dummy -vvv $1 --sout
"#transcode{vcodec=mpeg2v,width=$width,height=$height,acodec=none}</span><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Here
I tried putting aspect ratio settings
on four different places with
different names as found over the
internet and vlc wiki (aspect,
canvas-aspect,
canvas-ratio,aspect-ratio) but I just
cannot get it to work.</span><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">In
vlc help I can see</span><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">--aspect-ratio
<string> Source aspect ratio</span><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">but
setting that (--aspect-ratio="16:9")
haven't changed output aspect ratio.</span><br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<br
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">I
wan't to have it over vlc since cpu
usage with 20 channels transcoded and
streamed over the network in realtime
is 20% difference on the server.</span>
<div>
<span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)"><br>
</span></div>
<div><span
style="color:rgb(51,51,51);font-family:'Lucida
Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Thanks
in advance.</span></div>
<br>
</div>
</div>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription
options:<br>
<a moz-do-not-send="true"
href="http://mailman.videolan.org/listinfo/vlc"
target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
<br>
</blockquote>
</div>
<br>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription
options:<br>
<a moz-do-not-send="true"
href="http://mailman.videolan.org/listinfo/vlc"
target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
<br>
</blockquote>
</div>
<br>
<br>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a moz-do-not-send="true"
href="http://mailman.videolan.org/listinfo/vlc"
target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a moz-do-not-send="true"
href="http://mailman.videolan.org/listinfo/vlc"
target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="http://mailman.videolan.org/listinfo/vlc">http://mailman.videolan.org/listinfo/vlc</a>
</pre>
</blockquote>
<br>
But VLC uses ffmpeg libraries itself, so the inefficiency of the
codec will persist. Also it may 'appear' to be faster cause the
aspect ratio is not enforced.<br>
<br>
I'd suggest you compile ffmpeg from GIT and use custom CFLAGS
optimised for your server.<br>
<br>
Constant bitrate also helps, and maybe you can you filters instead
of -aspect to improve performance.<br>
</body>
</html>