[Completed] IP webcam recording settings - unable to open mp4/webm file - XDA Assist

Hello everyone,
maybe someone already had the issue below and could help me out...
I've turned my two old SGS2's with broken screen into an IP Webcam.
Both are gt-9100
Both have android 4.1.2 and the latest version of IP Webcam.
First, I've chosen the MOV video format, and when I try to open it, then it plays fine (but it produces quite huge files).
Second, I've chosen the WebM video format,
and when I access the webcam via browser (192.168.10.19:8080),
then I can see the thumbnails of recordings, but when I try to open them - nothing happens.
Also when I try to download the file and open it via MediaPlayer Classic, it does not work - "unable to open file".
Also, when I try to open the file directly on the phone, it does not work.
The same issue happens when I chose the MP4 format...
The issue occurs on both SGS2 phones.
Note that I have K-Lite Mega Codec Pack installed, and MediaPlayer opens other mp4 files without problem.
Any ideas what could be wrong with the recording?
Any help would be very appreciated!

Hello,
Thx for reply.
However streaming is not the problem.
I can see the stream from both SGS2 phones.
They are set to record the video on event (movement).
The video is recorded as mp4 (or webm) and saved in the internal memory.
I can see the video thumbnails,
but I cannot play it neither in the browser, nor via any player that I know of.
What's werid is that when I choose a MOV format, then it works well....

Hello,
Welcome to XDA.
Please post your question in the forum linked below
http://forum.xda-developers.com/android/help
The experts there may be able to help.

Found the solution.
Seems like the trick was in the video settings.
Voice Bitrate 64kbit/s
Video bitrate 1500kbit/s <- here is catch #1, it does not work if anything else is set (in my case)
Video Format MP4
Resolution 800x480 <- here is catch #2, it does not work if anything else is set (in my case)
Quality 50
Limit FPS no limit
Now I am able to play mp4 files recorded by IP Webcam.

Related

TCPMP, CorePlayer, YouTube and RTSP

Hi everyone,
I know there are a hundred posts about Youtube and players and stuff, but none of these seem to work for me. One reason perhaps is most solutions date back to 2007, and things (may) have changed since.
Here is my situation: I have TCPMP 0.72RC1, GF5500 edition (by eoc and elviesss) because this version is the only one I know of that supports my GoForce and actually plays HQ/HD videos. However, when I try to watch a YouTube video, I get the "RTSP protocol not supported" error. I have installed the "mobytube.net - t2k269 TCPMPflvplugin0.4.4" and the "Skunkworks FlashVideoBundle"... doesn't help.
I also have CorePlayer 1.3.2, which (before installing TCPMP) worked fine with YouTube videos although poor quality but did not play the MP4 HQ/HD videos and has no support for the GoForce 5500.
I am fine with having both, as long as file associations worked properly. Every time I press "Watch Video" TCPMP opens and gives me the RTSP error. How do I associate this action with CorePlayer?
I have unticked Flash Video and MMS protocol file associations from TCPMP, and ticked the same in CorePlayer, particularly RTSP protocol, MMS and FLV.
After selecting all files in CorePlayer's File Associations, tapping the "watch video" link finally started opening CorePlayer instead of TCPMP but the only thing that happens is "network address not found".
Some help please!?
Have a look here
There is actual information regarding your topic
http://forum.xda-developers.com/showthread.php?t=524708
Hope it helps,
Thanks!
I did look at those articles/threads again (in fact I read everything there, although I had already read some of these), but can't find a solution.
1. I can't use IE: m.youtube.com loads but when I click a video link to check out details, IE crashes - I never use it anyway.
2. I prefer Opera (8.65 for Em One, built in), I also have 9.7. The browsing part is naturally no problem. But whatever the settings of CorePlayer (FLV - high bandwidth, H264 - normal or high (720p) quality), the quality is horrendous on my WVGA screen. Media properties always has "Format:RTP/RTSP streaming; video/codec: H.263; Video size: 176 x 144.
So, I am still where I left off - TCPMP for GoForce 5500 does play high quality videos but won't work with YouTube, while CorePlayer won't work with HQ video and delivers awful quality YouTube.
PS. I do have the YouTubePlay app by Nick Miles, v. 1.0.0.11 (latest?), and, when video output is switched to RawFramebuffer I seem to get the most out of youtube videos labeled HD - I don't know what actual resolution they are played at, but look quite decent on the WVGA screen (probably 320x240).

Editing CM7 M4V videos with Avidemux

Hi,
Not sure if this is the best place for this question, but just on the chance that anyone knows a solution
Basically I have CM7 on my HTC desire and as far as I can see, it records in M4V which is h264 or something?
Anyway, I recently downloaded Avidemux video editor and opened a file I recorded off the desire to do minor editing (removing audio from a few seconds of the video, still haven't figure out how to do that either )
anyway, on inserting the video file, I get a warning saying "H.264 Detected: If the file is using B-Frames as a refrence it can lead to a crash or stuttering. Avidemux can use another mode which is safe but YOU WILL LOSE FRAME ACCURACY. Do you want to use that mode?"
then when I playback the video, there's a big delay on the audio sync. It plays fine in media player classic.
Any help or feedback appreciated
That's a generic problem with Avidmux and H.264 that I've run into numerous times and not related to CM7. I get the same problem using my Hauppauge HD PVR recording HD from component video to my Linux system. I'm had some success using Handbreak to convert formats but still looking for a decent non-linear video editor that will handle this stuff. I've about given up on Avidmux. Sorry for not being much help. :-/
Thanks for the reply. That's a pity, is there any format that would work easily with Avidemux, that CM7 can record in also, or is CM7 only for wm4? As far as I remmeber, leodroid recorded in 3GP?

[Q] Streaming Webcam to Android using VLC

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!

[Bug Report] No subtitles when streaming over LAN

I use ES file explorer to access folders on my NAS and PC, and previously this has worked perfectly for MX player playback.
In a recent update in the last few months, subtitle support was broken while doing this.
If i copy the file locally to the player, the subtitle menu appears and works fine - but running it over the SMB share, it behaves as if the file has no subtitles present.
This bug is present on all my devices, so its not a localised glitch - definitely happened as a result of an MX player update.
@bleu8888 did something change regarding SMB predictive requests for external subs in one of the updates?
I have an update for this.
Enabling hw+ decoding makes the subtitle button appear and it remains even if I change back to hw or sw.
The reason I hasn't noticed this before is that hw+ doesn't work on many of my videos due to them being 10 bit h264 (hi10p), so I had hw+ disabled in settings.
If my terrible accent can be ignored, heres a very brief video demonstrating the problem.
www.youtube.com/watch?v=O1lihO1-Zsc&list=UUgbORRfPfCYQb8wRW1plCUg
This workaround is far from perfect, as various videos will crash MX player if i try and force them to use HW+
If copied to the internal SD card, the subtitle icon appears without needing HW+.
Curious now, what is the naming format of the video and sub files?
CDB-Man said:
Curious now, what is the naming format of the video and sub files?
Click to expand...
Click to collapse
.MKV with internal subtitles. That example video above has the following stats as read from MPC-HC on my PC.
Video: MPEG4 Video (H264) 1280x720 23.81fps [V: h264 high L4.0, yuv420p, 1280x720 [default,forced]]
Audio: AAC 44100Hz stereo [A: aac, 44100 Hz, stereo [default,forced]]
Subtitle: Advanced SubStation Alpha [S: ass [default,forced]]
Subtitle: UTF-8 [S: No subtitles]
An oddity has shown up with some files where subtitles appear, but i cant turn them OFF without doing this trick. Only happens over SMB shares, never happens locally with the same files.
... based on your original problem question, I thought you had external subs. Now that it's internal subs... I have no idea why, except perhaps that on HW, the android internal mediacodec broke something regarding embedded .ssa subtitles (that's only a guess). Unless this also coincided with a ROM update on xKat, I'm not sure that anything on MX specifically changed. It'll have to be @bleu8888 that would look into this.
CDB-Man said:
... based on your original problem question, I thought you had external subs. Now that it's internal subs... I have no idea why, except perhaps that on HW, the android internal mediacodec broke something regarding embedded .ssa subtitles (that's only a guess). Unless this also coincided with a ROM update on xKat, I'm not sure that anything on MX specifically changed. It'll have to be @bleu8888 that would look into this.
Click to expand...
Click to collapse
not related to Xkat, the video showed this on my kogan HDMI dongle device, running its stock ICS 4.0 rom. Definitely internal subs, only over SMB.
Changing to software decoding also seems to bring the subtitle option back, although at first i didn't think that was the case.
Well, I don't think I can add any more value, so I'll just let the dev work on this
Same problem here: MKV file with embedded subtitles. Running Finless Bobs ROM 2.1 on an MK808.
When I play the file from a local directory, no problem, all subtitles are shown independent of HW or HW+ mode. When I try to play the SAME file from my NAS drive (accessing it with ES file explorer), the embedded subtitles do not show up, as if they were not existing.
The HW+ workaround above does work, but is not a satisfactory solution: Switching to HW+ does make the subtitles appear and selectable, video plays but stutters. You can then switch back to HW with the subtitles on, video plays smooth but freezes after ~5 seconds. So no working solution for NAS.
Hope this helps to reproduce the issue - please fix it!
markust68 said:
Same problem here: MKV file with embedded subtitles. Running Finless Bobs ROM 2.1 on an MK808.
When I play the file from a local directory, no problem, all subtitles are shown independent of HW or HW+ mode. When I try to play the SAME file from my NAS drive (accessing it with ES file explorer), the embedded subtitles do not show up, as if they were not existing.
The HW+ workaround above does work, but is not a satisfactory solution: Switching to HW+ does make the subtitles appear and selectable, video plays but stutters. You can then switch back to HW with the subtitles on, video plays smooth but freezes after ~5 seconds. So no working solution for NAS.
Hope this helps to reproduce the issue - please fix it!
Click to expand...
Click to collapse
try software mode, it also seems to bring them back. Often i change to software, enable subs, then change back to hardware and it remains working - as long as i use software audio, or the audio goes out of sync.
Mussels84 said:
try software mode, it also seems to bring them back. Often i change to software, enable subs, then change back to hardware and it remains working - as long as i use software audio, or the audio goes out of sync.
Click to expand...
Click to collapse
Tried SW mode, but same behavior: Video gets stuck when switching back to HW mode with subtitles on after about 15 seconds. Then turning off subtitles in HW mode makes video continue smooth.
So switching to HW+ or SW mode makes the subtitles appear and stay even when switching back to HW mode, but video gets stuck in HW mode with subtitles on. Issue only via LAN, HW mode works fine with subtitles when the file is local. I also don´t think it´s a bandwidth issue to my NAS, as the video plays fine via LAN without subtitles.
markust68 said:
Tried SW mode, but same behavior: Video gets stuck when switching back to HW mode with subtitles on after about 15 seconds. Then turning off subtitles in HW mode makes video continue smooth.
So switching to HW+ or SW mode makes the subtitles appear and stay even when switching back to HW mode, but video gets stuck in HW mode with subtitles on. Issue only via LAN, HW mode works fine with subtitles when the file is local. I also don´t think it´s a bandwidth issue to my NAS, as the video plays fine via LAN without subtitles.
Click to expand...
Click to collapse
I'd say our slight differences there would be because we're using different hardware. Hopefully this bug gets some attention, i feel that using network shares isn't as popular as other methods so its a low priority fix.
Mussels84 said:
I'd say our slight differences there would be because we're using different hardware. Hopefully this bug gets some attention, i feel that using network shares isn't as popular as other methods so its a low priority fix.
Click to expand...
Click to collapse
That may well be. It´s a pity this issue doesn´t get a higher priority as playing videos from a NAS should become increasingly popular. It´s so convenient to have a big NAS drive to store all your music and video on and have it available for all devices in your network...
movie01.mp4 (streaming smb)
movie01.srt ( )
two file same folder, streaming play video perfect not show subtitle, Can I do ? which change option see subtitle ?
----
sory my bad english
dene18 said:
movie01.mp4 (streaming smb)
movie01.srt ( )
two file same folder, streaming play video perfect not show subtitle, Can I do ? which change option see subtitle ?
Click to expand...
Click to collapse
It depends on the SMB client that is used to stream. The behaviour changes from app to app. Some apps are acting as content providers. In that case, Player can access only the video files. Some apps act as a local host (like Solid Explorer). In such cases, MX might be able to detect the subtitles when either it allows the file listing or by a simple brute force check.
MXPlayer said:
It depends on the SMB client that is used to stream. The behaviour changes from app to app. Some apps are acting as content providers. In that case, Player can access only the video files. Some apps act as a local host (like Solid Explorer). In such cases, MX might be able to detect the subtitles when either it allows the file listing or by a simple brute force check.
Click to expand...
Click to collapse
thanks for info
update mxplayer, poblem was solved.Thank mxplayer team
My phone samsung E7 lollipop mx player v1.10.33 installed Myanmar to teach how to gain please.
Htetpaing Soe said:
My phone samsung E7 lollipop mx player v1.10.33 installed Myanmar to teach how to gain please.
Click to expand...
Click to collapse
It seems that you are having some difficulties with our app. Unfortunately, we couldn't get your feedback well. Can you please contact us at [email protected] along with detailed steps to reproduce the issue or a screen record? It will help us to assist you better.
having the same issue, when streaming on lan it doesnt load the srt file loaded on the same folder, with the same file name, it used to work for quite some time, but now it no longer works, used es file explorer to browse through the NAS.
but if the folder is saved locally, the player can read it, using the es file explorer to access it as well.

[Q]Inquiry on specific video files

So MX player is great and all, and I download videos from youtube. Recently I downloaded one that MX player cannot really play using HW or HW+ and I'd like to find out why. Interestingly, the program I use to download videos from youtube (on PC) lists all the formats the video exists in, and there are two "1080p60" versions of different sizes. After opening them up with a program called MediaInfo, they seem to use different codecs/formats. One is AVC, the other is VP9.
When I said "MX player cannot really play" I mean "one video will show the first frame, audio will play normally, frames do not advance" (the AVC one). The VP9 one plays like a slide show with a frame updating every couple seconds, occasionally playing 2-3 frames at a time.
So yeah if anyone with more know-how could take a look at the video files in question, that'd be great. Here's the youtube video in question if you have your own way to download videos: SfjYhQ0dfCk
I WAS going to post dropbox links to 1) the two versions of the same video and 2) HTML files of the MediaInfo output and 3) The URL of the youtube video, but the forum is touchy about that apparently. Thank christ it doesn't complain about youtube video IDs.
H/W & H/W+ decoder uses android's internal decoder.
Looks like you device doesn't natively support playback @60fps.
S/W may play. But, it may be laggy if the processor is not powerful enough.
Ah okay. I thought it would at least play it very choppily but the video does not play at all. If I seek a few frames will play but then it will freeze again.
I'm also an idiot and forgot to mention that this is on a Galaxy S4. quad-core 1.8.
Majora_Luna said:
So MX player is great and all, and I download videos from youtube. Recently I downloaded one that MX player cannot really play using HW or HW+ and I'd like to find out why. Interestingly, the program I use to download videos from youtube (on PC) lists all the formats the video exists in, and there are two "1080p60" versions of different sizes. After opening them up with a program called MediaInfo, they seem to use different codecs/formats. One is AVC, the other is VP9.
When I said "MX player cannot really play" I mean "one video will show the first frame, audio will play normally, frames do not advance" (the AVC one). The VP9 one plays like a slide show with a frame updating every couple seconds, occasionally playing 2-3 frames at a time.
So yeah if anyone with more know-how could take a look at the video files in question, that'd be great. Here's the youtube video in question if you have your own way to download videos: SfjYhQ0dfCk
I WAS going to post dropbox links to 1) the two versions of the same video and 2) HTML files of the MediaInfo output and 3) The URL of the youtube video, but the forum is touchy about that apparently. Thank christ it doesn't complain about youtube video IDs.
Click to expand...
Click to collapse
Would you share download link of both videos? Your link 'SfjYhQ0dfCk' is actually not a link.
There are many reasons why video not playing properly or not supporting HW acceleration.
Sometimes bug or limitation of device's media framework, sometimes bug of MX Player, sometimes corruption of video file, and so forth.

Categories

Resources