[FFmpeg-user] Transcoding for the Roku with recent ffmpeg

Yan Seiner yan at seiner.com
Sun Jan 6 16:22:05 CET 2013


I think I've finally figured it out....  Looks like anything later than 
ffmpeg 0.5 can't transcode for the roku, or at least for my first 
generation roku.  (?)  Fingers crossed but so far 2 short tests and 
everything seems to be in order.  Transcoding the first full length 
movie as I write this.

yan at selene:~/vob$ ffmpeg -v
FFmpeg version 0.5.10, Copyright (c) 2000-2012 Fabrice Bellard, et al.
  configuration: --enable-libx264 --enable-libfaac --enable-gpl 
--enable-nonfree
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jan  6 2013 07:05:22, gcc: 4.3.3

This is the invocation line.  I am running latest libx264.... 

ffmpeg -y -i $1.vob -acodec libfaac -ab 128k -vcodec libx264 -vpre 
normal -crf 22 -threads 0 -r 23.976 -f mp4 $1.mp4
qt-faststart $1.mp4 /data21/rtmovies/$1.mp4


Here's what mediainfo says:

yan at selene:/data21/rtmovies$ mediainfo redwings.mp4
General
Complete name                            : redwings.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 10.8 MiB
Duration                                 : 2mn 3s
Overall bit rate mode                    : Variable
Overall bit rate                         : 734 Kbps
Writing application                      : Lavf52.31.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High at L3.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2mn 3s
Bit rate                                 : 601 Kbps
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.073
Stream size                              : 8.85 MiB (82%)
Writing library                          : x264 core 129 r2230 1cffe9f
Encoding settings                        : cabac=1 / ref=2 / 
deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / 
psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 
8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / 
threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / 
interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / 
b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / 
weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / 
rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=10 / 
qpmax=51 / qpstep=4 / ip_ratio=1.41 / aq=1:1.00



More information about the ffmpeg-user mailing list