[FFmpeg-trac] #3316(undetermined:new): codec problem. how to solve?

FFmpeg trac at avcodec.org
Sat Jan 18 03:40:21 CET 2014


#3316: codec problem. how to solve?
-------------------------------------+-------------------------------------
             Reporter:  heklind      |                     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:
 im trying to restream

 ffmpeg -i http://188.226.118.24:81/udp/239.255.2.144:1234 -acodec aac
 -strict -2 -vcodec copy -f flv
 rtmp://distro.hqstream.tv/hqstream?doPublish=NankfZKy/hek2

 ffmpeg version N-59895-gfe9f575 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jan 16 2014 05:35:41 with gcc 4.6 (Debian 4.6.3-1)

 i get error:

 [flv @ 0x296e6a0] Tag [2][0][0][0]/0x00000002 incompatible with output
 codec id '2' ([0][0][0][0])

 so finally:

 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:3 -> #0:1 (mp2 -> aac)
 Could not write header for output file #0 (incorrect codec parameters ?):
 Invalid data found when processing input


 the point is i need to keep vcodec unchanged = -vcodec copy must stay, how
 to solve this?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3316>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list