Converting iPhone 4S video 1080p

9 replies [Last post]
Joined: 05/07/2012
Points: 15

Does Kaltura CE support converting iPhone 4S video 1080p videos? I seem to be able to upload other mov files and successfully convert (640 width x 480 height) samples I grabbed from the web, but 1920x1080 videos taken with an iPhone, transferred to a computer, and uploaded through the web interface Error after trying to convert.

The /opt/kaltura/web/content/entry/data/4/267 folder contains the uploaded mov file, so I believe the upload part is working.

Attaching the log file.

kaltura_api_v3.txt5.72 MB
Joined: 05/07/2012
Points: 15

Also, I tried enabling every Settings -> Transcoding Settings and restarting the apache server to see if that would fix things. It did not.

Joined: 01/05/2009
Points: 1697


Seems like the error line that might be relevant is this:
2012-05-23 11:51:14 [] [1710592700] [API] [KDLWrap->generateTargetFlavors] NOTICE: ...T-->flag(0),CON(f:flv), VID(f:vp6,br:3200,1280x720,fr:30,g:60,rt:90), AUD(f:mp3,br:192,ch:2,sa:44100),WRNS(video=>0=>2112,ffmpeg#The transcoder (ffmpeg) can not handle this content.,1=>2112,ffmpeg-aux#The transcoder (ffmpeg-aux) can not handle this content.),TRNS(2=>tr:mencoder,cmd: __inFileName__ -of lavf -lavfopts format=flv -ofps 30 -ovc lavc -lavcopts vcodec=flv:vbitrate=4000:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:keyint=60 -vf harddup,scale=1280:720,rotate=1 -oac mp3lame -lameopts abr:br=192 -srate 44100 -o __outFileName__)

Will be helpful if you can upload the video you tried to this thread.

Joined: 05/07/2012
Points: 15

Here's the video. I had to rename the file extension to txt to bypass restrictions on upload. It should be renamed to .mov.

IMG_2659.txt2.79 MB
Joined: 08/30/2010
Points: 115

only flv versions are being converted any others are failing. iphone 3gs videos are ok though.

Joined: 05/07/2012
Points: 15

I was able to get Kaltura to ingest iphone 1080p videos and successfully convert them to the flv format used by Kaltura for the web. The problem was that the Community Edition converters don't work right out of the box on some 64 bit operating systems.

Ubuntu Instructions (may have to adjust for CentOS):
/opt/kaltura/bin/mencoder-dir$ sudo apt-get-install mencoder
/opt/kaltura/bin/mencoder-dir$ sudo mv mencoder mencoder_original
/opt/kaltura/bin/mencoder-dir$ which mencoder (to find out where installed)
/opt/kaltura/bin/mencoder-dir$ sudo ln -s /usr/bin/mencoder mencoder

Same for ffmpeg in /opt/kaltura/bin/ffmpeg-0.6-dir and /opt/kaltura/bin/ffmpeg-0.6-dir/lib.

Joined: 05/15/2013
Points: 2

I have tried many times to convert my iPhone 4S video but it always creates problem. So now, I have decided to check it out from an iPhone developer.

Joined: 12/12/2013
Points: 5

I would like to thank you for your nicely written post, its informative and your writing style encouraged me to read it till end

Joined: 12/18/2013
Points: 5

Those nurses who are certified earn more than those yet to receive certification. The average certified nurse practitioner salary is around $135,000 per year. Surveys indicate that there are over 150,000 certified nurse practitioners in the United States.

Joined: 01/10/2014
Points: 2

I will do it like you said for sure!