[mythtv-users] MP4 Videos

stanley kamithi skamithi at gmail.com
Mon Nov 27 02:26:21 UTC 2006


On 11/26/06, Steven Adeff <adeffs.mythtv at gmail.com > wrote:
>
> On 11/25/06, Kevin Kuphal <kuphal at dls.net> wrote:
> > Rick Stone wrote:
> > > For some reason, Myth won't play mp4 videos.  I recently installed
> > > Edgy and Myth .20 from the repos.  Everything else works great, but
> > > mp4 vids won't play.  The screen goes black, the HD light flickers for
> > > awhile (as if the file is quickly being scanned) and then the Myth
> > > video screen comes back up -- after about 3 minutes for a 90 minute
> film.
> > You might need to pass --enable-faad when compiling mythtv on the
> > configure line depending on what kind of audio is present...
>
>
>   #echo "  --enable-mp3lame         enable mp3 encoding via libmp3lame
> [default=no]"
>   #echo "  --enable-libogg          enable ogg support via libogg
> [default=no]"
>   #echo "  --enable-vorbis          enable vorbis support via
> libvorbis [default=no]"
>   #echo "  --enable-faad            enable faad support via libfaad
> [default=no]"
>   #echo "  --enable-faadbin         build faad support with runtime
> linking [default=no]"
>   #echo "  --enable-faac            enable faac support via libfaac
> [default=no]"
>   #echo "  --enable-libgsm          enable gsm support via libgsm
> [default=no]"
>   #echo "  --enable-xvid            enable xvid support via xvidcore
> [default=no]"
>   #echo "  --enable-x264            enable H.264 encoding via x264
> [default=no]"
>   #echo "  --enable-mingw32         enable mingw32 native/cross windows
> compile"
>
> are there a reason these are "hidden"? (and does libfaad support have
> the same dependency problems mythmusic has?)
>
> -
>

Not sure why --enable-faad is hidden. Looking at the revision logs, looks
like no  one  has ever uncommented it since this change was added to the
.configure script. My experience with mov/mp4 is limited to the testing I
did with  kevin kuphal's mythnews multimedia patch.

 I recompiled mythtv with  --enable-faad
 I am not sure what the advantage of doing "--enable-faadbin" is..maybe
someone could explain that to me ?

also i found an issue with the mov.c file in the libavcodec libs . kevin
submitted the patch i did to mov.c to his mythnews multimedia changeset.

http://svn.mythtv.org/trac/changeset/11781#file6

the problem was that if the stream list provided by ffmpeg didn't start with
a video stream but an audio stream,
the stream parser in the libavutil lib would delete the audio stream from
the list of valid streams..then think that the video stream was not a valid
stream ??  mythtv would think there is no stream, and then quit.. It's some
problem with the stream count provided by mov.c and what the libavutil
stream parser expects. Not providing the stream count seems to resolve the
issue and it doesn't seem to cause a problem.

ffw/rew of the mp4 videos doesn't seem to work. If i skip forward or back, i
get a hang..and the lots of audio buffer error messages, even if i try and
build a seektable. not sure if its me doing something wrong if that it just
doesn't work..so maybe someone who watches a lot of mp4s with mythtv could
tell me if this is true or not ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20061126/2ab16437/attachment.htm 


More information about the mythtv-users mailing list