is it possible if one is NOT transcoding
but already has a file and just adds meta data


7    ::::::  WINNER  WINNER mediaInfo DINNER

ffmpeg -i input -c copy -map 0 -metadata creation_time="2013-07-24 10:13:48" output.mp4

ffmpeg -i  ~//Videos/ShupeJarArtVideo/sjp_0.mp4 \
 -c copy -map 0 -metadata creation_time="2010-11-22 11:22:33" \
 ~//Videos/ShupeJarArtVideo/sjp_7.mp4


 snip from media info shows we have
 SUCCEEDED

Overall bit rate                         : 1 286 Kbps
Movie name                               : Unknown
Encoded date                             : UTC 2010-11-22 11:22:33
Tagged date                              : UTC 2010-11-22 11:22:33
Writing application                      : Lavf56.7.101

So
What am i missing that will enable me to 'punch in' this meta data While transcoding
I would like to avoid a
having a mp4 -twice

what i really wish to do is
file.mov (dv50) into a mp4 that has a defined Encoded date
as i understand it now i would have to
file.mov (dv50) into a mp4-1 and do the codec copy with -map 0 -metadata creation_time making mp4-2
then dlt mp4-1


any wisdom is most welcomed
thanks in advance

best

shupe

-------:: full console

jshupert@shupeJar-bitlab:~$ ffmpeg -i ~//Videos/ShupeJarArtVideo/sjp_0.mp4 -c copy -map 0 -metadata creation_time="2010-11-22 11:22:33" ~//Videos/ShupeJarArtVideo/sjp_22.mp4
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 29 2014 00:22:22 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/home/jshupert/ffmpeg_build --extra-cflags=-I/home/jshupert/ffmpeg_build/include --extra-ldflags=-L/home/jshupert/ffmpeg_build/lib --bindir=/home/jshupert/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-libfreetype --enable-libfontconfig --enable-libfribidi --enable-x11grab
  libavutil      54.  7.101 / 54.  7.101
  libavcodec     56.  1.101 / 56.  1.101
  libavformat    56.  7.101 / 56.  7.101
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.102 /  5.  1.102
  libswscale      3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  1.100 / 53.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/jshupert//Videos/ShupeJarArtVideo/sjp_0.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Unknown
    encoder         : Lavf56.7.101
  Duration: 00:00:10.41, start: 0.021333, bitrate: 1288 kb/s
    Chapter #0.0: start 0.000000, end 10.388000
    Metadata:
      title           : Chapter 01
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1093 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
    Metadata:
      handler_name    : SubtitleHandler
Output #0, mp4, to '/home/jshupert//Videos/ShupeJarArtVideo/sjp_22.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Unknown
    creation_time   : 2010-11-22 11:22:33
    encoder         : Lavf56.7.101
    Chapter #0.0: start 0.021000, end 10.409000
    Metadata:
      title           : Chapter 01
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 1093 kb/s, 29.97 fps, 30k tbn, 30k tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 192 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Subtitle: mov_text ([8][0][0][0] / 0x0008), 0 kb/s
    Metadata:
      handler_name    : SubtitleHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame= 310 fps=0.0 q=-1.0 Lsize= 1638kB time=00:00:10.41 bitrate=1289.0kbits/s video:1381kB audio:244kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.785802%


_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to