Solved

convert .mp4 to .webm

Posted on 2013-12-23
6
490 Views
Last Modified: 2015-04-22
Hello:

The newest Android phones that output .mp4 videos when converted to .webm the video flips upside down. Is there a way to tell a regular .mp4 video and a .mp4 video taken from an Android phone?

Dan
0
Comment
Question by:RecipeDan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 70

Expert Comment

by:Merete
ID: 39737240
Hi Dan,
What media player are you using?
Upside down video playback can be caused by several things.
why use> .webm
A valid WebM file can only contain VP8 video and Vorbis audio in a .webm container
http://www.webmproject.org/about/faq/
Try Gspot~> Is there a way to tell a regular .mp4 video and a .mp4 video taken from an Android phone?
GSpot establishes what video and audio codecs are required to play any video. Shows framerate, duration, aspect ratio, bitrates, structure info, and more. Supports AVI, MPG, VOB, DVD, VCD, SVCD, MP4, FLV, MOV, QT, RM, SWF, WMV, ASF.
http://www.videohelp.com/tools/GSpot
Borrowed answer I sourced from here
Android Camera recording video but plays upside down
Motorola phones have problem in playing the video which is recorded in portrait mode.
In order to overcome the rotation of the video, the best solution I have adopted was to upload the video to the server and run ffmpeg on using the command ffmpeg -i input.mp4 -c:v mpeg4 -c:a copy -c:s copy -vf "transpose=2" output.mp4

ffmpeg
http://www.videohelp.com/tools?toolsearch=ffmpeg&submit=Search&convert=&s=&orderby=Name&hits=50
0
 
LVL 1

Author Comment

by:RecipeDan
ID: 39738306
I created my own video player in HTML5. I took a video using my Samsung Note 3 and when I converted it to .webm using FFMPEG it converted ok but flipped upside down. When I tested another .mp4 video that I downloaded from the web it converted ok with no issues.

I am familiar with the issues with phones and trying to convert the video into different formats.

I am trying to figure out if someone uploaded a video, how would I know if it was taken with a phone, camcorder, or something else?
0
 
LVL 70

Accepted Solution

by:
Merete earned 500 total points
ID: 39739745
Hi RecipeDan
And Merry christmas,
With regards to your personal programmed media player I can't determin how or what compression language you use
I created my own video player in HTML5
may be of assistance
If you want to add video to your site, the easy way is to upload it to YouTube or a similar service. CMS systems like WordPress have JavaScript solutions to make it all compatible.
But what if you don’t want to use YouTube? If you’re making your own CMS or web application, you can try HTML5 Video.
http://www.thescriptiest.com/2011/12/html5-video-whats-the-deal/
I am trying to figure out if someone uploaded a video, how would I know if it was taken with a phone, camcorder, or something else?
Unless the video camera has enabled to show the metadata I don't think it's possible to get that information>>What camera was used?
I don't know how to I should say incase there is some expert out there that does have an understanding how cameras write background information to the video, with pictures it is possible.
Could also be a big security risk/

Have you tried right click the picture -> properties -> summary -> advanced. There is general/extended EXIF data there.
Or an application that can read the EXIF information embedded in an image.
For that there are many available, including some web browser add-ins.
IrfanView  and if you install its add-ins you can hit "i" to find a button to display EXIF information.
Exif Viewer add on for firefox
https://addons.mozilla.org/en-US/firefox/addon/exif-viewer/
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 1

Author Closing Comment

by:RecipeDan
ID: 39740504
Thank you for your assistance.
0
 
LVL 70

Expert Comment

by:Merete
ID: 39742856
Glad to have helped thankyou
0
 

Expert Comment

by:Charlene Figer
ID: 40737468
There is another way to solve your issue.

First get a tool to rotate your source MP4 files and then convert MP4 to WebM format.

To accomplish the above two tasks, personally recommend a detailed guide here.

The guide introduces a powerful tool to convert MP4 to WebM.  The tool mentioned in the guide also has the feature of rotating video.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an explanation of a simple data model to help parse a JSON feed
If your app took Google’s lash recently, here are the 5 most likely reasons.
This video will demonstrate how to customize windows, tools, and control bars, and save them as screen sets. Open and resize windows: Customize the toolbar: Customize the control bar: Customize your tool selections: Your screen set is alread…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question