[FFmpeg-user] Passing metadata from flv ?
Orlando Rivera
oriv at timeview.com
Wed Feb 27 17:05:53 CET 2013
On Feb 22, 2013, at 11:53 AM, Orlando Rivera <oriv at timeview.com> wrote:
>
> On Feb 20, 2013, at 3:39 PM, Orlando Rivera <oriv at timeview.com> wrote:
>
>> Sorry, have not used a mailing list in a long time - should my reply be below below the body of original email text?
>> If I read the input from FMS into my own player I can see metadata coming thru . I need to try and save live stream and see if that matters?
>>
>> On Feb 20, 2013, at 3:23 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>>
>>> Orlando Rivera <oriv <at> timeview.com> writes:
>>>
>>>> Input #0, flv, from
>>> 'rtmp://192.168.20.17/stream_relay/iosstream1361390373734.sdpX':
>>>> Duration: N/A, start: 0.000000, bitrate: N/A
>>>> Stream #0:0: Video: flv1, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc
>>>> Stream #0:1: Audio: nellymoser, 22050 Hz, mono, flt
>>>
>>> This indicates FFmpeg does not see any metadata
>>> in the stream, does this also happen if you feed
>>> the file directly to ffmpeg?
>>>
>>> Please do not top-post here, Carl Eugen
>>>
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
> I tried with a flv that was recorded but it seems not to have metedata in it. I need to go back and get this right. I know the sever side injection to live works since I can read it with my player. Recording metadata has its own issues - Will try and get back to you next week with more data - I guess the ffmpeg line I am using should see any metadata coming in - right? Thanks
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
I got a fly with custom metadata that I can play back in simple flash player and I can see my embedded data. When I try and make a copy via ffmpeg (to fix an error) I lose the metadata. The following is my ffmpeg command line - What am I doing wrong?
nycicjrulev02:~ oriv$ /usr/local/bin/ffmpeg -f flv -i meta09.flv -map_metadata 0 -c copy metafix09x.flv
ffmpeg version 1.1.1-tessus Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 20 2013 23:17:33 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --disable-ffserver --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[flv @ 0x102006a00] Stream discovered after head already parsed
Input #0, flv, from 'meta09.flv':
Metadata:
canSeekToEnd : true
createdby : FMS 3.5
creationdate : Wed Feb 27 10:12:35 2013
Duration: 00:00:32.03, start: 2.000000, bitrate: 529 kb/s
Stream #0:0: Video: vp6f, yuv420p, 320x240, 15.17 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: nellymoser, 44100 Hz, mono, flt
Stream #0:2: Data: none
Output #0, flv, to 'metafix09x.flv':
Metadata:
canSeekToEnd : true
createdby : FMS 3.5
creationdate : Wed Feb 27 10:12:35 2013
encoder : Lavf54.59.106
Stream #0:0: Video: vp6f ([4][0][0][0] / 0x0004), yuv420p, 320x240, q=2-31, 1k tbn, 1k tbc
Stream #0:1: Audio: nellymoser ([6][0][0][0] / 0x0006), 44100 Hz, mono
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 441 fps=0.0 q=-1.0 Lsize= 2068kB time=00:00:30.04 bitrate= 564.0kbits/s
video:1717kB audio:323kB subtitle:0 global headers:0kB muxing overhead 1.375347%
Thanks
More information about the ffmpeg-user
mailing list