Re: [FFmpeg-user] processing of mxf videoclips with ffmpeg

2014-07-14 Thread Pawel Por
 Please provide the (command line together with the)
 complete, uncut console output and the input sample.

Thanks for quick reply. Below is all the necessary information.

I've sent an example MXF flowers.mxf videoclip into my email account
ftp6...@gmail.com (password: ftp6565ftp). Feel free to login and download
it. There is only one email, with subject flowers.mxf videoclip (25 MB).

COMMAND LINE:
ffmpeg -i flowers.mxf -ss 0 -t 4 -c copy -y out.mxf

COMPLETE OUTPUT:
ffmpeg version 2.2.4 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul 10 2014 20:30:55 with gcc 4.9.0 (GCC) 20140604 (prerelease)
  configuration: --prefix=/usr --disable-debug --disable-static
--enable-avisynth --enable-avresample --enable-decoder=atrac3
--enable-decoder=atrac3p --enable-dxva2 --enable-fontconfig --enable-gnutls
--enable-gpl --enable-libass --enable-libbluray --enable-libfreetype
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-libxvid --enable-pic --enable-postproc
--enable-runtime-cpudetect --enable-shared --enable-swresample
--enable-vdpau --enable-version3 --enable-x11grab
  libavutil  52. 66.100 / 52. 66.100
  libavcodec 55. 52.102 / 55. 52.102
  libavformat55. 33.100 / 55. 33.100
  libavdevice55. 10.100 / 55. 10.100
  libavfilter 4.  2.100 /  4.  2.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale  2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mxf, from 'flowers.mxf':
  Metadata:
uid : bdf018f4-7dc1-405d-9cfc-66826c0d8209
generation_uid  : 3d024e50-1514-4c75-9c47-03a87a7c139a
company_name: Sony
product_name: util
product_version : 1.00
product_uid : cede4403-8280-11de-8a39-08004678031c
modification_date: 2014-07-06 04:36:48
timecode: 16:24:15:03
  Duration: 00:00:05.32, start: 0.00, bitrate: 38949 kb/s
Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, bt709), 1920x1080
[SAR 1:1 DAR 16:9], max. 35000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Stream #0:2: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Stream #0:3: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Stream #0:4: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Output #0, mxf, to 'out.mxf':
  Metadata:
uid : bdf018f4-7dc1-405d-9cfc-66826c0d8209
generation_uid  : 3d024e50-1514-4c75-9c47-03a87a7c139a
company_name: Sony
product_name: util
product_version : 1.00
product_uid : cede4403-8280-11de-8a39-08004678031c
modification_date: 2014-07-06 04:36:48
timecode: 16:24:15:03
encoder : Lavf55.33.100
Stream #0:0: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, max. 35000 kb/s, 25 fps, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, 768 kb/s
Stream mapping:
  Stream #0:0 - #0:0 (copy)
  Stream #0:1 - #0:1 (copy)
Press [q] to stop, [?] for help
[mxf @ 0x2374f00] missing frames
frame=   89 fps=0.0 q=-1.0 Lsize=   15653kB time=00:00:04.00
bitrate=32056.4kbits/s
video:15217kB audio:375kB subtitle:0 data:0 global headers:0kB muxing
overhead 0.390030%
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] copy input i-frames structure to output

2014-07-14 Thread Claudiu Rad-Lohanel

hello,

i need to do transcoding of an mp4 video and i want to keep the i-frame 
structure the same as in the original video.
i've searched info on this but couldn't find out if it is even possible 
with ffmpeg although my wild guess is that it should be.


furthermore, to complicate things, ffmpeg should be just a simple box in 
a processing chain and pre-scanning the input is not acceptable.
basically, i would like to somehow tell ffmpeg during encoding that for 
each video frame that it encodes, first check if it was a keyframe in 
the original video. if yes, make it also in the output, if no, don't do it.


any ideas?

thanks!

--
jazzman

attachment: jazzman.vcf___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user