I uploaded a MP4 file and it uploaded fine but when I clicked save the message said it created the thumbnail and then it created the MP4 file. I uploaded a MP4 file and isn't Flashvideo suppose to convert it to a flv file? Then afetr I clicked save bnothing was shown

Comments

alex72rm’s picture

Version: 6.x-1.5-rc5 » 6.x-1.5

With the new version of flashvideo, .mp4 is supported natively without .flv conversion. But .mp4 must be h.264 compliant; on the contrary .mp4 output is a black screen with original audio.

So, a problem arises: .mp4 should be converted into .flv only when it isn't a h.264 format. But, how to accomplish it?

axel pressbutton’s picture

+1

I'm also getting this problem with some .mp4 video output being a black screen with working audio.

Is this possibly an issue with the chosen player? In my case I'm using JW Palyer (not the most recent version i must admit - 4.4.198)

alex72rm’s picture

I think no.

The compatibility issue (.mp4 tied with h.264) is a constrain introduced by latest versions of flash player, that is the foundation of most of the players on the market.

thomas4019’s picture

Is there a way to turn off the pass-through of mp4 files? I would really like them to still get transcoded.

asgalon’s picture

To make transcoding of mp4 possible, just go to flashvideo.module and replace all occurances of 'mp4' with 'xxxmp4xxx'. That removes any special treatment from 'mp4'. Not very clean, but effective ;-)

roald’s picture

+1

I'm building a site where we want to implement a possibility for people to upload videos taken with their mobile phones.
Example: The Nokia N97 produces mp4 video in OK quality, but the video does not appear, only black screen (probably same problem as described in comment #2 above). Also the video from the N97 gets too big, and I would need to convert it anyway to get a reasonable size to download per second film.

thomas4019’s picture

Thank you asgalon your suggestion worked flawlessly. Now I cannot understand why there is not an option like filetypes for passthrough. Finally MP4s don't break my site. Thanks again!

christopherareed’s picture

Version: 6.x-1.5 » 5.x-2.7

The same problem exists for Drupal 5, would there be a similar fix for flashvideo 5x-2.7?

zincdesign’s picture

asgalon or thomas4019 - I am having the same problem but when I tried a "find and replace" from 'mp4' to 'xxxmp4xxx', I got a page of error code when I tried uploading a MP4 file. Can you be more specific on how you achieved this please?