[FFmpeg-trac] #1409(FFmpeg:new): FFMPEG using preset ipod320 and libx264 , insufficient paramter

FFmpeg trac at avcodec.org
Mon Jun 4 15:06:01 CEST 2012


#1409: FFMPEG using preset ipod320 and libx264 , insufficient paramter
-------------------------------------+----------------------------------
             Reporter:  baoky        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  FFmpeg
              Version:  unspecified  |               Resolution:
             Keywords:  libx264      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Changes (by cehoyos):

 * keywords:   => libx264
 * priority:  critical => normal


Old description:

> C:\ffmpeg\bin>ffmpeg -i
> "C:\Users\Administrator\Downloads\upFFTRY\makyou1.mkv" -
> vcodec libx264 -preset ipod320 -acodec copy
> "C:\Users\Administrator\Downloads\up
> FFTRY\output.mp4" -vf
> "ass=C:\Users\Administrator\Downloads\upFFTRY\makyou1.ass"
>
> ffmpeg version N-41195-g8a0efa9 Copyright (c) 2000-2012 the FFmpeg
> developers
>   built on May 31 2012 20:08:24 with gcc 4.6.3
>   configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-ru
> ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
> --enable-libass
>  --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable
> -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
> --enable-libope
> njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
> --enable-libth
> eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-
> libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
> libxvid --e
> nable-zlib
>   libavutil      51. 55.100 / 51. 55.100
>   libavcodec     54. 23.100 / 54. 23.100
>   libavformat    54.  6.101 / 54.  6.101
>   libavdevice    54.  0.100 / 54.  0.100
>   libavfilter     2. 77.100 /  2. 77.100
>   libswscale      2.  1.100 /  2.  1.100
>   libswresample   0. 15.100 /  0. 15.100
>   libpostproc    52.  0.100 / 52.  0.100
> Input #0, matroska,webm, from
> 'C:\Users\Administrator\Downloads\upFFTRY\makyou1.
> mkv':
>   Metadata:
>     creation_time   : 2012-06-03 03:18:13
>   Duration: 00:24:00.00, start: 0.000000, bitrate: 2334 kb/s
>     Chapter #0.0: start 0.000000, end 70.920000
>     Metadata:
>       title           : Intro
>     Chapter #0.1: start 70.920000, end 684.860000
>     Metadata:
>       title           : Part A
>     Chapter #0.2: start 684.860000, end 1314.820000
>     Metadata:
>       title           : Part B
>     Chapter #0.3: start 1314.820000, end 1404.830000
>     Metadata:
>       title           : OP
>     Chapter #0.4: start 1404.830000, end 1440.000000
>     Metadata:
>       title           : Preview
>     Stream #0:0(jpn): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR
> 16:9, 2
> 3.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
>     Stream #0:1(jpn): Audio: aac, 96000 Hz, stereo, s16 (default)
>     Stream #0:2: Subtitle: ssa (default)
>     Stream #0:3: Attachment: ttf
>     Metadata:
>       filename        : TT1139M.TTF
>       mimetype        : application/x-truetype-font
>     Stream #0:4: Attachment: ttf
>     Metadata:
>       filename        : y2k.ttf
>       mimetype        : application/x-truetype-font
>     Stream #0:5: Attachment: ttf
>     Metadata:
>       filename        : ALIEN5.TTF
>       mimetype        : application/x-truetype-font
>     Stream #0:6: Attachment: ttf
>     Metadata:
>       filename        : arial.ttf
>       mimetype        : application/x-truetype-font
>     Stream #0:7: Attachment: ttf
>     Metadata:
>       filename        : ArtificeSSK.ttf
>       mimetype        : application/x-truetype-font
>     Stream #0:8: Attachment: ttf
>     Metadata:
>       filename        : cronos13b.ttf
>       mimetype        : application/x-truetype-font
>     Stream #0:9: Attachment: ttf
>     Metadata:
>       filename        : fading-wornarmychalk-regular.ttf
>       mimetype        : application/x-truetype-font
>     Stream #0:10: Attachment: ttf
>     Metadata:
>       filename        : icedeart.ttf
>       mimetype        : application/x-truetype-font
>     Stream #0:11: Attachment: ttf
>     Metadata:
>       filename        : LEVIBRUSH.TTF
>       mimetype        : application/x-truetype-font
>     Stream #0:12: Attachment: ttf
>     Metadata:
>       filename        : linkin.ttf
>       mimetype        : application/x-truetype-font
>     Stream #0:13: Attachment: ttf
>     Metadata:
>       filename        : MECHAG.TTF
>       mimetype        : application/x-truetype-font
> [buffer @ 0000000003f74560] w:1280 h:720 pixfmt:yuv420p tb:1/1000 sar:1/1
> sws_pa
> ram:flags=2
> [buffersink @ 0000000003f74460] No opaque field provided
> x264 [error]: invalid preset 'ipod320'
> [libx264 @ 0000000003fd53e0] Error setting preset/tune ipod320/(null).
> Output #0, mp4, to 'C:\Users\Administrator\Downloads\upFFTRY\output.mp4':
>   Metadata:
>     creation_time   : 2012-06-03 03:18:13
>     Chapter #0.0: start 0.000000, end 70.920000
>     Metadata:
>       title           : Intro
>     Chapter #0.1: start 70.920000, end 684.860000
>     Metadata:
>       title           : Part A
>     Chapter #0.2: start 684.860000, end 1314.820000
>     Metadata:
>       title           : Part B
>     Chapter #0.3: start 1314.820000, end 1404.830000
>     Metadata:
>       title           : OP
>     Chapter #0.4: start 1404.830000, end 1440.000000
>     Metadata:
>       title           : Preview
>     Stream #0:0(jpn): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9],
> q=-1--1
> , 90k tbn, 23.98 tbc (default)
>     Stream #0:1(jpn): Audio: aac, 96000 Hz, stereo (default)
> Stream mapping:
>   Stream #0:0 -> #0:0 (h264 -> libx264)
>   Stream #0:1 -> #0:1 (copy)
> Error while opening encoder for output stream #0:0 - maybe incorrect
> parameters
> such as bit_rate, rate, width or height
>

>
> I just want to convert my mkv video to mp4 video with using preset
> ipod320 and vcodec libx264, what did i miss out and how should my command
> be? Thanks!

New description:

 {{{
 C:\ffmpeg\bin>ffmpeg -i
 "C:\Users\Administrator\Downloads\upFFTRY\makyou1.mkv" -vcodec libx264
 -preset ipod320 -acodec copy
 "C:\Users\Administrator\Downloads\upFFTRY\output.mp4" -vf
 "ass=C:\Users\Administrator\Downloads\upFFTRY\makyou1.ass"

 ffmpeg version N-41195-g8a0efa9 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 31 2012 20:08:24 with gcc 4.6.3
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-ru
 ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-
 libass
  --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable
 -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
 libope
 njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
 --enable-libth
 eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --e
 nable-zlib
   libavutil      51. 55.100 / 51. 55.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 77.100 /  2. 77.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, matroska,webm, from
 'C:\Users\Administrator\Downloads\upFFTRY\makyou1.
 mkv':
   Metadata:
     creation_time   : 2012-06-03 03:18:13
   Duration: 00:24:00.00, start: 0.000000, bitrate: 2334 kb/s
     Chapter #0.0: start 0.000000, end 70.920000
     Metadata:
       title           : Intro
     Chapter #0.1: start 70.920000, end 684.860000
     Metadata:
       title           : Part A
     Chapter #0.2: start 684.860000, end 1314.820000
     Metadata:
       title           : Part B
     Chapter #0.3: start 1314.820000, end 1404.830000
     Metadata:
       title           : OP
     Chapter #0.4: start 1404.830000, end 1440.000000
     Metadata:
       title           : Preview
     Stream #0:0(jpn): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR
 16:9, 2
 3.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
     Stream #0:1(jpn): Audio: aac, 96000 Hz, stereo, s16 (default)
     Stream #0:2: Subtitle: ssa (default)
     Stream #0:3: Attachment: ttf
     Metadata:
       filename        : TT1139M.TTF
       mimetype        : application/x-truetype-font
     Stream #0:4: Attachment: ttf
     Metadata:
       filename        : y2k.ttf
       mimetype        : application/x-truetype-font
     Stream #0:5: Attachment: ttf
     Metadata:
       filename        : ALIEN5.TTF
       mimetype        : application/x-truetype-font
     Stream #0:6: Attachment: ttf
     Metadata:
       filename        : arial.ttf
       mimetype        : application/x-truetype-font
     Stream #0:7: Attachment: ttf
     Metadata:
       filename        : ArtificeSSK.ttf
       mimetype        : application/x-truetype-font
     Stream #0:8: Attachment: ttf
     Metadata:
       filename        : cronos13b.ttf
       mimetype        : application/x-truetype-font
     Stream #0:9: Attachment: ttf
     Metadata:
       filename        : fading-wornarmychalk-regular.ttf
       mimetype        : application/x-truetype-font
     Stream #0:10: Attachment: ttf
     Metadata:
       filename        : icedeart.ttf
       mimetype        : application/x-truetype-font
     Stream #0:11: Attachment: ttf
     Metadata:
       filename        : LEVIBRUSH.TTF
       mimetype        : application/x-truetype-font
     Stream #0:12: Attachment: ttf
     Metadata:
       filename        : linkin.ttf
       mimetype        : application/x-truetype-font
     Stream #0:13: Attachment: ttf
     Metadata:
       filename        : MECHAG.TTF
       mimetype        : application/x-truetype-font
 [buffer @ 0000000003f74560] w:1280 h:720 pixfmt:yuv420p tb:1/1000 sar:1/1
 sws_pa
 ram:flags=2
 [buffersink @ 0000000003f74460] No opaque field provided
 x264 [error]: invalid preset 'ipod320'
 [libx264 @ 0000000003fd53e0] Error setting preset/tune ipod320/(null).
 Output #0, mp4, to 'C:\Users\Administrator\Downloads\upFFTRY\output.mp4':
   Metadata:
     creation_time   : 2012-06-03 03:18:13
     Chapter #0.0: start 0.000000, end 70.920000
     Metadata:
       title           : Intro
     Chapter #0.1: start 70.920000, end 684.860000
     Metadata:
       title           : Part A
     Chapter #0.2: start 684.860000, end 1314.820000
     Metadata:
       title           : Part B
     Chapter #0.3: start 1314.820000, end 1404.830000
     Metadata:
       title           : OP
     Chapter #0.4: start 1404.830000, end 1440.000000
     Metadata:
       title           : Preview
     Stream #0:0(jpn): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9],
 q=-1--1
 , 90k tbn, 23.98 tbc (default)
     Stream #0:1(jpn): Audio: aac, 96000 Hz, stereo (default)
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> libx264)
   Stream #0:1 -> #0:1 (copy)
 Error while opening encoder for output stream #0:0 - maybe incorrect
 parameters
 such as bit_rate, rate, width or height
 }}}


 I just want to convert my mkv video to mp4 video with using preset ipod320
 and vcodec libx264, what did i miss out and how should my command be?
 Thanks!

--

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1409#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list