Why is Handbrake rotating my video?

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
AidanWalker
Posts: 4
Joined: Fri Jun 28, 2013 11:36 am

Why is Handbrake rotating my video?

Post by AidanWalker » Fri Jun 28, 2013 11:42 am

I'm converting a short .MOV file, shot with an iphone in portrait format 480 x 640. Converting the .mov to .mp4 the file comes out sideways. How do I fix this? Here is the log (I tried it twice so it might duplicate):

Code: Select all

[12:11:41] hb_init: starting libhb thread
[12:11:41] macgui: Handbrake Version: 0.9.9 x86_64 (2013051800)
[12:11:45] hb_init: starting libhb thread
[12:11:45] hb_init: starting libhb thread
[12:11:45] macgui: hbInstances path to this instance: /Applications/HandBrake.app
[12:11:45] macgui: hbInstance found instance pidnum:813 at path: /Applications/HandBrake.app
[12:11:45] macgui: hbInstance MATCH FOUND, our pidnum is:813
[12:11:45] macgui: Pid for this instance:813
[12:11:45] macgui: HBQueueController : My Pidnum is 813
[12:11:59] macgui: trying to open video_ts folder (parent directory chosen)
[12:11:59] macgui: scanning titles with a duration of 10 seconds or more
[12:11:59] hb_scan: path=/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV) failed (0x103868e00)
[12:11:59] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:11:59] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2012-07-24 06:17:34
    encoder         : 5.1.1
    encoder-eng     : 5.1.1
    date            : 2012-07-24T07:17:34+0100
    date-eng        : 2012-07-24T07:17:34+0100
  Duration: 00:01:41.14, start: 0.000000, bitrate: 3614 kb/s
    Stream #0.0(und): Video: h264 (Baseline), yuv420p, 640x480, 3544 kb/s, 29.97 fps, 600 tbn
    Metadata:
      creation_time   : 2012-07-24 06:17:34
    Stream #0.1(und): Audio: aac, 44100 Hz, mono, fltp, 63 kb/s
    Metadata:
      creation_time   : 2012-07-24 06:17:34
[12:11:59] scan: decoding previews for title 1
[12:11:59] scan: audio 0x1: aac, rate=44100Hz, bitrate=63984 Unknown (aac) (1.0 ch)
[12:11:59] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[12:12:00] libhb: scan thread found 1 valid title(s)
[12:12:00] macgui: showNewScan: This is a new source item scan
[12:12:41] macgui: Rip: Pending queue count is 0
[12:12:41] macgui: getNextPendingQueueIndex next pending encode index is:0
[12:12:41] macgui: scanning specifically for title: 1
[12:12:41] hb_scan: path=/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV) failed (0x10386a600)
[12:12:41] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:12:41] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2012-07-24 06:17:34
    encoder         : 5.1.1
    encoder-eng     : 5.1.1
    date            : 2012-07-24T07:17:34+0100
    date-eng        : 2012-07-24T07:17:34+0100
  Duration: 00:01:41.14, start: 0.000000, bitrate: 3614 kb/s
    Stream #0.0(und): Video: h264 (Baseline), yuv420p, 640x480, 3544 kb/s, 29.97 fps, 600 tbn
    Metadata:
      creation_time   : 2012-07-24 06:17:34
    Stream #0.1(und): Audio: aac, 44100 Hz, mono, fltp, 63 kb/s
    Metadata:
      creation_time   : 2012-07-24 06:17:34
[12:12:41] scan: decoding previews for title 1
[12:12:41] scan: audio 0x1: aac, rate=44100Hz, bitrate=63984 Unknown (aac) (1.0 ch)
[12:12:41] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[12:12:41] libhb: scan thread found 1 valid title(s)
[12:12:41] macgui: ScanDone state received from fQueueEncodeLibhb
[12:12:41] macgui: Preset: Normal (Default)
[12:12:41] macgui: processNewQueueEncode number of passes expected is: 1
[12:12:41] macgui: Start / Stop set to chapters
[12:12:41] macgui: prepareJob exiting
[12:12:41] 1 job(s) to process
[12:12:41] starting job
[12:12:41] sync: expecting 3031 video frames
[12:12:41] job configuration:
[12:12:41]  * source
[12:12:41]    + /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV
[12:12:41]    + title 1, chapter(s) 1 to 1
[12:12:41]    + container: mov,mp4,m4a,3gp,3g2,mj2
[12:12:41]    + data rate: 3614 kbps
[12:12:41]  * destination
[12:12:41]    + /Users/aidanwalker/Desktop/Balance of powers.mp4
[12:12:41]    + container: MPEG-4 (.mp4 and .m4v)
[12:12:41]  * video track
[12:12:41]    + decoder: h264
[12:12:41]      + bitrate 3544 kbps
[12:12:41]    + frame rate: same as source (around 29.970 fps)
[12:12:41]    + filters
[12:12:41]      + Framerate Shaper (0:27000000:900900)
[12:12:41]        + frame rate: same as source (around 29.970 fps)
[12:12:41]      + Crop and Scale (640:480:0:0:0:0)
[12:12:41]        + source: 640 * 480, crop (0/0/0/0): 640 * 480, scale: 640 * 480
[12:12:41]    + loose anamorphic
[12:12:41]      + storage dimensions: 640 * 480, mod 2
[12:12:41]      + pixel aspect ratio: 1 / 1
[12:12:41]      + display dimensions: 640 * 480
[12:12:41]    + encoder: H.264 (x264)
[12:12:41]      + x264 preset: veryfast
[12:12:41]      + h264 profile: main
[12:12:41]      + h264 level: 4.0
[12:12:41]      + quality: 20.00 (RF)
[12:12:41]  * audio track 1
[12:12:41]    + decoder: Unknown (aac) (1.0 ch) (track 1, id 0x1)
[12:12:41]      + bitrate: 63 kbps, samplerate: 44100 Hz
[12:12:41]    + mixdown: Mono
[12:12:41]    + encoder: AAC (CoreAudio)
[12:12:41]      + bitrate: 160 kbps, samplerate: 44100 Hz
[12:12:41] reader: first SCR 0 id 0x1 DTS 0
[12:12:41] encx264: min-keyint: 30, keyint: 300
[12:12:41] encx264: encoding with stored aspect 1/1
[12:12:41] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[12:12:59] reader: done. 1 scr changes
[12:13:00] work: average encoding speed for job is 173.214386 fps
[12:13:00] sync: got 3031 frames, 3031 expected
[12:13:00] render: lost time: 0 (0 frames)
[12:13:00] render: gained time: 0 (0 frames) (0 not accounted for)
[12:13:00] h264-decoder done: 3031 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:11    Avg QP:18.00  size: 33990  PSNR Mean Y:46.84 U:51.18 V:51.48 Avg:47.89 Global:47.74
x264 [info]: frame P:960   Avg QP:20.93  size:  4431  PSNR Mean Y:42.94 U:48.73 V:48.97 Avg:44.17 Global:44.16
x264 [info]: frame B:2060  Avg QP:23.21  size:   584  PSNR Mean Y:42.33 U:48.51 V:48.79 Avg:43.61 Global:43.59
x264 [info]: consecutive B-frames:  9.1%  0.1%  2.3% 88.6%
x264 [info]: mb I  I16..4: 12.6%  0.0% 87.4%
x264 [info]: mb P  I16..4:  1.4%  0.0%  0.2%  P16..4: 44.4% 14.1%  7.3%  0.0%  0.0%    skip:32.6%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  7.4%  1.7%  0.1%  direct: 6.4%  skip:84.3%  L0:33.2% L1:49.5% BI:17.3%
x264 [info]: coded y,uvDC,uvAC intra: 75.2% 78.6% 33.0% inter: 8.1% 9.0% 0.0%
x264 [info]: i16 v,h,dc,p: 12% 51% 26% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 31% 15%  6%  6%  5%  9%  4%  9%
x264 [info]: i8c dc,h,v,p: 49% 32% 12%  7%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0%
x264 [info]: SSIM Mean Y:0.9714059 (15.437db)
x264 [info]: PSNR Mean Y:42.535 U:48.588 V:48.858 Avg:43.800 Global:43.775 kb/s:461.31
[12:13:00] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[12:13:00] mux: track 0, 3031 frames, 5831017 bytes, 461.25 kbps, fifo 4096
[12:13:00] mux: track 1, 4357 frames, 2076900 bytes, 164.29 kbps, fifo 8192
[12:13:00] libhb: work result = 0
[12:13:00] macgui: incrementQueueItemDone there are no more pending encodes
[12:18:09] macgui: trying to open video_ts folder (parent directory chosen)
[12:18:09] macgui: scanning titles with a duration of 10 seconds or more
[12:18:09] hb_scan: path=/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV) failed (0x11185ce00)
[12:18:09] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:18:09] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2012-07-24 06:17:34
    encoder         : 5.1.1
    encoder-eng     : 5.1.1
    date            : 2012-07-24T07:17:34+0100
    date-eng        : 2012-07-24T07:17:34+0100
  Duration: 00:01:41.14, start: 0.000000, bitrate: 3614 kb/s
    Stream #0.0(und): Video: h264 (Baseline), yuv420p, 640x480, 3544 kb/s, 29.97 fps, 600 tbn
    Metadata:
      creation_time   : 2012-07-24 06:17:34
    Stream #0.1(und): Audio: aac, 44100 Hz, mono, fltp, 63 kb/s
    Metadata:
      creation_time   : 2012-07-24 06:17:34
[12:18:09] scan: decoding previews for title 1
[12:18:09] scan: audio 0x1: aac, rate=44100Hz, bitrate=63984 Unknown (aac) (1.0 ch)
[12:18:09] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[12:18:09] libhb: scan thread found 1 valid title(s)
[12:18:09] macgui: showNewScan: This is a new source item scan
[12:19:28] macgui: Rip: Pending queue count is 0
[12:19:29] macgui: getNextPendingQueueIndex next pending encode index is:1
[12:19:29] macgui: scanning specifically for title: 1
[12:19:29] hb_scan: path=/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV) failed (0x11592a600)
[12:19:29] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:19:29] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2012-07-24 06:17:34
    encoder         : 5.1.1
    encoder-eng     : 5.1.1
    date            : 2012-07-24T07:17:34+0100
    date-eng        : 2012-07-24T07:17:34+0100
  Duration: 00:01:41.14, start: 0.000000, bitrate: 3614 kb/s
    Stream #0.0(und): Video: h264 (Baseline), yuv420p, 640x480, 3544 kb/s, 29.97 fps, 600 tbn
    Metadata:
      creation_time   : 2012-07-24 06:17:34
    Stream #0.1(und): Audio: aac, 44100 Hz, mono, fltp, 63 kb/s
    Metadata:
      creation_time   : 2012-07-24 06:17:34
[12:19:29] scan: decoding previews for title 1
[12:19:29] scan: audio 0x1: aac, rate=44100Hz, bitrate=63984 Unknown (aac) (1.0 ch)
[12:19:29] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[12:19:29] libhb: scan thread found 1 valid title(s)
[12:19:29] macgui: ScanDone state received from fQueueEncodeLibhb
[12:19:29] macgui: Preset: Normal (Default)
[12:19:29] macgui: processNewQueueEncode number of passes expected is: 1
[12:19:29] macgui: Start / Stop set to chapters
[12:19:29] macgui: prepareJob exiting
[12:19:29] 1 job(s) to process
[12:19:29] starting job
[12:19:29] sync: expecting 3031 video frames
[12:19:29] job configuration:
[12:19:29]  * source
[12:19:29]    + /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.MOV
[12:19:29]    + title 1, chapter(s) 1 to 1
[12:19:29]    + container: mov,mp4,m4a,3gp,3g2,mj2
[12:19:29]    + data rate: 3614 kbps
[12:19:29]  * destination
[12:19:29]    + /Users/aidanwalker/Documents/01 Ecology of the Soul/Videos/Magic Minutes/Propers/Balance of powers.mp4
[12:19:29]    + container: MPEG-4 (.mp4 and .m4v)
[12:19:29]  * video track
[12:19:29]    + decoder: h264
[12:19:29]      + bitrate 3544 kbps
[12:19:29]    + frame rate: same as source (around 29.970 fps)
[12:19:29]    + filters
[12:19:29]      + Framerate Shaper (0:27000000:900900)
[12:19:29]        + frame rate: same as source (around 29.970 fps)
[12:19:29]      + Crop and Scale (640:480:0:0:0:0)
[12:19:29]        + source: 640 * 480, crop (0/0/0/0): 640 * 480, scale: 640 * 480
[12:19:29]    + loose anamorphic
[12:19:29]      + storage dimensions: 640 * 480, mod 2
[12:19:29]      + pixel aspect ratio: 1 / 1
[12:19:29]      + display dimensions: 640 * 480
[12:19:29]    + encoder: H.264 (x264)
[12:19:29]      + x264 preset: veryfast
[12:19:29]      + h264 profile: main
[12:19:29]      + h264 level: 4.0
[12:19:29]      + quality: 20.00 (RF)
[12:19:29]  * audio track 1
[12:19:29]    + decoder: Unknown (aac) (1.0 ch) (track 1, id 0x1)
[12:19:29]      + bitrate: 63 kbps, samplerate: 44100 Hz
[12:19:29]    + mixdown: Mono
[12:19:29]    + encoder: AAC (CoreAudio)
[12:19:29]      + bitrate: 160 kbps, samplerate: 44100 Hz
[12:19:29] reader: first SCR 0 id 0x1 DTS 0
[12:19:29] encx264: min-keyint: 30, keyint: 300
[12:19:29] encx264: encoding with stored aspect 1/1
[12:19:29] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[12:19:46] reader: done. 1 scr changes
[12:19:47] work: average encoding speed for job is 177.230331 fps
[12:19:47] sync: got 3031 frames, 3031 expected
[12:19:47] render: lost time: 0 (0 frames)
[12:19:47] render: gained time: 0 (0 frames) (0 not accounted for)
[12:19:47] h264-decoder done: 3031 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:11    Avg QP:18.00  size: 33990  PSNR Mean Y:46.84 U:51.18 V:51.48 Avg:47.89 Global:47.74
x264 [info]: frame P:960   Avg QP:20.93  size:  4431  PSNR Mean Y:42.94 U:48.73 V:48.97 Avg:44.17 Global:44.16
x264 [info]: frame B:2060  Avg QP:23.21  size:   584  PSNR Mean Y:42.33 U:48.51 V:48.79 Avg:43.61 Global:43.59
x264 [info]: consecutive B-frames:  9.1%  0.1%  2.3% 88.6%
x264 [info]: mb I  I16..4: 12.6%  0.0% 87.4%
x264 [info]: mb P  I16..4:  1.4%  0.0%  0.2%  P16..4: 44.4% 14.1%  7.3%  0.0%  0.0%    skip:32.6%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  7.4%  1.7%  0.1%  direct: 6.4%  skip:84.3%  L0:33.2% L1:49.5% BI:17.3%
x264 [info]: coded y,uvDC,uvAC intra: 75.2% 78.6% 33.0% inter: 8.1% 9.0% 0.0%
x264 [info]: i16 v,h,dc,p: 12% 51% 26% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 31% 15%  6%  6%  5%  9%  4%  9%
x264 [info]: i8c dc,h,v,p: 49% 32% 12%  7%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0%
x264 [info]: SSIM Mean Y:0.9714059 (15.437db)
x264 [info]: PSNR Mean Y:42.535 U:48.588 V:48.858 Avg:43.800 Global:43.775 kb/s:461.31
[12:19:47] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[12:19:47] mux: track 0, 3031 frames, 5831017 bytes, 461.25 kbps, fifo 4096
[12:19:47] mux: track 1, 4357 frames, 2076900 bytes, 164.29 kbps, fifo 8192
[12:19:47] libhb: work result = 0
[12:19:47] macgui: incrementQueueItemDone there are no more pending encodes
Last edited by Rodeo on Fri Jun 28, 2013 5:45 pm, edited 1 time in total.
Reason: Logs must be placed in between [code] [/code] blocks

mduell
Veteran User
Posts: 6753
Joined: Sat Apr 21, 2007 8:54 pm

Re: Why is Handbrake rotating my video?

Post by mduell » Fri Jun 28, 2013 3:35 pm

The library HandBrake uses for decoding QuickTime sources doesn't respect the rotation option that your source has set.

User avatar
s55
HandBrake Team
Posts: 9613
Joined: Sun Dec 24, 2006 1:05 pm

Re: Why is Handbrake rotating my video?

Post by s55 » Fri Jun 28, 2013 4:38 pm

In orderwords, your video is actually upside down to begin with. The player is rotating it upright due to a flag on the file that tells it to do so.
Unfortunately libav does not support this flag, so any players / software (like handbrake) that use it, don't know it's upside down.

There is a rotation filter in handbrake, but it's only available at the CLI. Otherwise you'll need to preprocess the file with something that can flip it before encoding with hb

User avatar
Rodeo
HandBrake Team
Posts: 12274
Joined: Tue Mar 03, 2009 8:55 pm

Re: Why is Handbrake rotating my video?

Post by Rodeo » Fri Jun 28, 2013 5:46 pm

s55 wrote:There is a rotation filter in handbrake, but it's only available at the CLI.
Eventually we should make it available in the UIs too. It's been improved a bit by j45 so that it can be used for this sort of thing. I guess the main issue would be to get the static previews to rotate as per the selected settings.

AidanWalker
Posts: 4
Joined: Fri Jun 28, 2013 11:36 am

Re: Why is Handbrake rotating my video?

Post by AidanWalker » Wed Jul 03, 2013 3:21 pm

Thanks Gents (sorry for delay, been away). So best is to find another way to convert from .MOV, then take it to hb? Point being that it's hb that does the conversion... Better not ask in a Handbrake forum what other apps will do this??!!!

AidanWalker
Posts: 4
Joined: Fri Jun 28, 2013 11:36 am

Re: Why is Handbrake rotating my video?

Post by AidanWalker » Wed Jul 03, 2013 3:23 pm

Just to add... I'm not a code kind of guy. The CLI route is a closed book to me, and I'm way too old to start learning how to code...
Aidan

User avatar
s55
HandBrake Team
Posts: 9613
Joined: Sun Dec 24, 2006 1:05 pm

Re: Why is Handbrake rotating my video?

Post by s55 » Wed Jul 03, 2013 6:38 pm

If the CLI isn't the option, it's time to find other software. People are free to recommend other software on the forum as long as it's not an advertisement for commercial software.

I don't personally have a recommendation though.

AidanWalker
Posts: 4
Joined: Fri Jun 28, 2013 11:36 am

Re: Why is Handbrake rotating my video?

Post by AidanWalker » Wed Jul 03, 2013 9:12 pm

thanks s55. WIll look for a workround.

User avatar
Rodeo
HandBrake Team
Posts: 12274
Joined: Tue Mar 03, 2009 8:55 pm

Re: Why is Handbrake rotating my video?

Post by Rodeo » Wed Jul 03, 2013 10:49 pm

Anything QuickTime-based should rotate your video correctly before encoding. So will VLC, and it also features some basic re-encoding capability in the GUI (it's somewhat hidden, can't remember exactly where to look).

thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Re: Why is Handbrake rotating my video?

Post by thanar » Wed Aug 14, 2013 1:24 pm

I can't get it why the rotate function hasn't made it to the GUI version yet. I also seem unable to add the "--rotate=3" option in the additional options field. Lots of people are using iPhones to capture video nowadays, and this is a major issue when it comes to optimizing them for playback on other platforms.

User avatar
Rodeo
HandBrake Team
Posts: 12274
Joined: Tue Mar 03, 2009 8:55 pm

Re: Why is Handbrake rotating my video?

Post by Rodeo » Wed Aug 14, 2013 1:26 pm

thanar wrote:I can't get it why the rotate function hasn't made it to the GUI version yet.
Lazy developers.

As always, patches welcome!

Tapper
Posts: 3
Joined: Sun May 22, 2011 9:44 pm

Please add rotate video option to Handbrake GUI

Post by Tapper » Fri Sep 06, 2013 2:46 pm

Using Handbrake Version 0.9.9 x86_64 (2013051800) for Mac. I need the option to rotate my videos 90 and 180 degrees in both directions. Please add this feature!

mduell
Veteran User
Posts: 6753
Joined: Sat Apr 21, 2007 8:54 pm

Re: Why is Handbrake rotating my video?

Post by mduell » Fri Sep 06, 2013 5:14 pm

180 degrees is available in the CLI with the --rotate option.

cathal
Posts: 1
Joined: Tue Oct 08, 2013 8:21 pm

Re: Why is Handbrake rotating my video?

Post by cathal » Tue Oct 08, 2013 9:20 pm

I just went through this problem with iphone.
You record in portrait mode, as it prompts you to, then it comes out in landscape mode when you use handbrake on it.
I could not rotate it in VLC as some suggested.

So, simple fix: Record videos on your eyephone only using landscape mode.
That means you must rotate the phone 90 degrees.
You will need to practice this to get it right.

Simplest fix.

TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: Why is Handbrake rotating my video?

Post by TedJ » Wed Oct 09, 2013 11:33 am

so you're saying... we're holding it wrong? ;)

ashleyco
Posts: 1
Joined: Sat Oct 12, 2013 2:15 am

Re: Why is Handbrake rotating my video?

Post by ashleyco » Sat Oct 12, 2013 2:19 am

In orderwords, your video is actually upside down to begin with.

Post Reply