Re: [FFmpeg-user] Fwd: Not able to extract the metadata
Hi Francois , Thanks for your explanation!! Indeed its helpful. Regards, Seema. ------- Original Message ------- Sender : Francois Visagie<francois.visagie@gmail.com> Date : Mar 15, 2014 20:04 (GMT+09:00) Title : Re: [FFmpeg-user] Fwd: Not able to extract the metadata
-----Original Message----- From: ffmpeg-user-bounces@ffmpeg.org [mailto:ffmpeg-user- bounces@ffmpeg.org] On Behalf Of Seema Singh Sent: 14 March 2014 07:26 To: ffmpeg-user@ffmpeg.org Subject: [FFmpeg-user] Fwd: Not able to extract the metadata
Hi All,
Any help/input for below problem??
Regards, Seema.
------- Original Message ------- Sender : Seema Singh<seema.singh@samsung.com> Lead Engineer/SRI- Bangalore-TZN/Samsung Electronics Date : Mar 12, 2014 14:58 (GMT+09:00) Title : Not able to extract the metadata
Hi All,
I am new to ffmpeg , started off with very basics things . Like check the Metadata of a video file. But facing the below error .
Command used :
fmpeg -i ../TestFiles/Mimic__H264_15fps_D1.MP4 -f ffmetadata metadata.txt
Command output: __________________________________________________________ _________________ ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers built on Mar 5 2014 12:38:54 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --prefix=/home/seema.s/ffmpeg_build --extra-cflags=- I/home/seema.s/ffmpeg_build/include --extra-ldflags=- L/home/seema.s/ffmpeg_build/lib --bindir=/home/seema.s/bin --extra- libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx -- enable-libx264 --enable-nonfree --enable-x11grab libavutil 52. 66.101 / 52. 66.101 libavcodec 55. 52.102 / 55. 52.102 libavformat 55. 33.101 / 55. 33.101 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 2.100 / 4. 2.100 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../TestFiles/Mimic__H264_15fps_D1.MP4': Metadata: major_brand : mp42 minor_version : 1 compatible_brands: isomiso2avc1mp41mp423gp5 creation_time : 2010-04-28 10:39:08 title : Mimic_mp4-92_amr-12.3gp.MP4.MP4 artist : created with SUPER(C).v2010.bld.37 encoder : eRightSoft comment : 16:09:25 Duration: 00:00:40.07, start: 0.000000, bitrate: 1249 kb/s Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 1248 kb/s, 15 fps, 15 tbr, 15 tbn, 30 tbc (default) Metadata: creation_time : 2010-04-28 10:39:08 handler_name : VideoHandler Stream #0:1(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default) Metadata: creation_time : 2010-04-27 10:39:21 handler_name : GPAC MPEG-4 OD Handler Stream #0:2(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default) Metadata: creation_time : 2010-04-27 10:39:21 handler_name : GPAC MPEG-4 BIFS Handler File 'metadata.txt' already exists. Overwrite ? [y/N] y Output #0, ffmetadata, to 'metadata.txt': Metadata: major_brand : mp42 minor_version : 1 compatible_brands: isomiso2avc1mp41mp423gp5 comment : 16:09:25 title : Mimic_mp4-92_amr-12.3gp.MP4.MP4 artist : created with SUPER(C).v2010.bld.37 Stream mapping: Press [q] to stop, [?] for help size= 0kB time=-577014:-32:-22.-77 bitrate=N/A video:0kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.000000% Output file is empty, nothing was encoded (check -ss / -t / - frames parameters if used) __________________________________________________________ ___________________________________
Have I missed something here? Please let me know.
As mentioned in previous replies, ffmpeg's output file is only used for AV content, not for metadata. Metadata is written to the console as you can see in your output above. If you want that in a file, use output redirection. The "error message" at the end that seems to bother you is caused by the fact that your command line specifies no AV encoding to occur. This means ffmpeg never needed to write to the (AV, remember) output file. Hope this helps.
Regards, Seema.<p> </p><p> </p> _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user <p> </p><p> </p>
participants (1)
-
Seema Singh