embedding mp4 videos

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

Videos are looking good guys!

Gus,

Thanks, I did a check on that just now after reading this and I did have it on all along.
Got to another computer and connection today other then my own right during the upload time and it played the video. Might have been just a temporary issue when I first spotted that.

All of my videos are now mp4, (Day, Yesterday and Year) on my site.
They all look great to me, thanks for all the work on this Brian and those that helped.

The current quality settings in the web cam setup are:
Bit rate 100
Frame Rate 40
The settings Keep the video file size smaller for the slower connections and the quality is great to me. Please anyone let me know if it should be adjusted.
http://www.josephoregonweather.com/daymovie.php

In experimenting only, setting the bit rate even lower to 75 did not work.
The video would play locally only. The file with that bit rate would not play on the site.

More testing shows setting the bit rate at 50 works great also.

What quality setting are you using for the jpg files?

In the WD Web Cam capture program the quality settings are set to 100%

side note:
I am using a program called “Ispy 64” to monitor the Foscam HD wifi cameras and it produces a jpg every 3.3 seconds for the WD web cam program to pick up at every 4 seconds.
The WD cam capture program will not stream my Foscam cameras over my network due to the type of camera. Using the Ispy program I also add overlays for both cameras, black bar at the bottom with the images (WXB). The second camera (west facing) Ispy also adds the time and text at the bottom.