[FFmpeg-trac] #5709(undetermined:open): Using lavc option sar breaks muxing (was: Failed to find codec in Stream #0:1)

FFmpeg trac at avcodec.org
Tue Jan 3 16:56:14 EET 2017


#5709: Using lavc option sar breaks muxing
-------------------------------------+-------------------------------------
             Reporter:  kwsk         |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  aspect       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => aspect
 * status:  new => open
 * version:  unspecified => git-master
 * reproduced:  0 => 1


Comment:

 "Regression" since abb69a2f2ba830c0f2557663915a38a9e5b57e61
 I have asked what this commit fixes but did not get an answer:
 https://ffmpeg.org/pipermail/ffmpeg-devel/2016-August/197593.html
 Since I don't understand how above commit is meant to work, I don't know
 how to fix this issue.
 {{{
 $ ffmpeg -i fate-suite/8bps/full9iron-partial.mov -sar 1 -f null -an -
 ffmpeg version N-82994-ge8651f5 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 43.100 / 55. 43.100
   libavcodec     57. 70.101 / 57. 70.101
   libavformat    57. 61.100 / 57. 61.100
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 68.100 /  6. 68.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Guessed Channel Layout for Input Stream #0.1 : mono
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/8bps/full9iron-
 partial.mov':
   Metadata:
     creation_time   : 2003-05-03T12:47:03.000000Z
     premiere_version: Created with Adobe Premiere 6.5
     quicktime_version: Created with QuickTime 4.0 or later
   Duration: 00:00:13.52, start: 0.000000, bitrate: 620 kb/s
     Stream #0:0(eng): Video: 8bps (8BPS / 0x53504238), pal8, 360x240, 8072
 kb/s, SAR 9:10 DAR 27:20, 12.50 fps, 12.50 tbr, 125 tbn, 125 tbc (default)
     Metadata:
       creation_time   : 2003-05-03T12:47:03.000000Z
       handler_name    : Apple Alias Data Handler
       encoder         : Planar RGB
     Stream #0:1(eng): Audio: pcm_u8 (raw  / 0x20776172), 22050 Hz, mono,
 u8, 176 kb/s (default)
     Metadata:
       creation_time   : 2003-05-03T12:48:24.000000Z
       handler_name    : Apple Alias Data Handler
 st: 9/10, par: 1/1
 [null @ 0x2fc4ee0] Aspect ratio mismatch between muxer (9/10) and encoder
 layer (1/1)
 Could not write header for output file #0 (incorrect codec parameters ?):
 Invalid argument
 Stream mapping:
   Stream #0:0 -> #0:0 (8bps (native) -> wrapped_avframe (native))
     Last message repeated 1 times
 }}}
 Also related to #5933.

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


More information about the FFmpeg-trac mailing list