njumzs / mythdroid

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

mythdroid is looking in the wrong directory #94

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 (Sony S1 Android 3.1)
2. Select Videos, select file with long hold, select here
3. mythdroid says: Cannot play video, Sorry, this video cannot be played
4. the path for the video is incorrect. it is looking in /home/mythtv when it 
should be looking in /mnt/public/videos

What is the expected output? What do you see instead?
Video plays

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.
mdd.log says:
    -> 

 open file /home/mythtv/2001/2001VC1AC3.mkv (No such file or directory)

Sun 12 Feb 17:05:13 - Warning - VLC: [0x8c2a55c] main access error: File 
reading failed

Sun 12 Feb 17:05:13 - Warning - VLC: [0x8c2a55c] main access error: VLC could 
not open the file "/home/mythtv/2001/2001VC1AC3.mkv".

Sun 12 Feb 17:05:13 - Warning - VLC: [0x8c2161c] main input error: open of 
`file:///home/mythtv/2001/2001VC1AC3.mkv' failed: (null)

Sun 12 Feb 17:05:13 - Warning - VLC: [0x8c2161c] main input error: Your input 
can't be opened

Sun 12 Feb 17:05:13 - Warning - VLC: [0x8c2161c] main input error: VLC is 
unable to open the MRL 'file:///home/mythtv/2001/2001VC1AC3.mkv'. Check the log 
for details.

Problem is that my storage group should be /mnt/public/videos

select * from storagegroup;
+----+------------+----------+-------------------------+
| id | groupname  | hostname | dirname                 |
+----+------------+----------+-------------------------+
|  5 | Default    | mythtv   | /myth/tv/               |
|  2 | LiveTV     | mythtv   | /myth/tv/               |
|  4 | DB Backups | mythtv   | /myth/backup/knoppmyth/ |
|  9 | Videos     | LinHES   | /mnt/public/videos/     |
|  8 | LiveTV     | LinHES   | /myth/tv/               |
| 10 | DB Backups | LinHES   | /myth/backup/           |
| 11 | Pictures   | LinHES   | /mnt/public/pictures/   |
+----+------------+----------+-------------------------+
7 rows in set (0.00 sec)

Is there a way to change this?

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

GoogleCodeExporter commented 8 years ago
Could you run mdd in debug mode and attach a log showing this please?

Original comment by foobum on 13 Apr 2012 at 10:06

GoogleCodeExporter commented 8 years ago
Not sure what happened but it looks like it is finding the files now, but still 
not playing. Is it the same problem as 95?

Sat 28 Apr 09:34:23 - Debug -   New connection from MythDroid
Sat 28 Apr 09:34:23 - Debug -   -> CMSG: VIDEOLIST -1 Hitchhiker

Sat 28 Apr 09:34:23 - Debug -   <- CMSG: OK

Sat 28 Apr 09:34:23 - Debug -   Videos SG exists
Sat 28 Apr 09:34:23 - Debug -   <- CMSG: VIDEO 
3313||HitchhikerH264AC3||||Unknown||None||||1895||||||Hitchhiker/HitchhikerH264A
C3.mkv||

Sat 28 Apr 09:34:23 - Debug -   <- CMSG: VIDEO 
3822||HitchhikerH264AC3||||Unknown||None||||1895||||||Hitchhiker/HitchhikerH264A
C3.m4v||

Sat 28 Apr 09:34:23 - Debug -   <- CMSG: VIDEOLIST DONE

Sat 28 Apr 09:34:38 - Debug -   -> CMSG: STREAM 1280x752 VB 1024 AB 128 SG 
Default FILE myth://Videos@192.168.80.131/Hitchhiker/HitchhikerH264AC3.m4v

Sat 28 Apr 09:34:38 - Debug -   <- CMSG: OK

Sat 28 Apr 09:34:38 - Debug -   Streaming 1280x752 VB 1024 AB 128 SG Default 
FILE myth://Videos@192.168.80.131/Hitchhiker/HitchhikerH264AC3.m4v
Sat 28 Apr 09:34:38 - Debug -   Will use 2 threads for transcode
Sat 28 Apr 09:34:38 - Debug -   Streaming - resolved path is 
/mnt/public/videos/Hitchhiker/HitchhikerH264AC3.m4v
Sat 28 Apr 09:34:38 - Debug -   Execute /usr/bin/vlc -vvv -I oldrc --rc-host 
0.0.0.0:16547 --rc-fake-tty --file-caching=2000 
/mnt/public/videos/Hitchhiker/HitchhikerH264AC3.m4v 
--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=1024,threads=2,deinterlace,maxw
idth=1280,maxheight=752,acodec=mp4a,samplerate=48000,ab=128,channels=2,audio-syn
c}:rtp{sdp=rtsp://0.0.0.0:5554/stream,no-mp4a-latm}' 2>&1
Sat 28 Apr 09:34:38 - Warning - VLC: [0x8e21b5c] stream_out_transcode stream 
out error: cannot find audio encoder (module:any fourcc:mp4a)

Sat 28 Apr 09:34:38 - Warning - VLC: [0x8e21b5c] stream_out_transcode stream 
out error: cannot create audio chain

Sat 28 Apr 09:34:38 - Warning - VLC: [0x928ec4c] main decoder error: cannot 
create packetizer output (mp4a)

Sat 28 Apr 09:34:38 - Warning - VLC: [0x8e21b5c] stream_out_transcode stream 
out error: cannot find video decoder

Sat 28 Apr 09:34:38 - Warning - VLC: [0x8e21b5c] stream_out_transcode stream 
out error: cannot create video chain

Sat 28 Apr 09:34:38 - Warning - VLC: [0x928b8dc] main decoder error: cannot 
create packetizer output (h264)

Sat 28 Apr 09:34:50 - Debug -   -> CMSG: STOPSTREAM

Sat 28 Apr 09:34:50 - Debug -   <- CMSG: OK

Sat 28 Apr 09:34:50 - Debug -   Stop streaming

Original comment by dothedog...@gmail.com on 28 Apr 2012 at 3:38

GoogleCodeExporter commented 8 years ago
Sorry, missed the update. It's not the same problem as 95 but it's similar - 
your VLC has been compiled without a mp4a (AAC) encoder. You'll need to get a 
VLC with AAC encoding support compiled in (probably something like 
--enable-libfaac if compiling by hand). Looks like you're missing h264 support 
too (--enable-libx264)!

Original comment by foobum on 21 May 2012 at 11:42

GoogleCodeExporter commented 8 years ago
Sorry, missed the update. It's not the same problem as 95 but it's similar - 
your VLC has been compiled without a mp4a (AAC) encoder. You'll need to get a 
VLC with AAC encoding support compiled in (probably something like 
--enable-libfaac if compiling by hand).

Original comment by foobum on 21 May 2012 at 11:45