<br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 6:22 AM, Michelle Dupuis <span dir="ltr">&lt;<a href="mailto:mdupuis@ocg.ca" target="_blank">mdupuis@ocg.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>
<div dir="ltr"><font color="#000000" face="Tahoma">I tried your command line but ffmpeg seems to fail on the recording...(see below).  I tried replacing baseline with BP (since it complained about the word baseline too)...but neither seem right.  Ideas
 on what&#39;s wrong below?</font></div>
<div dir="ltr"><font color="#000000" face="Tahoma"></font> </div>
<div dir="ltr"><font color="#000000" face="Tahoma">+ ffmpeg -i /mythstorage/recordings/1625_20120627225900.mpg -acodec aac -strict experimental -strict experimental -ab 128k -ac 2 -s 800x600 -vcodec libx264 -profile BP -tune film -b 600k -r 30 -level
 21 -g 90 -async 2 -threads 0 -metadata title=Test1 /tmp/Test1.mp4<br>
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers<br>
  built on Mar 20 2012 04:34:50 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3)<br>
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau
 --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags=&#39;-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
 -fPIC&#39; --disable-stripping<br>
  libavutil      51. 35.100 / 51. 35.100<br>
  libavcodec     53. 61.100 / 53. 61.100<br>
  libavformat    53. 32.100 / 53. 32.100<br>
  libavdevice    53.  4.100 / 53.  4.100<br>
  libavfilter     2. 61.100 /  2. 61.100<br>
  libswscale      2.  1.100 /  2.  1.100<br>
  libswresample   0.  6.100 /  0.  6.100<br>
  libpostproc    52.  0.100 / 52.  0.100<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 15 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS referenced<br>
[h264 @ 0x24ffae0] sps_id out of range<br>
[h264 @ 0x24ffae0] non-existing SPS 32 referenced in buffering period<br>
[h264 @ 0x24ffae0] non-existing PPS 0 referenced<br>
[h264 @ 0x24ffae0] decode_slice_header error<br>
[h264 @ 0x24ffae0] no frame!<br>
[h264 @ 0x24ffae0] mmco: unref short failure<br>
[h264 @ 0x24ffae0] Increasing reorder buffer to 1<br>
[h264 @ 0x24ffae0] mmco: unref short failure<br>
[mpegts @ 0x24fbc00] max_analyze_duration 5000000 reached at 5024000<br>
Input #0, mpegts, from &#39;/mythstorage/recordings/1625_20120627225900.mpg&#39;:<br>
  Duration: 00:31:00.81, start: 0.419044, bitrate: 3671 kb/s<br>
  Program 1 <br>
    Stream #0:0[0x1011]: Video: h264 (Main) (HDMV / 0x564D4448), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 65.83 fps, 59.94 tbr, 90k tbn, 119.88 tbc<br>
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 384 kb/s<br>
Please use -b:a or -b:v, -b is ambiguous<br>
[buffer @ 0x25026c0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:<br>
[scale @ 0x2504180] w:1280 h:720 fmt:yuv420p -&gt; w:800 h:600 fmt:yuv420p flags:0x4<br>
Incompatible sample format &#39;s16&#39; for codec &#39;aac&#39;, auto-selecting format &#39;flt&#39;<br>
x264 [error]: invalid profile: BP<br>
[libx264 @ 0x2501fa0] Error setting profile BP.<br>
Output #0, mp4, to &#39;/tmp/Test1.mp4&#39;:<br>
  Metadata:<br>
    title           : Test1<br>
    Stream #0:0: Video: h264, yuv420p, 800x600 [SAR 4:3 DAR 16:9], q=-1--1, 600 kb/s, 90k tbn, 30 tbc<br>
    Stream #0:1: Audio: none, 48000 Hz, 2 channels, flt, 128 kb/s<br>
Stream mapping:<br>
  Stream #0:0 -&gt; #0:0 (h264 -&gt; libx264)<br>
  Stream #0:1 -&gt; #0:1 (ac3 -&gt; aac)<br>
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height</font></div>
<div></div>
</div>

<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>Are you getting &quot;invalid profile baseline?&quot; Try running x264 --help and look for Presets: <br><br>it should look like this:<br>Presets:<br><br>      --profile &lt;string&gt;      Force the limits of an H.264 profile<br>
                                  Overrides all settings.<br>                                  - baseline,main,high,high10,high422,high444<br>      --preset &lt;string&gt;       Use a preset to select encoding settings [medium]<br>
                                  Overridden by user settings.<br>                                  - ultrafast,superfast,veryfast,faster,fast<br>                                  - medium,slow,slower,veryslow,placebo<br>
      --tune &lt;string&gt;         Tune the settings for a particular type of source<br>                              or situation<br>                                  Overridden by user settings.<br>                                  Multiple tunings are separated by commas.<br>
                                  Only one psy tuning can be used at a time.<br>                                  - psy tunings: film,animation,grain,<br>                                                 stillimage,psnr,ssim<br>
                                  - other tunings: fastdecode,zerolatency<br><br><br clear="all"><br>-- <br>Working on World Domination since 2001<br><br>