
Recherche avancée
Médias (91)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (81)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (10595)
-
No video steam played with the ffmpeg script from avi to mp4 on Centos 8.2/ffmpeg 8 [duplicate]
27 septembre 2020, par user27240The mp4 file that was transformed from the avi file with the script below running on Centos 8.2/ffmpeg gcc 8 does not play video stream and it only play audio on chrome/edge/firefox/opera and Windows10.
Could anyone please help me out ?


for i in /var/www/html/xxxxx/xxxxx/479.AVI; do ffmpeg -i "$i" -pix_fmt yuv420p -movflags +faststart -ss 0.03 "/var/www/html/xxxxx/xxxxx/$(basename "$i" .avi).mp4"; done


The log for the ffmpeg transform script :


peg -i "$i" -pix_fmt yuv420p -movflags +faststart -ss 0.03 "/var/www/html/xxxxx/xxxxx/$(basename "$i" .avi).mp4"; done
ffmpeg version N-99260-g6401a5d4b8 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (GCC)
 configuration: --disable-x86asm
 libavutil 56. 59.100 / 56. 59.100
 libavcodec 58.106.100 / 58.106.100
 libavformat 58. 58.100 / 58. 58.100
 libavdevice 58. 11.102 / 58. 11.102
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from '/var/www/html/xxxxx/xxxxx/479.AVI':
 Metadata:
 creation_time : 1980-01-01 00:00:18
 encoder : CanonMVI06
 Duration: 00:00:04.63, start: 0.000000, bitrate: 15522 kb/s
 Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470 bg/unknown/unknown), 640x480, 14916 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
 Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
 Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[swscaler @ 0x37e3c80] deprecated pixel format used, make sure you did set range correctly
Output #0, mp4, to '/var/www/html/xxxxx/xxxxx/479.AVI.mp4':
 Metadata:
 encoder : Lavf58.58.100
 Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x480, q=2-31, 200 kb/s, 30 fps, 65521 tbn, 30 tbc
 Metadata:
 encoder : Lavc58.106.100 mpeg4
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
 Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 69 k b/s
 Metadata:
 encoder : Lavc58.106.100 aac
frame= 61 fps=0.0 q=24.8 size= 0kB time=00:00:02.90 bitrate= 0.1kbits/ frame= 126 fps=125 q=31.0 size= 256kB time=00:00:04.55 bitrate= 460.9kbits/ [mp4 @ 0x376e700] Starting second pass: moving the moov atom to the beginning of the file
frame= 138 fps=125 q=31.0 Lsize= 379kB time=00:00:04.62 bitrate= 671.2kbits /s speed=4.17x
video:335kB audio:38kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.401716%
[aac @ 0x377d2c0] Qavg: 2088.382



ffmpeg version :


ffmpeg version N-99260-g6401a5d4b8 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8 (GCC)
configuration: --disable-x86asm
libavutil 56. 59.100 / 56. 59.100
libavcodec 58.106.100 / 58.106.100
libavformat 58. 58.100 / 58. 58.100
libavdevice 58. 11.102 / 58. 11.102
libavfilter 7. 87.100 / 7. 87.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100



CentOS version :

CentOS Linux release 8.2.2004 (Core)


Clinet OS :

Windows10


Browsers :

Chrome, Edge, Firefox, Opera


ffprobe -loglevel error :


[root@xxxxxxx xxxxxxx]# ffprobe -loglevel error -show_streams 479.AVI.mp4 
[STREAM]
index=0
codec_name=mpeg4
codec_long_name=MPEG-4 part 2
profile=Simple Profile
codec_type=video
codec_time_base=2184/65521
codec_tag_string=mp4v
codec_tag=0x7634706d
width=640
height=480
coded_width=640
coded_height=480
closed_captions=0
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=4:3
pix_fmt=yuv420p
level=1
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=unknown
timecode=N/A
refs=1
quarter_sample=false
divx_packed=false
id=N/A
r_frame_rate=65521/2184
avg_frame_rate=65521/2184
time_base=1/65521
start_pts=0
start_time=0.000000
duration_ts=301392
duration=4.599930
bit_rate=596840
max_bit_rate=596840
bits_per_raw_sample=N/A
nb_frames=138
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=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=LC
codec_type=audio
codec_time_base=1/44100
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=fltp
sample_rate=44100
channels=1
channel_layout=mono
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/44100
start_pts=0
start_time=0.000000
duration_ts=202992
duration=4.602993
bit_rate=67677
max_bit_rate=69000
bits_per_raw_sample=N/A
nb_frames=200
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=SoundHandler
[/STREAM]



-
FFMPEG failing when calling with a offset
8 septembre 2020, par sarath chandraI am new to FFMPEG. Sorry if this question is too basic.


I want to cut a sample sample of 30 sec from time 30sec. But when i execute a below command it was failing with exception


cmd


ffmpeg -loglevel debug -ss 00:00:30.000 -t 30 -i source.flac -acodec libmp3lame -ab 64k -ac 2 -ar 22050 -y -vn target.mp3



Output


ur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[flac @ 0x7f9603006200] blocksize 32768 > 4096
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[flac @ 0x7f9603006200] decode_frame() failed
Error while decoding stream #0:0: Invalid data found when processing input
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
 Last message repeated 1 times
[graph_0_in_0_0 @ 0x7f960241ab00] Setting 'time_base' to value '1/0'
[abuffer @ 0x7f960241ac00] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
 Last message repeated 1 times
[graph_0_in_0_0 @ 0x7f960241ab00] Setting 'sample_rate' to value '0'
[graph_0_in_0_0 @ 0x7f960241ab00] Setting 'sample_fmt' to value 's32'
[graph_0_in_0_0 @ 0x7f960241ab00] Setting 'channel_layout' to value '0x4'
[abuffer @ 0x7f960241ac00] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
 Last message repeated 1 times




But when i changed the offset zero seconds it was successfully transcoding.


cmd


ffmpeg -loglevel debug -ss 00:00:00.000 -t 30 -i source.flac -acodec libmp3lame -ab 64k -ac 2 -ar 22050 -y -vn target.mp3 



Output


Output file #0 (target2.mp3):
 Output stream #0:0 (audio): 2680 frames encoded (1543500 samples); 2682 packets muxed (560483 bytes); 
 Total: 2682 packets (560483 bytes) muxed
756 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7f9050d05980] Statistics: 2 seeks, 4 writeouts
[AVIOContext @ 0x7f9050e18b00] Statistics: 12320768 bytes read, 2 seeks



I check the mediainfo didn't find anything


{
 "index": "0",
 "codec_name": "flac",
 "codec_long_name": "FLAC (Free Lossless Audio Codec)",
 "profile": "unknown",
 "codec_type": "audio",
 "codec_time_base": "1/44100",
 "codec_tag_string": "[0][0][0][0]",
 "codec_tag": "0x0000",
 "sample_fmt": "s32",
 "sample_rate": "44100",
 "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/44100",
 "start_pts": "0",
 "start_time": "0.000000",
 "duration_ts": "9784915",
 "duration": "221.880159",
 "bit_rate": "1347288",
 "max_bit_rate": "N/A",
 "bits_per_raw_sample": "24",
 "nb_frames": "N/A",
 "nb_read_frames": "N/A",
 "nb_read_packets": "N/A",
 "DISPOSITION": {
 "default": "0",
 "dub": "0",
 "original": "0",
 "comment": "0",
 "lyrics": "0",
 "karaoke": "0",
 "forced": "0",
 "hearing_impaired": "0",
 "visual_impaired": "0",
 "clean_effects": "0",
 "attached_pic": "0",
 "timed_thumbnails": "0"
 },
 "filename": "source.flac",
 "nb_streams": "1",
 "nb_programs": "0",
 "format_name": "flac",
 "format_long_name": "raw FLAC",
 "size": "37367072",
 "probe_score": "100"
}



-
Could not find tag for codec h264 in stream #2 when trim video and add watermark, music background
13 août 2020, par Nguyễn TrọngI'm doing cut video into chunks, then join them and add watermark and background music with the command below.


"[-y, -i, /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20200726-WA0154.mp4, -i, /storage/emulated/0/FXMotion/.cache/.watermark/logo_watermark.png, -stream_loop, -1, -i, /storage/emulated/0/WhatsApp/Media/WhatsApp Documents/DripReport_-_Skechers_(Lyrics)(MP3_160K).mp3, -filter_complex, [1:v]scale=640/4:-1[logo1];[0:v]trim=0:2.483,setpts=PTS-STARTPTS[v1];[0:v]trim=2.483:7.45,setpts=2.0*(PTS-STARTPTS)[v2];[0:v]trim=7.45:9.933,setpts=PTS-STARTPTS[v3];[v1][v2][v3]concat=n=3:v=1[video];[video][logo1]overlay=main_w-overlay_w-10:main_h-overlay_h-10[vw], -map, [vw], -map, 2, -c:v, libx264, -crf, 23, -preset, veryfast, -shortest, /storage/emulated/0/FXMotion/FXMotion-200810e.mp4, -hide_banner]"



But when running I get the following error :



Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20200726-WA0154.mp4':\n 
Metadata:
major_brand : mp4v
 minor_version : 0
 compatible_brands: mp4vmp42isom\n Duration: 00:00:09.93, start: 0.000000, bitrate: 2080 kb/s
 Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown), 640x352, 2078 kb/s, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
 Metadata:\n rotate : 270
 Side data:
 displaymatrix: rotation of 90.00 degrees\nInput #1, png_pipe, from '/storage/emulated/0/FXMotion/.cache/.watermark/logo_watermark.png':
 Duration: N/A, bitrate: N/A
 Stream #1:0: Video: png, rgba(pc), 335x51, 25 tbr, 25 tbn, 25 tbc
Input #2, mp3, from '/storage/emulated/0/WhatsApp/Media/WhatsApp Documents/DripReport_-_Skechers_(Lyrics)(MP3_160K).mp3':
 Metadata:
 encoder : Lavf57.56.101
 title : DripReport - Skechers (Lyrics)
 artist : DripReport
 album : DripReport\n Duration: 00:01:46.06, start: 0.011021, bitrate: 167 kb/s
 Stream #2:0: Audio: mp3, 48000 Hz, stereo, fltp, 160 kb/s
 Metadata:
 encoder : Lavc57.64
 Stream #2:1: Video: png, rgb24(pc), 400x225, 90k tbr, 90k tbn, 90k tbc (attached pic)
 Metadata:
 title : attached picture
 comment : Cover (front)
Stream mapping:
 Stream #0:0 (h264) -> trim (graph 0)
 Stream #0:0 (h264) -> trim (graph 0)
 Stream #0:0 (h264) -> trim (graph 0)
 Stream #1:0 (png) -> scale (graph 0)
 overlay (graph 0) -> Stream #0:0 (libx264)
 Stream #2:0 -> #0:1 (mp3 (mp3float) -> aac (native))
 Stream #2:1 -> #0:2 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help\n[graph 0 input from stream 1:0 @ 0x6f73832bc0] sws_param option is deprecated and ignored
[graph 0 input from stream 0:0 @ 0x6f73832c80] sws_param option is deprecated and ignored\n[graph 0 input from stream 0:0 @ 0x6f73833400] sws_param option is deprecated and ignored\n[graph 0 input from stream 0:0 @ 0x6f73833580] sws_param option is deprecated and ignored
[libx264 @ 0x6f44476300] using cpu capabilities: ARMv8 NEON
[libx264 @ 0x6f44476300] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x6f44476300] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[graph 2 input from stream 2:1 @ 0x6ed501c380] sws_param option is deprecated and ignored
[mp4 @ 0x6ed53b9a00] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2\n[libx264 @ 0x6f445de500] MB rate (33750000) > level limit (16711680)
[libx264 @ 0x6f445de500] using cpu capabilities: ARMv8 NEON
[libx264 @ 0x6f445de500] profile High 4:4:4 Predictive, level 6.2, 4:4:4, 8-bit\n[libx264 @ 0x6f445de500] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=6 threads=7 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x6ed53b9a00] Could not find tag for codec h264 in stream #2, codec not currently supported in container\nCould not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --[aac @ 0x6f44478600] Qavg: nan\nConversion failed!",
 
 



i run ffmpeg on :


Device
"os_version" : "10"
"model" : "SM-A217F"
"brand" : "samsung"




How to fix it ? thank advance !