[rygel] core: Reduce bitrate of mpeg2 video encoder to 3Mbps
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] core: Reduce bitrate of mpeg2 video encoder to 3Mbps
- Date: Fri, 12 Jun 2009 17:29:21 -0400 (EDT)
commit 6558de24b49cb71d7403017dc7db2e597a4e9dde
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Jun 13 00:17:43 2009 +0300
core: Reduce bitrate of mpeg2 video encoder to 3Mbps
PS3 didn't like that bitrate so I assume it wasn't even allowed. This
one now works perfect with PS3 at least.
src/rygel/rygel-mp2ts-transcoder.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-mp2ts-transcoder.vala b/src/rygel/rygel-mp2ts-transcoder.vala
index 89e0b71..df4c398 100644
--- a/src/rygel/rygel-mp2ts-transcoder.vala
+++ b/src/rygel/rygel-mp2ts-transcoder.vala
@@ -77,8 +77,7 @@ internal class Rygel.MP2TSTranscoder : Rygel.Transcoder {
dynamic Element encoder = GstUtils.create_element (VIDEO_ENCODER,
VIDEO_ENCODER);
- encoder.bitrate = (int) 30000000;
- encoder.bitrate_tolerance = (int) 100000000;
+ encoder.bitrate = (int) 3000000;
var bin = new Bin ("video-encoder-bin");
bin.add_many (videorate, videoscale, convert, encoder);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]