[FFmpeg-trac] #8405(undetermined:reopened): “ffmpeg -i input -pix_fmt bgr24 -c:v rawvideo output.avi”: “par->codec_tag” is set to “0”

FFmpeg trac at avcodec.org
Wed Nov 27 18:53:54 EET 2019


#8405: “ffmpeg -i input -pix_fmt bgr24 -c:v rawvideo output.avi”: “par->codec_tag”
is set to “0”
-------------------------------------+-------------------------------------
             Reporter:  Kdmeizk      |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Kdmeizk):

 * status:  closed => reopened
 * version:  unspecified => git-master
 * resolution:  invalid =>


Comment:

 Input file:
 https://drive.google.com/file/d/0B40VEgqICZzWZ1UwQ2M5VldvNmM/view?usp=sharing

 {{{
 ffmpeg-20191126-59d264b-win64-static\bin\ffmpeg.exe -i 00006.m2ts -to
 00:00:05 -pix_fmt bgr24 -c:v rawvideo -an output.avi
 ffmpeg version git-2019-11-26-59d264b Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 9.2.1 (GCC) 20191125
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
 --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc
 --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
 --enable-amf
   libavutil      56. 36.100 / 56. 36.100
   libavcodec     58. 62.100 / 58. 62.100
   libavformat    58. 35.100 / 58. 35.100
   libavdevice    58.  9.101 / 58.  9.101
   libavfilter     7. 67.100 /  7. 67.100
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
 Input #0, mpegts, from '00006.m2ts':
   Duration: 00:00:44.05, start: 1.992667, bitrate: 36799 kb/s
   Program 1
     Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448),
 yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr,
 90k tbn, 47.95 tbc
     Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086),
 48000 Hz, 5.1(side), s32p (24 bit)
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 Output #0, avi, to 'output.avi':
   Metadata:
     ISFT            : Lavf58.35.100
     Stream #0:0: Video: rawvideo, bgr24, 1920x1080 [SAR 1:1 DAR 16:9],
 q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
     Metadata:
       encoder         : Lavc58.62.100 rawvideo
 video:729000kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.001158%

 ffmpeg-20191126-59d264b-win64-static\bin\ffprobe.exe -show_streams
 output.avi
 ffprobe version git-2019-11-26-59d264b Copyright (c) 2007-2019 the FFmpeg
 developers
   built with gcc 9.2.1 (GCC) 20191125
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
 --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc
 --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
 --enable-amf
   libavutil      56. 36.100 / 56. 36.100
   libavcodec     58. 62.100 / 58. 62.100
   libavformat    58. 35.100 / 58. 35.100
   libavdevice    58.  9.101 / 58.  9.101
   libavfilter     7. 67.100 /  7. 67.100
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
 Input #0, avi, from 'output.avi':
   Metadata:
     encoder         : Lavf58.35.100
   Duration: 00:00:05.01, start: 0.000000, bitrate: 1193214 kb/s
     Stream #0:0: Video: rawvideo, bgr24, 1920x1080, 1203227 kb/s, SAR 1:1
 DAR 16:9, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
 [STREAM]
 index=0
 codec_name=rawvideo
 codec_long_name=raw video
 profile=unknown
 codec_type=video
 codec_time_base=1001/24000
 codec_tag_string=[0][0][0][0]
 codec_tag=0x0000
 width=1920
 height=1080
 coded_width=1920
 coded_height=1080
 has_b_frames=0
 sample_aspect_ratio=1:1
 display_aspect_ratio=16:9
 pix_fmt=bgr24
 level=-99
 color_range=unknown
 color_space=unknown
 color_transfer=unknown
 color_primaries=unknown
 chroma_location=unspecified
 field_order=unknown
 timecode=N/A
 refs=1
 id=N/A
 r_frame_rate=24000/1001
 avg_frame_rate=24000/1001
 time_base=1001/24000
 start_pts=0
 start_time=0.000000
 duration_ts=120
 duration=5.005000
 bit_rate=1203227294
 max_bit_rate=N/A
 bits_per_raw_sample=N/A
 nb_frames=120
 nb_read_frames=N/A
 nb_read_packets=N/A
 DISPOSITION:default=0
 DISPOSITION:dub=0
 DISPOSITION:original=0
 DISPOSITION:comment=0
 DISPOSITION:lyrics=0
 DISPOSITION:karaoke=0
 DISPOSITION:forced=0
 DISPOSITION:hearing_impaired=0
 DISPOSITION:visual_impaired=0
 DISPOSITION:clean_effects=0
 DISPOSITION:attached_pic=0
 DISPOSITION:timed_thumbnails=0
 [/STREAM]
 }}}

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


More information about the FFmpeg-trac mailing list