<!DOCTYPE html><html><head><style type="text/css">body { font-family:'DejaVu Sans Condensed'; font-size:18px; background:Window}</style></head><body><div>On Mon, 21 May 2012 08:23:59 +0100, Raffaele BELARDI &lt;raffaele.belardi@st.com&gt; wrote:<br><br>&gt; On 05/20/2012 10:20 PM, Roger Siddons wrote:<br>&gt;&gt;&gt; On 05/14/2012 09:05 AM, Raffaele Belardi wrote:<br>&gt;&gt;&gt;&gt; After the move to 0.25 playback of the videos recorded from my still<br>&gt;&gt;&gt;&gt; camera in MythGallery is awful: Internal player plays a couple of<br>&gt;&gt;&gt;&gt; seconds, then stops audio and video, then continues, then stops again<br>&gt;&gt;&gt;&gt; and so on. The log is full of "Timed out waiting for frames, and There<br>&gt;&gt;&gt;&gt; are not enough free frames, discarding buffered frames".<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; mplayer plays the same files without issues. No problem playing AVIs  <br>&gt;&gt;&gt;&gt; nor<br>&gt;&gt;&gt;&gt; high quality mkv with Internal player. Live TV is ok.<br>&gt;&gt; _______________________________________________<br>&gt;&gt;<br>&gt;&gt; Yes. I also noticed this a few days ago.<br>&gt;&gt;<br>&gt;&gt; My camera generates MOV files which produce the problems you describe.<br>&gt;&gt; Some of these I have compressed to AVI files (for web posting) and these<br>&gt;&gt; also have the stutter. However other (downloaded) AVI files play  <br>&gt;&gt; perfectly<br>&gt;&gt; in Myth, as do other formats. All these 'problem files' play perfectly  <br>&gt;&gt; in<br>&gt;&gt; VLC and mythffplay.<br>&gt;&gt;<br>&gt;&gt; So is it an issue with MythVideo playing files produced by cameras ?<br>&gt;&gt;<br>&gt;&gt; I used VLC to play these movies in 0.24 but I don't remember why - I  <br>&gt;&gt; must<br>&gt;&gt; have had some issues back then as well.<br>&gt;&gt;<br>&gt;&gt; More worryingly, I can't seem to change the MythGallery player any more  <br>&gt;&gt; -<br>&gt;&gt; it no longer appears to respect the Video File Type settings in 0.25.  <br>&gt;&gt; If I<br>&gt;&gt; copy a camera video to my 'videos' directory it plays using VLC (as<br>&gt;&gt; configured). However the same video in my 'pictures' directory always<br>&gt;&gt; invokes the Internal player.<br>&gt;&gt;<br>&gt;&gt; I've attached a "-v playback --loglevel debug" log. The "60 Hz Display<br>&gt;&gt; Refresh Rate" is alarming (I'm using UK PAL) but it seems to report this<br>&gt;&gt; for playable videos as well, so I'm not sure what this really means.<br>&gt;&gt;<br>&gt;&gt; <a href="http://pastebin.com/rKBegn3T">http://pastebin.com/rKBegn3T</a><br>&gt;<br>&gt; Well, at least I'm not the only one!</div><div><br></div><div>Maybe no-one else has vain kids (&amp; doting grandparents) that want to spend hours watching themselves. The dev's don't seem interested in this MythVideo issue either - so much for the "use it for everything" push...</div><div><br>&gt;<br>&gt; Like you I'm unable to specify the player for MythGallery.<br>&gt;<br><br>I had a quick look at this problem today. This was an intentional change for 0.25 (<a href="http://code.mythtv.org/trac/changeset/9135b216787f9bd5b67089ceca64ece2df9ae593/mythtv">changeset</a>) although I can't find the reason for it.<br><br>&gt; Unlike you I was successful re-encoding the MJPEG to MPEG with mencoder:<br>&gt; playback of re-encoded movies is fine in MythGallery, although the video<br>&gt; quality is not as good as the original (but that's a mencoder issue).<br>&gt;</div><div><br></div><div>I presumed there would be&nbsp; some way of processing them but I'm not going to re-encode 300 films just so that I can use Myth!</div><div>I was contemplating dusting my coding fingers off to undo the above change but I'll probably start looking for an external app to use instead. Any recommendations anyone ?</div><div><br>&gt; I also was using mplayer for camera movies under 0.24 because the<br>&gt; internal player was not able to play them.<br>&gt;<br>&gt; In your log there are lots of "Video is xxx frames ahead of audio"<br>&gt; messages, maybe there is a problem decoding the audio? On my camera<br>&gt; movies I think it's 8-bit PCM, mono. I could try to re-encode only the<br>&gt; audio to a more common format (e.g. mp3).<br>&gt;<br>&gt; I just noticed that your log contains some errors:<br>&gt;<br>&gt; E  ALSA: Setting hardware audio buffer size to 6016<br>&gt; E  ALSA: Error opening /proc/asound/card0/pcm0p/sub0/prealloc:<br>&gt; Permission denied.<br>&gt; E  ALSA: Try to manually increase audio buffer with: echo 6016 | sudo<br>&gt; tee /proc/asound/card0/pcm0p/sub0/prealloc<br>&gt; E  ALSA: Unable to sufficiently increase ALSA hardware buffer size -<br>&gt; underruns are likely<br>&gt;<br>&gt; Could be related to our problem? I'll check my logs also.<br>&gt;</div><div><br></div><div>I doubt it. I looked into this a long time ago (0.23?) - it was a common 'feature', I believe. My system has always produced these messages for TV, videos etc and yet I have never had problems with anything else.</div><div><br>&gt; raffaele<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; mythtv-users@mythtv.org<br>&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br></div><div><br></div><div>FWIW I've tried several cameras and they all fail to play properly.<br><br></div></body></html>