+ Post New Thread
Results 1 to 1 of 1
Scripts Thread, Ipad Video Conversion Scripts in Coding and Web Development; Were having problems with Ipads filling up with unnecessary bluray quality movie files, also somehow they are managing to record ...
  1. #1

    Join Date
    May 2010
    Posts
    1,175
    Thank Post
    113
    Thanked 104 Times in 79 Posts
    Rep Power
    52

    Ipad Video Conversion Scripts

    Were having problems with Ipads filling up with unnecessary bluray quality movie files, also somehow they are managing to record these videos upside down (and portrait) so I created a few batch scripts for this, just thought I'd share.
    The scripts fix the video, reencode to wmv at half size at a bitrate of 5k (dvd ish quality) significantly cuts down on the huge Ipad videos

    First create a folder under c: called IpadVideos.
    In that folder download a copy of ffmpeg.exe into it.
    Then in that folder create 4 folders called Converted, Flip, Resize and Rotate

    Now create 3 batch files in the IpadVideos folder.

    Flip.bat

    Code:
    For %%A in (Flip\*.*) do ffmpeg -y -i "%%A" -vcodec wmv2 -acodec wmav2 -b:v 6000k -b:a 160k -r 25 -vf scale=iw/2:-1,hflip,vflip "c:\IpadVideos\Converted\%%~nA".wmv
    Resize.bat

    Code:
    For %%A in (Resize\*.*) do ffmpeg -y -i "%%A" -vcodec wmv2 -acodec wmav2 -b:v 6000k -b:a 160k -r 25 -vf scale=iw/2:-1 "c:\IpadVideos\Converted\%%~nA".wmv
    Rotate.bat

    Code:
    For %%A in (Rotate\*.*) do ffmpeg -y -i "%%A" -vcodec wmv2 -acodec wmav2 -b:v 6000k -b:a 160k -r 25 -vf scale=iw/2:-1,transpose=1 "c:\IpadVideos\Converted\%%~nA".wmv
    So any antipodean videos put them in the Flip folder, portrait in the rotate folder and resize in the resize folder, then run the batch files, the videos will end up in the converted folder.

    Hope it's some use

  2. 3 Thanks to caffrey:

    Hacksawbob (22nd May 2013), LeightonJames (3rd May 2013), mark100 (4th November 2013)



SHARE:
+ Post New Thread

Similar Threads

  1. Android (HTC Desire) Video conversion
    By SimpleSi in forum Netbooks, PDA and Phones
    Replies: 4
    Last Post: 21st June 2010, 08:18 PM
  2. File & Video Conversions
    By alan-d in forum Downloads
    Replies: 10
    Last Post: 7th February 2010, 03:28 PM
  3. MP3 Export/conversion script
    By dyoung5 in forum Scripts
    Replies: 2
    Last Post: 28th February 2009, 04:31 PM
  4. Video conversion software needed.
    By Stuart_C in forum Windows
    Replies: 6
    Last Post: 2nd January 2009, 07:20 PM
  5. Video Conversion Excellent for Online Video
    By tigerwoulds in forum Downloads
    Replies: 0
    Last Post: 1st October 2007, 09:39 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •