Feed for discussion Development in project Multimedia. http://community.qnx.com/sf/discussion/do/listTopics/projects.multimedia/discussion.development Posts for Development post122002: Re: Error configure cameras and sensors on custom QNX 7.1 VMware http://community.qnx.com/sf/go/post122002 Thank you for your prompt reply! I can create camera on "/dev/serson/", after I added yami_video_decoder.so on libcamapi_video.conf. like this: /etc/system/config/aoi/libcamapi_video.conf={ #libaoi configuration file dll = "/lib/dll/mmedia/fildes_streamer.so" holds = 1 dll = "/lib/dll/mmedia/mp4_reader.so" holds = 1 dll = "/lib/dll/mmedia/mp4_writer.so" holds = 1 dll = "/lib/dll/mmedia/queue_filter.so" holds = 1 dll = "/lib/dll/mmedia/ucv_reader.so" holds = 1 dll = "/lib/dll/mmedia/ucv_writer.so" holds = 1 dll = "/lib/dll/mmedia/yami_video_encoder.so" holds = 1 dll = "/lib/dll/mmedia/yami_video_decoder.so" holds = 1 } And then execute the camera_example program. Chose the 3)Camera stream, like this: ========================================================================= libva info: VA-API version 1.4.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva info: va_openDriver() returns 0 Select which example you want to run: 1) Camera viewfinder 2) Record video to a file 3) Camera stream 4) Multiple camera video 5) EGL viewfinder 6) Event example x) Exit the example 3 Select which of the following 1 cameras you want to use: 1) CAMERA_UNIT_1 Enter Choice: 1 Select which of the following VF modes you want to use: 2) CAMERA_VFMODE_VIDEO Enter Choice: 2 Do you want to modify the viewfinder configuration (y/n)? n Do you want to modify image attributes (y/n)? n Example prints the frame rate received from the camera; select x) to exit the example Current frame rate: 30.3 ========================================================================= Can I use the sample video capture program to capture the camera stream? https://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.video_capture/topic/manual/vc_sample.html But that was not work. My test code: int main(void) { int n_pointers = 2; screen_buffer_t *pointers = calloc(n_pointers, sizeof(screen_buffer_t)); // connect to screen screen_context_t screen_ctx; screen_window_t screen_win; printf("%s:%d\n",__FUNCTION__,__LINE__); screen_create_context(&amp;screen_ctx, SCREEN_APPLICATION_CONTEXT); screen_create_window(&amp;screen_win, screen_ctx); int usage = SCREEN_USAGE_NATIVE; screen_set_window_property_iv(screen_win, SCREEN_PROPERTY_USAGE, &amp;usage); int nbuffers = 2; screen_create_window_buffers(screen_win, nbuffers); int flags=0;//CAPTURE_BUFFER_USAGE_RDONLY;//CAPTURE_FLAG_EXTERNAL_SOURCE capture_context_t context = capture_create_context( flags ); if( !context ) { printf("%s:%d,Handle errors:capture context is null\n",__FUNCTION__,__LINE__); }else{ printf("%s:%d,capture context is not null\n",__FUNCTION__,__LINE__); } // setup capture parameters int getRet; capture_set_property_i( context, CAPTURE_PROPERTY_DEVICE, 0 ); const char *info = NULL; capture_get_property_p( context, CAPTURE_PROPERTY_DEVICE_INFO, &amp;info ); printf("%s:%d,device-info = '%s'\n",__FUNCTION__,__LINE__,info); int ret=0; // Validate device's properties if( !capture_is_property( context, CAPTURE_PROPERTY_BRIGHTNESS )){ printf("%s:%d,Unable to use buffer. Driver doesn't support CAPTURE_PROPERTY_BRIGHTNESS\n",__FUNCTION__,__LINE__); } if( !capture_is_property( context, CAPTURE_PROPERTY_CONTRAST )){ printf("%s:%d,Unable to use buffer. Driver doesn't support CAPTURE_PROPERTY_CONTRAST\n",__FUNCTION__,__LINE__); } if( !capture_is_property( context, CAPTURE_PROPERTY_SATURATION )){ printf("%s:%d,Unable to use buffer. Driver doesn't support CAPTURE_PROPERTY_SATURATION\n",__FUNCTION__,__LINE__); } // setup capture parameters capture_get_property_i( context, CAPTURE_PROPERTY_NSOURCES, &amp;getRet ); printf("%s:%d,Number of available source inputs; available after the device is set. CAPTURE_PROPERTY_NSOURCES = %d\n",__FUNCTION__,__LINE__,getRet); capture_set_property_i(context,CAPTURE_PROPERTY_SRC_INDEX,1); capture_get_property_i( context, CAPTURE_PROPERTY_SRC_INDEX, &amp;getRet ); printf("%s:%d,get CAPTURE_PROPERTY_SRC_INDEX = %d\n",__FUNCTION__,__LINE__,getRet); // tell the driver to start capturing (when capture_update() is called). capture_set_property_i( context, CAPTURE_ENABLE, 1 ); capture_get_property_i( context, CAPTURE_ENABLE, &amp;getRet ); printf("%s:%d,Capture start (1) and stop(0). CAPTURE_ENABLE = %d\n",__FUNCTION__,__LINE__,getRet); // commit changes to the H/W -- and start capturing... ret = capture_set_property_i( context, CAPTURE_PROPERTY_SRC_WIDTH, 1920); printf("%s:%d,set CAPTURE_PROPERTY_SRC_WIDTH,return=%d\n",__FUNCTION__,__LINE__,ret); ret = capture_set_property_i( context, CAPTURE_PROPERTY_SRC_HEIGHT, 1080); printf("%s:%d,set CAPTURE_PROPERTY_SRC_HEIGHT,return =%d\n",__FUNCTION__,__LINE__,ret); ret = capture_set_property_i( context, CAPTURE_PROPERTY_DST_NBYTES, 1920 * 1080 * 4 ); printf("%s:%d,set CAPTURE_PROPERTY_DST_NBYTES, return=%d\n",__FUNCTION__,__LINE__,ret); ret = capture_set_property_i( context, CAPTURE_PROPERTY_DST_WIDTH, 1920); printf("%s:%d,set CAPTURE_PROPERTY_DST_WIDTH, return=%d\n",__FUNCTION__,__LINE__,ret); ret = capture_set_property_i( context, CAPTURE_PROPERTY_DST_HEIGHT, 1080); printf("%s:%d,set CAPTURE_PROPERTY_DST_HEIGHT,return=%d\n",__FUNCTION__,__LINE__,ret); ret = capture_set_property_i( context, CAPTURE_PROPERTY_BRIGHTNESS, 10 ); printf("%s:%d,set CAPTURE_PROPERTY_BRIGHTNESS,return=%d \n",__FUNCTION__,__LINE__,ret); ret = capture_set_property_i( context, CAPTURE_PROPERTY_FRAME_NBUFFERS, n_pointers ); printf("%s:%d,set CAPTURE_PROPERTY_FRAME_NBUFFERS,return=%d \n",__FUNCTION__,__LINE__,ret); ret = capture_set_property_p( context, CAPTURE_PROPERTY_FRAME_BUFFERS, pointers ); printf("%s:%d,set CAPTURE_PROPERTY_FRAME_NBUFFERS,return=%d \n",__FUNCTION__,__LINE__,ret); //capture_update( context, CAPTURE_PROPERTY_FRAME_BUFFERS ); capture_update( context, 0 ); //int rect[4] = {0,0,1920,1080}; while( 1 ) { capture_set_property_i( context, CAPTURE_ENABLE, 1 ); capture_get_property_i( context, CAPTURE_ENABLE, &amp;getRet ); printf("%s:%d,Capture start (1) and stop(0). CAPTURE_ENABLE = %d\n",__FUNCTION__,__LINE__,getRet); capture_update( context, 0 ); int nbu = 3; uint32_t seqno[nbu]; // get next captured frame...] capture_set_property_p( context, CAPTURE_PROPERTY_FRAME_SEQNO, &amp;seqno ); //int idx = capture_get_frame( context, CAPTURE_TIMEOUT_NO_WAIT, 0 ); int idx = capture_get_frame( context, CAPTURE_TIMEOUT_INFINITE, 0);//CAPTURE_FLAG_LATEST_FRAME ); //int idx = capture_get_frame( context, CAPTURE_FLAG_ALLOW_UNBLOCK, 0); capture_set_property_i( context, CAPTURE_PROPERTY_SRC_WIDTH, 1920); capture_set_property_i( context, CAPTURE_PROPERTY_SRC_HEIGHT, 1080); capture_set_property_i( context, CAPTURE_PROPERTY_DST_WIDTH, 1920); capture_set_property_i( context, CAPTURE_PROPERTY_DST_HEIGHT, 1080); capture_set_property_i( context, CAPTURE_PROPERTY_DST_STRIDE, 10); capture_set_property_i( context, CAPTURE_PROPERTY_DST_FORMAT,SCREEN_FORMAT_NV12);//SCREEN_FORMAT_V422); val = capture_create_buffers( context, CAPTURE_PROPERTY_FRAME_BUFFERS ); capture_get_property_p(context,CAPTURE_PROPERTY_FRAME_BUFFERS,(void **)pointers); printf("%s:%d,pointers[0]=%p,pointers[1]=%p\n",__FUNCTION__,__LINE__,&amp;pointers[0],&amp;pointers[1]); // update screen screen_buffer_t wbuffer = get_render_buffer(screen_win); screen_blit(screen_ctx, wbuffer, pointers[0], NULL); screen_post_window(screen_win, wbuffer, 0, NULL, 0); // Mark the buffer identifed by the idx as available for capturing. capture_release_frame( context, idx ); } return EXIT_SUCCESS; } Mon, 21 Nov 2022 02:58:21 GMT http://community.qnx.com/sf/go/post122002 Derek Liu(deleted) 2022-11-21T02:58:21Z post121994: Re: Error configure cameras and sensors on custom QNX 7.1 VMware http://community.qnx.com/sf/go/post121994 Hi Derek, So AoLoadConfig() now finds your libcamapi_video.conf but you still don't have a video decoder in there. The bad news is that video playback is not supported on vmware. There's a table in the documentation that lists feature availability by hardware platform: http://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.adas.getting_started.overview/topic/getting_started_features_overview.html There also is a table that lists supported cameras -- I'm afraid yours is not mentioned: http://www.qnx.com/developers/docs/7.1/#com.qnx.doc.adas.getting_started.overview/topic/getting_started_sensor_overview.html Fri, 11 Nov 2022 14:08:39 GMT http://community.qnx.com/sf/go/post121994 Wojtek Lerch 2022-11-11T14:08:39Z post121993: Re: Error configure cameras and sensors on custom QNX 7.1 VMware http://community.qnx.com/sf/go/post121993 Thank you for your prompt reply! The "AoLoadConfig" error message was gone after I add conf on defualt path . But that was another error. missing instructions:My USB Camera device is "Logitech HD Pro Webcam C920" the new error message on Attachment file Fri, 11 Nov 2022 10:10:02 GMT http://community.qnx.com/sf/go/post121993 Derek Liu(deleted) 2022-11-11T10:10:02Z post121992: Re: Error configure cameras and sensors on custom QNX 7.1 VMware http://community.qnx.com/sf/go/post121992 Hi Derek, There seem to be two problems with your AOI configuration. The first one is that your two files are in /system/etc/system/config/aoi, and by default AoLoadConfig() looks in /etc/system/config/aoi. Instead of renaming your directory, you can use an environment variable named AOI_CONFIG pointing to the directory your files are in. http://www.qnx.com/developers/docs/7.1/#com.qnx.doc.neutrino.utilities/topic/a/aoiconftool.html#aoiconftool__configfilenames But even if you do that and AoLoadConfig() finds your libcamapi_video.conf, you will still get the same error about not being able to find a video decoder. That's because your libcamapi_video.conf does not mention any video decoder. You will need to add yami_video_decoder.so to your config file (and to your target, if it’s not already there), but I don’t know if it will work on vmware. Thu, 10 Nov 2022 19:52:50 GMT http://community.qnx.com/sf/go/post121992 Wojtek Lerch 2022-11-10T19:52:50Z post121991: Error configure cameras and sensors on custom QNX 7.1 VMware http://community.qnx.com/sf/go/post121991 On my custom create QNX 7.1 VMware image. Run the sensor command to create device on /dev/sensor command line: sensor -U 1000,1000 -r /data/usr/sensor -c /system/etc/system/config/sensor.conf and then the /dev/sensor was not found anything the sensor.conf detial # cat /system/etc/system/config/sensor.conf begin SENSOR_UNIT_1 type = usb_camera name = front position = 0, 0, 0 direction = 0, 0, 0 address = /dev/usb/io-usb-otg, -1, -1, -1, -1 end SENSOR_UNIT_1 begin SENSOR_UNIT_2 type = file_camera name = rear position = 0, 0, 0 direction = 0, 0, 1 address = /data/usr/swap/frontviewvideo1.mp4 end SENSOR_UNIT_2 show the slog2info: AoLoadConfig: could not open libcamapi_video.conf or default.conf (2) insertVideoDecoder(526): Failed to find video decoder filter: err = 4047 # slog2info Nov 10 06:51:13.952 sensor_service.819231 info* 0 int main(int, char**)(327): Initializing our platform Nov 10 06:51:13.952 sensor_service.819231 info 0 static Platform* Platform::constructPlatform(char*)(35): Generic platform chosen Nov 10 06:51:13.954 sensor_service.819231 debug* 0 sensor 1:int Platform::createIspOrSensor(sensor_unit_t, sensor_type_t, SensorAddress_t*, Isp*&amp;, Isp*&amp;, Sensor*&amp;)(236): usb address: flag=0, bus=0, dev=0, devId=0, vendorId=0 Nov 10 06:51:13.954 sensor_service.819231 debug 0 sensor 2:int Platform::createIspOrSensor(sensor_unit_t, sensor_type_t, SensorAddress_t*, Isp*&amp;, Isp*&amp;, Sensor*&amp;)(379): file camera address: /data/usr/swap/frontviewvideo1.mp4 isCameraFormat 1 Nov 10 06:51:13.961 sensor_service.819231 info 1 [EISPL]void* openExternalCamera(uint32_t)(79): Open camera successfully: input 0 Nov 10 06:51:13.965 sensor.819231 slog* 0 failed to create debug path Nov 10 06:51:13.976 video_mmf.819231 main* 0 AoLoadConfig: could not open libcamapi_video.conf or default.conf (2) Nov 10 06:51:14.092 video_mmf.819231 main 0 insertVideoDecoder(526): Failed to find video decoder filter: err = 4047 Nov 10 06:51:14.092 sensor_service.819231 errors_warnings* 0 sensor 2:virtual int IspFile::initIsp()(116): Failed to create video decode session - err = 5 Nov 10 06:51:14.092 sensor_service.819231 errors_warnings 0 sensor 2:virtual int Platform::initPlatform()(787): Failed to initialize Isp Nov 10 06:51:14.092 sensor_service.819231 debug 0 virtual int Platform::initPlatform()(812): Platform control of cache memory is enabled Nov 10 06:51:14.092 sensor_service.819231 info 0 int main(int, char**)(334): Initializing of platform completed Nov 10 06:51:14.092 sensor_service.819231 debug 0 virtual int Platform::acquireRootAbilities()(1298): secpol_transition_type rc = -1 errno = 48 attachment file: # ll /system/etc/system/config/aoi/ total 19 -r-xr-xr-x 1 root root 19565 2022-11-10 06:47 default.conf -r-xr-xr-x 1 root root 396 2022-11-10 06:47 libcamapi_video.conf Thu, 10 Nov 2022 07:22:49 GMT http://community.qnx.com/sf/go/post121991 Derek Liu(deleted) 2022-11-10T07:22:49Z post121919: Re: Start mm-renderer Service AoLoadConfig: could not open mmr.conf or default.conf (2) http://community.qnx.com/sf/go/post121919 Thank you for your prompt reply! That's working! my /system partition was writable export MM_INIT=/lib/dll/mmedia aoiconftool -d $MM_INIT -R -o /system/etc/config/aoi/default.conf add on BSP build script [uid=0 gid=0 type=dir dperms=0755] /etc/system/config/aoi/ [type=link] /etc/system/config/aoi/default.conf=/system/etc/config/aoi/default.conf update boot bin file and then start mm-renderer after reboot # mm-renderer -v -N 0 -e -f &amp; [1] 884751 # 02.041[6] Created directory /pps/services/multimedia/renderer/context?nopersist (555) 02.041[6] Created directory /pps/services/multimedia/renderer/component?nopersist (555) 02.041[5] Initializing "Single-track engine plugin" (mmr-track-engine.so) 02.041[5] Initialized "Single-track engine plugin" (mmr-track-engine.so) 02.042[5] Initializing "QNX MMF routing plugin" (mmr-mmf-routing.so) 02.042[6] MMF router: suspend_string could be 75 bytes instead of 84 02.042[5] AoLoadConfig: mmr.conf does not exist, using default.conf 02.043[3] A filter has the AOStreamInspector interface but no AOStreamMimetypes string, we will not publish its MIME info 02.043[6] MMF router (built on Sep 23 2021 at 01:14:37) initialized 02.043[5] Initialized "QNX MMF routing plugin" (mmr-mmf-routing.so) 02.044[5] Initialization complete AoLoadConfig using default.conf Thanks Mon, 12 Sep 2022 04:07:00 GMT http://community.qnx.com/sf/go/post121919 Derek Liu(deleted) 2022-09-12T04:07:00Z post121917: Re: Start mm-renderer Service AoLoadConfig: could not open mmr.conf or default.conf (2) http://community.qnx.com/sf/go/post121917 &gt; How to define the mmr.conf or defualt.conf? These files are optional and your mm-renderer should work fine without them, as long as you have the necessary binaries under /lib/dll/mmedia (or in some other place and the $MM_INIT environment variable points to that place). But having those files lets you fine-tune your configuration and can significantly speed up mm-renderer's startup. There's a tool that lets you generate optimized config files: http://www.qnx.com/developers/docs/7.1/#com.qnx.doc.neutrino.utilities/topic/a/aoiconftool.html Wed, 07 Sep 2022 12:44:56 GMT http://community.qnx.com/sf/go/post121917 Wojtek Lerch 2022-09-07T12:44:56Z post121916: Start mm-renderer Service AoLoadConfig: could not open mmr.conf or default.conf (2) http://community.qnx.com/sf/go/post121916 Product Name: QNX Software Development Platform - Perpetual - Named User Developer License (ver. 7.1.0) On x86-64-generic BSP start mm-render service command line #!/bin/sh mkdir -p /pps/services/multimedia/renderer/ slogger2 mm-renderer -v -N 0 -e -f &amp; the message: slogger2 appears to have been restarted, performing cleanup... # 27.558[6] Created directory /pps/services/multimedia/renderer/context?nopersist (555) 27.558[6] Created directory /pps/services/multimedia/renderer/component?nopersist (555) 27.559[5] Initializing "Single-track engine plugin" (mmr-track-engine.so) 27.559[5] Initialized "Single-track engine plugin" (mmr-track-engine.so) 27.560[5] Initializing "QNX MMF routing plugin" (mmr-mmf-routing.so) 27.560[6] MMF router: suspend_string could be 75 bytes instead of 84 27.560[2] AoLoadConfig: could not open mmr.conf or default.conf (2) 27.560[3] No AIO config file, trying the old MmInitialize() 27.565[5] [tid=1] static int32_t rtp::reader::AOConfig::VerifyAll():47 config done 27.572[3] A filter has the AOStreamInspector interface but no AOStreamMimetypes string, we will not publish its MIME info 27.572[6] MMF router (built on Sep 23 2021 at 01:14:37) initialized 27.572[5] Initialized "QNX MMF routing plugin" (mmr-mmf-routing.so) 27.572[5] Initialization complete ==================================================== AoLoadConfig: could not open mmr.conf or default.conf (2) How to define the mmr.conf or defualt.conf? Wed, 07 Sep 2022 08:51:39 GMT http://community.qnx.com/sf/go/post121916 Derek Liu(deleted) 2022-09-07T08:51:39Z post121915: Re: Couldn't load mmr-mmf-routing.so (Library cannot be found) http://community.qnx.com/sf/go/post121915 Thank you! That's working! Lost define libmmcharconv.so.1 Wed, 07 Sep 2022 08:48:22 GMT http://community.qnx.com/sf/go/post121915 Derek Liu(deleted) 2022-09-07T08:48:22Z post121913: Re: Couldn't load mmr-mmf-routing.so (Library cannot be found) http://community.qnx.com/sf/go/post121913 The "Library cannot be found" message often means that even though the shared object named in the message exists, it can't be loaded because some of the shared libraries it needs can't be found on the library path. To find out what shared libraries are missing, you can use "ldd" or the DL_DEBUG environment variable. http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.utilities/topic/l/ldd.html http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.prog/topic/devel_Linker_envars.html Tue, 06 Sep 2022 12:50:28 GMT http://community.qnx.com/sf/go/post121913 Wojtek Lerch 2022-09-06T12:50:28Z post121910: Couldn't load mmr-mmf-routing.so (Library cannot be found) http://community.qnx.com/sf/go/post121910 Product Name: QNX Software Development Platform - Perpetual - Named User Developer License (ver. 7.1.0) On x86-64-generic BSP file path /lib/dll/mmr-mmf-routing.so env path: PATH=/sbin:/usr/sbin:/bin:/usr/bin:/proc/boot:/system/bin:/system/sbin:/system/usr/bin:/lib:/lib/dll:/lib/dll/mmedia SHELL=/bin/sh LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/lib/dll/pci:/usr/lib/graphics/intel-drm:/system/lib:/lib/dll/mmedia run command line: #mkdir -p /pps/services/multimedia/renderer/ #slogger2 #mm-renderer -v -N 0 -e -f &amp; the error meaage: slogger2 appears to have been restarted, performing cleanup... # 59.354[6] Created directory /pps/services/multimedia/renderer/context?nopersist (555) 59.354[6] Created directory /pps/services/multimedia/renderer/component?nopersist (555) 59.357[5] Initializing "Single-track engine plugin" (mmr-track-engine.so) 59.357[5] Initialized "Single-track engine plugin" (mmr-track-engine.so) 59.360[2] Couldn't load mmr-mmf-routing.so (Library cannot be found) 59.360[5] Retiring "Single-track engine plugin" (mmr-track-engine.so) 59.360[5] Unloading "Single-track engine plugin" (mmr-track-engine.so) 59.360[1] mmr_connect: No such file or directory Why? The mmr-mmf-routing.so couldn't load? Mon, 05 Sep 2022 03:34:06 GMT http://community.qnx.com/sf/go/post121910 Derek Liu(deleted) 2022-09-05T03:34:06Z post119380: io-audio shown mixer event could not be delievered http://community.qnx.com/sf/go/post119380 Hi I tried to write audio player and seeing following log always spew out while playback wav file. The pid 693739 is my audio application. Is it related to mixer event notification as http://www.qnx.com/developers/docs/qnxcar2/index.jsp?topic=%2Fcom.qnx.doc.neutrino.audio%2Ftopic%2Fmixer_MixerEventNotification.html ? Thanks! io_audio.577372 slog 0 Mixer event could not be delivered to pid 693739 because 300 messages are outstanding Thu, 03 Jan 2019 10:34:02 GMT http://community.qnx.com/sf/go/post119380 Steve Kuo 2019-01-03T10:34:02Z post118914: freescale-datestamp.zip http://community.qnx.com/sf/go/post118914 I'm building a video playback demo on an i.MX6Quad (Boundary Devices Nitrogen6x) board which is running a QNX6.6 on it, and refer to the "About_the_QNX_SDK_for_Apps_and_Media.pdf", there should be a file called "freescale-datestamp.zip" in the QNX Download Center, but I cannot find it at all. Could anyone help me get this file? Thank you in advance. Any other alternative idea is also highly welcomed and appreciated. Fri, 06 Jul 2018 10:53:43 GMT http://community.qnx.com/sf/go/post118914 Nick Qiu(deleted) 2018-07-06T10:53:43Z post118165: Re: How to play a video over network? http://community.qnx.com/sf/go/post118165 I have a few questions before I can answer your query: What version of SDP is this on? What version of the QNX Multimedia software? What format is the video you want to play? Is it in a container of some sort? On 2017-10-30, 9:25 PM, "Nam Nguyen" &lt;community-noreply@qnx.com&gt; wrote: &gt;Hi everyone, &gt;I am working on EVM J6 and planning to play a video over network. &gt;As I know, the input data for mme are files, devices. &gt;How can I use my specific data as the input? &gt;The video data frames will be received over network, then I want to play &gt;them real time. &gt;It would be grateful if you can give me a suggestion. &gt; &gt;Thank you &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;Development &gt;http://community.qnx.com/sf/go/post118161 &gt;To cancel your subscription to this discussion, please e-mail &gt;development-multimedia-unsubscribe@community.qnx.com Tue, 31 Oct 2017 13:07:40 GMT http://community.qnx.com/sf/go/post118165 Adrian Boak(deleted) 2017-10-31T13:07:40Z post118161: How to play a video over network? http://community.qnx.com/sf/go/post118161 Hi everyone, I am working on EVM J6 and planning to play a video over network. As I know, the input data for mme are files, devices. How can I use my specific data as the input? The video data frames will be received over network, then I want to play them real time. It would be grateful if you can give me a suggestion. Thank you Tue, 31 Oct 2017 01:25:32 GMT http://community.qnx.com/sf/go/post118161 Nam Nguyen(deleted) 2017-10-31T01:25:32Z post118014: Re: QNX mm-renderer crashes when start and stop movies on multiple display frequently. http://community.qnx.com/sf/go/post118014 No version of the QNX multimedia product shipped with FFMPEG. I would suggest getting in touch with whoever sourced those binaries for you. On 2017-09-05, 3:02 AM, "Melody Wang" &lt;community-noreply@qnx.com&gt; wrote: &gt;I am suffering the same issue. WHen I run ffmpeg on qnx6.5, it &gt;occasionally core dump(Malloc Check failed). Also tells dlist.c:1171 &gt;error. But I don't have the source code:( &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;Development &gt;http://community.qnx.com/sf/go/post118012 &gt;To cancel your subscription to this discussion, please e-mail &gt;development-multimedia-unsubscribe@community.qnx.com Tue, 05 Sep 2017 12:47:20 GMT http://community.qnx.com/sf/go/post118014 Adrian Boak(deleted) 2017-09-05T12:47:20Z post118012: Re: QNX mm-renderer crashes when start and stop movies on multiple display frequently. http://community.qnx.com/sf/go/post118012 I am suffering the same issue. WHen I run ffmpeg on qnx6.5, it occasionally core dump(Malloc Check failed). Also tells dlist.c:1171 error. But I don't have the source code:( Tue, 05 Sep 2017 07:02:03 GMT http://community.qnx.com/sf/go/post118012 Melody Wang(deleted) 2017-09-05T07:02:03Z post116377: Using libcapture-usb-uvc.so on an iMX6 Board http://community.qnx.com/sf/go/post116377 We are using a USB camera (VID_174f&amp;PID_1734) on an iMX6 board. The camera is connected to iMX6 through a USB hub (USB2517). It works fine in Android, and the following debug messages are output in Android, root@android:/ # usb 2-1.3: new high speed USB device number 7 using fsl-ehci uvcvideo: Found UVC 1.00 device Front Camera (174f:1734) input: Front Camera as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.3/2-1.3:1.0/input/input9 Start a simple camera test application, the camera video is displayed on screen. If we program a QNX6.6 image to the board and run the following commands, error messages are output repeatedly. # ln -Psf /usr/lib/libcapture-usb-uvc.so /usr/lib/libcapture.so.1 # rearview-camera -zorder=-1 -parent-zorder=-1 -format=yuy2 -bsize=640x480 -sfsize=640x480 -csize=640x480 -interface-type=csi2 -source=0 -nlanes=2 -sensor-clk-mode=1 -verbosity=1 &gt; /dev/null &amp; Error messages are as follow, Has JPEG formatadjusting the source viewport size from -1 x -1 to 640 x 480 Failed to get urb status size 0 Input/output error(5) 0x2000002 Failed to get urb status size 0 Input/output error(5) 0x2000002 Failed to get urb status size 0 Input/output error(5) 0x2000002 Failed to get urb status size 0 Input/output error(5) 0x2000002 Failed to get urb status size 0 Input/output error(5) 0x2000002 Failed to get urb status size 0 Input/output error(5) 0x2000002 Failed to get urb status size 12028 Input/output error(5) 0x2000008 Failed to get urb status size 49152 Input/output error(5) 0x2000008 Failed to get urb status size 49152 Input/output error(5) 0x2000008 Failed to get urb status size 48244 Input/output error(5) 0x2000008 Failed to get urb status size 31744 Input/output error(5) 0x2000008 Failed to get urb status size 49152 Input/output error(5) 0x2000008 Failed to get urb status size 35840 Input/output error(5) 0x2000008 Run command "usb", the camera info is displayed as follow, # usb USB 0 (EHCI) v1.10, v1.01 DDK, v1.01 HCD Device Address : 1 Vendor : 0x0424 Product : 0x2517 Class : 0x09 (Hub) Subclass : 0x00 Protocol : 0x02 Hub Number Ports : 7 Hub Characteristics : 0x0089 (Individual power, Individual over-current) Hub Power On-&gt;Good : 100 ms Hub Power Requirements : 1 mA Device Address : 2 ... ... Device Address : 3 Vendor : 0x174f (D-MAX) Product : 0x1734 (Front Camera) Class : 0xef (Unknown) Subclass : 0x02 Protocol : 0x01 Other USB devices can work normally on the board (e.g. USB LAN, USB storage devices). I also tested the camera using QNX6.5 image, and run vcapture-test command. But I got the same errors. What else shall I do to make it work? Thanks. Fri, 03 Jun 2016 10:06:57 GMT http://community.qnx.com/sf/go/post116377 Hong Gang Ma(deleted) 2016-06-03T10:06:57Z post115897: Re: Using libcapture on an i.MX6 Sabrelite http://community.qnx.com/sf/go/post115897 Hi, You can't use malloc(). You can use screen_create_window_buffers(). I guess one can also use screen_create_buffer() but I didn't try. Nicolas Thu, 03 Mar 2016 10:18:59 GMT http://community.qnx.com/sf/go/post115897 Nicolas Pinault 2016-03-03T10:18:59Z post115108: Re: QNX mm-renderer crashes when start and stop movies on multiple display frequently. http://community.qnx.com/sf/go/post115108 We will need the use-case, so we can reproduce here, the file(s) used, the core file On 2015-11-25, 1:44, "DI WU" &lt;community-noreply@qnx.com&gt; wrote: &gt;Platform: Atom x86, QNX 660, Qt 5.3 &gt; &gt;Log of mm-renderer: &gt;38.084[5] Created the mp4_parser filter based on the parser tag &gt;38.084[5] Finding decoder for stream 0. &gt;38.084[7] Trying to get compressed channel 0. &gt;38.085[7] Trying to get uncompressed channel 1. &gt;38.085[7] No channel found. &gt;38.085[5] No audio stream found. &gt;38.086[5] PGA_StreamerDisconnect() releasing pcm_handle 80e9f10 &gt;38.087[7] Creating writer of type video_writer. &gt;38.088[6] Video writer getting PID 3584013. &gt;38.088[5] Finding decoder for stream 1. &gt;38.088[7] Trying to get compressed channel 0. &gt;38.089[5] Skipping queue after parser. &gt;38.089[7] find_decoder() looking for video-decoder. &gt;38.089[5] Couldn't create the ipp_video_decoder filter (based on the &gt;video-decoder tag), mmerr=4046, looking for another one &gt;38.091[5] MmfFreeMraPool(): channel=EncodedVideoOut, nbufs=12, &gt;nelements=600, max=1 &gt;38.095[5] MmfFreeMraPool(): channel=RawDataOut, nbufs=12, nelements=50, &gt;max=5 &gt;free malloc object that is not &gt;allocated:/builds/660_SDP/svn/lib/c/alloc/dlist.c:1121 &gt;Abort (core dumped) &gt; &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;Development &gt;http://community.qnx.com/sf/go/post115106 &gt;To cancel your subscription to this discussion, please e-mail &gt;development-multimedia-unsubscribe@community.qnx.com Wed, 25 Nov 2015 11:17:54 GMT http://community.qnx.com/sf/go/post115108 Adrian Nita 2015-11-25T11:17:54Z post115106: QNX mm-renderer crashes when start and stop movies on multiple display frequently. http://community.qnx.com/sf/go/post115106 Platform: Atom x86, QNX 660, Qt 5.3 Log of mm-renderer: 38.084[5] Created the mp4_parser filter based on the parser tag 38.084[5] Finding decoder for stream 0. 38.084[7] Trying to get compressed channel 0. 38.085[7] Trying to get uncompressed channel 1. 38.085[7] No channel found. 38.085[5] No audio stream found. 38.086[5] PGA_StreamerDisconnect() releasing pcm_handle 80e9f10 38.087[7] Creating writer of type video_writer. 38.088[6] Video writer getting PID 3584013. 38.088[5] Finding decoder for stream 1. 38.088[7] Trying to get compressed channel 0. 38.089[5] Skipping queue after parser. 38.089[7] find_decoder() looking for video-decoder. 38.089[5] Couldn't create the ipp_video_decoder filter (based on the video-decoder tag), mmerr=4046, looking for another one 38.091[5] MmfFreeMraPool(): channel=EncodedVideoOut, nbufs=12, nelements=600, max=1 38.095[5] MmfFreeMraPool(): channel=RawDataOut, nbufs=12, nelements=50, max=5 free malloc object that is not allocated:/builds/660_SDP/svn/lib/c/alloc/dlist.c:1121 Abort (core dumped) Wed, 25 Nov 2015 06:44:13 GMT http://community.qnx.com/sf/go/post115106 DI WU(deleted) 2015-11-25T06:44:13Z post112995: Using libcapture on an i.MX6 Sabrelite http://community.qnx.com/sf/go/post112995 Hello I am trying to use libcapture-board-imx6x-no-decoder.so on a custom i.MX6 board in QNX 6.6 to capture MIPI video input. The custom board has a MIPI encoder which is being setup to emit a test signal into the i.MX6 capture port. Unfortunately the library is reporting some DMA timeouts. As a starting point, I have tried to do use libcapture on a Sabrelite board, using the sample code from the QNX 6.6 "Video Capture Developer's Guide and API Reference". The call to: capture_create_buffers( context, CAPTURE_PROPERTY_FRAME_BUFFERS ); crashes with a segmentation fault within the library. I am therefore attempting to use "Application allocated" buffers, as the developers guide puts it, using the following calls: void *frame_buffers[1]; Set CAPTURE_PROPERTY_DST_NBYTES, CAPTURE_PROPERTY_DST_WIDTH, CAPTURE_PROPERTY_DST_HEIGHT, CAPTURE_PROPERTY_DST_STRIDE properties.... capture_set_property_i( context, CAPTURE_PROPERTY_FRAME_NBUFFERS, NUMBER_OF_BUFFERS ); frame_buffers[0] = malloc(525 * 480 * 3); capture_set_property_p( context, CAPTURE_PROPERTY_FRAME_BUFFERS, (void*)frame_buffers ); Is that right? When I run this altered sample code, to capture a single frame, I get the following output from the i.mx6 implementation of the capture library: capture:ctx-&gt;dead=0, ctx-&gt;enable=1, ctx-&gt;dma_rst_count=0, errno: Connection timed out capture:ctx-&gt;dead=0, ctx-&gt;enable=1, ctx-&gt;dma_rst_count=0, errno: Connection timed out capture:imx6x_capture_wait_for_dma_complete timed out, count=0, capture_buf=80500a0, dei_buffer_cnt=0 capture:hw_stop_transfer capture:ctx-&gt;dead=0, ctx-&gt;enable=1, ctx-&gt;dma_rst_count=1, errno: Connection timed out capture:imx6x_capture_wait_for_dma_complete timed out, count=1, capture_buf=80500a0, dei_buffer_cnt=0 capture:hw_stop_transfer capture:ctx-&gt;dead=0, ctx-&gt;enable=1, ctx-&gt;dma_rst_count=2, errno: Connection timed out capture:imx6x_capture_wait_for_dma_complete timed out, count=2, capture_buf=80500a0, dei_buffer_cnt=0 capture:hw_stop_transfer capture:ctx-&gt;dead=0, ctx-&gt;enable=1, ctx-&gt;dma_rst_count=3, errno: Connection timed out capture:imx6x_capture_wait_for_dma_complete timed out, count=3, capture_buf=80500a0, dei_buffer_cnt=0 capture:hw_stop_transfer capture:ctx-&gt;dead=0, ctx-&gt;enable=1, ctx-&gt;dma_rst_count=4, errno: Connection timed out capture:imx6x_capture_wait_for_dma_complete timed out, count=4, capture_buf=80500a0, dei_buffer_cnt=0 capture:hw_stop_transfer capture:IPU/CCM dump, reason='timeout': capture:CCM base: 0x 20c4000 capture:IOMUX base: 0x 20e0000 capture:IPU base: 0x 2a00000 capture:CPMEM_WRITE_1(chan 1) base: 0x 100040 capture:CPMEM_WRITE_2(chan 1) base: 0x 100060 capture: dumping IPU registers.... capture:IPU_CONF(0): 0x00000660 capture:IPU_GPR(0xe4): 0x00000000 capture:IPU_CH_DB_MODE_SEL_0(0x150): 0x00000000 capture:IPU_CH_TRB_MODE_SEL_0(0x178):0x00000000 capture:IPU_CH_BUF0_RDY0(0x268): 0x00000000 capture:IPU_INT_CTRL_1(0x3c): 0x08800002 capture:IPU_INT_CTRL_3(0x44): 0x00000002 capture:IPU_INT_CTRL_5(0x4c): 0x00000002 capture:IPU_INT_CTRL_7(0x54): 0x00000000 capture:IPU_INT_CTRL_9(0x5c): 0x80000000 capture:IPU_INT_CTRL_10(0x60): 0x00080002 capture:IPU_INT_CTRL_11(0x64): 0x00000000 capture:IPU_INT_CTRL_13(0x6c): 0x00000000 capture:IPU_INT_CTRL_15(0x74): 0x00000000 capture:IPU_INT_STAT_1(0x200): 0x00000000 capture:IPU_INT_STAT_3(0x208): 0x00800000 capture:IPU_INT_STAT_5(0x210): 0x00000000 capture:IPU_INT_STAT_7(0x218): 0x00800000 capture:IPU_INT_STAT_9(0x220): 0x00000000 capture:IPU_INT_STAT_10(0x224): 0x00000000 capture:IPU_INT_STAT_11(0x228): 0x00000000 capture:IPU_INT_STAT_13(0x230): 0x00800000 capture:IPU_INT_STAT_15(0x238): 0x00ff400c capture:IPU_SRM_STAT(0x24c): 0x00000000 capture:IPU_PROC_TASKS_STAT(0x250): 0x00000000 capture:IPU_DISP_TASKS_STAT(0x254): 0x00000000 capture:IDMAC_CH_EN_1(0x8004): 0x00800000 capture:IDMAC_CH_PRI_1(0x8014): 0x08800002 capture:IDMAC_LOCK_EN_1(0x8024): 0x000f0000 capture:IDMAC_CH_BUSY_1(0x8100): 0x00800000 capture:SMFC_MAP(0x50000): 0x00000020 capture:SMFC_BS(0x50008): 0x00000070 capture:CSI_SENS_CONF(1)(0x38000): 0x04000900 capture:CSI_SENS_FRM_SIZE(1)(0x38004):0x01df020c capture:CSI_ACT_FRM_SIZE(1)(0x38008): 0x01df020c capture:CSI_OUT_FRM_CTRL(1)(0x3800c): 0x00000000 capture:CSI_TST_CTRL(1)(0x38010): 0x00000000 capture:CSI_CCIR_CODE_1(1)(0x38014): 0x00000000 capture:CSI_CCIR_CODE_2(1)(0x38018): 0x00000000 capture:CSI_CCIR_CODE_3(1)(0x3801c): 0x00000000 capture:CSI_SKIP(1)(0x38024): 0x00000000 capture:CSI_CPD_CTRL(1)(0x38028): 0x00000000 capture:VDI_FSIZE(0x68000): 0x00000000 capture:VDI_C(0x68004): 0x00000000 The DMA timeout errors are quite likely to be significant? Given that there is a libcapture library implementation specifically for the Sabrelite board, perhaps someone could provide a known working example to try out? Are there any BSP alterations required? Any other hints? Thanks Ed Mon, 19 Jan 2015 15:40:24 GMT http://community.qnx.com/sf/go/post112995 Ed Langley(deleted) 2015-01-19T15:40:24Z post112515: Re: Process to update a BSP to QNX SDP 6.6 http://community.qnx.com/sf/go/post112515 Looks like in the .lnk file of the example BSP there is added the following line in the text section: *(.note.gnu.build-id) between the *(.text) and *(.rodata*) lines. That got it to proceed with the link, but now I have undefineds... Tue, 02 Dec 2014 23:44:32 GMT http://community.qnx.com/sf/go/post112515 Tom Gerardy(deleted) 2014-12-02T23:44:32Z post110713: Process to update a BSP to QNX SDP 6.6 http://community.qnx.com/sf/go/post110713 Hello, I try to compile the BSP soft for I.MX53 QSB board using the instruction from QNX SDP 6.6.0 BSPs manual, chapter 4: Process to update a BSP to QNX SDP 6.6, but I can't figure out how to fix this error: C:\qnx660\host\win32\x86\usr\bin\arm-unknown-nto-qnx6.6.0eabi-ld: error: no memory region specified for loadable section `.note.gnu.build-id' Should I add a new memory section in mx53qsb.lnk file? Can anyone give me a workaround solution? Tue, 17 Jun 2014 14:24:56 GMT http://community.qnx.com/sf/go/post110713 Daniel C(deleted) 2014-06-17T14:24:56Z post110699: Camera capture for I.MX53 QSB board http://community.qnx.com/sf/go/post110699 I want to use the video capture for the "I.MX53 QSB", but I can't find the video capture library for this board. According to the "Video Capture Developer's Guide and API Reference" document the libcapture-board-*-*.so library must be used. How can I create my own library to support my board? Also how can I create a driver for the "LI-2M05CM - Leopard Imaging" camera sensor? Can I obtain the source code for one of the supported boards (libcapture-board-*-*.so) and for one of the supported cameras (libcapture-camera-*-*.so) to modify it and the create custom libraries? Mon, 16 Jun 2014 14:15:26 GMT http://community.qnx.com/sf/go/post110699 Daniel C(deleted) 2014-06-16T14:15:26Z post104728: Re: How can I use usb camera in QNX? http://community.qnx.com/sf/go/post104728 &gt; Some "demo-quality" software is described here - it is for on particular &gt; camera only! &gt; &gt; http://dl.dropbox.com/u/13676760/camera.pdf &gt; &gt; A link to a pre-configured sabre-lite image with the demo is included in the &gt; doc. Can you give me the source code ? I find it's really hard for me to develop a drive. When I am Trying to use usbd_parse_descriptors() to get the description of a isochronous endpoint ,the stack only give back a description of a control endpoint.I really don't know how to deal with this problem. I hope you can give me the source code or tell me how to deal with this problem. Tue, 03 Sep 2013 04:35:49 GMT http://community.qnx.com/sf/go/post104728 robort smith 2013-09-03T04:35:49Z post104329: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104329 Thank You Gilles. mmecli is receiving the correct events i will check my code Tue, 20 Aug 2013 13:54:23 GMT http://community.qnx.com/sf/go/post104329 kandregula vijaya santhi 2013-08-20T13:54:23Z post104320: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104320 Try with mmdcli -e running in a terminal. Does mmdcli receive the proper events? If so, you should compare your source code to the mmecli sample source. Thanks Gilles Tue, 20 Aug 2013 13:22:49 GMT http://community.qnx.com/sf/go/post104320 Gilles Roy 2013-08-20T13:22:49Z post104318: Re: How can I use usb camera in QNX? http://community.qnx.com/sf/go/post104318 Some "demo-quality" software is described here - it is for on particular camera only! http://dl.dropbox.com/u/13676760/camera.pdf A link to a pre-configured sabre-lite image with the demo is included in the doc. Tue, 20 Aug 2013 12:26:12 GMT http://community.qnx.com/sf/go/post104318 Dennis Kellly 2013-08-20T12:26:12Z post104317: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104317 Thank You Gilles. Iam waiting in while loop to receive the events.Iam not getting why iam not receving the state change event.But if i insert again iam getting the 2 state change events. Is any settings iam missing? Tue, 20 Aug 2013 12:03:53 GMT http://community.qnx.com/sf/go/post104317 kandregula vijaya santhi 2013-08-20T12:03:53Z post104299: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104299 Maybe you aren't caught up with all of the events, I.e. 2 events were queued and you only called event_get() once? Mon, 19 Aug 2013 19:00:20 GMT http://community.qnx.com/sf/go/post104299 Gilles Roy 2013-08-19T19:00:20Z post104291: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104291 Thank You Gilles But iam not getting the stae change event instead iam getting event number 35 (MME_EVENT_TRKSESSION). is any problem in handling events in my code. Please find the code snippet below void* ReadEvents() { struct _pulse pulseR; int coid=0,chid=0,cancelstate=0; mme_playstate_t eMMEState; printf("Read Events\n"); // Create channel to receive the pulse notification chid = ChannelCreate(0); // Connect to channel for the pulse notification coid = ConnectAttach(0, 0, chid, _NTO_SIDE_CHANNEL, 0); SIGEV_PULSE_INIT(&amp;event, coid, SIGEV_PULSE_PRIO_INHERIT, MME_EVENT_PULSE_CODE, 0); if ( -1 == mme_set_notification_interval(m_hMME,1000)) { printf("warning:mme_set_notification_interval\n"); } //Register for MME Events if (-1 == mme_register_for_events(m_hMME, MME_EVENT_CLASS_ALL, &amp;event)) { printf("Warning:Registering for Events Failed.\n"); pthread_exit(NULL); } //wait for Events do { if (0 != MsgReceivePulse( chid, &amp;pulseR, sizeof(pulseR), NULL)) { continue; } if (-1 == mme_get_event(m_hMME, &amp;mme_event)) { printf("Failed to get a media event.mme_get_event() set errno=%d\n", errno); //pthread_exit(NULL); } else { // Don't allow the thread cleanup handler to be called while it is processing // an MME event. It may be sending a message and the mutex protecting the // worker framework handle may not get unlocked before the thread terminates. if (EINVAL == pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &amp;cancelstate)) { printf("Could not disable thread cancel state.Invalid state value."); } //printf("Event Received:%lu\n",mme_event-&gt;type); switch (mme_event-&gt;type) { case MME_EVENT_TIME: { mme_time_t *SData =(mme_time_t *)(mme_event-&gt;data); uint64_t time=SData-&gt;time; uint64_t duration=SData-&gt;duration; MMESendTimeInfo(time,duration); } break; case MME_EVENT_TRACKCHANGE: printf("MME_EVENT_TRACKCHANGE\n"); break; case MME_EVENT_PLAYSTATE: printf("MME_EVENT_PLAYSTATE\n"); eMMEState = (mme_playstate_t)mme_event-&gt;data[0]; switch(eMMEState) { case MME_PLAYSTATE_UNKNOWN: printf("MME_PLAYSTATE_UNKNOWN\n"); break; case MME_PLAYSTATE_ERROR: printf("MME_PLAYSTATE_ERROR\n"); break; case MME_PLAYSTATE_PLAYING: printf("MME_PLAYSTATE_PLAYING\n"); break; case MME_PLAYSTATE_PAUSED: printf("MME_PLAYSTATE_UNKNOWN\n"); break; case MME_PLAYSTATE_STOPPED: printf("MME_PLAYSTATE_STOPPED\n"); break; case MME_PLAYSTATE_FASTFWD: printf("MME_PLAYSTATE_FASTFWD\n"); break; case MME_PLAYSTATE_FASTREV: printf("MME_PLAYSTATE_FASTREV\n"); break; default: printf("Default MME_PLAYSTATE\n"); break; }//End of Play event Switch break; case MME_EVENT_FINISHED: { printf("MME_EVENT_FINISHED\n"); break; } case MME_EVENT_PLAY_ERROR: case MME_EVENT_FINISHED_WITH_ERROR: printf("MME_EVENT_PLAY_ERROR\n"); break; case MME_EVENT_MS_STATECHANGE: { printf("MME_EVENT_MS_STATECHANGE\n"); mme_ms_statechange_t *tData =(mme_ms_statechange_t *)(mme_event-&gt;data); printf("Data----\ntData-&gt;msid:%llu\ntData-&gt;old_state:%lu\n " "tData-&gt;new_state:%lu\ntData-&gt;device_type:%d\ntData-&gt;storage_type:%d", tData-&gt;msid,tData-&gt;old_state,tData-&gt;new_state,tData-&gt;device_type,tData-&gt;storage_type); SS_SOURCE SourceType=MMEGetSystemSourceType(m_hQDB,tData-&gt;msid,tData-&gt;storage_type); if (e_mme_ms_active == tData-&gt;new_state) { printf("State change New\n"); MMEProcessActiveSource(tData-&gt;msid,SourceType); } else { printf("Device Removed/De-activated\n"); //Get the source type depending on msid int i; for(i=0;i&lt;SS_INVALID;i++) { if(DeviceArray[i]== tData-&gt;msid) { SourceType=i; break; } } MMEProcessDeactiveSource(tData-&gt;msid,SourceType); } } break; case MME_EVENT_SYNC_SKIPPED: { printf("MME_EVENT_SYNC_SKIPPED\n"); break; } case MME_EVENT_MS_SYNC_PENDING: printf("MME_EVENT_MS_SYNC_PENDING\n"); break; case MME_EVENT_MS_SYNC_STARTED: printf("MME_EVENT_MS_SYNC_STARTED\n"); break; case MME_EVENT_MS_SYNCCOMPLETE: printf("MME_EVENT_MS_SYNCCOMPLETE\n"); break; case MME_EVENT_SYNC_ERROR: printf("MME_EVENT_MS_SYNCCOMPLETE\n"); break; case MME_EVENT_SYNCABORTED: printf("MME_EVENT_SYNCABORTED\n"); break; case MME_EVENT_MS_UPDATE: printf("MME_EVENT_MS_UPDATE\n"); break; case MME_EVENT_MS_SYNCFIRSTFID: printf("MME_EVENT_MS_SYNCFIRSTFID\n"); break; case MME_EVENT_MS_SYNC_FIRST_EXISTING_FID: printf("MME_EVENT_MS_SYNC_FIRST_EXISTING_FID\n"); break; case MME_EVENT_MS_1PASSCOMPLETE: printf("MME_EVENT_MS_1PASSCOMPLETE\n"); break; case MME_EVENT_MS_2PASSCOMPLETE: printf("MME_EVENT_MS_2PASSCOMPLETE\n"); break; case MME_EVENT_MS_3PASSCOMPLETE: printf("MME_EVENT_MS_3PASSCOMPLETE\n"); break; case MME_EVENT_MS_DB_SYNC_COMPLETE: printf("MME_EVENT_MS_DB_SYNC_COMPLETE\n"); break; case MME_EVENT_PLAYLIST: { printf("MME_EVENT_PLAYLIST\n"); break; } case MME_EVENT_MS_SYNC_FOLDER_STARTED: { printf("MME_EVENT_MS_SYNC_FOLDER_STARTED\n"); break; } case MME_EVENT_MS_SYNC_FOLDER_COMPLETE: { printf("MME_EVENT_MS_SYNC_FOLDER_COMPLETE\n"); break; } case MME_EVENT_MS_SYNC_FOLDER_CONTENTS_COMPLETE: { printf("MME_EVENT_MS_SYNC_FOLDER_CONTENTS_COMPLETE\n"); break; } case MME_EVENT_MS_SYNC_FOLDER_TRIM_COMPLETE: { printf("MME_EVENT_MS_SYNC_FOLDER_TRIM_COMPLETE\n"); break; } case MME_EVENT_MS_DETECTION_ENABLED: { printf("MME_EVENT_MS_DETECTION_ENABLED\n"); break; } case MME_EVENT_MS_DETECTION_DISABLED: { printf("MME_EVENT_MS_DETECTION_DISABLED\n"); break; } case MME_EVENT_METADATA_LICENSING: { printf("MME_EVENT_METADATA_LICENSING\n"); } break; default: printf("Coming to Default:Read Events-%lu\n",mme_event-&gt;type); break; }//End of Event Switch } } while (1); } Mon, 19 Aug 2013 15:59:57 GMT http://community.qnx.com/sf/go/post104291 kandregula vijaya santhi 2013-08-19T15:59:57Z post104279: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104279 Hi Santhi, In your logs I see the ejection, immediate when the system level logs report an ejection the MME does send the event immediately (MME_EVENT_MS_STATECHANGE): Jan 01 00:04:32 2 12 0 CLASS_ExtractDevice: dno 1, vid 18a5, parent 0, port 0, openings 1 Jan 01 00:04:32 2 12 0 CLASS_ExtractDevice: holdoff port 0 Jan 01 00:04:32 2 19 900 umass_removal: path 1, devno 1, vid 18a5, did 240, class 8, sclass 6, proto 50, tflags 3000 Jan 01 00:04:32 2 12 0 udi_detach: defered removal, dno 1 Jan 01 00:04:32 2 12 0 CLASS_ExtractDeviceCleanup: dno 1 Jan 01 00:04:32 5 27 0 MME:handle_eject(472): Device "/fs/usb0" ejected. Jan 01 00:04:32 5 27 0 MME:ms_ejected(2549): Media store at "/fs/usb0" with ID 1 is being ejected. Jan 01 00:04:32 5 27 0 MME:ms_state_change_internal(2313): Media store 1 state change: active-&gt;unavailable; location ""-&gt;"". Jan 01 00:04:32 5 27 0 MME:handle_eject(463): No more data on "/dev/mcd/EJECTED". Jan 01 00:04:32 5 27 0 MME:mediastores_entry_update(622): Set database state to unavailable for media store with ID 1. Jan 01 00:04:32 5 27 0 MME:slots_table_set_inactive(479): Set slot inactive for media store with ID 1. Jan 01 00:04:32 5 27 0 MME:ntfy_log_event(859): MME_EVENT_MS_STATECHANGE(Media store 1; active-&gt;unavailable; device type 1, storage type 2) On 13-08-19 5:41 AM, "kandregula vijaya santhi" &lt;community-noreply@qnx.com&gt; wrote: Hello Gilles, please find the log attached. Thanks, Santhi _______________________________________________ Development http://community.qnx.com/sf/go/post104270 To cancel your subscription to this discussion, please e-mail development-multimedia-unsubscribe@community.qnx.com Mon, 19 Aug 2013 13:47:59 GMT http://community.qnx.com/sf/go/post104279 Gilles Roy 2013-08-19T13:47:59Z post104271: Re: How to know file system type for the media inserted http://community.qnx.com/sf/go/post104271 Thank You Gilles. i will use this api to get file system type. Mon, 19 Aug 2013 09:43:55 GMT http://community.qnx.com/sf/go/post104271 kandregula vijaya santhi 2013-08-19T09:43:55Z post104270: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104270 Hello Gilles, please find the log attached. Thanks, Santhi Mon, 19 Aug 2013 09:41:54 GMT http://community.qnx.com/sf/go/post104270 kandregula vijaya santhi 2013-08-19T09:41:54Z post104209: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104209 I would need you to do the following: mmecli set_debug 4 0 Then reproduce the problem and sent me the output of sloginfo. Regards, Gilles Wed, 14 Aug 2013 18:21:55 GMT http://community.qnx.com/sf/go/post104209 Gilles Roy 2013-08-14T18:21:55Z post104206: Re: How to know file system type for the media inserted http://community.qnx.com/sf/go/post104206 The MME doesn't monitor that. Normally you can do a statvfs() call and get a mount type string. Regards, Gilles Wed, 14 Aug 2013 17:00:38 GMT http://community.qnx.com/sf/go/post104206 Gilles Roy 2013-08-14T17:00:38Z post104179: How to know file system type for the media inserted http://community.qnx.com/sf/go/post104179 Hello, How to know the file system type or volume info for the inserted media like whether it is FAT32,FAT16,EXFAT,CDDA,CDDA_TEXT,ISO,UDF? Thanks, Vijaya Santhi. Wed, 14 Aug 2013 09:36:34 GMT http://community.qnx.com/sf/go/post104179 kandregula vijaya santhi 2013-08-14T09:36:34Z post104178: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104178 Here is the output # use -i mme-generic NAME=mme-generic DESCRIPTION=MME Generic build DATE=2012/04/02-18:55:00-EDT STATE=stable HOST=ccbuild USER=builder VERSION=20.26.16.1 TAGID=4503@645078 Thanks, Santhi Wed, 14 Aug 2013 05:46:44 GMT http://community.qnx.com/sf/go/post104178 kandregula vijaya santhi 2013-08-14T05:46:44Z post104174: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104174 What is the output of "use -i mme-generic"? Thanks Gilles Wed, 14 Aug 2013 02:13:54 GMT http://community.qnx.com/sf/go/post104174 Gilles Roy 2013-08-14T02:13:54Z post104127: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104127 Thank You Gilles Yes MCD is showing the usb entry when i executed cat /dev/mcd/EJECTED But iam not getting the state change event. iam receiving only Play Stopped event when i stopped playback. What i observed is if again insert the usb iam getting two state change events , one for ejection and another for insertion Are there any synchronisation issues? This is only happening with if i remove usb after stopping the playback. If i remove the device in paused or playing state ,mme is giving proper state change events Tue, 13 Aug 2013 06:33:24 GMT http://community.qnx.com/sf/go/post104127 kandregula vijaya santhi 2013-08-13T06:33:24Z post104109: Re: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104109 Normally I would expect a state change event saying the device is ejected. MME relies on MCD, you could do "cat /dev/mcd/EJECTED" to see if the device is reported as ejected. Regards, Gilles Mon, 12 Aug 2013 15:25:48 GMT http://community.qnx.com/sf/go/post104109 Gilles Roy 2013-08-12T15:25:48Z post104100: No State Change event after Play back stooped and device removed http://community.qnx.com/sf/go/post104100 Hello, I Had inserted USB and got State Change event .Started playing media and after some time stopped the play back.Then removed USB but i didnot get state change event only got Play back state stopped. Is this the correct behaviour.In this case how to know that device is removed ? Thanks, Vijaya Santhi. Mon, 12 Aug 2013 07:08:41 GMT http://community.qnx.com/sf/go/post104100 kandregula vijaya santhi 2013-08-12T07:08:41Z post103913: Re: Continous Play and No Track Change happening after Play http://community.qnx.com/sf/go/post103913 Thank You Gilles. I formatted my SD card where my image is loaded and it is working fine now. Fri, 02 Aug 2013 14:15:56 GMT http://community.qnx.com/sf/go/post103913 kandregula vijaya santhi 2013-08-02T14:15:56Z post103793: How can I use usb camera in QNX? http://community.qnx.com/sf/go/post103793 I am trying to use usb camera to detect some objects.But I didn't find derive for usb camera. I want to know if it's possible for me to develop derive myself and how can I do that. Wed, 31 Jul 2013 16:09:57 GMT http://community.qnx.com/sf/go/post103793 robort smith 2013-07-31T16:09:57Z post103628: Re: Continous Play and No Track Change happening after Play http://community.qnx.com/sf/go/post103628 Need to see the sloginfo output. Thanks Gilles Fri, 26 Jul 2013 13:37:54 GMT http://community.qnx.com/sf/go/post103628 Gilles Roy 2013-07-26T13:37:54Z post103618: Re: Continous Play and No Track Change happening after Play http://community.qnx.com/sf/go/post103618 I tried using "mmecli stop" but it is not giving any response(even failure also). Thanks, Santhi Fri, 26 Jul 2013 05:21:59 GMT http://community.qnx.com/sf/go/post103618 kandregula vijaya santhi 2013-07-26T05:21:59Z post103588: Re: Continous Play and No Track Change happening after Play http://community.qnx.com/sf/go/post103588 Your log doesn't show why the stop failed. Try "mmecli stop" to see if that command line makes the MME stop. Regards, Gilles Thu, 25 Jul 2013 17:51:56 GMT http://community.qnx.com/sf/go/post103588 Gilles Roy 2013-07-25T17:51:56Z post103546: Continous Play and No Track Change happening after Play http://community.qnx.com/sf/go/post103546 Hello, Please help me in fixing the following issue Issue: Continuous Play and No Track change happening.Also unable do Stop. Following is the Database # qdbc -d /dev/qdb/mme Connected to "/dev/qdb/mme". Use 'ctrl-C' to end. SQL&gt; &gt; &gt; select msid,mountpath from mediastores; Rows: 2 Cols: 2 Names: +msid+mountpath+ 00000: |1|/media/drive| 00001: |2|/fs/usb0| SQL&gt; &gt; select * from nowplaying; Rows: 1 Cols: 21 Names: +ccid+playing+fid+msid+ftype+year+bitrate+samplerate+num_channels+size+discnum+tracknum+rating+copied_fid+filename+artist+title+album+genre+category+description+ 00000: |1|0|4|1|1|0|1411200|44100|2|228396|0|0|0|0|adr.wav|Unknown Artist|[NULL]|Unknown Album|Unknown Genre|Unknown Category|| SQL&gt; select fid,msid,playable,ftype,duration,folderid,filename from library; Rows: 11 Cols: 7 Names: +fid+msid+playable+ftype+duration+folderid+filename+ 00000: |1|1|1|5|0|1|| 00001: |2|1|1|4|0|1|AlbumArtSmall.jpg| 00002: |3|1|1|4|0|1|Folder.jpg| 00003: |4|1|1|1|1294|1|adr.wav| 00004: |5|1|1|1|208535|1|AMBER.wav| 00005: |6|2|1|5|0|2|| 00006: |7|2|1|1|208535|2|amber.wav| 00007: |8|2|1|1|274311|2|Deewana.mp3| 00008: |9|2|1|1|266109|2|Barfi3Kyon.mp3| 00009: |10|2|1|1|270393|2|Barfi2.mp3| 00010: |11|2|1|1|319268|2|Barfi1.mp3| SQL&gt; select * from nowplaying &gt; ; Rows: 1 Cols: 21 Names: +ccid+playing+fid+msid+ftype+year+bitrate+samplerate+num_channels+size+discnum+tracknum+rating+copied_fid+filename+artist+title+album+genre+category+description+ 00000: |1|0|4|1|1|0|1411200|44100|2|228396|0|0|0|0|adr.wav|Unknown Artist|[NULL]|Unknown Album|Unknown Genre|Unknown Category|| SQL&gt; # # I started play as below //m_hMME is the MME handler char *sql = qdb_mprintf("SELECT fid FROM library WHERE msid=%llu and ftype=1",msId); //create the new track session ret = mme_newtrksession( m_hMME, sql, MME_PLAYMODE_LIBRARY, &amp;trksessionid ); if (ret == -1) { printf("Warning:error creating new track session"); return ret; } else { //Set the track session if( -1 == mme_settrksession( m_hMME, trksessionid )) { printf("Warning:error creating set track session\n"); ret=-1; return ret; } if(-1 == mme_play_attach_output(m_hMME, m_ZoneId,m_OutputId)) { printf("mme_play_attach_output failed:zone id(%lld),output id:%lld", m_ZoneId, m_OutputId); } // pass in a fid of 0 to start from the beginning. if( -1 == mme_play(m_hMME, 0)) { printf("Error Play Failed %d-%s\n",errno,strerror(errno)); ret=-1; } else { printf("Play Pass\n"); } Play is succes but it continuous.Iam continously receiving the MME_EVENT_TIME. Always nowplaying database is showing the first song of the corresponding media store.No change happening to the nowplaying table. Also when tried to stop ,there is no response. Please find the log below Jan 01 00:01:29 3 20 1 io-media-generic/aoi: PreParseID3Tag() offset 2789 truncating at offset on invalid frame id from size = 4043 Jan 01 00:01:30 1 27 0 MME:ocb_lock(150): Concurrent MME handle usage pid 458786, tid 57! Jan 01 00:01:30 1 27 0 MME:ocb_lock(150): Concurrent MME handle usage pid 458786, tid 57! Jan 01 00:01:30 1 27 0 MME:ocb_lock(150): Concurrent MME handle usage pid 458786, tid 57! Jan 01 00:01:30 1 27 0 MME:ocb_lock(150): Concurrent MME handle usage pid 458786, tid 57! Jan 01 00:01:30 1 27 0 MME:ocb_lock(150): Concurrent MME handle usage pid 458786, tid 57! Jan 01 00:01:30 5 20 1 io-media-generic/mmf: writer hint snd:* found Jan 01 00:01:30 5 20 1 io-media-generic/trackplayer: Skipping video subgraph because there is no video device specified. Jan 01 00:01:30 5 20 1 io-media-generic/aoi: audio_writer setting AOR_TYPE_POINTER resources PcmQueueFilter to 155f40 Jan 01 00:01:30 5 20 1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0, thr = -1. Jan 01 00:01:30 5 20 1 io-media-generic/trackplayer: Skipping video subgraph because there is no device specified. Jan 01 00:01:30 5 20 1 io-media-generic/mmf: Configuring the queue for 2116800 bytes, lw = 423360, hw = 1693440, thr = -1. Jan 01 00:01:30 5 20 1 io-media-generic/aoi: audio_writer using output device: '/dev/snd/pcmC2D0p' Jan 01 00:01:30 5 20 1 io-media-generic/aoi: audio_writer asking for Signed 16-bit Little Endian, 1..2x17640B frags, 44100Hz, bps=4, 2ch Jan 01 00:01:30 5 20 1 io-media-generic/aoi: audio_writer settings: Signed 16-bit Little Endian, 3x17640B frags, 44100Hz, bps=4, 2ch, Q time 300ms Jan 01 00:01:30 5 20 1 io-media-generic/aoi: audio_writer PGA_StreamerCreate() push mode = 0 adjusting chunk_size from 17640bytes to 17640bytes Jan 01 00:01:30 5 20 1 io-media-generic/aoi: audio_writer using mixer device '/dev/snd/mixerC2D0' Jan 01 00:01:30 5 20 1 io-media-generic/trackplayer: Skipping subgraph 1 because there is no device specified. Jan 01 00:01:30 3 20 1 io-media-generic/trackplayer: Couldn't subscribe to the MM_EV_USER event. Jan 01 00:01:30 5 20 1 io-media-generic/aoi: MediaClock Resume() Please tell me if anything iam missing. This some what urgent to me. Thanks, Santhi. Thu, 25 Jul 2013 06:48:38 GMT http://community.qnx.com/sf/go/post103546 kandregula vijaya santhi 2013-07-25T06:48:38Z post103445: Re: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103445 Thank You Adrian I will try to check on the DSP chip side whether settings are proper. Could you please confirm me from the logs that mme is sending the data to the audio channel configured?By this i want to make sure that there is no problem from aviage mme side. Tue, 23 Jul 2013 08:24:02 GMT http://community.qnx.com/sf/go/post103445 kandregula vijaya santhi 2013-07-23T08:24:02Z post103409: Re: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103409 The "error" is a notification that there is no video output specified, so it isn't trying to build a video subgraph. Sent from my BlackBerry 10 smartphone on the Rogers network. From: kandregula vijaya santhi Sent: Monday, July 22, 2013 8:10 AM To: development-multimedia Reply To: development-multimedia@community.qnx.com Subject: Re: No Audio heard when stated Play using mmecli Thank You Adrian. Iam having having the following configuration in my device # ls -l /dev/snd/ total 0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC1 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC2 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC0D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC1D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC2D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D1p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D1p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D1p lrw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmPreferredc -&gt; pcmC0D0c lrw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmPreferredp -&gt; pcmC0D1p The ones which are ending with "p" are used for playback and with "c" are used for capture. And iam using "pcmC2D0p" for playback # qdbc -d /dev/qdb/mme Connected to "/dev/qdb/mme". Use 'ctrl-C' to end. SQL&gt; select * from outputdevices; Rows: 1 Cols: 6 Names: +outputdeviceid+type+available+permanent+name+devicepath+ 00000: |1|1|1|1|defaultoutput|snd:/dev/snd/pcmC2D0p| SQL&gt; Also could you please tell what the below error mean "Skipping subgraph 1 because there is no device specified" Thanks, Vijaya Santhi. _______________________________________________ Development http://community.qnx.com/sf/go/post103406 To cancel your subscription to this discussion, please e-mail development-multimedia-unsubscribe@community.qnx.com Mon, 22 Jul 2013 12:26:56 GMT http://community.qnx.com/sf/go/post103409 Adrian Boak(deleted) 2013-07-22T12:26:56Z post103408: Re: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103408 I'd suggest you use preferredp. It looks like you have 3 cards with multiple ports per card. Are you sure your outputs come out of the device you hooked up to? Sent from my BlackBerry 10 smartphone on the Rogers network. From: kandregula vijaya santhi Sent: Monday, July 22, 2013 8:10 AM To: development-multimedia Reply To: development-multimedia@community.qnx.com Subject: Re: No Audio heard when stated Play using mmecli Thank You Adrian. Iam having having the following configuration in my device # ls -l /dev/snd/ total 0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC1 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC2 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC0D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC1D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC2D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D1p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D1p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D1p lrw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmPreferredc -&gt; pcmC0D0c lrw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmPreferredp -&gt; pcmC0D1p The ones which are ending with "p" are used for playback and with "c" are used for capture. And iam using "pcmC2D0p" for playback # qdbc -d /dev/qdb/mme Connected to "/dev/qdb/mme". Use 'ctrl-C' to end. SQL&gt; select * from outputdevices; Rows: 1 Cols: 6 Names: +outputdeviceid+type+available+permanent+name+devicepath+ 00000: |1|1|1|1|defaultoutput|snd:/dev/snd/pcmC2D0p| SQL&gt; Also could you please tell what the below error mean "Skipping subgraph 1 because there is no device specified" Thanks, Vijaya Santhi. _______________________________________________ Development http://community.qnx.com/sf/go/post103406 To cancel your subscription to this discussion, please e-mail development-multimedia-unsubscribe@community.qnx.com Mon, 22 Jul 2013 12:24:36 GMT http://community.qnx.com/sf/go/post103408 Adrian Boak(deleted) 2013-07-22T12:24:36Z post103406: Re: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103406 Thank You Adrian. Iam having having the following configuration in my device # ls -l /dev/snd/ total 0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC1 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 controlC2 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC0D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC1D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 mixerC2D0 -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC0D1p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC1D1p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D0c -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D0p -rw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmC2D1p lrw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmPreferredc -&gt; pcmC0D0c lrw-rw-rw- 1 root 0 0 Jan 01 00:29 pcmPreferredp -&gt; pcmC0D1p The ones which are ending with "p" are used for playback and with "c" are used for capture. And iam using "pcmC2D0p" for playback # qdbc -d /dev/qdb/mme Connected to "/dev/qdb/mme". Use 'ctrl-C' to end. SQL&gt; select * from outputdevices; Rows: 1 Cols: 6 Names: +outputdeviceid+type+available+permanent+name+devicepath+ 00000: |1|1|1|1|defaultoutput|snd:/dev/snd/pcmC2D0p| SQL&gt; Also could you please tell what the below error mean "Skipping subgraph 1 because there is no device specified" Thanks, Vijaya Santhi. Mon, 22 Jul 2013 12:10:08 GMT http://community.qnx.com/sf/go/post103406 kandregula vijaya santhi 2013-07-22T12:10:08Z post103405: Re: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103405 It looks like you're trying to play to a capture device.‎ The naming convention is /dev/snd/pcmP&lt;port #&gt;D&lt;device#&gt; for playback devices. Sent from my BlackBerry 10 smartphone on the Rogers network. From: kandregula vijaya santhi Sent: Monday, July 22, 2013 1:06 AM To: development-multimedia Reply To: development-multimedia@community.qnx.com Subject: Re: No Audio heard when stated Play using mmecli Thank You Gilles I tried but still aim unable to hear audio Please find the below log # mmecli newtrksession l "select fid from library where ftype=1" (rc=0,errno=0) new trksessionid=1. Execution Time=0.017 # mmecli settrksession 1 (rc=0,errno=0) Set trksessionid=1. Execution Time=0.052 # # # mmecli play (rc=0,errno=0) Playing from tracksession fid/bid = 0. Execution Time=0.107 #an 01 00:00:36 3 26 998 QDB: created missing database mme Jan 01 00:00:40 5 27 200 MDP:mdp_mgr_init(270): Starting metadata plug-i n initialization. Jan 01 00:00:40 5 27 0 MME:dbs_init(663): Starting database synchroniz er initialization. Jan 01 00:00:51 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/AlbumArtSmall.jpg". Jan 01 00:00:51 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/AlbumArtSmall.jpg". Jan 01 00:00:51 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/Folder.jpg". Jan 01 00:00:51 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/Folder.jpg". Jan 01 00:01:27 5 20 1 io-media-generic/mmf: writer hint snd:* found Jan 01 00:01:27 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no video device specified. Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer setting AOR_ TYPE_POINTER resources PcmQueueFilter to 155f40 Jan 01 00:01:27 5 20 1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0, thr = -1. Jan 01 00:01:27 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no device specified. Jan 01 00:01:27 5 20 1 io-media-generic/mmf: Configuring the queue for 2116800 bytes, lw = 423360, hw = 1693440, thr = -1. Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer using output device: '/dev/snd/pcmC2D0p' Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer asking for S igned 16-bit Little Endian, 1..2x17640B frags, 44100Hz, bps=4, 2ch Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer settings: S igned 16-bit Little Endian, 3x17640B frags, 44100Hz, bps=4, 2ch, Q time 300ms Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer PGA_Streamer Create() push mode = 0 adjusting chunk_size from 17640bytes to 17640bytes Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer using mixer device '/dev/snd/mixerC2D0' Jan 01 00:01:27 5 20 1 io-media-generic/trackplayer: Skipping subgraph 1 because there is no device specified. Jan 01 00:01:27 3 20 1 io-media-generic/trackplayer: Couldn't subscrib e to the MM_EV_USER event. Jan 01 00:01:27 5 20 1 io-media-generic/aoi: MediaClock Resume() # #mmecli stop why iam getting the below error "Skipping subgraph 1 because there is no device specified" Also when i do "mmecli stop" there is no response.I need to power off and on the device. _______________________________________________ Development http://community.qnx.com/sf/go/post103394 To cancel your subscription to this discussion, please e-mail development-multimedia-unsubscribe@community.qnx.com Mon, 22 Jul 2013 11:08:56 GMT http://community.qnx.com/sf/go/post103405 Adrian Boak(deleted) 2013-07-22T11:08:56Z post103394: Re: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103394 Thank You Gilles I tried but still aim unable to hear audio Please find the below log # mmecli newtrksession l "select fid from library where ftype=1" (rc=0,errno=0) new trksessionid=1. Execution Time=0.017 # mmecli settrksession 1 (rc=0,errno=0) Set trksessionid=1. Execution Time=0.052 # # # mmecli play (rc=0,errno=0) Playing from tracksession fid/bid = 0. Execution Time=0.107 #an 01 00:00:36 3 26 998 QDB: created missing database mme Jan 01 00:00:40 5 27 200 MDP:mdp_mgr_init(270): Starting metadata plug-i n initialization. Jan 01 00:00:40 5 27 0 MME:dbs_init(663): Starting database synchroniz er initialization. Jan 01 00:00:51 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/AlbumArtSmall.jpg". Jan 01 00:00:51 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/AlbumArtSmall.jpg". Jan 01 00:00:51 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/Folder.jpg". Jan 01 00:00:51 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/Folder.jpg". Jan 01 00:01:27 5 20 1 io-media-generic/mmf: writer hint snd:* found Jan 01 00:01:27 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no video device specified. Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer setting AOR_ TYPE_POINTER resources PcmQueueFilter to 155f40 Jan 01 00:01:27 5 20 1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0, thr = -1. Jan 01 00:01:27 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no device specified. Jan 01 00:01:27 5 20 1 io-media-generic/mmf: Configuring the queue for 2116800 bytes, lw = 423360, hw = 1693440, thr = -1. Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer using output device: '/dev/snd/pcmC2D0p' Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer asking for S igned 16-bit Little Endian, 1..2x17640B frags, 44100Hz, bps=4, 2ch Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer settings: S igned 16-bit Little Endian, 3x17640B frags, 44100Hz, bps=4, 2ch, Q time 300ms Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer PGA_Streamer Create() push mode = 0 adjusting chunk_size from 17640bytes to 17640bytes Jan 01 00:01:27 5 20 1 io-media-generic/aoi: audio_writer using mixer device '/dev/snd/mixerC2D0' Jan 01 00:01:27 5 20 1 io-media-generic/trackplayer: Skipping subgraph 1 because there is no device specified. Jan 01 00:01:27 3 20 1 io-media-generic/trackplayer: Couldn't subscrib e to the MM_EV_USER event. Jan 01 00:01:27 5 20 1 io-media-generic/aoi: MediaClock Resume() # #mmecli stop why iam getting the below error "Skipping subgraph 1 because there is no device specified" Also when i do "mmecli stop" there is no response.I need to power off and on the device. Mon, 22 Jul 2013 05:06:04 GMT http://community.qnx.com/sf/go/post103394 kandregula vijaya santhi 2013-07-22T05:06:04Z post103393: Re: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103393 I think this below is your issue. You has mme setup to sync images and tried to play one of the images. Change your trksession query to select ftype=1 (audio) and try again. Regards, Gilles On 13-07-19 1:45 AM, "kandregula vijaya santhi" &lt;community-noreply@qnx.com&gt; wrote: MME:_attachinput(3858): Could not attach input (/media/drive///Folder.jpg) to controlcontext default (fid=4). errno=5 Mon, 22 Jul 2013 02:13:51 GMT http://community.qnx.com/sf/go/post103393 Gilles Roy 2013-07-22T02:13:51Z post103315: No Audio heard when stated Play using mmecli http://community.qnx.com/sf/go/post103315 Hello, Iam using mmecli command line option to play the tracks. I configured "/dev/snd/pcmC2D0p" as defualt output device in the output tables. I had done the following steps.Iam having tracks in /media/drive folder. # qdbc -d /dev/qdb/mme Connected to "/dev/qdb/mme". Use 'ctrl-C' to end. SQL&gt; select * from outputdevices; Rows: 1 Cols: 6 Names: +outputdeviceid+type+available+permanent+name+devicepath+ 00000: |1|1|1|1|defaultoutput|snd:/dev/snd/pcmC2D0p| SQL&gt; # # # # mmecli newtrksession l "select fid from library where ftype !=5" (rc=0,errno=0) new trksessionid=1. Execution Time=0.028 # mmecli settrksession 1 (rc=0,errno=0) Set trksessionid=1. Execution Time=0.057 # mmecli trksession_get_info (rc=0,errno=0) Track Session ID: 1, Current Track: 1, Total Tracks: 17. Executi on Time=0.012 # # # mmecli play_attach_output 1 1 (rc=0,errno=0) Attached output 1 to 1. Execution Time=0.024 # # # # mmecli play (rc=0,errno=0) Playing from tracksession fid/bid = 0. Execution Time=0.174 But iam not able to hear the sound .Please find the sloginfo Jan 01 00:01:23 5 27 200 MDP:mdp_mgr_init(270): Starting metadata plug-i n initialization. Jan 01 00:01:23 5 27 0 MME:dbs_init(663): Starting database synchroniz er initialization. Jan 01 00:01:35 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/AlbumArtSmall.jpg". Jan 01 00:01:35 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/AlbumArtSmall.jpg". Jan 01 00:01:35 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/Folder.jpg". Jan 01 00:01:35 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/Folder.jpg". Jan 01 00:01:35 5 20 1 io-media-generic/aoi: mpega_parser: ID3TagV2.3 too big (194560bytes) pre-parsing .. Jan 01 00:01:35 3 20 1 io-media-generic/aoi: PreParseID3Tag() offset 2 789 truncating at offset on invalid frame id from size = 4043 Jan 01 00:01:35 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/Seethamma Vakitlo Sirimalle Chettu (2012)/AlbumArtSmall.jpg". Jan 01 00:01:35 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/Seethamma Vakitlo Sirimalle Chettu ( 2012)/AlbumArtSmall.jpg". Jan 01 00:01:35 3 27 200 MDP:new_file_group(790): No metadata plug-in fo und for group 00004000 for file "/media/drive/Seethamma Vakitlo Sirimalle Chettu (2012)/Folder.jpg". Jan 01 00:01:35 3 27 200 MDP:mdp_mgr_metadata_get_int(1088): No MDP foun d for group 00004000 for file "/media/drive/Seethamma Vakitlo Sirimalle Chettu ( 2012)/Folder.jpg". Jan 01 00:03:23 5 20 1 io-media-generic/mmf: writer hint snd:* found Jan 01 00:03:23 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no video device specified. Jan 01 00:03:23 5 20 1 io-media-generic/aoi: audio_writer setting AOR_ TYPE_POINTER resources PcmQueueFilter to 155f40 Jan 01 00:03:23 5 20 1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0, thr = -1. Jan 01 00:03:24 4 20 1 io-media-generic/trackplayer: Couldn't find a s uitable parser filter, mmerr=4047 Jan 01 00:03:24 2 20 1 io-media-generic/trackplayer: Error 10004, 2, 4 047: Jan 01 00:03:24 2 20 1 io-media-generic/trackplayer: Couldn't create a linking filter for raw stream Jan 01 00:03:24 2 27 0 MME:_attachinput(3858): Could not attach input (/media/drive///AlbumArtSmall.jpg) to controlcontext default (fid=3). errno=5 Jan 01 00:03:24 2 27 0 MME:_play(3300): Could not attach file '/media/ drive///AlbumArtSmall.jpg' Jan 01 00:03:24 5 20 1 io-media-generic/mmf: writer hint snd:* found Jan 01 00:03:24 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no video device specified. Jan 01 00:03:24 5 20 1 io-media-generic/aoi: audio_writer setting AOR_ TYPE_POINTER resources PcmQueueFilter to 155f40 Jan 01 00:03:24 5 20 1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0, thr = -1. Jan 01 00:03:24 4 20 1 io-media-generic/trackplayer: Couldn't find a s uitable parser filter, mmerr=4047 Jan 01 00:03:24 2 20 1 io-media-generic/trackplayer: Error 10004, 2, 4 047: Jan 01 00:03:24 2 20 1 io-media-generic/trackplayer: Couldn't create a linking filter for raw stream Jan 01 00:03:24 2 27 0 MME:_attachinput(3858): Could not attach input (/media/drive///Folder.jpg) to controlcontext default (fid=4). errno=5 Jan 01 00:03:24 2 27 0 MME:_play(3300): Could not attach file '/media/ drive///Folder.jpg' Jan 01 00:03:24 5 20 1 io-media-generic/mmf: writer hint snd:* found Jan 01 00:03:24 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no video device specified. Jan 01 00:03:24 5 20 1 io-media-generic/aoi: audio_writer setting AOR_ TYPE_POINTER resources PcmQueueFilter to 155f40 Jan 01 00:03:24 5 20 1 io-media-generic/mmf: Configuring the queue for -1 bytes, lw = 0, hw = 0, thr = -1. Jan 01 00:03:24 5 20 1 io-media-generic/trackplayer: Skipping video su bgraph because there is no device specified. Jan 01 00:03:24 5 20 1 io-media-generic/mmf: Configuring the queue for 2116800 bytes, lw = 423360, hw = 1693440, thr = -1. Jan 01 00:03:24 5 20 1 io-media-generic/aoi: audio_writer using output device: '/dev/snd/pcmC2D0p' Jan 01 00:03:24 5 20 1 io-media-generic/aoi: audio_writer asking for S igned 16-bit Little Endian, 1..2x17640B frags, 44100Hz, bps=4, 2ch Jan 01 00:03:24 5 20 1 io-media-generic/aoi: audio_writer settings: S igned 16-bit Little Endian, 3x17640B frags, 44100Hz, bps=4, 2ch, Q time 300ms Jan 01 00:03:24 5 20 1 io-media-generic/aoi: audio_writer PGA_Streamer Create() push mode = 0 adjusting chunk_size from 17640bytes to 17640bytes Jan 01 00:03:24 5 20 1 io-media-generic/aoi: audio_writer using mixer device '/dev/snd/mixerC2D0' Jan 01 00:03:24 5 20 1 io-media-generic/trackplayer: Skipping subgraph 1 because there is no device specified. Jan 01 00:03:24 3 20 1 io-media-generic/trackplayer: Couldn't subscrib e to the MM_EV_USER event. Jan 01 00:03:24 5 20 1 io-media-generic/aoi: MediaClock Resume() The above log shows there is no device specified.Please help me in this regard. Do i missing any configuration. Thanks, Santhi. Fri, 19 Jul 2013 05:45:08 GMT http://community.qnx.com/sf/go/post103315 kandregula vijaya santhi 2013-07-19T05:45:08Z post103314: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post103314 Thank You Very Much Gilles. Yes I missed the pointer.Now it is working. Fri, 19 Jul 2013 05:15:04 GMT http://community.qnx.com/sf/go/post103314 kandregula vijaya santhi 2013-07-19T05:15:04Z post103298: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post103298 qdb_cell() returns a pointer (always). If it is a number, it will be a 64 bit number. Try changing your switch statement to: You need to change your switch statement to: switch(*(uint64_t *)(qdb_cell(ptRes, 0, 0))) There should be a button somewhere to create a new post? Regards, Gilles Thu, 18 Jul 2013 14:26:19 GMT http://community.qnx.com/sf/go/post103298 Gilles Roy 2013-07-18T14:26:19Z post103276: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post103276 Thank you very much Gilles. Now iam able to see correct msid. Iam trying the following code snippet to get the slottype or the device for which the state change happened but always it is going to default.i have connected USB and its msid is 1 as seen in the slots table.Please let me know what is the error in the below code qdb_hdl_t *hQDB = qdb_connect("/dev/qdb/mme", 0); uint64_t msid=1; char qdbBuf[64] ; sprintf(qdbBuf,"SELECT slottype FROM slots WHERE msid=%llu",msid); qdb_result_t* ptRes = qdb_query(hQDB, 0, qdbBuf); if (ptRes) { if( 0 &lt; qdb_rows(ptRes)) { switch((unsigned short)(qdb_cell(ptRes, 0, 0))) { case MME_SLOTTYPE_USB: printf("MME_SLOTTYPE_USB\n"); break; case MME_SLOTTYPE_CD: printf("MME_SLOTTYPE_CD Source\n"); break; case MME_SLOTTYPE_MEDIAFS: printf("MME_SLOTTYPE_MEDIAFS Source\n"); break; case MME_SLOTTYPE_FILESYSTEM: printf("MME_SLOTTYPE_FILESYSTEM Source or SD Card\n"); break; case MME_SLOTTYPE_BLUETOOTH: printf("MME_SLOTTYPE_MEDIAFS Source\n"); break; default: printf("Default Source\n"); break; } } Also Could You Please let me know how i post a Query myself with out associating to any other query. I tried but could not get any option to post. Thu, 18 Jul 2013 06:14:36 GMT http://community.qnx.com/sf/go/post103276 kandregula vijaya santhi 2013-07-18T06:14:36Z post103256: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post103256 Is msid uint64_t? If so you need to print with "%llu", not "%ld" Regards, Gilles Wed, 17 Jul 2013 15:12:22 GMT http://community.qnx.com/sf/go/post103256 Gilles Roy 2013-07-17T15:12:22Z post103244: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post103244 &gt; Thank You Very Much. &gt; I will try with Sqlite3 command line tool. &gt; &gt; Could You Please help me in setting the MME on QNX target? &gt; Actually still my membership request is pending and there is no option to post &gt; a query. &gt; So iam using this already posted query which is relevant to my work. &gt; &gt; Below is my query &gt; --------------------- &gt; I followed the steps mentioned in the "quick start guide" section of &gt; IntroductionToMME.pdf &gt; But iam unable to play the file using mmecli utility.It is giving error no 61. &gt; &gt; &gt; iam having the following doubts &gt; 1.Do MME updates the database tables automatically? If yes which tables it &gt; will update. &gt; 2.which tables we need to enter manually to the database &gt; 3.How LIBRARY table is updated &gt; &gt; Please find the attchments of my sql file &gt; &gt; Hello, Please can anyone help me in reading the data after receiving MME_EVENT_MS_STATECHANGE. I want to know the msid of the device. I know that it is stored as mme_ms_statechange_t. But i can get the data below is my code snippet case MME_EVENT_MS_STATECHANGE: { printf("MME_EVENT_MS_STATECHANGE\n"); mme_ms_statechange_t *tData =(mme_ms_statechange_t *)(mme_event-&gt;data); printf("Data----:%ld\n",tData-&gt;msid); } But iam getting some unknown value for msid. Please help me in this regard. Thanks, Vijaya Santhi Wed, 17 Jul 2013 10:10:51 GMT http://community.qnx.com/sf/go/post103244 kandregula vijaya santhi 2013-07-17T10:10:51Z post102004: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post102004 Thank You Very Much. I will try with Sqlite3 command line tool. Could You Please help me in setting the MME on QNX target? Actually still my membership request is pending and there is no option to post a query. So iam using this already posted query which is relevant to my work. Below is my query --------------------- I followed the steps mentioned in the "quick start guide" section of IntroductionToMME.pdf But iam unable to play the file using mmecli utility.It is giving error no 61. iam having the following doubts 1.Do MME updates the database tables automatically? If yes which tables it will update. 2.which tables we need to enter manually to the database 3.How LIBRARY table is updated Please find the attchments of my sql file Tue, 04 Jun 2013 13:10:00 GMT http://community.qnx.com/sf/go/post102004 kandregula vijaya santhi 2013-06-04T13:10:00Z post102002: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post102002 Are you looking for the .dump command from the sqlite3 shell? qdbc doesn't do this. You could build the sqlite3 shell yourself for QNX by downloading the sqlite3 source code. Regards, Gilles On 13-06-04 8:35 AM, "kandregula vijaya santhi" &lt;community-noreply@qnx.com&gt; wrote: Thank You Very Much Gilles. Is there any way to dump the database using qdbc? _______________________________________________ Development http://community.qnx.com/sf/go/post102001 To cancel your subscription to this discussion, please e-mail development-multimedia-unsubscribe@community.qnx.com Tue, 04 Jun 2013 12:58:00 GMT http://community.qnx.com/sf/go/post102002 Gilles Roy 2013-06-04T12:58:00Z post102001: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post102001 Thank You Very Much Gilles. Is there any way to dump the database using qdbc? Tue, 04 Jun 2013 12:35:08 GMT http://community.qnx.com/sf/go/post102001 kandregula vijaya santhi 2013-06-04T12:35:08Z post101999: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post101999 Hi Santhi, With QDB you can only issue SQL commands, basically anything you see here: http://www.sqlite.org/lang.html Things like ".help" are sqlite3 shell commands, these are implemented by the sqlite3 command line tool (not by the qdbc client). If you try something like "SELECT * FROM ..." it should work if you fill in the proper table names. Regards, Gilles Tue, 04 Jun 2013 12:28:03 GMT http://community.qnx.com/sf/go/post101999 Gilles Roy 2013-06-04T12:28:03Z post101990: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post101990 &gt; qdbc is a standard QNX 6.5.0 binary. When you install the 6.5.0 runtime, &gt; this binary should already be included. &gt; &gt; Regards, &gt; Gilles &gt; Hello Gilles, Iam also new to qdb.I had created the MME database tables sucessfully but through "qdbc" iam able to perform only few sql commands like insert,pragma,update,delete etc.could you please share other valid commads for help,dump,to view tables etc.I tried ".help",".tables" but it is giving syntax error. # # # qdbc -d /dev/qdb/mme Connected to "/dev/qdb/mme". Use 'ctrl-C' to end. SQL&gt; &gt; &gt; .help; near ".": syntax error (S1) SQL&gt; ".help"; near ".": syntax error (S1) SQL&gt; Thanks , Santhi Tue, 04 Jun 2013 06:25:58 GMT http://community.qnx.com/sf/go/post101990 kandregula vijaya santhi 2013-06-04T06:25:58Z post101073: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post101073 qdbc is a standard QNX 6.5.0 binary. When you install the 6.5.0 runtime, this binary should already be included. Regards, Gilles Thu, 02 May 2013 02:33:10 GMT http://community.qnx.com/sf/go/post101073 Gilles Roy 2013-05-02T02:33:10Z post101072: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post101072 Hi im a student trying to use QDB for the first time and i'm wondering where can i get qdbc? please enlighten me Thu, 02 May 2013 02:27:11 GMT http://community.qnx.com/sf/go/post101072 Jian Rong Yong 2013-05-02T02:27:11Z post100057: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post100057 Hi Gilles, Thanks for your reply. I am new to both DBMS and qdb. I didn't understand your reply. Could you please explain it little details. Wed, 20 Mar 2013 16:40:51 GMT http://community.qnx.com/sf/go/post100057 Kathirvel Kuppusamy 2013-03-20T16:40:51Z post100056: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post100056 It sounds like your application is directly modifying the underlying DB file. Regards, Gilles Wed, 20 Mar 2013 16:37:00 GMT http://community.qnx.com/sf/go/post100056 Gilles Roy 2013-03-20T16:37:00Z post100049: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post100049 Executing the same logic from command line interface before "application" execution, it works fine. Wed, 20 Mar 2013 15:32:16 GMT http://community.qnx.com/sf/go/post100049 Kathirvel Kuppusamy 2013-03-20T15:32:16Z post100048: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post100048 1) Is QDB running? QDB process is running after executing the example code 2) What does the output of "pidin arg" show? Displays that QDB process is running 3) What does the output of "ls -al /dev/qdb" show? Shows the database which was created by my application and size of that file is 0. Refer to attachement (ls_l_qdb_dev.jpg) 4) try using qdbc to run your query: qdbc -d&lt;name_of_db&gt; "SELECT ...." I tried using "INSERT INTO" command after executing the example code, got the following error file is encrypted or is not a database(S26) Refer to attcahment (INSERT_INTO.jpg) Wed, 20 Mar 2013 15:30:17 GMT http://community.qnx.com/sf/go/post100048 Kathirvel Kuppusamy 2013-03-20T15:30:17Z post100042: Re: Query related QDB - Client API usage http://community.qnx.com/sf/go/post100042 I don't think there is any details for use to help. 1) Is QDB running? 2) What does the output of "pidin arg" show? 3) What does the output of "ls -al /dev/qdb" show? 4) try using qdbc to run your query: qdbc -d&lt;name_of_db&gt; "SELECT ...." Regards, Gilles Wed, 20 Mar 2013 14:14:01 GMT http://community.qnx.com/sf/go/post100042 Gilles Roy 2013-03-20T14:14:01Z post100040: Query related QDB - Client API usage http://community.qnx.com/sf/go/post100040 Hello Everyone, I have created a "C Application" to play around with qdb and I have plan to use it in my actual project later. I am facing the following issue - "database get results api returns - Input/Output error". I copied the DB to local system and tried opening using SQLite Browser - "file is encrypted or is not a database" error. Logic implemented in Application 1) Connect to database 2) Insert an data 3) Operate on that data(SELECT) and get the results of that operation. I followed the same code in "QDB Examples" of QNX documentation. Please provide some guidance to go ahead. Wed, 20 Mar 2013 14:09:56 GMT http://community.qnx.com/sf/go/post100040 Kathirvel Kuppusamy 2013-03-20T14:09:56Z post99205: Webkit running on QNX 6.5.0 http://community.qnx.com/sf/go/post99205 I'm having trouble getting the webkit browser window to show in tandem with a embedded Flash interface as demonstrated in QNX-CAR VMware where the Flash based browser controls appear around the browser. In my flash based interface I can get the webkit browser to appear but it seems to completely overlay the Flash interface. The browser shows graphics, and can be controlled via pps control object. However the onscreen browser, with sized defined smaller than the screen, shows black in areas where I'd like Flash to show through. How can I get the browser to appear with Flash? Mon, 11 Feb 2013 16:48:53 GMT http://community.qnx.com/sf/go/post99205 Ralph Canapa(deleted) 2013-02-11T16:48:53Z post97804: QSA errors http://community.qnx.com/sf/go/post97804 Hi all! Here some problems when referring to QSA calls. - snd_pcm_plugin_params fails with error "invalid argument", though the pcm handle is valid and the snd_pcm_channel_params_t structure is initialized; - also, snd_pcm_plugin_params fails if the format is set to SND_PCM_SFMT_FLOAT_LE or SND_PCM_SFMT_FLOAT_BE; - snd_pcm_channel_status_t: the stime member is always to 0, though the time member in snd_pcm_channel_params_t is set to 1. Where can be the problem? Thank you very much! G. Wed, 05 Dec 2012 10:54:38 GMT http://community.qnx.com/sf/go/post97804 a g 2012-12-05T10:54:38Z post96625: Re: Using Simple Remote Lingo by means of QNX Aviage Multimedia Interface for iPod 1.2.1 http://community.qnx.com/sf/go/post96625 Hello Given the licensing restrictions and other agreements related to iPod, we are unable to discuss our implementation in public forums. Please go through your existing support contacts to discuss this and any other issues related to iPod. Regards, &gt; Thu, 25 Oct 2012 14:08:16 GMT http://community.qnx.com/sf/go/post96625 Jim Gilderson 2012-10-25T14:08:16Z post96617: Using Simple Remote Lingo by means of QNX Aviage Multimedia Interface for iPod 1.2.1 http://community.qnx.com/sf/go/post96617 Hello, I'm using the QNX Aviage Multimedia Interface for iPod 1.2.1 to control an iPod. To my knowledge (besides the Extended Interface Lingo) you can use the simple remote lingo to control an apple device using ContextButtonStatus-Commands (Play, Stop, Next Track etc.). Unfortunately the "ipod_smplrmt_button"-Command has no effect. Using a high verbose (=6) regarding the iPod driver I see, that the ContextButtonStatus-Command is correctly send to and acknowledged by the apple device. What's the trick to control the apple device using the "ipod_smplrmt_*" commands? Is it really possible to use the "ipod_smplrmt_*" commands to control the ipod as specified in the MFI? Or is the simple remote lingo supported by QNX restricted to iPod Out? To control the iPod by means of the extended interface is completely unproblematic.The procedure is simply 1. connecting to the apple device (ipod_connect()) 2. use the "ipod_smplrmt_button" command (for instance IPOD_BUTTON_CONTEXT_NEXT_TRACK [playback engine is not empty]). I'm looking forward that anybody can give me a hint. Thu, 25 Oct 2012 12:36:36 GMT http://community.qnx.com/sf/go/post96617 Andreas Kruschwitz 2012-10-25T12:36:36Z post94521: Re: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94521 Thank you. Back to coding now... :) Mon, 30 Jul 2012 18:05:59 GMT http://community.qnx.com/sf/go/post94521 Yuh-Fwu Guu 2012-07-30T18:05:59Z post94519: Re: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94519 Yes, your plan would work as long as your goal was to treat media from all USB sticks as if it was available in one tracksession. Note: you'll want to update your tracksession after files pass (1st pass) of the newly inserted mediastore is complete. -- Ryan J. Allen QNX Software Systems Mon, 30 Jul 2012 17:21:01 GMT http://community.qnx.com/sf/go/post94519 Ryan Allen(deleted) 2012-07-30T17:21:01Z post94518: Re: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94518 Ryan, If I had only one USB stick inserted and created a track session using the following statement... select fid from library where msid in (select msid from mediastores where (mountpath="/fs/usb0" or mountpath="/fs/usb1" or mountpath="/fs/usb2" or mountpath="/fs/usb3") and available=1) I used to create a new track session when I detected any of the other USB sticks was inserted, my understanding now is that I can use the mme_trksessionview_update() to refresh the files in the track session and have new files included when any of the other USB was inserted or removed. So there is really no need to call mme_settrksession() anymore if all I needed are the files from any of those possible mediastores, is this correct? Thanks. Mon, 30 Jul 2012 17:17:41 GMT http://community.qnx.com/sf/go/post94518 Yuh-Fwu Guu 2012-07-30T17:17:41Z post94516: Re: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94516 Thank you Ryan, Off to write the code now. Mon, 30 Jul 2012 15:19:47 GMT http://community.qnx.com/sf/go/post94516 Yuh-Fwu Guu 2012-07-30T15:19:47Z post94515: Re: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94515 Yes, trksessionview_update will update the play order. It should not affect the currently playing fid. You should ensure that your playing fid remains in the tracksession. The fids themselves will not change by using this call. The position of the fid in the tracksession may change, and the random position of the fid in the tracksession will definitely change. -- Ryan J. Allen QNX Software Systems Mon, 30 Jul 2012 15:10:46 GMT http://community.qnx.com/sf/go/post94515 Ryan Allen(deleted) 2012-07-30T15:10:46Z post94514: Re: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94514 Will calling mme_trksessionview_update() affects what's being played back at the time the call was made in any way (stops the file currently being playback, etc)? In the MME API documentation for mme_trksessionview_update(), it says... "For both library-based and file-based track sessions, a call to mme_trksessionview_update() refreshes the pseudo-random order of the tracks in the track session." Does it means the files (same file from USB_1 for example) will get a different fid, when USB_2 was inserted and mme_trksessionview_update() was called? Mon, 30 Jul 2012 14:56:22 GMT http://community.qnx.com/sf/go/post94514 Yuh-Fwu Guu 2012-07-30T14:56:22Z post94513: Re: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94513 MME will not automatically refresh the tracksession to include the new files. You will have to call mme_trksessionview_update() to have it re-run the query. After this the tracksession should contain tracks from both mediastores. If a user disconnects USB_1 (/fs/usb0) while playback is still occurring on that mediastore you will likely receive playback errors. MME will try to play additional tracks and will, most likely, hit the consecutive play error count limit and stop playback completely. You should have to update the tracksession query and re-issue the play command. How you handle ejections and insertions of mediastores will depend on how you want your product to behave. Some products will limit the scope of tracksessions to a single mediastore (only tracks from USB_1 or USB_2 but not both); other products will play files across a number of different connected mediastores. -- Ryan J. Allen QNX Software Systems Mon, 30 Jul 2012 14:09:00 GMT http://community.qnx.com/sf/go/post94513 Ryan Allen(deleted) 2012-07-30T14:09:00Z post94512: How to handle mediastore addition and deletion during playback? http://community.qnx.com/sf/go/post94512 Hello, I have MME and MCD setup to detect mediastores on USB sticks, how do I handle mediastore addition and deletion due to the insertion and removal of the USB sticks during a library based track session playback? For example, when I have one USB inserted, and I am playing audio files from this USB with track session created using the following statement... select fid from library where msid in (select msid from mediastores where (mountpath="/fs/usb0" or mountpath="/fs/usb1") and available=1) The track session playback will contain only files from USB_1, which is mounted as /fs/usb0. Now, if I inserted a second USB stick, it will be mounted as /fs/usb1, will MME add the files from the second USB stick and let the playback continue to play files in USB_2 when all files from USB_1 have been played back? Thanks. Mon, 30 Jul 2012 13:59:36 GMT http://community.qnx.com/sf/go/post94512 Yuh-Fwu Guu 2012-07-30T13:59:36Z post94394: Re: Question http://community.qnx.com/sf/go/post94394 Hi Robb, I will send you an e-mail. -- Ryan J. Allen QNX Software Systems From: Robbie Tarte &lt;community-noreply@qnx.com&lt;mailto:community-noreply@qnx.com&gt;&gt; Reply-To: "development-multimedia@community.qnx.com&lt;mailto:development-multimedia@community.qnx.com&gt;" &lt;development-multimedia@community.qnx.com&lt;mailto:development-multimedia@community.qnx.com&gt;&gt; Date: Tuesday, 24 July, 2012 11:14 AM To: "development-multimedia@community.qnx.com&lt;mailto:development-multimedia@community.qnx.com&gt;" &lt;development-multimedia@community.qnx.com&lt;mailto:development-multimedia@community.qnx.com&gt;&gt; Subject: Question I am a RIM employee and I need to post a question about BB10. Is there a private forum for that? Robb Tarte Test Automation Developer x13167 Tue, 24 Jul 2012 15:37:27 GMT http://community.qnx.com/sf/go/post94394 Ryan Allen(deleted) 2012-07-24T15:37:27Z post94393: Question http://community.qnx.com/sf/go/post94393 I am a RIM employee and I need to post a question about BB10. Is there a private forum for that? Robb Tarte Test Automation Developer x13167 Tue, 24 Jul 2012 15:26:07 GMT http://community.qnx.com/sf/go/post94393 Robbie Tarte(deleted) 2012-07-24T15:26:07Z post94219: Re: USB Audio Driver with QNX SDP 6.5 Service Pack1 http://community.qnx.com/sf/go/post94219 Hello It is a standard audio driver supporting playback and capture. It supports USB Audio Classes 1 and 2. There is no specific documentation other than the Utilities guide and regular audio documentation regarding use of the drivers. Regards, On 12-07-12 2:31 AM, "Rohit Nair" &lt;community-noreply@qnx.com&gt; wrote: &gt;Hi Jim, &gt;My ultimate goal is to use the ipod to stream audio over the usb, &gt;I'm not sure how to use this driver if it facilitates this in anyway. &gt;Else i shall have to write usb client driver to prepare for isochronous &gt;data transfer. &gt; &gt;It'll be great if you could point to some documentation (about using this &gt;driver for capture , playback). &gt; &gt;Appreciate the help. &gt; &gt;Regards. &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;Development &gt;http://community.qnx.com/sf/go/post94215 &gt;To cancel your subscription to this discussion, please e-mail &gt;development-multimedia-unsubscribe@community.qnx.com Thu, 12 Jul 2012 13:18:27 GMT http://community.qnx.com/sf/go/post94219 Jim Gilderson 2012-07-12T13:18:27Z post94215: Re: USB Audio Driver with QNX SDP 6.5 Service Pack1 http://community.qnx.com/sf/go/post94215 Hi Jim, My ultimate goal is to use the ipod to stream audio over the usb, I'm not sure how to use this driver if it facilitates this in anyway. Else i shall have to write usb client driver to prepare for isochronous data transfer. It'll be great if you could point to some documentation (about using this driver for capture , playback). Appreciate the help. Regards. Thu, 12 Jul 2012 06:31:27 GMT http://community.qnx.com/sf/go/post94215 Rohit Nair(deleted) 2012-07-12T06:31:27Z post94205: Re: USB Audio Driver with QNX SDP 6.5 Service Pack1 http://community.qnx.com/sf/go/post94205 Hi This is an audio capture and playback driver that can be used with io-audio. It does not handle detection or mounting of USB devices - this is handled outside of the the audio framework. QNX does not use this for iPod and I am not aware of anyone specifically using this for iPod. Regards, Wed, 11 Jul 2012 19:01:47 GMT http://community.qnx.com/sf/go/post94205 Jim Gilderson 2012-07-11T19:01:47Z post94183: Re: USB Audio Driver with QNX SDP 6.5 Service Pack1 http://community.qnx.com/sf/go/post94183 Correction to subject Wed, 11 Jul 2012 06:35:56 GMT http://community.qnx.com/sf/go/post94183 Rohit Nair(deleted) 2012-07-11T06:35:56Z post94182: USB Audio Driver with QNX SDP 6.0 Service Pack1 http://community.qnx.com/sf/go/post94182 Hi, I'm trying to setup an IPod to stream audio over the usb (with Boards Freescale i.mx53, i.mx6q). With service Pack1 there is a new usb audio driver available. (http://www.qnx.com/developers/articles/rel_5189_3.html#New_deva) Has anybody tried using this new driver with io-audio.? deva-ctrl-usb.so...Can it help in auto detect / mount of usb audio devices. Has any one tried setting this up with an IPOD. Any advice/ help in this regard is welcome. Regards (My apologies to those added in recipients in case this does not interest them.) Wed, 11 Jul 2012 06:34:05 GMT http://community.qnx.com/sf/go/post94182 Rohit Nair(deleted) 2012-07-11T06:34:05Z post93813: Re: how to adjust the volume of audio capture device http://community.qnx.com/sf/go/post93813 The software mixer (software PCM mixer) only exist on the playback side of the house, as its job is to mix multiple PCM stream into one that can be written to a singe audio device (since we are doing sample by sample modifications for the mix we added in software volume controls into this path). For capture the only gain/volume adjustments you can do depend on what the hardware codec exposes in terms of controls (there are not software volume controls on the capture path). You can use the mix_ctl utility to dump all of control groups and to make adjust to those groups. Thu, 21 Jun 2012 14:24:29 GMT http://community.qnx.com/sf/go/post93813 Joe Mammone 2012-06-21T14:24:29Z post93811: how to adjust the volume of audio capture device http://community.qnx.com/sf/go/post93811 Customer needs to change the volume of captured audio data to a definite level in order to pass it to a voice recognition device. Is it possible to achieve this by using a software mixer or is there any alternative solution?. Thu, 21 Jun 2012 13:56:39 GMT http://community.qnx.com/sf/go/post93811 Ramesh Vemula(deleted) 2012-06-21T13:56:39Z post93356: Re: SQLite3 on QNX Neutrino 6.x http://community.qnx.com/sf/go/post93356 Hi Dan, Thanks for the hint. We were using no absolute path in the sample test application and it was executing from /tmp dir which is linked to the shared memory region managed by proncto. That was probably the problem. Now after mounting a a ramdisk area created by the utility devb-ram the test application runs fine. I shall update the same thread in case we face more issues with sqlite on qnx. Thanks! Wed, 30 May 2012 06:43:25 GMT http://community.qnx.com/sf/go/post93356 Rohit Nair(deleted) 2012-05-30T06:43:25Z post93342: Re: SQLite3 on QNX Neutrino 6.x http://community.qnx.com/sf/go/post93342 What file system are you running it on? And what is the full path to your database? On 2012-05-29, at 12:34 AM, Rohit Nair wrote: &gt; Hi, &gt; We are trying to Port SQLite3 onto QNX Neutrino 6.x based system as part of a multimedia program. &gt; We are receiving a SQL error DISK I/O ERROR on the execution of very first command (sqlite3_exec()) to create a table &gt; inside a database. Note: The database file was created (sqlite3_open() was successful). &gt; &gt; From a similar post on qnx 4 support site we understand that the SQLite should work straight out of the box. Could somebody guide us with the required compilation flags/ macros that we should enable. &gt; (For eg. is the flag -DSQLITE_OS_UNIX or more required) &gt; Appreciate any help with this. &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post93326 &gt; To cancel your subscription to this discussion, please e-mail development-multimedia-unsubscribe@community.qnx.com Tue, 29 May 2012 12:57:59 GMT http://community.qnx.com/sf/go/post93342 Dan Cardamore(deleted) 2012-05-29T12:57:59Z post93326: SQLite3 on QNX Neutrino 6.x http://community.qnx.com/sf/go/post93326 Hi, We are trying to Port SQLite3 onto QNX Neutrino 6.x based system as part of a multimedia program. We are receiving a SQL error DISK I/O ERROR on the execution of very first command (sqlite3_exec()) to create a table inside a database. Note: The database file was created (sqlite3_open() was successful). From a similar post on qnx 4 support site we understand that the SQLite should work straight out of the box. Could somebody guide us with the required compilation flags/ macros that we should enable. (For eg. is the flag -DSQLITE_OS_UNIX or more required) Appreciate any help with this. Tue, 29 May 2012 04:34:28 GMT http://community.qnx.com/sf/go/post93326 Rohit Nair(deleted) 2012-05-29T04:34:28Z post91957: Re: MCD : external insertion notification doesn`t work http://community.qnx.com/sf/go/post91957 I'm not sure this scenario is handled by MCD. If MCD only processes the mount/umount functions when there is a callout, you could possibly implement your own custom callout, as described in the MCD docs. Your callout could talk to your external device to get the insertion state, or alternatively, maybe your callout does nothing and you keep writing the to insert/eject files. It is possible just having a callout will allow it to mount/unmount. Regards, Gilles Wed, 07 Mar 2012 19:52:25 GMT http://community.qnx.com/sf/go/post91957 Gilles Roy 2012-03-07T19:52:25Z post91902: MCD : external insertion notification doesn`t work http://community.qnx.com/sf/go/post91902 Hello QNX Developers, My needs perfectly described by "CD-changer controlled by external firmware" section of MCD documentation. I need to avoid using built-in CD_MEDIA_IOBLK MCD routine and report CD insertion/ejection events externally. However, when I do that, configured start/stop rules are NOT executed. MCD is executed with '-vvvv' CL option. From sloginfo, I can see that notifications are received by MCD: Jan 01 03:03:41.632.3 00023 00 /dev/cd0 media inserted Jan 01 03:03:52.597.3 00023 00 /dev/cd0 media ejected Implementation is really simple and is pretty much a copy-paste from official documentation. Suppose that it is OK, as MCD does indicate these reports in the log (in case of insertion, "/dev/cd0" is written to /dev/mcd/.insert, in case of ejection, write it to /dev/mcd/.eject) Snippet of my mcd.cfg : [/dev/cd*] Start Rule = MOUNT Stop Rule = UNMOUNT [MOUNT] Callout = MOUNT_FSYS Argument = /etc/mcd.mnt [UNMOUNT] Callout = UNMOUNT_FSYS Note : In case of I switch to built-in CD_MEDIA_IOBLK routine, MOUNT rule is executed and CD is mounted. (To do that, I only need to add following lines to [/dev/cd*] device entry) &gt; Callout = CD_MEDIA_IOBLK &gt; Argument = 1000,2000 &gt; Priority = 11,10 Thank you! Sat, 03 Mar 2012 17:58:42 GMT http://community.qnx.com/sf/go/post91902 Konstantin V(deleted) 2012-03-03T17:58:42Z post90260: Re: IO-media APIs http://community.qnx.com/sf/go/post90260 Using the io-media API isn't supported, and isn't documented. Having said that, you can find the API definitions in &lt;iomedia/api.h&gt; and related files in the iomedia header directory. -- Ryan J. Allen QNX Software Systems Wed, 23 Nov 2011 14:39:19 GMT http://community.qnx.com/sf/go/post90260 Ryan Allen(deleted) 2011-11-23T14:39:19Z post90257: IO-media APIs http://community.qnx.com/sf/go/post90257 HI, i am not getting any io-media APIs. Please point me some documents that contains the io-media APIs. Thanks in advance. Wed, 23 Nov 2011 13:32:56 GMT http://community.qnx.com/sf/go/post90257 Partha Koley 2011-11-23T13:32:56Z post89577: Re: How to handle the Media Picker in the PlayBook http://community.qnx.com/sf/go/post89577 Hi Vikram, Sorry for the delayed reply... There is currently no public API for accessing the media database. Things are in flux currently, but there are plans to publish an API for this once Universal Search is available on the device. In the meantime, unfortunately, you will have to scrape the directories under /accounts/1000/shared for files. Cheers, Sean Mon, 24 Oct 2011 21:35:55 GMT http://community.qnx.com/sf/go/post89577 Sean McVeigh 2011-10-24T21:35:55Z post89575: Re: Finding mediastores and their states http://community.qnx.com/sf/go/post89575 Thank you Gilles, I tried query mediastore tables and got the info I needed. Regards, Guu Mon, 24 Oct 2011 16:00:56 GMT http://community.qnx.com/sf/go/post89575 Yuh-Fwu Guu 2011-10-24T16:00:56Z post89569: Re: Finding mediastores and their states http://community.qnx.com/sf/go/post89569 You can query the MME mediastores tables in the database. Each mediastore has a state (active or unavailable) which will tell you if it is currently inserted or not. Alternatively, in your mme.conf, there is this setting: &lt;!-- Controls whether or not devices are automatically detected by the MME. This is independent of synchronization. --&gt; &lt;!--&lt;DeviceDetection enabled="true"/&gt;--&gt; If you uncomment the DeviceDetection and set it to false, I.e.: &lt;DeviceDetection enabled="false" The MME, when it starts, won't monitor devices. Instead, once your app is running, you can connect to the MME, register for events and then issue mme_start_device_detection(), this way you won't miss any of the statechange events. Regards, Gilles Mon, 24 Oct 2011 12:46:23 GMT http://community.qnx.com/sf/go/post89569 Gilles Roy 2011-10-24T12:46:23Z post89551: Finding mediastores and their states http://community.qnx.com/sf/go/post89551 Hello, Is there a way to query mme how many media stores have already been detected and what their id's and states are? Our hardware has two USB ports and mcd can detect the presence of an USB stick in either of these two ports. It does not matter if the USB stick was inserted before or after power up. The USB stick gets mounted as /fs/usb0. Our client application registers for mme events and can detect when a USB stick was inserted thru these events "EVENT_MS_STATECHANGE", "EVENT_MS_SYNC_STARTED", ..., "EVENT_MS_DB_SYNC_COMPLETE", and "EVENT_SYNCCOMPLETE". These all worked fine when the USB stick was inserted after the client application has already started. I am able to determine, from the events received, the mediastore id and its state. The problem comes if the USB stick was inserted before power up, none of the events get captured by the client application because the client application started after mcd has already detected and mounted the USB stick. What can our client application do, when it starts, to discover mediastores that have already been detected by mcd? Thanks. Fri, 21 Oct 2011 20:35:55 GMT http://community.qnx.com/sf/go/post89551 Yuh-Fwu Guu 2011-10-21T20:35:55Z post89269: RE: io-audio http://community.qnx.com/sf/go/post89269 I am missing so many samples while playback and a 3 min file gets played over within ~1.6 mins with missed samples. I am using software mixer plugins to develop the wave application. I know my audio system is not having an overflow or underflow from DMA. So the audio system receives data without any loss as pumped from DMA. Any hints will be greatly appreciated. -----Original Message----- From: David Mak-Fan [mailto:community-noreply@qnx.com] Sent: Friday, October 07, 2011 9:16 AM To: development-multimedia Subject: Re: io-audio Is your concern that the DMA might read from a memory address that io-audio is currently filling? If your DMA is feeding a system that is clocking audio data out at real-time (e.g. 48khz), then io-audio should be able to write fragments faster than that rate (on average), and then it should not be possible for DMA (read pointer) to "pass" io-audio (write pointer). Are you using the SW mixer plugin as well? It pre-mixes 2 fragments worth before deva is actually started. Thanks, Dave _______________________________________________ Development http://community.qnx.com/sf/go/post89261 Fri, 07 Oct 2011 14:41:46 GMT http://community.qnx.com/sf/go/post89269 Arun Johnson 2011-10-07T14:41:46Z post89261: Re: io-audio http://community.qnx.com/sf/go/post89261 Is your concern that the DMA might read from a memory address that io-audio is currently filling? If your DMA is feeding a system that is clocking audio data out at real-time (e.g. 48khz), then io-audio should be able to write fragments faster than that rate (on average), and then it should not be possible for DMA (read pointer) to "pass" io-audio (write pointer). Are you using the SW mixer plugin as well? It pre-mixes 2 fragments worth before deva is actually started. Thanks, Dave Fri, 07 Oct 2011 13:16:29 GMT http://community.qnx.com/sf/go/post89261 David Mak-Fan(deleted) 2011-10-07T13:16:29Z post89253: Re: How to handle the Media Picker in the PlayBook http://community.qnx.com/sf/go/post89253 Hi I have developed the game using the native sdk , but to use the feature of Media Picker(like the way we can select the songs in iphone), how to access the media picker from Blacberry tablet(playbook). Which API should we use to access the media picker. Example : In adobe AIR SDK (http://www.blackberry.com/developers/docs/airapi/1.0.0/qnx/ui/media/MediaControl.html). Thanks, -Vikram Fri, 07 Oct 2011 06:48:05 GMT http://community.qnx.com/sf/go/post89253 vikram boidapu 2011-10-07T06:48:05Z post89249: io-audio http://community.qnx.com/sf/go/post89249 I am developing an audio driver for our platform. the DMA is configured to execute in a looping mode with 2 descriptors.The DMA is giving interrupts at the end of each fragment this interrupt is passed on to the driver to fill in the already serviced fragment. question : if the dma executes faster than io-audio and generates an interrupt and moves on to the fragment that io-audio currently is filling in, how will io-audio synchronize the audio ?? Thu, 06 Oct 2011 18:43:24 GMT http://community.qnx.com/sf/go/post89249 Arun Johnson 2011-10-06T18:43:24Z post89233: Re: How to handle the Media Picker in the PlayBook http://community.qnx.com/sf/go/post89233 What do you mean by "Media Picker" exactly? Is you app an AIR app, a Native App? Could we get a few more details please? On 11-10-05 2:00 AM, "vikram boidapu" &lt;community-noreply@qnx.com&gt; wrote: &gt;Hello , &gt; &gt;I have a small demo game app and I want to access the Media Picker in the &gt;Application. &gt; &gt;Please help me with the API on how to use that feature or any technical &gt;help on this. &gt; &gt;Thanks, &gt;-Vikram &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;Development &gt;http://community.qnx.com/sf/go/post89225 &gt; Wed, 05 Oct 2011 18:56:47 GMT http://community.qnx.com/sf/go/post89233 Adrian Boak(deleted) 2011-10-05T18:56:47Z post89225: How to handle the Media Picker in the PlayBook http://community.qnx.com/sf/go/post89225 Hello , I have a small demo game app and I want to access the Media Picker in the Application. Please help me with the API on how to use that feature or any technical help on this. Thanks, -Vikram Wed, 05 Oct 2011 06:00:18 GMT http://community.qnx.com/sf/go/post89225 vikram boidapu 2011-10-05T06:00:18Z post84197: Queries related to IO-audio http://community.qnx.com/sf/go/post84197 I am have written a driver for my sound card 1. If I palce the driver in SDCard and launch the IO-Audio with -d option to specify driver path it does not use this driver instead it uses default driver present in other folder. 2. If I place the driver in tmp folder &amp; launch the IO-Audio with -d option to specify driver path it uses this driver. I would like to know why option 1 does not work ... Wed, 23 Mar 2011 11:56:06 GMT http://community.qnx.com/sf/go/post84197 Girisha SG 2011-03-23T11:56:06Z post83410: BSP for I.mx356 processor http://community.qnx.com/sf/go/post83410 Hi, I have installed QNX 6.4.1, and downloaded the BSP "bsp-freescale-i.mx35". The processor used is I.mx356. In this project it required the graphical interface development. 1.Please let me know how to load the BSP image to target. Since im new to QNX, please let me know what target to be used for the project using I.mx356 processor. The guide of how HMI interacts with the terminal mode concept. 2.Please let me know how can i project an image and manage the fonts? Thanks &amp; Regards Jyothi Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com Wed, 23 Feb 2011 13:27:38 GMT http://community.qnx.com/sf/go/post83410 jyothi Balehosur 2011-02-23T13:27:38Z post83409: BSP for I.mx356 processor http://community.qnx.com/sf/go/post83409 Hi, I have installed QNX 6.4.1, and downloaded the BSP "bsp-freescale-i.mx35". The processor used is I.mx356. In this project it required the graphical interface development. 1.Please let me know how to load the BSP image to target. Since im new to QNX, please let me know what target to be used for the project using I.mx356 processor. The guide of how HMI interacts with the terminal mode concept. 2.Please let me know how can i project an image and manage the fonts? Please send a reply to mail id jyothi.balehosur@wipro.com Regards Jyothi Wed, 23 Feb 2011 13:22:35 GMT http://community.qnx.com/sf/go/post83409 jyothi Balehosur 2011-02-23T13:22:35Z post83208: Re: "Skipping file because it is known to be not playable" endless loop http://community.qnx.com/sf/go/post83208 Hey Ryan, great, thanks for the quick reply! Regards, Daniel Wed, 16 Feb 2011 14:13:21 GMT http://community.qnx.com/sf/go/post83208 Daniel Endres(deleted) 2011-02-16T14:13:21Z post83207: playable flag within the library table http://community.qnx.com/sf/go/post83207 Hi all, as you may remember we asked for an option to also mark drm-protected files as unplayable within the library-table. This is because we don't want the user to experience play errors due to drm-protected files. We don't want to play DRM-Protected files at all and therefore they will be grayed out in our HMI. Since there is no mme configuration mechanism, we've achieved this, by using the database trigger you've provided which toggles the playable-flag if an protected file is encountered during metadata-pass. The downside of the is that the playable flag of drm-protected files may change between Sync pass 1 and 2. The reason why I'm bringing this up again, is the error handling which I'm implementing right now. The bad case is a sd card which consists of "only" unplayable tracks. E.g. 80 files which are already known as unplayable to the mme. The sd-card was removed and extended by 10 new drm-protected files and 10 new corrupt files. The issue I'm struggling with right now is, that I need a mechanism to determine that they're now playable files at all. Counting the playFileErrors isn't an option since e.g. I don't know if I receive playErrors for the drm-files at all (dependes on the point in time where the playback happens. Before or after the db-trigger toggles the playable flag). My prefered way would be to fire a sql statement on every filePlayError which determines the state of the playable field within the library table (for the fids in the current tracksession). For this I need to rely on the fact that the library table is up2date when the mme fires the last filePlayError. Speaking of my example above: 80 Files were skipped automatically because they are already known as unplayable The 10 drm files were also skipped, since pass 2 was done when the playback attempt happend At the time the 9 corrupt files generated 9 playFileErrors and the tenth file returned with another playFileError a "select sum(playable) from library where &lt;tracksession stmt&gt;" would return 0, right? Or could it happen that 1 or another value may be returned instead? Or put differently, on a playFileError the playable column within the library table gets updated before the according playFileError is emitted? Thanks, Daniel Wed, 16 Feb 2011 14:04:19 GMT http://community.qnx.com/sf/go/post83207 Daniel Endres(deleted) 2011-02-16T14:04:19Z post83204: Re: "Skipping file because it is known to be not playable" endless loop http://community.qnx.com/sf/go/post83204 Daniel, This is a side-effect of a change we made to not count "known not-playable" files as play errors. But it is a bug--we missed this case. We will have to fix this. -- Ryan J. Allen QNX Software Systems Wed, 16 Feb 2011 13:44:04 GMT http://community.qnx.com/sf/go/post83204 Ryan Allen(deleted) 2011-02-16T13:44:04Z post83198: "Skipping file because it is known to be not playable" endless loop http://community.qnx.com/sf/go/post83198 Hi all, I've just ran into an issue regarding the automatic skipping of already known unplayable tracks (just did a touch to create some files). In my use case i had a tracksession consisting of ONLY unplayable tracks. If I fire a 'mmecli play_extended offset 0' on this tracksession, the mme skips as assumed from track to track with the message: 'Skipping file because it is known to be not playable. fid=251, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//3empty.mp3' Unfortunately the mme doesn't recognize the end of the tracksession and therefore loops until forever. At this point the mme is unresponsive as well. So it's not possible to call a stop or any other command. There are eleven entries within my tracksession: Jan 01 01:26:04 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=249, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//1empty.mp3' Jan 01 01:26:04 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=250, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//2empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=251, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//3empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=252, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//4empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=253, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//5empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=254, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//6empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=255, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//7empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=246, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//8empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=247, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//10empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=248, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//11empty.mp3' Jan 01 01:26:05 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=249, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//1empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=250, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//2empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=251, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//3empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=252, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//4empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=253, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//5empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=254, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//6empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=255, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//7empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=246, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//8empty.mp3' Jan 01 01:26:06 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=247, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//10empty.mp3' Jan 01 01:26:07 5 27 0 MME:_play(3229): Skipping file because it is known to be not playable. fid=248, filename='/net/mmx.mibhigh.net/fs/sdb0//Gemischt/error testing/only corrupt files//11empty.mp3' Hopefully this is easy to fix!? Thanks in advance, Daniel Wed, 16 Feb 2011 10:54:30 GMT http://community.qnx.com/sf/go/post83198 Daniel Endres(deleted) 2011-02-16T10:54:30Z post74637: Re: Zune playback http://community.qnx.com/sf/go/post74637 &gt; Hello Giles, &gt; &gt; Working with Vadivel on our Zune connectivity. We have obtained our Zune &gt; certificate (.pfx and .p7b) files from Microsoft. Was searching MME &gt; documentation on what to do with these files in terms of file path. Is it &gt; just drag and drop to the location, or do we need to run through some qnx &gt; process and rename the files? &gt; &gt; Kindly advise. &gt; &gt; Thank you. &gt; &gt; Michael We're aware of the default location /etc/pfs but noticed .der and .bin file formats Mon, 15 Nov 2010 15:32:22 GMT http://community.qnx.com/sf/go/post74637 G. Michael Adderley 2010-11-15T15:32:22Z post74631: Re: Zune playback http://community.qnx.com/sf/go/post74631 Hello Giles, Working with Vadivel on our Zune connectivity. We have obtained our Zune certificate (.pfx and .p7b) files from Microsoft. Was searching MME documentation on what to do with these files in terms of file path. Is it just drag and drop to the location, or do we need to run through some qnx process and rename the files? Kindly advise. Thank you. Michael Mon, 15 Nov 2010 15:25:39 GMT http://community.qnx.com/sf/go/post74631 G. Michael Adderley 2010-11-15T15:25:39Z post68615: Re: How to use iom_attach_input to attach the input from USB devices? http://community.qnx.com/sf/go/post68615 The only thing that changes is the URL. The URL of the capture device will depend on where the audio should come from. We can talk specifics for your project directly. In general, if it is an io-audio capture device you'll use a similar snd: URL. You would have to know which capture device to use. Some io-audio drivers will setup a link from a "known" name to the capture device. For example, our iPod driver for io-audio has a "cap_name" argument for this. -- Ryan J. Allen QNX Software Systems On 10-09-24 04:50 PM, Jeff Sheng wrote: &gt; Hello all, &gt; &gt; We use io-media to play stream data from Smartphone devices in our project. If the stream data is from Bluetooth phone, I could use the following setting to play. &gt; &gt; iom_attach_input(graphId, "snd:/dev/snd/pcmC3D0c", fid ); &gt; &gt; Since it is different for smartphone which gets stream data from USB port, I don't know how to set url. &gt; &gt; iom_attach_input(graphId, url, fid ); &gt; &gt; Thanks for your advices, &gt; Jeff Sheng &gt; Mon, 27 Sep 2010 13:32:32 GMT http://community.qnx.com/sf/go/post68615 Ryan Allen(deleted) 2010-09-27T13:32:32Z post68577: How to use iom_attach_input to attach the input from USB devices? http://community.qnx.com/sf/go/post68577 Hello all, We use io-media to play stream data from Smartphone devices in our project. If the stream data is from Bluetooth phone, I could use the following setting to play. iom_attach_input(graphId, "snd:/dev/snd/pcmC3D0c", fid ); Since it is different for smartphone which gets stream data from USB port, I don't know how to set url. iom_attach_input(graphId, url, fid ); Thanks for your advices, Jeff Sheng Fri, 24 Sep 2010 20:50:29 GMT http://community.qnx.com/sf/go/post68577 Jeff Sheng 2010-09-24T20:50:29Z post67721: Re: Issue to play stream data using io-media API http://community.qnx.com/sf/go/post67721 Gilles, Yes, it works after I did what you mentioned. Thanks!, Jeff Fri, 17 Sep 2010 14:22:51 GMT http://community.qnx.com/sf/go/post67721 Jeff Sheng 2010-09-17T14:22:51Z post67686: Re: Issue to play stream data using io-media API http://community.qnx.com/sf/go/post67686 On 10-09-16 6:25 PM, "Jeff Sheng" &lt;community-noreply@qnx.com&gt; wrote: &gt; graphId = iom_create_graph( "streamplayer", "BT_StreamPlayer", 0 ); I would try a "trackplayer" instead of "streamplayer". &gt; outputId = iom_attach_output(graphId, "/dev/snd/pcmC0D0p", IOM_OF_AUDIO Here I think you should use "snd:/dev/snd/pcmC0D0p" (i.e. prefix with "snd:") &gt; err = iom_attach_input(graphId, "/dev/snd/pcmC3D0c", fid ); Again here try to add an "snd:" prefix. Start io-media with -DD and post the output of sloginfo if it doesn't work. Regards, Gilles Fri, 17 Sep 2010 01:33:47 GMT http://community.qnx.com/sf/go/post67686 Gilles Roy 2010-09-17T01:33:47Z post67679: Issue to play stream data using io-media API http://community.qnx.com/sf/go/post67679 Hi, I have an issue to playback stream data from Bluetooth phone using io-media API calls. If I use PCM API to playback the Bluetooth phone, it works. It seems no error to debug the following codes step by step, but there is no audio output. I could not find the issue, and the document is very limited. Do I miss something to configure the io-media other parameters? pthread_mutex_init( &amp; mutexId, NULL ); pthread_mutex_lock( &amp; mutexId); graphId = iom_create_graph( "streamplayer", "BT_StreamPlayer", 0 ); pthread_mutex_unlock( &amp; mutexId); outputId = iom_attach_output(graphId, "/dev/snd/pcmC0D0p", IOM_OF_AUDIO ); err = iom_attach_input(graphId, "/dev/snd/pcmC3D0c", fid ); if ( err != 0 ) { iom_play(graphId); } Thanks, Jeff Sheng Thu, 16 Sep 2010 22:25:19 GMT http://community.qnx.com/sf/go/post67679 Jeff Sheng 2010-09-16T22:25:19Z post66083: Re: About mme trksession http://community.qnx.com/sf/go/post66083 Hi Gilles! Thanks for your reply,I have fixed the problem! Tue, 07 Sep 2010 08:03:23 GMT http://community.qnx.com/sf/go/post66083 Kailen High 2010-09-07T08:03:23Z post66058: Re: About mme trksession http://community.qnx.com/sf/go/post66058 On 10-09-06 3:16 AM, "Kailen High" &lt;community-noreply@qnx.com&gt; wrote: &gt; As a result,when I play the media (one of the devices),it tips there are &gt; no data to play,why? &gt; please give me some advices ,thanks very much! You need to post logs. Can you do: mmecli set_debug 4 0 Now repeat the whole procedure and send the output of sloginfo. Thanks, Gilles Mon, 06 Sep 2010 12:21:28 GMT http://community.qnx.com/sf/go/post66058 Gilles Roy 2010-09-06T12:21:28Z post66035: About mme trksession http://community.qnx.com/sf/go/post66035 Hello all! Now , I have two media store device(HardDrive and USB),so I created two new trksession by calling mme_newtrksession() seperately. Otherwise, before I use the one of trksessions, I unset the other and set the current one,such as : mme_stop(mme); mme_settrksession(mme,0); mme_settrksession(mme,current_trkid); As a result,when I play the media (one of the devices),it tips there are no data to play,why? please give me some advices ,thanks very much! Mon, 06 Sep 2010 07:16:54 GMT http://community.qnx.com/sf/go/post66035 Kailen High 2010-09-06T07:16:54Z post65851: RE: mme_rmtrksession http://community.qnx.com/sf/go/post65851 You can "unset" the current tracksession by calling mme_settrksession() with the session id of zero. This will allow deletion of the formally active tracksession. You do have to stop before unsetting the tracksession. -- Ryan J. Allen QNX Software Systems Fri, 03 Sep 2010 12:17:22 GMT http://community.qnx.com/sf/go/post65851 Ryan Allen(deleted) 2010-09-03T12:17:22Z post65846: mme_rmtrksession http://community.qnx.com/sf/go/post65846 Hi All, calling mme_stop() and then mme_rmtrksession() for iPod returns with errCode=16 (Device or resource busy) yet, creating a new trksession, calling mme_settrksession with this new trksession allows removing of the old one. when am i able to call mme_rmtrkseesion() ? Does the trksession to be removed have to be inactive? How can i remove an active trksession? Regards, Artjom Fri, 03 Sep 2010 11:53:44 GMT http://community.qnx.com/sf/go/post65846 Artjom Dizel 2010-09-03T11:53:44Z post64296: Re: Can't access the mme source http://community.qnx.com/sf/go/post64296 See this post: http://community.qnx.com/sf/go/topc13058 After the acquisition of QNX by RIM, they changed their source policy. You'll now need to submit a QNX Restricted Content Application Form. I believe their plan is that some of the code will be released in the QNX Source project, but I don't think anything exists there yet. Steven Wed, 25 Aug 2010 13:20:43 GMT http://community.qnx.com/sf/go/post64296 Steven Lougheed 2010-08-25T13:20:43Z post64276: Can't access the mme source http://community.qnx.com/sf/go/post64276 Hello manager! I am a member of MME project,but today I found that I can't access the mme source,the access port is forbided.Why? Can you give me some advice,thanks! Wed, 25 Aug 2010 12:11:37 GMT http://community.qnx.com/sf/go/post64276 Yong Yu 2010-08-25T12:11:37Z post63271: About video decoder in mme http://community.qnx.com/sf/go/post63271 Hello everyone! I want to known if the mme spports video decoder based on armle(mx35) and qnx640? In order to play a mp4 video file, I plan to write a h264 decoder filter,and do the work of h264 codec migrated. Please give me some advices, is it possible to play the video files for my plan? Otherwise, in the release of qnx car project,I can find ffmpeg_decoder.so, is it for the video decoded? and in this case,what video formats does it supported? Thanks very much for your reply solving my issue. Tue, 17 Aug 2010 16:11:02 GMT http://community.qnx.com/sf/go/post63271 Xiaolong Zhang 2010-08-17T16:11:02Z post63250: Re: About the mme playlists table http://community.qnx.com/sf/go/post63250 On Tue, 17 Aug 2010, Kailen High wrote: &gt; Hi Gilles! &gt; Thanks for your reply! &gt; I have some problems need to clarify. &gt; (1)Is the playlist files(".pls" or ".m3u") created by myself,or the mme &gt; include playlist files itself,only need to be syncrhonized? You need to create the playlist files yourself in order for them to be scanned like the media. Only certain formats will be scanned. (look at the mme.conf file for the extentions handled in your version) &gt; (2)My media files is stored in the HardDrive,if I want to get a playlist &gt; displayed in the HMI,how should I do ? Once the playlist and playlistdate tables are populated, in the same manner that you would present data from the library table. &gt; (3)The mme has passed the 3 syn, but the playlists table and playlist_data table is empty,why? During the sync no playlists were found. You make things more verbose during the sync to see exactly what is happening. During the file sync pass it will note files that would be flagged as playlists. If it doesn't find any then there is nothing to do during the 3rd pass sync. Do you have playlists on your system that you expected to be found? Peter Tue, 17 Aug 2010 14:15:09 GMT http://community.qnx.com/sf/go/post63250 Peter Martin(deleted) 2010-08-17T14:15:09Z post63245: Re: About the mme playlists table http://community.qnx.com/sf/go/post63245 Hi Gilles! Thanks for your reply! I have some problems need to clarify. (1)Is the playlist files(".pls" or ".m3u") created by myself,or the mme include playlist files itself,only need to be syncrhonized? (2)My media files is stored in the HardDrive,if I want to get a playlist displayed in the HMI,how should I do ? (3)The mme has passed the 3 syn, but the playlists table and playlist_data table is empty,why? Looking for your reply ,thanks! Tue, 17 Aug 2010 14:02:22 GMT http://community.qnx.com/sf/go/post63245 Kailen High 2010-08-17T14:02:22Z post63080: Re: About the mme playlists table http://community.qnx.com/sf/go/post63080 On 10-08-15 11:17 AM, "Kailen High" &lt;community-noreply@qnx.com&gt; wrote: &gt; I can get the media file metadatas from the library table.but the mme &gt; internal playlists table is empty,I use the follow command: &gt; &gt; qdbc -d mme "slect * from playlists" &gt; result empty If the MME syncrhonizes a device (say a USB stick) and it finds playlist files which it recognizes (based on file extension, i.e. something like ".pls" or ".m3u") it will create a playlist entry in the playlists table and will insert the corresponding playlist entries as fids in the playlistdata table. &gt; &gt; please give me some advices ,how can I use the mme internal &gt; playlists.thanks very much! otherwise,does the mme include gracenode &gt; itself?how can I get it and manage the playlist. &gt; thanks very much! Gracenote is not included. You are probably best off to talk to your sales representative about how to get it. Regards, Gilles Mon, 16 Aug 2010 14:36:22 GMT http://community.qnx.com/sf/go/post63080 Gilles Roy 2010-08-16T14:36:22Z post63024: About the mme playlists table http://community.qnx.com/sf/go/post63024 Hello everyone! I can get the media file metadatas from the library table.but the mme internal playlists table is empty,I use the follow command: qdbc -d mme "slect * from playlists" result empty please give me some advices ,how can I use the mme internal playlists.thanks very much! otherwise,does the mme include gracenode itself?how can I get it and manage the playlist. thanks very much! Sun, 15 Aug 2010 15:17:17 GMT http://community.qnx.com/sf/go/post63024 Kailen High 2010-08-15T15:17:17Z post62564: Re: MMF Graph for a2dp playback using SBC decoder. http://community.qnx.com/sf/go/post62564 On 10-08-10 3:43 PM, "Lakshmi Boggaram" &lt;community-noreply@qnx.com&gt; wrote: &gt; We are aware that QNX MMF supports SBC decoders to perform audio playback &gt; using a2dp devices. &gt; &gt; Can somebody explain how I can invoke the SBC decoder by any kind of &gt; configurations and also the which are the filters involved for a2dp playback &gt; using sbc decoder? I don't think we have an SBC decoder for MMF. This means is that when playing back using A2DP devices, the bluetooth stack needs to do the decoding to PCM. Regards, Gilles Wed, 11 Aug 2010 00:42:49 GMT http://community.qnx.com/sf/go/post62564 Gilles Roy 2010-08-11T00:42:49Z post62534: MMF Graph for a2dp playback using SBC decoder. http://community.qnx.com/sf/go/post62534 Hello All, We are aware that QNX MMF supports SBC decoders to perform audio playback using a2dp devices. Can somebody explain how I can invoke the SBC decoder by any kind of configurations and also the which are the filters involved for a2dp playback using sbc decoder? Thanks and Regards, Lakshmi Tue, 10 Aug 2010 19:43:12 GMT http://community.qnx.com/sf/go/post62534 Lakshmi Boggaram 2010-08-10T19:43:12Z post59318: starting ipod driver io-fs-media with nopoll http://community.qnx.com/sf/go/post59318 Hi all, when starting io-fs-media with following arguments: /armle/usr/sbin/io-fs-media -d ipod,config=/armle/etc/ipod.cfg,transport=ser:dev=/dev/ser2:nopoll,playback,fnames=short,verbose=1 the ipod is recognized by MME, but when removing the iPod no events are generated by MME and iPod stays in mediastores table. Currently the iPod is connected to B-sample via serial connection and is charged. Starting io-fs-media with "poll" argument works fine also on the B-sample. A second question is: Where can i see debug output of io-fs-media? Adding "verbose=1" to arguments produces neither an output in sloginfo nor an output on std::out I have attached the mcd.conf and sloginfo output (mmecli set_debug 4 4) when attaching AND detaching the iPod afterwards. Tue, 13 Jul 2010 15:50:54 GMT http://community.qnx.com/sf/go/post59318 Artjom Dizel 2010-07-13T15:50:54Z post59230: Re: Zune playback http://community.qnx.com/sf/go/post59230 On 10-07-06 9:31 AM, "Malek Naffati" &lt;community-noreply@qnx.com&gt; wrote: &gt; So contrary to all of the sources claiming that Zune does not support PFS, &gt; the Zune supports PFS but in a fassion that is incompatible to the PFS &gt; spec/certification &gt; due to the additional encryption? Did I understand that correctly? I believe that much of the commands are similar, but that there are differences due to the additional encryption. Gilles Mon, 12 Jul 2010 18:21:51 GMT http://community.qnx.com/sf/go/post59230 Gilles Roy 2010-07-12T18:21:51Z post59049: Re: mme_play_resume_msid on iPod http://community.qnx.com/sf/go/post59049 If I understand what you're asking for, the answer is no. The iPod does not indicate the path on the iPod where the playback engine comes from. If you ask the iPod to play a specific path then the MME can provide the information (for the first file that plays). After the iPod takes over playback the MME only really knows what is in the playback engine--not how the playback items got into the playback engine. -- Ryan J. Allen QNX Software Systems Fri, 09 Jul 2010 12:16:57 GMT http://community.qnx.com/sf/go/post59049 Ryan Allen(deleted) 2010-07-09T12:16:57Z post59038: mme_play_resume_msid on iPod http://community.qnx.com/sf/go/post59038 Hi all, is there a way to get the path information of active playing item when resuming a device-tracksession by calling mme_play_resume_msid? The call "select * from nowplaying" to qdb returns with an empty filename cell.This cell is filled yet when creating a trksession manually and calling trksession_set_files afterwards. Regards, Artjom Fri, 09 Jul 2010 08:00:45 GMT http://community.qnx.com/sf/go/post59038 Artjom Dizel 2010-07-09T08:00:45Z post58840: Re: Hang on 0 Byte Mp3s http://community.qnx.com/sf/go/post58840 Apperently my track session the file was in was borged, thus a non-related problem on my side. The broken mp3 file is now correctly removed as documented. Wed, 07 Jul 2010 14:35:27 GMT http://community.qnx.com/sf/go/post58840 Malek Naffati 2010-07-07T14:35:27Z post58665: Re: Zune playback http://community.qnx.com/sf/go/post58665 This is interesting. So contrary to all of the sources claiming that Zune does not support PFS, the Zune supports PFS but in a fassion that is incompatible to the PFS spec/certification due to the additional encryption? Did I understand that correctly? Tue, 06 Jul 2010 13:31:33 GMT http://community.qnx.com/sf/go/post58665 Malek Naffati 2010-07-06T13:31:33Z post58636: Hang on 0 Byte Mp3s http://community.qnx.com/sf/go/post58636 Assuming that this may occur in day to day use I tested what happens when trying to play 0 byte Mp3 files. Apperently, this hangs up the media backend? mmecli commands will not have any effect and mmecli will hang up after having been "treated" with this specific file. Is anyone able to reproduce this error? Tue, 06 Jul 2010 07:17:22 GMT http://community.qnx.com/sf/go/post58636 Malek Naffati 2010-07-06T07:17:22Z post58582: Re: Retrieving album artwork is not working http://community.qnx.com/sf/go/post58582 On 10-06-30 2:08 PM, "Vadivel Palanisamy" &lt;community-noreply@qnx.com&gt; wrote: &gt; Hi Gilles, &gt; &gt; I have all the switch..case to print the received event. But none of them got &gt; received except 'MME_EVENT_SHUTDOWN_COMPLETED' . Hi Vadivel, I think you may have connected synchronously. When I look at the code, it seems we won't send you the MME_EVENT_METADATA_INFO if you specified O_SYNC when you called mme_connect(). If you really want a syncrhonous call, you should pass in a buffer instead of passing NULL when you call mme_metadata_getinfo_*() API calls. Regards, Gilles Mon, 05 Jul 2010 19:52:16 GMT http://community.qnx.com/sf/go/post58582 Gilles Roy 2010-07-05T19:52:16Z post58232: Re: Retrieving album artwork is not working http://community.qnx.com/sf/go/post58232 Hi Gilles, I have all the switch..case to print the received event. But none of them got received except 'MME_EVENT_SHUTDOWN_COMPLETED' . Like below code, switch (mme_event-&gt;type) { /// ***** CLASS_METADATA ***** case MME_EVENT_NONE: // 0 - Indicates that no 'single' type events are in the clients queue. { // MM_INFO("Ply status thread received MME_EVENT_NONE event."); break; // Queue is flushed } case MME_EVENT_METADATA_INFO: // 53 - mme_event_metadata_info_t { // mme_event_metadata_info_t . EOK is the data valid. MM_INFO("Metadata received MME_EVENT_METADATA_INFO event"); break; } case MME_EVENT_METADATA_IMAGE: // 54 - load an image from metadata is issued via the // mme_metadata_image_load() API function call a metadata image request id is returned to the client. { MM_INFO("Metadata received MME_EVENT_METADATA_IMAGE event"); //1. If an image is available and required, call mme_metadata_image_load() to load the image into the image cache. //2. Call mme_metadata_free_session() to close the metadata session and free the system resources it was using. if (pWorkerMetadata-&gt;m_mmestatus.sessionID) { //End a metadata session rc = mme_metadata_free_session(pWorkerMetadata-&gt;m_mmestatus.sessionID); } break; } /// ***** CLASS_GENERAL ***** case MME_EVENT_USERMSG: // 7 - An MME user event. { MM_INFO("General - received MME_EVENT_USERMSG event."); break; } case MME_EVENT_SHUTDOWN: // 15 - mme can be requested to shutdown by any client. { MM_INFO("General - received MME_EVENT_SHUTDOWN event."); break; } case MME_EVENT_SHUTDOWN_COMPLETED: // 16 - The shutdown process is complete. Playback and sync have stopped. { MM_INFO("General - received MME_EVENT_SHUTDOWN_COMPLETED event."); // Start a database backup qdb_backup(pWorkerMetadata-&gt;m_mmestatus.hQDB, QDB_ATTACH_DEFAULT); //qdb_Backup break; } case MME_EVENT_BUFFER_TOO_SMALL: // 55 - A client when the event buffer on the client side is // too small to fetch any events from the MME. { MM_INFO("General - received MME_EVENT_BUFFER_TOO_SMALL event."); break; } case MME_EVENT_DEFAULT_LANGUAGE: // 59 - default language has been set { MM_INFO("General - received MME_EVENT_DEFAULT_LANGUAGE event."); break; } default: { printf(" Metadata received unhandled event(%d)\n", mme_event-&gt;type); break; } } //end-switch Regards, Vadivel Wed, 30 Jun 2010 18:08:09 GMT http://community.qnx.com/sf/go/post58232 Vadivel Palanisamy 2010-06-30T18:08:09Z post58225: Re: Retrieving album artwork is not working http://community.qnx.com/sf/go/post58225 On 10-06-30 12:25 PM, "Vadivel Palanisamy" &lt;community-noreply@qnx.com&gt; wrote: &gt; // Para-4: Setting the 'metadata' argument to NULL for asynchronously. &gt; &gt; // to retrieve the required metadata for a the currently playing track and &gt; place it in the mme_metadata_info_t data structure. &gt; rc = mme_metadata_getinfo_current(pWorkerPly-&gt;m_mmestatus.sessionID, groups, &gt; &amp;pWorkerPly-&gt;m_mmestatus.mdinfo_rid, NULL); Hi Vadivel, As in your comment above, setting metadata to NULL makes the function return an async event MME_EVENT_METADATA_INFO will be delivered. This event includes the XML description saying how many images there are, and a description of each message. You are not catching that event. You would need to add a new case statement for MME_EVENT_METADATA_INFO and then parse the XML and then invoke mme_metadata_load_image(). That would in turn generate the MME_EVENT_METADATA_IMGAGE you are looking for but not receiving. BTW, instead of parsing the XML, if you want a shortcut (for testing), you could instead each time you receive the MME_EVENT_METADATA_INFO just call mme_metadata_load_image() with an index of 0. As well, I'd say that adds complexity to use a NULL metadata pointer. You might want to just get the XML immediately instead of use it in an async manner. Regards, Gilles Wed, 30 Jun 2010 17:10:06 GMT http://community.qnx.com/sf/go/post58225 Gilles Roy 2010-06-30T17:10:06Z post58218: Retrieving album artwork is not working http://community.qnx.com/sf/go/post58218 Hi, I am using following code and I am not getting MME_EVENT_METADATA_IMAGE event. case MME_EVENT_TRACKCHANGE: // 2 - A track change occured while playing. { MM_INFO("Ply status thread received MME_EVENT_TRACKCHANGE event"); pWorkerPly-&gt;m_mmestatus.uiFID = ((mme_trackchange_t*)&amp;mme_event-&gt;data)-&gt;fid; pWorkerPly-&gt;m_mmestatus.fid_requested = ((mme_trackchange_t*)&amp;mme_event-&gt;data)-&gt;fid_requested; pWorkerPly-&gt;m_mmestatus.offset = ((mme_trackchange_t*)&amp;mme_event-&gt;data)-&gt;offset; #if 1 // FIXME **** // To create a metadata session and reserve the required system resouces. rc = mme_metadata_create_session(pWorkerPly-&gt;m_mmestatus.hMME, &amp;pWorkerPly-&gt;m_mmestatus.sessionID) ; if (-1 == rc) { MM_ERROR("Fail to create a new meta-data session."); } else { const char* groups = "audio/common:image/format"; // "*" or NULL // Para-2: Setting the 'metadata_groups' argument to NULL, or the group to "*" instructs the function to return all avaialble metadata for the file. // Para-3: mdinfo_rid 0 Success: mdinfo_rid is set. -1 An error occurred (errno is set). // Para-4: Setting the 'metadata' argument to NULL for asynchronously. // to retrieve the required metadata for a the currently playing track and place it in the mme_metadata_info_t data structure. rc = mme_metadata_getinfo_current(pWorkerPly-&gt;m_mmestatus.sessionID, groups, &amp;pWorkerPly-&gt;m_mmestatus.mdinfo_rid, NULL); if (-1 == rc) { MM_INFO ("Fail to get metadata information."); } else { if( 0 != pWorkerPly-&gt;m_mmestatus.mdinfo_rid) { MM_ERROR("Fail to get metadata info."); } } } // end-if #endif break; } case MME_EVENT_METADATA_IMAGE: // 54 - load an image from metadata is issued via the // mme_metadata_image_load() API function call a metadata image request id is returned to the client. { MM_INFO("Metadata received MME_EVENT_METADATA_IMAGE event"); //1. If an image is available and required, call mme_metadata_image_load() to load the image into the image cache. //2. Call mme_metadata_free_session() to close the metadata session and free the system resources it was using. if (pWorkerMetadata-&gt;m_mmestatus.sessionID) { //End a metadata session rc = mme_metadata_free_session(pWorkerMetadata-&gt;m_mmestatus.sessionID); } break; } Regards, Vadivel Wed, 30 Jun 2010 16:25:14 GMT http://community.qnx.com/sf/go/post58218 Vadivel Palanisamy 2010-06-30T16:25:14Z post58168: RE: Warning-Message: Couldn't get trksession mode (25), assume enabled http://community.qnx.com/sf/go/post58168 We have an API that io-media uses to talk to devices such as iPod called MediaFS. We recently extended this API to ask the device if it is handling its own tracksession (ie, in the normal case, when a song finishes playing does it play the next song automatically). The old functionality was to assume that it was. It seems that the iPod driver you have doesn't support the API we added. This is fine, as the behaviour is the same. To avoid it you would need to update your iPod driver. For this you should talk to your appropriate QNX rep. -- Ryan J. Allen QNX Software Systems Wed, 30 Jun 2010 10:12:34 GMT http://community.qnx.com/sf/go/post58168 Ryan Allen(deleted) 2010-06-30T10:12:34Z post58166: Warning-Message: Couldn't get trksession mode (25), assume enabled http://community.qnx.com/sf/go/post58166 Hi all, when starting playback of files from iPod i get following messages: io-media-nvidia/mmf: writer hint snd:* found io-media-nvidia/mmf: writer hint appe_output_* found io-media-nvidia/mediafs: Couldn't get trksession mode (25), assume enabled I've seen the first two messages all the time when playing from iPod. Now i see the additional message regarding "trksession mode". What does this message mean? And how to avoid this warning? It doesn't seem to affect playback, as iPod starts to play anyway and everything still works fine. Regards, Artjom Wed, 30 Jun 2010 07:56:57 GMT http://community.qnx.com/sf/go/post58166 Artjom Dizel 2010-06-30T07:56:57Z post57939: Custom Joystick driver and is0usb http://community.qnx.com/sf/go/post57939 We have written usb drivers for a pedal and a joystick we are using with the QNX system. The problem is we are forced to restart io-usb with the following lines in rc.local to ensure that the drivers we have written can see that the devices are physically connected: slay io-usb io-usb -dehci -duhci -dohci waitfor /dev/io-usb/io-usb Another approach is to physically disconnect and connect the USB devices. And in fact sometimes we are forced to do this even with the lines above. Do you think there is a better way to handless this situation? Thanks... Fri, 25 Jun 2010 18:02:56 GMT http://community.qnx.com/sf/go/post57939 Seyit Seyhan(deleted) 2010-06-25T18:02:56Z post57872: Re: Detecting that an ipod has no content http://community.qnx.com/sf/go/post57872 Ok, thanks a lot for the info. Regards, Artjom Fri, 25 Jun 2010 06:51:24 GMT http://community.qnx.com/sf/go/post57872 Artjom Dizel 2010-06-25T06:51:24Z post57837: Re: Detecting that an ipod has no content http://community.qnx.com/sf/go/post57837 For Music (i.e. audio only content) you just need to check /Music/Songs. For video content you just need to check "/Videos/Video Playlists/~0". This will contain all videos on the iPod. Things like podcasts or audiobooks will end up in Music/Songs or Videos/Video Playlists/~0. As well, playlists are just lists of content already on the iPod, so they don't need their own explicit check. /Music/Songs is the contents of playlist 0 for audio (*all* audio content on the iPod). The "/Videos/Video Playlists/~0" folder is playlist 0 for Video, all video content on the iPod is there. Regards, Gilles On 10-06-24 12:12 PM, "Artjom Dizel" &lt;community-noreply@qnx.com&gt; wrote: &gt; ok, but what about podcasts (video-podcasts), audiobooks, videos, playlists, &gt; the /Music/Songs folder does not contain them or am i wrong at this point? &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post57814 &gt; Thu, 24 Jun 2010 17:52:19 GMT http://community.qnx.com/sf/go/post57837 Gilles Roy 2010-06-24T17:52:19Z post57814: Re: Detecting that an ipod has no content http://community.qnx.com/sf/go/post57814 ok, but what about podcasts (video-podcasts), audiobooks, videos, playlists, the /Music/Songs folder does not contain them or am i wrong at this point? Thu, 24 Jun 2010 16:12:12 GMT http://community.qnx.com/sf/go/post57814 Artjom Dizel 2010-06-24T16:12:12Z post57813: Re: Detecting that an ipod has no content http://community.qnx.com/sf/go/post57813 On 10-06-24 11:56 AM, "Artjom Dizel" &lt;community-noreply@qnx.com&gt; wrote: &gt; is there a way to find out if an iPod has playable content stored on it or is &gt; completely empty? &gt; &gt; Or do i have to browse the folder-structure to find out. that all folders are &gt; empty? You could just check Music/Songs. I will include all of the audio content on the ipod (i.e. everything that is in Music/Genres/... Music/Artist/.... etc will be in Music/Songs). If that one folder is empty, there are no songs on the iPod. Regards, Gilles Thu, 24 Jun 2010 16:01:08 GMT http://community.qnx.com/sf/go/post57813 Gilles Roy 2010-06-24T16:01:08Z post57811: Detecting that an ipod has no content http://community.qnx.com/sf/go/post57811 Hi all, is there a way to find out if an iPod has playable content stored on it or is completely empty? Or do i have to browse the folder-structure to find out. that all folders are empty? Thanks for help, Artjom Thu, 24 Jun 2010 15:56:37 GMT http://community.qnx.com/sf/go/post57811 Artjom Dizel 2010-06-24T15:56:37Z post57322: Re: Issue: Total number <files/folder/play list> getting on DB sync complete http://community.qnx.com/sf/go/post57322 Thanks Ryan! for your support. Mon, 21 Jun 2010 17:50:44 GMT http://community.qnx.com/sf/go/post57322 Vadivel Palanisamy 2010-06-21T17:50:44Z post57320: Re: Zune playback http://community.qnx.com/sf/go/post57320 Hi Gilles, Gilles: I saw those errors as well. I don't think that you would even get a mountpoint without the certificate. Are you sure you are using a Zune and not a PlaysForSure device? Vadivel: Yes, we are using Zune device only. We have PFS device and it works fine. We are able browse (on zune device - same device) and able to see the album, artist, genre ..etc list. When we try to play particular file then we are getting 'Unsupported codec error'. Gills: I was looking for the output of "pidin arg". In your pidin_log.txt I don't get the info I was looking for. Vadivel: Please find the pidin_arg_log.txt' file as a attachment. Let me know if you any more information. Regards, Vadivel Mon, 21 Jun 2010 17:47:37 GMT http://community.qnx.com/sf/go/post57320 Vadivel Palanisamy 2010-06-21T17:47:37Z post57202: Re: Issue: Total number <files/folder/play list> getting on DB sync complete http://community.qnx.com/sf/go/post57202 The sync complete event does not contain this data. Properly, you should be running queries on the database to get these totals. You can do this via qdb's API. "select count(fid) from library where msid = X and ftype != 5" will give you files (the ftype 5 is the device fid) "select count(folderid) from folders where msid = X" will give you folders (including the root '/' folder) "select count(plid) from playlists where msid = X" will give you playlists Note that this gives you the totals for that mediastore, NOT the totals inserted/changed for that mediastore. For example, if you are syncing a mediastore for the first time and there are 10 files you would have 10 files added, and 10 files total. If you then add 2 files to this and resync you will have 2 files added and 12 files total. -- Ryan J. Allen QNX Software Systems Fri, 18 Jun 2010 18:54:27 GMT http://community.qnx.com/sf/go/post57202 Ryan Allen(deleted) 2010-06-18T18:54:27Z post57200: Re: Zune playback http://community.qnx.com/sf/go/post57200 On 10-06-18 1:47 PM, "Vadivel Palanisamy" &lt;community-noreply@qnx.com&gt; wrote: &gt; Some time we are getting following error (after inserting the device and &gt; before start selecting any item on the list) &gt; &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt;&gt;I saw those errors as well. I don't think that you would even get a mountpoint without the certificate. Are you sure you are using a Zune and not a PlaysForSure device? Vadivel: Yes, we are using Zune device only. We have PFS device and it works fine. We are able browse (on zune device - same device) and able to see the album, artist, genre ..etc list. When we try to play particular file then we are getting 'Unsupported codec error'. &gt; Please find an attachment of 'pidin_log.txt' file. &gt;&gt;I was looking for the output of "pidin arg". In your pidin_log.txt I don't get the info I was looking for. Vadivel: Please find the new attachment. &gt; If possible, please can you provide me the information about zune &gt; certification?? like how to get?? any document or web-site link..etc to get &gt; certification that will be help for me. &gt;&gt;I don't know much about this. You will have to contact Microsoft to find out the details. Gilles Fri, 18 Jun 2010 18:34:58 GMT http://community.qnx.com/sf/go/post57200 Vadivel Palanisamy 2010-06-18T18:34:58Z post57198: Re: Zune playback http://community.qnx.com/sf/go/post57198 On 10-06-18 1:47 PM, "Vadivel Palanisamy" &lt;community-noreply@qnx.com&gt; wrote: &gt; Some time we are getting following error (after inserting the device and &gt; before start selecting any item on the list) &gt; &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. &gt; io-fs-media(pfs): Bad ioread status 5. I saw those errors as well. I don't think that you would even get a mountpoint without the certificate. Are you sure you are using a Zune and not a PlaysForSure device? &gt; Please find an attachment of 'pidin_log.txt' file. I was looking for the output of "pidin arg". In your pidin_log.txt I don't get the info I was looking for. &gt; If possible, please can you provide me the information about zune &gt; certification?? like how to get?? any document or web-site link..etc to get &gt; certification that will be help for me. I don't know much about this. You will have to contact Microsoft to find out the details. Gilles Fri, 18 Jun 2010 18:14:34 GMT http://community.qnx.com/sf/go/post57198 Gilles Roy 2010-06-18T18:14:34Z post57197: Issue: Total number <files/folder/play list> getting on DB sync complete http://community.qnx.com/sf/go/post57197 Hi, We are using below code to get the total number files/folders/play-list information on Sync-complete but it prints zero's. Do we missing something to get correct information. How to get the qdb_database size??? I think have to use ' qdb_getdbsize(..)' API calls to get the DB size. But it returns pages &amp; sizes. Is that correct???? Code: case MME_EVENT_MS_SYNCCOMPLETE: // 13 - Synchronization of the mediastore is complete. { printf("Sync status thread received MME_EVENT_MS_SYNCCOMPLETE event \n"); // print_execution_time(m_tsStartTime); int iScope = QDB_ATTACH_DEFAULT; // QDB_ATTACH_ALWAYS | QDB_ATTACH_NEVER uint32_t page_size = 0, total_pages = 0, free_pages = 0 ; // Return the size of a database int iDBSize = qdb_getdbsize(m_mmestatus.hQDB, iScope, &amp;page_size, &amp;total_pages, &amp;free_pages); printf("MME databse size(%d), page_size(%d), total_pages(%d), free_pages(%d) \n", iDBSize, page_size, total_pages, free_pages); #endif printf ("Mediastore %llu; files %llu; folders %llu; playlists %llu; \n", ((mme_ms_update_data_t*)&amp;mme_event-&gt;data)-&gt;msid, ((mme_ms_update_data_t*)&amp;mme_event-&gt;data)-&gt;added_filecount, ((mme_ms_update_data_t*)&amp;mme_event-&gt;data)-&gt;added_foldercount, ((mme_ms_update_data_t*)&amp;mme_event-&gt;data)-&gt;playlist_count ); break; } Thanks &amp; Regards, Vadivel Fri, 18 Jun 2010 18:12:30 GMT http://community.qnx.com/sf/go/post57197 Vadivel Palanisamy 2010-06-18T18:12:30Z post57195: Re: Zune playback http://community.qnx.com/sf/go/post57195 Hi Gilles, Some time we are getting following error (after inserting the device and before start selecting any item on the list) io-fs-media(pfs): Bad ioread status 5. io-fs-media(pfs): Bad ioread status 5. io-fs-media(pfs): Bad ioread status 5. io-fs-media(pfs): Bad ioread status 5. io-fs-media(pfs): Bad ioread status 5. io-fs-media(pfs): Bad ioread status 5. . .. ... etc Please find an attachment of 'pidin_log.txt' file. If possible, please can you provide me the information about zune certification?? like how to get?? any document or web-site link..etc to get certification that will be help for me. Regards, Vadivel Fri, 18 Jun 2010 17:47:52 GMT http://community.qnx.com/sf/go/post57195 Vadivel Palanisamy 2010-06-18T17:47:52Z post57187: Re: Zune playback http://community.qnx.com/sf/go/post57187 On 10-06-18 12:48 PM, "Gilles Roy" &lt;community-noreply@qnx.com&gt; wrote: &gt; &gt;&gt; &gt;&gt; Setup: &gt;&gt; H/w: Beagle board &gt;&gt; S/w: QNX 6.4.1 / Aviage multimedia 1.2.0 &gt;&gt; Zune 16 GB Model 1395 &gt;&gt; &gt;&gt; Please find the log file a attachment. &gt;&gt; &gt;&gt; Let me know is there any configuration change?? or need any specific codec &gt;&gt; for &gt;&gt; zune device. &gt; &gt; Zune contents are encrypted. To play a Zune device you need a certificate &gt; from Microsoft. I suspect you probably don't have one. &gt; &gt; Can you show me the pidin arg output on your system? &gt; &gt; &gt; Thanks, &gt; Gilles &gt; &gt; &gt; Fri, 18 Jun 2010 16:48:55 GMT http://community.qnx.com/sf/go/post57187 Jim Gilderson 2010-06-18T16:48:55Z post57186: Re: Zune playback http://community.qnx.com/sf/go/post57186 On 10-06-18 12:32 PM, "Vadivel Palanisamy" &lt;community-noreply@qnx.com&gt; wrote: &gt; We are trying to play the audio from zune and HMI shows error "unsupported &gt; codec". &gt; &gt; Setup: &gt; H/w: Beagle board &gt; S/w: QNX 6.4.1 / Aviage multimedia 1.2.0 &gt; Zune 16 GB Model 1395 &gt; &gt; Please find the log file a attachment. &gt; &gt; Let me know is there any configuration change?? or need any specific codec for &gt; zune device. Zune contents are encrypted. To play a Zune device you need a certificate from Microsoft. I suspect you probably don't have one. Can you show me the pidin arg output on your system? Thanks, Gilles Fri, 18 Jun 2010 16:48:09 GMT http://community.qnx.com/sf/go/post57186 Gilles Roy 2010-06-18T16:48:09Z post57182: Zune playback http://community.qnx.com/sf/go/post57182 Hi, We are trying to play the audio from zune and HMI shows error "unsupported codec". Setup: H/w: Beagle board S/w: QNX 6.4.1 / Aviage multimedia 1.2.0 Zune 16 GB Model 1395 Please find the log file a attachment. Let me know is there any configuration change?? or need any specific codec for zune device. Regards, Vadivel Fri, 18 Jun 2010 16:32:10 GMT http://community.qnx.com/sf/go/post57182 Vadivel Palanisamy 2010-06-18T16:32:10Z post57148: Re: RE: Creating a tracksession http://community.qnx.com/sf/go/post57148 Thanks Ryan Allen! Fri, 18 Jun 2010 13:38:15 GMT http://community.qnx.com/sf/go/post57148 Vadivel Palanisamy 2010-06-18T13:38:15Z post57116: RE: Creating a tracksession http://community.qnx.com/sf/go/post57116 Generally for iPod you will use a file-based tracksession. The iPod will fill-out a tracksession with other files in the folder you select. For example, if you create a file-based tracksession the first file in /Music/Songs/All/ the iPod will load all other items from the same folder into the playback engine. It will play the song you've selected first, but then it will play another one from that folder. The typical iPod tracksession is a file-based tracksession of only one item--the specific item that the user has selected. There are some exceptions to this general use. 1. If you sync the iPod to the library you can use library-based tracksessions. The same "autofill" of the playback engine mentioned above occurs, so you would generally only play one fid from the library and the iPod will carry on after that; 2. if you sync the iPod to the library AND use iPod stalked mode, you build library-based tracksessions with a list of the specific fids you want to play. Stalker mode has the MME specifically stop the iPod after each track has played, then the MME tells the iPod which song to play next. It's not perfect, but it is necessary if you want specific control over the playback order; 3. if you are resuming an iPod's playback using its existing playback engine (for example, when the user first connects the device), playback is usually done with the function mme_play_resume_msid(). This function automatically creates a library-based tracksession, though that is inconsequential to the caller. I'm not sure if iPod sync is in MME 1.2.1, and I don't think iPod stalker mode is. If you need either of these and don't have access to these features you'll have to talk to your QNX sales rep about a newer MME version. -- Ryan J. Allen QNX Software Systems Thu, 17 Jun 2010 22:49:27 GMT http://community.qnx.com/sf/go/post57116 Ryan Allen(deleted) 2010-06-17T22:49:27Z post57115: Re: Creating a tracksession http://community.qnx.com/sf/go/post57115 Thanks Ryan! Can I create a track session (MME_PLAYMODE_LIBRARY) for iPOD device?? is there any constrain on it for iPOD. Advance thanks! Vadivel Thu, 17 Jun 2010 22:10:55 GMT http://community.qnx.com/sf/go/post57115 Vadivel Palanisamy 2010-06-17T22:10:55Z post57114: Re: Creating a tracksession http://community.qnx.com/sf/go/post57114 If you are synchronising a mediastore to the library then you can use a library-based tracksession. This builds a list of files to play by executing an sql query. An example using mmecli to play all media files from msid 7: mmecli newtrksession l "select fid from library where msid = 7 and ftype != 5;" If you will be exploring a mediastore (with the mme_explore_*() functions) you will get a list of files to play. For this you would use a file-based tracksession, adding the specific files you find that you want to play. -- Ryan J. Allen QNX Software Systems Thu, 17 Jun 2010 21:31:18 GMT http://community.qnx.com/sf/go/post57114 Ryan Allen(deleted) 2010-06-17T21:31:18Z post57110: Creating a tracksession http://community.qnx.com/sf/go/post57110 In MME documents says, "MME supports two type of track session 1) Library 2)file-based" My question is: How do I decide, which one I have to use?? Thu, 17 Jun 2010 20:31:20 GMT http://community.qnx.com/sf/go/post57110 Vadivel Palanisamy 2010-06-17T20:31:20Z post55202: Re: the porting of h264 http://community.qnx.com/sf/go/post55202 Hi peter! thanks for your reply. I havn't intel codec package in my target.I want to complie a h264 codec lib,can you give me some example of the codec.thanks! Thu, 20 May 2010 05:20:08 GMT http://community.qnx.com/sf/go/post55202 Kailen High 2010-05-20T05:20:08Z post55154: Re: the porting of h264 http://community.qnx.com/sf/go/post55154 On Wed, 19 May 2010, Kailen High wrote: &gt;Subject: the porting of h264 &gt; &gt; Hi all! &gt; I want to play mp4 file in mme,but I can not get the decoder of &gt; h264.Can you descripe the interface of h264 decoder,is it similar &gt; with the mp4_parser? thanks very much! Video decoding is handled thru the intel codec package... do you have that on your system? What errors do you get when you do try and play? Peter Wed, 19 May 2010 14:44:27 GMT http://community.qnx.com/sf/go/post55154 Peter Martin(deleted) 2010-05-19T14:44:27Z post55094: the porting of h264 http://community.qnx.com/sf/go/post55094 Hi all! I want to play mp4 file in mme,but I can not get the decoder of h264.Can you descripe the interface of h264 decoder,is it similar with the mp4_parser? thanks very much! Wed, 19 May 2010 07:16:09 GMT http://community.qnx.com/sf/go/post55094 Kailen High 2010-05-19T07:16:09Z post53704: Re: dose mme support the wav format? http://community.qnx.com/sf/go/post53704 Hi Steven, That’s interesting and news to me. My suggestion is that you open a discussion with QNX support to address this. Dan On 10-05-04 9:37 AM, "Steven Lougheed" &lt;community-noreply@qnx.com&gt; wrote: &gt; I think some of the confusion around wav files is that some CD rippers do &gt; include metadata in the wav files. For example, I have some CDs ripped with &gt; Windows Media Player and if I open the files with vi I can see: &gt; &gt; RIFF6þ¡[]WAVELISTÈ[]INFOIART[]Andrea BocelliINAM[]Macchine da &gt; Guerra[]IPRD[]Romanza[]IGNR[]Classical[] &gt; &gt; (non-printable characters have been replaced with []) &gt; &gt; So, in fact, this wave file does have artist, title, genre. The fact that &gt; other players windows players (MediaMonkey, Winamp, etc) can read and display &gt; this data makes me believe that there is some sort of standard. Any chance &gt; the mme can parse this &gt; data? _______________________________________________ Development http://c &gt; ommunity.qnx.com/sf/go/post53511 -- Dan Cardamore &lt;dcardamore@qnx.com&gt; Thu, 06 May 2010 19:45:29 GMT http://community.qnx.com/sf/go/post53704 Dan Cardamore(deleted) 2010-05-06T19:45:29Z post53511: Re: dose mme support the wav format? http://community.qnx.com/sf/go/post53511 I think some of the confusion around wav files is that some CD rippers do include metadata in the wav files. For example, I have some CDs ripped with Windows Media Player and if I open the files with vi I can see: RIFF6þ¡[]WAVELISTÈ[]INFOIART[]Andrea BocelliINAM[]Macchine da Guerra[]IPRD[]Romanza[]IGNR[]Classical[] (non-printable characters have been replaced with []) So, in fact, this wave file does have artist, title, genre. The fact that other players windows players (MediaMonkey, Winamp, etc) can read and display this data makes me believe that there is some sort of standard. Any chance the mme can parse this data? Tue, 04 May 2010 13:37:20 GMT http://community.qnx.com/sf/go/post53511 Steven Lougheed 2010-05-04T13:37:20Z post53491: Re: dose mme support the wav format? http://community.qnx.com/sf/go/post53491 wav files don¹t contain as much metadata as id3 tags inside mp3s. You¹ll only get a few fields populated for wav files such as bitrate (not artist). Dan On 10-05-04 7:18 AM, "Kailen High" &lt;community-noreply@qnx.com&gt; wrote: &gt; Hi all! &gt; I play the song of wav format to gain the artist(title) from &gt; nowplaying,but it is null. Otherwize ,When I play the song of mp3 format ,I &gt; can get the artist(titile) from the nowplaying.In the path of dll/media,I can &gt; find the wavparser.so. &gt; Can you tell me the reason. &gt; thaks very much! &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post53488 &gt; &gt; -- Dan Cardamore &lt;dcardamore@qnx.com&gt; Tue, 04 May 2010 11:52:38 GMT http://community.qnx.com/sf/go/post53491 Dan Cardamore(deleted) 2010-05-04T11:52:38Z post53488: dose mme support the wav format? http://community.qnx.com/sf/go/post53488 Hi all! I play the song of wav format to gain the artist(title) from nowplaying,but it is null. Otherwize ,When I play the song of mp3 format ,I can get the artist(titile) from the nowplaying.In the path of dll/media,I can find the wavparser.so. Can you tell me the reason. thaks very much! Tue, 04 May 2010 11:18:34 GMT http://community.qnx.com/sf/go/post53488 Kailen High 2010-05-04T11:18:34Z post52753: Re: MP3 Streaming Player http://community.qnx.com/sf/go/post52753 Hi Nischchal, I replied too early in the morning... while we don¹t have source you can grab the Intel IPP package which is available on the foundry27 project¹s file releases section. If you¹re on x86 then this should do you fine. It has many audio and video codecs, details are in our docs. Unfortunately, we don¹t have source available for this because of licensing issues. But you are free to use the binaries. Dan On 10-04-26 8:19 AM, "Nishchal Arora" &lt;community-noreply@qnx.com&gt; wrote: &gt; Hi Dan &gt; &gt; Is there any other audio/video formats that would not require a license that &gt; can be streamed from a remote server. The project is to build a streaming &gt; multimedia application, so if there are any such audio/video formats, it would &gt; be great. Would you also know if there are any open source filters that can be &gt; integrated easily into the QNX multimedia architecture? Thanks a lot ! &gt; &gt; Regards, &gt; Nishchal &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post52746 &gt; &gt; -- Dan Cardamore &lt;dcardamore@qnx.com&gt; Mon, 26 Apr 2010 13:06:09 GMT http://community.qnx.com/sf/go/post52753 Dan Cardamore(deleted) 2010-04-26T13:06:09Z post52746: Re: MP3 Streaming Player http://community.qnx.com/sf/go/post52746 Hi Dan Is there any other audio/video formats that would not require a license that can be streamed from a remote server. The project is to build a streaming multimedia application, so if there are any such audio/video formats, it would be great. Would you also know if there are any open source filters that can be integrated easily into the QNX multimedia architecture? Thanks a lot ! Regards, Nishchal Mon, 26 Apr 2010 12:19:07 GMT http://community.qnx.com/sf/go/post52746 Nishchal Arora 2010-04-26T12:19:07Z post52735: Re: MP3 Streaming Player http://community.qnx.com/sf/go/post52735 Hi Nishchal, It isn¹t available in source form because of licensing issues. You need to license them in order to get them from us. Sorry, don¹t think this will be a good solution for you because of the legal hurdles. Dan On 10-04-22 5:36 PM, "Nishchal Arora" &lt;community-noreply@qnx.com&gt; wrote: &gt; Hi &gt; &gt; I have been trying to build a streaming mp3 player on QNX 6.3.2 as part of my &gt; college project. I built the multimedia suite from the source code as &gt; documented. &gt; &gt; I tried to compile the code to play an mp3 file given on the website. When I &gt; compile it, I get an error saying that the Xing Mpeg audio decoder is not &gt; found. &gt; &gt; The documentation, which says that it is only available with the multimedia &gt; TDKs which have been discontinued. &gt; &gt; I would really appreciate some help with this. &gt; &gt; Thanks &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post52432 &gt; &gt; -- Dan Cardamore &lt;dcardamore@qnx.com&gt; Mon, 26 Apr 2010 10:31:57 GMT http://community.qnx.com/sf/go/post52735 Dan Cardamore(deleted) 2010-04-26T10:31:57Z post52432: MP3 Streaming Player http://community.qnx.com/sf/go/post52432 Hi I have been trying to build a streaming mp3 player on QNX 6.3.2 as part of my college project. I built the multimedia suite from the source code as documented. I tried to compile the code to play an mp3 file given on the website. When I compile it, I get an error saying that the Xing Mpeg audio decoder is not found. The documentation, which says that it is only available with the multimedia TDKs which have been discontinued. I would really appreciate some help with this. Thanks Thu, 22 Apr 2010 21:36:57 GMT http://community.qnx.com/sf/go/post52432 Nishchal Arora 2010-04-22T21:36:57Z post52004: RE: retrieving metadata information from an iPod http://community.qnx.com/sf/go/post52004 May depend on what info you are looking for: -- querying the nowplaying table (after you received MME_EVENT_NOWPLAYING_METADATA and not after EVENT_TRACKCHANGE) will give you info about the track that is being played back at the moment -- mme_explore_info_get() + mme_metadata_extract_string() will be useful for browsing the device or getting metadata (titles) of tracks in the nowplaying list You may want to take a look at the source of the mmexplore command line utility if have not seen yet: QNX641/target/qnx6/examples/mmexplore Mon, 19 Apr 2010 07:27:28 GMT http://community.qnx.com/sf/go/post52004 Mate Szarvas 2010-04-19T07:27:28Z post52003: retrieving metadata information from an iPod http://community.qnx.com/sf/go/post52003 Hi all, There are two ways of getting metadata from an iPod... The one is to use the mme_explore_info_get() function with a previous call of mme_explore_position_set() with needed metadata_types set as flags. The other way is to refer to the nowplaying table of the qdb. What is the better way to get metadata-information from an iPod? Mon, 19 Apr 2010 06:51:16 GMT http://community.qnx.com/sf/go/post52003 Artjom Dizel 2010-04-19T06:51:16Z post52002: Re: Creating an ipod-tracksession http://community.qnx.com/sf/go/post52002 thanks for the advice with 'io-media'. Taking another version of the driver solved the issue. Mon, 19 Apr 2010 06:40:58 GMT http://community.qnx.com/sf/go/post52002 Artjom Dizel 2010-04-19T06:40:58Z post51709: Re: Creating an ipod-tracksession http://community.qnx.com/sf/go/post51709 Is io-media running with a mountpoint of /dev/io-media/? If you run "ls /dev/io-media/" and then "ls /dev/io-media/graphs/" do you see the paths? The output from "pidin ar" and your io-media config file (if any) might also reveal whether or not this is setup. -- Ryan J. Allen QNX Software Systems Wed, 14 Apr 2010 20:37:55 GMT http://community.qnx.com/sf/go/post51709 Ryan Allen(deleted) 2010-04-14T20:37:55Z post51673: Creating an ipod-tracksession http://community.qnx.com/sf/go/post51673 Hi all, How do i create an iPod tracksession right? what i do is the following: first i create a filebased tracksession with the msid of the ipod - mme_newtrksession(mme_hdl, MME_PLAYMODE_FILE, sqlStmt) with sqlStmt = "SELECT fid from library WHERE ftype=5 AND msid=(msid_of_ipod)" then I set the created tracksession with its returned id in mme_settrksession afterwards I call mme_set_trksession_files() with following path: /Music/Artists/item~0/item~0/item~0 ( first item~0=AlbumA, sec. is ArtistA and third is the Song itself) Here my first question: Is the path given to the mme in the described form right? (The function returns no error) When calling mme_play(0) or mme_play_offset(0), no playback is started. The sloginfo reports the error: "Could not create graph..." see attached sloginfo.txt (the log-level was set to "mmecli set_debug 8 0" Thanks for any help. Wed, 14 Apr 2010 16:29:48 GMT http://community.qnx.com/sf/go/post51673 Artjom Dizel 2010-04-14T16:29:48Z post51209: Re: Starting the iPod filesystem with serial cable connection http://community.qnx.com/sf/go/post51209 &gt; when starting io-fs-media with option -dipod,transport=ser:dev=/dev/ser1 do I &gt; have to specify the acp=i2c option also, or is it only needed when starting io &gt; -fs-media -dipod with transport option set to "usb"? Well, specifying the acp=i2c option tells the iPod driver if you have an authentication coprocessor or not. If you do have an auth chip you should use that option regardless of the transport being used (serial or USB). If you don't have an authentication coprocessor, you can still get playback with analog audio over a serial connection, so the authentication is really only mandatory for USB playback. Regards, Gilles Tue, 06 Apr 2010 14:49:42 GMT http://community.qnx.com/sf/go/post51209 Gilles Roy 2010-04-06T14:49:42Z post51207: Starting the iPod filesystem with serial cable connection http://community.qnx.com/sf/go/post51207 Hi all, when starting io-fs-media with option -dipod,transport=ser:dev=/dev/ser1 do I have to specify the acp=i2c option also, or is it only needed when starting io-fs-media -dipod with transport option set to "usb"? Tue, 06 Apr 2010 14:41:15 GMT http://community.qnx.com/sf/go/post51207 Artjom Dizel 2010-04-06T14:41:15Z post50502: Re: Error "Maximum allowed filesystems with MME reached" http://community.qnx.com/sf/go/post50502 You are right, it is our code which is doing the limiting. Problem fixed now. Thanks! Thu, 25 Mar 2010 21:52:20 GMT http://community.qnx.com/sf/go/post50502 Jasmine Fong 2010-03-25T21:52:20Z post49709: Re: [MME] Freeing memory of mme_explore_info_t structures http://community.qnx.com/sf/go/post49709 &gt; will the memory allocated for the mme_explore_info_t structures retrieved &gt; during an explore session - i.e. calling multiple times mme_explore_info_get() &gt; - be freed with the call mme_explore_end() - all structures related to the &gt; closed mme_explore_hdl? Yes, all will be freed when you call mme_explore_end(). The MME uses a single buffer that can contain information about multiple items (when you call info_get() the first time, it can transfer multiple items from the MME to the client lib and keep them cached). The next time you call info_get() it might not even result in a context switch to the MME, instead the information might already be in the cache in the client memory space. Of note, you should take what information you need from the result before calling the next info_get(), otherwise the first results memory could be reused and will no longer be valid. Gilles Wed, 17 Mar 2010 11:20:00 GMT http://community.qnx.com/sf/go/post49709 Gilles Roy 2010-03-17T11:20:00Z post49696: [MME] Freeing memory of mme_explore_info_t structures http://community.qnx.com/sf/go/post49696 Hi all, will the memory allocated for the mme_explore_info_t structures retrieved during an explore session - i.e. calling multiple times mme_explore_info_get() - be freed with the call mme_explore_end() - all structures related to the closed mme_explore_hdl? Kind Regards, Sebastian Wed, 17 Mar 2010 07:11:39 GMT http://community.qnx.com/sf/go/post49696 Sebastian Kiesel 2010-03-17T07:11:39Z post49615: Re: Exploring - Retrieving the filename http://community.qnx.com/sf/go/post49615 I believe it includes the path information as well, but not the mountpath. Regards, Gilles Tue, 16 Mar 2010 15:15:07 GMT http://community.qnx.com/sf/go/post49615 Gilles Roy 2010-03-16T15:15:07Z post49613: Re: [MME] Correct usage of mme_explore_playlist_find_file() http://community.qnx.com/sf/go/post49613 &gt; Is it only a copy and paste typo within the PDF documentation - what I guess? &gt; Do I need a pointer to a mme_explore_hdl_t at all while using &gt; mme_explore_playlist_find_file()? I've created an internal PR:75404 to update the documentation. The header files are correct, for that API you need to pass in the mme_hdl_t. Regards, Gilles Tue, 16 Mar 2010 15:03:49 GMT http://community.qnx.com/sf/go/post49613 Gilles Roy 2010-03-16T15:03:49Z post49607: Re: [MME] Correct usage of mme_explore_playlist_find_file() http://community.qnx.com/sf/go/post49607 You may want to have a look at the source of the mmexplore sample util if have not yet. ----- Original Message ----- From: Sebastian Kiesel &lt;community-noreply@qnx.com&gt; To: development-multimedia &lt;post49571@community.qnx.com&gt; Sent: Tue Mar 16 05:16:40 2010 Subject: [MME] Correct usage of mme_explore_playlist_find_file() Hi all, the documentation in the header file is different from that in the pdf. API-Call from the Header file: const mme_explore_info_t *mme_explore_playlist_find_file(mme_hdl_t *hdl, uint64_t msid, const char *entry, const char *path, const char *metadata_types, uint32_t flags); Docu - Header file hdl:= Handle to the MME ... Docu - PDF hdl:= A handle to the MME returned by mme_explore_start() ... =&gt; mme_explore_start returns a pointer to a mme_explore_hdl_t More over in the PDF it is indicated that the result of mme_explore_playlist_find_file() - which is a mme_explore_info_t - has to be released using mme_explore_info_free(). =&gt; mme_explore_info_free() is also documented in in different ways: API-Call from the Header file: int mme_explore_info_free(mme_hdl_t *hdl, const mme_explore_info_t *info); Docu - Header file hdl:= Handle to the MME ... Docu - PDF hdl:= A handle to the MME returned by mme_explore_start() ... =&gt; mme_explore_start returns a pointer to a mmm_explore_hdl_t Is it only a copy and paste typo within the PDF documentation - what I guess? Do I need a pointer to a mme_explore_hdl_t at all while using mme_explore_playlist_find_file()? Thanks a lot, Sebastian _______________________________________________ Development http://community.qnx.com/sf/go/post49571 Tue, 16 Mar 2010 14:33:47 GMT http://community.qnx.com/sf/go/post49607 Mate Szarvas 2010-03-16T14:33:47Z post49597: Re: mme.conf - parameter for notification interval http://community.qnx.com/sf/go/post49597 There isn¹t a configuration option so you need to use the API. Dan On 10-03-16 5:49 AM, "Sebastian Kiesel" &lt;community-noreply@qnx.com&gt; wrote: &gt; Hi all, &gt; &gt; is there an option within the mme.conf to set the notification interval or &gt; could this only be done using the api call mme_set_notification_interval()? &gt; &gt; Kind Regards, &gt; Sebastian &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post49573 &gt; &gt; -- Dan Cardamore &lt;dcardamore@qnx.com&gt; QNX Multimedia http://community.qnx.com/sf/projects/multimedia Tue, 16 Mar 2010 13:34:27 GMT http://community.qnx.com/sf/go/post49597 Dan Cardamore(deleted) 2010-03-16T13:34:27Z post49573: mme.conf - parameter for notification interval http://community.qnx.com/sf/go/post49573 Hi all, is there an option within the mme.conf to set the notification interval or could this only be done using the api call mme_set_notification_interval()? Kind Regards, Sebastian Tue, 16 Mar 2010 09:49:21 GMT http://community.qnx.com/sf/go/post49573 Sebastian Kiesel 2010-03-16T09:49:21Z post49571: [MME] Correct usage of mme_explore_playlist_find_file() http://community.qnx.com/sf/go/post49571 Hi all, the documentation in the header file is different from that in the pdf. API-Call from the Header file: const mme_explore_info_t *mme_explore_playlist_find_file(mme_hdl_t *hdl, uint64_t msid, const char *entry, const char *path, const char *metadata_types, uint32_t flags); Docu - Header file hdl:= Handle to the MME ... Docu - PDF hdl:= A handle to the MME returned by mme_explore_start() ... =&gt; mme_explore_start returns a pointer to a mme_explore_hdl_t More over in the PDF it is indicated that the result of mme_explore_playlist_find_file() - which is a mme_explore_info_t - has to be released using mme_explore_info_free(). =&gt; mme_explore_info_free() is also documented in in different ways: API-Call from the Header file: int mme_explore_info_free(mme_hdl_t *hdl, const mme_explore_info_t *info); Docu - Header file hdl:= Handle to the MME ... Docu - PDF hdl:= A handle to the MME returned by mme_explore_start() ... =&gt; mme_explore_start returns a pointer to a mmm_explore_hdl_t Is it only a copy and paste typo within the PDF documentation - what I guess? Do I need a pointer to a mme_explore_hdl_t at all while using mme_explore_playlist_find_file()? Thanks a lot, Sebastian Tue, 16 Mar 2010 09:16:40 GMT http://community.qnx.com/sf/go/post49571 Sebastian Kiesel 2010-03-16T09:16:40Z post49334: Exploring - Retrieving the filename http://community.qnx.com/sf/go/post49334 Hi all, includes the path within the struct mme_explore_info_t already the filename or not after calling mme_explore_info_get? Thanks, Sebastian Fri, 12 Mar 2010 07:41:35 GMT http://community.qnx.com/sf/go/post49334 Sebastian Kiesel 2010-03-12T07:41:35Z post49295: Re: MME Explorer API - mme_explore_position_set http://community.qnx.com/sf/go/post49295 &gt; What has to be defined by the parameter items within mme_explore_position_set &gt; before calling the api function mme_explorer_info_get? &gt; Should it be 1 all the time or the number of items read out using a bunch of &gt; mme_explorer_info_get calls afterwards? You should put the number of how many info_get() calls you will make. For example, if on your HMI you display 5 items (but plan on reading 10, say 5 extra to handle a page down) you should pass in items = 10. It is treated as a hint, it allows the MME to optimize things in some situations for better performance. Regards, Gilles Thu, 11 Mar 2010 15:40:56 GMT http://community.qnx.com/sf/go/post49295 Gilles Roy 2010-03-11T15:40:56Z post49280: MME Explorer API - mme_explore_position_set http://community.qnx.com/sf/go/post49280 Hi all, using the api call mme_explorer_info_get retrieves the information for one item per call if I understood the docum correctly. What has to be defined by the parameter items within mme_explore_position_set before calling the api function mme_explorer_info_get? Should it be 1 all the time or the number of items read out using a bunch of mme_explorer_info_get calls afterwards? Thanks a lot, Sebastian Thu, 11 Mar 2010 15:03:12 GMT http://community.qnx.com/sf/go/post49280 Sebastian Kiesel 2010-03-11T15:03:12Z post48753: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48753 &gt; I did try to build on the command line but it says the svn is not recognized. I don't use Windows, so I am only of limited help here. You might need to install SVN separately if it didn't come with the QNX host side tools. You could also use the IDE to check out the sources. Maybe post in a more general forum on the foundry (more users are monitoring so more chances of getting help), as this particular svn issue has nothing to do with Multimedia. Regards, Gillles Wed, 03 Mar 2010 20:51:58 GMT http://community.qnx.com/sf/go/post48753 Gilles Roy 2010-03-03T20:51:58Z post48732: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48732 Hi Giles I did try to build on the command line but it says the svn is not recognized. Regards, Seraph Wed, 03 Mar 2010 17:14:21 GMT http://community.qnx.com/sf/go/post48732 Seraph Varghese 2010-03-03T17:14:21Z post48697: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48697 &gt; I tried to build the MM suite on Windows as you suggested. For getting the &gt; source code, we need to use the svn command. I noticed that there are zip &gt; files on subversion for windows for the source code of the operating system. &gt; Are there zip files that contain the multimedia source code as well? No, I think you need to check it out with SVN. There is probably a way to use SVN with IDE as well to check out the source code. I actually build on the command line, and then export my build area and stage over CIFS/NFS. Then on the QNX target I mount this shared folder and run a script to set my environment (LD_LIBRARY_PATH and PATH) so that it uses those binaries. Then I have a script that starts all the multimedia binaries. Regards, Gilles Wed, 03 Mar 2010 13:48:13 GMT http://community.qnx.com/sf/go/post48697 Gilles Roy 2010-03-03T13:48:13Z post48692: Re: high-power USB device support http://community.qnx.com/sf/go/post48692 Might want to post this in the "BSP and drivers" project, you might get more USB experts monitoring that forum. Regards, Gilles Wed, 03 Mar 2010 13:28:45 GMT http://community.qnx.com/sf/go/post48692 Gilles Roy 2010-03-03T13:28:45Z post48691: Re: QDB - how to retrieve row number of result row! http://community.qnx.com/sf/go/post48691 Hi all, thank you very much for your answers. I created a new table without specifying a primary key, which results in the behavior to retrieve the database ROWID when i select the ROWID. Furthermore i created a unique index on one column to prevent adding the same id twice to the table. Cheers, Florian Wed, 03 Mar 2010 13:23:49 GMT http://community.qnx.com/sf/go/post48691 Florian Becher 2010-03-03T13:23:49Z post48666: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48666 Hi Giles I tried to build the MM suite on Windows as you suggested. For getting the source code, we need to use the svn command. I noticed that there are zip files on subversion for windows for the source code of the operating system. Are there zip files that contain the multimedia source code as well? Regards, Seraph Tue, 02 Mar 2010 21:46:45 GMT http://community.qnx.com/sf/go/post48666 Seraph Varghese 2010-03-02T21:46:45Z post48612: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48612 &gt; Are you suggesting to download the QNX momentics tool suite 6.4 for windows &gt; and build the MM suite on both windows and QNX...do all the coding there and &gt; setup a Neutrino OS viirtually where I would do the testing? If the IDE is important to you, you can do a "host" install on Windows (i.e. IDE and tools) and install only the QNX runtime on an x86 machine or in a virtual machine. Then you do all of your compilation/building on Windows. You don't build the MM suite on Neutrino at all, you just run/debug your binaries there. The IDE gives you can easy way to move over the binaries and to launch/debug binaries from the Windows host into the QNX target. Regards, Gilles Tue, 02 Mar 2010 14:40:18 GMT http://community.qnx.com/sf/go/post48612 Gilles Roy 2010-03-02T14:40:18Z post48597: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48597 Hi Giles Are you suggesting to download the QNX momentics tool suite 6.4 for windows and build the MM suite on both windows and QNX...do all the coding there and setup a Neutrino OS viirtually where I would do the testing? Regards, Seraph Tue, 02 Mar 2010 09:52:10 GMT http://community.qnx.com/sf/go/post48597 Seraph Varghese 2010-03-02T09:52:10Z post48591: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48591 A text editor would be sufficient. You can also also setup a "target" box with QNX 6.4 self hosted (for testing) but build and debug from a windows or linux machine (you need to install the QNX 6.4 tools on your host machine as well). This way you will have the IDE. Gilles Tue, 02 Mar 2010 01:28:04 GMT http://community.qnx.com/sf/go/post48591 Gilles Roy 2010-03-02T01:28:04Z post48571: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48571 Hi Dan Okay. I will download QNX 6.4. However, it would not have the IDE. Do u think the IDE would be important for the application I am designing or would a text editor be sufficient? Regards, Seraph Mon, 01 Mar 2010 21:44:47 GMT http://community.qnx.com/sf/go/post48571 Seraph Varghese 2010-03-01T21:44:47Z post48537: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48537 Hi Seraph, I recommend getting yourself a 6.4.1 license. Does this suit your needs? http://www.qnx.com/products/evaluation/non-commercial_developer.html Dan Mon, 01 Mar 2010 18:35:53 GMT http://community.qnx.com/sf/go/post48537 Dan Cardamore(deleted) 2010-03-01T18:35:53Z post48528: Re: Error "Maximum allowed filesystems with MME reached" http://community.qnx.com/sf/go/post48528 &gt; "Maximum allowed filesystems with MME reached!" Based on the mcd.cfg you posted, I suspect this is your software doing this, not QNX software. &gt; I can clearly see the 4th device being mounted. &gt; &gt; /dev/umass/usb07500t12.2 on /fs/usb2 type dos (fat32) &gt; /dev/umass/usb07500t12.1 on /fs/usb1 type dos (fat32) &gt; /dev/umass/usb07500t12 on /fs/usb0 type dos (fat32) &gt; /dev/umass/usb00600t11 on /mnt/umass00600t11 type dos (fat32) &gt; /dev/umass/usb07500t12.2 on /mnt/umass07500t12.2 type dos (fat32) &gt; /dev/umass/usb07500t12.1 on /mnt/umass07500t12.1 type dos (fat32) &gt; /dev/umass/usb07500t12 on /mnt/umass07500t12 type dos (fat32) Looks like the media launcher is mounting all of the devices, but some other piece of software (i.e. the one I suspect isn't QNX software) seems be creating symlinks from /mnt/umass* to /fs/usb*. However, for some reason it isn't creating the fourth symlink, only 3. I think you should track down which software is responsible for doing this and start the investigation there. Regards, Gilles Mon, 01 Mar 2010 16:33:35 GMT http://community.qnx.com/sf/go/post48528 Gilles Roy 2010-03-01T16:33:35Z post48439: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48439 In the General Multimedia forum group there is a thread started about building on 6.3.0. You should have a look, the title of the thread is "Multimedia Suite". Here is a link: http://community.qnx.com/sf/discussion/do/listPosts/projects.multimedia/discussion.general.topc12294 Regards, Gilles Fri, 26 Feb 2010 17:29:14 GMT http://community.qnx.com/sf/go/post48439 Gilles Roy 2010-02-26T17:29:14Z post48396: Re: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48396 Or would it be better to build the MM suite source code directly on to the QNX 6.3 RTOS? Fri, 26 Feb 2010 13:42:57 GMT http://community.qnx.com/sf/go/post48396 Seraph Varghese 2010-02-26T13:42:57Z post48264: Multimedia Streaming Application in QNX http://community.qnx.com/sf/go/post48264 Hi I have to build a multimedia streaming application (non-commercial) to run on QNX RTOS. Since, it wouldn't be feasible for us to get a commercial license for the MM Suite, we are planning to build it from the source code released on the community website. The problem is that to build the latest version from the source code, I need QNX 6.4 or greater, but QNX SDP 6.4.x for Neutrino Hosts does not have the IDE. The evaluation version does contain the IDE but is licensed for 30 days only. One of the options I was considering was to install the SDP for Windows Hosts (which contains the IDE), build the MM suite on windows and then transfer it to QNX 6.3. Is this possible? What is the best way to get around this problem? Thanks, Seraph Thu, 25 Feb 2010 12:29:00 GMT http://community.qnx.com/sf/go/post48264 Seraph Varghese 2010-02-25T12:29:00Z post48241: Re: Error "Maximum allowed filesystems with MME reached" http://community.qnx.com/sf/go/post48241 &gt; On Wed, 24 Feb 2010, Jasmine Fong wrote: &gt; &gt; What does your mcd.mnt file look like? All of the items that are &gt; mounted for you all seem to be coming from the first usb stick which &gt; has 3 partitions. If you insert them in the opposite order, do you get &gt; one item mounted and 3 that aren't? If I insert USB, then the three partitiioned USB I will see one USB and two of three partitions being mounted, shown below. # mount /dev/umass/usb06900t12.1 on /fs/usb2 type dos (fat32) ==&gt; partition 1 /dev/umass/usb06900t12 on /fs/usb1 type dos (fat32) ==&gt; partition 2 /dev/umass/usb05500t11 on /fs/usb0 type dos (fat32) ==&gt; another usb stick /dev/blk/usb-8-iui-2-media on /fs/ipod1 type ipod /dev/blk/usb-7-pfs-0-media on /fs/pfs1 type pfs /dev/blk/usb-6-pfs-0-media on /fs/pfs0 type pfs /dev/blk/usb-1-iui-2-media on /fs/ipod0 type ipod /dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp /dev/umass/usb06900t12.2 on /mnt/umass06900t12.2 type dos (fat32) ==&gt; This one didn't show up. /dev/umass/usb06900t12.1 on /mnt/umass06900t12.1 type dos (fat32) /dev/umass/usb06900t12 on /mnt/umass06900t12 type dos (fat32) /dev/umass/usb05500t11 on /mnt/umass05500t11 type dos (fat32) /dev/umass/usb06900t12.2 on /mnt/umass06900t12.2 type dos (fat32) ==&gt; This one didn't show up, it should have been /fs/usb3 You mean mcd.cfg? # USB MSC Devices [/fs/usb*] Callout = PATH_MEDIA_PROCMGR Argument = /proc/mount Priority = 11,10 Start Rule = SW_UPDATE Stop Rule = MMEMediumEjected [SW_UPDATE] Callout = FNAME_MATCH Argument = /CD_INFO.CDI Fail Rule = NAV_UPDATE Match Rule = NAV_UPDATE [NAV_UPDATE] Callout = FNAME_MATCH Argument = /config.nfm Fail Rule = GN_UPDATE Match Rule = GN_UPDATE [GN_UPDATE] Callout = FNAME_MATCH Argument = /gnupdate Fail Rule = MIXED_AV Match Rule = MIXED_AV [MIXED_AV] Callout = FNAME_PATTERN Argument = *.MP3,*.mp3,*.WMA,*.wma,*.AAC,*.aac,*.M4A,*.m4a Fail Rule = PICTURES Match Rule = PICTURES [PICTURES] Callout = FNAME_PATTERN Argument = *.JPG,*.jpg,*.JPEG,*.jpeg Fail Rule = MMEMediumInserted Match Rule = MMEMediumInserted [IPOD] Match Rule = MMEMediumInserted [PFS] Callout = FNAME_PATTERN Argument = *.MP3,*.mp3,*.WMA,*.wma,*.AAC,*.aac,*.M4A,*.m4a Match Rule = MMEMediumInserted Fail Rule = MMEMediumInserted [A2DP] Match Rule = MMEMediumInserted [MMEMediumInserted] &gt; I don't recognize the error message as the one you've listed and I just did &gt; a quick check and had 6 distinct usb keys found/mounted on my system. &gt; &gt; # qdbc -dmme "select msid,mountpath from mediastores" # qdbc -d mme "select msid,mountpath from mediastores" Rows: 8 Cols: 2 Names: +msid+mountpath+ 00000: |1|/fs/ipod0| 00001: |2|/fs/usb1| 00002: |3|/fs/usb2| 00003: |4|| 00004: |5|/fs/pfs0| 00005: |6|/fs/pfs1| 00006: |7|/fs/ipod1| 00007: |8|/fs/usb0| Wed, 24 Feb 2010 21:45:35 GMT http://community.qnx.com/sf/go/post48241 Jasmine Fong 2010-02-24T21:45:35Z post48217: Re: Error "Maximum allowed filesystems with MME reached" http://community.qnx.com/sf/go/post48217 On Wed, 24 Feb 2010, Jasmine Fong wrote: &gt;Date: Wed, 24 Feb 2010 12:14:11 -0500 (EST) &gt;From: Jasmine Fong &lt;community-noreply@qnx.com&gt; &gt;Reply-To: post48196@community.qnx.com &gt;To: development-multimedia &lt;post48196@community.qnx.com&gt; &gt;Subject: Error "Maximum allowed filesystems with MME reached" &gt; &gt; &gt; Currently, our mme only allows 3 USB devices to be shown. &gt; If I insert a fouth USB device, the error I get from screen is &gt; &gt; "Maximum allowed filesystems with MME reached!" &gt; &gt; And if I look under our mme fs perspective, there is no new mout point. However, the mediaLauncher is happy with the fouth device. If I type &gt; &gt; mount &gt; &gt; I can clearly see the 4th device being mounted. &gt; &gt; /dev/fs0p4 on /HBpersistence type flash &gt; /dev/umass/usb07500t12.2 on /fs/usb2 type dos (fat32) &gt; /dev/umass/usb07500t12.1 on /fs/usb1 type dos (fat32) &gt; /dev/umass/usb07500t12 on /fs/usb0 type dos (fat32) &gt; /dev/blk/usb-4-pfs-0-media on /fs/pfs0 type pfs &gt; /dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp &gt; /dev/umass/usb00600t11 on /mnt/umass00600t11 type dos (fat32) &gt; /dev/umass/usb07500t12.2 on /mnt/umass07500t12.2 type dos (fat32) &gt; /dev/umass/usb07500t12.1 on /mnt/umass07500t12.1 type dos (fat32) &gt; /dev/umass/usb07500t12 on /mnt/umass07500t12 type dos (fat32) What does your mcd.mnt file look like? All of the items that are mounted for you all seem to be coming from the first usb stick which has 3 partitions. If you insert them in the opposite order, do you get one item mounted and 3 that aren't? I don't recognize the error message as the one you've listed and I just did a quick check and had 6 distinct usb keys found/mounted on my system. # qdbc -dmme "select msid,mountpath from mediastores" Rows: 9 Cols: 2 Names: +msid+mountpath+ 00000: |1|/dev/snd| 00001: |2|/dev/socket| 00002: |3|/media/drive| 00003: |4|/fs/usb2| 00004: |5|/fs/usb1| 00005: |6|/fs/usb0| 00006: |7|/fs/usb3| 00007: |8|/fs/usb4| 00008: |9|/fs/usb5| # mount /net/EAc4dd91.ott.qnx.com/dev/hd0t179 on / type qnx6 /net/EAc4dd91.ott.qnx.com/dev/umass6t12 on /fs/usb5 type dos (fat32) /net/EAc4dd91.ott.qnx.com/dev/umass5t11 on /fs/usb4 type dos (fat32) /net/EAc4dd91.ott.qnx.com/dev/umass4t4 on /fs/usb3 type dos (fat32) /net/EAc4dd91.ott.qnx.com/dev/umass1t11 on /fs/usb2 type dos (fat32) /net/EAc4dd91.ott.qnx.com/dev/umass3t11 on /fs/usb1 type dos (fat32) /net/EAc4dd91.ott.qnx.com/dev/umass2t11 on /fs/usb0 type dos (fat32) /net/EAc4dd91.ott.qnx.com/dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp # qdbc -dmme "select * from slots" Rows: 20 Cols: 10 Names: +slotid+active+msid+multimsid+slottype+zoneid+max_lib_entries+delete_at_start+path+name+ 00000: |1|1|3|0|3|1|1000|0|/media/drive|HardDrive| 00001: |2|1|6|0|1|1|1000|0|/fs/usb0|USB| 00002: |3|1|5|0|1|1|1000|0|/fs/usb1|USB| 00003: |4|1|4|0|1|1|1000|0|/fs/usb2|USB| 00004: |5|1|7|0|1|1|1000|0|/fs/usb3|USB| 00005: |6|1|8|0|1|1|1000|0|/fs/usb4|USB| 00006: |7|1|9|0|1|1|1000|0|/fs/usb5|USB| 00007: |8|0|0|0|1|1|1000|0|/fs/usb6|USB| 00008: |9|0|0|0|1|1|1000|0|/fs/usb7|USB| 00013: |14|0|0|0|4|1|1000|0|/fs/ipod0|iPod| 00014: |15|0|0|0|4|1|1000|0|/fs/pfs0|PlaysForSure| 00018: |19|1|2|0|10|1|1000|0|/dev/socket|INTERNET| # Thanks, Peter Wed, 24 Feb 2010 18:58:24 GMT http://community.qnx.com/sf/go/post48217 Peter Martin(deleted) 2010-02-24T18:58:24Z post48196: Error "Maximum allowed filesystems with MME reached" http://community.qnx.com/sf/go/post48196 Currently, our mme only allows 3 USB devices to be shown. If I insert a fouth USB device, the error I get from screen is "Maximum allowed filesystems with MME reached!" And if I look under our mme fs perspective, there is no new mout point. However, the mediaLauncher is happy with the fouth device. If I type mount I can clearly see the 4th device being mounted. /dev/fs0p4 on /HBpersistence type flash /dev/umass/usb07500t12.2 on /fs/usb2 type dos (fat32) /dev/umass/usb07500t12.1 on /fs/usb1 type dos (fat32) /dev/umass/usb07500t12 on /fs/usb0 type dos (fat32) /dev/blk/usb-4-pfs-0-media on /fs/pfs0 type pfs /dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp /dev/umass/usb00600t11 on /mnt/umass00600t11 type dos (fat32) /dev/umass/usb07500t12.2 on /mnt/umass07500t12.2 type dos (fat32) /dev/umass/usb07500t12.1 on /mnt/umass07500t12.1 type dos (fat32) /dev/umass/usb07500t12 on /mnt/umass07500t12 type dos (fat32) Our slot table in mme library is shown as: # qdbc -d mme "select * from slots" Rows: 13 Cols: 10 Names: +slotid+active+msid+multimsid+slottype+zoneid+max_lib_entries+delete_at_start+path+name+ 00000: |1|1|2|0|1|1|0|0|/fs/usb0|USB 1| 00001: |2|1|1|0|1|1|0|0|/fs/usb1|USB 2| 00002: |3|1|3|0|1|1|0|0|/fs/usb2|USB 3| 00003: |4|0|0|0|1|1|0|0|/fs/usb3|USB 4| 00004: |5|0|0|0|1|1|0|0|/fs/usb4|USB 5| 00005: |6|0|0|0|1|1|0|0|/fs/usb5|USB 6| 00006: |7|0|0|0|1|1|0|0|/fs/usb6|USB 7| 00007: |8|0|0|0|1|1|0|0|/fs/usb7|USB 8| 00008: |9|0|0|0|4|1|0|0|/fs/ipod0|iPod 1| 00009: |10|0|0|0|4|1|0|0|/fs/ipod1|iPod 2| 00010: |11|1|4|0|4|1|0|0|/fs/pfs0|PFS 1| 00011: |12|0|0|0|4|1|0|0|/fs/pfs1|PFS 2| 00012: |13|0|0|0|4|1|0|0|/fs/avrcp0|Bluetooth 1| Any idea? Thanks! Wed, 24 Feb 2010 17:14:10 GMT http://community.qnx.com/sf/go/post48196 Jasmine Fong 2010-02-24T17:14:10Z post47611: Re: high-power USB device support http://community.qnx.com/sf/go/post47611 Yes, it is the same issue. The iPods and certain USB keys are only working after connected with a powered USB hub, otherwise just fail to be recognized by the usb driver. It is most likely an hardware issue and we wonder whether there is a way on software side can help to identify the problem. Now the problematic hardware is not available and will get more info once it is ready again, thanks. Regards, Chris Wed, 17 Feb 2010 21:58:23 GMT http://community.qnx.com/sf/go/post47611 Chris Li(deleted) 2010-02-17T21:58:23Z post47509: Re: high-power USB device support http://community.qnx.com/sf/go/post47509 &gt; The scenario is after connecting the usb key, the io-usb and &gt; umass driver couldn't recognize the device, hence could not mount the device &gt; as /fs/usb0 which readable by Aviage. Is this the same issue? The last post by Radek said the issue was with iPods. Does your USB key issue occur through a hub as well, or only when directly connected to the board? &gt; Jan 01 00:14:52 2 12 0 CLASS_EnumerateDevice: Get device descriptor &gt; failed 5 &gt; &gt; Not so sure what that means, especially for the error message of " &gt; CLASS_ExtractDevice: no parent", it happens all the time when connected the &gt; problematic device (It is 128 MB usb key). The message "no parent" is normal. The Get device descriptor failed 5 isn't. Can you slay and restart io-usb with more ehci verbosity? The slogs should then have more info. I think you need to do something like: io-usb -c -v -dehci pindex=0,verbose=5 &amp; Regards, Gilles Wed, 17 Feb 2010 14:38:35 GMT http://community.qnx.com/sf/go/post47509 Gilles Roy 2010-02-17T14:38:35Z post47467: Re: high-power USB device support http://community.qnx.com/sf/go/post47467 Hi Gilles, Just like to get some info about the meaning of some error messages related to the USB issue. The scenario is after connecting the usb key, the io-usb and umass driver couldn't recognize the device, hence could not mount the device as /fs/usb0 which readable by Aviage. No info came form usb -vvvvv as: # usb -vvvvv USB 0 (EHCI) v1.10, v1.01 DDK, v1.01 HCD Control, Interrupt, Bulk(SG), Isoch(Stream), Low speed, High speed From sloginfo, there are something prompted out as Time Sev Major Minor Args Jan 01 00:14:49 2 12 0 CLASS_ExtractDevice: no parent Jan 01 00:14:50 2 12 0 CLASS_EnumerateDevice: bus 0, parent 0, port 0, speed 2 Jan 01 00:14:50 2 12 0 CLASS_EnumerateDevice: Get device descriptor Jan 01 00:14:50 2 12 0 CLASS_EnumerateDevice: Get device descriptor failed 5 Jan 01 00:14:51 2 12 0 CLASS_EnumerateDevice: bus 0, parent 0, port 0, speed 2 Jan 01 00:14:51 2 12 0 CLASS_EnumerateDevice: Get device descriptor Jan 01 00:14:51 2 12 0 CLASS_EnumerateDevice: Get device descriptor failed 5 Jan 01 00:14:52 2 12 0 CLASS_EnumerateDevice: bus 0, parent 0, port 0, speed 2 Jan 01 00:14:52 2 12 0 CLASS_EnumerateDevice: Get device descriptor Jan 01 00:14:52 2 12 0 CLASS_EnumerateDevice: Get device descriptor failed 5 Not so sure what that means, especially for the error message of "CLASS_ExtractDevice: no parent", it happens all the time when connected the problematic device (It is 128 MB usb key). Regards, Chris Wed, 17 Feb 2010 01:07:58 GMT http://community.qnx.com/sf/go/post47467 Chris Li(deleted) 2010-02-17T01:07:58Z post47440: Re: high-power USB device support http://community.qnx.com/sf/go/post47440 &gt; Is there anything special we need to do to tell Aviage that the USB driver has &gt; 500mA available? The output of usb -v show this: Device Address : 2 Upstream Host Controller : 0 Upstream Device Address : 1 Upstream Port : 1 Upstream Port Speed : High Vendor : 0x05ac (Apple Inc.) Product : 0x1261 (iPod) Device Release : r0.01 Class : 0x00 (Independent per interface) Max PacketSize0 : 64 Configurations : 2 Configuration : 1 Attributes : 0xc0 (Self-powered) Max Power : 500 mA Configuration : 2 (iPod USB Interface) Attributes : 0xc0 (Self-powered) Max Power : 500 mA You can see for both configuration 1 and 2 it says max power 500 mA. This means as soon as the configuration is selected the iPod is allowed to draw the full 500 mA. Gilles Tue, 16 Feb 2010 18:33:00 GMT http://community.qnx.com/sf/go/post47440 Gilles Roy 2010-02-16T18:33:00Z post47374: Re: high-power USB device support http://community.qnx.com/sf/go/post47374 &gt; Is there anything special we need to do to tell Aviage that the USB driver has &gt; 500mA available? &gt; We currently have an issue that some iPods don't work unless plugged through a &gt; powered USB hub. Therefore the theory goes that the USB device is not being &gt; told that it can use 500mA (I think the host must tell the device this, &gt; otherwise the device will only draw less than 50mA??). Our hardware is &gt; capable of safely providing 500mA to a connected device. There are no special Aviage APIs for anything like this. I don't think there should be anything for you to do. Can you clarify in which way the iPods "don't work"? Once the configuration of the iPod gets selected the device is then allowed to draw up to its full reported power usage. Is the iPod displaying an error on the screen, or is it failing in some other way? Which iPods (touches, iPhones, nano, classic) don't work? Does the output of sloginfo show anything when this occurs? Thanks, Gilles Tue, 16 Feb 2010 14:24:32 GMT http://community.qnx.com/sf/go/post47374 Gilles Roy 2010-02-16T14:24:32Z post47331: high-power USB device support http://community.qnx.com/sf/go/post47331 Hi, Is there anything special we need to do to tell Aviage that the USB driver has 500mA available? We currently have an issue that some iPods don't work unless plugged through a powered USB hub. Therefore the theory goes that the USB device is not being told that it can use 500mA (I think the host must tell the device this, otherwise the device will only draw less than 50mA??). Our hardware is capable of safely providing 500mA to a connected device. Regards, Radek. Mon, 15 Feb 2010 23:39:35 GMT http://community.qnx.com/sf/go/post47331 Radek Pesina 2010-02-15T23:39:35Z post47227: Re: QDB - Precompiled vs. Not-Precompiled Database Queries http://community.qnx.com/sf/go/post47227 &gt; - How much faster is a precompiled database query? I think it depends a lot on the complexity of the query. I'm sure a prepared statement is always faster, however note that if you were just to run it once you would have to do multiple API calls, one to prepare it, one to execute it and one to free it. &gt; - How much memory does the QDB need to hold one precompiled query? It depends on the complexity of the statement. I think it can hold several kilobytes of memory for some statements. &gt; - What is the overall limit of precompiled queries? I don't think there is any limit above how much memory they would consume. &gt; - Would you recommend to free not reused precompiled database queries manually or not? In the MME, we create a wrapper function which we pass the prepared statement ID into. If there is no prepared statement for this ID, it goes ahead and creates one (it will be reused next time the same ID is passed in). If we don't need to hold on the ID, we pass in a special ID called FREE_AFTER_USE and the wrapper function frees the prepared statement once it has the result. In general, I'd say always use prepared statements. We use them for almost everything in the MME, even sometimes statements we execute only once. The main benefit is that it also prevents issues with strings not being escaped properly (i.e. when using normal statements you have to take care to use %q and %Q properly, in some cases a %s is a mistake). qdb_statement() is more useful if you are building dynamic statements that are always different and that you run frequently. In those cases you might not want the overhead of preparing/executing/freeing a normal prepared statement. Fri, 12 Feb 2010 15:53:07 GMT http://community.qnx.com/sf/go/post47227 Gilles Roy 2010-02-12T15:53:07Z post47218: QDB - Precompiled vs. Not-Precompiled Database Queries http://community.qnx.com/sf/go/post47218 Hi all, I have a few questions related to precompiled database queries. - How much faster is a precompiled database query? - How much memory does the QDB need to hold one precompiled query? - What is the overall limit of precompiled queries? - Would you recommend to free not reused precompiled database queries manually or not? Thanks a lot for answering. Kind Regards, Sebastian Fri, 12 Feb 2010 14:51:41 GMT http://community.qnx.com/sf/go/post47218 Sebastian Kiesel 2010-02-12T14:51:41Z post47182: Re: QNX Multimedia Streaming Application http://community.qnx.com/sf/go/post47182 Hi Dan Thanks a lot for your help Seraph On Tue, Feb 9, 2010 at 7:49 PM, Dan Cardamore &lt;community-noreply@qnx.com&gt;wrote: &gt; Hi Seraph, &gt; &gt; The MM suite can be downloaded from from the community site and can be used &gt; as a hobbyist. I recommend reading the license guide here: &gt; http://community.qnx.com/sf/projects/multimedia &gt; &gt; You can download the core and IPP packages from the community site and this &gt; can give you http playback of audio and video streams on intel. I'm not &gt; sure what platforms, codecs, and stream protocols you need to use. &gt; &gt; http://community.qnx.com/sf/frs/do/listReleases/projects.multimedia/frs.qnx_aviage_multimedia_core_1_1 &gt; &gt; http://community.qnx.com/sf/frs/do/listReleases/projects.multimedia/frs.qnx_aviage_multimedia_ipp_video &gt; &gt; In addition, you're welcome to build the latest version using the source &gt; guide: &gt; &gt; http://community.qnx.com/sf/wiki/do/viewPage/projects.multimedia/wiki/SourceGuide &gt; &gt; Dan &gt; &gt; &gt; On 2010-02-09, at 2:43 PM, Seraph Varghese wrote: &gt; &gt; &gt; Hi Dan &gt; &gt; &gt; &gt; Thanks for replying. Well, the application should be able to write, &gt; download and play a multimedia file from a remote server onto a local &gt; machine running the QNX real time &gt; &gt; operating system. I found out that the multimedia suite is only &gt; commercially available so I need the best alternative for building such an &gt; application &gt; &gt; &gt; &gt; Thanks, &gt; &gt; Seraph &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; &gt; &gt; Development &gt; &gt; http://community.qnx.com/sf/go/post46971 &gt; &gt; &gt; &gt; &gt; &gt; Dan Cardamore &gt; dcardamore@qnx.com &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post46974 &gt; &gt; Thu, 11 Feb 2010 22:10:20 GMT http://community.qnx.com/sf/go/post47182 Seraph Varghese 2010-02-11T22:10:20Z post46974: Re: QNX Multimedia Streaming Application http://community.qnx.com/sf/go/post46974 Hi Seraph, The MM suite can be downloaded from from the community site and can be used as a hobbyist. I recommend reading the license guide here: http://community.qnx.com/sf/projects/multimedia You can download the core and IPP packages from the community site and this can give you http playback of audio and video streams on intel. I'm not sure what platforms, codecs, and stream protocols you need to use. http://community.qnx.com/sf/frs/do/listReleases/projects.multimedia/frs.qnx_aviage_multimedia_core_1_1 http://community.qnx.com/sf/frs/do/listReleases/projects.multimedia/frs.qnx_aviage_multimedia_ipp_video In addition, you're welcome to build the latest version using the source guide: http://community.qnx.com/sf/wiki/do/viewPage/projects.multimedia/wiki/SourceGuide Dan On 2010-02-09, at 2:43 PM, Seraph Varghese wrote: &gt; Hi Dan &gt; &gt; Thanks for replying. Well, the application should be able to write, download and play a multimedia file from a remote server onto a local machine running the QNX real time &gt; operating system. I found out that the multimedia suite is only commercially available so I need the best alternative for building such an application &gt; &gt; Thanks, &gt; Seraph &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post46971 &gt; &gt; Dan Cardamore dcardamore@qnx.com Tue, 09 Feb 2010 19:49:45 GMT http://community.qnx.com/sf/go/post46974 Dan Cardamore(deleted) 2010-02-09T19:49:45Z post46971: Re: QNX Multimedia Streaming Application http://community.qnx.com/sf/go/post46971 Hi Dan Thanks for replying. Well, the application should be able to write, download and play a multimedia file from a remote server onto a local machine running the QNX real time operating system. I found out that the multimedia suite is only commercially available so I need the best alternative for building such an application Thanks, Seraph Tue, 09 Feb 2010 19:43:54 GMT http://community.qnx.com/sf/go/post46971 Seraph Varghese 2010-02-09T19:43:54Z post46964: Re: QNX Multimedia Streaming Application http://community.qnx.com/sf/go/post46964 Hi Seraph, What kinds of requirements do you have? One tricky thing we have to deal with is licensing which is why our solution is commercial only. Dan On 2010-02-09, at 1:59 PM, Seraph Varghese wrote: &gt; Hi Everyone &gt; &gt; I am an Engineering student building a QNX Multimedia Streaming Application as part of my final year project. Since the QNX Multimedia Suite is only commercially available, could anyone please advise me what the best alternative would be. &gt; &gt; Thanks, &gt; Seraph &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post46963 &gt; &gt; Dan Cardamore dcardamore@qnx.com Tue, 09 Feb 2010 19:01:17 GMT http://community.qnx.com/sf/go/post46964 Dan Cardamore(deleted) 2010-02-09T19:01:17Z post46963: QNX Multimedia Streaming Application http://community.qnx.com/sf/go/post46963 Hi Everyone I am an Engineering student building a QNX Multimedia Streaming Application as part of my final year project. Since the QNX Multimedia Suite is only commercially available, could anyone please advise me what the best alternative would be. Thanks, Seraph Tue, 09 Feb 2010 18:59:50 GMT http://community.qnx.com/sf/go/post46963 Seraph Varghese 2010-02-09T18:59:50Z post46894: Re: Definition of MME StorageType http://community.qnx.com/sf/go/post46894 On Tue, 9 Feb 2010, Sebastian Kiesel wrote: &gt; Hi all, &gt; &gt; is there a reason why the range within this definition is not continuous (see below)? &gt; &gt; Thanks, &gt; Sebastian &gt; &gt; /* Define storage types */ &gt; #define MME_STORAGETYPE_UNKNOWN (0) &gt; #define MME_STORAGETYPE_AUDIOCD (1) &gt; #define MME_STORAGETYPE_FS (2) &gt; #define MME_STORAGETYPE_DEVB MME_STORAGETYPE_FS &gt; #define MME_STORAGETYPE_DVDAUDIO (3) &gt; #define MME_STORAGETYPE_VCD (4) &gt; #define MME_STORAGETYPE_SVCD (5) &gt; #define MME_STORAGETYPE_DVDVIDEO (6) &gt; #define MME_STORAGETYPE_IPOD (8) &gt; #define MME_STORAGETYPE_KODAKCD (9) &gt; #define MME_STORAGETYPE_PICTURECD (10) &gt; #define MME_STORAGETYPE_A2DP (12) &gt; #define MME_STORAGETYPE_RESERVED0 (13) /* UPNP placeholder, moved to mediafs */ &gt; #define MME_STORAGETYPE_SMB MME_STORAGETYPE_FS &gt; #define MME_STORAGETYPE_FTP (15) &gt; #define MME_STORAGETYPE_HTTP (16) &gt; #define MME_STORAGETYPE_NAVIGATION (17) &gt; #define MME_STORAGETYPE_UPGRADE (18) &gt; #define MME_STORAGETYPE_PLAYSFORSURE (20) &gt; #define MME_STORAGETYPE_UPNP (21) &gt; #define MME_STORAGETYPE_INTERNETSTREAM (22) &gt; #define MME_STORAGETYPE_SND_INPUT (23) Removal of unclear place holders (7 was mediafs, 19 was mediafs_2wire) that didn't map to any one single type. I can't find reference to the missing type mapping to 11. Where at all possible older types (like SMB) were mapped to a new version if they were removed. Peter Tue, 09 Feb 2010 13:09:52 GMT http://community.qnx.com/sf/go/post46894 Peter Martin(deleted) 2010-02-09T13:09:52Z post46878: Definition of MME StorageType http://community.qnx.com/sf/go/post46878 Hi all, is there a reason why the range within this definition is not continuous (see below)? Thanks, Sebastian /* Define storage types */ #define MME_STORAGETYPE_UNKNOWN (0) #define MME_STORAGETYPE_AUDIOCD (1) #define MME_STORAGETYPE_FS (2) #define MME_STORAGETYPE_DEVB MME_STORAGETYPE_FS #define MME_STORAGETYPE_DVDAUDIO (3) #define MME_STORAGETYPE_VCD (4) #define MME_STORAGETYPE_SVCD (5) #define MME_STORAGETYPE_DVDVIDEO (6) #define MME_STORAGETYPE_IPOD (8) #define MME_STORAGETYPE_KODAKCD (9) #define MME_STORAGETYPE_PICTURECD (10) #define MME_STORAGETYPE_A2DP (12) #define MME_STORAGETYPE_RESERVED0 (13) /* UPNP placeholder, moved to mediafs */ #define MME_STORAGETYPE_SMB MME_STORAGETYPE_FS #define MME_STORAGETYPE_FTP (15) #define MME_STORAGETYPE_HTTP (16) #define MME_STORAGETYPE_NAVIGATION (17) #define MME_STORAGETYPE_UPGRADE (18) #define MME_STORAGETYPE_PLAYSFORSURE (20) #define MME_STORAGETYPE_UPNP (21) #define MME_STORAGETYPE_INTERNETSTREAM (22) #define MME_STORAGETYPE_SND_INPUT (23) Tue, 09 Feb 2010 09:13:21 GMT http://community.qnx.com/sf/go/post46878 Sebastian Kiesel 2010-02-09T09:13:21Z post46764: Re: QDB - how to retrieve row number of result row! http://community.qnx.com/sf/go/post46764 I think a better location to get this answer would be the sqlite.org forums. I think what you're looking for can't be done with sqlite the way it is now. Dan On 2010-02-05, at 2:35 AM, Florian Becher wrote: &gt; Hi Dan, &gt; &gt; thanks for your answer. Is there any chance to get this id, which is shown at a SELECT at the beginning of a row (0001,0002,...)? &gt; &gt; The background is, i SELECT over 3 tables and UNION them. Now i need an identifier which is increasing over all three SELECT statements, to be able to SELECT exactly one result of those 3 UNION SELECTS. Is there a way, to perform such a operation? &gt; &gt; Thanks in advance for your help, &gt; &gt; Florian &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post46621 &gt; &gt; Dan Cardamore dcardamore@qnx.com Mon, 08 Feb 2010 12:50:40 GMT http://community.qnx.com/sf/go/post46764 Dan Cardamore(deleted) 2010-02-08T12:50:40Z post46738: Re: QDB - how to retrieve row number of result row! http://community.qnx.com/sf/go/post46738 It sounds like you're just looking for the loop counter that qdbc prints when looping through the result rows. It's not a number that's stored in the database, or in the result. The code (in services/qdb/lib/qdb.c:qdb_printmsg()) is: 496 for (row = 0; row &lt; nrows; ++row) { 497 fprintf(fp, "%05d:\t", row); You cannot use that specific number to refer to a row in a table; you can use it to refer to an offset in a query (with something like the OFFSET keyword as Gilles mentioned), but that might not be what you want. (For example, if rows are added/changed/deleted that would modify your result set the offset into that result will change.) Mon, 08 Feb 2010 02:59:46 GMT http://community.qnx.com/sf/go/post46738 Ryan Allen(deleted) 2010-02-08T02:59:46Z post46737: Re: QDB - how to retrieve row number of result row! http://community.qnx.com/sf/go/post46737 &gt; thanks for your answer. Is there any chance to get this id, which is shown at &gt; a SELECT at the beginning of a row (0001,0002,...)? &gt; &gt; The background is, i SELECT over 3 tables and UNION them. Now i need an &gt; identifier which is increasing over all three SELECT statements, to be able to &gt; SELECT exactly one result of those 3 UNION SELECTS. Is there a way, to &gt; perform such a operation? Hi Florian, Say I wanted the 10th to 15th results from a union of other results. What I would try is: select id from (select ... union ... select ... etc) LIMIT 5 OFFSET 10; (fetch 5 results starting at offset 10) I'm not sure I fully understand what you need to accomplish, I hope this helps. Regards, Gilles Mon, 08 Feb 2010 02:46:58 GMT http://community.qnx.com/sf/go/post46737 Gilles Roy 2010-02-08T02:46:58Z post46621: Re: QDB - how to retrieve row number of result row! http://community.qnx.com/sf/go/post46621 Hi Dan, thanks for your answer. Is there any chance to get this id, which is shown at a SELECT at the beginning of a row (0001,0002,...)? The background is, i SELECT over 3 tables and UNION them. Now i need an identifier which is increasing over all three SELECT statements, to be able to SELECT exactly one result of those 3 UNION SELECTS. Is there a way, to perform such a operation? Thanks in advance for your help, Florian Fri, 05 Feb 2010 07:35:54 GMT http://community.qnx.com/sf/go/post46621 Florian Becher 2010-02-05T07:35:54Z post46592: Re: QDB - how to retrieve row number of result row! http://community.qnx.com/sf/go/post46592 Hi Florian, ROWID should work the same for QDB since it is just being passed back as part of the result as a column. I think ROWID is not the rowid of a result however, I think it is used as the primary key of the table. Dan On 2010-02-04, at 10:30 AM, Florian Becher wrote: &gt; Hi all, &gt; &gt; i am looking for an option to get the row number of a select or sub-selects. I found at the SQLite homepage, that "ROWID", "OID", or "_ROWID_" exists, but it doesn't work for QDB. &gt; &gt; Thanks a lot, &gt; &gt; Florian &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post46546 &gt; &gt; Dan Cardamore dcardamore@qnx.com Thu, 04 Feb 2010 20:30:00 GMT http://community.qnx.com/sf/go/post46592 Dan Cardamore(deleted) 2010-02-04T20:30:00Z post46546: QDB - how to retrieve row number of result row! http://community.qnx.com/sf/go/post46546 Hi all, i am looking for an option to get the row number of a select or sub-selects. I found at the SQLite homepage, that "ROWID", "OID", or "_ROWID_" exists, but it doesn't work for QDB. Thanks a lot, Florian Thu, 04 Feb 2010 15:30:42 GMT http://community.qnx.com/sf/go/post46546 Florian Becher 2010-02-04T15:30:42Z post46523: Re: MME Startup - Device Autodetection http://community.qnx.com/sf/go/post46523 &gt; if I understood the documentation correctly, I could disable the device &gt; autodetection by setting the parameter &lt;DeviceDetection&gt; within the mme.conf to 'false'. &gt; &gt; Nevertheless the MME still detects all the devices after setting it to 'false' &gt; . &gt; Is there any other parameter which has to be configured? No there should be no other configuration needed. If you start the mme-generic process with -vvvv you should see in the logs all of the configuration values it sets. Look for the DeviceDetection in those logs. Of note, the default start is commented out, so even if you change the enabled to "false" you still have to uncomment the xml element. &gt; Version: QNX Aviage Multimedia Suite 1.2 &gt; &gt; General Questions: &gt; - The autodetection has manally to be enabled only once during the startup? Yes, you call mme_start_device_detection() just once (normally after you have registered for events) &gt; - Is there another mechanism to prevent the loss of events from the type &gt; MME_EVENT_MS_STATECHANGE? The only other thing you could do is once you have connected to the MME and registered for events, you could look at the state of the mediastores table and update against what you thought your current state was. &gt; - Would you recommend to use/not to use the autodetection of the MME? &gt; - Could the client application already read information out of the table &gt; mediastores &gt; without getting a MME_EVENT_MS_STATECHANGE? I think the client application can do this. I suppose if your system is based on a state machine some might find it easier to delay device detection and process all of the events that come in when it is started? Nothing comes to mind that would *require* delayed device detection, all of the info is available in the mediastores table. Regards, Gilles &gt; Background: &gt; In some scenarios the MME could be started earlier than the component reading &gt; /handling the MME events. &gt; &gt; Thanks a lot, &gt; Sebastian &gt; Thu, 04 Feb 2010 13:31:47 GMT http://community.qnx.com/sf/go/post46523 Gilles Roy 2010-02-04T13:31:47Z post46521: MME Startup - Device Autodetection http://community.qnx.com/sf/go/post46521 Hi all, if I understood the documentation correctly, I could disable the device autodetection by setting the parameter &lt;DeviceDetection&gt; within the mme.conf to 'false'. Nevertheless the MME still detects all the devices after setting it to 'false'. Is there any other parameter which has to be configured? Version: QNX Aviage Multimedia Suite 1.2 General Questions: - The autodetection has manally to be enabled only once during the startup? - Is there another mechanism to prevent the loss of events from the type MME_EVENT_MS_STATECHANGE? - Would you recommend to use/not to use the autodetection of the MME? - Could the client application already read information out of the table mediastores without getting a MME_EVENT_MS_STATECHANGE? Background: In some scenarios the MME could be started earlier than the component reading/handling the MME events. Thanks a lot, Sebastian Thu, 04 Feb 2010 13:07:45 GMT http://community.qnx.com/sf/go/post46521 Sebastian Kiesel 2010-02-04T13:07:45Z post45931: Re: charset of mme and qdb http://community.qnx.com/sf/go/post45931 QDB is a 100% utf-8 interface. If content is placed in there that isn't UTF-8 then it is a bug in the client code that put it in there. In this example MME is the client application and it does convert different string encodings into UTF-8. All of the MME's interfaces including the explorer interface are UTF-8 also. Dan On 2010-01-26, at 7:40 AM, Michael Irsiegler wrote: &gt; Thank you for your response. I have another question though: &gt; &gt; Is it guaranteed that text objects in qdb are always in utf-8. For example the media storage device hosts mp3 files that have ID3 tags encoded in UTF-16 or any other charset, Is there a conversion done to utf-8 when the metadata is stored into the database, when the device is synced? &gt; &gt; Regards &gt; Mike &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post45916 &gt; &gt; Dan Cardamore dcardamore@qnx.com Tue, 26 Jan 2010 15:52:24 GMT http://community.qnx.com/sf/go/post45931 Dan Cardamore(deleted) 2010-01-26T15:52:24Z post45916: Re: charset of mme and qdb http://community.qnx.com/sf/go/post45916 Thank you for your response. I have another question though: Is it guaranteed that text objects in qdb are always in utf-8. For example the media storage device hosts mp3 files that have ID3 tags encoded in UTF-16 or any other charset, Is there a conversion done to utf-8 when the metadata is stored into the database, when the device is synced? Regards Mike Tue, 26 Jan 2010 12:40:13 GMT http://community.qnx.com/sf/go/post45916 Michael Irsiegler(deleted) 2010-01-26T12:40:13Z post45823: Re: charset of mme and qdb http://community.qnx.com/sf/go/post45823 All applications in QNX are using UTF8 (including mme). Using utf-16 would likely be a large undertaking. On 2010-01-22, at 8:20 AM, "Michael Irsiegler" &lt;community-noreply@qnx.com &gt; wrote: &gt; Hi all, &gt; &gt; I understood that qdb is using UTF-8 as default charset for string &gt; values. &gt; What charset is mme using internally and can the charset be changed? &gt; For example, if I wanted to use UTF-16 system wide as default charset? &gt; I see that the compile flag SQLITE_OMIT_UTF16 is activated in the &gt; sqlite_options.mk file. What does this mean in detail? &gt; &gt; Best regards &gt; Mike &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; Development &gt; http://community.qnx.com/sf/go/post45757 &gt; Sat, 23 Jan 2010 02:01:01 GMT http://community.qnx.com/sf/go/post45823 Dan Cardamore(deleted) 2010-01-23T02:01:01Z post45757: charset of mme and qdb http://community.qnx.com/sf/go/post45757 Hi all, I understood that qdb is using UTF-8 as default charset for string values. What charset is mme using internally and can the charset be changed? For example, if I wanted to use UTF-16 system wide as default charset? I see that the compile flag SQLITE_OMIT_UTF16 is activated in the sqlite_options.mk file. What does this mean in detail? Best regards Mike Fri, 22 Jan 2010 13:13:59 GMT http://community.qnx.com/sf/go/post45757 Michael Irsiegler(deleted) 2010-01-22T13:13:59Z