Opened 6 years ago

Closed 6 years ago

#3316 closed defect (needs_more_info)

codec problem. how to solve?

Reported by: heklind Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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?

Change History (2)

comment:1 Changed 6 years ago by cehoyos

Please provide your failing command line together with the complete, uncut console output to make this a valid ticket.

comment:2 Changed 6 years ago by cehoyos

  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen this ticket if you can provide the missing information.

Note: See TracTickets for help on using tickets.