Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Error trying to play a .mp4 file: (16 Items)
   
Error trying to play a .mp4 file  
Hello,

I am trying to play an mp4 file and I am getting the error "Couldn't load the qnx_raac_decoder filter (based on the 
decoder tag), mmerr=48". I do have "qnx_raac_decoder.so" located in /lib/dll/mmedia along with many other ".so" files. 
Can someone tell me what I am missing? I am running QNX6.5.0 and MME 1.2 on an x86 system.

The entries generated by calling the mme_play() function are the followings...

Sev Major Minor Args
5    27     0 MME:io_handle_msg(117): RCV -> MME_IOMSG_TYPE_PLAY: "fid=6"
5    27     0 MME:_playuntilok(5489): Reset consecutive playback error count
5    27     0 MME:_playuntilok(5507): Consecutive playback errors: current=0 max=1
5    27     0 MME:_suspend_sync(1133): Suspending sync:  ccid 1, msid 2
5    27     0 MME:mme_ms_lock(541): Lock call for media store 2 of type playback.
6    20     1 io-media-generic/trackplayer: Created graph instance 'PCM1'
6    20     1 io-media-generic: open( 'graphs/trackplayer/PCM1' ): success
5    20     1 io-media-generic/mmf: writer hint snd:* found
6    20     1 io-media-generic/mmf: URL 'snd:/dev/snd/pcmC0D0p' matches pattern 'snd:*'
5    27     0 MME:_attachoutputs(3611): Attached outputdevice snd:/dev/snd/pcmC0D0p to controlcontext PCM1.  id=0
5    20     1 io-media-generic/mmf: writer hint gf:* found
6    20     1 io-media-generic/mmf: URL 'gf:8086,8108,0?layer=1&aspn=72&aspd=77&sat=20' matches pattern 'gf:*'
1    27     0 MME:_setiomoutputattr(5759): Output device type 2 not supported
5    27     0 MME:_attachoutputs(3611): Attached outputdevice gf:8086,8108,0?layer=1&aspn=72&aspd=77&sat=20 to 
controlcontext PCM1.  id=1
5    27     0 MME:cleanup_thread(262): Got pulse with code 0 and index 0.
6    20     1 io-media-generic/mmf: URL '/fs/mnt/Public2/usb0///Captain America - The First Avenger - Trailer 2.mp4' 
matches pattern '*.mp4'
6    20     1 io-media-generic/mmf: Setting long resource 'StreamerStickyError' (value='1')
6    20     1 io-media-generic/mmf: Setting long resource 'MM_TMPFILE_STREAMER_SEEKABLE' (value='1')
6    20     1 io-media-generic/mmf: Setting long resource 'MM_AUDIO_WRITER_NO_MIXER' (value='1')
5    20     1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0.
6    20     1 io-media-generic/trackplayer: Loaded the mp4_parser filter based on the parser tag
6    20     1 io-media-generic/mmf: Setting long resource 'AVSyncDelay' (value='0')
5    20     1 io-media-generic/mmf: Configuring the queue for 1512877 bytes, lw = 302575, hw = 1210301.
4    20     1 io-media-generic/trackplayer: Couldn't load the qnx_raac_decoder filter (based on the decoder tag), mmerr=
48
4    20     1 io-media-generic/trackplayer: Couldn't find a suitable decoder filter, mmerr=48
2    20     1 io-media-generic/trackplayer: Error 10004, 2, 48:
2    20     1 io-media-generic/trackplayer: Couldn't create a linking filter for parsed stream
2    27     0 MME:_attachinput(3694): Could not attach input (/fs/mnt/Public2/usb0///Captain America - The First Avenger
 - Trailer 2.mp4) to controlcontext PCM1 (fid=6).  errno=5
5    27     0 MME:_attachinput(3727): io-media iom_attach_input time=0.112.
5    27     0 MME:ntfy_log_event(753): MME_EVENT_PLAY_ERROR(type: 10; fid/trksessionid: 6; offset: 0)
5    27     0 MME:mme_ms_unlock(702): Unlock call for media store 2 of type playback.
5    27     0 MME:_resume_sync(1148): Resuming sync:  ccid 1, msid 2
2    27     0 MME:_play(3150): Could not attach file '/fs/mnt/Public2/usb0///Captain America - The First Avenger - 
Trailer 2.mp4'
5    27     0 MME:_playuntilok(5536): Incrementing consecutive playback error count
5    27     0 MME:_playuntilok(5507): Consecutive playback errors: current=1 max=1
2    27     0 MME:_playuntilok(5511): Stopping playback because 1 errors were hit consecutively while playing track 
session 1
5    27     0 MME:ntfy_log_event(618): MME_EVENT_FINISHED_WITH_ERROR
6    20     1 io-media-generic/trackplayer: Destroyed graph instance...
View Full Message
Re: Error trying to play a .mp4 file  
Yuh-Fwu Guu wrote:
> Hello,
> 
> I am trying to play an mp4 file and I am getting the error "Couldn't load the qnx_raac_decoder filter (based on the 
decoder tag), mmerr=48". I do have "qnx_raac_decoder.so" located in /lib/dll/mmedia along with many other ".so" files. 
Can someone tell me what I am missing? I am running QNX6.5.0 and MME 1.2 on an x86 system.

Error 48 is MM_ENOTSUP, "stream format not supported".  The 
qnx_raac_decoder doesn't support all variants of AAC.
Re: Error trying to play a .mp4 file  
I am able to play the same file on the QNX CAR M6 demo.
Does this mean that the qnx_raac_decoder version I have from QNX6.5.0 and MME 1.2 is different from the one on the QNX 
CAR M6?

If this is the case, how do I get the updated version?

Thanks.
Re: Error trying to play a .mp4 file  
It might be easier to answer these if I could have a copy of the file...
Re: Error trying to play a .mp4 file  
Are you talking about this mp4 file? It's a movie trailer (Captain America) I downloaded from internet and it's more 
than 121 MB.

I did not have an mp4 file to test before, so I searched internet for mp4 file example and found one.

I will see if I could find one with a smaller size.

Thanks.
Re: Error trying to play a .mp4 file  
> Are you talking about this mp4 file? It's a movie trailer (Captain America) I 
> downloaded from internet and it's more than 121 MB.

Just a link to where you downloaded it from would be perfect.
Re: Error trying to play a .mp4 file  
I think this link is where I downloaded the file...

http://www.dvdloc8.com/clip.php?movieid=24662&clipid=1
Re: Error trying to play a .mp4 file  
I am still having problem playing the same mp4 file. It has progressed a bit now that I have audio, but there is no 
video. Could someone please help...

The sloginfo contains the followings...

5    20     1 io-media-generic/mmf: writer hint snd:* found
5    20     1 io-media-generic/mmf: writer hint gf:* found
1    27     0 MME:_setiomoutputattr(5759): Output device type 2 not supported
5    20     1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0.
5    20     1 io-media-generic/aoi: MP4Parser: max sample size = 277930.
5    20     1 io-media-generic/aoi: MP4Parser: max sample size = 995.
5    20     1 io-media-generic/mmf: Configuring the queue for 1512877 bytes, lw = 302575, hw = 1210301.
5    20     1 io-media-generic/mmf: Configuring the queue for 192000 bytes, lw = 19200, hw = 172800.
5    20     1 io-media-generic/aoi: audio_writer using output device: '/dev/snd/pcmC0D0p'
5    20     1 io-media-generic/aoi: audio_writer asking for Signed 16-bit Little Endian, 1..2x19200B frags, 48000Hz, bps
=4, 2ch
5    20     1 io-media-generic/aoi: audio_writer settings:  Signed 16-bit Little Endian, 3x19200B frags, 48000Hz, bps=4,
 2ch, Q time 300ms
5    20     1 io-media-generic/aoi: audio_writer PGA_StreamerCreate() push mode = 0 adjusting chunk_size from 19200bytes
 to 19200bytes
5    20     1 io-media-generic/aoi: audio_writer mixer disabled
4    20     1 io-media-generic/trackplayer: Couldn't find a suitable video-decoder filter, mmerr=4047
2    20     1 io-media-generic/trackplayer: Error 10004, 2, 4047:
2    20     1 io-media-generic/trackplayer: Couldn't create a linking filter for parsed stream
2    27     0 MME:_attachinput(3694): Could not attach input (/fs/usb0///Captain America - The First Avenger - Trailer 2
.mp4) to controlcontext PCM1 (fid=3).  errno=5
2    27     0 MME:_play(3150): Could not attach file '/fs/usb0///Captain America - The First Avenger - Trailer 2.mp4'
2    27     0 MME:_playuntilok(5511): Stopping playback because 1 errors were hit consecutively while playing track 
session 2
2    27     0 MME:_setgenericvalue(851): Send Error for request=2, value=3.  errno 22
Re: Error trying to play a .mp4 file  
> I am still having problem playing the same mp4 file. It has progressed a bit 
> now that I have audio, but there is no video. Could someone please help...

What video decoders do you have on your device?  I just downloaded the file and tried it on a Playbook, and it played 
using the ivahd_video_decoder filter.
 
> 4    20     1 io-media-generic/trackplayer: Couldn't find a suitable video-
> decoder filter, mmerr=4047

That sounds pretty clear to me, even before I looked up error 4047 and confirmed that it means "no filter supports 
format"...
Re: Error trying to play a .mp4 file  
How do I find out what video decoder we have? All I have done was installed QNX 6.5.0 and Aviage Multimedia 2.0.

I guess I need help configure the mme to play .mp4 video?
Re: Error trying to play a .mp4 file  
You probably don't have a video decoder.  What CPU platform are you using?

On 12-03-19 8:24 AM, "Yuh-Fwu Guu" <community-noreply@qnx.com> wrote:

>How do I find out what video decoder we have? All I have done was
>installed QNX 6.5.0 and Aviage Multimedia 2.0.
>
>I guess I need help configure the mme to play .mp4 video?
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post92166
>
Re: Error trying to play a .mp4 file  
x86 + QNX 6.5.0 + Aviage 2.0
Re: Error trying to play a .mp4 file  
I forgot we also have QNX CAR Subscription and with licenses of the followings...

Interface for iPod
Interface for WMDRM10-ND
Codec for MP3
Codec for WMA9
Interface for Zune
Codec for AAC Interface for PlaysForSure
Acoustic Processing
DVD Playback
Interface for TI OMAP
Aviage HMI Suite.
Re: Error trying to play a .mp4 file  
On x86, the video decoder ,if you have one, will be called
ipp_video_decoder.so and should be in /lib/dll/mmedia

On 12-03-19 8:45 AM, "Yuh-Fwu Guu" <community-noreply@qnx.com> wrote:

>x86 + QNX 6.5.0 + Aviage 2.0
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post92169
>
Re: Error trying to play a .mp4 file  
All we have in /lib/dll/mmedia are listed below...what else do we need to get the video decoders?

aac_parser.so
audio_streamer.so
audio_writer.so
cdda_parser.so
cdda_streamer.so
damping_audio_writer.so
fildes_streamer.so
gf_writer.so
http_streamer.so
media_streamer.so
mp4_parser.so
mpega_parser.so
ogg_decoder.so
ogg_encoder.so
qnx_raac_decoder.so
queue_filter.so
rawfile_writer.so
rtp_reader.so
stream_reader.so
tmpfile_streamer.so
wav_parser.so
wavfile_writer.so
wma9_decoder.so
wma9_parser.so
xing_mpega_decoder.so
Re: Error trying to play a .mp4 file  
You will need the ipp_video_decoder.  You will need to talk to your sales
contact about how to get it.

On 12-03-19 9:25 AM, "Yuh-Fwu Guu" <community-noreply@qnx.com> wrote:

>All we have in /lib/dll/mmedia are listed below...what else do we need to
>get the video decoders?
>
>aac_parser.so
>audio_streamer.so
>audio_writer.so
>cdda_parser.so
>cdda_streamer.so
>damping_audio_writer.so
>fildes_streamer.so
>gf_writer.so
>http_streamer.so
>media_streamer.so
>mp4_parser.so
>mpega_parser.so
>ogg_decoder.so
>ogg_encoder.so
>qnx_raac_decoder.so
>queue_filter.so
>rawfile_writer.so
>rtp_reader.so
>stream_reader.so
>tmpfile_streamer.so
>wav_parser.so
>wavfile_writer.so
>wma9_decoder.so
>wma9_parser.so
>xing_mpega_decoder.so
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post92173
>