Results 1 to 6 of 6

Thread: Conversion error with Mp4 created with Movie Maker

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    Hi,

    Which vshare version are you using?

    Thanks,
    Buyscripts Team

  2. #2
    Join Date
    Sep 2010
    Posts
    4

    Default

    Quote Originally Posted by vshare2 View Post
    Hi,

    Which vshare version are you using?

    Thanks,
    Buyscripts Team
    I'm using 2.7 on a dedicated server.

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

    Default

    Your assessment would be correct (although your debug does not provide any real information). In vShare 2.7, the script mistakenly assumes that any file that has a .mp4 extension is already in a format that is valid for flash. Thus, any file with a .mp4 extension bypasses conversion and is merely renamed and copied to your flvideo folder. The problem with this behavior, as you have stated, is that the only flash compatible videos that are apart of the MPEG-4 standard is H.264. Other MPEG-4 variants are not compatible with flash and, consequently, will not play.

    You can either open a support ticket with vShare and have them remove the code that does this, which would force any .mp4 file to be converted (as it should) or, if you know PHP, you can remove the code yourself in the functions_upload.php file.
    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!

  4. #4
    Join Date
    Sep 2010
    Posts
    4

    Default

    Quote Originally Posted by bplex View Post
    Your assessment would be correct (although your debug does not provide any real information). In vShare 2.7, the script mistakenly assumes that any file that has a .mp4 extension is already in a format that is valid for flash. Thus, any file with a .mp4 extension bypasses conversion and is merely renamed and copied to your flvideo folder. The problem with this behavior, as you have stated, is that the only flash compatible videos that are apart of the MPEG-4 standard is H.264. Other MPEG-4 variants are not compatible with flash and, consequently, will not play.

    You can either open a support ticket with vShare and have them remove the code that does this, which would force any .mp4 file to be converted (as it should) or, if you know PHP, you can remove the code yourself in the functions_upload.php file.
    I will look up the code and see if I can force the conversion. If I don't have luck I will open a ticket :)

  5. #5
    Join Date
    Sep 2010
    Posts
    4

    Default

    It works! Thanks...

    btw if someone have this issue...

    Go to include/functions_upload.php and find:
    Code:
    if ($file_extn == 'mp4')
                {
                    $rand_flv_name = $rand_name . '.mp4';
                    $outExtn = '.mp4';
                }
    and delete or comment that, then go to:
    Code:
    if ($file_extn == 'flv' || $file_extn == 'mp4')
    and again.... Comment or delete the conditional involving mp4.

    :)
    Last edited by godlike; 09-16-2010 at 04:47 PM. Reason: Solved!

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
  •