Yes, VLC uses libraries but no the ffmpeg itself.<div>It's not about faster, it's about memory and cpu usage which was properly tested.</div><div>I'm now just curious what is the right way to set this in vlc.</div>
<div><br><div class="gmail_quote">On Wed, Dec 5, 2012 at 3:37 PM, dE . <span dir="ltr"><<a 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">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
On 12/03/12 03:06, Petar Koretić wrote:
<blockquote 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 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><br>
---------------------------------<br>
Support software for non profit, buy Android phones.</div>
<div>
<div>
<div class="gmail_quote">On Dec 2, 2012 12:13 AM, "Petar
Koretić" <<a 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 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 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>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>
<br>
<span>ffmpeg
-i $1 -vcodec mpeg2video -aspect
"16:9" -vf scale=$width:$height -an -f
mpegts </span><a>udp://@$2</a><br>
<br>
<span>for
vlc I use this</span><br>
<br>
<span>vlc
-I dummy -vvv $1 --sout
"#transcode{vcodec=mpeg2v,width=$width,height=$height,acodec=none}</span><br>
<br>
<span>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>
<br>
<span>In
vlc help I can see</span><br>
<span>--aspect-ratio
<string> Source aspect ratio</span><br>
<br>
<span>but
setting that (--aspect-ratio="16:9")
haven't changed output aspect ratio.</span><br>
<br>
<span>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><br>
</span></div>
<div><span>Thanks
in advance.</span></div>
<br>
</div>
</div>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription
options:<br>
<a 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 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 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 href="http://mailman.videolan.org/listinfo/vlc" target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
<a href="http://mailman.videolan.org/listinfo/vlc" target="_blank">http://mailman.videolan.org/listinfo/vlc</a>
</pre>
</blockquote>
<br></div></div>
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>
</div>
<br>______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc" target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
<br></blockquote></div><br></div>