Solved

convert .mp4 to .webm

Posted on 2013-12-23
6
486 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
adobe premier render 10 64
Built in memory vs SD card. 3 92
Using Android platform to develop an app for IOS 2 45
spam sms 9 42
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…
Viewers will learn the basics of making and using Impulse Kits in Ableton Live. Load new Impulse into an empty MIDI track: Fill the 8 empty sample slots with drum samples: Adjust parameters to tailor each sound as desired: Proceed to create be…

679 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