[FFmpeg-trac] #2416(undetermined:new): ffprobe wrongly reports "Operation not permitted"

FFmpeg trac at avcodec.org
Sun Mar 31 05:45:04 CEST 2013


#2416: ffprobe wrongly reports "Operation not permitted"
-------------------------------------+-------------------------------------
             Reporter:  gillux       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  minor        |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegts       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by gillux):

 The TS file indeed appears to be detected as having no stream. gdb told me
 that avformat_find_stream_info() returns -1 and skips most of its code
 since ic->nb_streams == 0. This -1 is then interpreted as a the POSIX
 errno EPERM, thus the "Operation no permitted" error. If I make
 avformat_find_stream_info() not to return -1, ffprobe seems to work well
 and gives the following output:
 {{{
 Input #0, mpegts, from '../JCSAT 4A 12493 H SI-Dump 09-15 08-26-46.ts':
   Duration: N/A, bitrate: N/A
   Program 33410
     Metadata:
       service_name    : ?|��������?HD
       service_provider:
   Program 33423
     Metadata:
       service_name    : ?|������?HD
       service_provider:
   Program 33424
     Metadata:
       service_name    : ?KBS?|����HD
       service_provider:
   Program 33714
     Metadata:
       service_name    : ?|��������?HD
       service_provider:
 }}}

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


More information about the FFmpeg-trac mailing list