Android :: Stagefright Mediaextractor - How To Detect Interlaced Streams In Video Files
Sep 7, 2010
Is it possible to detect scan type (progressive or interlaced) of a video file in stagefright?
I see below listed fields are query-able with metadata of file through stagefright, but not scan-type which i guess is avaiable in MP4 file header. Any hint on how to detect scan-type of video file at Stagefright player driver? Or is it available in opencore?
CODE:.............................
View 3 Replies
Oct 10, 2013
I just switched from WebOS so I'm quite a noob to Android. Anyways, I bought a new Samsung Galaxy Nexus with Android 4.4.
Now to my issue: I like to watch video streams. The problem is, that the display will turn automatically off.
Solutions:
1. Play a stream with a video player - how can I do this?
2. Change settings so the display will not switch off on a stream, but will turn off when idle - is this even possible?
3. Turn off "turn off display when idle" setting - but I don't like this one.
View 4 Replies
View Related
Jul 10, 2010
In my application, RTSP streams play only sound without video, but if i specify the video path as a local file, it plays the video and audio.
How would i get the RTSP streams to show video?
CODE:.................
View 2 Replies
View Related
May 6, 2009
I'm trying to detect when new videos are taken. I'd succeeded to detect new photo using the intent filter action "com.android.camera.NEW_PICTURE" in a receiver but I don't know how I can detect new videos.
View 2 Replies
View Related
May 24, 2010
What are the differences between StageFright and Opencore? What does this mean to app developers? Please point me to any links, tutorials online. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 6 Replies
View Related
May 22, 2010
I'm very sad that the new Stagefright broke my application ability to streams AAC+ content :( Any pointers on this library? does it still support AAC? Where can I find Android StageFright source code? Anyone having issues with the new media library?
View 12 Replies
View Related
Apr 24, 2009
Can anybody advice what is the recommended directory to store files generated by your application: audio files, video files or some images.
If the phone contains SD card, it is clear that files should be saved there, but if there is no any external storage. where would you recommend to save to?
View 2 Replies
View Related
May 10, 2010
I am using a VideoView to display a video. I am using setOnPreparedListener and setOnCompletionListener to do stuff before and after the video starts and ends.
I was wondering how I could go about detecting some point of time in the video. For eg, say I want to write log to a file when the video has played for 10s. How can I detect the 10s mark?
View 1 Replies
View Related
Dec 13, 2013
I have a problem on my galaxy note II GT-N7100, running Paranoid Android 4.0 beta, android 4.4.1
Ever since I've upgraded to KitKat, some of my apps don't detect data on external micro SD card. Most noticeably quick office, the bards tale. As most of my files are stored on micro SD this is very annoying. I can access those files using es file explorer but it would be better if apps could detect them as well. My external SD card pathway should be mnt/media_rw/sdcard1 but that's empty and I get invalid file path error.
I can access the ext sd by storage/sdcard01 though. I've tried to format my ext SD, edit platform.xls etc but no solution. So any clue how to make quockoffice access documents on external micro sd?
View 4 Replies
View Related
Nov 18, 2010
Why does the video in the attached code is not running (get a message from the emulator that the application cannot run the video).Can anyone please help me to understand how should I implement the onTouchEvent in order to capture a touch on the screen (don't care where on the screen) while a video is running.
View 1 Replies
View Related
Jun 28, 2010
I am interested in adding support for some video containers not supported by default in a video player application. flash player plugin being able to play video on froyo, I suppose there are some api to extend the media framework. I've heard of stagefright but didn't find much details. where can I find details on how the flash player works ? does it use publicly available api ? public or not, how can I access them ?
View 4 Replies
View Related
Jun 3, 2010
How can I play a .asx or a .pls stream? I tried Stream Media Player, but to no avail.
View 1 Replies
View Related
Aug 22, 2010
What is the Easiest way to stop a soundpool of 4 streams.
mSoundManager.addSound(1, R.raw.svphorn);
mSoundManager.addSound(2, R.raw.svpphaser);
mSoundManager.addSound(3, R.raw.svpwail);
mSoundManager.addSound(4, R.raw.svpyelp);
I need a button to stop all sounds playing @ one time.
View 1 Replies
View Related
Nov 16, 2009
I am working on the CTS (Compatibility Test Suite), but I am a newer.
From my test, I found the following Fail:
CODE:.....
I have checked the CTS source code. And find the the following source code:
CODE:....................
View 3 Replies
View Related
Nov 11, 2010
I am developing a multiplayer game on android. I am having a Java server and android client. The android client issues multiple requests and receives responses from the server. However the performance is not smooth. At times the data received at the Java server is not what I send from android. It is junk or zeroes. However, some times, data is correctly received.
I was wondering is there any data loss in between and why? I am using java.net on both ends. Please let me know if anybody was facing a similar problem anytime during android development.
View 4 Replies
View Related
Mar 11, 2010
I want to send video files from the Android via network to server. How can I serialize video files in Android?
View 1 Replies
View Related
Oct 14, 2010
I am developing android a few days now and startet to write an application that gets a file from a server to display the content.
I have this code here
CODE:.....
The strange thing is that nothing is shown in the TextField. If I test the code in a standard java project the printing of the data (with println) works correctly in the console. But when i run it on the android vmachine nothing is shown. I got no more ideas left to proof the code. Anyone has some advices for a newcomer?
View 2 Replies
View Related
Sep 1, 2009
I am trying to build streaming radio into my app, which works fines streaming files over the internet, but when i try to use a shoutcast url in get the error below, which from the soruce code looks liek the mediaPlayer is looking for the duration in the header. Does anyone know if shoutcast urls will work withthe default media player? Or do i have to download chunks into a ping-pong buffer sor something? The url has no porblems downloading via the browser.
the error is:-
CODE:........................
View 15 Replies
View Related
Feb 20, 2009
I am using the latest git code to play with. I wanna know how can I play with GALLERY, it always complain "NO MEDIA FOUND", I do wanna know where and how can I put some JPG, BMP or something other media stuff into the emulator/Real device to make the GALLERY app display them.
View 2 Replies
View Related
Jan 6, 2010
I was just wondering if it's possible out of the box or via a library.
View 1 Replies
View Related
Sep 28, 2010
I haven't done any work with the Android or iOS platforms, but I have recently been pitched a project and I'm trying to see if it is even feasible.
Is there currently API hooks in the iOS and Android platforms for accessing / manipulating the voice / data streams? What I would like to do is encrypt all outgoing steams and decrypt all incoming streams before they reach and other processes that need that data.
I would assume that because the Android platform is open source one should be able to do this, it just may have to be hacked together. I'm more worried about iOS.
View 2 Replies
View Related
Dec 14, 2009
I have a problem streaming live video files. When I stream a file say of duration 5 minutes, it stops after streaming 2 to 3 minutes and enters in to endless buffering state. The VideoViews's OnBufferingListener is endlessly executed, however it shows that the buffering is not progressing anymore : MediaPlayer's buffer says it has buffered for example 90% whereas when I call videoView.getBufferPercentage(), I get something very low, like 1% or 5% ... After a while in the buffering state, the application crashes. It seems like the buffering is taking all the memory.
View 2 Replies
View Related
Apr 10, 2014
What video player for Android can I download for free that can play mkv files?
View 2 Replies
View Related
Jun 11, 2010
I have an audio file in .3gp format on my Android device which I wish to upload to YouTube. I know that YouTube is a video upload site and that I need to convert this sound file to video. I just want an image to display all the time the audio is playing. Google tells me there are number of tools that can help me. But I want to do this via java code from my Android device.
View 7 Replies
View Related
Jul 9, 2010
I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video.
The audio-video codec used for our media files is H.263(video) and AAC LC (Audio). I did a little experiment and passed URL of one of the video files to the MediaPlayer class and got the following error: Command PLAYER_INIT completed with an error or info PVMFErrContentInvalidForProgressivePlayback.
From the docs, I came to know that for progressive playback, the video's index (e.g moov atom) should be at the start of the file. How do we make our videos Android-ready? What are the different considerations that we need to make?
View 4 Replies
View Related
Jul 9, 2010
I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video. If we use H.263(video) - AAC LC (Audio) audio-video codec used for our media files will we be able to play the video by passing the URL to MediaPlayer class?
I did a little experiment and passed URL of one of the video files(.mp4) to the MediaPlayer class and got the following error:
Command PLAYER_INIT completed with an
error or info
PVMFErrContentInvalidForProgressivePlayback
From the docs, I came to know that for progressive playback, the video's index (e.g moov atom) should be at the start of the file. Questions:
1. How do we make our videos Android-ready?
2. What are the different considerations that we need to make?
View 1 Replies
View Related
Nov 15, 2009
Can you play any fancast.com files on the Android OS? Thinking about getting the HTC Droid Eris but want to know all about it first so don't make a mistake. I am currantly running Skyfire for my browser and it works really fast and can watch any video.
View 3 Replies
View Related
Jul 19, 2010
I need to record audio and video files in 3gp/mp4 format at the same file and same time.
When i run my application file is created with videofile.3gp but video does not record in sd card on the emulator.please let me clear one thing does video records on the emulator? if i run this code on android supported device do these error clear.
Please help me. I am new to this topic.please find the code and errors below.
package com.video;
* @copy Rights
* audio.java
* sample code for Eminosoft Developerworks Article
* Android development Team
* www.eminosoft.cm
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.provider.Settings;
import android.util.Log;
import android.view.View;
import android.widget.Button;
public class video extends Activity {
public MediaRecorder mrec = null;
private Button startRecording = null;
private Button stopRecording = null;
private static final String TAG = "SoundRecordingDemo";
File audiofile;
File video;
private MediaPlayer mMediaPlayer;}
View 2 Replies
View Related
Apr 22, 2010
AOR by leadapps did this well. But when I upgraded my moment to eclair 2.1, I could no longer find the app. This is one reason the android experience has been a let down for me; I'm no bagger or birther, but damn...this is one socialist OS. Anyway, what have you used to hear streams of .aac's?
View 2 Replies
View Related
Aug 3, 2010
Just an FYI - on 2.1 Twit Live stream was dead, now it is alive and well - at least for me the 400kpbs stream seems rock solid.
Sorry if you aren't into Twit, but I watch that livestream pretty regularly.
View 3 Replies
View Related