[FFmpeg-trac] #6727(undetermined:new): [Vorbis parser @ 0x4cf1380] Invalid packet

FFmpeg trac at avcodec.org
Wed Oct 11 12:13:50 EEST 2017


#6727: [Vorbis parser @ 0x4cf1380] Invalid packet
-------------------------------------+-------------------------------------
             Reporter:  vitaly-      |                    Owner:
  zdanevich                          |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  ogg,         |               Blocked By:
  vorbis, m4a, aac, amazon-lambda    |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by vitaly-zdanevich):

 Code (Python 3) of the Amazon Lambda function:

  {{{#!python

 import subprocess

 import boto3

 bucket_audio = boto3.resource('s3').Bucket('my-bucket-name')

 def main(event, context):
     print(
         subprocess.run('./ffmpeg -i Epoq-Lepidoptera.ogg /tmp/output.m4a
 -y',
             shell=True,
             stderr=subprocess.PIPE).stderr
         )

     with open('/tmp/output.m4a', 'br') as f:
         bucket_audio.put_object(
             Key='test_encoded_m4a_from_lambda.m4a',
             Body=f.read()
         )
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6727#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list