Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-11 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by MusashiSakamoto):

 Yes, they are.

 This is the url of the input fiile.
 [[https://www.google.com/url?q=http://to-ffmpeg-team.s3-website-ap-
 
northeast-1.amazonaws.com/concat.mkv=D=hangouts=1520910055999000
 =AFQjCNGeX-WY-rTt_IlzbA3JiKcmrWttEg]]

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


Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-11 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by MusashiSakamoto):

 Yes, they are.

 This is the input file.
 [[https://www.google.com/url?q=http://to-ffmpeg-team.s3-website-ap-
 
northeast-1.amazonaws.com/concat.mkv=D=hangouts=1520910055999000
 =AFQjCNGeX-WY-rTt_IlzbA3JiKcmrWttEg]]

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


Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-09 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 Replying to [comment:6 MusashiSakamoto]:

 > We tried feeding the complete file to FFmpeg the way you said.
 > But it didn't succeed.
 >
 > Here is the command:
 >
 > {{{
 > ffmpeg -i ./test.mkv \
 > -c:v libx264 -r 10 -g 30 \
 > -f segment -segment_format mpegts -segment_time 3 \
 > -segment_list ./ts/list.m3u8 \
 > -segment_list_type hls -segment_list_flags +live \
 > -segment_list_size 20 \
 > ./ts/out%03d.ts
 > }}}
 >
 >
 > Here is the output log:
 >
 > {{{
 > [segment @ 0x558a8db29380] Opening './ts/list.m3u8.tmp' for writing
 > [segment @ 0x558a8db29380] Opening './ts/out524.ts' for writing
 > [segment @ 0x558a8db29380] Opening './ts/list.m3u8.tmp' for writingp=0
 drop=227018 speed=6.15x
 > frame=15738 fps= 61 q=17.0 Lsize=N/A time=00:26:13.70 bitrate=N/A dup=0
 drop=227382 speed=6.14x
 > video:359257kB audio:0kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: unknown
 > }}}
 These are the only lines show on the console?

 Please provide the input file.

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


Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-09 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by MusashiSakamoto):

 Thanks for the reply.

 We tried feeding the complete file to FFmpeg the way you said.
 But it didn't succeed.

 Here is the output log:

 {{{
 [segment @ 0x558a8db29380] Opening './ts/list.m3u8.tmp' for writing
 [segment @ 0x558a8db29380] Opening './ts/out524.ts' for writing
 [segment @ 0x558a8db29380] Opening './ts/list.m3u8.tmp' for writingp=0
 drop=227018 speed=6.15x
 frame=15738 fps= 61 q=17.0 Lsize=N/A time=00:26:13.70 bitrate=N/A dup=0
 drop=227382 speed=6.14x
 video:359257kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}

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


Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-08 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 Replying to [comment:4 MusashiSakamoto]:
 > Replying to [comment:3 cehoyos]:
 > > How was the input file created?
 > 1. Receiving video stream from /dev/video0
 > 2. Processing the video stream by opencv

 Does it work if you skip this step?
 Does it work if you first produce a file (longer than 30 minutes), stop
 the recording and feed the complete file to FFmpeg?

 I wonder if mkv is really a useful streaming format...

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


Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-08 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by MusashiSakamoto):

 Replying to [comment:3 cehoyos]:
 > How was the input file created?
 1. Receiving video stream from /dev/video0
 2. Processing the video stream by opencv
 3. Segmenting it by ffmpeg

 > Please test current FFmpeg git head.
 OK, I'll try and let you know the result.

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


Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-08 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 How was the input file created?

 Please test 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] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-07 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-

Comment (by MusashiSakamoto):

 The failing command is:

 {{{
 sudo ffmpeg -i named_pipe.mkv \
 -c:v libx264 -r 10 -g 30 -map 0  \
 -qmin 18 -qmax 30 \
 -f segment -segment_format mpegts -segment_time 3 \
 -segment_list list.m3u8 \
 -segment_list_type hls\
 -segment_list_size 20 -strftime 1 \
 %Y-%m-%d_%Hh%Mm%Ss.ts
 }}}

 Console with this commands reads(Sorry I had to cut the log. It was too
 long and did not meet the requirements of the length.) :
 {{{
 ffmpeg started on 2018-03-06 at 15:55:22
 Report written to "ffmpeg-20180306-155522.log"
 Command line:
 ffmpeg -i /home/ubuntu/uedaWorkspace/input.mkv -report -v 9 -loglevel 99
 -c:v nvenc_h264 -r 10 -g 30 -map 0 -rc constqp -qmin 20 -qmax 26 -s
 1280x720 -aspect 16:9 -f segment -segment_format mpegts -segment_time 3
 -segment_list /var/www/html/hls/list.m3u8 -segment_list_type hls
 -segment_list_flags +live -segment_list_size 20 -strftime 1
 "/var/www/html/hls/%Y-%m-%d_%Hh%Mm%Ss.ts"
 ffmpeg version 3.4.1-1~16.04.york0 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
   configuration: --prefix=/usr --extra-version='1~16.04.york0'
 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
 --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
 --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
 --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
 --enable-libcdio --enable-libflite --enable-libfontconfig --enable-
 libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-
 libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
 --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg
 --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
 --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-
 libdc1394 --enable-libdrm --enable-libiec61883 --enable-  libavutil
 55. 78.100 / 55. 78.100
   libavcodec 57.107.100 / 57.107.100
   libavformat57. 83.100 / 57. 83.100
   libavdevice57. 10.100 / 57. 10.100
   libavfilter 6.107.100 /  6.107.100
   libavresample   3.  7.  0 /  3.  7.  0
   libswscale  4.  8.100 /  4.  8.100
   libswresample   2.  9.100 /  2.  9.100
   libpostproc54.  7.100 / 54.  7.100
 Splitting the commandline.
 Reading option '-i' ... matched as input url with argument
 '/home/ubuntu/uedaWorkspace/input.mkv'.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 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 '-c:v' ... matched as option 'c' (codec name) with argument
 'nvenc_h264'.
 Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
 fraction or abbreviation)) with argument '10'.
 Reading option '-g' ... matched as AVOption 'g' with argument '30'.
 Reading option '-map' ... matched as option 'map' (set input stream
 mapping) with argument '0'.
 Reading option '-rc' ... matched as AVOption 'rc' with argument 'constqp'.
 Reading option '-qmin' ... matched as AVOption 'qmin' with argument '20'.
 Reading option '-qmax' ... matched as AVOption 'qmax' with argument '26'.
 Reading option '-s' ... matched as option 's' (set frame size (WxH or
 abbreviation)) with argument '1280x720'.
 Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio
 (4:3, 16:9 or 1., 1.)) with argument '16:9'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'segment'.
 Reading option '-segment_format' ... matched as AVOption 'segment_format'
 with argument 'mpegts'.
 Reading option '-segment_time' ... matched as AVOption 'segment_time' with
 argument '3'.
 Reading option '-segment_list' ... matched as AVOption 'segment_list' with
 argument '/var/www/html/hls/list.m3u8'.
 Reading option '-segment_list_type' ... matched as AVOption
 'segment_list_type' with argument 'hls'.
 Reading option 

Re: [FFmpeg-trac] #7067(undetermined:new): ffmpeg -f segment fails after 30 minutes

2018-03-07 Thread FFmpeg
#7067: ffmpeg -f segment fails after 30 minutes
-+-
 Reporter:   |Owner:
  MusashiSakamoto|   Status:  new
 Type:  defect   |Component:
 Priority:  normal   |  undetermined
  Version:  git-master   |   Resolution:
 Keywords:  segment  |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
Changes (by cehoyos):

 * priority:  critical => normal


Comment:

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

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