njumzs / mythdroid

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

VLC cannot play recordings "here" #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?
0.53
Which version of MDD?
0.53
Which version of MythTV were you using? (e.g. mythfrontend --version)
 mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version   : g294968b
MythTV Branch    : 0.24-fixes
Network Protocol : 63
Library API      : 0.24.20110505-1
QT Version       : 4.7.3

What steps will reproduce the problem?
1. Open Mythdroid, select Recordings, select a recording by holding, select 
play "Here"
2. Get error: Cannot play video, Sorry, this video cannot be played
3. VLC.out says that 

What is the expected output? What do you see instead?
recording plays on android device

If you are reporting a 'force close' issue, please attach relevant logs
(e.g. from 'Log Collector', available via the market).

Please provide any additional information below.
vlc.out 

[0x8e3917c] main input debug: creating demux: access='file' demux='avformat' 
path='/myth/tv/1404_20120211200000.mpg'
[0x8e37094] main demux debug: looking for demux module: 0 candidates
[0x8e37094] main demux debug: no demux module matched "avformat"
[0x8e37094] main demux debug: TIMER module_need() : 0.084 ms - Total 0.084 ms / 
1 intvls (Avg 0.084 ms)
[0x8e3917c] main input error: no suitable demux module for 
`file/avformat:///myth/tv/1404_20120211200000.mpg'
[0x8e3917c] main input error: VLC can't recognize the input's format
[0x8e3917c] main input error: The format of 
'file:///myth/tv/1404_20120211200000.mpg' cannot be detected. Have a look at 
the log for details.

mdd.log
un 12 Feb 17:12:33 - Debug -   New connection from MythDroid
Sun 12 Feb 17:12:33 - Debug -   -> CMSG: STREAM 1280x752 VB 192 AB 64 SG 
Default FILE myth://192.168.80.131:6543/1404_20120211200000.mpg

Sun 12 Feb 17:12:33 - Debug -   <- CMSG: OK

Sun 12 Feb 17:12:33 - Debug -   Streaming 1280x752 VB 192 AB 64 SG Default FILE 
myth://192.168.80.131:6543/1404_20120211200000.mpg
Sun 12 Feb 17:12:33 - Debug -   Will use 2 threads for transcode
Sun 12 Feb 17:12:33 - Debug -   Streaming - resolved path is 
/myth/tv/1404_20120211200000.mpg
Sun 12 Feb 17:12:33 - Debug -   Execute /usr/bin/vlc --demux avformat -vvv -I 
oldrc --rc-host 0.0.0.0:16547 --rc-fake-tty --file-caching=2000 
/myth/tv/1404_20120211200000.mpg 
--sout='#transcode{vcodec=h264,venc=x264{no-cabac,level=30,keyint=50,ref=3,bfram
es=0,bpyramid=none,profile=baseline,no-weightb,weightp=0,no-8x8dct,trellis=0,sub
me=3,no-mbtree,partitions=none,no-mixed-refs},vb=192,threads=2,deinterlace,maxwi
dth=1280,maxheight=752,acodec=mp4a,samplerate=48000,ab=64,channels=2,audio-sync}
:rtp{sdp=rtsp://0.0.0.0:5554/stream,no-mp4a-latm}' 2>&1
Sun 12 Feb 17:12:33 - Warning - VLC: [0x8e3917c] main input error: no suitable 
demux module for `file/avformat:///myth/tv/1404_20120211200000.mpg'

Sun 12 Feb 17:12:33 - Warning - VLC: [0x8e3917c] main input error: VLC can't 
recognize the input's format

Sun 12 Feb 17:12:33 - Warning - VLC: [0x8e3917c] main input error: The format 
of 'file:///myth/tv/1404_20120211200000.mpg' cannot be detected. Have a look at 
the log for details.

Original issue reported on code.google.com by dothedog...@gmail.com on 13 Feb 2012 at 12:18

GoogleCodeExporter commented 8 years ago
It looks like VLC has been compiled without avformat (ffmpeg demux) support.. 
Either get a version of vlc with avformat support compiled in or edit mdd and 
remove the '--demux avformat' argument to vlc in $stream_cmd.

Original comment by foobum on 13 Apr 2012 at 9:48