Recent Updates Page 2 Toggle Comment Threads | Keyboard Shortcuts

  • sohelnetbd 2:03 pm on June 20, 2010 Permalink | Reply  

    I found the following error lines are quoted from /ffmpeg/libavfilter/vsrc_buffer.c file

    “Buffering several frames is not supported. Please consume all available frames before adding a new one.”

    But transcoding completes succesffully if done from command line by changing the following line in video-verify-ffmpeg.php. There is no buffer related issue.

    $video_url = “/root/Quakecon.wmv”;

    php video-verify-ffmpeg.php

    Why is it getting buffer related problem when transcoding through WPMU site.

    Adding the error logs again below

    [buffer @ 0x8e8a4b0]Buffering several frames is not supported. Please consume all available frames before adding a new one.
    frame= 1 fps= 0 q=4.8 Lsize= 15kB time=1.00 bitrate= 126.4kbits/s its/s
    video:15kB audio:0kB global headers:0kB muxing overhead 0.000000%

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] final_touch=http://dsvideo.dhaka.vantage.com/wp-content/plugins/video/video-finaltouch.php?blog=dsvideo.dhaka.vantage.com&post_id=9

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] PHP Warning: POST Content-Length of 10359818
    bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://dsvideo.dhaka.vantage.com

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] video ROW DOES NOT EXIST: sql = SELECT * FROM videos WHERE blog_id=0 AND post_id=0, referer: http://dsvideo.dhaka.vantage.com

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] finaltouch:video(blog:, post:): error_auth_with_fileserver , referer: http://dsvideo.dhaka.vantage.com

    [Sun Jun 20 23:59:03 2010] [error] [client 10.0.0.45] video(blog:1, post:9): fmt_std sending to http://dsvideo.dhaka.vantage.com/wp-content/plugins/video/video-finaltouch.php?blog=dsvideo.dhaka.vantage.com&post_id=9 failed: sending_to_fileserver

    [Sun Jun 20 23:59:03 2010] [error] [client 10.0.0.45] video(blog:1, post:9): fmt_std error_cannot_sendto_fileserver

    Please help.

    Thanks

     
  • sohelnetbd 12:47 pm on June 20, 2010 Permalink | Reply  

    Also getting the following logs

    Press [q] to stop encoding
    [buffer @ 0x91e54b0]Buffering several frames is not supported. Please consume all available frames before adding a new one.
    frame= 1 fps= 0 q=4.8 Lsize= 15kB time=1.00 bitrate= 126.4kbits/s its/s
    video:15kB audio:0kB global headers:0kB muxing overhead 0.000000%

     
  • sohelnetbd 12:24 pm on June 20, 2010 Permalink | Reply  

    I got the following apache error log while uploading a wmv file

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] final_touch=http://dsvideo.dhaka.vantage.com/wp-content/plugins/video/video-finaltouch.php?blog=dsvideo.dhaka.vantage.com&post_id=9

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] PHP Warning: POST Content-Length of 10359818 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://dsvideo.dhaka.vantage.com

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] video ROW DOES NOT EXIST: sql = SELECT * FROM videos WHERE blog_id=0 AND post_id=0, referer: http://dsvideo.dhaka.vantage.com

    [Sun Jun 20 23:58:58 2010] [error] [client 10.0.0.45] finaltouch:video(blog:, post:): error_auth_with_fileserver , referer: http://dsvideo.dhaka.vantage.com

    [Sun Jun 20 23:59:03 2010] [error] [client 10.0.0.45] video(blog:1, post:9): fmt_std sending to http://dsvideo.dhaka.vantage.com/wp-content/plugins/video/video-finaltouch.php?blog=dsvideo.dhaka.vantage.com&post_id=9 failed: sending_to_fileserver

    [Sun Jun 20 23:59:03 2010] [error] [client 10.0.0.45] video(blog:1, post:9): fmt_std error_cannot_sendto_fileserver

    Please give me some clue.

    Thanks

     
  • angeloverona 5:29 pm on June 14, 2010 Permalink | Reply  

    Add support for video VP8 with Vorbis audio and file format WebM!

     
  • dsreed 10:12 pm on May 6, 2010 Permalink | Reply  

    Has anyone successfully been able to use the wordpress video solution framework with the new WP 3 beta? Now that WPMU and WP are being merged, what changes do we need to make to install the framework?

     
  • netunique 6:48 am on April 24, 2010 Permalink | Reply  

    WordPressMU and VideoPress installed “successfully”. After solving a database problem today, I was successful at uploading video/avi to my Media Library and observed for the first time that my media file was being processed by the transcoder. This 3.6M file was to take ~ 7hrs to transcode. It never finished. It’s been nearly 12 hours and the interface reports the file will be ready in about “a couple of minutes”. It’s been in this state for nearly 5 hours.

    The media file page would auto refresh automatically only once during transcoding. Above the video preview area and below the shortcode for embedding would appear this error message: Warning: filesize() [function.filesize]: stat failed for /var/www/wp-content/blogs.dir/1/files/2010/04/Wheres_Nathan.avi in /var/www/wp-content/mu-plugins/video.php on line 258. I’m only guessing that the purpose of the filesize() function might be to determine either the presence of the file in the directory at all, or to maybe determine progress based on file size during transcoding, but I’m just guessing because I really don’t know for sure. If I manually refreshed the page, I’d see that the transcoding time was counting down and seemed to be making progress.

    Notice the error message above is for blog 1 (blogs.dir/1/files/). The problem with this is that I uploaded the video through the blog 4 admin interface / media library and accordingly, the file actually existed on disk in this location: /var/www/wp-content/blogs.dir/4/files/2010/04/Wheres_Nathan.avi. So I made a copy of this file and put it here: /var/www/wp-content/blogs.dir/1/files/2010/04/Wheres_Nathan.avi to see if this error message would go away. This did cause the error message to go away, but I have no idea why the script is looking for the file in the blog 1 folder structure when it was posted to the blog 4 file structure. I subsequently removed the file and the error message returned.

    Due to the slow nature of the transcoding, I automatically figured something was wrong. Upon installing VideoPress, the instructions ask you to run video-verify-ffmpeg.php. This script ran without issue, downloaded the baby.wmv and transcoded the ~360k file in about 5 seconds. Doing the math, a 3.6M file should take about 10 times longer to transcode, or 50 seconds. Of course I’m not accounting for the fact that it might take longer to transcode .avi than .wmv… I have no idea. I’m not an ffmpeg/video expert, but 7 hours definitely seems way to long considering ffmpeg is supposed to be a very fast and efficient transcoding engine.

    I reran video-verify-ffmpeg.php and same results, 360k file in about 5 seconds. So I downloaded the same baby.wmv file from here: http://hailin.files.wordpress.com/2008/07/baby.wmv, then attempted to upload this through blog 4 media library. It showed up in the proper directory (blogs.dir/4/files) on disk and said it would take approximately 7 hours to transcode, even though the video-verify-ffmpeg.php was able to transcode the same file in about 5 seconds. The error message appeared again looking for the file in (blogs.dir/1/files) even though I uploaded through the blog 4 administrative interface.

    The final test was to try to upload baby.wmv through the main site (blog 1) administrative interface. The file showed up on disk in the proper folder (blogs.dir/1/files), no error message appeared, and the file reported it would take 7 hours to transcode.

    Sorry for the long post. I figured more detail would be best. I suspect I’m having more than one problem here. I really don’t know what to do because I’m new to ffmpeg, the VideoPress script, and while I’m comfortable editing some amount of PHP files, I’m by no means a PHP programmer.

    If anyone can help me resolve this, I would be very grateful. Thanks in advance for your help.

     
    • Joshua Parker 3:20 am on April 25, 2010 Permalink | Reply

      @netunique, usually when it is looking at the wrong blog id when trying to transcode, it means that some settings are off in your video-config.php file. Did you happen to change any settings in that file. They all should be get _option(‘siteurl’) or something like that, so that it would choose the right blog id for transcoding, moving, and serving files.

      • netunique 5:54 pm on April 25, 2010 Permalink | Reply

        @Joshua – Thanks for your reply. I decided to completely reinstall wordpressmu and videopress. I removed all files including .htaccess from /var/www, dropped my wordpress database and associated tables for videopress, and cleared my apache2/error.log so I could watch the log for errors step by step.

        I restarted the web server and got this:

        [Sun Apr 25 10:07:42 2010] [notice] Apache/2.2.12 (Ubuntu) PHP/5.2.10-2ubuntu6.4 with Suhosin-Patch mod_ssl/2.2.12 OpenSSL/0.9.8g configured — resuming normal operations

        Using phpmyadmin I created my wordpress database and got no errors. I created a user with full access to the database and got no errors. I then clicked SQL tab inside that database to create the ‘videos’ table and got this:

        [Sun Apr 25 10:29:14 2010] [error] [client 127.0.0.1] File does not exist: /usr/share/phpmyadmin/js/mootools.js, referer: http://localhost.localdomain/phpmyadmin/db_structure.php?db=wordpressmu&token=c5e801f4254f8bfbdde94805702d903a

        I then ran the commands found in this file (http://code.trac.wordpress.org/browser/wordpresscom-video-server/trunk/server/setup/videos-table.txt) to create the ‘videos’ table and I got this:

        Your SQL query has been executed successfully
        [Sun Apr 25 10:33:42 2010] [error] [client 127.0.0.1] File does not exist: /usr/share/phpmyadmin/js/mootools.js, referer: http://localhost.localdomain/phpmyadmin/import.php
        [Sun Apr 25 10:33:42 2010] [error] [client 127.0.0.1] File does not exist: /usr/share/phpmyadmin/js/mootools.js, referer: http://localhost.localdomain/phpmyadmin/import.php

        I then copied all appropriate wordpress/videopress files into /var/www with proper permissions and went to http://127.0.0.1 with my web browser for wordpressmu setup. All went perfectly smooth in the wordpressmu setup wizard from the perspective of my web browser, but I get the following errors:

        [Sun Apr 25 10:39:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_blogs’ doesn’t exist for query SELECT * FROM wp_blogs WHERE domain = ‘127.0.0.1’ AND path = ‘/’ made by require, include, include_once, require_once, require_once, referer: http://127.0.0.1/
        [Sun Apr 25 10:39:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE site_id = 1 AND meta_key = ‘site_name’ made by require, include, include_once, require_once, require_once, get_current_site_name, referer: http://127.0.0.1/
        [Sun Apr 25 10:39:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_blogs’ doesn’t exist for query SELECT blog_id FROM wp_blogs LIMIT 0,1 made by require, include, include_once, require_once, require_once, referer: http://127.0.0.1/
        [Sun Apr 25 10:39:25 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘wpmu_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, get_site_option, referer: http://127.0.0.1/
        [Sun Apr 25 10:39:25 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘active_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, apply_filters, call_user_func_array, mu_filter_plugins_list, get_site_option, referer: http://127.0.0.1/

        I checked the database and the wp_blogs and wp_sitemeta tables do exist in my wordpress database, so I’m not exactly sure why I’m getting these errors.

        Then I edit my video-config.php file with all appropriate settings and I’m able to log into wordpressmu front end without a problem. I go straight to media uploads and upload baby.wmv. No error appears between the shortcode and video preview area as before. This time it says .wmv will be ready in a few minutes, but it stays there for at least 10 minutes and nothing happens. The baby.wmv is in the proper location on disk and I get this in the error log:

        [Sun Apr 25 10:41:47 2010] [error] [client 127.0.0.1] cmd=/usr/local/bin/php /var/www/wp-content/plugins/video/video-upload.php http://localhost.localdomain/wp-content/blogs.dir/1/files/2010/04/baby.wmv 1 3 DATACENTER http://localhost.localdomain/wp-content/plugins/video/video-transcoder.php > /dev/null 2>&1 &

        Seems I have some unexplained errors or I’m just not smart enough to figure out why I’m having these problems. Thanks again for your help.

      • netunique 12:28 am on April 26, 2010 Permalink | Reply

        UPDATE:
        It seems my distribution package for phpmyadmin doesn’t install the mootools.js file in the proper location. I was able to resolve that problem with:
        sudo ln -s /usr/share/javascript/mootools/mootools.js /usr/share/phpmyadmin/js/mootools.js

        I thought maybe this was preventing something from occurring properly during the wordpressmu database build/install, so I rebuilt but wound up with the same errors about database tables not existing. The only difference is the referrer… when installing wordpress mu I used ‘localhost.localdomain’ for the database location rather than the default ‘localhost’. All other behavior is exactly as posted above in regards to the media library after installation.

        Here is my error log at this point:
        [Sun Apr 25 16:53:37 2010] [notice] Apache/2.2.12 (Ubuntu) PHP/5.2.10-2ubuntu6.4 with Suhosin-Patch mod_ssl/2.2.12 OpenSSL/0.9.8g configured — resuming normal operations

        Web server started fine.

        [Sun Apr 25 16:57:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_blogs’ doesn’t exist for query SELECT * FROM wp_blogs WHERE domain = ‘localhost.localdomain’ AND path = ‘/’ made by require, include, include_once, require_once, require_once, referer: http://localhost.localdomain/

        This information is in the database, I checked. It’s selecting * from this row in the database. There are a number of values it’s trying to pull.

        [Sun Apr 25 16:57:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE site_id = 1 AND meta_key = ‘site_name’ made by require, include, include_once, require_once, require_once, get_current_site_name, referer: http://localhost.localdomain/

        This information is in the database, I checked. The meta_value this query is trying to select turns out to be the “site name” of my site as entered during WPMU installation.

        [Sun Apr 25 16:57:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_blogs’ doesn’t exist for query SELECT blog_id FROM wp_blogs LIMIT 0,1 made by require, include, include_once, require_once, require_once, referer: http://localhost.localdomain/

        This value exists in the database, I checked. The value of “blog_id” = 1.

        [Sun Apr 25 16:57:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘wpmu_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, get_site_option, referer: http://localhost.localdomain/

        The meta_key “wpmu_sitewide_plugins” does not exist and therefore no value would be returned from this query. I’m certain this is not my fault… seems like this would be a problem with WPMU installation as far as putting some values into the database.

        [Sun Apr 25 16:57:24 2010] [error] [client 127.0.0.1] WordPress database error Table ‘wordpressmu.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘active_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, apply_filters, call_user_func_array, mu_filter_plugins_list, get_site_option, referer: http://localhost.localdomain/

        The meta_key “active_sitewide_plugins” does not exist and therefore no value would be returned from this query. I’m certain this is not my fault… seems like this would be a problem with WPMU installation as far as putting some values into the database.

        [Sun Apr 25 16:58:38 2010] [error] [client 127.0.0.1] cmd=/usr/local/bin/php /var/www/wp-content/plugins/video/video-upload.php http://localhost.localdomain/wp-content/blogs.dir/1/files/2010/04/baby.wmv 1 3 DATACENTER http://localhost.localdomain/wp-content/plugins/video/video-transcoder.php > /dev/null 2>&1 &

        Looks like the VideoPress recognizing my upload of baby.wmv and passing it to the transcoder to me.

  • Jose Conti 6:27 pm on April 19, 2010 Permalink | Reply
    Tags: ffpmeg + iphone +mod_rewrite +files   

    ffmpeg for iPhone and problem with the folder name “files” 

    Hi, to all people

    I made a lot of test about to stream on iPhone.

    This is the best configuration (for me):

    /usr/local/bin/ffmpeg -y -i VIDEOIN -v 1 -threads 1 -vcodec libx264 -b 300k -r 15 -bt 175k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 6 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq ‘blurCplx^(1-qComp)’ -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 768k -bufsize 2M -cmp 1 -s 480×320 -acodec libfaac -profile aac_low -ab 64k -ar 22050 -ac 2 -f mp4 VIDEOOUT.mp4

    Now, the big problem.

    iPhone, has a problema with the mod_rewrite.

    The path for the video is, domain.com/files/year/month/namefile

    Or

    Domain.com/wp-content/blogs.dir/1/files/year/month/namefile

    There are a problem with the folder name “FILES”

    I donnot know why, but, If I change the folder name for some other, there aren’t problems for stream the videos on iPhone.

    With the folder name “files”, iPhone never find the video.

    What happens with this folder on mod_rewrite and iPhone??

    Thank you

     
    • darkeorc 9:30 am on April 20, 2010 Permalink | Reply

      Ok,

      More,

      If you go to http://www.joseconti.com/2010/04/13/peliculas-creative-commons-el-futuro-de-internet/ with PC browser, you will see the video frame work flash player.

      Now, use an iPhone

      You will see a embed video for iPhone.

      The fist one, use the standard path (iPhone donnot find video):

      /wp-content/blogs.dir/1/files/2010/04/

      The second one, use another path (is using /file/ instead of /files/:

      /wp-content/blogs.dir/1/file/2010/04/

      Any idea?

      May be iPhone bug?

    • darkeorc 9:44 am on April 20, 2010 Permalink | Reply

      For easy link to post:

      http://wp.me/ptMDO-6I

    • darkeorc 3:08 pm on April 25, 2010 Permalink | Reply

      Ok, I fixed the problem.

      this is the standard #uploaded files on .htaccess:

      [php]
      RewriteRule ^(.*/)?files/$ index.php [L]
      RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
      RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
      [/php]

      I add 2 lines to .htaccess:

      [php]
      RewriteCond %{REQUESR_URI} !.*_iphone.mp4$
      RewriteCond %{HTTP_USER_AGENT} !iPhone
      [/php]

      My #uploaded files on .htaccess is now like this:

      [php]
      #uploaded files

      RewriteCond %{REQUESR_URI} !.*_iphone.mp4$
      RewriteCond %{HTTP_USER_AGENT} !iPhone
      RewriteRule ^(.*/)?files/$ index.php [L]

      RewriteCond %{REQUESR_URI} !.*_iphone.mp4$
      RewriteCond %{HTTP_USER_AGENT} !iPhone
      RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
      RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

      [/php]

      Now, WordPRess Video Server May may stream on iPhone 🙂

      Great!

  • vaskenhauri 12:33 pm on April 7, 2010 Permalink | Reply
    Tags: development, , svn   

    Hi all,

    I’ve noticed it’s been a long time since anyone committed to svn for this, but there seems to be a good community of people trying to use the plugin, so I’m wondering if it might be time to move to a Google Code site or something where people could join in active development? I have noticed folks from Automattic posting here occasionally, so maybe you could let us know if there’s any plans at all to continue the open-source development on the video framework or not?

     
    • eins78 2:41 pm on June 6, 2010 Permalink | Reply

      Hi,

      are you still interested in “forking” wp-video? I think it’s a great idea to bundle the efforts of the various people working on this seperately right now. Let’s just do it and get the word out)
      I will be working with several people on our own take on this, so right now it seems that i will set up a repository anyhow.
      (You can contact me at 1(å)eins78.com or comment here)

  • Jim Isaacs 4:47 pm on March 31, 2010 Permalink | Reply  

    Hello, haven’t made a post here in a while and just wanted to say hey and see what’s going on.

    What is happening with the framework in terms of the 3.0 milestone coming up? Is there a trac ticket someone can’t point me to directly?

     
  • Casey 11:36 pm on March 15, 2010 Permalink | Reply
    Tags:   

    Just submitted a small patch to improve functionality on sites where the blogs aren’t at root. Doesn’t solve all the reported problems, but it’s a start and I’m working on the rest of it.

    http://code.trac.wordpress.org/ticket/9

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel