
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (50)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (4560)
-
ffmpeg : single input file contains multiple streams, how to save each discreetly ?
9 octobre 2017, par pinheadI have been given a
.dvs
file which was recovered from some proprietary multi-camera security surveillance system.ffprobe
returned errors at first but when I switched the extension to.avc
I was able to extract video metadata (output below).ffmpeg
was able to read this file and export a long video file that essentially jump-cuts between the different cameras in an erratic pattern, like a crazy music video ! Is it possible to useffmpeg
to identify the different parallel video streams and output each camera source as its own file ?ffprobe -probesize 1000000000
output :ffprobe version 3.2.4 Copyright (c) 2007-2017 the FFmpeg developers
built with Apple LLVM version 7.0.2 (clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[h264 @ 0x7fbd7380da00] Format h264 detected only with low score of 1, misdetection possible!
[h264 @ 0x7fbd75000600] non-existing PPS 7 referenced
[h264 @ 0x7fbd75000600] Invalid NAL unit 0, skipping.
Last message repeated 2 times
[h264 @ 0x7fbd75000600] non-existing PPS 7 referenced
[h264 @ 0x7fbd75000600] decode_slice_header error
[h264 @ 0x7fbd75000600] no frame!
Input #0, h264, from 'FILENAME-OBFISCATED.avc':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 704x480, 25 fps, 25 tbr, 1200k tbn, 50 tbcHere’s some output of
ffmpeg
while converting. It looks to me like the different streams may even have different resolutions :Output #0, mov, to 'FILENAME-OBFISCATED.mov':
Metadata:
encoder : Lavf57.56.101
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 704x480, q=-1--1, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc57.64.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[h264 @ 0x7fb0d4031e00] Invalid NAL unit 0, skipping.
Last message repeated 2 times
[h264 @ 0x7fb0d4031e00] non-existing PPS 7 referenced
[h264 @ 0x7fb0d4031e00] decode_slice_header error
[h264 @ 0x7fb0d4031e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing inputed= 0x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
[h264 @ 0x7fb0d4031e00] negative number of zero coeffs at 1 0itrate=1973.5kbits/s speed=0.159x
[h264 @ 0x7fb0d4031e00] error while decoding MB 1 0
[h264 @ 0x7fb0d4031e00] concealing 4800 DC, 4800 AC, 4800 MV errors in P frame
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p75x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
[h264 @ 0x7fb0d40b3000] slice type 32 too large at 79911
[h264 @ 0x7fb0d40b3000] decode_slice_header error
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p07x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p92x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p59x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
...
[h264 @ 0x7fb0d4036200] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x7fb0d4036200] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420pdrop=0 speed=10.4x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
frame=203980 fps=261 q=-1.0 Lsize= 1886254kB time=02:15:59.12 bitrate=1893.9kbits/s dup=80 drop=0 speed=10.4x
video:1884523kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.091876%
[libx264 @ 0x7fb0d580d800] frame I:16284 Avg QP:21.33 size: 76147
[libx264 @ 0x7fb0d580d800] frame P:117556 Avg QP:26.20 size: 4066
[libx264 @ 0x7fb0d580d800] frame B:70140 Avg QP:30.19 size: 3019
[libx264 @ 0x7fb0d580d800] consecutive B-frames: 50.2% 9.9% 6.2% 33.7%
[libx264 @ 0x7fb0d580d800] mb I I16..4: 8.6% 25.2% 66.2%
[libx264 @ 0x7fb0d580d800] mb P I16..4: 0.4% 1.5% 1.1% P16..4: 14.2% 6.3% 4.4% 0.0% 0.0% skip:72.1%
[libx264 @ 0x7fb0d580d800] mb B I16..4: 0.2% 0.5% 0.5% B16..8: 22.6% 7.6% 2.9% direct: 2.5% skip:63.2% L0:45.2% L1:38.7% BI:16.1%
[libx264 @ 0x7fb0d580d800] 8x8 transform intra:30.2% inter:45.3%
[libx264 @ 0x7fb0d580d800] coded y,uvDC,uvAC intra: 88.8% 65.6% 41.5% inter: 10.4% 3.8% 0.4%
[libx264 @ 0x7fb0d580d800] i16 v,h,dc,p: 11% 11% 40% 39%
[libx264 @ 0x7fb0d580d800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 19% 20% 6% 6% 6% 8% 7% 10%
[libx264 @ 0x7fb0d580d800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 13% 7% 7% 8% 8% 8% 9%
[libx264 @ 0x7fb0d580d800] i8c dc,h,v,p: 51% 20% 23% 6%
[libx264 @ 0x7fb0d580d800] Weighted P-Frames: Y:3.1% UV:0.8%
[libx264 @ 0x7fb0d580d800] ref P L0: 79.0% 12.6% 6.3% 2.0% 0.2%
[libx264 @ 0x7fb0d580d800] ref B L0: 93.6% 5.5% 0.9%
[libx264 @ 0x7fb0d580d800] ref B L1: 97.7% 2.3%
[libx264 @ 0x7fb0d580d800] kb/s:1892.10 -
FFMpeg Concat Error - What needs to be changed ?
19 avril 2018, par Andrew BaldingerI have a tv episode video (let’s say episode.mp4). I also have a short, 20 second closing credit video that I want to append to various episodes (let’s say closing.mp4) The episode and closing are always Mp4, h264. The frame sizes are also the same. The audio codecs do vary, though. I would like to concat using concat demuxer to avoid having to re-encode. I tried doing this, but it gives me an error. I would like to make any necessary encoding changes to the short closing clip (so I would create multiple closing files, each matching the main episode file I want to add it to). What do I need to additionally make sure matches with the two videos to be able to use concat demuxer ? How would I edit the closing clip to match the episode ?
Here is a probe of the ending clip :
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1001/48000
codec_tag_string=avc1
codec_tag=0x31637661
width=1280
height=720
coded_width=1280
coded_height=720
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=31
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=unknown
timecode=N/A
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=24000/1001
avg_frame_rate=24000/1001
time_base=1/24000
start_pts=0
start_time=0.000000
duration_ts=672672
duration=28.028000
bit_rate=442973
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=672
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=eng
TAG:handler_name=VideoHandler
[/STREAM]
[STREAM]
index=1
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=LC
codec_type=audio
codec_time_base=1/48000
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=fltp
sample_rate=48000
channels=2
channel_layout=stereo
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_pts=0
start_time=0.000000
duration_ts=1344000
duration=28.000000
bit_rate=128651
max_bit_rate=128651
bits_per_raw_sample=N/A
nb_frames=1314
nb_read_frames=N/A
nb_read_packets=N/AHere is a probe of a sample episode :
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=208879/10016000
codec_tag_string=avc1
codec_tag=0x31637661
width=1280
height=718
coded_width=1280
coded_height=718
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=640:359
pix_fmt=yuv420p
level=31
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=unknown
timecode=N/A
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=24000/1001
avg_frame_rate=5008000/208879
time_base=1/16000
start_pts=0
start_time=0.000000
duration_ts=40104768
duration=2506.548000
bit_rate=1092383
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=60096
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=und
TAG:handler_name=VideoHandler
[/STREAM]
[STREAM]
index=1
codec_name=ac3
codec_long_name=ATSC A/52A (AC-3)
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=ac-3
codec_tag=0x332d6361
sample_fmt=fltp
sample_rate=48000
channels=2
channel_layout=stereo
bits_per_sample=0
dmix_mode=-1
ltrt_cmixlev=-1.000000
ltrt_surmixlev=-1.000000
loro_cmixlev=-1.000000
loro_surmixlev=-1.000000
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_pts=0
start_time=0.000000
duration_ts=120313200
duration=2506.525000
bit_rate=192000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=78329
nb_read_frames=N/A
nb_read_packets=N/AFinally, I am running Windows 10 and here is a probe on my setup :
ffprobe version N-87327-g18821e3 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 75.100 / 55. 75.100
libavcodec 57.106.101 / 57.106.101
libavformat 57. 82.100 / 57. 82.100
libavdevice 57. 8.101 / 57. 8.101
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100I created a version of the ending with the same screen size and audio codec as the episode. But, when I try to concat, the resulting video is much longer (1:03:00) than it should be (about 42 mins), and it freezes when played. Here is the concat :
ffmpeg -f concat -safe 0 -i "concat.txt" -c copy 's04e06.mp4'
ffmpeg : ffmpeg version N-87327-g18821e3 Copyright (c) 2000-2017 the FFmpeg developers
At line:1 char:1
+ ffmpeg -f concat -safe 0 -i "concat.txt" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (ffmpeg version ...mpeg developers:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 75.100 / 55. 75.100
libavcodec 57.106.101 / 57.106.101
libavformat 57. 82.100 / 57. 82.100
libavdevice 57. 8.101 / 57. 8.101
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000047cb020]
Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from 'concat.txt':
Duration: N/A, start: -0.002333, bitrate: 1284 kb/s
Stream #0:
0(und
): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x718 [SAR 1:1 DAR 640:359], 1092 kb/s
,
23.98 fps,
23.98 tbr,
16k tbn, 47.95 tb
c
Metadata:
handler_name :
VideoHandler
Stream #0:
1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
handler_name :
SoundHandler
[mp4 @ 0000000004daf380]
track 1: codec frame size is not set
Output #0, mp4, to 's04e06.mp4':
Metadata:
encoder :
Lavf57.82.10
0
Stream #0:
0
(und)
: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x718 [SAR 1:1 DAR 640:359], q=2-31, 1092 kb/s
,
23.98 fps, 23.98 tbr,
16k tbn,
16k tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 3050 fps=0.0 q=-1.0 size= 32768kB time=00:02:07.16 bitrate=2110.9kbits/s speed= 254x
frame= 7005 fps=6993 q=-1.0 size= 65536kB time=00:04:52.12 bitrate=1837.8kbits/s speed= 292x
frame=12638 fps=8414 q=-1.0 size= 99072kB time=00:08:47.04 bitrate=1539.9kbits/s speed= 351x
frame=17009 fps=8492 q=-1.0 size= 125440kB time=00:11:49.34 bitrate=1448.7kbits/s speed= 354x
frame=18981 fps=7413 q=-1.0 size= 136704kB time=00:13:11.61 bitrate=1414.7kbits/s speed= 309x
frame=20233 fps=6444 q=-1.0 size= 144896kB time=00:14:03.80 bitrate=1406.7kbits/s speed= 269x
frame=23615 fps=6421 q=-1.0 size= 165888kB time=00:16:24.89 bitrate=1379.8kbits/s speed= 268x
frame=25322 fps=6057 q=-1.0 size= 175360kB time=00:17:36.06 bitrate=1360.3kbits/s speed= 253x
frame=26957 fps=5759 q=-1.0 size= 184576kB time=00:18:44.25 bitrate=1344.9kbits/s speed= 240x
frame=31478 fps=6076 q=-1.0 size= 215040kB time=00:21:52.83 bitrate=1341.8kbits/s speed= 253x
frame=33517 fps=5900 q=-1.0 size= 235264kB time=00:23:17.88 bitrate=1378.7kbits/s speed= 246x
frame=34974 fps=5658 q=-1.0 size= 246272kB time=00:24:18.65 bitrate=1383.1kbits/s speed= 236x
frame=36987 fps=5437 q=-1.0 size= 259840kB time=00:25:42.59 bitrate=1379.9kbits/s speed= 227x
frame=37543 fps=5140 q=-1.0 size= 263168kB time=00:26:05.79 bitrate=1376.9kbits/s speed= 214x
frame=39203 fps=4982 q=-1.0 size= 273152kB time=00:27:15.04 bitrate=1368.6kbits/s speed= 208x
frame=45904 fps=5484 q=-1.0 size= 305408kB time=00:31:54.52 bitrate=1306.8kbits/s speed= 229x
frame=47996 fps=5410 q=-1.0 size= 318720kB time=00:33:21.75 bitrate=1304.3kbits/s speed= 226x
frame=50719 fps=5409 q=-1.0 size= 336128kB time=00:35:15.32 bitrate=1301.7kbits/s speed= 226x
frame=53508 fps=5409 q=-1.0 size= 354560kB time=00:37:11.65 bitrate=1301.5kbits/s speed= 226x
frame=57118 fps=5452 q=-1.0 size= 372736kB time=00:39:42.24 bitrate=1281.8kbits/s speed= 227x
frame=58440 fps=5324 q=-1.0 size= 382208kB time=00:40:37.35 bitrate=1284.6kbits/s speed= 222x
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000047d3640]
Auto-inserting h264_mp4toannexb bitstream filter
frame=60098 fps=5228 q=-1.0 size= 392960kB time=01:02:39.76 bitrate= 856.2kbits/s speed= 327x
frame=60746 fps=5031 q=-1.0 size= 393472kB time=01:03:20.30 bitrate= 848.2kbits/s speed= 315x
frame=60768 fps=4978 q=-1.0 Lsize= 397136kB time=01:03:21.67 bitrate= 855.8kbits/s speed= 311x
video:335753kB audio:59186kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.556209% -
Trying to use ffmpeg script in php issue
24 août 2018, par user5947524Currently I am using the PHP line of code below which allows me to use ffmpeg to watermark a video. The $video_path, $scaled, and $scaled_video are already set.
exec('ffmpeg -i "' . $video_path . '" -vf "movie="' . $scaled . '" [watermark]; [in][watermark] overlay=10:main_h-overlay_h [out]" "' . $scaled_video . '"');
How can I use the below line in PHP similarly, the semicolons are confusing me like crazy.
ffmpeg -i video_path.mp4 -i scaled.png -filter_complex "overlay=10:main_h-overlay_h-10" scaled_video.mp4
So I basically just need help writing this so there are no errors in the PHP code