Viewing *.mp4 remotely
-
Hello,
I am using a RLC-422 (build 16091803, HW IPC_3816M, FW v2.0.0.1215_16091803) to generate *.mp4 via motion detection - so far so good.
These *.mp4. are uploaded to my private ftp-server. Every 6 hours I move these *.mp4 to my private webserver and create automatically an index.html - so far so good.
Unfortunately all *.mp4 are only playable locally. When trying to see them remotely I do only get the sandbox - the length of the video is also not visible (except of my iPad)
The mime-type .mp4 is defined, so that is not the issue.
Have tried the following clients:- MacOS 10.10 with Firefox 45.x and Safari 9.1.3
- Windows 7 with IE and Firefox
When trying to see the *.mp4 remotely via my iPad (9.x) it is working.
So it seems, that something with the codecs is not working corretly.
Please find below the result of mediainfo of a mp4-file and and example of the index.html:
MediaInfo:
General
Complete name : 01_20161005205854.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp41/iso2/avc1/dash)
File size : 35.6 MiB
Duration : 1 min 7 s
Overall bit rate : 4 460 kb/s
Encoded date : UTC 2016-10-05 18:58:56
Tagged date : UTC 2016-10-05 18:58:56
IsTruncated : Yes
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L4
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 min 6 s
Bit rate : 4 491 kb/s
Width : 1 920 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 11.110 FPS
Minimum frame rate : 0.890 FPS
Maximum frame rate : 40.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.196
Stream size : 35.8 MiB
Language : English
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1 min 7 s
Bit rate mode : Constant
Bit rate : 31.1 kb/s
Nominal bit rate : 127 kb/s
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 16.0 kHz
Frame rate : 15.625 FPS (1024 spf)
Compression mode : Lossy
Stream size : 255 KiB (1%)
Language : English
index.html:
<!DOCTYPE html>
<html>
<body>
<video poster=".\thumbs_s\01_20161005205854.jpg" width="400" controls>
<source src="01_20161005205854.mp4" type="video/mp4">
</video>
</body>
</html>
Does someone has the same issues ? Does someone has a webserver with orginal *.mp4 created by RLC-422 ?
Any hint is welcome.
Regards
roland
-
Hi, we have a test for you and the motion record *.mp4 we created as index.html is playable.
Refer to:
Also our engineer said your index.html: seems wrong.
Please kindly check it. -
Hello Support,
thanks for the answer.
Unfortunately I am not able to see your video, you only inserted a *jpg, but no link to the video.
Have checked Google and again my index.html - I do not see an error. In case your engineer is telling you that the index.html is wrong, please tell me where to edit.
Have tested again the my *.mp4 to convert it with ffmpeg (ffmpeg -i 01_20161005205854.mp4 -c:v libx264 -preset ultrafast video.mp4) - and this mp4 is playable locally and remotely
Mediainfo of video.mp4:
General
Complete name : video.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 19.6 MiB
Duration : 1 min 5 s
Overall bit rate mode : Variable
Overall bit rate : 2 498 kb/s
Writing application : Lavf56.40.101
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L4
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 min 4 s
Bit rate : 2 519 kb/s
Width : 1 920 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 14.250 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.086
Stream size : 19.5 MiB (99%)
Writing library : x264 core 148 r2638 7599210
Encoding settings : cabac=0 / ref=1 / deblock=0:0:0 / analyse=0:0 / me=dia / subme=0 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=14 / scenecut=0 / intra_refresh=0 / rc=crf / mbtree=0 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=0
Language : English
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1 min 5 s
Duration_LastFrame : -28 ms
Bit rate mode : Variable
Bit rate : 21.3 kb/s
Maximum bit rate : 128 kb/s
Channel(s) : 2 channels
Channel(s)_Original : 1 channel
Channel positions : Front: C
Sampling rate : 16.0 kHz
Frame rate : 15.625 FPS (1024 spf)
Compression mode : Lossy
Stream size : 172 KiB (1%)
Language : English
Default : Yes
Alternate group : 1
Regards
roland
-
Please close the case. I have asked a colleague and he tried to view the *.mp4 remotely and it was working. A PC of another colleague does not work.
But in general it seems to be a problem of the browser.