[FFmpeg-trac] #4797(avformat:open): Trying to save m3u8 as mp4 giving "could not find corresponding trex" error.

FFmpeg trac at avcodec.org
Mon Sep 7 14:15:30 CEST 2015


#4797: Trying to save m3u8 as mp4 giving "could not find corresponding trex"
error.
-------------------------------------+-------------------------------------
             Reporter:  Jonzo        |                    Owner:  anssi
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls          |               Blocked By:
  regression debian                  |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  hls regression => hls regression debian


Comment:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798189 seems to describe
 the same issue, at least it is also a regression since da7759b3.
 I attached the file CNN.m3u that allows to test the issue, reproducible
 both with and without {{{--enable-librtmp}}}.
 {{{
 $ ffmpeg -loglevel 99 -i CNN.m3u
 ffmpeg version N-75008-g1964aea Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55.  0.100 / 55.  0.100
   libavcodec     57.  0.100 / 57.  0.100
   libavformat    57.  0.100 / 57.  0.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6.  0.100 /  6.  0.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-i' ... matched as input file with argument 'CNN.m3u'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument 99.
 Successfully parsed a group of options.
 Parsing a group of options: input file CNN.m3u.
 Successfully parsed a group of options.
 Opening an input file: CNN.m3u.
 Probing hls,applehttp score:100 size:180
 [hls,applehttp @ 0x2fb32a0] Format hls,applehttp probed with size=2048 and
 score=100
 [hls,applehttp @ 0x2fb32a0] HLS request for url
 'rtmp://b.cdn.newschat.tv/edge/cnn_live
 swfUrl=http://newschat.tv/player.swf
 pageUrl=http://www.livenewschat.eu/top/', offset 0, playlist 0
 [rtmp @ 0x2fb74e0] Detected librtmp style URL parameters, these aren't
 supported by the libavformat internal RTMP handler currently enabled. See
 the documentation for the correct way to pass parameters.
 [rtmp @ 0x2fb74e0] Handshaking...
 [rtmp @ 0x2fb74e0] Type answer 3
 [rtmp @ 0x2fb74e0] Server version 13.14.10.13
 [rtmp @ 0x2fb74e0] Proto = rtmp, path = /edge/cnn_live, app = edge, fname
 = cnn_live
 [rtmp @ 0x2fb74e0] Server bandwidth = 5000000
 [rtmp @ 0x2fb74e0] Client bandwidth = 5000000
 [rtmp @ 0x2fb74e0] New incoming chunk size = 16384
 [rtmp @ 0x2fb74e0] Creating stream...
 [rtmp @ 0x2fb74e0] Sending play command for 'cnn_live'
 [hls,applehttp @ 0x2fb32a0] Unable to seek to offset 0 of HLS segment
 'rtmp://b.cdn.newschat.tv/edge/cnn_live
 swfUrl=http://newschat.tv/player.swf
 pageUrl=http://www.livenewschat.eu/top/'
 [rtmp @ 0x2fb74e0] Deleting stream...
 [hls,applehttp @ 0x2fb32a0] Failed to open segment of playlist 0
 [hls,applehttp @ 0x2fb32a0] Error when loading first segment
 'rtmp://b.cdn.newschat.tv/edge/cnn_live
 swfUrl=http://newschat.tv/player.swf
 pageUrl=http://www.livenewschat.eu/top/'
 [AVIOContext @ 0x2fbbe20] Statistics: 180 bytes read, 0 seeks
 CNN.m3u: Invalid data found when processing input
 }}}

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


More information about the FFmpeg-trac mailing list