He there,
I have a vu+duo2 and i am looking for a transcoding plugin with more options than the original one. For example i would like to change the output to be in RTMP format and not to be limited to only 720p transcoding.
Any help will be very appreciated!
Thanks!
You mean, that third party transcoding plugin is not possible to be made?
I doubt!
Thats great! Thanks, i will take a look.
But is there anyone who can enlight me, does the transcoding chip inside the VU+duo2 support RTMP format output?
I'm not sure about the RTMP format but I've made a couple of changes / enhancements in the transcoding setup plugin to get more out of the Vu+ Duo2 transcoder.
I've attached the file if you are interested.
Changes:
- I've changed 576p to 720x576 (to be treated as a custom resolution so parameters like 'refreshrate', 'width', 'height' can take effect)
- I've added resolution 960x540 (which is 1920x1080 / 2, great if you need to stream HD over 3G with limited bandwidth)
- Set "refreshrate" from "framerate" (this is used by all custom resolutions, not for 480p, 576p, 720p)
- Renamed "gopframe" to "gopframeb" (I think this is a typo in the original VU+ plugin, it allow us to set the essential number of B-frames in the h.264 transcoder)
If you compare with the original plugin you have on your box (/usr/lib/enigma2/python/Plugins/SystemPlugins/TransCodingSetup/plugin.py) you'll see the differences.
For reference, these are my transcoder settings:
root@vuduo2:/# /hdd/save/show_encoder_setup.sh
/proc/stb/encoder/0/aspectratio 0
/proc/stb/encoder/0/aspectratio_choices 0:auto 1:4x3 2:16x9
/proc/stb/encoder/0/audio_codec aac
/proc/stb/encoder/0/audio_codec_choices mpg mp3 aac aac+ aac+loas aac+adts
/proc/stb/encoder/0/audio_pid 0
/proc/stb/encoder/0/bitrate 1300000
/proc/stb/encoder/0/demux 0
/proc/stb/encoder/0/display_format custom
/proc/stb/encoder/0/display_format_choices 480p 576p 720p
/proc/stb/encoder/0/framerate 25000
/proc/stb/encoder/0/framerate_choices 23976 24000 25000 29970 30000 50000 59940 60000
/proc/stb/encoder/0/gop_frameb 2
/proc/stb/encoder/0/gop_frameb_choices # of B frames between reference I or P frames
/proc/stb/encoder/0/gop_framep 25
/proc/stb/encoder/0/gop_framep_choices # of P frames per GOP
/proc/stb/encoder/0/height 540
/proc/stb/encoder/0/interlaced 0
/proc/stb/encoder/0/level 4.0
/proc/stb/encoder/0/level_choices 1.0 2.0 2.1 2.2 3.0 3.1 3.2 4.0 4.1 4.2 5.0 low main high
/proc/stb/encoder/0/pcr_pid 0
/proc/stb/encoder/0/pmt_pid 0
/proc/stb/encoder/0/profile main
/proc/stb/encoder/0/profile_choices baseline simple main high advancedsimple
/proc/stb/encoder/0/refreshrate 25000
/proc/stb/encoder/0/video_codec h264
/proc/stb/encoder/0/video_codec_choices h264 mpeg2 mpeg4p2
/proc/stb/encoder/0/video_pid 0
/proc/stb/encoder/0/width 960
Hi, thank you for the mod.
Just one thing you only have one choice of codec in your file:
if fileExists( getProcPath(encoder, "videocodec") ):
choice = TconfigSelection(encoder, default = "h264", choices = [ ("h264", _("h264")) ] )
setAttr("videocodec", encoder, choice)
Will it support the others that you mention: mpeg2 mpeg4p2 ?
if fileExists( getProcPath(encoder, "videocodec") ):
choice = TconfigSelection(encoder, default = "h264", choices = [ ("h264", _("h264")) , ("mpeg2", _("mpeg2")) , ("mpeg4p2", _("mpeg4p2")) ] )
setAttr("videocodec", encoder, choice)
I did try this and although you get a selection on the Plugin when you goto the webif interfce and click on the transcodeder Icon I only get Audio.
I am trying to get MPEG2 as my WD TV Live will play this format.
Useful info