Re: [FFmpeg-trac] #6694(swscale:new): can we have gamma-correct image-resizing

2017-09-26 Thread FFmpeg
#6694: can we have gamma-correct image-resizing
-+---
 Reporter:  mtc  |Owner:
 Type:  defect   |   Status:  new
 Priority:  minor|Component:  swscale
  Version:  unspecified  |   Resolution:
 Keywords:  gamma|   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+---

Comment (by mtc):

 maybe barely (usually not much) affects dithering accuracy in very coarse
 palettes

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6677(avcodec:open): mpeg2 decoder always output some redundant dummy frames for interlace videos

2017-09-26 Thread FFmpeg
#6677: mpeg2 decoder always output some redundant dummy frames for interlace
videos
-+-
 Reporter:  lizhong1008  |Owner:
 Type:  defect   |   Status:  open
 Priority:  important|Component:  avcodec
  Version:  git-master   |   Resolution:
 Keywords:  mpeg2video   |   Blocked By:
  regression |  Reproduced by developer:  1
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by lizhong1008):

 I prefer to revert 99e07a4453732058df90885f80b3db3b4f37cb3c directly,
 since the sample clip ofinterlaced_mpeg2.bin is detected as wrong input
 and doesn't make ffmpeg crash right now.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6521(avformat:open): HEIF support

2017-09-26 Thread FFmpeg
#6521: HEIF support
-+
 Reporter:  mateo|Owner:  mateo
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  mov heif |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+
Changes (by donmez):

 * cc: ismail@… (added)


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6599(undetermined:reopened): FFmpeg git build does not make working fMP4 HLS files

2017-09-26 Thread FFmpeg
#6599: FFmpeg git build does not make working fMP4 HLS files
-+-
 Reporter:   |Owner:
  SeventhCycle   |   Status:  reopened
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  unspecified  |   Resolution:
 Keywords:  bounty   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by SeventhCycle):

 Hello,

 I tested this on the final release of High Sierra and updated FFmpeg to
 N-87394-g89a2472ec5-static.

 Same problem is present:

 ​http://seventhcycle.net/ffmpeg/hls_hevc/out/480p-h265.m3u8
 Says missing plug-in.

 Is there any other information I can provide to identify the problem and
 get this working?

 Thanks!

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1407(avcodec:new): aac: 960/120 MDCT window is not implemented

2017-09-26 Thread FFmpeg
#1407: aac: 960/120 MDCT window is not implemented
-+---
 Reporter:  cehoyos  |Owner:
 Type:  enhancement  |   Status:  new
 Priority:  wish |Component:  avcodec
  Version:  git-master   |   Resolution:
 Keywords:  aac  |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+---

Comment (by Basic.Master):

 Meanwhile support for 960 samples/frame has been added:
 
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/dbc9a8f21f92d0613142ea23bb836356fc41de38

 (only discovered due to this issue: https://github.com/piratfm/eti-
 tools/issues/10)

 While the support seems to be fine for the above AAC-LC sample, according
 to the console warnings there is no support (yet) for SBR (HE-AAC) and/or
 PS (HE-AAC v2) for the 960 case. Thus in such cases only the half-
 bandwidth respectively Mono core is decoded.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6699(avformat:new): MP4 with HEVC keyint=2 not decoded properly due to edit list (first frames are missing)

2017-09-26 Thread FFmpeg
#6699: MP4 with HEVC keyint=2 not decoded properly due to edit list (first 
frames
are missing)
-+-
 Reporter:  tospi|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  mov hevc |   Blocked By:
  edts   |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by tospi):

 Replying to [comment:2 cehoyos]:
 > Replying to [ticket:6699 tospi]:
 > > In earlier versions of FFmpeg (e.g. FFmpeg 2.8.11), decoding of the
 same file works without problems.
 > The file you attached works significantly better here with current
 FFmpeg git head than 2.8.
 Well yes, the used "testsrc" apparently produced gbrp pixel format output,
 so the HEVC test file also used this format which was not supported in
 this old FFmpeg version. Therefore is was not a good sample, sorry.

 I created a new sample with the testsrc2 source which uses YUV420.
 {{{
 ./ffmpeg -f lavfi -i testsrc2=duration=1 -b:v 1000k -c:v libx265
 -x265-params keyint=2 hevc_keyint2_testsrc2.mp4
 }}}
 This file works in the old FFmpeg 2.8.11, but still not in the current
 version.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6699(avformat:new): MP4 with HEVC keyint=2 not decoded properly due to edit list (first frames are missing)

2017-09-26 Thread FFmpeg
#6699: MP4 with HEVC keyint=2 not decoded properly due to edit list (first 
frames
are missing)
-+-
 Reporter:  tospi|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  mov hevc |   Blocked By:
  edts   |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 Replying to [ticket:6699 tospi]:
 > In earlier versions of FFmpeg (e.g. FFmpeg 2.8.11), decoding of the same
 file works without problems.
 The file you attached works significantly better here with current FFmpeg
 git head than 2.8.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6699(avformat:new): MP4 with HEVC keyint=2 not decoded properly due to edit list (first frames are missing)

2017-09-26 Thread FFmpeg
#6699: MP4 with HEVC keyint=2 not decoded properly due to edit list (first 
frames
are missing)
-+-
 Reporter:  tospi|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  mov hevc |   Blocked By:
  edts   |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by tospi):

 Complete console output:

 {{{
 % ./ffmpeg -v 9 -loglevel 99 -i hevc_keyint2.mp4 -f null -
 ffmpeg version N-87394-g89a2472ec5-static http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2017 the FFmpeg developers
   built with gcc 6.4.0 (Debian 6.4.0-5) 20170906
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libfribidi --enable-libass --enable-libvmaf --enable-
 libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-
 librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-
 libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxvid --enable-libzimg
   libavutil  55. 76.100 / 55. 76.100
   libavcodec 57.106.101 / 57.106.101
   libavformat57. 82.101 / 57. 82.101
   libavdevice57.  8.101 / 57.  8.101
   libavfilter 6.106.100 /  6.106.100
   libswscale  4.  7.103 /  4.  7.103
   libswresample   2.  8.100 /  2.  8.100
   libpostproc54.  6.100 / 54.  6.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-i' ... matched as input url with argument
 'hevc_keyint2.mp4'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'null'.
 Reading option '-' ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input url hevc_keyint2.mp4.
 Successfully parsed a group of options.
 Opening an input file: hevc_keyint2.mp4.
 [NULL @ 0x45aad60] Opening 'hevc_keyint2.mp4' for reading
 [file @ 0x45ab580] Setting default whitelist 'file,crypto'
 Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
 Probing mp3 score:1 size:2048
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'ftyp' parent:'root' sz: 28 8
 35333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] ISO: File Type Major Brand: isom
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'free' parent:'root' sz: 8 36
 35333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'mdat' parent:'root' sz: 32220
 44 35333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'moov' parent:'root' sz: 3077
 32264 35333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'mvhd' parent:'moov' sz: 108 8
 3069
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] time scale = 1000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'trak' parent:'moov' sz: 2863
 116 3069
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'tkhd' parent:'trak' sz: 92 8
 2855
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'edts' parent:'trak' sz: 36 100
 2855
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'elst' parent:'edts' sz: 28 8
 28
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] track[0].edit_count = 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] duration=1000 time=1024
 rate=1.00
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'mdia' parent:'trak' sz: 2727
 136 2855
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'mdhd' parent:'mdia' sz: 32 8
 2719
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'hdlr' parent:'mdia' sz: 45 40
 2719
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] ctype=[0][0][0][0]
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] stype=vide
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'minf' parent:'mdia' sz: 2642
 85 2719
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'vmhd' parent:'minf' sz: 20 8
 2634
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'dinf' parent:'minf' sz: 36 28
 2634
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'dref' parent:'dinf' sz: 28 8
 28
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] Unknown dref type 0x206c7275 size 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'stbl' parent:'minf' sz: 2578
 64 2634
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x45aad60] type:'stsd' parent:'stbl' 

[FFmpeg-trac] #6699(avformat:new): MP4 with HEVC keyint=2 not decoded properly due to edit list (first frames are missing)

2017-09-26 Thread FFmpeg
#6699: MP4 with HEVC keyint=2 not decoded properly due to edit list (first 
frames
are missing)
-+-
 Reporter:  tospi| Type:  defect
   Status:  new  | Priority:  normal
Component:  avformat |  Version:  git-
 Keywords:  mov hevc |  master
  edts   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Problem: HEVC streams encoded with short key intervals (2,4,...) inside
 MP4 cannot be decoded properly.

 Description: The first few frames (probably the first GOP) are missing and
 not decoded (not reaching the decoder). In earlier versions of FFmpeg
 (e.g. FFmpeg 2.8.11), decoding of the same file works without problems. In
 the current version, decoding only works if "-ignore_editlist 1" is
 specified, so apparently the edit list feature is somehow not working
 correctly in this case.

 Command to produce the MP4 file (file is also attached):
 {{{
 % ./ffmpeg -f lavfi -i testsrc=duration=1 -c:v libx265 -x265-params
 keyint=2 hevc_keyint2.mp4
 ffmpeg version N-87394-g89a2472ec5-static http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2017 the FFmpeg developers
   built with gcc 6.4.0 (Debian 6.4.0-5) 20170906
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libfribidi --enable-libass --enable-libvmaf --enable-
 libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-
 librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-
 libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxvid --enable-libzimg
   libavutil  55. 76.100 / 55. 76.100
   libavcodec 57.106.101 / 57.106.101
   libavformat57. 82.101 / 57. 82.101
   libavdevice57.  8.101 / 57.  8.101
   libavfilter 6.106.100 /  6.106.100
   libswscale  4.  7.103 /  4.  7.103
   libswresample   2.  8.100 /  2.  8.100
   libpostproc54.  6.100 / 54.  6.100
 Input #0, lavfi, from 'testsrc=duration=1':
   Duration: N/A, start: 0.00, bitrate: N/A
 Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 File 'hevc_keyint2.mp4' already exists. Overwrite ? [y/N] y^C
 thomas@thomas-desktop:~/Downloads/ffmpeg-git-20170926-64bit-static$
 ./ffmpeg -f lavfi -i testsrc=duration=1 -c:v libx265 -x265-params keyint=2
 hevc_keyint2.mp4
 ffmpeg version N-87394-g89a2472ec5-static http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2017 the FFmpeg developers
   built with gcc 6.4.0 (Debian 6.4.0-5) 20170906
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libfribidi --enable-libass --enable-libvmaf --enable-
 libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-
 librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-
 libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxvid --enable-libzimg
   libavutil  55. 76.100 / 55. 76.100
   libavcodec 57.106.101 / 57.106.101
   libavformat57. 82.101 / 57. 82.101
   libavdevice57.  8.101 / 57.  8.101
   libavfilter 6.106.100 /  6.106.100
   libswscale  4.  7.103 /  4.  7.103
   libswresample   2.  8.100 /  2.  8.100
   libpostproc54.  6.100 / 54.  6.100
 Input #0, lavfi, from 'testsrc=duration=1':
   Duration: N/A, start: 0.00, bitrate: N/A
 Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 File 'hevc_keyint2.mp4' already exists. Overwrite ? [y/N] y
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> hevc (libx265))
 Press [q] to stop, [?] for help
 x265 [info]: HEVC encoder version 2.5+17-f8ae7afc1f61
 x265 [info]: build info [Linux][GCC 6.4.0][64 bit] 8bit+10bit+12bit
 x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
 FMA3 BMI2 AVX2
 x265 [info]: Main 4:4:4 profile, Level-2 (Main tier)
 x265 [info]: Thread pool created using 16 threads
 x265 [info]: Slices  : 1
 x265 [info]: frame threads / pool features   : 4 / wpp(4 rows)
 x265 [

Re: [FFmpeg-trac] #6695(avformat:closed): avformat_new_stream() and cur_dts

2017-09-26 Thread FFmpeg
#6695: avformat_new_stream() and cur_dts
+
 Reporter:  jonsmirl|Owner:
 Type:  defect  |   Status:  closed
 Priority:  important   |Component:  avformat
  Version:  git-master  |   Resolution:  invalid
 Keywords:  regression  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+
Changes (by jonsmirl):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 When I was making a patch for this I noticed what changed in ffmpeg. That
 led me to look at our code. Our code was mis-using the iformat field to
 pass a 'this' pointer to the file/open close callbacks since there wasn't
 any other way to pass the pointer. Apparently we can't mis-use that field
 anymore.

 We were trying to avoid writing a full custom IO implementation since all
 we needed was to track the file opens. I guess we have to figure out how
 to write the full custom IO code now.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6649(avcodec:closed): DNxHR 444 encoding crashes because of wrong macroblock size

2017-09-26 Thread FFmpeg
#6649: DNxHR 444 encoding crashes because of wrong macroblock size
-+---
 Reporter:  devernay |Owner:
 Type:  defect   |   Status:  closed
 Priority:  important|Component:  avcodec
  Version:  git-master   |   Resolution:  fixed
 Keywords:  DNxHD crash  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+---
Changes (by cehoyos):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Applied as eec67f25224a48047da57be18b610b - thank you for the report and
 the fix!

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6690(avformat:open): Raw Electronic Arts ADPCM support (.XA)

2017-09-26 Thread FFmpeg
#6690: Raw Electronic Arts ADPCM support (.XA)
-+-
 Reporter:  koops|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
  electronicarts |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by koops):

 https://gist.github.com/koops76/e830ce92e1eb9c13d4cbfa861c0fc109

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6690(avformat:open): Raw Electronic Arts ADPCM support (.XA)

2017-09-26 Thread FFmpeg
#6690: Raw Electronic Arts ADPCM support (.XA)
-+-
 Reporter:  koops|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
  electronicarts |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by koops):

 You can detect this format by file size being a multiple of 15 and 0th,
 15th, 30th and so on bytes being less than 0x40.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6690(avformat:open): Raw Electronic Arts ADPCM support (.XA)

2017-09-26 Thread FFmpeg
#6690: Raw Electronic Arts ADPCM support (.XA)
-+-
 Reporter:  koops|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
  electronicarts |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by koops):

 I uploaded it to https://streams.videolan.org/upload/. It's the one
 without "fixed" in description, I accidentally created a stereo sample,
 while I wanted mono.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6695(avformat:new): avformat_new_stream() and cur_dts

2017-09-26 Thread FFmpeg
#6695: avformat_new_stream() and cur_dts
+
 Reporter:  jonsmirl|Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  regression  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+
Changes (by cehoyos):

 * keywords:   => regression
 * priority:  normal => important
 * component:  undetermined => avformat


Old description:

> avformat_new_stream() is not initializing AVStream->cur_dts.  This causes
> problems down in av_interleaved_write_frame(), compute_muxer_pkt_fields()
> on this test since cur_dts is randomly set.
>
> if (st->cur_dts && st->cur_dts != AV_NOPTS_VALUE &&
> ((!(s->oformat->flags & AVFMT_TS_NONSTRICT) &&
>   st->codecpar->codec_type != AVMEDIA_TYPE_SUBTITLE &&
>   st->codecpar->codec_type != AVMEDIA_TYPE_DATA &&
>   st->cur_dts >= pkt->dts) || st->cur_dts > pkt->dts)) {
> av_log(s, AV_LOG_ERROR,
>"Application provided invalid, non monotonically
> increasing dts to muxer in stream %d: %s >= %s\n",
>st->index, av_ts2str(st->cur_dts), av_ts2str(pkt->dts));
> return AVERROR(EINVAL);
> }
>
> Changing my code like this makes it work as expected.
>
> out_stream = avformat_new_stream(ofmt_ctx, NULL);
> out_stream->cur_dts = AV_NOPTS_VALUE;
>
> I'm using git head from 9/24. This is a recent change since my code
> worked on older versions of ffmpeg.

New description:

 avformat_new_stream() is not initializing AVStream->cur_dts.  This causes
 problems down in av_interleaved_write_frame(), compute_muxer_pkt_fields()
 on this test since cur_dts is randomly set.
 {{{
 if (st->cur_dts && st->cur_dts != AV_NOPTS_VALUE &&
 ((!(s->oformat->flags & AVFMT_TS_NONSTRICT) &&
   st->codecpar->codec_type != AVMEDIA_TYPE_SUBTITLE &&
   st->codecpar->codec_type != AVMEDIA_TYPE_DATA &&
   st->cur_dts >= pkt->dts) || st->cur_dts > pkt->dts)) {
 av_log(s, AV_LOG_ERROR,
"Application provided invalid, non monotonically increasing
 dts to muxer in stream %d: %s >= %s\n",
st->index, av_ts2str(st->cur_dts), av_ts2str(pkt->dts));
 return AVERROR(EINVAL);
 }
 }}}
 Changing my code like this makes it work as expected.
 {{{
 out_stream = avformat_new_stream(ofmt_ctx, NULL);
 out_stream->cur_dts = AV_NOPTS_VALUE;
 }}}
 I'm using git head from 9/24. This is a recent change since my code worked
 on older versions of ffmpeg.

--

Comment:

 Please send your patch - made with {{{git format-patch}}} - to the
 development mailing list.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6690(avformat:open): Raw Electronic Arts ADPCM support (.XA)

2017-09-26 Thread FFmpeg
#6690: Raw Electronic Arts ADPCM support (.XA)
-+-
 Reporter:  koops|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
  electronicarts |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 Please provide a stereo sample.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6698(undetermined:closed): error: Unable to initialize the encoder: Transport library initialization error

2017-09-26 Thread FFmpeg
#6698: error: Unable to initialize the encoder: Transport library initialization
error
-+-
 Reporter:  sankalp  |Owner:
 Type:  defect   |   Status:  closed
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:  duplicate
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by cehoyos):

 * keywords:  aac_ld aac_eld libfdk_aac =>
 * priority:  critical => normal
 * status:  new => closed
 * component:  ffmpeg => undetermined
 * resolution:   => duplicate


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6696(swscale:closed): minor: more clear error message to fix typo

2017-09-26 Thread FFmpeg
#6696: minor: more clear error message to fix typo
-+---
 Reporter:  mtc  |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  minor|Component:  swscale
  Version:  unspecified  |   Resolution:  wontfix
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+---
Changes (by cehoyos):

 * status:  new => closed
 * resolution:   => wontfix
 * component:  undetermined => swscale


Comment:

 Feel free to send a patch - made with {{{git format-patch}}} - to the
 development mailing list.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6694(swscale:new): can we have gamma-correct image-resizing

2017-09-26 Thread FFmpeg
#6694: can we have gamma-correct image-resizing
-+---
 Reporter:  mtc  |Owner:
 Type:  defect   |   Status:  new
 Priority:  minor|Component:  swscale
  Version:  unspecified  |   Resolution:
 Keywords:  gamma|   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+---
Changes (by cehoyos):

 * keywords:  gamma linear sRGB resize scale radiometric => gamma


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


[FFmpeg-trac] #6698(ffmpeg:new): error: Unable to initialize the encoder: Transport library initialization error

2017-09-26 Thread FFmpeg
#6698: error: Unable to initialize the encoder: Transport library initialization
error
-+-
 Reporter:  sankalp  | Type:  defect
   Status:  new  | Priority:  critical
Component:  ffmpeg   |  Version:
 Keywords:  aac_ld   |  unspecified
  aac_eld libfdk_aac |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 I'm trying to run an audio encoder using ffmpeg command but when I try to
 encode in aac_ld codec or aac_eld codec, it gives me an error stating
 that...

 {{{
 [libfdk_aac @ 0x1e20770] Unable to initialize the encoder: Transport
 library initialization error
 }}}

 but for other codecs it's running perfectly fine.

 I'm using this command for aac_eld codec


 {{{
 ffmpeg -y -f alsa -ac 2 -ar 44100 -i hw:0 -acodec libfdk_aac -profile:a
 aac_eld -b:a 320k -r:a 48000 -f mpegts
 udp://192.168.1.60:1234?pkt_size=1316
 }}}

 and getting this output

 {{{
 ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
   built with gcc 4.9.2 (Debian 4.9.2-10)
   configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-
 protector-strong -Wformat -Werror=format-security ' --extra-
 ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-
 libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-
 pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-
 x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
 nonfree --disable-stripping --enable-libvpx --enable-libschroedinger
 --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg
 --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-
 aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus
 --libdir=/usr/lib/arm-linux-gnueabihf --disable-vda --enable-libbluray
 --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl
 --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse
 --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-
 libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages
 --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-
 libx265 --enable-libiec61883 --enable-libdc1394 --disable-altivec
 --shlibdir=/usr/lib/arm-linux-gnueabihf
   libavutil  54. 20.100 / 54. 20.100
   libavcodec 56. 26.100 / 56. 26.100
   libavformat56. 25.101 / 56. 25.101
   libavdevice56.  4.100 / 56.  4.100
   libavfilter 5. 11.102 /  5. 11.102
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale  3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc53.  3.100 / 53.  3.100
 Guessed Channel Layout for  Input Stream #0.0 : stereo
 Input #0, alsa, from 'hw:0':
   Duration: N/A, start: 1505822120.258801, bitrate: 1411 kb/s
 Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411
 kb/s
 [libfdk_aac @ 0x1e20770] Unable to initialize the encoder: Transport
 library initialization error
 Output #0, mpegts, to 'udp://192.168.1.60:1234?pkt_size=1316':
 Stream #0:0: Audio: aac, 0 channels, 128 kb/s
 Metadata:
   encoder : Lavc56.26.100 libfdk_aac
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (libfdk_aac))
 Error while opening encoder for output stream #0:0 - maybe incorrect
 parameters such as bit_rate, rate, width or height
 [1]+  Killed  ffmpeg -y -f alsa -ac 2 -ar 44100 -i
 hw:0 -acodec libfdk_aac -profile:a aac_he -b:a 320k -r:a 48000 -f mpegts
 udp://192.168.1.60:1234?pkt_size=1316
 }}}

 but for another codec like aac_low it is working perfectly fine.

 Is there any other program using which aac_ld can be encoded

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6690(avformat:open): Raw Electronic Arts ADPCM support (.XA)

2017-09-26 Thread FFmpeg
#6690: Raw Electronic Arts ADPCM support (.XA)
-+-
 Reporter:  koops|Owner:
 Type:  enhancement  |   Status:  open
 Priority:  wish |Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:   |   Blocked By:
  electronicarts |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-

Comment (by koops):

 Edit: the file can actually be stereo.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6697(documentation:closed): add link from source-code to doc's

2017-09-26 Thread FFmpeg
#6697: add link from source-code to doc's
-+-
 Reporter:  mtc  |Owner:
 Type:  enhancement  |   Status:  closed
 Priority:  minor|Component:
  Version:  unspecified  |  documentation
 Keywords:   |   Resolution:  wontfix
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by llogan):

 * keywords:  dither =>
 * status:  new => closed
 * resolution:   => wontfix


Comment:

 "a dither" is considered to be public domain by the author. If you want to
 see this link also added to the scaler documentation please submit a
 patch. Otherwise, I doubt anyone else is going to take the time to do it
 for something so minor.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6694(swscale:new): can we have gamma-correct image-resizing

2017-09-26 Thread FFmpeg
#6694: can we have gamma-correct image-resizing
-+-
 Reporter:  mtc  |Owner:
 Type:  defect   |   Status:  new
 Priority:  minor|Component:  swscale
  Version:  unspecified  |   Resolution:
 Keywords:  gamma|   Blocked By:
  linear sRGB resize scale   |  Reproduced by developer:  0
  radiometric|
 Blocking:   |
Analyzed by developer:  0|
-+-
Changes (by mtc):

 * keywords:   => gamma linear sRGB resize scale radiometric


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #6415(undetermined:reopened): Strange DTS of first packet in RTSP stream

2017-09-26 Thread FFmpeg
#6415: Strange DTS of first packet in RTSP stream
-+-
 Reporter:  Alexander|Owner:
 Type:  defect   |   Status:  reopened
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by slamb):

 * cc: slamb@… (added)


--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac