[ Video Sharing CMS v4 ] only play sound in some mp4 formats !

Started by nagsh,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nagshTopic starter

hi
By default ffmpeg not process mp4 format. Therefore in some mp4 files after uploading only play sound and not show the video.
please solution.
  •  

PHPVibe A.

Hi,

I'm not sure, doesn't sound like a script problem.
It depends on the videos and ffmpeg, not all video convert correctly.
Show me a link to a video not playing.

nagshTopic starter

  •  

PHPVibe A.

This video has sound for me, it's some guy talking a weird language after some sounds in beginning.

nagshTopic starter

This is video!
please download the video by IDM (internet download manager) and play with windows player.
After a little searching, I realized that two codec of MP4 format is available:
  1-MP4 videos using the H.264 video codec and the AAC audio codec
  2-MP4 videos using the MPEG-4 video codec and the MPEG-4 AAC audio codec
Only videos by Type 1 (H.264 codec) can play Correctly.
To solve this problem MPEG-4 codec should convert to H.264 Such as flv,avi,...
What to do for solve the problem. Please advice
  •  

PHPVibe A.

It works fine for me in kmplayer.
They are differences in encoding, for sure.
But those formats are not web playable, embeddable, we support web playable formats, you can;t embed avi in a page, and you can't play flv on mobile (80% of video traffic is mobile) so .mp4 is the only universal option.

nagshTopic starter

To solve this problem MPEG-4 codec should convert to H.264 Such as flv,avi,...
What to do for solve the problem. Please advice :confused:
  •  

PHPVibe A.

I'm not sure you realise that .avi don't play on the web at all. And flv only work in flash browsers, and since 80% of the video visits are mobile, they will not work for 8/10 of your visitors. This is why we use .mp4
I think your problem is in upgrading/changing the codecs on your pc, it's best.

https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

nagshTopic starter

I realise that .avi don't play on the web at all, but i mean is that:
As avi,flv,...   mp4(MPEG-4) must convert to MP4(H264) too.
ffmpeg in default not convert mp4(MPEG-4) to MP4 (H264).
how to fix setting for ffmpeg that convert mp4(MPEG-4) to MP4 (H264)
  •  

PHPVibe A.

What is your encoding command, did you change it?
You can experiment with Settings -> FFMPEG conversion as much as you want until you get the result you desire, there are millions of ffmpeg tips and tricks on the web.

Similar topics (7)