-----Original Message-----
From: Libav-user <[email protected]> On Behalf Of Carl Eugen Hoyos
Sent: Wednesday, January 29, 2020 6:23 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice 
and libavfilter. <[email protected]>
Subject: Re: [Libav-user] Unable to register custom decoder

Am Do., 30. Jan. 2020 um 03:17 Uhr schrieb Timothy Fleming <[email protected]>:
>
> Attached...

Doesn't look like a patch...

It should be enough to add the new codec to allcodecs.c and its codec_id to the 
demuxer (as you did). Please compile ffmpeg (for the desktop) and run ffmpeg -i 
yourfile to test your change.

Please find out what top-posting means and avoid it here.

Carl Eugen

PS: Friendly reminder to carefully read the license terms before distributing 
your video player.
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email [email protected] with 
subject "unsubscribe".

Here is the output:

tim@FFmpeg$ diff ../aos-ffmp./ffmpeg -i /mnt/c/tmp/piano_hands_1.vmkv
ffmpeg version N-96539-g3bce9e9b3e Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration:
  libavutil      56. 38.100 / 56. 38.100
  libavcodec     58. 67.100 / 58. 67.100
  libavformat    58. 36.100 / 58. 36.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 71.100 /  7. 71.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
[matroska,webm @ 0x7fffc0547540] Unknown/unsupported AVCodecID S_MKV/LANDMARK.
[matroska,webm @ 0x7fffc0547540] Could not find codec parameters for stream 0 
(Video: none, none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x7fffc0547540] Could not find codec parameters for stream 1 
(Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from '/mnt/c/tmp/piano_hands_1.vmkv':
  Metadata:
    title           : Vidoni
    encoder         : libmatroska-1.5.2
    creation_time   : 2019-12-29T11:53:54.000000Z
  Duration: 00:00:00.03, start: 0.000000, bitrate: 320394 kb/s
    Stream #0:0(eng): Video: none, none, 1000k tbr, 1000k tbn, 1000k tbc 
(default)
    Metadata:
      title           : LANDMARKS
    Side data:
      stereo3d: 2D
    Stream #0:1: Attachment: none
    Metadata:
      filename        : SUBJECT_MODEL_FILE
      mimetype        : application/octet-stream
At least one output file must be specified

_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to