Opened 5 years ago

Closed 5 years ago

#1256 closed defect (needs_more_info)

FLV encoding, GOP parameter

Reported by: nealt Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg version N-40126-ga4b58fd

next command arguments produces flash video without specified gop (10 frames):
ffmpeg.exe -i tower.avi -vcodec libx264 -g 10 -s 800x600 -acodec libmp3lame -ab 128k -y output.flv

mediainfo:
Video
ID : 1
Format : AVC
Format/Info? : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames? : 4 frames
Format settings, GOP : M=4, N=10
Codec ID : avc1
Codec ID/Info : Advanced Video Coding

but next arguments works properly (gop = 10):
ffmpeg.exe -i input.avi -vcodec libx264 -g 10 -s 800x600 -acodec libmp3lame -ab 128k -y output.mp4

mediainfo:
Video
Format : AVC
Format/Info? : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames? : 4 frames
Codec ID : 7

If you make remultiplexing of output.mp4 to flv it keeps GOP value.
Why same settings for the video codec makes so different output files?

Change History (1)

comment:1 Changed 5 years ago by michael

  • Priority changed from important to normal
  • Resolution set to needs_more_info
  • Status changed from new to closed

neither mp4 nor flv output shows a GOP setting with mediainfo (v0.7.52) here. Also for the bug to be in ffmpeg there has to be a problem in the output generated by ffmpeg. Please explain what kind of problem there is in the output (preferably without referring to media info to ensure we are not just looking at limitations of media info)

Note: See TracTickets for help on using tickets.