Re: [FFmpeg-trac] #7025(undetermined:new): Framerate changes when using prores and copy codec

2018-02-15 Thread FFmpeg
#7025: Framerate changes when using prores and copy codec
-+-
 Reporter:   |Owner:
  FrugalCourtland|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:   |   Resolution:
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by Gyan):

 Related to duration of last frame. In the input, ffprobe shows it as
 longer than the other frames.

 Round-tripping via a NUT pipe works

  {{{ ffmpeg -i input.mov -c copy -f nut - | ffmpeg -i - -c copy output.mov
 }}}

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


Re: [FFmpeg-trac] #1693(avcodec:new): AAC Scalable Sample Rate (SSR)

2018-02-15 Thread FFmpeg
#1693: AAC Scalable Sample Rate (SSR)
+---
 Reporter:  cehoyos |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avcodec
  Version:  git-master  |   Resolution:
 Keywords:  aac |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+---

Comment (by cehoyos):

 Thank you for looking into this!
 I believe your patch is missing a copyright notice regarding the original
 author...

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


Re: [FFmpeg-trac] #7021(undetermined:new): ffmpeg with -hls_flags single_file return incorrect byterange in playlist

2018-02-15 Thread FFmpeg
#7021: ffmpeg with -hls_flags single_file return incorrect byterange in playlist
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  git-master   |  undetermined
 Keywords:  hls  |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by loki5100):

 sure find below the command line with the complete, uncut console output

 {{{

 C:\Temp\ffmpeg>ffmpeg.exe ^
 More? -i
 
"http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4;
 ^
 More? -loglevel verbose ^
 More? -c:a aac ^
 More? -b:a 128k ^
 More? -c:v hevc ^
 More? -b:v 4977k -maxrate 4977k -bufsize 7466k ^
 More? -x265-params "keyint=60:min-keyint=60:open-gop=0:scenecut=0" ^
 More? -r 48357/16117951 ^
 More? -t 30 ^
 More? -sn ^
 More? -movflags faststart ^
 More? -preset ultrafast ^
 More? -pix_fmt yuv420p ^
 More? -hls_time 4 ^
 More? -hls_segment_type fmp4 ^
 More? -hls_list_size 0 ^
 More? -hls_flags single_file ^
 More? -hls_fmp4_init_filename C:\temp\ffmpeg\bbb_init.mp4 ^
 More? C:\temp\ffmpeg\bbb.m3u8
 ffmpeg version N-90056-gdc77e64f2d Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 7.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
 --enable-libblur
 ay --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 libshine --enab
 le-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
 --enable-libx265 --en
 able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-
 libmysofa --enabl
 e-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda
 --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-
 avisynth
   libavutil  56.  7.101 / 56.  7.101
   libavcodec 58. 11.101 / 58. 11.101
   libavformat58.  9.100 / 58.  9.100
   libavdevice58.  1.100 / 58.  1.100
   libavfilter 7. 12.100 /  7. 12.100
   libswscale  5.  0.101 /  5.  0.101
   libswresample   3.  0.101 /  3.  0.101
   libpostproc55.  0.100 / 55.  0.100
 [h264 @ 002849eb0d40] Reinit context to 1920x1088, pix_fmt: yuv420p
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 
'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 1
 compatible_brands: isomavc1
 creation_time   : 2013-12-16T17:44:39.00Z
 title   : Big Buck Bunny, Sunflower version
 artist  : Blender Foundation 2008, Janus Bager Kristensen 2013
 comment : Creative Commons Attribution 3.0 -
 http://bbb3d.renderfarming.net
 genre   : Animation
 composer: Sacha Goedegebure
   Duration: 00:10:34.53, start: 0.00, bitrate: 3481 kb/s
 Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 /
 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 2998
 kb/s, 30 fps, 30
 tbr, 30k tbn, 60 tbc (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:39.00Z
   handler_name: GPAC ISO Video Handler
 Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
 s16p, 160 kb/s (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:42.00Z
   handler_name: GPAC ISO Audio Handler
 Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
 fltp, 320 kb/s (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:42.00Z
   handler_name: GPAC ISO Audio Handler
 Side data:
   audio service type: main
 Matched encoder 'libx265' for codec 'hevc'.
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
   Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
 Press [q] to stop, [?] for help
 [h264 @ 002849e9ae80] Reinit context to 1920x1088, pix_fmt: yuv420p
 [graph 0 input from stream 0:0 @ 00284c65ee80] w:1920 h:1080
 pixfmt:yuv420p tb:1/3 fr:30/1 sar:1/1 sws_param:flags=2
 x265 [info]: HEVC encoder version 2.6+37-1949157705ce
 x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit+10bit
 x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
 FMA3 BMI2 AVX2
 x265 [info]: Main profile, Level-4 (Main tier)
 x265 [info]: Thread pool created using 8 threads
 x265 [info]: Slices

Re: [FFmpeg-trac] #7023(undetermined:new): mediastreamvalidator failed with "Error injecting segment data"

2018-02-15 Thread FFmpeg
#7023: mediastreamvalidator failed with "Error injecting segment data"
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  git-master   |  undetermined
 Keywords:  hls  |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by loki5100):

 The command line with the complete, uncut console output :



 {{{
 C:\Temp\ffmpeg>ffmpeg.exe -i
 
"http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4;
 -loglevel verbose -c:a aac -b:a 128k -
 c:v hevc -b:v 4977k -maxrate 4977k -bufsize 7466k -x265-params "keyint=60
 :min-keyint=60:open-gop=0:scenecut=0" -r 48357/16117951 -t 30 -sn
 -movflags faststa
 rt -preset ultrafast -pix_fmt yuv420p -hls_time 4 -hls_segment_type fmp4
 -hls_list_size 0 -hls_fmp4_init_filename C:\temp\ffmpeg\bbb_init.mp4
 C:\temp\ffmpeg\bbb
 .m3u8
 ffmpeg version N-90056-gdc77e64f2d Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 7.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
 --enable-libblur
 ay --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 libshine --enab
 le-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
 --enable-libx265 --en
 able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-
 libmysofa --enabl
 e-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda
 --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-
 avisynth
   libavutil  56.  7.101 / 56.  7.101
   libavcodec 58. 11.101 / 58. 11.101
   libavformat58.  9.100 / 58.  9.100
   libavdevice58.  1.100 / 58.  1.100
   libavfilter 7. 12.100 /  7. 12.100
   libswscale  5.  0.101 /  5.  0.101
   libswresample   3.  0.101 /  3.  0.101
   libpostproc55.  0.100 / 55.  0.100
 [h264 @ 00cb8fda0c80] Reinit context to 1920x1088, pix_fmt: yuv420p
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 
'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 1
 compatible_brands: isomavc1
 creation_time   : 2013-12-16T17:44:39.00Z
 title   : Big Buck Bunny, Sunflower version
 artist  : Blender Foundation 2008, Janus Bager Kristensen 2013
 comment : Creative Commons Attribution 3.0 -
 http://bbb3d.renderfarming.net
 genre   : Animation
 composer: Sacha Goedegebure
   Duration: 00:10:34.53, start: 0.00, bitrate: 3481 kb/s
 Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 /
 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 2998
 kb/s, 30 fps, 30
 tbr, 30k tbn, 60 tbc (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:39.00Z
   handler_name: GPAC ISO Video Handler
 Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
 s16p, 160 kb/s (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:42.00Z
   handler_name: GPAC ISO Audio Handler
 Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
 fltp, 320 kb/s (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:42.00Z
   handler_name: GPAC ISO Audio Handler
 Side data:
   audio service type: main
 Matched encoder 'libx265' for codec 'hevc'.
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
   Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
 Press [q] to stop, [?] for help
 [h264 @ 00cb8fd8ae40] Reinit context to 1920x1088, pix_fmt: yuv420p
 [graph 0 input from stream 0:0 @ 00cb90538cc0] w:1920 h:1080
 pixfmt:yuv420p tb:1/3 fr:30/1 sar:1/1 sws_param:flags=2
 x265 [info]: HEVC encoder version 2.6+37-1949157705ce
 x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit+10bit
 x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
 FMA3 BMI2 AVX2
 x265 [info]: Main profile, Level-4 (Main tier)
 x265 [info]: Thread pool created using 8 threads
 x265 [info]: Slices  : 1
 x265 [info]: frame threads / pool features   : 3 / wpp(34 rows)
 x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 

Re: [FFmpeg-trac] #7024(undetermined:new): HLS: I receive "Can't deal with multiple sample timings per sample buffer" from mediaStreamValidator

2018-02-15 Thread FFmpeg
#7024: HLS: I receive "Can't deal with multiple sample timings per sample 
buffer"
from mediaStreamValidator
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by loki5100):

 thanks ceyoyo, with the git version i have another problem when i use hevc
 ( https://trac.ffmpeg.org/ticket/7023#ticket ), however when i use x264 i
 can reproduce it :


 {{{
 C:\Temp\ffmpeg>ffmpeg.exe -i
 
"http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4;
 -loglevel verbose -c:a aac -b:a 128k -
 c:v libx264 -b:v 4977k -maxrate 4977k -bufsize 7466k -x264opts "keyint=60
 :min-keyint=60:scenecut=0" -r 48357/16117951 -t 30 -sn -movflags
 faststart -preset
 ultrafast -pix_fmt yuv420p -hls_time 4 -hls_segment_type fmp4
 -hls_list_size 0 -hls_fmp4_init_filename C:\temp\ffmpeg\bbb_init.mp4
 C:\temp\ffmpeg\bbb.m3u8
 ffmpeg version N-90056-gdc77e64f2d Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 7.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
 --enable-libblur
 ay --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 libshine --enab
 le-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
 --enable-libx265 --en
 able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-
 libmysofa --enabl
 e-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda
 --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-
 avisynth
   libavutil  56.  7.101 / 56.  7.101
   libavcodec 58. 11.101 / 58. 11.101
   libavformat58.  9.100 / 58.  9.100
   libavdevice58.  1.100 / 58.  1.100
   libavfilter 7. 12.100 /  7. 12.100
   libswscale  5.  0.101 /  5.  0.101
   libswresample   3.  0.101 /  3.  0.101
   libpostproc55.  0.100 / 55.  0.100
 [h264 @ 0042f3c40c00] Reinit context to 1920x1088, pix_fmt: yuv420p
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 
'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4':
   Metadata:
 major_brand : isom
 minor_version   : 1
 compatible_brands: isomavc1
 creation_time   : 2013-12-16T17:44:39.00Z
 title   : Big Buck Bunny, Sunflower version
 artist  : Blender Foundation 2008, Janus Bager Kristensen 2013
 comment : Creative Commons Attribution 3.0 -
 http://bbb3d.renderfarming.net
 genre   : Animation
 composer: Sacha Goedegebure
   Duration: 00:10:34.53, start: 0.00, bitrate: 3481 kb/s
 Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 /
 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 2998
 kb/s, 30 fps, 30
 tbr, 30k tbn, 60 tbc (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:39.00Z
   handler_name: GPAC ISO Video Handler
 Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
 s16p, 160 kb/s (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:42.00Z
   handler_name: GPAC ISO Audio Handler
 Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
 fltp, 320 kb/s (default)
 Metadata:
   creation_time   : 2013-12-16T17:44:42.00Z
   handler_name: GPAC ISO Audio Handler
 Side data:
   audio service type: main
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
   Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))
 Press [q] to stop, [?] for help
 [h264 @ 0042f3c2af40] Reinit context to 1920x1088, pix_fmt: yuv420p
 [graph 0 input from stream 0:0 @ 0042f444ccc0] w:1920 h:1080
 pixfmt:yuv420p tb:1/3 fr:30/1 sar:1/1 sws_param:flags=2
 [libx264 @ 0042f3c4a000] using SAR=1/1
 [libx264 @ 0042f3c4a000] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX FMA3 BMI2 AVX2
 [libx264 @ 0042f3c4a000] profile Constrained Baseline, level 4.0
 [libx264 @ 0042f3c4a000] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4
 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html -
 options: cabac=0 r
 ef=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
 mixed_ref=0 

[FFmpeg-trac] #7022(ffmpeg:new): ffmpeg with -hls_flags single_file return incorrect byterange in playlist

2018-02-15 Thread FFmpeg
#7022: ffmpeg with -hls_flags single_file return incorrect byterange in playlist
-+-
 Reporter:  loki5100 | Type:  defect
   Status:  new  | Priority:  critical
Component:  ffmpeg   |  Version:  git-
 Keywords:  hls_flags|  master
  single_file|   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Under windows with the build 20180214-dc77e64, When i run the command
 below (-hls_flags single_file)


 {{{
 ffmpeg.exe ^
 -i "C:\Temp\ffmpeg\big_buck_bunny.avi" ^
 -loglevel verbose ^
 -an ^
 -sn ^
 -vcodec libx264 ^
 -force_key_frames "expr:gte(t,n_forced*4)" ^
 -r 25 ^
 -f hls ^
 -hls_time 4 ^
 -hls_list_size 9 ^
 -start_number 1 ^
 -hls_segment_type fmp4 ^
 -hls_fmp4_init_filename "C:\Temp\ffmpeg\result_init.mp4" ^
 -t 30 ^
 -hls_flags single_file ^
 "C:\Temp\ffmpeg\result.m3u8"
 }}}


 it's return this :


 {{{
 #EXTM3U
 #EXT-X-VERSION:7
 #EXT-X-TARGETDURATION:4
 #EXT-X-MEDIA-SEQUENCE:0
 #EXT-X-MAP:URI="C:\Temp\ffmpeg\result.m4s",BYTERANGE="819@0"
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:819@0
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:414913@819
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:206686@415732
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:58996@622418
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:-478619@681414
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:146546@202795
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:422670@349341
 result.m4s
 #EXTINF:2.00,
 #EXT-X-BYTERANGE:-771811@772011
 result.m4s
 #EXT-X-ENDLIST
 }}}


 byterange like
 #EXT-X-BYTERANGE:-771811@772011
 if off course not correct

 source mp4: http://download.blender.org/peach/bigbuckbunny_movies
 /big_buck_bunny_480p_surround-fix.avi

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


[FFmpeg-trac] #7021(ffmpeg:new): ffmpeg with -hls_flags single_file return incorrect byterange in playlist

2018-02-15 Thread FFmpeg
#7021: ffmpeg with -hls_flags single_file return incorrect byterange in playlist
-+-
 Reporter:  loki5100 | Type:  defect
   Status:  new  | Priority:  critical
Component:  ffmpeg   |  Version:  git-
 Keywords:  hls_flags|  master
  single_file|   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Under windows with the build 20180214-dc77e64, When i run the command
 below (-hls_flags single_file)


 {{{
 ffmpeg.exe ^
 -i "C:\Temp\ffmpeg\big_buck_bunny.avi" ^
 -loglevel verbose ^
 -an ^
 -sn ^
 -vcodec libx264 ^
 -force_key_frames "expr:gte(t,n_forced*4)" ^
 -r 25 ^
 -f hls ^
 -hls_time 4 ^
 -hls_list_size 9 ^
 -start_number 1 ^
 -hls_segment_type fmp4 ^
 -hls_fmp4_init_filename "C:\Temp\ffmpeg\result_init.mp4" ^
 -t 30 ^
 -hls_flags single_file ^
 "C:\Temp\ffmpeg\result.m3u8"
 }}}


 it's return this :


 {{{
 #EXTM3U
 #EXT-X-VERSION:7
 #EXT-X-TARGETDURATION:4
 #EXT-X-MEDIA-SEQUENCE:0
 #EXT-X-MAP:URI="C:\Temp\ffmpeg\result.m4s",BYTERANGE="819@0"
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:819@0
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:414913@819
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:206686@415732
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:58996@622418
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:-478619@681414
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:146546@202795
 result.m4s
 #EXTINF:4.00,
 #EXT-X-BYTERANGE:422670@349341
 result.m4s
 #EXTINF:2.00,
 #EXT-X-BYTERANGE:-771811@772011
 result.m4s
 #EXT-X-ENDLIST
 }}}


 byterange like
 #EXT-X-BYTERANGE:-771811@772011
 if off course not correct

 source mp4: http://download.blender.org/peach/bigbuckbunny_movies
 /big_buck_bunny_480p_surround-fix.avi

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


Re: [FFmpeg-trac] #7022(ffmpeg:closed): ffmpeg with -hls_flags single_file return incorrect byterange in playlist

2018-02-15 Thread FFmpeg
#7022: ffmpeg with -hls_flags single_file return incorrect byterange in playlist
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  closed
 Priority:  critical |Component:  ffmpeg
  Version:  git-master   |   Resolution:  duplicate
 Keywords:  hls_flags|   Blocked By:
  single_file|  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-
Changes (by loki5100):

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


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


[FFmpeg-trac] #7023(ffmpeg:new): mediastreamvalidator failed with "Error injecting segment data"

2018-02-15 Thread FFmpeg
#7023: mediastreamvalidator failed with "Error injecting segment data"
--+--
 Reporter:  loki5100  | Type:  defect
   Status:  new   | Priority:  critical
Component:  ffmpeg|  Version:  git-master
 Keywords:|   Blocked By:
 Blocking:|  Reproduced by developer:  0
Analyzed by developer:  0 |
--+--
 When i do with ffmpeg 3.4.1 the instructions below :

 {{{
 ffmpeg.exe ^
 -i "C:\Temp\ffmpeg\big_buck_bunny.avi" ^
 -an ^
 -sn ^
 -c:v hevc ^
 -x265-params "keyint=30:min-keyint=30:open-gop=0:scenecut=0" ^
 -hls_time 4 ^
 -hls_list_size 0 ^
 -hls_segment_type fmp4 ^
 -hls_fmp4_init_filename "C:\Temp\ffmpeg\result_init.mp4" ^
 -t 30 ^
 "C:\Temp\ffmpeg\result.m3u8"
 }}}

 Then i have exactly the same bug as mentionned here :
 https://trac.ffmpeg.org/ticket/6888 => I have in mediastreamvalidator

 {{{

 Error: Playlist vs segment duration mismatch
 --> Detail:  Segment duration 2., Playlist duration: 1.
 --> Source:  http://api.kiskis.club/test/result.m3u8 - result0.m4s
 }}}

 So I try the last version ( N-90056-gdc77e64f2d downloaded today) and now
 with the same command I have another bug, now mediastreamvalidator report
 me:

 {{{
 [/test/result.m3u8] Started root playlist download
 [/test/result.m3u8] Started media playlist download
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 Error injecting segment data
 [/test/result.m3u8] All media files delivered and have end tag, stopping
 }}}

 any workaround ?

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


[FFmpeg-trac] #7024(ffserver:new): HLS: I receive "Can't deal with multiple sample timings per sample buffer" from mediaStreamValidator

2018-02-15 Thread FFmpeg
#7024: HLS: I receive "Can't deal with multiple sample timings per sample 
buffer"
from mediaStreamValidator
--+
 Reporter:  loki5100  | Type:  defect
   Status:  new   | Priority:  critical
Component:  ffserver  |  Version:  3.4
 Keywords:|   Blocked By:
 Blocking:|  Reproduced by developer:  0
Analyzed by developer:  0 |
--+
 When i validate an HLS file made with ffmpeg like this :

 {{{
 ffmpeg.exe ^
 -i C:\Temp\ffmpeg\big_buck_bunny.avi ^
 -nostats ^
 -c:a aac ^
 -b:a 128k ^
 -c:v hevc ^
 -b:v 4977k -maxrate 4977k -bufsize 7466k ^
 -x265-params "keyint=60:min-keyint=60:open-gop=0:scenecut=0" ^
 -r 48357/16117951 ^
 -t 180 ^
 -sn ^
 -movflags faststart ^
 -preset ultrafast ^
 -pix_fmt yuv420p ^
 -hls_time 4 ^
 -hls_segment_type fmp4 ^
 -hls_list_size 0 ^
 C:\Temp\ffmpeg\result.m3u8
 }}}

 i Receive this error :

 {{{
 Can't deal with multiple sample timings per sample buffer
 }}}

 I try on ffmpeg 3.4.1 because with newer version i can't even start to
 validate the stream under mediaStreamValidator

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


[FFmpeg-trac] #7025(undetermined:new): Framerate changes when using prores and copy codec

2018-02-15 Thread FFmpeg
#7025: Framerate changes when using prores and copy codec
-+-
 Reporter:   | Type:  defect
  FrugalCourtland| Priority:  normal
   Status:  new  |  Version:
Component:   |   Blocked By:
  undetermined   |  Reproduced by developer:  0
 Keywords:   |
 Blocking:   |
Analyzed by developer:  0|
-+-
 Summary of the bug:

 Framerate changes when using the "copy" command with a prores video, when
 the length of the video doesn't land on a clean second boundary. In this
 example, the input video is 4 frames. FFProbe will show the framerate at
 30 fps, but after copying, the framerate changes to slightly less than 30.

 How to reproduce:
 {{{
 % ffprobe input.mov
 }}}
 Stream #0:0(eng): Video: prores (apcn / 0x6E637061),
 yuv422p10le(progressive), 100x62, 92 kb/s, SAR 1:1 DAR 50:31, '''30
 fps''', 30 tbr, 15360 tbn, 15360 tbc (default)

 {{{
 % ffmpeg -i input.mov -c:v copy output.mov
 % ffprobe output.mov
 }}}

 Stream #0:0(eng): Video: prores (ap4h / 0x68347061),
 yuv444p10le(progressive), 100x62, 91 kb/s, SAR 1:1 DAR 50:31, '''29.85
 fps''', 30 tbr, 15360 tbn, 15360 tbc (default)

 {{{
 ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
   built with gcc 7.2.0 (GCC)
 ffprobe version 3.4.1 Copyright (c) 2007-2017 the FFmpeg developers
   built with gcc 7.2.0 (GCC)
 }}}

 The video was originally created with this command:
 {{{
 % ffmpeg -framerate 30 -i %02d.png -codec prores input.mov
 }}}

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


Re: [FFmpeg-trac] #1693(avcodec:new): AAC Scalable Sample Rate (SSR)

2018-02-15 Thread FFmpeg
#1693: AAC Scalable Sample Rate (SSR)
+---
 Reporter:  cehoyos |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avcodec
  Version:  git-master  |   Resolution:
 Keywords:  aac |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+---

Comment (by dalecurtis):

 Thanks for the info peloverde. I'll look at implementing that.

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


Re: [FFmpeg-trac] #4513(undetermined:new): Avfoundation Audio stutters / sounds broken with screen capture

2018-02-15 Thread FFmpeg
#4513: Avfoundation Audio stutters / sounds broken with screen capture
-+-
 Reporter:  kevincast|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  git-master   |  undetermined
 Keywords:   |   Resolution:
  avfoundation   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by RobLowe):

 @nickcrabtreeis is correct, applying the avf.patch and a queue size of 400
 resolves the issue. 4 seems too small and fails

 Thanks @nickcrabtreeis!

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


Re: [FFmpeg-trac] #7021(undetermined:new): ffmpeg with -hls_flags single_file return incorrect byterange in playlist

2018-02-15 Thread FFmpeg
#7021: ffmpeg with -hls_flags single_file return incorrect byterange in playlist
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  git-master   |  undetermined
 Keywords:  hls  |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by cehoyos):

 * keywords:  hls_flags single_file => hls
 * priority:  critical => normal
 * component:  ffmpeg => undetermined


Comment:

 Please provide the command line you tested together with the complete,
 uncut console output to make this a valid ticket.

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


Re: [FFmpeg-trac] #7022(undetermined:closed): ffmpeg with -hls_flags single_file return incorrect byterange in playlist

2018-02-15 Thread FFmpeg
#7022: ffmpeg with -hls_flags single_file return incorrect byterange in playlist
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  closed
 Priority:  normal   |Component:
  Version:  git-master   |  undetermined
 Keywords:   |   Resolution:  duplicate
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by cehoyos):

 * keywords:  hls_flags single_file =>
 * priority:  critical => normal
 * component:  ffmpeg => undetermined


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


Re: [FFmpeg-trac] #7024(undetermined:new): HLS: I receive "Can't deal with multiple sample timings per sample buffer" from mediaStreamValidator

2018-02-15 Thread FFmpeg
#7024: HLS: I receive "Can't deal with multiple sample timings per sample 
buffer"
from mediaStreamValidator
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by cehoyos):

 * priority:  critical => normal
 * version:  3.4 => unspecified
 * component:  ffserver => undetermined


Comment:

 Please test current FFmpeg git head, nothing else is supported here.
 Is hevc encoding needed to reproduce?
 Please provide the command line you tested together with the complete,
 uncut console output to make this a valid ticket.

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


Re: [FFmpeg-trac] #7023(undetermined:new): mediastreamvalidator failed with "Error injecting segment data"

2018-02-15 Thread FFmpeg
#7023: mediastreamvalidator failed with "Error injecting segment data"
-+-
 Reporter:  loki5100 |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  git-master   |  undetermined
 Keywords:  hls  |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by cehoyos):

 * keywords:   => hls
 * priority:  critical => normal
 * component:  ffmpeg => undetermined


Comment:

 Is the issue only reproducible with hevc encoding?
 Please provide the command line you tested together with the complete,
 uncut console output to make this a valid ticket.

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


Re: [FFmpeg-trac] #1693(avcodec:new): AAC Scalable Sample Rate (SSR)

2018-02-15 Thread FFmpeg
#1693: AAC Scalable Sample Rate (SSR)
+---
 Reporter:  cehoyos |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avcodec
  Version:  git-master  |   Resolution:
 Keywords:  aac |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+---

Comment (by dalecurtis):

 Parsing gain control was indeed trivial. With the attached patch
 (assembled from the summer of code repo) the SSR samples in c#5 (as*.mp4)
 decode without error.

 However, it's not sufficient to decode the ssr_chrome.aac file from the
 m3u8 in c#3. That file now causes "[aac @ 0x32a5df854f80] Input buffer
 exhausted before END element found" to be emitted from here:

 https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/aacdec_template.c#L3223

 get_bits_left(gb) == -8, in this case after decode_spectrum_and_dequant().

 https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/aacdec_template.c#L1633

 Possibly this is because the file is actually damaged and incorrect.

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