1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fix my HandBrakeCLI Linux issue on Hard Sub $30

Discussion in 'Hire a Freelancer' started by baokyrox, Dec 25, 2013.

  1. baokyrox

    baokyrox BANNED BANNED

    Joined:
    Oct 10, 2008
    Messages:
    429
    Likes Received:
    34
    Fix my HandBrakeCLI Linux issue on Hard Sub $30


    Payment : Paypal
    Amount : $30

    I only need a fix on handbrakecli, don't recommend me mencoder or ffmpeg

    Problem is the output.mp4 does not contain the new subtitle in hard sub render in, I tried this command to convert mkv at my window server and its work, not sure why its seems to not able produce a same output on my linux server.

    Below is my output log

    Code:
    HandBrake has exited.
    [root@463912a bao]# HandBrakeCLI -i "output2.mkv"  -f mp4 -o "output.mp4" -q 32.0 -e x264 --x264-preset medium --x264-tune animation --x264-profile high -x nr=1000 -m -E faac -B 48 -s 1 --subtitle-burn -a 1 [14:30:08] hb_init: starting libhb thread
    HandBrake svn5940 (2013122501) - Linux x86_64 - http://handbrake.fr
    8 CPUs detected
    Opening output2.mkv...
    [14:30:08] CPU: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz
    [14:30:08]  - Intel microarchitecture Sandy Bridge
    [14:30:08]  - logical processor count: 8
    [14:30:08] OpenCL: library not available
    [14:30:08] hb_scan: path=output2.mkv, title_index=1
    libbluray/bdnav/index_parse.c:162: indx_parse(): error opening output2.mkv/BDMV/index.bdmv
    libbluray/bdnav/index_parse.c:162: indx_parse(): error opening output2.mkv/BDMV/BACKUP/index.bdmv
    libbluray/bluray.c:1725: nav_get_title_list(output2.mkv) failed (0x7fef74000900)
    [14:30:08] 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
    [14:30:08] dvd: not a dvd - trying as a stream/file instead
    Input #0, matroska,webm, from 'output2.mkv':
      Duration: 00:11:55.33, start: 0.000000, bitrate: N/A
        Stream #0.0: Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.81 fps, 23.81 tbr, 1k tbn, 180k tbc (default)
        Stream #0.1(jpn): Audio: aac, 48000 Hz, stereo, fltp (default)
        Stream #0.2: Subtitle: ass (default)
    [14:30:08] scan: decoding previews for title 1
    [14:30:08] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Japanese (aac) (2.0 ch)
    [14:30:08] scan: 10 previews, 1280x720, 23.810 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
    [14:30:08] libhb: scan thread found 1 valid title(s)
    + title 1:
      + stream: output2.mkv
      + duration: 00:11:55
      + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 23.810 fps
      + autocrop: 0/0/0/0
      + support opencl: no
      + support hwd: not built-in
      + chapters:
        + 1: cells 0->0, 0 blocks, duration 00:11:55
      + audio tracks:
        + 1, Japanese (aac) (2.0 ch) (iso639-2: jpn)
      + subtitle tracks:
        + 1, Unknown (iso639-2: und) (Text)(SSA)
    [14:30:08] 1 job(s) to process
    [14:30:08] starting job
    [14:30:08] work: mixdown not specified, track 1 setting mixdown Stereo
    [14:30:08] work: sanitizing track 1 bitrate 48 to 64 Kbps
    [14:30:08] sync: expecting 17031 video frames
    [14:30:08] work: only 1 chapter, disabling chapter markers
    [14:30:08] job configuration:
    [14:30:08]  * source
    [14:30:08]    + output2.mkv
    [14:30:08]    + title 1, chapter(s) 1 to 1
    [14:30:08]    + container: matroska,webm
    [14:30:08]  * destination
    [14:30:08]    + output.mp4
    [14:30:08]    + container: MPEG-4 (avformat)
    [14:30:08]  * video track
    [14:30:08]    + decoder: h264
    [14:30:08]    + filters
    [14:30:08]      + Framerate Shaper (0:27000000:1134000)
    [14:30:08]        + frame rate: same as source (around 23.810 fps)
    [14:30:08]      + Subtitle renderer (0:0:0:0)
    [14:30:08]      + Crop and Scale (1280:720:0:0:0:0)
    [14:30:08]        + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
    [14:30:08]    + dimensions: 1280 * 720, mod 0
    [14:30:08]    + encoder: H.264 (x264)
    [14:30:08]      + x264 preset: medium
    [14:30:08]      + x264 tune: animation
    [14:30:08]      + options: nr=1000
    [14:30:08]      + h264 profile: high
    [14:30:08]      + quality: 32.00 (RF)
    [14:30:08]  * subtitle track 1, Unknown (track 2, id 0x2) Text [SSA] -> Render/Burn-in
    [14:30:08]  * audio track 1
    [14:30:08]    + decoder: Japanese (aac) (2.0 ch) (track 1, id 0x1)
    [14:30:08]      + samplerate: 48000 Hz
    [14:30:08]    + mixdown: Stereo
    [14:30:08]    + encoder: AAC (avcodec)
    [14:30:08]      + bitrate: 64 kbps, samplerate: 48000 Hz
    [14:30:08] reader: first SCR 0 id 0x1 DTS 90
    [14:30:08] encx264: min-keyint: 24, keyint: 240
    [14:30:08] encx264: encoding at constant RF 32.000000
    [14:30:08] encx264: unparsed options: nr=1000:ref=6:bframes=5:deblock=1,1:psy-rd=0.40,0.00:aq-strength=0.60
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    x264 [info]: profile High, level 4.0
    [14:30:08] sync: first pts is 7380
    Encoding: task 1 of 1, 100.00 % (161.95 fps, avg 118.01 fps, ETA 00h00m01s)[14:32:33] reader: done. 1 scr changes
    Encoding: task 1 of 1, 100.00 %[14:32:33] work: average encoding speed for job is 118.262642 fps
    [14:32:33] sync: got 17149 frames, 17031 expected
    [14:32:33] render: lost time: 0 (0 frames)
    [14:32:33] render: gained time: 0 (0 frames) (0 not accounted for)
    Encoding: task 1 of 1, 100.00 %[14:32:33] h264-decoder done: 17149 frames, 0 decoder errors, 0 drops
    x264 [info]: frame I:195   Avg QP:26.39  size: 39105
    x264 [info]: frame P:5316  Avg QP:30.60  size:  3513
    x264 [info]: frame B:11638 Avg QP:35.76  size:   283
    x264 [info]: consecutive B-frames: 13.5%  6.2%  6.5%  7.9% 12.8% 53.2%
    x264 [info]: mb I  I16..4: 27.0% 58.0% 15.0%
    x264 [info]: mb P  I16..4:  5.7%  7.2%  0.6%  P16..4: 14.5%  2.1%  0.6%  0.0%  0.0%    skip:69.2%
    x264 [info]: mb B  I16..4:  0.1%  0.1%  0.0%  B16..8:  4.7%  0.2%  0.0%  direct: 0.1%  skip:94.9%  L0:44.0% L1:55.2% BI: 0.8%
    x264 [info]: 8x8 transform intra:54.3% inter:80.6%
    x264 [info]: coded y,uvDC,uvAC intra: 22.0% 34.0% 8.1% inter: 1.1% 1.7% 0.0%
    x264 [info]: i16 v,h,dc,p: 35% 33%  9% 23%
    x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 14% 40%  3%  4%  5%  4%  4%  4%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 15% 17%  6%  7%  9%  5%  7%  4%
    x264 [info]: i8c dc,h,v,p: 69% 14% 13%  3%
    x264 [info]: Weighted P-Frames: Y:5.0% UV:3.8%
    x264 [info]: ref P L0: 58.5% 13.7% 13.8%  5.4%  3.6%  3.6%  1.4%  0.0%
    x264 [info]: ref B L0: 77.3% 12.0%  7.5%  2.3%  0.9%
    x264 [info]: ref B L1: 91.8%  8.2%
    x264 [info]: kb/s:330.90
    [14:32:33] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
    [14:32:33] mux: track 0, 17149 frames, 29580895 bytes, 330.84 kbps, fifo 8192
    [14:32:33] mux: track 1, 33526 frames, 5722027 bytes, 64.00 kbps, fifo 16384
    [14:32:34] libhb: work result = 0
    
    Encode done!
    
    HandBrake has exited.
    
    
     
  2. Intruder

    Intruder Regular Member

    Joined:
    Jun 3, 2012
    Messages:
    334
    Likes Received:
    206
    Sent you a pm. Come join me on skype.