[FFmpeg-trac] #6218(undetermined:new): FFMpeg RTSP to .m3u8 conversion

FFmpeg trac at avcodec.org
Mon Mar 6 08:08:45 EET 2017


#6218: FFMpeg RTSP to .m3u8 conversion
-------------------------------------+-------------------------------------
             Reporter:  ankit.gupta  |                    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 ankit.gupta):

 this command failed with below console output

 C:\Users\sunil\Downloads\ffmpeg-3.2.2-win64-static -
 Copy\ffmpeg-3.2.2-win64-sta
 tic\bin>ffmpeg -rtsp_transport tcp -i rtsp://root:kastle@192.168.17.153
 /axis-med
 ia/media.amp -vcodec copy -hls_time 4 -hls_list_size 2 -hls_wrap 2
 -start_number
  1 -y Z:/playlist.m3u8
 ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-
 libmfx -
 -enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig
 --enable-frei
 0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-li
 bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-
 libgsm --en
 able-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-
 amrnb
 --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
 --enable-li
 bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-
 libspeex --e
 nable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
 amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
 --enable
 -libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
 libzimg --e
 nable-lzma --enable-decklink --enable-zlib
   libavutil      55. 34.100 / 55. 34.100
   libavcodec     57. 64.101 / 57. 64.101
   libavformat    57. 56.100 / 57. 56.100
   libavdevice    57.  1.100 / 57.  1.100
   libavfilter     6. 65.100 /  6. 65.100
   libswscale      4.  2.100 /  4.  2.100
   libswresample   2.  3.100 /  2.  3.100
   libpostproc    54.  1.100 / 54.  1.100
 Input #0, rtsp, from 'rtsp://root:kastle@192.168.17.153/axis-
 media/media.amp':
   Metadata:
     title           : Session streamed with GStreamer
     comment         : rtsp-server
   Duration: N/A, start: 0.033389, bitrate: N/A
     Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive),
 1024x576
 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc
 Output #0, hls, to 'Z:/playlist.m3u8':
   Metadata:
     title           : Session streamed with GStreamer
     comment         : rtsp-server
     encoder         : Lavf57.56.100
     Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive),
 1024x576
 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [hls @ 00000000002fd7c0] Timestamps are unset in a packet for stream 0.
 This is
 deprecated and will stop working in the future. Fix your code to set the
 timesta
 mps properly
 [mpegts @ 00000000002fc780] Timestamps are unset in a packet for stream 0.
 This
 is deprecated and will stop working in the future. Fix your code to set
 the time
 stamps properly
 [mpegts @ 00000000002fc780] first pts value must be set
 av_interleaved_write_frame(): Invalid data found when processing input
 frame=    1 fps=0.0 q=-1.0 Lsize=N/A time=-00:00:00.03 bitrate=N/A
 speed=N/A

 video:59kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing ov
 erhead: unknown
 Conversion failed!

 C:\Users\sunil\Downloads\ffmpeg-3.2.2-win64-static -
 Copy\ffmpeg-3.2.2-win64-sta
 tic\bin>

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


More information about the FFmpeg-trac mailing list