hornetseye-ffmpeg 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/config.rb +1 -1
  3. data/ext/avinput.cc +3 -3
  4. data/ext/avoutput.cc +477 -477
  5. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec416cdd3d5000953664b5fa56a6c95c440ef36a
4
- data.tar.gz: af54a31473ab657a53c66597aee21d7118bee7c1
3
+ metadata.gz: 5b5349e6921ab376733e8bb418650dc336cf5350
4
+ data.tar.gz: 4dde81029c1053fb7b7bc28b4bf6495dde7c2553
5
5
  SHA512:
6
- metadata.gz: 1d07cf3a2fdb3a4749247aef7062a543490bb00d106cec9d950db6576fc79af92f533db62845484baf767f6c28dd7891a27d9d2714bd037e9c3830109a35c6da
7
- data.tar.gz: 0f71cc44590601189a537b723a2234b191c19972a075b10a2f70e7f04a138c88ca47049b761f3d507d48c6970c6b461632cd0eaf1079f181586406e5a76e0377
6
+ metadata.gz: de2fd283320d3c14c39b504296556745d580c5c7bfe3e932a805c1af2abc7aee2fe4ff1917eb0ad7e9202158b1f8faf06143393bd58a4ca3b7abb499d146b4d6
7
+ data.tar.gz: a8355b40537831f3acd2406e9b89767faf964ce93f77024cda90aeea95059de02e3bb235a7efd2adcb47f6a1474ec42e699add847a88305fabec1f061b336a8d
data/config.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rake'
2
2
 
3
3
  PKG_NAME = 'hornetseye-ffmpeg'
4
- PKG_VERSION = '1.2.4'
4
+ PKG_VERSION = '1.2.5'
5
5
  CFG = RbConfig::CONFIG
6
6
  CXX = ENV[ 'CXX' ] || 'g++'
7
7
  RB_FILES = ['config.rb'] + FileList[ 'lib/**/*.rb' ]
@@ -68,7 +68,7 @@ AVInput::AVInput( const string &mrl, bool audio ) throw (Error):
68
68
  m_videoDec->pix_fmt,
69
69
  m_videoDec->width, m_videoDec->height,
70
70
  AV_PIX_FMT_YUV420P, SWS_FAST_BILINEAR, 0, 0, 0 );
71
- m_vFrame = avcodec_alloc_frame();
71
+ m_vFrame = av_frame_alloc();
72
72
  ERRORMACRO(m_vFrame, Error, , "Error allocating frame");
73
73
  };
74
74
  if ( m_audioStream >= 0 )
@@ -83,7 +83,7 @@ AVInput::AVInput( const string &mrl, bool audio ) throw (Error):
83
83
  ERRORMACRO( false, Error, , "Error opening audio codec for file \""
84
84
  << mrl << "\": " << strerror( errno ) );
85
85
  };
86
- m_aFrame = avcodec_alloc_frame();
86
+ m_aFrame = av_frame_alloc();
87
87
  ERRORMACRO(m_aFrame, Error, , "Error allocating frame");
88
88
  };
89
89
  } catch ( Error &e ) {
@@ -249,7 +249,7 @@ AVRational AVInput::frameRate(void) throw (Error)
249
249
  {
250
250
  ERRORMACRO( m_ic != NULL, Error, , "Video \"" << m_mrl << "\" is not open. "
251
251
  "Did you call \"close\" before?" );
252
- return m_ic->streams[ m_videoStream ]->r_frame_rate;
252
+ return m_ic->streams[ m_videoStream ]->avg_frame_rate;
253
253
  }
254
254
 
255
255
  AVRational AVInput::aspectRatio(void) throw (Error)
@@ -54,14 +54,14 @@ AVOutput::AVOutput( const string &mrl, int videoBitRate, int width, int height,
54
54
  ERRORMACRO( m_oc != NULL, Error, , "Failure allocating format context" );
55
55
  m_oc->oformat = format;
56
56
  snprintf( m_oc->filename, sizeof( m_oc->filename ), "%s", mrl.c_str() );
57
- ERRORMACRO( format->video_codec != CODEC_ID_NONE, Error, ,
57
+ ERRORMACRO( format->video_codec != AV_CODEC_ID_NONE, Error, ,
58
58
  "Output format does not support video" );
59
59
  m_videoStream = avformat_new_stream( m_oc, NULL );
60
60
  ERRORMACRO( m_videoStream != NULL, Error, , "Could not allocate video stream" );
61
61
  m_videoStream->sample_aspect_ratio.num = aspectRatioNum;
62
62
  m_videoStream->sample_aspect_ratio.den = aspectRatioDen;
63
63
  AVCodecContext *c = m_videoStream->codec;
64
- c->codec_id = videoCodec != CODEC_ID_NONE ? videoCodec : format->video_codec;
64
+ c->codec_id = videoCodec != AV_CODEC_ID_NONE ? videoCodec : format->video_codec;
65
65
  c->codec_type = AVMEDIA_TYPE_VIDEO;
66
66
  c->bit_rate = videoBitRate;
67
67
  c->width = width;
@@ -78,7 +78,7 @@ AVOutput::AVOutput( const string &mrl, int videoBitRate, int width, int height,
78
78
  m_audioStream = avformat_new_stream( m_oc, NULL );
79
79
  ERRORMACRO( m_audioStream != NULL, Error, , "Could not allocate audio stream" );
80
80
  AVCodecContext *c = m_audioStream->codec;
81
- c->codec_id = audioCodec != CODEC_ID_NONE ? audioCodec : format->audio_codec;
81
+ c->codec_id = audioCodec != AV_CODEC_ID_NONE ? audioCodec : format->audio_codec;
82
82
  c->codec_type = AVMEDIA_TYPE_AUDIO;
83
83
  c->bit_rate = audioBitRate;
84
84
  c->sample_rate = sampleRate;
@@ -128,7 +128,7 @@ AVOutput::AVOutput( const string &mrl, int videoBitRate, int width, int height,
128
128
  m_swsContext = sws_getContext( width, height, AV_PIX_FMT_YUV420P,
129
129
  width, height, AV_PIX_FMT_YUV420P,
130
130
  SWS_FAST_BILINEAR, 0, 0, 0 );
131
- m_frame = avcodec_alloc_frame();
131
+ m_frame = av_frame_alloc();
132
132
  ERRORMACRO( m_frame, Error, , "Error allocating frame" );
133
133
  int size = avpicture_get_size( AV_PIX_FMT_YUV420P, width, height );
134
134
  char *frameBuffer = (char *)av_malloc( size );
@@ -259,8 +259,8 @@ void AVOutput::writeVideo( FramePtr frame ) throw (Error)
259
259
  picture.linesize[2] = width2a;
260
260
  sws_scale( m_swsContext, picture.data, picture.linesize, 0,
261
261
  c->height, m_frame->data, m_frame->linesize );
262
- int packetSize = avcodec_encode_video( c, (uint8_t *)m_videoBuf,
263
- VIDEO_BUF_SIZE, m_frame );
262
+ int packetSize = avcodec_encode_video2( c, (uint8_t *)m_videoBuf,
263
+ VIDEO_BUF_SIZE, m_frame );
264
264
  ERRORMACRO( packetSize >= 0, Error, , "Error encoding video frame" );
265
265
  if ( packetSize > 0 ) {
266
266
  AVPacket packet;
@@ -314,480 +314,480 @@ VALUE AVOutput::registerRubyClass( VALUE rbModule )
314
314
  cRubyClass = rb_define_class_under( rbModule, "AVOutput", rb_cObject );
315
315
  rb_define_singleton_method( cRubyClass, "new",
316
316
  RUBY_METHOD_FUNC( wrapNew ), 13 );
317
- rb_define_const( cRubyClass, "CODEC_ID_NONE",
318
- INT2FIX( CODEC_ID_NONE ) );
319
- rb_define_const( cRubyClass, "CODEC_ID_MPEG1VIDEO",
320
- INT2FIX( CODEC_ID_MPEG1VIDEO ) );
321
- rb_define_const( cRubyClass, "CODEC_ID_MPEG2VIDEO",
322
- INT2FIX( CODEC_ID_MPEG2VIDEO ) );
323
- rb_define_const( cRubyClass, "CODEC_ID_MPEG2VIDEO_XVMC",
324
- INT2FIX( CODEC_ID_MPEG2VIDEO_XVMC ) );
325
- rb_define_const( cRubyClass, "CODEC_ID_H261",
326
- INT2FIX( CODEC_ID_H261 ) );
327
- rb_define_const( cRubyClass, "CODEC_ID_H263",
328
- INT2FIX( CODEC_ID_H263 ) );
329
- rb_define_const( cRubyClass, "CODEC_ID_RV10",
330
- INT2FIX( CODEC_ID_RV10 ) );
331
- rb_define_const( cRubyClass, "CODEC_ID_RV20",
332
- INT2FIX( CODEC_ID_RV20 ) );
333
- rb_define_const( cRubyClass, "CODEC_ID_MJPEG",
334
- INT2FIX( CODEC_ID_MJPEG ) );
335
- rb_define_const( cRubyClass, "CODEC_ID_MJPEGB",
336
- INT2FIX( CODEC_ID_MJPEGB ) );
337
- rb_define_const( cRubyClass, "CODEC_ID_LJPEG",
338
- INT2FIX( CODEC_ID_LJPEG ) );
339
- rb_define_const( cRubyClass, "CODEC_ID_SP5X",
340
- INT2FIX( CODEC_ID_SP5X ) );
341
- rb_define_const( cRubyClass, "CODEC_ID_JPEGLS",
342
- INT2FIX( CODEC_ID_JPEGLS ) );
343
- rb_define_const( cRubyClass, "CODEC_ID_MPEG4",
344
- INT2FIX( CODEC_ID_MPEG4 ) );
345
- rb_define_const( cRubyClass, "CODEC_ID_RAWVIDEO",
346
- INT2FIX( CODEC_ID_RAWVIDEO ) );
347
- rb_define_const( cRubyClass, "CODEC_ID_MSMPEG4V1",
348
- INT2FIX( CODEC_ID_MSMPEG4V1 ) );
349
- rb_define_const( cRubyClass, "CODEC_ID_MSMPEG4V2",
350
- INT2FIX( CODEC_ID_MSMPEG4V2 ) );
351
- rb_define_const( cRubyClass, "CODEC_ID_MSMPEG4V3",
352
- INT2FIX( CODEC_ID_MSMPEG4V3 ) );
353
- rb_define_const( cRubyClass, "CODEC_ID_WMV1",
354
- INT2FIX( CODEC_ID_WMV1 ) );
355
- rb_define_const( cRubyClass, "CODEC_ID_WMV2",
356
- INT2FIX( CODEC_ID_WMV2 ) );
357
- rb_define_const( cRubyClass, "CODEC_ID_H263P",
358
- INT2FIX( CODEC_ID_H263P ) );
359
- rb_define_const( cRubyClass, "CODEC_ID_H263I",
360
- INT2FIX( CODEC_ID_H263I ) );
361
- rb_define_const( cRubyClass, "CODEC_ID_FLV1",
362
- INT2FIX( CODEC_ID_FLV1 ) );
363
- rb_define_const( cRubyClass, "CODEC_ID_SVQ1",
364
- INT2FIX( CODEC_ID_SVQ1 ) );
365
- rb_define_const( cRubyClass, "CODEC_ID_SVQ3",
366
- INT2FIX( CODEC_ID_SVQ3 ) );
367
- rb_define_const( cRubyClass, "CODEC_ID_DVVIDEO",
368
- INT2FIX( CODEC_ID_DVVIDEO ) );
369
- rb_define_const( cRubyClass, "CODEC_ID_HUFFYUV",
370
- INT2FIX( CODEC_ID_HUFFYUV ) );
371
- rb_define_const( cRubyClass, "CODEC_ID_CYUV",
372
- INT2FIX( CODEC_ID_CYUV ) );
373
- rb_define_const( cRubyClass, "CODEC_ID_H264",
374
- INT2FIX( CODEC_ID_H264 ) );
375
- rb_define_const( cRubyClass, "CODEC_ID_INDEO3",
376
- INT2FIX( CODEC_ID_INDEO3 ) );
377
- rb_define_const( cRubyClass, "CODEC_ID_VP3",
378
- INT2FIX( CODEC_ID_VP3 ) );
379
- rb_define_const( cRubyClass, "CODEC_ID_THEORA",
380
- INT2FIX( CODEC_ID_THEORA ) );
381
- rb_define_const( cRubyClass, "CODEC_ID_ASV1",
382
- INT2FIX( CODEC_ID_ASV1 ) );
383
- rb_define_const( cRubyClass, "CODEC_ID_ASV2",
384
- INT2FIX( CODEC_ID_ASV2 ) );
385
- rb_define_const( cRubyClass, "CODEC_ID_FFV1",
386
- INT2FIX( CODEC_ID_FFV1 ) );
387
- rb_define_const( cRubyClass, "CODEC_ID_4XM",
388
- INT2FIX( CODEC_ID_4XM ) );
389
- rb_define_const( cRubyClass, "CODEC_ID_VCR1",
390
- INT2FIX( CODEC_ID_VCR1 ) );
391
- rb_define_const( cRubyClass, "CODEC_ID_CLJR",
392
- INT2FIX( CODEC_ID_CLJR ) );
393
- rb_define_const( cRubyClass, "CODEC_ID_MDEC",
394
- INT2FIX( CODEC_ID_MDEC ) );
395
- rb_define_const( cRubyClass, "CODEC_ID_ROQ",
396
- INT2FIX( CODEC_ID_ROQ ) );
397
- rb_define_const( cRubyClass, "CODEC_ID_INTERPLAY_VIDEO",
398
- INT2FIX( CODEC_ID_INTERPLAY_VIDEO ) );
399
- rb_define_const( cRubyClass, "CODEC_ID_XAN_WC3",
400
- INT2FIX( CODEC_ID_XAN_WC3 ) );
401
- rb_define_const( cRubyClass, "CODEC_ID_XAN_WC4",
402
- INT2FIX( CODEC_ID_XAN_WC4 ) );
403
- rb_define_const( cRubyClass, "CODEC_ID_RPZA",
404
- INT2FIX( CODEC_ID_RPZA ) );
405
- rb_define_const( cRubyClass, "CODEC_ID_CINEPAK",
406
- INT2FIX( CODEC_ID_CINEPAK ) );
407
- rb_define_const( cRubyClass, "CODEC_ID_WS_VQA",
408
- INT2FIX( CODEC_ID_WS_VQA ) );
409
- rb_define_const( cRubyClass, "CODEC_ID_MSRLE",
410
- INT2FIX( CODEC_ID_MSRLE ) );
411
- rb_define_const( cRubyClass, "CODEC_ID_MSVIDEO1",
412
- INT2FIX( CODEC_ID_MSVIDEO1 ) );
413
- rb_define_const( cRubyClass, "CODEC_ID_IDCIN",
414
- INT2FIX( CODEC_ID_IDCIN ) );
415
- rb_define_const( cRubyClass, "CODEC_ID_8BPS",
416
- INT2FIX( CODEC_ID_8BPS ) );
417
- rb_define_const( cRubyClass, "CODEC_ID_SMC",
418
- INT2FIX( CODEC_ID_SMC ) );
419
- rb_define_const( cRubyClass, "CODEC_ID_FLIC",
420
- INT2FIX( CODEC_ID_FLIC ) );
421
- rb_define_const( cRubyClass, "CODEC_ID_TRUEMOTION1",
422
- INT2FIX( CODEC_ID_TRUEMOTION1 ) );
423
- rb_define_const( cRubyClass, "CODEC_ID_VMDVIDEO",
424
- INT2FIX( CODEC_ID_VMDVIDEO ) );
425
- rb_define_const( cRubyClass, "CODEC_ID_MSZH",
426
- INT2FIX( CODEC_ID_MSZH ) );
427
- rb_define_const( cRubyClass, "CODEC_ID_ZLIB",
428
- INT2FIX( CODEC_ID_ZLIB ) );
429
- rb_define_const( cRubyClass, "CODEC_ID_QTRLE",
430
- INT2FIX( CODEC_ID_QTRLE ) );
431
- rb_define_const( cRubyClass, "CODEC_ID_SNOW",
432
- INT2FIX( CODEC_ID_SNOW ) );
433
- rb_define_const( cRubyClass, "CODEC_ID_TSCC",
434
- INT2FIX( CODEC_ID_TSCC ) );
435
- rb_define_const( cRubyClass, "CODEC_ID_ULTI",
436
- INT2FIX( CODEC_ID_ULTI ) );
437
- rb_define_const( cRubyClass, "CODEC_ID_QDRAW",
438
- INT2FIX( CODEC_ID_QDRAW ) );
439
- rb_define_const( cRubyClass, "CODEC_ID_VIXL",
440
- INT2FIX( CODEC_ID_VIXL ) );
441
- rb_define_const( cRubyClass, "CODEC_ID_QPEG",
442
- INT2FIX( CODEC_ID_QPEG ) );
443
- rb_define_const( cRubyClass, "CODEC_ID_PNG",
444
- INT2FIX( CODEC_ID_PNG ) );
445
- rb_define_const( cRubyClass, "CODEC_ID_PPM",
446
- INT2FIX( CODEC_ID_PPM ) );
447
- rb_define_const( cRubyClass, "CODEC_ID_PBM",
448
- INT2FIX( CODEC_ID_PBM ) );
449
- rb_define_const( cRubyClass, "CODEC_ID_PGM",
450
- INT2FIX( CODEC_ID_PGM ) );
451
- rb_define_const( cRubyClass, "CODEC_ID_PGMYUV",
452
- INT2FIX( CODEC_ID_PGMYUV ) );
453
- rb_define_const( cRubyClass, "CODEC_ID_PAM",
454
- INT2FIX( CODEC_ID_PAM ) );
455
- rb_define_const( cRubyClass, "CODEC_ID_FFVHUFF",
456
- INT2FIX( CODEC_ID_FFVHUFF ) );
457
- rb_define_const( cRubyClass, "CODEC_ID_RV30",
458
- INT2FIX( CODEC_ID_RV30 ) );
459
- rb_define_const( cRubyClass, "CODEC_ID_RV40",
460
- INT2FIX( CODEC_ID_RV40 ) );
461
- rb_define_const( cRubyClass, "CODEC_ID_VC1",
462
- INT2FIX( CODEC_ID_VC1 ) );
463
- rb_define_const( cRubyClass, "CODEC_ID_WMV3",
464
- INT2FIX( CODEC_ID_WMV3 ) );
465
- rb_define_const( cRubyClass, "CODEC_ID_LOCO",
466
- INT2FIX( CODEC_ID_LOCO ) );
467
- rb_define_const( cRubyClass, "CODEC_ID_WNV1",
468
- INT2FIX( CODEC_ID_WNV1 ) );
469
- rb_define_const( cRubyClass, "CODEC_ID_AASC",
470
- INT2FIX( CODEC_ID_AASC ) );
471
- rb_define_const( cRubyClass, "CODEC_ID_INDEO2",
472
- INT2FIX( CODEC_ID_INDEO2 ) );
473
- rb_define_const( cRubyClass, "CODEC_ID_FRAPS",
474
- INT2FIX( CODEC_ID_FRAPS ) );
475
- rb_define_const( cRubyClass, "CODEC_ID_TRUEMOTION2",
476
- INT2FIX( CODEC_ID_TRUEMOTION2 ) );
477
- rb_define_const( cRubyClass, "CODEC_ID_BMP",
478
- INT2FIX( CODEC_ID_BMP ) );
479
- rb_define_const( cRubyClass, "CODEC_ID_CSCD",
480
- INT2FIX( CODEC_ID_CSCD ) );
481
- rb_define_const( cRubyClass, "CODEC_ID_MMVIDEO",
482
- INT2FIX( CODEC_ID_MMVIDEO ) );
483
- rb_define_const( cRubyClass, "CODEC_ID_ZMBV",
484
- INT2FIX( CODEC_ID_ZMBV ) );
485
- rb_define_const( cRubyClass, "CODEC_ID_AVS",
486
- INT2FIX( CODEC_ID_AVS ) );
487
- rb_define_const( cRubyClass, "CODEC_ID_SMACKVIDEO",
488
- INT2FIX( CODEC_ID_SMACKVIDEO ) );
489
- rb_define_const( cRubyClass, "CODEC_ID_NUV",
490
- INT2FIX( CODEC_ID_NUV ) );
491
- rb_define_const( cRubyClass, "CODEC_ID_KMVC",
492
- INT2FIX( CODEC_ID_KMVC ) );
493
- rb_define_const( cRubyClass, "CODEC_ID_FLASHSV",
494
- INT2FIX( CODEC_ID_FLASHSV ) );
495
- rb_define_const( cRubyClass, "CODEC_ID_CAVS",
496
- INT2FIX( CODEC_ID_CAVS ) );
497
- rb_define_const( cRubyClass, "CODEC_ID_JPEG2000",
498
- INT2FIX( CODEC_ID_JPEG2000 ) );
499
- rb_define_const( cRubyClass, "CODEC_ID_VMNC",
500
- INT2FIX( CODEC_ID_VMNC ) );
501
- rb_define_const( cRubyClass, "CODEC_ID_VP5",
502
- INT2FIX( CODEC_ID_VP5 ) );
503
- rb_define_const( cRubyClass, "CODEC_ID_VP6",
504
- INT2FIX( CODEC_ID_VP6 ) );
505
- rb_define_const( cRubyClass, "CODEC_ID_VP6F",
506
- INT2FIX( CODEC_ID_VP6F ) );
507
- rb_define_const( cRubyClass, "CODEC_ID_TARGA",
508
- INT2FIX( CODEC_ID_TARGA ) );
509
- rb_define_const( cRubyClass, "CODEC_ID_DSICINVIDEO",
510
- INT2FIX( CODEC_ID_DSICINVIDEO ) );
511
- rb_define_const( cRubyClass, "CODEC_ID_TIERTEXSEQVIDEO",
512
- INT2FIX( CODEC_ID_TIERTEXSEQVIDEO ) );
513
- rb_define_const( cRubyClass, "CODEC_ID_TIFF",
514
- INT2FIX( CODEC_ID_TIFF ) );
515
- rb_define_const( cRubyClass, "CODEC_ID_GIF",
516
- INT2FIX( CODEC_ID_GIF ) );
517
- #ifdef CODEC_ID_FFH264
518
- rb_define_const( cRubyClass, "CODEC_ID_FFH264",
519
- INT2FIX( CODEC_ID_FFH264 ) );
317
+ rb_define_const( cRubyClass, "AV_CODEC_ID_NONE",
318
+ INT2FIX( AV_CODEC_ID_NONE ) );
319
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MPEG1VIDEO",
320
+ INT2FIX( AV_CODEC_ID_MPEG1VIDEO ) );
321
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MPEG2VIDEO",
322
+ INT2FIX( AV_CODEC_ID_MPEG2VIDEO ) );
323
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MPEG2VIDEO_XVMC",
324
+ INT2FIX( AV_CODEC_ID_MPEG2VIDEO_XVMC ) );
325
+ rb_define_const( cRubyClass, "AV_CODEC_ID_H261",
326
+ INT2FIX( AV_CODEC_ID_H261 ) );
327
+ rb_define_const( cRubyClass, "AV_CODEC_ID_H263",
328
+ INT2FIX( AV_CODEC_ID_H263 ) );
329
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RV10",
330
+ INT2FIX( AV_CODEC_ID_RV10 ) );
331
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RV20",
332
+ INT2FIX( AV_CODEC_ID_RV20 ) );
333
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MJPEG",
334
+ INT2FIX( AV_CODEC_ID_MJPEG ) );
335
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MJPEGB",
336
+ INT2FIX( AV_CODEC_ID_MJPEGB ) );
337
+ rb_define_const( cRubyClass, "AV_CODEC_ID_LJPEG",
338
+ INT2FIX( AV_CODEC_ID_LJPEG ) );
339
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SP5X",
340
+ INT2FIX( AV_CODEC_ID_SP5X ) );
341
+ rb_define_const( cRubyClass, "AV_CODEC_ID_JPEGLS",
342
+ INT2FIX( AV_CODEC_ID_JPEGLS ) );
343
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MPEG4",
344
+ INT2FIX( AV_CODEC_ID_MPEG4 ) );
345
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RAWVIDEO",
346
+ INT2FIX( AV_CODEC_ID_RAWVIDEO ) );
347
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MSMPEG4V1",
348
+ INT2FIX( AV_CODEC_ID_MSMPEG4V1 ) );
349
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MSMPEG4V2",
350
+ INT2FIX( AV_CODEC_ID_MSMPEG4V2 ) );
351
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MSMPEG4V3",
352
+ INT2FIX( AV_CODEC_ID_MSMPEG4V3 ) );
353
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMV1",
354
+ INT2FIX( AV_CODEC_ID_WMV1 ) );
355
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMV2",
356
+ INT2FIX( AV_CODEC_ID_WMV2 ) );
357
+ rb_define_const( cRubyClass, "AV_CODEC_ID_H263P",
358
+ INT2FIX( AV_CODEC_ID_H263P ) );
359
+ rb_define_const( cRubyClass, "AV_CODEC_ID_H263I",
360
+ INT2FIX( AV_CODEC_ID_H263I ) );
361
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FLV1",
362
+ INT2FIX( AV_CODEC_ID_FLV1 ) );
363
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SVQ1",
364
+ INT2FIX( AV_CODEC_ID_SVQ1 ) );
365
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SVQ3",
366
+ INT2FIX( AV_CODEC_ID_SVQ3 ) );
367
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DVVIDEO",
368
+ INT2FIX( AV_CODEC_ID_DVVIDEO ) );
369
+ rb_define_const( cRubyClass, "AV_CODEC_ID_HUFFYUV",
370
+ INT2FIX( AV_CODEC_ID_HUFFYUV ) );
371
+ rb_define_const( cRubyClass, "AV_CODEC_ID_CYUV",
372
+ INT2FIX( AV_CODEC_ID_CYUV ) );
373
+ rb_define_const( cRubyClass, "AV_CODEC_ID_H264",
374
+ INT2FIX( AV_CODEC_ID_H264 ) );
375
+ rb_define_const( cRubyClass, "AV_CODEC_ID_INDEO3",
376
+ INT2FIX( AV_CODEC_ID_INDEO3 ) );
377
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VP3",
378
+ INT2FIX( AV_CODEC_ID_VP3 ) );
379
+ rb_define_const( cRubyClass, "AV_CODEC_ID_THEORA",
380
+ INT2FIX( AV_CODEC_ID_THEORA ) );
381
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ASV1",
382
+ INT2FIX( AV_CODEC_ID_ASV1 ) );
383
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ASV2",
384
+ INT2FIX( AV_CODEC_ID_ASV2 ) );
385
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FFV1",
386
+ INT2FIX( AV_CODEC_ID_FFV1 ) );
387
+ rb_define_const( cRubyClass, "AV_CODEC_ID_4XM",
388
+ INT2FIX( AV_CODEC_ID_4XM ) );
389
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VCR1",
390
+ INT2FIX( AV_CODEC_ID_VCR1 ) );
391
+ rb_define_const( cRubyClass, "AV_CODEC_ID_CLJR",
392
+ INT2FIX( AV_CODEC_ID_CLJR ) );
393
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MDEC",
394
+ INT2FIX( AV_CODEC_ID_MDEC ) );
395
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ROQ",
396
+ INT2FIX( AV_CODEC_ID_ROQ ) );
397
+ rb_define_const( cRubyClass, "AV_CODEC_ID_INTERPLAY_VIDEO",
398
+ INT2FIX( AV_CODEC_ID_INTERPLAY_VIDEO ) );
399
+ rb_define_const( cRubyClass, "AV_CODEC_ID_XAN_WC3",
400
+ INT2FIX( AV_CODEC_ID_XAN_WC3 ) );
401
+ rb_define_const( cRubyClass, "AV_CODEC_ID_XAN_WC4",
402
+ INT2FIX( AV_CODEC_ID_XAN_WC4 ) );
403
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RPZA",
404
+ INT2FIX( AV_CODEC_ID_RPZA ) );
405
+ rb_define_const( cRubyClass, "AV_CODEC_ID_CINEPAK",
406
+ INT2FIX( AV_CODEC_ID_CINEPAK ) );
407
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WS_VQA",
408
+ INT2FIX( AV_CODEC_ID_WS_VQA ) );
409
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MSRLE",
410
+ INT2FIX( AV_CODEC_ID_MSRLE ) );
411
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MSVIDEO1",
412
+ INT2FIX( AV_CODEC_ID_MSVIDEO1 ) );
413
+ rb_define_const( cRubyClass, "AV_CODEC_ID_IDCIN",
414
+ INT2FIX( AV_CODEC_ID_IDCIN ) );
415
+ rb_define_const( cRubyClass, "AV_CODEC_ID_8BPS",
416
+ INT2FIX( AV_CODEC_ID_8BPS ) );
417
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SMC",
418
+ INT2FIX( AV_CODEC_ID_SMC ) );
419
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FLIC",
420
+ INT2FIX( AV_CODEC_ID_FLIC ) );
421
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TRUEMOTION1",
422
+ INT2FIX( AV_CODEC_ID_TRUEMOTION1 ) );
423
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VMDVIDEO",
424
+ INT2FIX( AV_CODEC_ID_VMDVIDEO ) );
425
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MSZH",
426
+ INT2FIX( AV_CODEC_ID_MSZH ) );
427
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ZLIB",
428
+ INT2FIX( AV_CODEC_ID_ZLIB ) );
429
+ rb_define_const( cRubyClass, "AV_CODEC_ID_QTRLE",
430
+ INT2FIX( AV_CODEC_ID_QTRLE ) );
431
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SNOW",
432
+ INT2FIX( AV_CODEC_ID_SNOW ) );
433
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TSCC",
434
+ INT2FIX( AV_CODEC_ID_TSCC ) );
435
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ULTI",
436
+ INT2FIX( AV_CODEC_ID_ULTI ) );
437
+ rb_define_const( cRubyClass, "AV_CODEC_ID_QDRAW",
438
+ INT2FIX( AV_CODEC_ID_QDRAW ) );
439
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VIXL",
440
+ INT2FIX( AV_CODEC_ID_VIXL ) );
441
+ rb_define_const( cRubyClass, "AV_CODEC_ID_QPEG",
442
+ INT2FIX( AV_CODEC_ID_QPEG ) );
443
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PNG",
444
+ INT2FIX( AV_CODEC_ID_PNG ) );
445
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PPM",
446
+ INT2FIX( AV_CODEC_ID_PPM ) );
447
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PBM",
448
+ INT2FIX( AV_CODEC_ID_PBM ) );
449
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PGM",
450
+ INT2FIX( AV_CODEC_ID_PGM ) );
451
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PGMYUV",
452
+ INT2FIX( AV_CODEC_ID_PGMYUV ) );
453
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PAM",
454
+ INT2FIX( AV_CODEC_ID_PAM ) );
455
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FFVHUFF",
456
+ INT2FIX( AV_CODEC_ID_FFVHUFF ) );
457
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RV30",
458
+ INT2FIX( AV_CODEC_ID_RV30 ) );
459
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RV40",
460
+ INT2FIX( AV_CODEC_ID_RV40 ) );
461
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VC1",
462
+ INT2FIX( AV_CODEC_ID_VC1 ) );
463
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMV3",
464
+ INT2FIX( AV_CODEC_ID_WMV3 ) );
465
+ rb_define_const( cRubyClass, "AV_CODEC_ID_LOCO",
466
+ INT2FIX( AV_CODEC_ID_LOCO ) );
467
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WNV1",
468
+ INT2FIX( AV_CODEC_ID_WNV1 ) );
469
+ rb_define_const( cRubyClass, "AV_CODEC_ID_AASC",
470
+ INT2FIX( AV_CODEC_ID_AASC ) );
471
+ rb_define_const( cRubyClass, "AV_CODEC_ID_INDEO2",
472
+ INT2FIX( AV_CODEC_ID_INDEO2 ) );
473
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FRAPS",
474
+ INT2FIX( AV_CODEC_ID_FRAPS ) );
475
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TRUEMOTION2",
476
+ INT2FIX( AV_CODEC_ID_TRUEMOTION2 ) );
477
+ rb_define_const( cRubyClass, "AV_CODEC_ID_BMP",
478
+ INT2FIX( AV_CODEC_ID_BMP ) );
479
+ rb_define_const( cRubyClass, "AV_CODEC_ID_CSCD",
480
+ INT2FIX( AV_CODEC_ID_CSCD ) );
481
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MMVIDEO",
482
+ INT2FIX( AV_CODEC_ID_MMVIDEO ) );
483
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ZMBV",
484
+ INT2FIX( AV_CODEC_ID_ZMBV ) );
485
+ rb_define_const( cRubyClass, "AV_CODEC_ID_AVS",
486
+ INT2FIX( AV_CODEC_ID_AVS ) );
487
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SMACKVIDEO",
488
+ INT2FIX( AV_CODEC_ID_SMACKVIDEO ) );
489
+ rb_define_const( cRubyClass, "AV_CODEC_ID_NUV",
490
+ INT2FIX( AV_CODEC_ID_NUV ) );
491
+ rb_define_const( cRubyClass, "AV_CODEC_ID_KMVC",
492
+ INT2FIX( AV_CODEC_ID_KMVC ) );
493
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FLASHSV",
494
+ INT2FIX( AV_CODEC_ID_FLASHSV ) );
495
+ rb_define_const( cRubyClass, "AV_CODEC_ID_CAVS",
496
+ INT2FIX( AV_CODEC_ID_CAVS ) );
497
+ rb_define_const( cRubyClass, "AV_CODEC_ID_JPEG2000",
498
+ INT2FIX( AV_CODEC_ID_JPEG2000 ) );
499
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VMNC",
500
+ INT2FIX( AV_CODEC_ID_VMNC ) );
501
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VP5",
502
+ INT2FIX( AV_CODEC_ID_VP5 ) );
503
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VP6",
504
+ INT2FIX( AV_CODEC_ID_VP6 ) );
505
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VP6F",
506
+ INT2FIX( AV_CODEC_ID_VP6F ) );
507
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TARGA",
508
+ INT2FIX( AV_CODEC_ID_TARGA ) );
509
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DSICINVIDEO",
510
+ INT2FIX( AV_CODEC_ID_DSICINVIDEO ) );
511
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TIERTEXSEQVIDEO",
512
+ INT2FIX( AV_CODEC_ID_TIERTEXSEQVIDEO ) );
513
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TIFF",
514
+ INT2FIX( AV_CODEC_ID_TIFF ) );
515
+ rb_define_const( cRubyClass, "AV_CODEC_ID_GIF",
516
+ INT2FIX( AV_CODEC_ID_GIF ) );
517
+ #ifdef AV_CODEC_ID_FFH264
518
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FFH264",
519
+ INT2FIX( AV_CODEC_ID_FFH264 ) );
520
520
  #endif
521
- rb_define_const( cRubyClass, "CODEC_ID_DXA",
522
- INT2FIX( CODEC_ID_DXA ) );
523
- rb_define_const( cRubyClass, "CODEC_ID_DNXHD",
524
- INT2FIX( CODEC_ID_DNXHD ) );
525
- rb_define_const( cRubyClass, "CODEC_ID_THP",
526
- INT2FIX( CODEC_ID_THP ) );
527
- rb_define_const( cRubyClass, "CODEC_ID_SGI",
528
- INT2FIX( CODEC_ID_SGI ) );
529
- rb_define_const( cRubyClass, "CODEC_ID_C93",
530
- INT2FIX( CODEC_ID_C93 ) );
531
- rb_define_const( cRubyClass, "CODEC_ID_BETHSOFTVID",
532
- INT2FIX( CODEC_ID_BETHSOFTVID ) );
533
- rb_define_const( cRubyClass, "CODEC_ID_PTX",
534
- INT2FIX( CODEC_ID_PTX ) );
535
- rb_define_const( cRubyClass, "CODEC_ID_TXD",
536
- INT2FIX( CODEC_ID_TXD ) );
537
- rb_define_const( cRubyClass, "CODEC_ID_VP6A",
538
- INT2FIX( CODEC_ID_VP6A ) );
539
- rb_define_const( cRubyClass, "CODEC_ID_AMV",
540
- INT2FIX( CODEC_ID_AMV ) );
541
- rb_define_const( cRubyClass, "CODEC_ID_VB",
542
- INT2FIX( CODEC_ID_VB ) );
543
- rb_define_const( cRubyClass, "CODEC_ID_PCX",
544
- INT2FIX( CODEC_ID_PCX ) );
545
- rb_define_const( cRubyClass, "CODEC_ID_SUNRAST",
546
- INT2FIX( CODEC_ID_SUNRAST ) );
547
- rb_define_const( cRubyClass, "CODEC_ID_INDEO4",
548
- INT2FIX( CODEC_ID_INDEO4 ) );
549
- rb_define_const( cRubyClass, "CODEC_ID_INDEO5",
550
- INT2FIX( CODEC_ID_INDEO5 ) );
551
- rb_define_const( cRubyClass, "CODEC_ID_MIMIC",
552
- INT2FIX( CODEC_ID_MIMIC ) );
553
- rb_define_const( cRubyClass, "CODEC_ID_RL2",
554
- INT2FIX( CODEC_ID_RL2 ) );
555
- rb_define_const( cRubyClass, "CODEC_ID_8SVX_EXP",
556
- INT2FIX( CODEC_ID_8SVX_EXP ) );
557
- rb_define_const( cRubyClass, "CODEC_ID_8SVX_FIB",
558
- INT2FIX( CODEC_ID_8SVX_FIB ) );
559
- rb_define_const( cRubyClass, "CODEC_ID_ESCAPE124",
560
- INT2FIX( CODEC_ID_ESCAPE124 ) );
561
- rb_define_const( cRubyClass, "CODEC_ID_DIRAC",
562
- INT2FIX( CODEC_ID_DIRAC ) );
563
- rb_define_const( cRubyClass, "CODEC_ID_BFI",
564
- INT2FIX( CODEC_ID_BFI ) );
565
- rb_define_const( cRubyClass, "CODEC_ID_CMV",
566
- INT2FIX( CODEC_ID_CMV ) );
567
- rb_define_const( cRubyClass, "CODEC_ID_MOTIONPIXELS",
568
- INT2FIX( CODEC_ID_MOTIONPIXELS ) );
569
- rb_define_const( cRubyClass, "CODEC_ID_TGV",
570
- INT2FIX( CODEC_ID_TGV ) );
571
- rb_define_const( cRubyClass, "CODEC_ID_TGQ",
572
- INT2FIX( CODEC_ID_TGQ ) );
573
- rb_define_const( cRubyClass, "CODEC_ID_TQI",
574
- INT2FIX( CODEC_ID_TQI ) );
575
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S16LE",
576
- INT2FIX( CODEC_ID_PCM_S16LE ) );
577
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S16BE",
578
- INT2FIX( CODEC_ID_PCM_S16BE ) );
579
- rb_define_const( cRubyClass, "CODEC_ID_PCM_U16LE",
580
- INT2FIX( CODEC_ID_PCM_U16LE ) );
581
- rb_define_const( cRubyClass, "CODEC_ID_PCM_U16BE",
582
- INT2FIX( CODEC_ID_PCM_U16BE ) );
583
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S8",
584
- INT2FIX( CODEC_ID_PCM_S8 ) );
585
- rb_define_const( cRubyClass, "CODEC_ID_PCM_U8",
586
- INT2FIX( CODEC_ID_PCM_U8 ) );
587
- rb_define_const( cRubyClass, "CODEC_ID_PCM_MULAW",
588
- INT2FIX( CODEC_ID_PCM_MULAW ) );
589
- rb_define_const( cRubyClass, "CODEC_ID_PCM_ALAW",
590
- INT2FIX( CODEC_ID_PCM_ALAW ) );
591
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S32LE",
592
- INT2FIX( CODEC_ID_PCM_S32LE ) );
593
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S32BE",
594
- INT2FIX( CODEC_ID_PCM_S32BE ) );
595
- rb_define_const( cRubyClass, "CODEC_ID_PCM_U32LE",
596
- INT2FIX( CODEC_ID_PCM_U32LE ) );
597
- rb_define_const( cRubyClass, "CODEC_ID_PCM_U32BE",
598
- INT2FIX( CODEC_ID_PCM_U32BE ) );
599
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S24LE",
600
- INT2FIX( CODEC_ID_PCM_S24LE ) );
601
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S24BE",
602
- INT2FIX( CODEC_ID_PCM_S24BE ) );
603
- rb_define_const( cRubyClass, "CODEC_ID_PCM_U24LE",
604
- INT2FIX( CODEC_ID_PCM_U24LE ) );
605
- rb_define_const( cRubyClass, "CODEC_ID_PCM_U24BE",
606
- INT2FIX( CODEC_ID_PCM_U24BE ) );
607
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S24DAUD",
608
- INT2FIX( CODEC_ID_PCM_S24DAUD ) );
609
- rb_define_const( cRubyClass, "CODEC_ID_PCM_ZORK",
610
- INT2FIX( CODEC_ID_PCM_ZORK ) );
611
- rb_define_const( cRubyClass, "CODEC_ID_PCM_S16LE_PLANAR",
612
- INT2FIX( CODEC_ID_PCM_S16LE_PLANAR ) );
613
- rb_define_const( cRubyClass, "CODEC_ID_PCM_DVD",
614
- INT2FIX( CODEC_ID_PCM_DVD ) );
615
- rb_define_const( cRubyClass, "CODEC_ID_PCM_F32BE",
616
- INT2FIX( CODEC_ID_PCM_F32BE ) );
617
- rb_define_const( cRubyClass, "CODEC_ID_PCM_F32LE",
618
- INT2FIX( CODEC_ID_PCM_F32LE ) );
619
- rb_define_const( cRubyClass, "CODEC_ID_PCM_F64BE",
620
- INT2FIX( CODEC_ID_PCM_F64BE ) );
621
- rb_define_const( cRubyClass, "CODEC_ID_PCM_F64LE",
622
- INT2FIX( CODEC_ID_PCM_F64LE ) );
623
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_QT",
624
- INT2FIX( CODEC_ID_ADPCM_IMA_QT ) );
625
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_WAV",
626
- INT2FIX( CODEC_ID_ADPCM_IMA_WAV ) );
627
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_DK3",
628
- INT2FIX( CODEC_ID_ADPCM_IMA_DK3 ) );
629
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_DK4",
630
- INT2FIX( CODEC_ID_ADPCM_IMA_DK4 ) );
631
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_WS",
632
- INT2FIX( CODEC_ID_ADPCM_IMA_WS ) );
633
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_SMJPEG",
634
- INT2FIX( CODEC_ID_ADPCM_IMA_SMJPEG ) );
635
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_MS",
636
- INT2FIX( CODEC_ID_ADPCM_MS ) );
637
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_4XM",
638
- INT2FIX( CODEC_ID_ADPCM_4XM ) );
639
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_XA",
640
- INT2FIX( CODEC_ID_ADPCM_XA ) );
641
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_ADX",
642
- INT2FIX( CODEC_ID_ADPCM_ADX ) );
643
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_EA",
644
- INT2FIX( CODEC_ID_ADPCM_EA ) );
645
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_G726",
646
- INT2FIX( CODEC_ID_ADPCM_G726 ) );
647
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_CT",
648
- INT2FIX( CODEC_ID_ADPCM_CT ) );
649
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_SWF",
650
- INT2FIX( CODEC_ID_ADPCM_SWF ) );
651
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_YAMAHA",
652
- INT2FIX( CODEC_ID_ADPCM_YAMAHA ) );
653
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_SBPRO_4",
654
- INT2FIX( CODEC_ID_ADPCM_SBPRO_4 ) );
655
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_SBPRO_3",
656
- INT2FIX( CODEC_ID_ADPCM_SBPRO_3 ) );
657
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_SBPRO_2",
658
- INT2FIX( CODEC_ID_ADPCM_SBPRO_2 ) );
659
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_THP",
660
- INT2FIX( CODEC_ID_ADPCM_THP ) );
661
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_AMV",
662
- INT2FIX( CODEC_ID_ADPCM_IMA_AMV ) );
663
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_EA_R1",
664
- INT2FIX( CODEC_ID_ADPCM_EA_R1 ) );
665
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_EA_R3",
666
- INT2FIX( CODEC_ID_ADPCM_EA_R3 ) );
667
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_EA_R2",
668
- INT2FIX( CODEC_ID_ADPCM_EA_R2 ) );
669
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_EA_SEAD",
670
- INT2FIX( CODEC_ID_ADPCM_IMA_EA_SEAD ) );
671
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_EA_EACS",
672
- INT2FIX( CODEC_ID_ADPCM_IMA_EA_EACS ) );
673
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_EA_XAS",
674
- INT2FIX( CODEC_ID_ADPCM_EA_XAS ) );
675
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_EA_MAXIS_XA",
676
- INT2FIX( CODEC_ID_ADPCM_EA_MAXIS_XA ) );
677
- rb_define_const( cRubyClass, "CODEC_ID_ADPCM_IMA_ISS",
678
- INT2FIX( CODEC_ID_ADPCM_IMA_ISS ) );
679
- rb_define_const( cRubyClass, "CODEC_ID_AMR_NB",
680
- INT2FIX( CODEC_ID_AMR_NB ) );
681
- rb_define_const( cRubyClass, "CODEC_ID_AMR_WB",
682
- INT2FIX( CODEC_ID_AMR_WB ) );
683
- rb_define_const( cRubyClass, "CODEC_ID_RA_144",
684
- INT2FIX( CODEC_ID_RA_144 ) );
685
- rb_define_const( cRubyClass, "CODEC_ID_RA_288",
686
- INT2FIX( CODEC_ID_RA_288 ) );
687
- rb_define_const( cRubyClass, "CODEC_ID_ROQ_DPCM",
688
- INT2FIX( CODEC_ID_ROQ_DPCM ) );
689
- rb_define_const( cRubyClass, "CODEC_ID_INTERPLAY_DPCM",
690
- INT2FIX( CODEC_ID_INTERPLAY_DPCM ) );
691
- rb_define_const( cRubyClass, "CODEC_ID_XAN_DPCM",
692
- INT2FIX( CODEC_ID_XAN_DPCM ) );
693
- rb_define_const( cRubyClass, "CODEC_ID_SOL_DPCM",
694
- INT2FIX( CODEC_ID_SOL_DPCM ) );
695
- rb_define_const( cRubyClass, "CODEC_ID_MP2",
696
- INT2FIX( CODEC_ID_MP2 ) );
697
- rb_define_const( cRubyClass, "CODEC_ID_MP3",
698
- INT2FIX( CODEC_ID_MP3 ) );
699
- rb_define_const( cRubyClass, "CODEC_ID_AAC",
700
- INT2FIX( CODEC_ID_AAC ) );
701
- rb_define_const( cRubyClass, "CODEC_ID_AC3",
702
- INT2FIX( CODEC_ID_AC3 ) );
703
- rb_define_const( cRubyClass, "CODEC_ID_DTS",
704
- INT2FIX( CODEC_ID_DTS ) );
705
- rb_define_const( cRubyClass, "CODEC_ID_VORBIS",
706
- INT2FIX( CODEC_ID_VORBIS ) );
707
- rb_define_const( cRubyClass, "CODEC_ID_DVAUDIO",
708
- INT2FIX( CODEC_ID_DVAUDIO ) );
709
- rb_define_const( cRubyClass, "CODEC_ID_WMAV1",
710
- INT2FIX( CODEC_ID_WMAV1 ) );
711
- rb_define_const( cRubyClass, "CODEC_ID_WMAV2",
712
- INT2FIX( CODEC_ID_WMAV2 ) );
713
- rb_define_const( cRubyClass, "CODEC_ID_MACE3",
714
- INT2FIX( CODEC_ID_MACE3 ) );
715
- rb_define_const( cRubyClass, "CODEC_ID_MACE6",
716
- INT2FIX( CODEC_ID_MACE6 ) );
717
- rb_define_const( cRubyClass, "CODEC_ID_VMDAUDIO",
718
- INT2FIX( CODEC_ID_VMDAUDIO ) );
719
- #ifdef CODEC_ID_SONIC
720
- rb_define_const( cRubyClass, "CODEC_ID_SONIC",
721
- INT2FIX( CODEC_ID_SONIC ) );
521
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DXA",
522
+ INT2FIX( AV_CODEC_ID_DXA ) );
523
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DNXHD",
524
+ INT2FIX( AV_CODEC_ID_DNXHD ) );
525
+ rb_define_const( cRubyClass, "AV_CODEC_ID_THP",
526
+ INT2FIX( AV_CODEC_ID_THP ) );
527
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SGI",
528
+ INT2FIX( AV_CODEC_ID_SGI ) );
529
+ rb_define_const( cRubyClass, "AV_CODEC_ID_C93",
530
+ INT2FIX( AV_CODEC_ID_C93 ) );
531
+ rb_define_const( cRubyClass, "AV_CODEC_ID_BETHSOFTVID",
532
+ INT2FIX( AV_CODEC_ID_BETHSOFTVID ) );
533
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PTX",
534
+ INT2FIX( AV_CODEC_ID_PTX ) );
535
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TXD",
536
+ INT2FIX( AV_CODEC_ID_TXD ) );
537
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VP6A",
538
+ INT2FIX( AV_CODEC_ID_VP6A ) );
539
+ rb_define_const( cRubyClass, "AV_CODEC_ID_AMV",
540
+ INT2FIX( AV_CODEC_ID_AMV ) );
541
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VB",
542
+ INT2FIX( AV_CODEC_ID_VB ) );
543
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCX",
544
+ INT2FIX( AV_CODEC_ID_PCX ) );
545
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SUNRAST",
546
+ INT2FIX( AV_CODEC_ID_SUNRAST ) );
547
+ rb_define_const( cRubyClass, "AV_CODEC_ID_INDEO4",
548
+ INT2FIX( AV_CODEC_ID_INDEO4 ) );
549
+ rb_define_const( cRubyClass, "AV_CODEC_ID_INDEO5",
550
+ INT2FIX( AV_CODEC_ID_INDEO5 ) );
551
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MIMIC",
552
+ INT2FIX( AV_CODEC_ID_MIMIC ) );
553
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RL2",
554
+ INT2FIX( AV_CODEC_ID_RL2 ) );
555
+ rb_define_const( cRubyClass, "AV_CODEC_ID_8SVX_EXP",
556
+ INT2FIX( AV_CODEC_ID_8SVX_EXP ) );
557
+ rb_define_const( cRubyClass, "AV_CODEC_ID_8SVX_FIB",
558
+ INT2FIX( AV_CODEC_ID_8SVX_FIB ) );
559
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ESCAPE124",
560
+ INT2FIX( AV_CODEC_ID_ESCAPE124 ) );
561
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DIRAC",
562
+ INT2FIX( AV_CODEC_ID_DIRAC ) );
563
+ rb_define_const( cRubyClass, "AV_CODEC_ID_BFI",
564
+ INT2FIX( AV_CODEC_ID_BFI ) );
565
+ rb_define_const( cRubyClass, "AV_CODEC_ID_CMV",
566
+ INT2FIX( AV_CODEC_ID_CMV ) );
567
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MOTIONPIXELS",
568
+ INT2FIX( AV_CODEC_ID_MOTIONPIXELS ) );
569
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TGV",
570
+ INT2FIX( AV_CODEC_ID_TGV ) );
571
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TGQ",
572
+ INT2FIX( AV_CODEC_ID_TGQ ) );
573
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TQI",
574
+ INT2FIX( AV_CODEC_ID_TQI ) );
575
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S16LE",
576
+ INT2FIX( AV_CODEC_ID_PCM_S16LE ) );
577
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S16BE",
578
+ INT2FIX( AV_CODEC_ID_PCM_S16BE ) );
579
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_U16LE",
580
+ INT2FIX( AV_CODEC_ID_PCM_U16LE ) );
581
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_U16BE",
582
+ INT2FIX( AV_CODEC_ID_PCM_U16BE ) );
583
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S8",
584
+ INT2FIX( AV_CODEC_ID_PCM_S8 ) );
585
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_U8",
586
+ INT2FIX( AV_CODEC_ID_PCM_U8 ) );
587
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_MULAW",
588
+ INT2FIX( AV_CODEC_ID_PCM_MULAW ) );
589
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_ALAW",
590
+ INT2FIX( AV_CODEC_ID_PCM_ALAW ) );
591
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S32LE",
592
+ INT2FIX( AV_CODEC_ID_PCM_S32LE ) );
593
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S32BE",
594
+ INT2FIX( AV_CODEC_ID_PCM_S32BE ) );
595
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_U32LE",
596
+ INT2FIX( AV_CODEC_ID_PCM_U32LE ) );
597
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_U32BE",
598
+ INT2FIX( AV_CODEC_ID_PCM_U32BE ) );
599
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S24LE",
600
+ INT2FIX( AV_CODEC_ID_PCM_S24LE ) );
601
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S24BE",
602
+ INT2FIX( AV_CODEC_ID_PCM_S24BE ) );
603
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_U24LE",
604
+ INT2FIX( AV_CODEC_ID_PCM_U24LE ) );
605
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_U24BE",
606
+ INT2FIX( AV_CODEC_ID_PCM_U24BE ) );
607
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S24DAUD",
608
+ INT2FIX( AV_CODEC_ID_PCM_S24DAUD ) );
609
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_ZORK",
610
+ INT2FIX( AV_CODEC_ID_PCM_ZORK ) );
611
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_S16LE_PLANAR",
612
+ INT2FIX( AV_CODEC_ID_PCM_S16LE_PLANAR ) );
613
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_DVD",
614
+ INT2FIX( AV_CODEC_ID_PCM_DVD ) );
615
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_F32BE",
616
+ INT2FIX( AV_CODEC_ID_PCM_F32BE ) );
617
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_F32LE",
618
+ INT2FIX( AV_CODEC_ID_PCM_F32LE ) );
619
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_F64BE",
620
+ INT2FIX( AV_CODEC_ID_PCM_F64BE ) );
621
+ rb_define_const( cRubyClass, "AV_CODEC_ID_PCM_F64LE",
622
+ INT2FIX( AV_CODEC_ID_PCM_F64LE ) );
623
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_QT",
624
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_QT ) );
625
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_WAV",
626
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_WAV ) );
627
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_DK3",
628
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_DK3 ) );
629
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_DK4",
630
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_DK4 ) );
631
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_WS",
632
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_WS ) );
633
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_SMJPEG",
634
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_SMJPEG ) );
635
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_MS",
636
+ INT2FIX( AV_CODEC_ID_ADPCM_MS ) );
637
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_4XM",
638
+ INT2FIX( AV_CODEC_ID_ADPCM_4XM ) );
639
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_XA",
640
+ INT2FIX( AV_CODEC_ID_ADPCM_XA ) );
641
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_ADX",
642
+ INT2FIX( AV_CODEC_ID_ADPCM_ADX ) );
643
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_EA",
644
+ INT2FIX( AV_CODEC_ID_ADPCM_EA ) );
645
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_G726",
646
+ INT2FIX( AV_CODEC_ID_ADPCM_G726 ) );
647
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_CT",
648
+ INT2FIX( AV_CODEC_ID_ADPCM_CT ) );
649
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_SWF",
650
+ INT2FIX( AV_CODEC_ID_ADPCM_SWF ) );
651
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_YAMAHA",
652
+ INT2FIX( AV_CODEC_ID_ADPCM_YAMAHA ) );
653
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_SBPRO_4",
654
+ INT2FIX( AV_CODEC_ID_ADPCM_SBPRO_4 ) );
655
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_SBPRO_3",
656
+ INT2FIX( AV_CODEC_ID_ADPCM_SBPRO_3 ) );
657
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_SBPRO_2",
658
+ INT2FIX( AV_CODEC_ID_ADPCM_SBPRO_2 ) );
659
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_THP",
660
+ INT2FIX( AV_CODEC_ID_ADPCM_THP ) );
661
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_AMV",
662
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_AMV ) );
663
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_EA_R1",
664
+ INT2FIX( AV_CODEC_ID_ADPCM_EA_R1 ) );
665
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_EA_R3",
666
+ INT2FIX( AV_CODEC_ID_ADPCM_EA_R3 ) );
667
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_EA_R2",
668
+ INT2FIX( AV_CODEC_ID_ADPCM_EA_R2 ) );
669
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_EA_SEAD",
670
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_EA_SEAD ) );
671
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_EA_EACS",
672
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_EA_EACS ) );
673
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_EA_XAS",
674
+ INT2FIX( AV_CODEC_ID_ADPCM_EA_XAS ) );
675
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_EA_MAXIS_XA",
676
+ INT2FIX( AV_CODEC_ID_ADPCM_EA_MAXIS_XA ) );
677
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ADPCM_IMA_ISS",
678
+ INT2FIX( AV_CODEC_ID_ADPCM_IMA_ISS ) );
679
+ rb_define_const( cRubyClass, "AV_CODEC_ID_AMR_NB",
680
+ INT2FIX( AV_CODEC_ID_AMR_NB ) );
681
+ rb_define_const( cRubyClass, "AV_CODEC_ID_AMR_WB",
682
+ INT2FIX( AV_CODEC_ID_AMR_WB ) );
683
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RA_144",
684
+ INT2FIX( AV_CODEC_ID_RA_144 ) );
685
+ rb_define_const( cRubyClass, "AV_CODEC_ID_RA_288",
686
+ INT2FIX( AV_CODEC_ID_RA_288 ) );
687
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ROQ_DPCM",
688
+ INT2FIX( AV_CODEC_ID_ROQ_DPCM ) );
689
+ rb_define_const( cRubyClass, "AV_CODEC_ID_INTERPLAY_DPCM",
690
+ INT2FIX( AV_CODEC_ID_INTERPLAY_DPCM ) );
691
+ rb_define_const( cRubyClass, "AV_CODEC_ID_XAN_DPCM",
692
+ INT2FIX( AV_CODEC_ID_XAN_DPCM ) );
693
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SOL_DPCM",
694
+ INT2FIX( AV_CODEC_ID_SOL_DPCM ) );
695
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MP2",
696
+ INT2FIX( AV_CODEC_ID_MP2 ) );
697
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MP3",
698
+ INT2FIX( AV_CODEC_ID_MP3 ) );
699
+ rb_define_const( cRubyClass, "AV_CODEC_ID_AAC",
700
+ INT2FIX( AV_CODEC_ID_AAC ) );
701
+ rb_define_const( cRubyClass, "AV_CODEC_ID_AC3",
702
+ INT2FIX( AV_CODEC_ID_AC3 ) );
703
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DTS",
704
+ INT2FIX( AV_CODEC_ID_DTS ) );
705
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VORBIS",
706
+ INT2FIX( AV_CODEC_ID_VORBIS ) );
707
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DVAUDIO",
708
+ INT2FIX( AV_CODEC_ID_DVAUDIO ) );
709
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMAV1",
710
+ INT2FIX( AV_CODEC_ID_WMAV1 ) );
711
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMAV2",
712
+ INT2FIX( AV_CODEC_ID_WMAV2 ) );
713
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MACE3",
714
+ INT2FIX( AV_CODEC_ID_MACE3 ) );
715
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MACE6",
716
+ INT2FIX( AV_CODEC_ID_MACE6 ) );
717
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VMDAUDIO",
718
+ INT2FIX( AV_CODEC_ID_VMDAUDIO ) );
719
+ #ifdef AV_CODEC_ID_SONIC
720
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SONIC",
721
+ INT2FIX( AV_CODEC_ID_SONIC ) );
722
722
  #endif
723
- #ifdef CODEC_ID_SONIC_LS
724
- rb_define_const( cRubyClass, "CODEC_ID_SONIC_LS",
725
- INT2FIX( CODEC_ID_SONIC_LS ) );
723
+ #ifdef AV_CODEC_ID_SONIC_LS
724
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SONIC_LS",
725
+ INT2FIX( AV_CODEC_ID_SONIC_LS ) );
726
726
  #endif
727
- rb_define_const( cRubyClass, "CODEC_ID_FLAC",
728
- INT2FIX( CODEC_ID_FLAC ) );
729
- rb_define_const( cRubyClass, "CODEC_ID_MP3ADU",
730
- INT2FIX( CODEC_ID_MP3ADU ) );
731
- rb_define_const( cRubyClass, "CODEC_ID_MP3ON4",
732
- INT2FIX( CODEC_ID_MP3ON4 ) );
733
- rb_define_const( cRubyClass, "CODEC_ID_SHORTEN",
734
- INT2FIX( CODEC_ID_SHORTEN ) );
735
- rb_define_const( cRubyClass, "CODEC_ID_ALAC",
736
- INT2FIX( CODEC_ID_ALAC ) );
737
- rb_define_const( cRubyClass, "CODEC_ID_WESTWOOD_SND1",
738
- INT2FIX( CODEC_ID_WESTWOOD_SND1 ) );
739
- rb_define_const( cRubyClass, "CODEC_ID_GSM",
740
- INT2FIX( CODEC_ID_GSM ) );
741
- rb_define_const( cRubyClass, "CODEC_ID_QDM2",
742
- INT2FIX( CODEC_ID_QDM2 ) );
743
- rb_define_const( cRubyClass, "CODEC_ID_COOK",
744
- INT2FIX( CODEC_ID_COOK ) );
745
- rb_define_const( cRubyClass, "CODEC_ID_TRUESPEECH",
746
- INT2FIX( CODEC_ID_TRUESPEECH ) );
747
- rb_define_const( cRubyClass, "CODEC_ID_TTA",
748
- INT2FIX( CODEC_ID_TTA ) );
749
- rb_define_const( cRubyClass, "CODEC_ID_SMACKAUDIO",
750
- INT2FIX( CODEC_ID_SMACKAUDIO ) );
751
- rb_define_const( cRubyClass, "CODEC_ID_QCELP",
752
- INT2FIX( CODEC_ID_QCELP ) );
753
- rb_define_const( cRubyClass, "CODEC_ID_WAVPACK",
754
- INT2FIX( CODEC_ID_WAVPACK ) );
755
- rb_define_const( cRubyClass, "CODEC_ID_DSICINAUDIO",
756
- INT2FIX( CODEC_ID_DSICINAUDIO ) );
757
- rb_define_const( cRubyClass, "CODEC_ID_IMC",
758
- INT2FIX( CODEC_ID_IMC ) );
759
- rb_define_const( cRubyClass, "CODEC_ID_MUSEPACK7",
760
- INT2FIX( CODEC_ID_MUSEPACK7 ) );
761
- rb_define_const( cRubyClass, "CODEC_ID_MLP",
762
- INT2FIX( CODEC_ID_MLP ) );
763
- rb_define_const( cRubyClass, "CODEC_ID_GSM_MS",
764
- INT2FIX( CODEC_ID_GSM_MS ) );
765
- rb_define_const( cRubyClass, "CODEC_ID_ATRAC3",
766
- INT2FIX( CODEC_ID_ATRAC3 ) );
767
- rb_define_const( cRubyClass, "CODEC_ID_VOXWARE",
768
- INT2FIX( CODEC_ID_VOXWARE ) );
769
- rb_define_const( cRubyClass, "CODEC_ID_APE",
770
- INT2FIX( CODEC_ID_APE ) );
771
- rb_define_const( cRubyClass, "CODEC_ID_NELLYMOSER",
772
- INT2FIX( CODEC_ID_NELLYMOSER ) );
773
- rb_define_const( cRubyClass, "CODEC_ID_MUSEPACK8",
774
- INT2FIX( CODEC_ID_MUSEPACK8 ) );
775
- rb_define_const( cRubyClass, "CODEC_ID_SPEEX",
776
- INT2FIX( CODEC_ID_SPEEX ) );
777
- rb_define_const( cRubyClass, "CODEC_ID_WMAVOICE",
778
- INT2FIX( CODEC_ID_WMAVOICE ) );
779
- rb_define_const( cRubyClass, "CODEC_ID_WMAPRO",
780
- INT2FIX( CODEC_ID_WMAPRO ) );
781
- rb_define_const( cRubyClass, "CODEC_ID_WMALOSSLESS",
782
- INT2FIX( CODEC_ID_WMALOSSLESS ) );
783
- rb_define_const( cRubyClass, "CODEC_ID_ATRAC3P",
784
- INT2FIX( CODEC_ID_ATRAC3P ) );
785
- rb_define_const( cRubyClass, "CODEC_ID_EAC3",
786
- INT2FIX( CODEC_ID_EAC3 ) );
787
- rb_define_const( cRubyClass, "CODEC_ID_SIPR",
788
- INT2FIX( CODEC_ID_SIPR ) );
789
- rb_define_const( cRubyClass, "CODEC_ID_MP1",
790
- INT2FIX( CODEC_ID_MP1 ) );
727
+ rb_define_const( cRubyClass, "AV_CODEC_ID_FLAC",
728
+ INT2FIX( AV_CODEC_ID_FLAC ) );
729
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MP3ADU",
730
+ INT2FIX( AV_CODEC_ID_MP3ADU ) );
731
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MP3ON4",
732
+ INT2FIX( AV_CODEC_ID_MP3ON4 ) );
733
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SHORTEN",
734
+ INT2FIX( AV_CODEC_ID_SHORTEN ) );
735
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ALAC",
736
+ INT2FIX( AV_CODEC_ID_ALAC ) );
737
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WESTWOOD_SND1",
738
+ INT2FIX( AV_CODEC_ID_WESTWOOD_SND1 ) );
739
+ rb_define_const( cRubyClass, "AV_CODEC_ID_GSM",
740
+ INT2FIX( AV_CODEC_ID_GSM ) );
741
+ rb_define_const( cRubyClass, "AV_CODEC_ID_QDM2",
742
+ INT2FIX( AV_CODEC_ID_QDM2 ) );
743
+ rb_define_const( cRubyClass, "AV_CODEC_ID_COOK",
744
+ INT2FIX( AV_CODEC_ID_COOK ) );
745
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TRUESPEECH",
746
+ INT2FIX( AV_CODEC_ID_TRUESPEECH ) );
747
+ rb_define_const( cRubyClass, "AV_CODEC_ID_TTA",
748
+ INT2FIX( AV_CODEC_ID_TTA ) );
749
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SMACKAUDIO",
750
+ INT2FIX( AV_CODEC_ID_SMACKAUDIO ) );
751
+ rb_define_const( cRubyClass, "AV_CODEC_ID_QCELP",
752
+ INT2FIX( AV_CODEC_ID_QCELP ) );
753
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WAVPACK",
754
+ INT2FIX( AV_CODEC_ID_WAVPACK ) );
755
+ rb_define_const( cRubyClass, "AV_CODEC_ID_DSICINAUDIO",
756
+ INT2FIX( AV_CODEC_ID_DSICINAUDIO ) );
757
+ rb_define_const( cRubyClass, "AV_CODEC_ID_IMC",
758
+ INT2FIX( AV_CODEC_ID_IMC ) );
759
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MUSEPACK7",
760
+ INT2FIX( AV_CODEC_ID_MUSEPACK7 ) );
761
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MLP",
762
+ INT2FIX( AV_CODEC_ID_MLP ) );
763
+ rb_define_const( cRubyClass, "AV_CODEC_ID_GSM_MS",
764
+ INT2FIX( AV_CODEC_ID_GSM_MS ) );
765
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ATRAC3",
766
+ INT2FIX( AV_CODEC_ID_ATRAC3 ) );
767
+ rb_define_const( cRubyClass, "AV_CODEC_ID_VOXWARE",
768
+ INT2FIX( AV_CODEC_ID_VOXWARE ) );
769
+ rb_define_const( cRubyClass, "AV_CODEC_ID_APE",
770
+ INT2FIX( AV_CODEC_ID_APE ) );
771
+ rb_define_const( cRubyClass, "AV_CODEC_ID_NELLYMOSER",
772
+ INT2FIX( AV_CODEC_ID_NELLYMOSER ) );
773
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MUSEPACK8",
774
+ INT2FIX( AV_CODEC_ID_MUSEPACK8 ) );
775
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SPEEX",
776
+ INT2FIX( AV_CODEC_ID_SPEEX ) );
777
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMAVOICE",
778
+ INT2FIX( AV_CODEC_ID_WMAVOICE ) );
779
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMAPRO",
780
+ INT2FIX( AV_CODEC_ID_WMAPRO ) );
781
+ rb_define_const( cRubyClass, "AV_CODEC_ID_WMALOSSLESS",
782
+ INT2FIX( AV_CODEC_ID_WMALOSSLESS ) );
783
+ rb_define_const( cRubyClass, "AV_CODEC_ID_ATRAC3P",
784
+ INT2FIX( AV_CODEC_ID_ATRAC3P ) );
785
+ rb_define_const( cRubyClass, "AV_CODEC_ID_EAC3",
786
+ INT2FIX( AV_CODEC_ID_EAC3 ) );
787
+ rb_define_const( cRubyClass, "AV_CODEC_ID_SIPR",
788
+ INT2FIX( AV_CODEC_ID_SIPR ) );
789
+ rb_define_const( cRubyClass, "AV_CODEC_ID_MP1",
790
+ INT2FIX( AV_CODEC_ID_MP1 ) );
791
791
  rb_define_method( cRubyClass, "close", RUBY_METHOD_FUNC( wrapClose ), 0 );
792
792
  rb_define_method( cRubyClass, "video_time_base",
793
793
  RUBY_METHOD_FUNC( wrapVideoTimeBase ), 0 );
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Wedekind
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-07 00:00:00.000000000 Z
11
+ date: 2017-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: malloc
@@ -101,9 +101,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  requirements: []
103
103
  rubyforge_project: hornetseye
104
- rubygems_version: 2.4.6
104
+ rubygems_version: 2.5.2
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Read/write video frames using libffmpeg
108
108
  test_files: []
109
- has_rdoc: yard