Changes between Initial Version and Version 1 of Ticket #2296


Ignore:
Timestamp:
Feb 23, 2013, 1:10:17 AM (3 years ago)
Author:
cehoyos
Comment:

Duplicate of ticket #2230 Patch on mailing list: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/159604

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2296

    • Property Status changed from new to closed
    • Property Component changed from FFmpeg to avformat
    • Property Version changed from 1.1.2 to git-master
    • Property Keywords metadata segment added; libavformat segments removed
    • Property Resolution changed from to duplicate
  • Ticket #2296 – Description

    initial v1  
    11I'm trying to set mpegts metadata on segments produced by hls muxer, but they won't get the metadata. 
    22 
    3  
     3The following command can reproduce the problem: 
    44{{{ 
    5 #!div style="font-size: 80%" 
    6 The following command can reproduce the problem: 
    7   {{{#!sh 
    85bin/ffmpeg -v 99 -i ~/Videos/trailer_iphone.m4v -acodec copy -vcodec copy -vbsf h264_mp4toannexb -metadata service_provider="myProvider" -metadata service_name="myService" -f hls -y /tmp/out.m3u8  
    9   }}} 
    106}}} 
    11  
    12  
     7The output of the above is the following: 
    138{{{ 
    14 #!div style="font-size: 80%" 
    15 The output of the above is the following: 
    16   {{{#!sh 
    179ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers 
    1810  built on Feb 22 2013 07:04:25 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1) 
     
    10294video:3270kB audio:514kB subtitle:0 global headers:0kB muxing overhead -100.000568% 
    10395[AVIOContext @ 0x856f5e0] Statistics: 3889885 bytes read, 0 seeks 
    104   }}} 
    10596}}} 
    10697 
     98Inspecting the output with ffprobe 
    10799{{{ 
    108 #!div style="font-size: 80%" 
    109 Inspecting the output with ffprobe 
    110   {{{#!sh 
    111100 bin/ffprobe -v 99  /tmp/out1.ts  
    112   }}} 
    113101}}} 
    114  
    115  
     102The probe result 
    116103{{{ 
    117 #!div style="font-size: 80%" 
    118 The probe result 
    119   {{{#!sh 
    120104ffprobe version 1.1.2 Copyright (c) 2007-2013 the FFmpeg developers 
    121105  built on Feb 22 2013 07:04:25 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1) 
     
    145129[h264 @ 0x869ed80] detected 4 logical cores 
    146130[AVIOContext @ 0x86a34a0] Statistics: 756284 bytes read, 2 seeks 
    147   }}} 
    148131}}} 
    149  
    150132As it seems from the above outputs, the mpegts segments haven't got the metadata.  
    151133