[FFmpeg-devel] [PATCH]Support more AVC-Intra files

Robert Krüger krueger at lesspain.de
Fri Sep 28 14:36:45 CEST 2012


On Fri, Sep 28, 2012 at 11:00 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Robert Krüger <krueger <at> lesspain.de> writes:
>
>> > On 27 Sep 2012, at 21:23, Tomas Härdin wrote:
>> >> Have you tested that these files still work in say FCP7 after being
>> >> remuxed to MOV? It might be necessary to strip SPS/PPS when muxing
>> >> AVC-Intra.
>
>> I will test this with FCP7 for #1666 later today if you say the patch
>> is stable enough for it to make sense
>
> That is very welcome!
> (But I don't understand how it is related to this patch.)
>
Regardless of whether it is related to this patch, the remuxed file
from #1666 is displayed all green in FCP7 and Quicktime. The decoding
seems to work though. I transcoded the file to mjpeg and that looked
ok.

Output from the remuxing run:


ffmpeg -i ~/tmp/samples/cameras/panasonic_ag_hpx301e/panasonic_ag_hpx301e_avc_intra_1080p_24s.mov
-vcodec copy -acodec copy ~/tmp/avcintra-remuxed-ffmpeg.mov
ffmpeg version N-44830-g4fefe91 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 28 2012 13:53:01 with gcc 4.2.1 (GCC) (Apple Inc. build 5664)
  configuration:
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 60.100 / 54. 60.100
  libavformat    54. 29.105 / 54. 29.105
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/krueger/tmp/samples/cameras/panasonic_ag_hpx301e/panasonic_ag_hpx301e_avc_intra_1080p_24s.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-08-03 11:42:16
  Duration: 00:00:24.44, start: 0.000000, bitrate: 116839 kb/s
    Stream #0:0(eng): Video: h264 (High 4:2:2 Intra) (ai12 /
0x32316961), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], 113664 kb/s,
25 fps, 25 tbr, 2500 tbn, 50 tbc
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 13:17:57:24
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
    Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
    Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
    Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
    Stream #0:5(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 13:17:57:24
Output #0, mov, to '/Users/krueger/tmp/avcintra-remuxed-ffmpeg.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf54.29.105
    Stream #0:0(eng): Video: h264 (ai12 / 0x32316961), yuv422p10le,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 113664 kb/s, 25 fps, 2500 tbn,
2500 tbc
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 13:17:57:24
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, 768 kb/s
    Metadata:
      creation_time   : 2011-08-03 11:42:16
      handler_name    : Apple Alias-Datensteuerung
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  611 fps= 39 q=-1.0 Lsize=  341405kB time=00:00:24.44
bitrate=114434.8kbits/s
video:339105kB audio:2291kB subtitle:0 global headers:0kB muxing
overhead 0.002472%


More information about the ffmpeg-devel mailing list