SeN
13th November 2010, 10:22
Hi - I'm working on a Qt application for symbian, Qt 4.6.3 and Qt mobility 1.0.2.
My application will play a video using QMediaPlayer and QVideoWidget classes. I'd like the video file to be embedded in the application, not to be stored somewhere else in the phone memory or on a remote server. The video file isabout 10Mb mp4 file. So I'm trying to add the video to a .qrc file, but as soon as I add it to the .qrc file, I'm getting build errors like:
- out of memory allocating 65536 bytes
or, if I add a smaller .mp4 file
- error: section .data [00400000 -> 00400003] overlaps section .rodata [00012180 -> 007bd5c3]
I'm assuming I'm getting the errors due to the size of my mp4 file ... Is there a limitation for the size of the files? Also, I couldn't find information about what other video formats are supported by QMediaPlayer to play videos.
Thanks!
My application will play a video using QMediaPlayer and QVideoWidget classes. I'd like the video file to be embedded in the application, not to be stored somewhere else in the phone memory or on a remote server. The video file isabout 10Mb mp4 file. So I'm trying to add the video to a .qrc file, but as soon as I add it to the .qrc file, I'm getting build errors like:
- out of memory allocating 65536 bytes
or, if I add a smaller .mp4 file
- error: section .data [00400000 -> 00400003] overlaps section .rodata [00012180 -> 007bd5c3]
I'm assuming I'm getting the errors due to the size of my mp4 file ... Is there a limitation for the size of the files? Also, I couldn't find information about what other video formats are supported by QMediaPlayer to play videos.
Thanks!