Unable to video file to the SD card by using the data source and SourceStream stream

I see this in the debug output:

SMPones acquired session id = 1799
MN: init0 (0) = 0
MN: charge 0
MN: seekComplete0 (0) = 0
MN: seekComplete0 (0) = 0
AUDIOMANAGER: IOException
MN: unload0 (0) = 2 pauseHandle = 7fffffff
Streaming is reason = 1 prev - state = 300

Even the files read in the native multimedia player on the Simulator fine. One is a .mp4, the other is a .3gp.

I use content types "video/mp4" and "video/3gpp".

I have the SourceStream returns-1 for the two getTransferSize() and getContentLength() to indicate the size is unknown. My hypothesis is that it should always work. They must be non-negative and non-zero in order to work properly?

I use the 4.6.0.190 simulator. We observed the same behavior on the device (4.6.0.266).

Thanks for the comments. It turned out to be the function seek() requiring a good implementation. The getContentLength() on the return of-1, but for the office seek() I ended up closing the input stream, works by opening and then calling Another to get to the desired position.

Tags: BlackBerry Developers

Similar Questions

  • Reading several files / locate the data source during execution

    Hi all

    I have a requirement of the company in which I need to read files to different folders. This system is not hosting the ODI agent. There are two folders, the folder A and folder b. Two records may have any number of files. My intention is to read the files in a folder and write the data to a table in a database that resides in another system. This forms a flow for me. For the B folder, I have a similar flow. All files (in the folder A and folder B) have the same structure. The requirement is to read A book during the week and the B folder on the weekend. The system that has the database also runs the ODI agent.

    Here are my questions:

    1. How can I read several files one by one in a folder? Because the read files must be archived, they need to be written in a different folder, file C (for example). How do you archive part? Please note that this machine does not run ODI agent (network share could be an option, but we try to avoid it.

    2. can I have only an interface to read files in folder A and folder B? Everything else remains the same (the processing logic/transformations etc.). Indeed, is there a way to dynamically switch between two files (using a variable, perhaps).

    I've not worked with files and so any help is greatly appreciated.

    Edited by: Sankash 7 May 2009 08:24

    Hi Sankash,

    Hopefully I can help you achieve this task.

    Please go through this link

    Re: import files in a table

    1. you can update the status of the process of the files in a journal/temp table.
    Based on the State of the (transformed) file in the table, you can check the files that has completed its process correctly.

    machine does not run ODI agent:-J' have it is implemented the same type of scenario, in which I am downlading all the files in a common location and treat it from there.

    2. one of the solutions is that: -.

    create two interface with the same structure, but the source table must point to the folder A and B
    Create a variable (week/check) and based on the value, you can call the interfaces.

    second option: -.

    If you're downlaoding the files in a common location, you can reach the spot through a single interface (down load files from folder A or B according to in week/weelend)

    3. If all the files have the same structure, you need only a data store and it should be a variable data store.

    If something is not not clear please me ping / mail to my id (good that now I don't get enough time to go through the forum discussions)

    Also if you need I can send you a diagram wokflow for this loop (read multiple files one by one in a folder)

    Kind regards
    Pascale of M

  • Delete zero of the rows from the data source target

    Hi all

    We have an ODI interface that loads data directly on a DB2/400 data source into an Essbase cube. The routine uses a SQL Server staging area. We are summarizing the source data and transforming before members of the load in Essbase. It is version 10.1.3.5.5 ODI.

    We would like to remove the zero lines created after the sum. Is it possible to do so within the same interface? We understood that we could accomplish this by dividing the interface into 2 parts: 1) load the source data in the staging area and 2) load data from the staging area into the target. We wonder if we can take advantage of the existing interface and somehow add a filter to the target data source.

    Thanks for your help,
    O

    "I pull out the filter on a column in the data source and then put the content of the declarations AMOUNT and CASE in there?"-Yes. Deepak may be just fine. Is it JDE G/L, a/c balance treatment?

  • The Vixia HF G30 allows a direct copy of video files from an SD card on an external USB hard disk

    I am considering buying a G30 and need to know if she will allow a direct copy of video files from an SD card on an external USB hard drive.  The manual is not clear on this point.

    Not to my knowledge (I own a G30 HF).  There is no present on-the-go USB functionality.

    Personally, I do not miss such a feature, because it causes all kinds of compatibility problems, especially with regard to the power of external USB hard drives. In addition, without any file manager, backup of your video files into a nightmare. I must admit that I am rather Cannon after not on an often incomplete function development budget and have it spent instead on the main features of the camera, such as optics. Of course, this is just my very subjective opinion, and other HF G30 clients may have different opinions on this.

    In order to back up my video files on the fly and without having to carry a laptop, I recently bought a made by Hanso Hyperdrive colorspace UDMA2 and installed a 1 TB in her drive. When on the ground and after having taken my shots I just pop in my inside SD cards and the device of copies on the video files to 17Mbyte per second. At home, I plug in the UDMA2 in my Linux video workstation using a regular USB cable and pull the video from the mobile disk. The UDMA2 also did incremental backups and comes with a basic file manager. While it has a color screen, it can't play back video. It is a video and photo backup dedicated device, nothing more. But it does a decent job on exactly that.

  • I can't import any type of video file in the sequence, it represents imports video and audio. Please help me I am unable to work and I have clients waiting!

    I can't import any type of video file in the sequence, it represents imports video and audio. Please help me I am unable to work and I have clients waiting!

    Wild guess: I forgot to patch source the video track.

  • I can view is no longer the video files to the format AVCHD using Windows Media Player on my desktop

    I can view is no longer the video files to the format AVCHD using Windows Media Player on my desktop.

    I could at some point... but now all I get is audio, no video.  The files open and work on

    my laptop that also uses Windows Media Player... but for some reason now... nadda.  Seemed

    This all started when I upgraded Windows more late service CAP and also installed Real Player.

    Help!

    Hello

    • What version of Windows are you using?

    1. it is possible that you are missing the codec to play the file or it is clashing with other codec files.

    2. the link provided below lists supported by Windows Media Player file format.
    It does not list the AVCHD or. MTS files supported file format directly:
    http://support.Microsoft.com/kb/316992

    3. yet we cannot be sure at this point that the issue is due to interference with some files.

    Method 1:
    Alternatively, you can perform a restore of the system to a previous point, when the issue was not present. The System Restore tool uses points of restore to return the system files and settings to an earlier point in time. You can use it to restore the operating system to a point in time where you have not experienced the problem.

    Note: When you use System restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    To do this, there must be a restore point from the system in which the connection was successful.

    Please refer to the below of the help links on performing a system restore.
    http://Windows.Microsoft.com/en-us/Windows7/what-is-system-restore
    http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions

    Method 2:
    You can determine which codec was used with a specific file; read the file in the player, if possible. When the file is playing, right-click the file in the library, and then click Properties. On thefile tab, look at the Audio codec and Video codec sections.

    Then you can uninstall any installed codec and install that you need to do the job file.

    If you have several codec for the single file to work they can clash and cause problems.


    You can check the link for assistance on the issue - below

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

  • How can I transfer video files to the library in windows media player for an external hard drive

    How can I transfer video files to the library in windows media player for an external hard drive. My os is Windows XP Home Edition and I use wmp 11.

    You have to locate the files on your internal hard drive, using the Explorer, then drag and drop them on the hard drive.  If you don't know where they are on your hard drive, right click on the video file in the library and choose the location of the opened file.

  • How to play video files with the extension "rar".

    When I download video files with the extension 'rar', I can't play them with Windows Media Player or QuickTime.

    Could someone please advise what I can do to fix this problem?

    Thank you

    Rar is a compressed, identical to zip file. You must decompress, using an application like winzip or winrar, then according to what file type it is you should be able to play. If you cannot, you will find the codec that makes the Elf, install it, and then everything should be fine, but if you have problems, go back with the extension on the end of the file, as you have with the .rar and ask again.

  • Is there a way for the secret video files to the sansa fuze using QUICK MEDIA CONVERTER?

    Is there a way for the secret video files to the sansa fuze using QUICK MEDIA CONVERTER?

    Not really. The way final only ot add videos on the "rocket" is SMC. Rhapsody will do this also, but I don't know that its faster.

  • Hi, my video files of the ICC will not download to my Sony digital camera, can you help me? Download very good images.

    Hi, my video files of the ICC will not download to my Sony digital camera, can you help me?  Download very good images.

    It is perhaps strange, but the video files created by your
    Sony Cybershot DSC - TX7 would be in MTS format...
    (also referred to as AVCHD).

    You can download a video cllp example of the
    next page:

    Sony Cybershot DSC - TX7 samples
    http://www.steves-digicams.com/camera-reviews/Sony/DSC-TX7/sample-photos-85.html
    (the video is the last at the bottom of the page)

  • Can I integrate a video file in the psd and then send the psd to a person without the original video file included?

    I want to send the client just the DSP with integrated video, but it seems that I have to send the original video file as well. Is anyway not to do this? Should not include just put the video file inside the psd so we have bind the original file again? THX!

    Video layers seem to have included the link to the original video file.   I tried to get around this.  I copied a video file on my desktop. Then I have a new opening document 1920x1080px.  I then used the menu file > Place incorporated.  And placed in the video that I copied on my desk. I created a timeline of the video and was able to play the video.  I then save a PSD and close the open document. Then I deleted the video file on my desktop. Then I opened the PSD registered.  There seems to be a link... And the PSD file is small compared to the video file.

  • Unable to sync files because the file name?

    HI, I keep getting the message:

    "Unable to sync 'file name' because the file name is not valid. the characters |, ',?, <>, /,-, *, and: cannot be used in file names. "

    But I don't have any of these characters in the files that I am trying to sync.

    Help?

    Hi Mwolda333,

    Please see the links below for help:

    Error: "unable to sync files" in the cloud of Adobe Creative

    Unable to synchronize because the server error

    Hope this helps!

  • prices mp4 wemb of video files, that the TWO needed for a video work in the MUSE?

    prices mp4 wemb of video files, that the TWO needed for a video work in the MUSE?

    Hi TheArthur,

    Now a version more recent days of all browsers support format video mp4 but some older versions of browsers still need to format to play webm video.

    HTML5 video

    So if your analysis says that none of the visitors to your site use these older browsers, so you can skip webm file but where there are users of the site who use the old version of browsers that do not support mp4 then it is advisable to use webm and mp4 videos.

    Concerning

    Vivek

  • When you open a new session and after a decline in all the video files in the content area (the sound and the video is very good). After you have chosen a selection of clip the first clip that I post on the time line is equipped with sound. then the next

    When you open a new session and after a decline in all the video files in the content area (the sound and the video is very good). After choosing a selection of clip, the first clip that I post on the time line is equipped with sound. then the next clip, I chose (not dose issue)
    will have no sound. (but in the contact box everything its fine) Why is this?

    Why is this?

    Because you forgot to patch source audio track.

  • How to export a video file of the pdf presentation?

    I have the PDF presentation, when I open it, in the 1st video of slide set. How can I export this video file in the video?

    You should contact the creator of the file and ask for the original video. People tend to integrate things into PDFs to stop during the extraction, so we are not about to help someone get around that.

Maybe you are looking for