embedding mp4 videos

As Gus showed I have found it works the computer for my station a bit extra at movie build time.
2 or 3 years ago I upgraded to an entry level gaming system for the station computer. It made a big difference.
A slower system will have some issues as my older system would pretty much be at 100% CPU use when making the movie.

I am now running the newest moviemaker.

This is the MP4 now on the today’s video.
http://www.josephoregonweather.com/daymovie.php
(50 FPS, bit rate 2000, the player is just simple HTML5 code)
The other video pages are still FLV until tomorrow. The MP4 is working great, smaller file and over all a better video then the FLV.
Only issue is I need to figure out how to setup my page so when the video is uploading it will not give the error message to the user as the file is not completed.

http://www.josephoregonweather.com/daymovie.php
wow, that looks really great

I do have it where this version of moviemaker can work with the other formats too (.flv, .wmv, .swf), i.e so I can make it part of the WD install files
once any other bugs ironed out
I do need to get it to create the one off special movie

Scott,

Try going to…
Control Panel> FTP & Connections> Connections tab> in the lower left there is a check box “Rename the file on the server after uploading”
See if that will work for the video uploads.

Gus

Hi Brian,

I was watching my videolastyear.mp4 and it occurred to me, wouldn’t it be nice if it was a full year long.
Would it be possible to have the starting date be the current date minus one year and running up to the current date?

Thanks,
Gus

I should be able to do that OK

It may be the computer as it’s a lowly Celeron CPU. I had thought that maybe the computer speed didn’t matter since it is really just the amount of time inserted between frames and my alldaymovie takes longer than 1:15 to create that I can see. Not sure why this is showing 2406kbits as my settings are 15FPS and 800kbits.

#7972.5: frame= 668 fps=6.4 q=-1.0 Lsize= 13041kB time=00:00:44.400 bitrate=2406.1kbits/s speed=0.422x
#7972.5: video:13037kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.03%
#7972.5: 668 frames successfully decoded, 0 decoding errors

currently this version of moviemaker only uses the frame rate setting and not the bitrate setting
just to clear that up
but I will look at how to implement that

Thanks for that info. Also thank you for all the work you’ve done on the moviemaker over the past few days!

vers 3.6 will use the bit rate now
so try that
http://www.weather-display.com/downloadfiles/moviemakermp4.zip

Bitrate set to 800. Manually run alldayvideo and got this (note that I remote access the weather computer so Framerate will show lower than normal).
#7388.5: frame= 832 fps=3.8 q=-1.0 Lsize= 50957kB time=00:00:55.333 bitrate=7544.1kbits/s speed=0.25x
#7388.5: video:50952kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.01%
#7388.5: 832 frames successfully decoded, 0 decoding errors

bitrate=7544.1kbits/s
that looks ok...will be a sort of average (note that number is kbit/s , the setting you set in WD is 10x less?

OK, understand. Thanks!

also that latest movie maker update should be last 12 months for year to date movie

Movie Maker mp4 vers 3.6 is having a problem creating the video at the 01 minute with frames from 50 to 00 minutes. The 11,21,31,41,51 minutes have been good. This used to happen with moviemaker II and you fixed it. Please see if you can identify the problem again.
Thanks,
Gus

From moviemakerlog 18:01 6/19/2016…

C:\wdisplay\alldayvideotenseconds\180100jpgwebcam.jpg

doing 10 minute movie now
doing 10 minute movie now using every 10 seconds
6:01:12 PM 06/19/2016
Movie Maker mp4 vers 3.6
Looking for images files between hours 17 and 18
C:\wdisplay\alldayvideotenseconds\180100jpgwebcam.jpg File date =06/19/2016 now date 06/19/2016
#4592.5: ParseOptions for input file: -f frameinput -input_type canvas -pix_fmt bgr24 -r 15/1 -s 640x480
FrameInput read header
#4592.5: Input #0, frameinput, from ‘49104144’:
#4592.5: Duration: N/A, bitrate: N/A
#4592.5: Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 640x480, 110592 kb/s15 fps, 15 tbr, 1000k tbn, 15 tbc

File Name: 49104144
Format Name: frameinput
Format Long Name: Frame input
File Size: 0 Byte
Duration: N/A, bitrate: N/A
Stream #0, 1/1000000: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 640x480, 110592 kb/s, 15 fps, 15 tbr, 1000k tbn, 15 tbc

#4592.5: ParseOptions for output file: -c:v libx264 -b:v 15100k -minrate 15100k -maxrate 15100k -bufsize 1835k -s 640x480 -r 15/1 -pix_fmt yuv420p -vsync -1

***Can do convert.

#4608.5: [libx264 @ 017054E0] using cpu capabilities: MMX2 SSE2Fast LZCNT
#4608.5: [libx264 @ 017054E0] profile High, level 3.1
#4608.5: [libx264 @ 017054E0] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=15100 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=15100 vbv_bufsize=1835 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
#4608.5: Output #0, mp4, to ‘C:\wdisplay\alldayvideo\tensecondvideo.mp4’:
#4608.5: Metadata:
#4608.5: encoder : Lavf57.25.100
#4608.5: Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x480, q=-1–1, 15100 kb/s, 15 fps, 15360 tbn, 15 tbc
#4608.5: Metadata:
#4608.5: encoder : Lavc57.24.102 libx264
#4608.5: Side data:
#4608.5: unknown side data type 10 (24 bytes)
#4608.5: Stream mapping:
#4608.5: Stream #0:0#0:0 (rawvideo (native) → h264 (libx264)) (Video)
FrameInput [Canvas] read frame #1
FrameInput [Canvas] read frame #2
#4608.5: [frameinput @ 016FFE00] reading frame (Canvas) return -1
#4608.3: 49104144: Error number -1 occurred
#4608.5: frame= 1 fps=0.0 q=8.0 Lsize= 80kB time=00:00:00.066 bitrate=9777.0kbits/s speed=0.169x
#4608.5: video:79kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.99%
#4608.5: 1 frames successfully decoded, 0 decoding errors
#4608.5: [libx264 @ 017054E0] frame I:1 Avg QP: 5.45 size: 79914
#4608.5: [libx264 @ 017054E0] mb I I16…4: 10.3% 68.0% 21.8%
#4608.5: [libx264 @ 017054E0] 8x8 transform intra:68.0%
#4608.5: [libx264 @ 017054E0] coded y,uvDC,uvAC intra: 97.4% 99.8% 99.3%
#4608.5: [libx264 @ 017054E0] i16 v,h,dc,p: 4% 35% 28% 33%
#4608.5: [libx264 @ 017054E0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 6% 43% 29% 3% 3% 2% 4% 2% 9%
#4608.5: [libx264 @ 017054E0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 36% 25% 4% 4% 3% 5% 3% 7%
#4608.5: [libx264 @ 017054E0] i8c dc,h,v,p: 48% 32% 8% 13%
#4608.5: [libx264 @ 017054E0] kb/s:9589.68
FrameInput read close

ah
try another update
vers 3.7
http://www.weather-display.com/downloadfiles/moviemakermp4.zip

Hi Brian
Ver 3.6 - 3.7
Somthing has changed in the last wersions of the moviemakermp4. The daily video file has gotten much larger. Last night the daily file was 8,041KB with length of 1:54 To night the file is 99,529KB with length of 1:12 Upload does not complete, the ftp log just says “file too large”. The hourly is at 12,953KB with length of 1:12 Is there some kind of compression missing from the daily file?
Gus

rameInput [Canvas] read frame #1171
#3328.5: [frameinput @ 02BDFE00] reading frame (Canvas) return -1
#3328.3: 49038608: Error number -1 occurred
#3328.5: frame= 1170 fps=6.3 q=-1.0 Lsize= 99963kB time=00:01:17.866 bitrate=10516.7kbits/s speed=0.421x
#3328.5: video:99953kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.01%
#3328.5: 1170 frames successfully decoded, 0 decoding errors
#3328.5: [libx264 @ 02BE54E0] frame I:5 Avg QP: 0.44 size: 85874
#3328.5: [libx264 @ 02BE54E0] frame P:889 Avg QP: 0.75 size: 97406
#3328.5: [libx264 @ 02BE54E0] frame B:276 Avg QP: 0.70 size: 55536
#3328.5: [libx264 @ 02BE54E0] consecutive B-frames: 59.1% 28.4% 0.3% 12.3%
#3328.5: [libx264 @ 02BE54E0] mb I I16…4: 31.4% 33.2% 35.4%
#3328.5: [libx264 @ 02BE54E0] mb P I16…4: 13.3% 34.1% 29.0% P16…4: 8.0% 7.4% 5.8% 0.0% 0.0% skip: 2.3%
#3328.5: [libx264 @ 02BE54E0] mb B I16…4: 2.4% 16.5% 12.0% B16…8: 17.9% 9.7% 6.2% direct:21.1% skip:14.1% L0:53.2% L1:33.2% BI:13.6%
#3328.5: [libx264 @ 02BE54E0] 8x8 transform intra:45.6% inter:45.5%
#3328.5: [libx264 @ 02BE54E0] coded y,uvDC,uvAC intra: 93.1% 98.2% 97.4% inter: 58.7% 79.7% 71.5%
#3328.5: [libx264 @ 02BE54E0] i16 v,h,dc,p: 16% 34% 21% 29%
#3328.5: [libx264 @ 02BE54E0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 6% 41% 40% 2% 1% 1% 3% 1% 6%
#3328.5: [libx264 @ 02BE54E0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 42% 25% 4% 4% 2% 5% 2% 6%
#3328.5: [libx264 @ 02BE54E0] i8c dc,h,v,p: 53% 31% 7% 9%
#3328.5: [libx264 @ 02BE54E0] Weighted P-Frames: Y:26.7% UV:18.6%
#3328.5: [libx264 @ 02BE54E0] ref P L0: 39.7% 11.9% 25.7% 19.3% 3.5%
#3328.5: [libx264 @ 02BE54E0] ref B L0: 62.9% 35.4% 1.7%
#3328.5: [libx264 @ 02BE54E0] ref B L1: 95.8% 4.2%
#3328.5: [libx264 @ 02BE54E0] kb/s:10497.55
FrameInput read close

Might try lowering your bitrate since moviemaker is now using the bitrate you set. Here is my nightly lastdayvideo with a bitrate of 400, file size ended being 32875kB. Looks like your bitrate is set to somewhere around 1100, about triple mine and your file size is about triple too.

#7856.5: frame= 1017 fps=5.9 q=-1.0 Lsize= 32875kB time=00:01:07.666 bitrate=3979.9kbits/s speed=0.391x
#7856.5: video:32869kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.02%
#7856.5: 1017 frames successfully decoded, 0 decoding errors

yes, most likely be after I added the bit rate setting
what is your bitrate setting set in the all day video setup gus?
(300 is the default)

Changing bit rate from 1550 to 400 made a huge difference. 33,120kB with length of 1:19

Thank you for pointing me to the bit rate.
Gus

#5032.5: [frameinput @ 02B1FE00] reading frame (Canvas) return -1
#5032.3: 46875920: Error number -1 occurred
#5032.5: frame= 1189 fps=7.4 q=-1.0 Lsize= 33120kB time=00:01:19.133 bitrate=3428.6kbits/s speed=0.493x
#5032.5: video:33109kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.03%
#5032.5: 1189 frames successfully decoded, 0 decoding errors

Videos are looking good. Still playing with settings but much better than before. My settings for this one is 640 x 480, 10FPS, 400kB, 1 minute capture. Using a cheaper Amcrest camera and uploaded to Youtube.

https://youtu.be/4lrJneTLq-4