How can I realy rotate my video

Discussion of the HandBrake command line interface (CLI)
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
tulipelle
Posts: 7
Joined: Wed Aug 29, 2012 9:12 am

How can I realy rotate my video

Post by tulipelle »

Hi everyone, who know how can we rotate the video like here photo1 to photo2

Photo1
Image



TO


Photo2
Image

Thank you for help
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: How can I realy rotate my video

Post by Smithcraft »

tulipelle
Posts: 7
Joined: Wed Aug 29, 2012 9:12 am

Re: How can I realy rotate my video

Post by tulipelle »

Hi Smithcraft,

I have read this, I use: HandBrakeCLI -i Fin.mov -o Fin01.mp4 -f mp4 --rotate="4" --preset="Hight Profil" , but it not work :(. How can I do. thank you
Deleted User 11865

Re: How can I realy rotate my video

Post by Deleted User 11865 »

Where is your log?
tulipelle
Posts: 7
Joined: Wed Aug 29, 2012 9:12 am

Re: How can I realy rotate my video

Post by tulipelle »

Here is my log

Code: Select all

HandBrakeCLI -i Fin.mov -o Fin01.mp4 -e x264 --rotate="4" --preset="Hight Profil"
[17:30:05] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071800) - Darwin x86_64 - http://handbrake.fr
16 CPUs detected
Opening Fin.mov...
[17:30:05] hb_scan: path=Fin.mov, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening Fin.mov/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(Fin.mov) failed (0x103800000)
[17:30:05] 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
[17:30:05] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Fin.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2011-08-22 05:41:25
  Duration: 00:00:10.00, start: 0.000000, bitrate: 12966 kb/s
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 1080x1920, 12958 kb/s, PAR 981:1080 DAR 327:640, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      creation_time   : 2011-08-22 05:41:25
    Stream #0.1(eng): Data: tmcd / 0x64636D74, 0 kb/s
    Metadata:
      creation_time   : 2011-08-22 05:45:30
[17:30:05] scan: decoding previews for title 1
[17:30:05] scan: 10 previews, 1080x1920, 25.000 fps, autocrop = 2/2/0/0, aspect 1:0.51, PAR 981:1080
[17:30:05] scan: title (0) job->width:976, job->height:1920
Scanning title 1...
[17:30:05] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Fin.mov
  + duration: 00:00:10
  + size: 1080x1920, pixel aspect: 981/1080, display aspect: 0.51, 25.000 fps
  + autocrop: 2/2/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:10
  + audio tracks:
  + subtitle tracks:
+ Using preset: Hight Profil
[17:30:06] 1 job(s) to process
[17:30:06] starting job
[17:30:06] Height out of bounds, scaling down to 1920
[17:30:06] New dimensions 976 * 1920
[17:30:06] sync: expecting 250 video frames
[17:30:06] job configuration:
[17:30:06]  * source
[17:30:06]    + Fin.mov
[17:30:06]    + title 1, chapter(s) 1 to 1
[17:30:06]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:30:06]    + data rate: 12966 kbps
[17:30:06]  * destination
[17:30:06]    + Fin01.mp4
[17:30:06]    + container: MPEG-4 (.mp4 and .m4v)
[17:30:06]  * video track
[17:30:06]    + decoder: h264
[17:30:06]      + bitrate 12958 kbps
[17:30:06]    + frame rate: same as source (around 25.000 fps)
[17:30:06]    + dimensions: 1080 * 1920 -> 976 * 1920, crop 2/2/0/0, mod 0
[17:30:06]    + filter
[17:30:06]      + Rotate (flips image axes) (4)
[17:30:06]    + encoder: H.264 (x264)
[17:30:06]      + bitrate: 1000 kbps, pass: 0
[17:30:06] reader: first SCR 0 id 0x0 DTS 0
[17:30:06] Rotate thread started for segment 1
[17:30:06] Rotate thread started for segment 0
[17:30:06] Rotate thread started for segment 3
[17:30:06] Rotate thread started for segment 2
[17:30:06] Rotate thread started for segment 4
[17:30:06] Rotate thread started for segment 5
[17:30:06] Rotate thread started for segment 6
[17:30:06] Rotate thread started for segment 7
[17:30:06] Rotate thread started for segment 8
[17:30:06] Rotate thread started for segment 9
[17:30:06] Rotate thread started for segment 10
[17:30:06] Rotate thread started for segment 11
[17:30:06] Rotate thread started for segment 12
[17:30:06] Rotate thread started for segment 13
[17:30:06] Rotate thread started for segment 14
[17:30:06] Rotate thread started for segment 15
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 cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
Encoding: task 1 of 1, 76.40 %[17:30:10] reader: done. 1 scr changes
Encoding: task 1 of 1, 99.60 % (37.68 fps, avg 47.46 fps, ETA 00h00m00s)[17:30:11] work: average encoding speed for job is 47.463936 fps
[17:30:11] mux: track 0, 250 frames, 1206699 bytes, 965.36 kbps, fifo 256
Muxing: this may take awhile...[17:30:12] sync: got 250 frames, 250 expected
[17:30:12] h264-decoder done: 250 frames, 0 decoder errors, 0 drops
[17:30:12] render: lost time: 0 (0 frames)
[17:30:12] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:3     Avg QP:16.95  size:  6035  PSNR Mean Y:85.13 U:86.71 V:87.03 Avg:85.52 Global:61.32
x264 [info]: frame P:146   Avg QP:25.66  size:  7922  PSNR Mean Y:48.83 U:57.46 V:61.15 Avg:50.07 Global:47.75
x264 [info]: frame B:101   Avg QP:34.45  size:   318  PSNR Mean Y:47.20 U:54.69 V:60.08 Avg:48.45 Global:47.38
x264 [info]: consecutive B-frames: 42.8%  6.4% 10.8% 40.0%
x264 [info]: mb I  I16..4: 52.6% 46.8%  0.6%
x264 [info]: mb P  I16..4: 13.3%  9.9%  0.7%  P16..4: 13.2%  2.3%  0.8%  0.0%  0.0%    skip:59.8%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  3.3%  0.1%  0.0%  direct: 0.0%  skip:96.5%  L0:38.1% L1:61.5% BI: 0.4%
x264 [info]: final ratefactor: 23.05
x264 [info]: 8x8 transform intra:41.7% inter:82.1%
x264 [info]: coded y,uvDC,uvAC intra: 9.8% 17.9% 4.8% inter: 2.7% 3.2% 0.1%
x264 [info]: i16 v,h,dc,p: 55% 35%  4%  6%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 20% 62%  1%  1%  1%  2%  1%  2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 36% 20%  2%  4%  3%  3%  2%  2%
x264 [info]: i8c dc,h,v,p: 76% 17%  6%  1%
x264 [info]: Weighted P-Frames: Y:27.4% UV:11.6%
x264 [info]: ref P L0: 61.6%  9.5% 22.2%  5.9%  0.7%
x264 [info]: ref B L0: 69.3% 27.6%  3.1%
x264 [info]: ref B L1: 88.6% 11.4%
x264 [info]: SSIM Mean Y:0.9960933 (24.082db)
x264 [info]: PSNR Mean Y:48.607 U:56.688 V:61.029 Avg:49.842 Global:47.646 kb/s:965.46
[17:30:12] libhb: work result = 0

Encode done!

HandBrake has exited.
Last edited by Anonymous on Thu Aug 30, 2012 4:02 pm, edited 1 time in total.
Reason: Logs should be placed in between [code] [/code] blocks
Deleted User 11865

Re: How can I realy rotate my video

Post by Deleted User 11865 »

0.9.8 is strictly a bugfix release. 90-degree rotation is only available in the nightly builds.
jamiemlaw
Veteran User
Posts: 536
Joined: Thu Sep 17, 2009 4:52 pm

Re: How can I realy rotate my video

Post by jamiemlaw »

Also, be careful when spelling the profile name.
tulipelle
Posts: 7
Joined: Wed Aug 29, 2012 9:12 am

Re: How can I realy rotate my video

Post by tulipelle »

@Rodeo, you get it, it's probleme about the version of HandBrake, thank you for your help, @jamiemlaw, is there a probleme about profile name?
Deleted User 11865

Re: How can I realy rotate my video

Post by Deleted User 11865 »

Code: Select all

--preset="High Profile"
not

Code: Select all

--preset="High Profil"
tulipelle
Posts: 7
Joined: Wed Aug 29, 2012 9:12 am

Re: How can I realy rotate my video

Post by tulipelle »

Yes Rodeo, thank you
Post Reply