Project

General

Profile

Change resolution for the rtsp stream?

Added by daniel magnusson almost 13 years ago

I'd like to lower the resolution to be able to watch the stream on the iPad, is there any way i can do this?


Replies (8)

RE: Change resolution for the rtsp stream? - Added by Hein Rigolo almost 13 years ago

Then you need to recode the stream. That is not directly possible in tvheadend. You can loop the stream through ffmpeg or vlc, they can recode streams.

Hein

RE: Change resolution for the rtsp stream? - Added by daniel magnusson almost 13 years ago

Dont really know about any code in tvheadend, but is it as easy as; having a ffmpeg oneliner to recode a file to another file, and then provide http link to the 2nd file?

RE: Change resolution for the rtsp stream? - Added by Phill Lavender almost 13 years ago

Try this: https://github.com/john-tornblom/tvheadend/tree/transcode

Just search for John in the forms he's working on a transcoder branch and Android front end. Not sure about IPad but worth a try.

Phill

RE: Change resolution for the rtsp stream? - Added by daniel magnusson almost 13 years ago

Phill Lavender wrote:

Try this: https://github.com/john-tornblom/tvheadend/tree/transcode

Just search for John in the forms he's working on a transcoder branch and Android front end. Not sure about IPad but worth a try.

Phill

Very interesting, thanks

RE: Change resolution for the rtsp stream? - Added by Alex . almost 13 years ago

Hi,

I would like to get a lower resolutions stream from tvheadend as well so I compiled and installed the Transcode-branch ;

However, I do not seem to get any additional options ( and I cant find any instruction).
How can I use transcoding ? Can I use it from a browser or frontend-application, or does it only work from the dedicated android app ?

Thanks for any advice,

Alex.

RE: Change resolution for the rtsp stream? - Added by daniel magnusson almost 13 years ago

ive seen some "resolution" settings in the android app, soo you might try it there.

https://www.lonelycoder.com/redmine/boards/5/topics/1505

and apk here;
http://sb1066.homelinux.com/tvhguide/

RE: Change resolution for the rtsp stream? - Added by Alex . almost 13 years ago

Thanks for the links !

Indeed I installed the android app, it works showing the tvguide, and indeed it has a resolution setting (but cant use it right now, ill look into that later).

However, I am also still confused about the transcoding branch:

- There is a zipfile, or I can use "git clone https://github.com/john-tornblom/tvheadend.git"
However, both give different results. Are they not supposed to be the same? Anyway, I need the zipfile it appears....

(Using git clone gives a working tvheadend which basically looks like the normal thing, and i can watch tv frm a browser.)

Using the zipfile, I get a version that tries to endcode/transcode, but ends with errors ( when looking using a browser):

Feb 04 12:36:53 cwc: Obtained key for for service "SBS 6" in 247 ms, from 127.0.0.1
Feb 04 12:36:53 transcode: MPEG2AUDIO > VORBIS
Feb 04 12:36:53 transcode: MPEG2VIDEO 720x576 > VP8 480x384
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder
Feb 04 12:36:54 transcode: Unable to find video encoder

So, am i missing some dependencies?
I did try with both FFMpeg and libav installed (not at the same time since they block eachother).

I looked through the readmefiles etc, but can't seem to find any clues...

Thanks for any clues....

Alex.

EDIT:

Ok, I am some steps further, I managed to install the right version of the transcoding branch and it now works with LIBav.

It might seem trivial but getting the right version to work woth LibAv was not so easy for me on my system (gentoo) : Some versions crashed on LIBAV, other versions ( when using FFMPEG) where starting but failed on trying to transcode.
However, I've got the right version now it seams.

Alex.

RE: Change resolution for the rtsp stream? - Added by Igosr Petroff over 12 years ago

Hi
I'm trying to compile John-tornblom branch and get success on 32 bit ubuntu, not yet 64 bit.
My idea is to automatic transcoding when going to the 1920x1080 channel to reduce it up to
1280x720 like here: h**p://89.208.33.168:8100 so possibility to stream via internet.
Any suggestions?

Regards.

26.png (227 KB) 26.png
    (1-8/8)