
Recherche avancée
Autres articles (43)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5984)
-
flv reencode to mp4 for iphone/ipod via ffmpeg and x264 (quality issue)
3 octobre 2011, par zeroasteriskThere are a lot of questions on this topic, and I've read most of them and most of the google search results I could come up with.
When I use FFMPEG to convert a FLV to a iphone3 compatble MP4 file, it just doesn't preserver enough of the quality. Yes, I've worked the hell out of
-sameq
and-b
and-bt
settings, text just isn't readable.Next I tried to split the video out and process it directly, using these instructions :
https://sites.google.com/site/linuxencoding/x264-encoding-guideThe problem is myplayer (via ffmpeg) was not able to determine the duration of the FLV (even though the metadata was set).
(I assume) Because of that unknown duration, when I create the MP4 file, the resulting x264 file plays through super-fast while the audio plays at the normal rate.
user@server:/tmp# mplayer -nosound -benchmark -sws 9 -vf dsize=640:480:0,scale=0:0,expand=640:480 -vo yuv4mpeg:file=>(x264 --demuxer y4m --crf 0 --preset slow --threads auto --output output.264 - 2>x264.log) 'input.flv'
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing input.flv.
libavformat file format detected.
[flv @ 0x1202460]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (vp6f), -vid 0
[lavf] stream 1: audio (nellymoser), -aid 0
VIDEO: [VP6F] 1680x992 0bpp 1000.000 fps 33.4 kbps ( 4.1 kbyte/s)
Clip info:
audiocodecid: 6
audiodatarate: 86
audiosamplerate: 44100
audiosamplesize: 16
audiosize: 6097005
canSeekToEnd: true
datasize: 8609138
duration: 567
framerate: 2
hasAudio: true
hasCuePoints: false
hasKeyframes: true
hasMetadata: true
hasVideo: true
height: 992
lasttimestamp: 567
metadatacreator: flvtool++ (Facebook, Motion project, dweatherford)
stereo: false
totalframes: 1043
videocodecid: 4
videodatarate: 33
videosize: 2316256
width: 1680
Using (default) progressive frame mode.Opening video filter: [expand w=640 h=480]
Expand: 640 x 480, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Opening video filter: [scale w=0 h=0]
Opening video filter: [dsize=640:480:0]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7f0c738b9620]Lanczos scaler, from yuv420p to yuv420p using MMX2
VO: [yuv4mpeg] 640x480 => 641x480 Planar YV12I have also tried specifying FPS, but no change in results
user@server:/tmp# mplayer -nosound -fps 25-benchmark -sws 9 -vf dsize=640:480:0,scale=0:0,expand=640:480 -vo yuv4mpeg:file=>(x264 --demuxer y4m --fps 25 --crf 0 --preset slow --threads auto --output output.264 - 2>x264.log) 'input.flv'
Can someone tell me how to either :
- fix my split A/V processing/timing/duration issues ?
- improve the
quality of the FFMPEG conversion of FLV to iphone3 compatible
format ?
-
FFmpeg on iPhone - Modifying Video Orientation
6 avril 2015, par Matthew McGooganI’m messing with h264 videos loaded with FFmpeg on the iPhone 3GS. The problem is any videos recorded in "Portrait" orientation have a transformation matrix applied to them causing them to display rotated 90 degrees counter-clock.
From what I understand thus far, I just need to modify the transform matrix in the ’tkhd’ atom. The problem is I am having trouble accessing or modifying this data. I checked out the FFmpeg implementation for :
static int mov_read_tkhd(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
which clearly shows how the matrix is accessed in avformat but when I try to access the header bytes using the same functions I am not getting any rational values. Even if I were to successfully pull the matrix I’m not sure how to replace it ? FFmpeg has functions for retrieving and appending to the track header but nothing for replace it seems ?
Any help would be greatly appreciated.
Thanks,
Matt. -
ffmpeg link errors when building on iPhone 4.3 SDK
12 septembre 2011, par YuzaKenAfter a rather trying few days, I finally got ffmpeg to compile under Xcode 4 with SDK 4.3. The issue no is a series (39) link errors. They fall into at least two cases : assembly language routines and static arrays defined in header files. My believe is that it is generating C method names for the assembly routines while the .c files containing the reference to the routine is generating a different method name (munging).
Undefined symbols for architecture armv7 :
"_ff_vector_fmul_vfp", referenced from:
_ff_dsputil_init_vfp in libavcodec.a(dsputil_init_vfp.o)
"_main", referenced from:
start in crt1.3.1.o
"_av_solve_lls", referenced from:
_ff_lpc_calc_coefs in libavcodec.a(lpc.o)
"_ff_inv_aanscales", referenced from:
_dct_quantize_trellis_c in libavcodec.a(mpegvideo_enc.o)
_decode_frame in libavcodec.a(eamad.o)
_tgq_decode_frame in libavcodec.a(eatgq.o)
_tqi_decode_frame in libavcodec.a(eatqi.o)
"_ff_add_pixels_clamped_armv6", referenced from:
_ff_dsputil_init_armv6 in libavcodec.a(dsputil_init_armv6.o)
"_ff_cga_palette", referenced from:
_tmv_decode_frame in libavcodec.a(tmv.o)
"_ff_svq1_inter_multistage_vlc", referenced from:
_encode_block in libavcodec.a(svq1enc.o)
_svq1_decode_init in libavcodec.a(svq1dec.o)
"_ff_simple_idct_armv6", referenced from:
_ff_dsputil_init_armv6 in libavcodec.a(dsputil_init_armv6.o)
"_BZ2_bzDecompressInit", referenced from:
_matroska_decode_buffer in libavformat.a(matroskadec.o)
"_ff_put_pixels8_y2_arm", referenced from:
_ff_put_pixels16_y2_arm in libavcodec.a(dsputil_init_arm.o)
_dsputil_init_arm in libavcodec.a(dsputil_init_arm.o)
"_ff_simple_idct_add_armv6", referenced from:...and so on.
Anyone with experience with ffmpeg on iPhone ? Successfully ?