I am trying to play 1080p h264 fully accelerated by the hardware decoder. I checked that it is using gstreamer framework, so I used totem player to test it. CPU usage is crazy high, and the video playback looks like a slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, none of them could make it work. Besides, I would like to know if there is anyway to make the hardware decoder working on Youtube for html5 videos. Right now everything for me is just a slideshow.
Omappedia says The storage is a class10-133x 16G SD card. I did read that omappedia says "Try moving the videos onto a USB flash drive and play them.", but this one should still be fast enough to read 1080p h264 videos. Any help would be appreciated.
On Tue, Nov 13, 2012 at 6:22 PM, wubin <vvu...@gmail.com> wrote:
> Hi all,
> I am trying to play 1080p h264 fully accelerated by the hardware decoder. I
> checked that it is using gstreamer framework, so I used totem player to test
> it. CPU usage is crazy high, and the video playback looks like a
> slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, none of
> them could make it work. Besides, I would like to know if there is anyway to
> make the hardware decoder working on Youtube for html5 videos. Right now
> everything for me is just a slideshow.
> Omappedia says The storage is a class10-133x 16G SD card. I did read that
> omappedia says "Try moving the videos onto a USB flash drive and play
> them.", but this one should still be fast enough to read 1080p h264 videos.
> Any help would be appreciated.
we tend to maintain the TI PPA so that h/w accelerated video playback
works, at least most of the time... it would be easier if you could
provide details on how you install 12.04 + PPA on your panda, as well
as some logs. the interesting log files for us to help are:
GST_DEBUG=*:5 gst-launch playbin2 uri=file://<path to file>
then we should be able to quickly identify the problem..
also, if you want to check if h/w video is being used, you can monitor
/proc/interupts and check if MAILBOX interrupts count increase
(alternatively you can use 'itop' for monitoring). there is 1
interrupt per frame decoded if everything works well.
I appreciate your time to check my logs. The only files I couldn't find is "/sys/debug/kernel/remoteproc/*/traces". I also found that someone has the similar issue (ducati is not loaded), but there is not further news for it.
Besides, after installing the newest TI release PPA on new Ubuntu system, the kernel becomes very fragile. It either crashes during booting, or freezes anytime, especially when the CPU load is high. I need to reboot many times in other to start the system. Someone said that there is something wrong with CPU frequency, but his trick did not work on me. I will appreciate if you can also check the "kernel.oops.log" from the kernel error.
On Tuesday, November 13, 2012 2:54:20 PM UTC-5, ndec wrote:
> On Tue, Nov 13, 2012 at 6:22 PM, wubin <vvu...@gmail.com <javascript:>> > wrote: > > Hi all,
> > I am trying to play 1080p h264 fully accelerated by the hardware > decoder. I > > checked that it is using gstreamer framework, so I used totem player to > test > > it. CPU usage is crazy high, and the video playback looks like a > > slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, none > of > > them could make it work. Besides, I would like to know if there is > anyway to > > make the hardware decoder working on Youtube for html5 videos. Right now > > everything for me is just a slideshow.
> > Omappedia says The storage is a class10-133x 16G SD card. I did read > that > > omappedia says "Try moving the videos onto a USB flash drive and play > > them.", but this one should still be fast enough to read 1080p h264 > videos. > > Any help would be appreciated.
> we tend to maintain the TI PPA so that h/w accelerated video playback > works, at least most of the time... it would be easier if you could > provide details on how you install 12.04 + PPA on your panda, as well > as some logs. the interesting log files for us to help are:
> GST_DEBUG=*:5 gst-launch playbin2 uri=file://<path to file>
> then we should be able to quickly identify the problem..
> also, if you want to check if h/w video is being used, you can monitor > /proc/interupts and check if MAILBOX interrupts count increase > (alternatively you can use 'itop' for monitoring). there is 1 > interrupt per frame decoded if everything works well.
On Wed, Nov 14, 2012 at 9:49 PM, wubin <vvu...@gmail.com> wrote:
> I appreciate your time to check my logs. The only files I couldn't find is
> "/sys/debug/kernel/remoteproc/*/traces". I also found that someone has the
> similar issue (ducati is not loaded), but there is not further news for it.
> Besides, after installing the newest TI release PPA on new Ubuntu system,
> the kernel becomes very fragile. It either crashes during booting, or
> freezes anytime, especially when the CPU load is high. I need to reboot many
> times in other to start the system. Someone said that there is something
> wrong with CPU frequency, but his trick did not work on me. I will
> appreciate if you can also check the "kernel.oops.log" from the kernel
> error.
> On Tuesday, November 13, 2012 2:54:20 PM UTC-5, ndec wrote:
>> On Tue, Nov 13, 2012 at 6:22 PM, wubin <vvu...@gmail.com> wrote:
>> > Hi all,
>> > I am trying to play 1080p h264 fully accelerated by the hardware
>> > decoder. I
>> > checked that it is using gstreamer framework, so I used totem player to
>> > test
>> > it. CPU usage is crazy high, and the video playback looks like a
>> > slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, none
>> > of
>> > them could make it work. Besides, I would like to know if there is
>> > anyway to
>> > make the hardware decoder working on Youtube for html5 videos. Right now
>> > everything for me is just a slideshow.
>> > Omappedia says The storage is a class10-133x 16G SD card. I did read
>> > that
>> > omappedia says "Try moving the videos onto a USB flash drive and play
>> > them.", but this one should still be fast enough to read 1080p h264
>> > videos.
>> > Any help would be appreciated.
>> we tend to maintain the TI PPA so that h/w accelerated video playback
>> works, at least most of the time... it would be easier if you could
>> provide details on how you install 12.04 + PPA on your panda, as well
>> as some logs. the interesting log files for us to help are:
>> GST_DEBUG=*:5 gst-launch playbin2 uri=file://<path to file>
>> then we should be able to quickly identify the problem..
>> also, if you want to check if h/w video is being used, you can monitor
>> /proc/interupts and check if MAILBOX interrupts count increase
>> (alternatively you can use 'itop' for monitoring). there is 1
>> interrupt per frame decoded if everything works well.
On Wednesday, November 14, 2012 9:49:44 PM UTC-6, wubin wrote:
> I appreciate your time to check my logs. The only files I couldn't find is > "/sys/debug/kernel/remoteproc/*/traces". I also found that someone has the > similar issue (ducati is not loaded), but there is not further news for it.
> Besides, after installing the newest TI release PPA on new Ubuntu system, > the kernel becomes very fragile. It either crashes during booting, or > freezes anytime, especially when the CPU load is high. I need to reboot > many times in other to start the system. Someone said that there is > something wrong with CPU frequency, but his trick did not work on me. I > will appreciate if you can also check the "kernel.oops.log" from the kernel > error.
> On Tuesday, November 13, 2012 2:54:20 PM UTC-5, ndec wrote:
>> On Tue, Nov 13, 2012 at 6:22 PM, wubin <vvu...@gmail.com> wrote: >> > Hi all,
>> > I am trying to play 1080p h264 fully accelerated by the hardware >> decoder. I >> > checked that it is using gstreamer framework, so I used totem player to >> test >> > it. CPU usage is crazy high, and the video playback looks like a >> > slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, >> none of >> > them could make it work. Besides, I would like to know if there is >> anyway to >> > make the hardware decoder working on Youtube for html5 videos. Right >> now >> > everything for me is just a slideshow.
>> > Omappedia says The storage is a class10-133x 16G SD card. I did read >> that >> > omappedia says "Try moving the videos onto a USB flash drive and play >> > them.", but this one should still be fast enough to read 1080p h264 >> videos. >> > Any help would be appreciated.
>> we tend to maintain the TI PPA so that h/w accelerated video play
> back >> works, at least most of the time... it would be easier if you could >> provide details on how you install 12.04 + PPA on your panda, as well >> as some logs. the interesting log files for us to help are:
>> GST_DEBUG=*:5 gst-launch playbin2 uri=file://<path to file>
>> then we should be able to quickly identify the problem..
>> also, if you want to check if h/w video is being used, you can monitor >> /proc/interupts and check if MAILBOX interrupts count increase >> (alternatively you can use 'itop' for monitoring). there is 1 >> interrupt per frame decoded if everything works well.
Finally I am able to see the h264 video clips working with totem by hardware acceleration. I would suggest to add this part to the PPA installation manual as well. Here I have several questions, I will appreciate if you would give some advise for them.
(1) I see some minor tearing from the video, especially when the motion in the video is moving fast. Is it fixable? (2) I see some "leftover" image from the video if I try to resize the video playing window or switch among several windows. Is it fixable? (3) Is there a way to make the chromium browser work with the ducati decoder? I understand chromium/chrome browser uses ffmpeg framework instead of gstreamer, but it would be great if there is any trick to make the hardware decoder work with ffmpeg.
> Then re-generate the boot.scr file as pointed out by Rob.
> Cheers, > Jayneil.
> On Wednesday, November 14, 2012 9:49:44 PM UTC-6, wubin wrote:
>> I appreciate your time to check my logs. The only files I couldn't find >> is "/sys/debug/kernel/remoteproc/*/traces". I also found that someone has >> the similar issue (ducati is not loaded), but there is not further news for >> it.
>> Besides, after installing the newest TI release PPA on new Ubuntu system, >> the kernel becomes very fragile. It either crashes during booting, or >> freezes anytime, especially when the CPU load is high. I need to reboot >> many times in other to start the system. Someone said that there is >> something wrong with CPU frequency, but his trick did not work on me. I >> will appreciate if you can also check the "kernel.oops.log" from the kernel >> error.
>> On Tuesday, November 13, 2012 2:54:20 PM UTC-5, ndec wrote:
>>> On Tue, Nov 13, 2012 at 6:22 PM, wubin <vvu...@gmail.com> wrote: >>> > Hi all,
>>> > I am trying to play 1080p h264 fully accelerated by the hardware >>> decoder. I >>> > checked that it is using gstreamer framework, so I used totem player >>> to test >>> > it. CPU usage is crazy high, and the video playback looks like a >>> > slideshow... it just does not work. Again, Ubuntu LEB, TI OMAP PPA, >>> none of >>> > them could make it work. Besides, I would like to know if there is >>> anyway to >>> > make the hardware decoder working on Youtube for html5 videos. Right >>> now >>> > everything for me is just a slideshow.
>>> > Omappedia says The storage is a class10-133x 16G SD card. I did read >>> that >>> > omappedia says "Try moving the videos onto a USB flash drive and play >>> > them.", but this one should still be fast enough to read 1080p h264 >>> videos. >>> > Any help would be appreciated.
>>> we tend to maintain the TI PPA so that h/w accelerated video play
>> back >>> works, at least most of the time... it would be easier if you could >>> provide details on how you install 12.04 + PPA on your panda, as well >>> as some logs. the interesting log files for us to help are:
>>> GST_DEBUG=*:5 gst-launch playbin2 uri=file://<path to file>
>>> then we should be able to quickly identify the problem..
>>> also, if you want to check if h/w video is being used, you can monitor >>> /proc/interupts and check if MAILBOX interrupts count increase >>> (alternatively you can use 'itop' for monitoring). there is 1 >>> interrupt per frame decoded if everything works well.