Solved

convert .mp4 to .webm

Posted on 2013-12-23
6
477 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
  • 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
If your app took Google’s lash recently, here are the 5 most likely reasons.
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now