Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Video not showing

  1. #1
    Join Date
    Aug 2007
    Posts
    19

    Default Video not showing

    Hello, I took the time to read some other posts before making my own. My video is not showing, and not converting to flv.

    I tried running the following command on my server, and I received a response. Please read:

    sh-3.00$ /usr/local/bin/ffmpeg -i /var/www/vhosts/emusicmajors.com/subdomains/videos/htt
    pdocs/video/DuckLanding.MOV -acodec mp3 -ar 22050 -ab 32 -f flv /var/www/vhosts/emusicmaj
    ors.com/subdomains/videos/httpdocs/flvideo/DuckLanding.flv
    FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --e
    nable-shared
    libavutil version: 49.5.0
    libavcodec version: 51.41.0
    libavformat version: 51.12.2
    built on Aug 21 2007 18:23:24, gcc: 3.4.6 20060404 (Red Hat 3.4.6-8)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/emusicmajors.com/subdomains/vide
    os/httpdocs/video/DuckLanding.MOV':
    Duration: 00:00:02.8, start: 0.000000, bitrate: 8066 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 30.00 fps(r)
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, 64 kb/s
    Unknown encoder 'mp3'

  2. #2
    Join Date
    Aug 2007
    Posts
    19

    Default Also

    My video player looks weird (notice the play button):


  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    My stuff is working but yeah, I got the same weird play button too. I thought maybe I needed a stronger prescription for my glasses...

    But the player is OK now, like it fixed itself.
    If it's not fun, stop doing it!

  4. #4
    Join Date
    Aug 2007
    Posts
    19

    Default Videos not showing

    Hi, thank you for your suggestions. I changed the file and tried the command again. Here is what it says:

    -sh-3.00$ /usr/local/bin/ffmpeg -i /var/www/vhosts/emusicmajors.com/subdomains/videos/htt
    pdocs/video/DuckLanding.MOV -acodec mp3 -ar 22050 -ab 32 -f flv /var/www/vhosts/emusicmaj
    ors.com/subdomains/videos/httpdocs/flvideo/DuckLanding.flv
    FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --e
    nable-shared
    libavutil version: 49.5.0
    libavcodec version: 51.41.0
    libavformat version: 51.12.2
    built on Aug 21 2007 18:23:24, gcc: 3.4.6 20060404 (Red Hat 3.4.6-8)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/emusicmajors.com/subdomains/vide
    os/httpdocs/video/DuckLanding.MOV':
    Duration: 00:00:02.8, start: 0.000000, bitrate: 8066 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 30.00 fps(r)
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, 64 kb/s
    Unknown encoder 'mp3'

    Any other suggestions?




    Quote Originally Posted by twhiting9275
    Unknown encoder 'mp3'
    This is the problem here ;)
    in includes/settings/video_conversion.php
    change
    Code:
    $cmd_ffmpeg = "$config[ffmpeg] -i $video_src -acodec mp3 -f flv -b 700000 $video_flv";
    to
    Code:
    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -y -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";
    ffmpeg doesn't include an mp3 encoder. Using libmp3lame instead of mp3 codec should resolve this

  5. #5
    Join Date
    Aug 2007
    Posts
    19

    Default That converted, but it won't play...

    Hi, thanks for taking the time to respond. I tried that command, the video did convert. However, it still won't play on the site or automatically convert to flv, I am not sure of the reason why.

    I changed the video_conversion.php file as requested:

    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -y -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";

    The following is the successful command:

    -sh-3.00$ /usr/local/bin/ffmpeg -i /var/www/vhosts/emusicmajors.com/subdomains/videos/htt
    pdocs/video/DuckLanding_4.MOV -acodec libmp3lame -ar 22050 -ab 32 -f flv /var/www/vhosts/
    emusicmajors.com/subdomains/videos/httpdocs/flvideo/DuckLanding_4.flv
    FFmpeg version SVN-r10178, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --e
    nable-shared
    libavutil version: 49.5.0
    libavcodec version: 51.41.0
    libavformat version: 51.12.2
    built on Aug 21 2007 18:23:24, gcc: 3.4.6 20060404 (Red Hat 3.4.6-8)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/emusicmajors.com/subdomains/vide
    os/httpdocs/video/DuckLanding_4.MOV':
    Duration: 00:00:02.8, start: 0.000000, bitrate: 8066 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 30.00 fps(r)
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, 64 kb/s
    Output #0, flv, to '/var/www/vhosts/emusicmajors.com/subdomains/videos/httpdocs/flvideo/D
    uckLanding_4.flv':
    Stream #0.0(eng): Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 30.00 fps(c)
    Stream #0.1(eng): Audio: libmp3lame, 22050 Hz, mono, 0 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    [flv @ 0xb7e53390]removing common factors from framerate
    Press [q] to stop encoding
    frame= 84 fps= 24 q=31.0 Lsize= 433kB time=2.8 bitrate=1266.7kbits/s
    video:418kB audio:11kB global headers:0kB muxing overhead 0.767313%

  6. #6
    Join Date
    Aug 2007
    Posts
    19

    Default Update

    Hi, I checked the debug.txt file and I believe the problem is here, and a solution with your help. Please read on:


    2007-08-27 7:33:52 Upload Finished

    2007-08-27 7:33:52 Video (7) Conversion starting...

    2007-08-27 7:33:52 File: /var/www/vhosts/emusicmajors.com/subdomains/videos/httpdocs/video/DuckLanding_4.MOV

    2007-08-27 7:33:52 -------------------------------------------------------------

    2007-08-27 7:33:52 INSERT INTO video SET
    UID='1',
    title='Interesting',
    description='interesting',
    keyword='ducks',
    channel='0|9|12|13|0',
    space = '3',
    addtime='1188218032',
    adddate='2007-08-27',
    vkey='610080363',
    type='public',
    active='0',
    approve='1'

    2007-08-27 7:33:52 -------------------------------------------------------------

    2007-08-27 7:33:52 Video id: 7

    2007-08-27 7:33:52 Calling ffmpeg-php -> ffmpeg_movie()

    2007-08-27 7:33:52 Get video duration - START

    2007-08-27 7:33:52 Get video duration - END

    2007-08-27 7:33:52 DURATION: 2.8

    2007-08-27 7:33:52 Create Thumbnail - START

    2007-08-27 7:33:53 Create Thumbnail - END

    2007-08-27 7:33:53 CONVERT COMMAND:

    /usr/local/bin/mencoder '/var/www/vhosts/emusicmajors.com/subdomains/videos/httpdocs/video/DuckLanding_4.MOV' -o /var/www/vhosts/emusicmajors.com/subdomains/videos/httpdocs/flvideo/1188218033207481102.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es



    2007-08-27 7:33:53 -------------------------------------------------------------

    2007-08-27 7:33:53 MEncoder dev-SVN-r24115-3.4.6 (C) 2000-2007 MPlayer Team

    CPU: Dual Core AMD Opteron(tm) Processor 275 (Family: 15, Model: 33, Stepping: 2)

    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1

    Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


    MPlayer was compiled without libmp3lame support.


    Exiting... (error parsing command line)


    2007-08-27 7:33:53 -------------------------------------------------------------

    2007-08-27 7:33:53 Return value: Exiting... (error parsing command line)

    2007-08-27 7:33:53 Calling process_video[7,0]

  7. #7
    Join Date
    May 2007
    Posts
    588

    Default

    MPlayer was compiled without libmp3lame support.

    there is your error

    to fix compile MPlayer with libmp3lame

    http://forums.theplanet.com/index.php?s ... 64541&st=0

  8. #8
    Join Date
    Aug 2007
    Posts
    19

    Default That worked

    Hi, thanks for everybody's help in solving this problem. I had somebody help me fix the above mentioned, now it works properly. :-)

  9. #9
    Join Date
    Jul 2007
    Posts
    169

    Default Re: Also

    Quote Originally Posted by micah
    My video player looks weird (notice the play button):

    I am getting the same thing -- but only with a few users that upload.. I can upload vids fine with my test account. Whats the resolution here? I read the posts, but Im not sure what it all measn or what to do.
    SPEED UP YOUR VSHARE SITE!
    Speed up your vshare site by "offloading" your images and video thumbs!
    Just visit http://offload.limbar.com for details.

  10. #10
    Join Date
    May 2007
    Posts
    588

    Default

    @browniegirl

    basically the video conversion failed, this could be due to many reasons.

Page 1 of 2 12 LastLast

Similar Threads

  1. Showing Video Page Ads
    By airvidsnet in forum Template Modifications
    Replies: 6
    Last Post: 11-24-2008, 05:39 PM
  2. Video not showing?
    By polog in forum Installation Support
    Replies: 5
    Last Post: 10-13-2008, 05:11 PM
  3. Video not showing
    By tax in forum Installation Support
    Replies: 12
    Last Post: 12-11-2007, 12:39 PM
  4. Video Not showing up...
    By Rodrod in forum General Discussions
    Replies: 1
    Last Post: 09-05-2007, 08:47 AM
  5. Video not showing
    By mattg in forum Installation Support
    Replies: 15
    Last Post: 07-14-2007, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •