Recherche avancée
Médias (1)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Sur d’autres sites (114)
-
mplayer generating online three thumbnail of video
5 mai 2013, par soacI am trying to create thumbnail of video using mplayer but it is only creating 3 thumbnail of video and then repeating the last thumbnail again and again.
MPlayer command 1 :
mplayer video/1.mp4 -sstep 5 -endpos 25 -nosound -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath 2>log.txt
Problem : It create 3 different image and then repeat last image again and again.
MPlayer command 2 :
mplayer video/1.mp4 -sstep 5 -endpos 25 -nosound -frames 5 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath 2>log.txt
Problem : It create 3 different image and then repeat last image 2 times, If I change -frames to 10 than it repeat last image 7 times.
MPlayer command 3 :
mplayer video/1.mp4 -ss 5 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 10 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 15 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 20 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / video/1.mp4 -ss 15 -nosound -frames 1 -vf scale=96:64 -vo jpeg:quality=80:outdir=$tmpPath / 2>log.txt
Problem : Same problem as above described. 3 thumbnail difference and other are same. Duration of video is 27 seconds. I run this command on mplayer and mplayer2 but same result. MPlayer Binary are taken from http://sourceforge.net/projects/smplayer/files/
I want MPlayer to capture thumbnail after every X seconds using MPlayer not FFMPEG. I am already using FFMPEG for creating thumbnail and it is working fine. My Operating System is Windows 7. Log File
MPlayer Redxii-SVN-r36237-4.6.3 (C) 2000-2013 MPlayer Team Custom build by Redxii, http://smplayer.sourceforge.net Compiled against FFmpeg version N-52748-g1ef82cc Build date : Sun May 5 03:45:49 EDT 2013 getch2 : 6 can't get number of input events [disabling console input] Playing D :/wamp/www/videoconverter/content/original/3.mp4. libavformat version 55.4.101 (internal) libavformat file format detected. [lavf] stream 0 : video (h264), -vid 0 [lavf] stream 1 : audio (aac), -aid 0, -alang und VIDEO : [H264] 960x540 24bpp 25.000 fps 2087.1 kbps (254.8 kbyte/s) Clip info : major_brand : isom minor_version : 512 compatible_brands : isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf52.77.0 comment : www.freemake.com Load subtitles in D :/wamp/www/videoconverter/content/original/ jpeg : Progressive JPEG disabled. jpeg : Baseline JPEG enabled. Opening video filter : [scale w=96 h=64] ========================================================================== Opening video decoder : [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 55.7.100 (internal) Selected video codec : [ffh264] vfm : ffmpeg (FFmpeg H.264) ========================================================================== Audio : no sound Starting playback... Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. [swscaler @ 01400520]BICUBIC scaler, from yuv420p to rgb24 using MMXEXT VO : [jpeg] 96x64 => 113x64 RGB 24-bit jpeg : content/tmp/sprites/HxHtQGKbsV - Output directory already exists and is writable. Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO : [jpeg] 96x64 => 113x64 RGB 24-bit jpeg : content/tmp/sprites/HxHtQGKbsV - Output directory already exists and is writable. V : 0.0 0/ 0 ??% ??% ??, ?% 0 0 V : 5.8 0/ 0 ??% ??% ??, ?% 0 0 V : 10.6 0/ 0 ??% ??% ??, ?% 0 0 V : 18.5 0/ 0 ??% ??% ??, ?% 0 0 V : 25.6 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 V : 35.8 0/ 0 ??% ??% ??, ?% 0 0 Exiting... (End of file)
-
Encode video of powerpoint presentation for HTML5 playback
17 avril 2013, par user2291446We have a number of powerpoint presentations that have been converted to 16:9
aspect ratio and then converted into mp4 "master videos" with an "apple TV" 720p
profile. These powerpoint presentations are voice annotated. So in essence, we
show a slide and then let the annotation sound play for a while, then go to the
next slide, and so on. The resulting mp4 master video is somewhere around 900MB
on average.Here is an example of the master video
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4' : Metadata : major_brand : isom minor_version : 512 compatible_brands : isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf52.104.0 Duration : 02:00:57.65, start : 0.000000, bitrate : 970 kb/s Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 836 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc Metadata : creation_time : 1970-01-01 00:00:00 handler_name : VideoHandler Stream #0:1(und) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s Metadata : creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler
We are trying to get these presentations to play on the web on as many
devices/browsers as possible including some that don't do HTML5 (IE7/IE8). We
have narrowed down our player of choice which is mediaElement and have extracted
some "cue points" from the powerpoint presentation that mark where the slides
are changing. We have also captured thumbnails for those cuepoints such that we
now have a nice list of thumbnails for each slide and an associated cuepoint in
the video where the particular slide begins.Here comes the problem...due to the large size of the master video it is not
practical for us to use the master video with our mediaElement player. We do
need to transcode the master video to mp4 and ogv in order to get decent
device/browser coverage.We do not seem to be able to find a suitable transcoding strategy to reduce the
size of the video. We have played with numerous ffmpeg settings and were able to
reduce the size but when we do so we compromise the ability to jump to specific
cue points.It works well for browsers that do HTML5 video natively (Chrome and Firefox) but
not for the flash fallback of mediaElement (IE7/IE8) which uses the mp4 file and
seemingly is very tied to the number and frequency of key frames in the video in
order to allow for clean seeking and skipping using the cue points.Seeing that we are talking about a video that has only slides (practically 90
static images per presentation) and some sound we imagine it must be possible to
transcode as such that the keyframes fall at the cue points or near the
cuepoints, and that the size of the video could be drastically reduced while
still allowing for smooth seeking and skipping. -
ffmpeg to convert mov to flv
27 octobre 2014, par jeetI’m trying to convert a mov video to flv, but keep getting these errors below.
There are 2 commands I used, both are below.ffmpeg -y -i video.mov -deinterlace -acodec copy -r 25 -qmin 3 -qmax 6 video.flv
FFmpeg version SVN-r16573, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthreads --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264 --enable-libschroedinger --enable-avisynth --enable-swscale --enable-gpl
libavutil 49.12. 0 / 49.12. 0
libavcodec 52.10. 0 / 52.10. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
built on Jan 13 2009 02:57:09, gcc: 4.2.4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid\video.mov':
Duration: 00:03:16.00, start: 0.000000, bitrate: 398 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 800x600 [PAR 1:1 DAR 4:3], 30.00 tb(r)
Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
Output #0, flv, to 'vid\video.flv':
Stream #0.0(eng): Video: flv, yuv420p, 800x600 [PAR 1:1 DAR 4:3], q=3-6, 200 kb/s, 25.00 tb(c)
Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[NULL @ 0x1714390]codec not compatible with flv
Could not write header for output file #0 (incorrect codec parameters ?)Second command :
ffmpeg -y -i video.mov -deinterlace -ar 44100 -r 25 -qmin 3 -qmax 6 video.flv
Audio resampler only works with 16 bits per sample, patch welcome.
With a newer version of ffmpeg :
ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 5 2013 13:20:59 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.100 / 54. 91.100
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 35.101 / 3. 35.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid\video.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
creation_time : 1970-01-01 00:00:00
Duration: 00:02:50.39, start: 0.000000, bitrate: 370 kb/s
Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], 308 kb/s, 11.50 fps, 11.50 tbr, 23 tbn, 23 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : DataHandler
Stream #0:1(eng): Audio: pcm_u8 (raw / 0x20776172), 8000 Hz, mono, u8, 64 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : DataHandler
[flv @ 026347a0] FLV does not support sample rate 8000, choose from (44100, 22050, 11025)
Output #0, flv, to 'vid\video.flv':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.61.104
Stream #0:0(eng): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], q=2-31, 200 kb/s, 1k tbn, 11.50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : DataHandler
Stream #0:1(eng): Audio: mp3 ([2][0][0][0] / 0x0002), 8000 Hz, mono, s16p
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : DataHandler
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 -> flv)
Stream #0:1 -> #0:1 (pcm_u8 -> libmp3lame)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input1 more thing please :
If I use this newer version of ffmpeg to create a video with the below command, I get a video with a very hazy display.
It’s like a few black dots on a blank screen :ffmpeg -i img%d.png -i audio.wav -acodec copy output.mov
what could be the reason for this display ?