Re: [FFmpeg-trac] #4209(avformat:open): GPS coordinates location and other iOS metadata in MOV are not copied to output MP4

2018-07-09 Thread FFmpeg
#4209: GPS coordinates location and other iOS metadata in MOV are not copied to
output MP4
+
 Reporter:  elmimmo |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  mov |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  0   |
+
Changes (by genuinefafa):

 * cc: genuinefafa@… (added)


Comment:

 I found that none of the Quicktime metadata is being copied either, losing
 GPS (and such) is not a good way to encode for archiving... :-/

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


Re: [FFmpeg-trac] #7311(avformat:new): wrong MOOV stsd

2018-07-09 Thread FFmpeg
#7311: wrong MOOV stsd
-+
 Reporter:  Mista_D  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  avformat
  Version:  unspecified  |   Resolution:
 Keywords:  moov |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by cehoyos):

 The issue you see is not reproducible with current FFmpeg git head?

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


Re: [FFmpeg-trac] #7311(avformat:new): wrong MOOV stsd

2018-07-09 Thread FFmpeg
#7311: wrong MOOV stsd
-+
 Reporter:  Mista_D  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:  avformat
  Version:  unspecified  |   Resolution:
 Keywords:  moov |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+

Comment (by Mista_D):

 Same problem detected with version 4.0.1

 FFmpeg401 -y -i test1.mpg -c copy -map a ac3.mp4

 ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers
   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)


   libavutil  56. 14.100 / 56. 14.100
   libavcodec 58. 18.100 / 58. 18.100
   libavformat58. 12.100 / 58. 12.100
   libavdevice58.  3.100 / 58.  3.100
   libavfilter 7. 16.100 /  7. 16.100
   libswscale  5.  1.100 /  5.  1.100
   libswresample   3.  1.100 /  3.  1.100
   libpostproc55.  1.100 / 55.  1.100
 Input #0, mpegts, from '2.ts':
   Duration: 00:01:40.02, start: 1.40, bitrate: 54349 kb/s
   Program 1
 Metadata:
   service_name: Service01
   service_provider: FFmpeg
 Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions,
 48700 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
 Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
 Hz, 5.1(side), fltp, 384 kb/s
 [mp4 @ 0x2f5b040] track 0: codec frame size is not set
 Output #0, mp4, to 'ac3.mp4':
   Metadata:
 encoder : Lavf58.12.100
 Stream #0:0(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
 fltp, 384 kb/s
 Stream mapping:
   Stream #0:1 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 size=4688kB time=00:01:39.96 bitrate= 384.2kbits/s speed= 222x
 video:0kB audio:4688kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.015208%

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


[FFmpeg-trac] #7311(avformat:new): wrong MOOV stsd

2018-07-09 Thread FFmpeg
#7311: wrong MOOV stsd
--+---
 Reporter:  Mista_D   | Type:  defect
   Status:  new   | Priority:  normal
Component:  avformat  |  Version:  unspecified
 Keywords:  moov  |   Blocked By:
 Blocking:|  Reproduced by developer:  0
Analyzed by developer:  0 |
--+---
 When extracting AC3 track and saving it to mp4, the wrong type of ac-3
 packet is included in MOOV.

 packet header in stsd in MOOV set to 'AC-3' instead of 'ac-3'


 Section 5.6.1.1.2 of
 http://uvcentral.com/sites/default/files/files/PublicSpecs/CFFMediaFormat-
 2_1.pdf

 ffmpeg -i test.mpg -map a -c copy ac3.mp4
 ac4.mp4 HEX offset 1227D-12280: "AC-3"


 ffmpeg -i test.mpg -map a -c copy ac3.ac3
 ffmpeg -i ac3.ac3 -c copy 2step.mp4
 2step.mp4 HEX offset 1227D-12280: "ac-3"


 How can ac-3 be set properly in MP4's MOOV packets when extracting AC3
 track from MPG to MP4 please?

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


Re: [FFmpeg-trac] #7196(ffplay:closed): ffplay crashes on seeking

2018-07-09 Thread FFmpeg
#7196: ffplay crashes on seeking
-+-
 Reporter:  aleks|Owner:
 Type:  defect   |   Status:  closed
 Priority:  normal   |Component:  ffplay
  Version:  git-master   |   Resolution:
 Keywords:   |  needs_more_info
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-
Changes (by cehoyos):

 * status:  reopened => closed
 * resolution:   => needs_more_info


Comment:

 Please reopen this ticket if you can provide more information.

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


[FFmpeg-trac] #7310(build system:new): configure broken with GNU sed version 4.1.5

2018-07-09 Thread FFmpeg
#7310: configure broken with GNU sed version 4.1.5
-+-
   Reporter:  cehoyos|  Owner:
   Type:  defect | Status:  new
   Priority:  normal |  Component:  build
Version:  git-   |  system
  master |   Keywords:  regression
 Blocked By: |   Blocking:
Reproduced by developer:  0  |  Analyzed by developer:  0
-+-
 Current FFmpeg fails to configure libavfilter with older GNU sed.

 {{{
 $ ./configure
 sed: invalid option -- 'E'
 Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

   -n, --quiet, --silent
  suppress automatic printing of pattern space
   -e script, --expression=script
  add the script to the commands to be executed
   -f script-file, --file=script-file
  add the contents of script-file to the commands to be
 executed
   --follow-symlinks
  follow symlinks when processing in place
   -i[SUFFIX], --in-place[=SUFFIX]
  edit files in place (makes backup if extension supplied)
   -l N, --line-length=N
  specify the desired line-wrap length for the `l' command
   --posix
  disable all GNU extensions.
   -r, --regexp-extended
  use extended regular expressions in the script.
   -s, --separate
  consider files as separate rather than as a single
 continuous
  long stream.
   -u, --unbuffered
  load minimal amounts of data from the input files and
 flush
  the output buffers more often
   --help display this help and exit
   --version  output version information and exit

 If no -e, --expression, -f, or --file option is given, then the first
 non-option argument is taken as the sed script to interpret.  All
 remaining arguments are names of input files; if no input files are
 specified, then the standard input is read.

 E-mail bug reports to: bonz...@gnu.org .
 Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
 install prefix/usr/local
 source path   .
 C compilergcc
 C library glibc
 ARCH  x86 (generic)
 big-endianno
 runtime cpu detection yes
 standalone assembly   yes
 x86 assembler nasm
 MMX enabled   yes
 MMXEXT enabledyes
 3DNow! enabledyes
 3DNow! extended enabled   yes
 SSE enabled   yes
 SSSE3 enabled yes
 AESNI enabled yes
 AVX enabled   yes
 AVX2 enabled  yes
 AVX-512 enabled   yes
 XOP enabled   yes
 FMA3 enabled  yes
 FMA4 enabled  yes
 i686 features enabled yes
 CMOV is fast  no
 EBX available yes
 EBP available yes
 debug symbols yes
 strip symbols yes
 optimize for size no
 optimizations yes
 staticyes
 sharedno
 postprocessing supportno
 network support   yes
 threading support pthreads
 safe bitstream reader yes
 texi2html enabled no
 perl enabled  yes
 pod2man enabled   yes
 makeinfo enabled  no
 makeinfo supports HTMLno

 External libraries:
 alsa   iconv  zlib
 bzlib  xlib

 External libraries providing hardware acceleration:
 xvmc

 Libraries:
 avcodecavformat   swresample
 avdevice   avutil swscale
 avfilter

 Programs:
 ffmpeg ffprobe

 Enabled decoders:
 aacatrac3peightsvx_fib
 aac_fixed  atrac3pal  escape124
 aac_latm   atrac9 escape130
 aasc   aura   evrc
 ac3aura2  exr
 ac3_fixed  avrn   ffv1
 adpcm_4xm  avrp   ffvhuff
 adpcm_adx  avsffwavesynth
 adpcm_afc  avui   fic
 adpcm_aica ayuv   fits
 adpcm_ct   bethsoftvidflac
 adpcm_dtk  bfiflashsv
 adpcm_ea   bink   flashsv2
 adpcm_ea_maxis_xa  binkaudio_dct  flic
 adpcm_ea_r1binkaudio_rdft flv
 adpcm_ea_r2bintext

Re: [FFmpeg-trac] #7309(avformat:open): FFmpeg failing to detect mp2 audio with stream identifier "AC-3" (was: FFmpeg failing to detect audio for a particular input stream)

2018-07-09 Thread FFmpeg
#7309: FFmpeg failing to detect mp2 audio with stream identifier "AC-3"
-+-
 Reporter:  barhom   |Owner:
 Type:  defect   |   Status:  open
 Priority:  minor|Component:  avformat
  Version:  git-master   |   Resolution:
 Keywords:  mpegts   |   Blocked By:
  regression |  Reproduced by developer:  1
 Blocking:   |
Analyzed by developer:  0|
-+-
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  undetermined => avformat
 * priority:  normal => minor
 * version:  unspecified => git-master
 * keywords:   => mpegts regression


Comment:

 For future tickets: Please remember to always test current FFmpeg git
 head.

 Can be considered a regression since
 4bec36f98c5150b09d45740f3e1c80526e85b676 related to ticket #4864 but the
 sample looks invalid with mp2 audio using `AC-3` as stream identifier.
 {{{
 $ ffmpeg -i input_cut.ts
 ffmpeg version N-91445-g6cc6b61 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 4.3 (SUSE Linux)
   configuration: --enable-gpl
   libavutil  56. 18.102 / 56. 18.102
   libavcodec 58. 21.104 / 58. 21.104
   libavformat58. 17.101 / 58. 17.101
   libavdevice58.  4.101 / 58.  4.101
   libavfilter 7. 25.100 /  7. 25.100
   libswscale  5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc55.  2.100 / 55.  2.100
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 0 referenced
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 0 referenced
 [h264 @ 0x9a9b780] decode_slice_header error
 [h264 @ 0x9a9b780] no frame!
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 0 referenced
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 0 referenced
 [h264 @ 0x9a9b780] decode_slice_header error
 [h264 @ 0x9a9b780] no frame!
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 0 referenced
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 0 referenced
 [h264 @ 0x9a9b780] decode_slice_header error
 [h264 @ 0x9a9b780] no frame!
 [h264 @ 0x9a9b780] sps_id 0 out of range
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 1 referenced
 [h264 @ 0x9a9b780] sps_id 0 out of range
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 1 referenced
 [h264 @ 0x9a9b780] decode_slice_header error
 [h264 @ 0x9a9b780] no frame!
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 1 referenced
 [h264 @ 0x9a9b780] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b780] non-existing PPS 1 referenced
 [h264 @ 0x9a9b780] decode_slice_header error
 [h264 @ 0x9a9b780] no frame!
 [mpegts @ 0x9a96200] PES packet size mismatch
 [ac3 @ 0x9a9a900] frame sync error
 [mpegts @ 0x9a96200] decoding for stream 0 failed
 [mpegts @ 0x9a96200] PES packet size mismatch
 [mpegts @ 0x9a96200] Could not find codec parameters for stream 0 (Audio:
 ac3 (AC-3 / 0x332D4341), 0 channels, fltp): unspecified sample rate
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from 'input_cut.ts':
   Duration: 00:00:04.45, start: 19690.439156, bitrate: 4601 kb/s
   Program 7
 Metadata:
   service_name: OMAN TV HD
   service_provider: ARABSAT
 Stream #0:0[0x6b8](ara): Audio: ac3 (AC-3 / 0x332D4341), 0 channels,
 fltp
 Stream #0:1[0x6e0]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25
 tbr, 90k tbn, 50 tbc
 At least one output file must be specified
 }}}
 {{{
 $ ffmpeg -acodec mp2 -i input_cut.ts
 ffmpeg version N-91445-g6cc6b61 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 4.3 (SUSE Linux)
   configuration: --enable-gpl
   libavutil  56. 18.102 / 56. 18.102
   libavcodec 58. 21.104 / 58. 21.104
   libavformat58. 17.101 / 58. 17.101
   libavdevice58.  4.101 / 58.  4.101
   libavfilter 7. 25.100 /  7. 25.100
   libswscale  5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc55.  2.100 / 55.  2.100
 [h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b700] non-existing PPS 0 referenced
 [h264 @ 0x9a9b700] SPS unavailable in decode_picture_timing
 [h264 @ 0x9a9b700] non-existing PPS 0 referenced
 [h264 @ 0x9a9b700] decode_slice_header error
 [h264 @ 0x9a9

Re: [FFmpeg-trac] #7282(undetermined:new): ffmpeg generates improper HE-AACv2 fMP4 files

2018-07-09 Thread FFmpeg
#7282: ffmpeg generates improper HE-AACv2 fMP4 files
-+-
 Reporter:  ronak2121|Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  git-master   |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ronak2121):

 Replying to [comment:8 cehoyos]:
 > Replying to [comment:7 ronak2121]:
 > > I can confirm the first issue (not having the correct
 defaultSampleDuration) is present. It looks like the codec issue isn't
 reproducible when you do a re-encode.
 > Sorry, I am not a native speaker: Could you explain again?
 > (To me these sentences sound like: ''The issue is reproducible. It is
 not reproducible.'')
 Hi, will you be able to fix this issue?

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


Re: [FFmpeg-trac] #7305(avformat:new): HLS: hls_init_time stopped working?

2018-07-09 Thread FFmpeg
#7305: HLS: hls_init_time stopped working?
+
 Reporter:  barhom  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+

Comment (by barhom):

 @stevenliu

 Your patch works as expected. I see now what the problem was.
 I believe this should be upstreamed.

 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] #7309(undetermined:new): FFmpeg failing to detect audio for a particular input stream

2018-07-09 Thread FFmpeg
#7309: FFmpeg failing to detect audio for a particular input stream
-+-
 Reporter:  barhom   |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 barhom):

 intput.ts can be downloaded from

 
https://drive.google.com/file/d/1ROvrN8TwuRyWO2ypMEgnhRkHCmwfW0Ya/view?usp=sharing

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


[FFmpeg-trac] #7309(undetermined:new): FFmpeg failing to detect audio for a particular input stream

2018-07-09 Thread FFmpeg
#7309: FFmpeg failing to detect audio for a particular input stream
-+-
 Reporter:  barhom   | Type:  defect
   Status:  new  | Priority:  normal
Component:   |  Version:
  undetermined   |  unspecified
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 Summary of the bug:

 Stream has audio+video tracks.
 When copying (-c copy) audio track is not being identified and therefore
 skipped in the output

 How to reproduce:
 ffmpeg -i input.ts -c copy -f mpegts output.ts

 Expected behavior:
 output.ts should have both an audio and a video stream. Currently it has
 only a video stream.

 This has been tested on ffmpeg master

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


[FFmpeg-trac] #7308(undetermined:new): Recording of dvb_teletext does not stop until subtitles are available

2018-07-09 Thread FFmpeg
#7308: Recording of dvb_teletext does not stop until subtitles are available
-+-
 Reporter:   | Type:  defect
  jakubvojacek   | Priority:  normal
   Status:  new  |  Version:
Component:   |  unspecified
  undetermined   |   Blocked By:
 Keywords:   |  Reproduced by developer:  0
 Blocking:   |
Analyzed by developer:  0|
-+-
 Summary of the bug: When using ffmpeg to transcode portion of live stream
 that includes dvb_teletext, the ffmpeg does not stop until there are some
 data in the dvb_teletext stream. The dvb_teletext stream contains subtitle
 only like 50% of time and until some subtitles are available, it will keep
 the ffmpeg running. Below is a simple sample ffmpeg command that should
 record 10 seconds of stream.
 How to reproduce:
 {{{
 time ffmpeg -y -txt_format text -txt_page 888 -i
 "udp://@239.100.200.2:1234?overrun_nonfatal=1&fifo_size=1000" -map 0
 -copyinkf -scodec mov_text -vcodec copy -acodec copy -t 10 -f mp4 test.mp4
 }}}
 The output of this command is
 {{{
 ffmpeg version 4.0-hd Copyright (c) 2000-2018 the FFmpeg developers
   built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
   configuration: --cpu=native --enable-pthreads --extra-version=hd
 --enable-vaapi --enable-vdpau --enable-nonfree --enable-gpl --enable-
 swscale --enable-libx264 --enable-version3 --enable-nvenc --enable-libnpp
 --enable-cuda --enable-cuvid --enable-cuda-sdk --enable-filter=scale_cuda
 --enable-filter=thumbnail_cuda --extra-
 cflags=-I/usr/local/cuda-9.1/include --extra-
 ldflags=-L/usr/local/cuda-9.1/lib64 --enable-libx264 --enable-libx265
 --enable-libxvid --enable-libass --enable-libwavpack --enable-libsoxr
 --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-
 libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-
 librtmp --enable-libnpp --enable-opengl --enable-version3 --enable-
 avresample --enable-avisynth --enable-openal --enable-opencl --enable-
 libzvbi --enable-iconv
   libavutil  56. 14.100 / 56. 14.100
   libavcodec 58. 18.100 / 58. 18.100
   libavformat58. 12.100 / 58. 12.100
   libavdevice58.  3.100 / 58.  3.100
   libavfilter 7. 16.100 /  7. 16.100
   libavresample   4.  0.  0 /  4.  0.  0
   libswscale  5.  1.100 /  5.  1.100
   libswresample   3.  1.100 /  3.  1.100
   libpostproc55.  1.100 / 55.  1.100

 Input #0, mpegts, from
 'udp://@239.100.200.2:1234?overrun_nonfatal=1&fifo_size=1000':
   Duration: N/A, start: 73177.274233, bitrate: N/A
   Program 1
 Metadata:
   service_name: Service01
   service_provider: FFmpeg
 Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p(progressive), 720x480 [SAR 40:33 DAR 20:11], 25 fps, 25 tbr, 90k
 tbn, 50 tbc
 Stream #0:1[0x101]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p(progressive), 720x480 [SAR 40:33 DAR 20:11], 25 fps, 25 tbr, 90k
 tbn, 50 tbc
 Stream #0:2[0x102](cze): Audio: aac (LC) ([15][0][0][0] / 0x000F),
 48000 Hz, stereo, fltp, 144 kb/s
 Stream #0:3[0x103](cze): Subtitle: dvb_teletext ([6][0][0][0] /
 0x0006), 492x250
 Output #0, mp4, to 'test.mp4':
   Metadata:
 encoder : Lavf58.12.100
 Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661),
 yuv420p(progressive), 720x480 [SAR 40:33 DAR 20:11], q=2-31, 25 fps, 25
 tbr, 90k tbn, 90k tbc
 Stream #0:1: Video: h264 (Main) (avc1 / 0x31637661),
 yuv420p(progressive), 720x480 [SAR 40:33 DAR 20:11], q=2-31, 25 fps, 25
 tbr, 90k tbn, 90k tbc
 Stream #0:2(cze): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 144 kb/s
 Stream #0:3(cze): Subtitle: mov_text (tx3g / 0x67337874), 492x250
 Metadata:
   encoder : Lavc58.18.100 mov_text
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
   Stream #0:2 -> #0:2 (copy)
   Stream #0:3 -> #0:3 (dvb_teletext (libzvbi_teletextdec) -> mov_text
 (native))
 Press [q] to stop, [?] for help
 frame=  250 fps=0.2 q=-1.0 Lq=-1.0 size=1820kB time=00:00:09.98
 bitrate=1493.7kbits/s speed=0.00774x
 video:1655kB audio:159kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.366925%
 Exiting normally, received signal 2.

 real21m34.743s
 user0m4.100s
 sys 0m3.020s
 }}}

 While I was trying to record just 10 seconds, it kept on recording and
 would have kept waiting until some subtitles would be available. I have
 waited 21 minutes until I canceled it manually. When there are subtitles
 available at the time of transcoding, it does end on time (specified by
 the -t parameter)

 I have tried to record the multicast using multicat into a file and
 process thi

Re: [FFmpeg-trac] #7305(avformat:new): HLS: hls_init_time stopped working?

2018-07-09 Thread FFmpeg
#7305: HLS: hls_init_time stopped working?
+
 Reporter:  barhom  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+
Changes (by cehoyos):

 * keywords:   => hls
 * version:  unspecified => git-master
 * component:  undetermined => avformat


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


Re: [FFmpeg-trac] #7305(undetermined:new): HLS: hls_init_time stopped working?

2018-07-09 Thread FFmpeg
#7305: HLS: hls_init_time stopped working?
-+-
 Reporter:  barhom   |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 stevenliu):

 Try this patch please:

 https://patchwork.ffmpeg.org/patch/9653/


 The patch can test passed here:


 {{{
 MacBook:xxx StevenLiu$ ./ffmpeg -f lavfi -i nullsrc=s=352x288 -vcodec
 libx264 -r:v 4 -g 8 -f hls -hls_init_time 4 -hls_time 8 -hls_list_size 10
 -hls_flags delete_segments+discont_start+program_date_time
 -hls_start_number_source 0 -t 70 out_playlist.m3u8
 ffmpeg version N-91445-g6cc6b619b9 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
   configuration: --enable-libass --enable-opengl --enable-libx264
 --enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local
 --enable-libopencv --enable-libtesseract --enable-libspeex --enable-
 libfreetype --enable-libfontconfig --enable-libfdk-aac --enable-
 videotoolbox
   libavutil  56. 18.102 / 56. 18.102
   libavcodec 58. 21.104 / 58. 21.104
   libavformat58. 17.101 / 58. 17.101
   libavdevice58.  4.101 / 58.  4.101
   libavfilter 7. 25.100 /  7. 25.100
   libswscale  5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc55.  2.100 / 55.  2.100
 Input #0, lavfi, from 'nullsrc=s=352x288':
   Duration: N/A, start: 0.00, bitrate: N/A
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288
 [SAR 1:1 DAR 11:9], 25 tbr, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 [libx264 @ 0x7f7fd7817e00] using SAR=1/1
 [libx264 @ 0x7f7fd7817e00] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
 [libx264 @ 0x7f7fd7817e00] profile High, level 1.2
 [libx264 @ 0x7f7fd7817e00] 264 - core 133 r2334M a3ac64b - H.264/MPEG-4
 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html -
 options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=8 keyint_min=1
 scenecut=40 intra_refresh=0 rc_lookahead=8 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist0.ts' for writing
 Output #0, hls, to 'out_playlist.m3u8':
   Metadata:
 encoder : Lavf58.17.101
 Stream #0:0: Video: h264 (libx264), yuv420p, 352x288 [SAR 1:1 DAR
 11:9], q=-1--1, 4 fps, 90k tbn, 4 tbc
 Metadata:
   encoder : Lavc58.21.104 libx264
 Side data:
   cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist1.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist2.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist3.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist4.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist5.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist6.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist7.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist8.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist9.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist10.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist11.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist12.ts' for writing
 [hls @ 0x7f7fd7816c00] Opening 'out_playlist.m3u8.tmp' for wri