Results 1 to 6 of 6

Thread: Spaces in file name when uploading

  1. #1
    Join Date
    Aug 2007
    Posts
    112

    Default Spaces in file name when uploading

    When a user uploads a video with a space in the file name it will fail during conversion. I know there is a fix for this but I can't find it. Can anyone point me in the right direction?

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default Re: Spaces in file name when uploading

    In video convert command, find

    Code:
    $video_src
    Replace with

    Code:
    '$video_src'
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Aug 2007
    Posts
    112

    Default Re: Spaces in file name when uploading

    Hello-

    This is already here....I assume you were referring to the video_conversion.php in the include/settings...

    Here is the file contents:

    <?php

    $cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec mp3 -ar 22050 -ab 32 -f flv $video_flv";
    $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";

    $cmd_all = $cmd_mencoder;


    $convert_3gp = $cmd_all;
    $convert_mp4 = $cmd_all;
    $convert_mov = $cmd_all;
    $convert_asf = $cmd_all;
    $convert_mpg = $cmd_all;
    $convert_avi = $cmd_all;
    $convert_mpeg = $cmd_all;
    $convert_wmv = $cmd_all;
    $convert_rm = $cmd_all;
    $convert_dat = $cmd_all;

  4. #4

    Default Re: Spaces in file name when uploading

    I also have that problem... Is it in the uu_default_config file?
    ...
    Even with special characteres like # $ % ^& * ( ) ! It doesn't work because it puts a dash where it would be.
    I have to rename the file and then reconvert to have my client's videos added.

  5. #5
    Join Date
    Jan 2008
    Posts
    3

    Default Re: Spaces in file name when uploading

    I, too, have been having this problem. I made a post last month, but it went unanswered. Any help would be great as I've been having this problem for a while now!

  6. #6
    Join Date
    Jan 2008
    Posts
    3

    Default Re: Spaces in file name when uploading

    Can anyone help?

Similar Threads

  1. Allow spaces etc in filenames when uploading
    By leki in forum Template Modifications
    Replies: 8
    Last Post: 06-22-2010, 03:55 AM
  2. Uploading and File Size Increase
    By nowordneeded in forum General Discussions
    Replies: 15
    Last Post: 02-10-2010, 08:11 PM
  3. ERROR AFTER UPLOADING FILE
    By Blazingeagle in forum Bug Reports
    Replies: 2
    Last Post: 04-28-2008, 10:35 AM
  4. Uploading videos with (,),spaces are not handled correctly
    By devdag in forum Installation Support
    Replies: 1
    Last Post: 02-07-2008, 03:59 AM
  5. Fatal Error After Uploading .FLV File
    By apj5621 in forum Fixed Bugs
    Replies: 1
    Last Post: 12-20-2007, 04:18 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
  •