Where to set transcoding quality or bitrate
Added by Vlad Obrad almost 10 years ago
Hello together,
I have TVHeadend Version 3.9.2208 installed on my Synology NAS. It is working really good and I have configured a Streaming Profile for a specific User, which is used together with XBMC and it is working fine.
I have specified a resolution of 720 which produces a transcoded stream in 720p.
The only remaining challenge I have is, where to specify quality or bitrate. I just want to use it in my local network. So I would like to increase the bitrate to lets sa 10Mbit/s or somthing like this.
Can someone help me out here, where to set that.
Thanks again for all ur hard work here.
Regards
Vlaves
Replies (3)
RE: Where to set transcoding quality or bitrate - Added by Prof Yaffle almost 10 years ago
I think it's hard-coded in transcoding.c at the moment - assuming H.264, it looks like preset=medium, profile=baseline. You could play with those (line 1060ish) and see what difference they make?
https://trac.ffmpeg.org/wiki/Encode/H.264
(of course, if you're just streaming on the LAN, you could leave the original stream and not transcode it...)
RE: Where to set transcoding quality or bitrate - Added by Vlad Obrad almost 10 years ago
Thanks for the answer So to change the value I would need to recompile completely if I see this right :(
Sadly I'm not able to do that.
Yeah, I know I can use without transcoding in LAN, but the problem is that my Amazon Fire TV is not able to deinterlace my 1080i streams at all, so I thought I could transcode them to 1080p or 720p. That's at least the Idea. Guess I have to wait if this will get an option in tvheadend or to see if someone willing to compile with different setting.
Thanks again for your help.
Regards
Vlaves
PS is there maybe a good howto, how I can do this myself. I could also setup ubuntu on that server.
Thanks again
RE: Where to set transcoding quality or bitrate - Added by Vlad Obrad almost 10 years ago
Hello to the devs here.
would it be able to make a high quality option for transcoding? As I understood, this is hardcoded, as Prof Yaffle said.
I would change it by myself if I could. Sadly I'm not able to do that
Maybe if some of the dev could implement this change, it would be realy great. There are a lot of Android boxes out there, which make a really good tvheadend Client, sadly without deinterlacing support. But still they can easely decode 1080p.
So please if someone could help out here it would really be great.
Thanks a lot for your support here and all the hard work.
Regards
Vlaves