Video not visible

Hi all

Here is my code for streaming video. I can hear the sound but can't see the video. not able to understand the problem... Please help me

Feature: 9550

OS: 7

String url = "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov;deviceside=true;interface=wifi";
                Player player;
                try {
                    player = javax.microedition.media.Manager.createPlayer(url);
                    player.realize();

                    VolumeControl vc = (VolumeControl) player
                            .getControl("VolumeControl");
                    if (vc != null) {
                        vc.setLevel(100);
                    }

                    player.start();
                } catch (Exception e) {
                    Dialog.inform(e.toString());
                    e.printStackTrace();
                }

Even I tried this code. This code works fine in the Simulator. I can see video also. But I hear on the phone, just audio and video is not visible at all

player = Manager.createPlayer("file:///SDCard/Coldplay.3gp");
            player.realize();

            if ((vc = (VideoControl) player.getControl("VideoControl")) != null) {

                vc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, canvas);

                vc.setDisplayLocation(15, 15);

                vc.setDisplaySize(200, 200);

                vc.setVisible(true);
player.start();

Screenshot (Simulator)

Thank you

Adkins

Thank you for your help BVP!

I solved it by using the following method

Field videoView= (Field) vc.initDisplayMode(
                        VideoControl.USE_GUI_PRIMITIVE,
                        "net.rim.device.api.ui.Field");

vc.setDisplayFullScreen(true);

vc.setVisible(true);

add(videoView);

Tags: BlackBerry Developers

Similar Questions

  • I have synced clips successful but video and audio are not visible until it is developed to the timeline. Returned results completely black film without sound. Any tips?

    I have synced clips successful but video and audio are not visible until it is developed to the timeline. Returned results completely black film without sound. Any tips?

    Please give as much information as possible on your support. The video and audio works in QuickTime player? What are the specifications of media?

  • Insertion of the stills of DSLR in a mainly video project puts the stills in the video area leaving the video still visible on each side in the background - hints on how to fill the frame completely?

    Inserting still images on a mainly video project causes the video still visible to the left and to the right in the background. What I am doing wrong?

    iansilver

    What version of Premiere Elements and what operating system is involved?

    Can I assume that the stills are on Video 2 video 1 video above?

    If this is the case, place the indicator of the timeline on the still, click on the still image in the editing area monitor to display the bounding box of the image.

    Then use one of the handles of the bounding box to scale the image to fill the monitor space just at the point where the image below is not seen.

    What is your predefined project?

    What are the properties of your source media? And, did you, yourself or the project define the project preset to match the properties of the media source?

    What are the dimensions in pixels of these photos that you import into the project?

    What effect you are trying to create with these stills? Just in case message... the content on the top rail will be visible and content on a lower rail just below it will not be unless there are areas of transparency within the content of the upper track. If there are areas of transparency within the content of the upper track, then the lower content of track appear across these areas. Looks like what happens for you. In addition, Premiere Elements represents transparency as black, not black.

    Please review and study and explain what your goal edition is here. For questions about the questions or the comments above, feel free to ask.

    Thank you.

    RTA

  • Why my lines are not visible?

    I went through the steps to create a path, but the path is not visible to change. Is there a setting that needs to be adjusted?

    Hello

    If you were able to create the trajectory successfully so you can make the path by selecting the element (which you had chosen to apply the path) on the stage. If she shows any path check if any transition is created in the timeline of this element or not as it should be there.

    Please look at the screenshot below.

    If the transition and trajectory are not there, it means you missed one step.

    You can check the video below to make sure you do it right. If this isn't the case, please let me know we'll get more opportunities.

    Animated border CC: trajectories - YouTube

    Concerning

    Vivek

  • Fluidity in the mode of the image is not visible in the magnification of 100% and above.

    Fluidity in the mode of the image is not visible in the magnification of 100% and above.
    It is perfect between 25% and 66%. If I disable hardware acceleration, it works but slow. Does not work with the PSD, jpeg, 8 or 16-bit. I have reset the PS. He had worked in the morning and stopped work hours despite nothing happened: I have no install or remove any software. My PS is clean, I do not use any add-on or 3rd party filter.


    All tips are appreciated.

    Thank you
    Gabor

    2009 end iMac i7 16 GB of ram, ATI Radeon HD 4850, OSX 10.8.3

    https://www.dropbox.com/sh/zy5gqaj0nrpr2yz/ZxgT4DBKQx

    A Mac video card with 512 MB of vram is marginal. A 256 MB card enable GPU mode to liquefy to work at all, even on the small images. The smaller image work about only works in CPU mode, make a smaller selection just the part of the image you want to distort and then start fluidity in CPU mode using the down option. It will be slow but should work. Get a stronger video card (more vram) would be the best solution.

  • EL CAPITAN - when in safari Apple toolbar is not visible

    I tried this and do not find any answer to El Capitan and NOT the FULLSCREEN MODE. When I open safari, NOT full-screen, the Apple toolbar is not visible (the one with wi - fi, Apple, file edit, history etc.). The only thing visible is the bar with red, yellow and green circles. If I click on the safari window in another program, it comes back.

    Most solutions speak to exit full screen, but I'm not in full screen - I have several open small windows (safari, word, etc.) which are all on the desktop at the same time.

    I spent hours looking for this. One solution was to repair permissions, but has no El Capitan - it is built in.

    If anyone has a solution for El Capitan, I would be very grateful.

    Try a reboot.

    Make a backup using Time Machine or a cloning program, to ensure that data files can be recovered. Two backups are better than one.

    Try to set up another admin user account to see if the same problem persists. If back to my Mac is enabled in the Preferenes system, the guest account will not work. The intention is to see if it is specific to an account or a system wide problem. This account can be deleted later.

    Isolate a problem by using a different user account

    If the problem is still there, try to start safe mode using your usual account.  Disconnect all devices except those necessary for the test. Shut down the computer and then put it up after a 10 second wait. Immediately after hearing the startup chime, hold down the SHIFT key and continue to hold it until the gray Apple icon and a progress bar appear. Startup is considerably slower than normal. This will reset some caches, forces a check for directory and disables all start-up and connection, among other things. When you restart normally, the initial restart may be slower than normal. If the system is operating normally, there may be 3rd party applications that pose a problem. Try to delete/disable the third-party applications after a reboot using the United Nations to the Installer application or instructions to uninstall using the developer. For each disable/remove, you need to restart if you do them all at once.

    Safe mode - on El Capitan

    Start Mode without failure-El Capitan.

    If it works in safe mode, try to run this program when it is started normally, copy and paste the result in a response. The program was created by Etresoft, a regular contributor.  Use please copy and paste the screenshots can be difficult to read. On the screen with the Options, please open Options and tick the boxes in the bottom 2 before the race. Click on the button "Report share" in the toolbar, select "Copy to Clipboard" and then paste into a response. This will show what is running on your computer. No personal information is shown.

    Etrecheck - Information System

  • iPad not visible

    Updated to the latest version of iTunes (12.5.1.21) today on Windows 10.

    Now my iPad Air is not visible at all in iTunes when the connected usb cable.

    He was previously.

    Cannot sync anything.

    BTW: Win 10 now showed "Phone Companion" by default whenever I connect the usb ipad. It was not before. She did this if iTunes is open or not.

    That's happened?

    The iPad is on IOS 10.0.1 (an another recent update)

    Add above: I noticed that Hello has been disabled. Set it to automatic and started it - but that made no difference.

  • Books in iBooks not visible in iTunes

    This problem appeared in the Yosemite and persists at El Capitan.  He is still rampant in iTunes 12.5.1.21 that just came out (September 2016).

    The books in my library iBooks may be assigned to my iDevices via iTunes.  When I boot my Mac, launch iTunes, select a device (for example, iPad) and click on books in the sidebar, I see all the books in my library, iBooks.

    However, if I close iTunes and then reopen it again books are not visible.

    It is repeatable.

    Hello Bernard,.

    Looks like your iBooks library seems to be disappearing from iTunes when you close and re open the app and it has happened for a long time. First, he need to know if this is happening to another user on your computer. Use this article to test this possibility and let us know how it works in another user:

    OS X El Capitan: set up users on your Mac.

      • Choose the Apple menu > System Preferences, and then click users and groups.

      • Click on the lock icon to unlock, then enter an administrator name and password.

      • Click on the button Add below the list of users.

      • On the pop-up menu click new account, and then choose a user type.

        • Administrator: An administrator can add and manage other users, install applications, and change the settings. The new user that you create when you set up your Mac is an administrator. Your Mac can have multiple administrators. You can create new ones and convert standard users to administrators. Don't set up the automatic connection to an administrator. If you do, someone could simply restart your Mac and access with administrator privileges. To secure your Mac, don't share administrator names and passwords.

      • Enter a display name for the new user. An account name is automatically generated. To use a different account name, enter it now, you can't change it later.

      • Enter a password for the user, and then enter again to verify. Using an index of password is recommended to help the user remember the password.

      • Click on create user.

    You may need to copy some of the books to the new user using iCloud drive or download your past buys iBook for testing purposes. For more information, see the following articles:

    iBooks for Mac: import books or PDF documents

    Download your latest purchases

    Sincerely.

  • How can I just disable logging in El Capitan? It is not visible in the disk utility by pressing alt and file!

    How can I just disable logging in El Capitan? It is not visible in the disk utility when you press alt and file!

    Mac OS X: about the logging of system - Apple Support files

    Hope this helps, good luck to you.

  • Safari and Firefox needs ways to hide the tab bar, bar Favorites (bookmarks), so that they are not visible to others your screen, or on the full screen captures.

    Safari and Firefox needs ways to enable/disable/hide (the menu and via shortcuts) tabs, Favorites (bookmarks) bar, (and bar address [which do not have Safari]), so that they are visible to a person who you show your screen not visible on just one full screen. Yes, you can expose a screenshot that excludes one or more of these bars, but it is a nuisance to have to do, and in any case, that still leaves the problem of the bars being visible to other people who show you your screen.

    The extension does not hide the toolbars?

    On Mac in mode full screen isn't really full screen and don't cache not toolbars like on Windows and Linux.

    There are extensions to hide specific toolbars if you can't do via "view > toolbars".

  • E-mail is not visible but can be opened

    Hello

    I have an e-mail account that somehow continues to receive email, but email is not visible in the list (see table).

    If I click on the email address, it will be displayed in the preview.

    Other mailboxes works perfectly well.

    I would try to repair the file.
    Right-click on the folder and select Properties. Then the Repair folder.

    On rare occasions, this can cause a loss message. Now would be a good time to make a backup, or at least to pass messages that you absolutely must keep in a different folder. Keep the Inbox, small and for incoming mail is a good practice anyway. You should always have other folders to sort the email of "Keeper" in and move them out of the Inbox.

    Good article on maintenance of the record.
    http://KB.mozillazine.org/Keep_it_working_-_Thunderbird

  • WebEx not visible in every night but active in Firefox addon

    I like to use every night with the add-on of Webex (general plugin, ActiveATouch container) but it is not visible in the tab Extensions or modules. I also have Firefox ESR 38.3 and it the add-on is visible and active and works as expected.
    Sometimes I need to open the pages using IE ad - the but no provision does not work with every night.
    How can I make / them available in every night?

    You are using a Nightly 64 bit version?

    The 64-bit version does not support the version of the Flash plugin.
    You can use the 32-bit version of support for other plugins.

    • Bug 1165981 - Whitelist Flash for NPAPI on 64-bit Firefox on Win64

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • My Hotspot is not visible in the settings

    I update my iPhone to iOS 9.3 6s my hotspot is not visible in the parameter I update my iPhone of many other iOS version 9.3.1 to 9.3.3 and 9.3.4 9.3.2,and need help.

    Hello

    To configure Personal Hotspot, follow the instructions here:

    To help to solve problems with your hotspot, follow the steps detailed here:

  • Report not visible in the address bar icon have installed the latest version, works with Safari.

    Icon not visible in the browser bar Firefox 40.0 report. Report of uninstalled, installed report 3.6.1507.14; restart the Mac under OS X 10.10.4 Yosemite. Still no report icon. Report NB icon present in Safari 8.0.7 and extras Menu.

    I'm not entirely sure about the feature you request on the subject, but here's what I could find:

  • Personal folders not visible in Thunderbirds after the migration to the new computer

    I moved my computer to a new Thunderbird profile (and edited profiles.ini to point to the saved profile. Now, in Thunderbird on the new machine, I have the records box receipt, feels Local, Trash, but file folders with my registered and categorized mail subfolders is not visible in the left panel. It seems to be intact in the Mail/Local folders/Personal Folders.sbd/Archives.sbd folder, simply not visible when I run Thunderbird.

    What should I do to get these folders and their subfolders again.

    ... Doug

    You store the mail belonging to "a folder for each email account" in the profile?

    In other words, have you changed the "Local Directory" setting for these accounts?

Maybe you are looking for