MythVideo won't play videos after update to 0.22

I have about 600 videos, mostly in .mp4 format, some .m4v, and some .avi. All of the .avi videos seem to play, but most of the .mp4 and .m4v files won't play. (I haven't found any .m4v files that will play yet, but I haven't checked them all.) All of these videos would play prior to the update. They also play on VLC.

Any suggestions?

What does mythfe say?

Quit MD on your FE and open a shell. Type mythfrontend. Navigate to a video that has problems and try to play it. Exit MD. What error message is shown on the terminal?

Terminal output from mythfrontend

I believe the applicable output is:

2010-03-12 12:51:19.861 Unable to find image file: mv_browse_nocover_large.png
2010-03-12 12:51:20.977 TV: Attempting to change from None to Watching Video
2010-03-12 12:51:21.055 TV: StartPlayer(0, Watching Video, main) -- begin
2010-03-12 12:51:21.705 AFD: Opened codec 0x3f1f190, id(H264) type(Video)
2010-03-12 12:51:21.706 AFD: codec AAC has 2 channels
2010-03-12 12:51:21.706 [libfaad @ 0x32c99eb9c0]FAAD library: libfaad.so could not be opened!
libfaad.so: cannot open shared object file: No such file or directory
2010-03-12 12:51:21.706 AFD Error: Could not open codec 0x3f1aa60, id(AAC) type(Audio) aborting. reason -1
2010-03-12 12:51:21.706 NVP(0): Disabling Audio, params(-1,-1,-1)
2010-03-12 12:51:21.706 Couldn't open decoder for: myth://Videos@192.168.1.108:6543/Addams Family/Addams Family.m4v
2010-03-12 12:51:21.707 TV: StartPlayer(0, Watching Video, main) -- end error
2010-03-12 12:51:40.331 Deleting UPnP client...

On my system, there are no .so files in the /etc/lib/ directory. libfaad.so.0 is in the /etc/lib64/ directory, so I changed the symlink to: ln -s /usr/lib64/libfaad.so.0 /usr/lib64/libfaad.so

Now it works great. Thanks for all the help.

Well I should mention that

Well I should mention that all my mp4 files are H264 not avi... I found my errors inside /var/log/messages when I would try to spawn the player... Honestly I have no idea then... see if you can find errors and then we can troubleshoot more... (Funny you caught me on a weekend building a new mythbox or I would have missed your post)

MythVideo mp4 problems

There wasn't anything in /var/log/messages, but I found this in /var/log/mythtv/mythfrontend.log

2010-03-11 14:56:48.902 TV: StartPlayer(0, Watching Video, main) -- begin
2010-03-11 14:56:49.528 AFD Error: Could not open codec 0x7f24dca105d0, id(AAC) type(Audio) aborting. reason -1
2010-03-11 14:56:49.528 NVP(2): Disabling Audio, params(-1,-1,-1)
2010-03-11 14:56:49.528 Couldn't open decoder for: myth://Videos@192.168.1.108:6543/Bourne/Bourne Identity.mp4
2010-03-11 14:56:49.528 TV: StartPlayer(0, Watching Video, main) -- end error

So I started one of the movies that works. Here's what was added to the log.

2010-03-11 15:18:40.279 Unable to find image file: mv_browse_nocover_large.png
2010-03-11 15:18:42.157 TV: StartPlayer(0, Watching Video, main) -- begin
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2010-03-11 15:18:42.767 AudioOutput Warning: Mixer attach error -2: No such file or directory
Check Mixer Name in Setup: '/dev/mixer'
2010-03-11 15:18:42.784 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
2010-03-11 15:18:43.168 TV: StartPlayer(0, Watching Video, main) -- end ok
2010-03-11 15:18:43.170 New DB connection, total: 3

It appears that I may have a problem in my audio set up, although the sound plays just fine.

I checked the codec info (from the VLC player) on the movies that will play vs. the ones that won't. The ones that will play have the audio encoded with mpga the ones that won't are encoded with mp4a, so it appears to be something with the AAC decoder. VLC works correctly on the same machine, so it may be just the FFmpeg internal player configuration.

MythVideo and Updates

I ran into this issue too... scared me to death... I bloged the odd fix just to save people time:

http://blog.jgriffiths.org/?p=134

It's pretty easy to fix... Hopefully the next version of mythdora will be fine.

Also this version has a lot of changes to the way video meta data is handled you may want to look into those changes too...

(sad... I had to rename all my TV shows to get auto metadata after update..)

MythVideo mp4 problems

Adding the link didn't fix mine. It's odd because it will play a few mp4s, just not most of them. It has no problems with the avi files. Where did you get your info on the internal player? Do you know if it has a log file? (Yes, I'm pretty new to all this.)

The bulk IMDB updater doesn't seem to work for my files either. (The manual method works better than ever.) I'm hoping to find the answers at: http://www.mythtv.org/wiki/Jamu, but I need to get the player working first. (I really don't want to re-rip 500+ movies and Handbrake doesn't support avi anymore.

Thanks,

What issue are you having

What issue are you having with the bulk updater? If you haven't gone and retrieved one that works with tmdb.pl then yes it'll fail. http://thepisanis.com/node/11

Or you can go change the IMDB path in the md10 version to point to tmdb.pl.

Ryan

Updating IMDB Bulk Update

I put the new imdb-bulk-update.pl in /usr/share/mythdora/extras/ and tmdb.pl in /usr/share/mythtv/mythvideo/scripts. I hope that's right. It seems to work now. (I didn't know what to do with the other files.)

Awesome job on the Bulk Updater. It's something that MythTV really needed.

Thanks for your help.

Update: Do not copy the tmdb.pl from the tar file into directory as stated above. You will get "Fanart query failed, Unknown option b" and "Poster query failed, Unknown option p". If you already did, you can get a working copy of tmdb.pl from http://www.mythtv.org/wiki/Tmdb.pl