njumzs / mythdroid

Automatically exported from code.google.com/p/mythdroid
0 stars 0 forks source link

mp4 stream settings #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?
0.5.3 (trunk)

Which version of MDD?
0.5.3

Which version of MythTV were you using? (e.g. mythfrontend --version)
0.23 MBE

No problem, possible enhancement - a suitable stream setting for mdd.conf to 
stream mp4video. - much less resource hungry, if the handset can decode it. 
Streams very good quality video and audio when selecting 1024 on the stream 
bitrate. (CPU @ 25-30% for 1024kb/s, rather than 95-100% for 128kb/s h264)

Tested with mpeg2 streams recorded from UK DVB-T and recordings transcoded to 
.nuv.
Most .avi video files stream OK as well. Have a problem with one avi (xvid 
1.1.2)- no video is streamed. 
But for me, I can stream all recordings from the backend to my Samsung Galaxy 
Mini

Please provide any additional information below.

stream = /usr/bin/vlc -vvv --rc-host back.end.i.p:16547 --rc-fake-tty  
--file-caching=2000 %FILE% 
--sout='#transcode{vcodec=mp4v,vb=%VB%,fps=25,scale=0,width=320,height=240,acode
c=mp4a,ab=%AB%,channels=2,samplerate=48000,audio-sync}:rtp{sdp=rtsp://back.end.i
.p:5554/stream}' 2>&1

Original issue reported on code.google.com by minidroi...@gmail.com on 28 Nov 2011 at 5:29

GoogleCodeExporter commented 8 years ago
Thanks minidroidboy. I'll add a streaming codec preference in MythDroid and 
adjust the stream command so that we can tell mdd which invocation to use..

Original comment by foobum on 28 Nov 2011 at 9:51

GoogleCodeExporter commented 8 years ago
At least on my box mp4v encoding is more expensive than the existing h264 
baseline encode. I guess the lower cpu usage you saw is down to the fact that 
you have specified a lower resolution. r618 limits the resolution of the 
streamed video to that of the device display, which should mean that the cpu 
usage of the transcode process is significantly reduced when you're transcoding 
for a low resolution device (like yours). 

Original comment by foobum on 17 Dec 2011 at 1:17