@@ -584,17 +584,6 @@ def output_args(self):
584
584
585
585
return args + ['-y' , self .outfile ]
586
586
587
- @classmethod
588
- def isAvailable (cls ):
589
- return (
590
- super ().isAvailable ()
591
- # Ubuntu 12.04 ships a broken ffmpeg binary which we shouldn't use.
592
- # NOTE: when removed, remove the same method in AVConvBase.
593
- and b'LibAv' not in subprocess .run (
594
- [cls .bin_path ()], creationflags = subprocess_creation_flags ,
595
- stdin = subprocess .DEVNULL , stdout = subprocess .DEVNULL ,
596
- stderr = subprocess .PIPE ).stderr )
597
-
598
587
599
588
# Combine FFMpeg options with pipe-based writing
600
589
@writers .register ('ffmpeg' )
@@ -640,45 +629,6 @@ def _args(self):
640
629
'-vframes' , str (self ._frame_counter )] + self .output_args
641
630
642
631
643
- # Base class of avconv information. AVConv has identical arguments to FFMpeg.
644
- @cbook .deprecated ('3.3' )
645
- class AVConvBase (FFMpegBase ):
646
- """
647
- Mixin class for avconv output.
648
-
649
- To be useful this must be multiply-inherited from with a
650
- `MovieWriterBase` sub-class.
651
- """
652
-
653
- _exec_key = 'animation.avconv_path'
654
- _args_key = 'animation.avconv_args'
655
-
656
- # NOTE : should be removed when the same method is removed in FFMpegBase.
657
- isAvailable = classmethod (MovieWriter .isAvailable .__func__ )
658
-
659
-
660
- # Combine AVConv options with pipe-based writing
661
- @writers .register ('avconv' )
662
- class AVConvWriter (AVConvBase , FFMpegWriter ):
663
- """
664
- Pipe-based avconv writer.
665
-
666
- Frames are streamed directly to avconv via a pipe and written in a single
667
- pass.
668
- """
669
-
670
-
671
- # Combine AVConv options with file-based writing
672
- @writers .register ('avconv_file' )
673
- class AVConvFileWriter (AVConvBase , FFMpegFileWriter ):
674
- """
675
- File-based avconv writer.
676
-
677
- Frames are written to temporary files on disk and then stitched
678
- together at the end.
679
- """
680
-
681
-
682
632
# Base class for animated GIFs with ImageMagick
683
633
class ImageMagickBase :
684
634
"""
0 commit comments