Hello All,
I want to record raw Streaming videos from URL encode it into H.264 and save it as .Mp4 format in sdcard .
So far I'am recording with the android MediaRecoder and streaming is done But i cant able to record Video .
one more query
how to convert url string into int ?convert below string url into int
Sting path = "resp://123.456.2.160:123/logo.sdp";
Has anybody explain with an easy example ...
Thanks in advance
Bhagavath Ram
Related
Hi, Iam searching for a video editing tool which can handle *.ts files with the h264 codec. The program have to trim and join the source videofile without reencoding and without editing the header information of the file.
greets MC
I have been working on developing an a very simple app that plays a video rtsp stream from VLC And have been very stuck after a week I thought it might be time to call it quits but first thought I would post my problem:
I saw on the android dev site that it supports
RTSP (RTP, SDP)
HTTP progressive streaming
Video Encoding Recommendations
Video resolution 176 x 144 px
Video frame rate 12 fps
Video bitrate 56 Kbps
Audio codec AAC-LC
Audio channels 1 (mono)
Audio bitrate 24 Kbps
Click to expand...
Click to collapse
I set everything up in VLC
Stream link: (remove !'s if need for link)
ihop.!org.!edgesuite.!net/ihopkc/wls/tpr/IHOP-KC_TPR_WLS!.asx
Destonation:
RTSP -> Output: /ihop.mp4(also tried .dsp) port 5544 -> Active transcodeing checked -> video profile H.264+ACC(mp4) (and edited everything down to android's low Video Encoding Recommendations (like above))
TTL = 1
the rtsp stream works great when I open up anther VLC instance and stream the link rtsp://myip:5544/ihop.(mp4 or dsp)
but when I run it in my device (nook color w/ CM7.0.2) video viewer it says "sorry can not play this video"
sdk code:
Code:
VideoView videoView = (VideoView) findViewById(R.id.surface_view);
Uri video = Uri.parse("rtsp://192.168.1.88:5544/ihop.mp4");
videoView.setVideoURI(video);
videoView.start();
I am able to run audio stream from vlc to android and also ping my ip in terminal emulator so i know its not a connection error
Any ideas on what im doing wrong or on how to get this to work?
the only thing left that I haven't tried is Darwin streaming server on mac( tried it on windows 7) and would need to fix my hackintosh to do this.
Any Help is very appreciated
THANK YOU!!!
Hi,
I am working on developing an app in which one of its features includes receiving a video stream from a webcam and displaying it through a videoView. I've been able to stream video before using VLC, but can't seem to get it working with my Android App.
In VLC, after choosing my webcam as the video source to stream, I choose http stream, and for transcoding I choose MP4 for encapsulation and H-264 as the video codec. (I believe these are the formats supported by Android) the generated stream output string is as follows:
:sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=none}:http{mux=ffmpeg{mux=flv},dst=:8080/} :sout-keep
now on the android side, inside the onCreate method, my code looks like this:
mVideo = (VideoView) findViewById(R.id.videoView1);
MediaController mc = new MediaController(this);
mc.setMediaPlayer(mVideo);
mVideo.setMediaController(mc);
mVideo.setVideoPath("my_ipaddress:8080");
mVideo.requestFocus();
mVideo.start();
I am able to go on a different computer and capture the stream using VLC, but when I run the app on my Android device, I get a message that tells me the video can't be played. Not sure where the issue is, and I've been able to find a few similar post on here and on other forums, but still haven't found a solution that works for me. Any help would be greatly appreciated. Thanks!
Hi all
I want to develop an android app in which i want to encode a video in mp4 format from series of images and a mp3 file.
I successfully created a video in mp4format from series of images by using JCodec library.
but unfortunately i'm unable to encode a mp3 file in it because JCodec does not have functionality of mp3 merging in mp4 along with series of images.
After that I also tried FFMPEG but i was unable to compile it.
So please help me to sort out this problem.
Thanks
Hey ,
I record a very long video every day and I already use the lowest resolution I can.
The high quality of the camera makes the movies to catch a lot of space
on my phone .
Is there a way to record direct to another format like AVI or WMV format ?
Thanks.
these formats will be bigger than mp4...so...NO
I tried in my computer to convert 1 of the MP4 file to AVI and he reduce the file from 4GB to about 1GB file.
MP4 AVI or WMV just format of container. What matters is the resolution codec and bitrate. You can try to search how to config android camera codec. May be change a configuration xml somewhere. I'm not familiar with it but wish this could help.