Thanks for a great plugin! I only just found it a few weeks ago, I had no idea something as great as this existed for WordPress.
I am using the latest version of FFMPEG, 5th December 2013. The H264 and AAC all convert fine, and the OGG and WEBM if I need them.
I did get some stream errors earlier on some files while trying to convert, but seems ok for now.
My only question is, I make an HD version H264 and also a 480p version in H264 for mobile devices. It all works fine on all browsers and my HTC One droid, but when I checked with my old iPhone 3G, the videos don’t play on it. Possible they also don’t play on other iPhones.
I don’t have a newer iPhone, so I can’t check.
Since we have to keep the Apple lovers happy as they make up a load of viewers do you know the solution for this?. I am using the Video.js player, it just spins on the iPhone, only plays two videos I uploaded that were small in size to begin with, so I am thinking, maybe the javacode isn’t switching to the 480p version of the file, due to something conflicting. I also have qt-faststart enabled to fix the H264 streaming headers while encoding videos.
Here is the FFMPEG sample H.264 encode command:
/var/www/ffmpeg -y -i “https://www.jasondolan.co.uk/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4” -acodec libvo_aacenc -b:a 160k -s 640×360 -vcodec libx264 -profile:v baseline -pix_fmt yuv420p -level:v 30 -crf 23 -threads 0 “/var/www/wp-content/uploads/2013/12/sample-video-h264-480p.mp4”
Here is the FFMPEG test output::
ffmpeg version N-58748-gbe99054 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 5 2013 05:34:44 with gcc 4.6 (Debian 4.6.3-1)
configuration: –prefix=/root/ffmpeg-static/64bit –extra-cflags=’-I/root/ffmpeg-static/64bit/include -static’ –extra-ldflags=’-L/root/ffmpeg-static/64bit/lib -static’ –extra-libs=’-lxml2 -lexpat -lfreetype’ –enable-static –disable-shared –disable-ffserver –disable-doc –enable-bzlib –enable-zlib –enable-postproc –enable-runtime-cpudetect –enable-libx264 –enable-gpl –enable-libtheora –enable-libvorbis –enable-libmp3lame –enable-gray –enable-libass –enable-libfreetype –enable-libopenjpeg –enable-libspeex –enable-libvo-aacenc –enable-libvo-amrwbenc –enable-version3 –enable-libvpx
libavutil 52. 56.100 / 52. 56.100
libavcodec 55. 45.100 / 55. 45.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘https://www.jasondolan.co.uk/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4’:
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-02-05 17:28:13
timecode : 01:00:00:00
Duration: 00:00:01.00, start: 0.000000, bitrate: 91 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 960×540, 66 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc (default)
Metadata:
creation_time : 2013-02-05 17:28:13
handler_name : Apple Video Media Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default)
Metadata:
creation_time : 2013-02-05 17:28:13
handler_name : Apple Sound Media Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2013-02-05 17:28:13
handler_name : Time Code Media Handler
timecode : 01:00:00:00
[libx264 @ 0x3bb13c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x3bb13c0] profile Constrained Baseline, level 3.0
[libx264 @ 0x3bb13c0] 264 – core 129 r2230 1cffe9f – H.264/MPEG-4 AVC codec – Copyleft 2003-2012 – https://www.videolan.org/x264.html – options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to ‘/var/www/wp-content/uploads/2013/12/sample-video-h264-480p.mp4’:
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
timecode : 01:00:00:00
encoder : Lavf55.22.100
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640×360, q=-1–1, 11988 tbn, 23.98 tbc (default)
Metadata:
creation_time : 2013-02-05 17:28:13
handler_name : Apple Video Media Handler
Stream #0:1(eng): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 160 kb/s (default)
Metadata:
creation_time : 2013-02-05 17:28:13
handler_name : Apple Sound Media Handler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Press [q] to stop, [?] for help
frame= 24 fps=0.0 q=-1.0 Lsize= 26kB time=00:00:01.01 bitrate= 210.1kbits/s
video:4kB audio:20kB subtitle:0 global headers:0kB muxing overhead 7.155238%
[libx264 @ 0x3bb13c0] frame I:1 Avg QP:18.41 size: 2862
[libx264 @ 0x3bb13c0] frame P:23 Avg QP:11.47 size: 16
[libx264 @ 0x3bb13c0] mb I I16..4: 94.3% 0.0% 5.7%
[libx264 @ 0x3bb13c0] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.1% 0.0% 0.0% 0.0% 0.0% skip:99.9%
[libx264 @ 0x3bb13c0] coded y,uvDC,uvAC intra: 3.5% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x3bb13c0] i16 v,h,dc,p: 95% 1% 5% 0%
[libx264 @ 0x3bb13c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 18% 27% 3% 3% 7% 4% 6% 3%
[libx264 @ 0x3bb13c0] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 0x3bb13c0] kb/s:25.85
Fixing moov atom for streaming
/var/www/qt-faststart /var/www/wp-content/uploads/2013/12/sample-video-h264-480p.mp4 /var/www/wp-content/uploads/2013/12/sample-video-h264-480p-faststart.mp4
https://www.ads-software.com/plugins/video-embed-thumbnail-generator/
]]>I am helping a friend out with videos –
https://joshjordan.info/portfolio/breakthru-music-video/
The player works with the default WP player, but breaks in FF because of h264 issue I presume…
The other players generate tiny thumbnails in the POST (full size) page.
is there a source of info for configuring ffmpeg or something for a fallback?
I don’t think it’s a big deal and it will *solve itself* but hey, why settle?
Cheers
Aaron
https://www.ads-software.com/plugins/video-embed-thumbnail-generator/
]]>Thing is, these videos are straight out of iTunes. At first, I tried preparing them myself. When that didn’t work, I imported the videos into iTunes and then had iTunes create an iPhone version of the video, so that I could verify that this was in fact a valid format. The videos play great inside iTunes on the iPhone, but they won’t load in the web page.
Any suggestions would be greatly appreciated. Thanks
Additional notes: wp3.4.1 multisite with Buddypress 2.6
Image upload works OK, H.264 fails
I’ve tried to gather from documentation if Kaltura Community Edition (CE) is still required with BuddyPress Media Component v2.0 but I cannot find any concise documentation for this latest version. *I do not get any Kaltura partner fields in wp-admin/network/admin.php?page=bp-media-settings
https://www.ads-software.com/extend/plugins/buddypress-media/
]]>First post so please be kind.
Background Info
—————
I’m searching for a fairly advanced solution to a Client Portal. Essentially the purpose of the client portal is to take television production companies to an individual page with a Quicktime embed. This allows the client to watch latest edits.
Sometimes the client companies have multiple projects being edited so each project needs it’s own login details, as well as page. Some clients within the same company should only be able to see their own edits.
Currently I’m using WishList Member however this requires far too many complicated steps for the Post Production staff to be able to run on their own. I think the best option would be a front end upload page that would create the client user, password, page, upload and quicktime embed. This could be in the shape of a form.
Requirements
————
1. Client must require login, which directs them straight to their Quicktime (QT) page.
2. Staff must be able to upload and create usernames/roles from ideally one page.
3. The uploaded QTs (always H.264 MOVs 705×405) must be able to be embedded within the page as a part of the upload process.
4. The client must only be able to see their own page and no others.
5. Staff must be able to delete old pages. (I can handle deleting media).
Summary
———-
So that’s the gist of it. Any questions do feel free to get in-touch either directly or via this thread. I’m also asking WishList about how to do this within their product.
It appears the video is being resized….
The Podpress player is letterboxing my video on the right and left sides…if you were to measure the ENITRE video playing window (by which I mean including the player control bar at the bottom and the two “letterboxing” bars on the right and left side) it would measure very close to 480 x 270.
I am wondering if you need to increase your dimensions in the Dimensions (WxH): box in order to accommodate the space needed for the player? I entered 480×270 because that’s my video’s dimensions but now I have the letterboxing which I don’t want and the actual video is smaller than I wanted because the letterboxing on the right and left and the player control bar at the bottom are taking up space.
]]>