Results 1 to 8 of 8

Thread: error video convert

  1. #1
    Join Date
    Feb 2008
    Posts
    4

    Default error video convert

    Hello,
    video convert say this error, where i have bug?

    Code:
    STARTING VIDEO CONVERSION (process_queue.id = 1)
    
    File: /home/www/intent.cz/www/video/02.mpg
    
    ####################################################
    
    SELECT * FROM `video` WHERE `VID`=1
    
    ####################################################
    
    Video id: 1
    
    Find video duration - START
    
    Duration (ffmpeg-php): 102
    
    DURATION: 01:42
    
    Create Thumbnail - START
    
    Create Thumbnail with ffmpeg-php - END
    
    CONVERT COMMAND: /usr/bin/mencoder '/home/www/intent.cz/www/video/02.mpg' -o /home/www/intent.cz/www/flvideo/12038629351965880780.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup
    
    ####################################################
    
    Array
    (
        [0] => MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2006 MPlayer Team
        [1] => CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (Family: 15, Model: 72, Stepping: 2)
        [2] => CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
        [3] => Compiled with runtime CPU detection.
        [4] => success: format: 0  data: 0x0 - 0x17f2804
        [5] => MPEG-PS file format detected.
        [6] => VIDEO:  MPEG1  720x576  (aspect 8)  25.000 fps  1700.0 kbps (212.5 kbyte/s)
        [7] => [V] filefmt:2  fourcc:0x10000001  size:720x576  fps:25.00  ftime:=0.0400
        [8] => ==========================================================================
        [9] => Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
        [10] => AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
        [11] => Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
        [12] => ==========================================================================
        [13] => 
        [14] => Exiting...
    )
    
    ####################################################
    
    Return value: Exiting...
    
    Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.
    
    Back

    Thank you very much.

  2. #2

    Default

    Edit the video_conversion.php (include/settings)
    Try to use the following command

    Code:
     $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";

  3. #3
    Join Date
    Feb 2008
    Posts
    4

    Default Re: error video convert

    Thank you very much, now is it OK. Your solution is super.

  4. #4
    Join Date
    Dec 2007
    Posts
    20

    Default Re: error video convert

    Hi i need help with the same issue above:

    STARTING VIDEO CONVERSION (process_queue.id = 258)

    File: /home/lebtube/public_html/video/exclusive-vcoders.wmv

    ################################################## ##

    SELECT * FROM `video` WHERE `VID`=274

    ################################################## ##

    Video id: 274

    Find video duration - START

    /usr/bin/ffmpeg -i /home/lebtube/public_html/video/exclusive-vcoders.wmv

    FFmpeg version SVN-r11803, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-shared --enable-libxvid --enable-libvorbis --enable-libfaad --enable-libfaac --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-nonfree
    libavutil version: 49.6.0
    libavcodec version: 51.50.0
    libavformat version: 52.7.0
    libavdevice version: 52.0.0
    built on Feb 2 2008 01:45:33, gcc: 4.1.2 20070626 (Red Hat 4.1.2-14)

    Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
    Input #0, asf, from '/home/lebtube/public_html/video/exclusive-vcoders.wmv':
    Duration: 00:05:09.1, start: 5.000000, bitrate: 449 kb/s
    Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 64 kb/s
    Stream #0.1: Video: wmv2, yuv420p, 320x240 [PAR 0:1 DAR 0:1], 636 kb/s, 30.00 tb(r)
    Must supply at least one output file

    Duration (ffmpeg): 309

    DURATION: 05:09

    Create Thumbnail - START
    Creating Thumbnail with ffmpeg

    /home/lebtube/public_html/thumb/274.jpg

    /usr/bin/ffmpeg -i /home/lebtube/public_html/video/exclusive-vcoders.wmv -ss 00:04:05 -t 00:00:01 -s 320x240 -r 1 -f mjpeg /home/lebtube/public_html/thumb/274.jpg

    /home/lebtube/public_html/thumb/1_274.jpg

    /usr/bin/ffmpeg -i /home/lebtube/public_html/video/exclusive-vcoders.wmv -ss 00:03:46 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/lebtube/public_html/thumb/1_274.jpg

    /home/lebtube/public_html/thumb/2_274.jpg

    /usr/bin/ffmpeg -i /home/lebtube/public_html/video/exclusive-vcoders.wmv -ss 00:02:09 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/lebtube/public_html/thumb/2_274.jpg

    /home/lebtube/public_html/thumb/3_274.jpg

    /usr/bin/ffmpeg -i /home/lebtube/public_html/video/exclusive-vcoders.wmv -ss 00:03:13 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/lebtube/public_html/thumb/3_274.jpg

    Create Thumbnail with ffmpeg - END

    CONVERT COMMAND: /usr/bin/mencoder '/home/lebtube/public_html/video/exclusive-vcoders.wmv' -o /home/lebtube/public_html/flvideo/1206494482900918653.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 -ofps 24 -vf harddup

    ################################################## ##

    Array
    (
    [0] => MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
    [1] => CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)
    [2] => CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    [3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    [4] =>
    [5] => success: format: 0 data: 0x0 - 0x108e1c2
    [6] => ASF file format detected.
    [7] => VIDEO: [WMV2] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
    [8] => [V] filefmt:6 fourcc:0x32564D57 size:320x240 fps:30.00 ftime:=0.0333
    [9] => ================================================== ========================
    [10] => Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    [11] => AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
    [12] => Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
    [13] => ================================================== ========================
    [14] =>
    [15] => Exiting...
    )

    ################################################## ##

    Return value: Exiting...

    Running flvtool2: /usr/bin/flvtool2 -U /home/lebtube/public_html/flvideo/1206494482900918653.flv

    Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.
    I added the line what buyscripts posted, but nothing changed!!!

    $cmd_mencoder = "$config[mencoder] '$video_src' -o $video_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";

  5. #5

    Default

    If you can PM your login details.I can check and let you why you are having problem with video conversion

  6. #6
    Join Date
    May 2008
    Posts
    9

    Default Re: error video convert

    Also tried the solution posted above but doesnt work my output is:


    error message:
    STARTING VIDEO CONVERSION (process_queue.id = 15)


    --------------------------------------------------------------------------------

    File: /var/www/video/pic_0001.avi

    ################################################## ##

    SELECT * FROM `video` WHERE `VID`=13

    ################################################## ##

    Video id: 13

    Find video duration - START

    /usr/bin/ffmpeg -i /var/www/video/pic_0001.avi

    FFmpeg version SVN-r13067, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-shared --enable-libxvid --enable-libvorbis --enable-libmp3lame --enable-gpl --enable-libfaac --enable-libfaad --enable-liba52
    libavutil version: 49.6.0
    libavcodec version: 51.56.0
    libavformat version: 52.13.0
    libavdevice version: 52.0.0
    built on May 6 2008 10:48:22, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
    Input #0, avi, from '/var/www/video/pic_0001.avi':
    Duration: 00:00:17.79, start: 0.000000, bitrate: 1731 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 15.23 tb(r)
    Stream #0.1: Audio: pcm_mulaw, 11025 Hz, mono, 88 kb/s
    Must supply at least one output file
    Duration (ffmpeg): 17


    DURATION: 00:17

    Create Thumbnail - START

    Creating Thumbnail with ffmpeg
    /var/www/thumb/13.jpg

    /usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:16 -t 00:00:01 -s 320x240 -r 1 -f mjpeg /var/www/thumb/13.jpg
    /var/www/thumb/1_13.jpg

    /usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:16 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /var/www/thumb/1_13.jpg
    /var/www/thumb/2_13.jpg

    /usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:07 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /var/www/thumb/2_13.jpg
    /var/www/thumb/3_13.jpg

    /usr/bin/ffmpeg -i /var/www/video/pic_0001.avi -ss 00:00:10 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /var/www/thumb/3_13.jpg
    Create Thumbnail with ffmpeg - END

    CONVERT COMMAND: /usr/bin/mencoder '/var/www/video/pic_0001.avi' -o /var/www/flvideo/12100979761985721032.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 -ofps 24 -vf harddup

    ################################################## ##

    Array
    (
    [0] => MEncoder dev-SVN-r26674-4.1.2 (C) 2000-2008 MPlayer Team
    [1] => CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 4)
    [2] => CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    [3] => Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    [4] =>
    [5] => success: format: 0 data: 0x0 - 0x3ac448
    [6] => AVI file format detected.
    [7] => [aviheader] Video stream found, -vid 0
    [8] => [aviheader] Audio stream found, -aid 1
    [9] => VIDEO: [MJPG] 320x240 24bpp 15.228 fps 1643.2 kbps (200.6 kbyte/s)
    [10] => [V] filefmt:3 fourcc:0x47504A4D size:320x240 fps:15.228 ftime:=0.0657
    [11] => ================================================== ========================
    [12] => Opening audio decoder: [alaw] aLaw/uLaw audio decoder
    [13] => AUDIO: 11025 Hz, 1 ch, s16le, 88.2 kbit/50.00% (ratio: 11025->22050)
    [14] => Selected audio codec: [ulaw] afm: alaw (uLaw)
    [15] => ================================================== ========================
    )

    ################################################## ##

    Return value: ================================================== ========================

    Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.


    hope you can help me out too.

    Little update. when i command line i get the following error:

    mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup
    MEncoder dev-SVN-r26674-4.1.2 (C) 2000-2008 MPlayer Team
    CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 4)
    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

    success: format: 0 data: 0x0 - 0x3ac448
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO: [MJPG] 320x240 24bpp 15.228 fps 1643.2 kbps (200.6 kbyte/s)
    [V] filefmt:3 fourcc:0x47504A4D size:320x240 fps:15.228 ftime:=0.0657
    ================================================== ========================
    Opening audio decoder: [alaw] aLaw/uLaw audio decoder
    AUDIO: 11025 Hz, 1 ch, s16le, 88.2 kbit/50.00% (ratio: 11025->22050)
    Selected audio codec: [ulaw] afm: alaw (uLaw)
    ================================================== ========================
    ** MUXER_LAVF ************************************************** ***************
    REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
    INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
    will play these INCORRECT files as if nothing were wrong!
    ************************************************** *****************************
    Segmentation fault

  7. #7
    Join Date
    Sep 2008
    Location
    Germany - Deutschland
    Posts
    90

    Default Re: error video convert

    My problem with .AVI files is even worse ...
    I don't even receive any error messages.

    When I process an .avi file from within the admin panel, the status of the file turns into: Convert Started ... at least those are the two words that appear there. Nothing else. No error or anything else, not for 5 minutes, not for 30 minutes, not ever. And the files that I'm using are relatively small ranging in size from 4 MB to slightly under 20 MB. Importing from folder import didn't work and neither did the same file after uploading from a user account within the vshare utube clone. Oddly enough, the files do show up in VIDEO (but won't work or show up on the site) and they do NOT show up in the flvideo folder. Again, I'm talking about .AVI files.

    It shouldn't be a permissions issue since the folder and files are set to 777. Files like .WMV and .MOV appear to be working fine since I do receive the "convert again" message in the queue. The .MPG files appear to work fine as well.

    Why do files have to be converted in the first place? I don't understand this at all. When I enter sites like utube in the USA or clipfish in Europe, I can upload a file and see it working within a couple of minutes after the upload is finished. Even files as large as 62 MB (my largest upload). Do all of the files have to be processed manually? If so, why can't they be made to work like on other clip portals? We have a server that's designated strictly to our domain and that machine has a 64 bit Debian OS with 64 bit AMD 6000+ CPU and 8 GB of Ram. Newest PHP and SQL. The machine is clearly not the problem. Any advice or helpful words of wisdom would be sincerely appreciated. Thank you.
    .
    EinfachClicken - Family friendly, Fast, Fun, Informative
    Videoportal: http://www.meineclipshow.einfachclicken.de/
    Freebie Flashgames: http://www.megaspass.einfachclicken.de/
    GERMAN HOMEPAGE - http://www.einfachclicken.de/ TONS of FREE STUFF in over 40.000 files.

  8. #8
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: error video convert

    You have to convert the files so that they can play in the Flash player (FLV stands for Flash Video). The same thing happens when you visit sites like YouTube (in fact, more happens as the file gets converted into multiple formats, not just Flash Video). The difference, however, between YouTube and your site is that while you may have a powerful server (without the S) dedicated for your site, people like YouTube have servers (with an S) that are dedicated to just converting video. Further, people like YouTube use different software to convert the video (whereas we are limited to open-source free software such as mplayer/mencoder and ffmpeg, although YouTube probably used them as well at some point).

    AVI files are probably going to be the biggest problem to encode. Unlike WMV (which are Windows Media Videos) and MOV (which are Quicktime Movies) which are specific formats, AVI's are not anything in particular (AVI stands for Audio Video Interleaved). Rather, AVI is what is known as a container format. This means that any audio or video format can be called an AVI (and be given an extension of .avi). While a large portion of the AVI files that you find on the Internet today are either Xvid or DivX files, a lot of them are composed of older Xvid and DivX (which was more proprietary and, in some cases, ripoffs of other formats) while others are composed of newer Xvid and DivX, along with other combinations. As these codecs today are more open, they tend to evolve faster than your standard formats. Every few months, DivX and Xvid compression get better or more sophisticated and, because they are in themselves their own standard (even though technically both formats fall within the MPEG-4 umbrella), it becomes harder and harder to keep up with them, which brings us to software such as vShare. vShare relies upon mencoder, mplayer, and ffmpeg to be able to read, break apart, convert, and assemble movies that are uploaded into Flash Video. The problem that we all run into is that we only install the software once (when we first install vShare) and never touch them again. In some cases, many of us install outdated ones from the going as some of us run into either problems installing the newer ones or run into problems with vShare being compatible with the newer ones. Because we only do this once, over time, you are going to notice that certain formats become harder (or take longer) to convert or may not even convert at all. This will be especially true for files like AVI's and MKV's, which are not formats but merely containers that could potentially contain any format that the encoder decides to put into them.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Similar Threads

  1. Replies: 7
    Last Post: 05-31-2009, 08:33 AM
  2. Error when convert video at admin panel
    By ikalangita in forum Installation Support
    Replies: 5
    Last Post: 08-28-2008, 05:12 AM
  3. error to convert video from admin cp
    By paraisomaduro in forum Installation Support
    Replies: 1
    Last Post: 08-28-2008, 05:05 AM
  4. Convert Error
    By Boxerman in forum Installation Support
    Replies: 18
    Last Post: 05-31-2008, 07:18 AM
  5. Error When I Convert an Imported Video
    By scobb77 in forum Installation Support
    Replies: 6
    Last Post: 02-04-2008, 04:08 AM

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
  •