[FFmpeg-trac] #9346(undetermined:new): failed with error info "partial file" when input a mp4 file via unix socket

FFmpeg trac at avcodec.org
Wed Nov 20 00:39:30 EET 2024


#9346: failed with error info "partial file" when input a mp4 file via unix socket
-------------------------------------+-------------------------------------
             Reporter:  ku7iex2E     |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  unix-socket  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by dank074):

 I have also encountered this bug using `Ffmpeg version 6.1.1-3ubuntu5`

 It seems that there is loss of data when using a Unix Domain Socket as
 input. A chunk of initial bytes are lost.

 I created sample script to reproduce the bug here:
 https://github.com/dank074/ffmpeg-unix-socket-bug

 In my sample code I generated two outputs: one using the sample file as
 input directly, and the other using a Unix Domain Socket as input which
 contains the same file. The resulting output from the Unix Domain Socket
 input is missing 65536 bytes of data when compared to the same ffmpeg
 command that uses the original file as input.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9346#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list