
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (6)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (2629)
-
Matching a specific media format with ffmpeg/avconv
5 mai 2020, par Markus A.I need to encode a video from static images in such a way that it format-matches another one so I can splice the video streams together.



Here is the
mediainfo
of the file I'm trying to match :


Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : 7
Duration : 2mn 46s
Bit rate : 1 614 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Stream size : 32.0 MiB (87%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.601
Matrix coefficients : BT.601




So far, what I have been able to come up with is the following :



avconv -f image2 -framerate 1.2 -i loop_%d.tif -c:v libx264 -preset veryslow -profile:v baseline -level:v 31 -b:v 1614K -refs 1 loop.flv




This gets me to :



Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : 7
Duration : 2s 917ms
Bit rate : 1 614 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 1.200 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 1.459
Stream size : 575 KiB
Writing library : x264 core 142 r2431 a5831aa
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=abr / mbtree=1 / bitrate=1614 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00




Which, unfortunately, still isn't good enough as VLC Media Player crashes hard (just closes), logging
main error: Failed to compensate for the format changes, removing all filters; main error: Failed to create video converter
as soon as the stream splice occurs. I tried splicing another stream in that does have the exact same encoding, and it works fine. I'm also making sure to only splice on key-frames and I am including the NALU containing the AVCDecoderConfigRecord, so I'm pretty sure I'm not doing anything else wrong, especially since a couple other programs are fine with the splice. It's just VLC that expects an even closer match.


Here are things I've tried :



- 

- Adding
-vsync 2
to get variable frame rate mode. Doesn't change anything. - Adding
-color_primaries bt470bg -color_trc gamma28 -colorspace bt470bg
to try to get BT.601 PAL settings (several websites mentioned this). Doesn't change anything. - Adding
-s ntsc
to set the standard to NTSC. This also changes the resolution to 720x480 (not OK), and specifying-s 1280x720
in addition gets rid of the NTSC tag again.









If anyone knows what flags I need to supply to get closer, that would be super-helpful ! The stream I'm trying to match is encoded on an Android device (it's a live-stream), so I'm assuming it is built using the standard Android MediaCoder framework, in case that helps.


- Adding
-
How can I remove "original display aspect ratio" from a mp4 file using ffmpeg ?
21 juin 2020, par aveceuxI wish to remove the "original display aspect ratio" entry from the video section.



Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 44 min 29 s
Bit rate : 5 001 kb/s
Width : 1 920 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 1.55 GiB (97%)




I tried the following commands,



ffmpeg -i input.mp4 -map_metadata -1 -c copy output.mp4



ffmpeg -i input.mp4 -metadata original_display_aspect_ratio=0 -c copy output.mp4



but none of them worked.



If I want to remove the "original display aspect ratio" entry completely, what ffmpeg command can I use to achieve that ?



Thank you.



EDIT :
The result of mediainfo -f :



General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Count of audio streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Audio_Format_List : AAC LC
Audio_Format_WithHint_List : AAC LC
Audio codecs : AAC LC
Complete name : Downloads/3.mp4
File name : Downloads/3.mp4
File name : Downloads/3
File extension : mp4
Format : MPEG-4
Format : MPEG-4
Format/Extensions usually used : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name : MPEG-4
Format profile : Base Media
Internet media type : video/mp4
Codec ID : isom
Codec ID : isom (isom/iso2/avc1/mp41/letv)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : isom/iso2/avc1/mp41/letv
File size : 1715744367
File size : 1.60 GiB
File size : 2 GiB
File size : 1.6 GiB
File size : 1.60 GiB
File size : 1.598 GiB
Duration : 2670080
Duration : 44 min 30 s
Duration : 44 min 30 s 80 ms
Duration : 44 min 30 s
Duration : 00:44:30.080
Duration : 00:44:29:24
Duration : 00:44:30.080 (00:44:29:24)
Overall bit rate : 5140653
Overall bit rate : 5 141 kb/s
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 66749
Stream size : 3988740
Stream size : 3.80 MiB (0%)
Stream size : 4 MiB
Stream size : 3.8 MiB
Stream size : 3.80 MiB
Stream size : 3.804 MiB
Stream size : 3.80 MiB (0%)
Proportion of this stream : 0.00232
HeaderSize : 1510470
DataSize : 1711755635
FooterSize : 2478262
IsStreamable : Yes
File creation date : UTC 2019-02-20 11:24:46.448
File creation date (local) : 2019-02-20 19:24:46.448
File last modification date : UTC 2017-05-26 00:00:00.000
File last modification date (local) : 2017-05-26 08:00:00.000
Writing application : Lavf56.15.102
Writing application : Lavf56.15.102

Video
Count : 348
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 1
ID : 1
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, ReFrames : 4
Format settings, ReFrames : 4 frames
Internet media type : video/H264
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2669960
Duration : 44 min 29 s
Duration : 44 min 29 s 960 ms
Duration : 44 min 29 s
Duration : 00:44:29.960
Duration : 00:44:29:24
Duration : 00:44:29.960 (00:44:29:24)
Bit rate : 5000927
Bit rate : 5 001 kb/s
Width : 1920
Width : 1 920 pixels
Height : 1072
Height : 1 072 pixels
Sampled_Width : 1920
Sampled_Height : 1072
Pixel aspect ratio : 0.993
Display aspect ratio : 1.779
Display aspect ratio : 16:9
Original display aspect ratio : 1.778
Original display aspect ratio : 16:9
Rotation : 0.000
Frame rate mode : CFR
Frame rate mode : Constant
FrameRate_Mode_Original : VFR
Frame rate : 25.000
Frame rate : 25.000 FPS
Frame count : 66749
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 1669034254
Stream size : 1.55 GiB (97%)
Stream size : 2 GiB
Stream size : 1.6 GiB
Stream size : 1.55 GiB
Stream size : 1.554 GiB
Stream size : 1.55 GiB (97%)
Proportion of this stream : 0.97278
Codec configuration box : avcC

Audio
Count : 277
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
StreamOrder : 1
ID : 2
ID : 2
Format : AAC
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Commercial name : AAC
Format_AdditionalFeatures : LC
Codec ID : mp4a-40-2
Duration : 2670080
Duration : 44 min 30 s
Duration : 44 min 30 s 80 ms
Duration : 44 min 30 s
Duration : 00:44:30.080
Duration : 00:44:34:09
Duration : 00:44:30.080 (00:44:34:09)
Bit rate mode : CBR
Bit rate mode : Constant
Bit rate : 128000
Bit rate : 128 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Channel positions : Front: L R
Channel positions : 2/0/0
Channel layout : L R
Samples per frame : 1024
Sampling rate : 44100
Sampling rate : 44.1 kHz
Samples count : 117750528
Frame rate : 43.066
Frame rate : 43.066 FPS (1024 SPF)
Frame count : 114991
Compression mode : Lossy
Compression mode : Lossy
Stream size : 42721373
Stream size : 40.7 MiB (2%)
Stream size : 41 MiB
Stream size : 41 MiB
Stream size : 40.7 MiB
Stream size : 40.74 MiB
Stream size : 40.7 MiB (2%)
Proportion of this stream : 0.02490
Default : Yes
Default : Yes
Alternate group : 1
Alternate group : 1



-
I need assistance of making a automated script for ffmpeg [closed]
18 décembre 2024, par user2614404Currently i use this script that GPT generated :


ffmpeg -c:v av1_qsv -b:v 0 -global_quality 20 -preset veryslow -look_ahead 64 -c:a copy -c:s copy G:\1ARC-movies\A-View-to-a-kill.mkv -i Y:\media\Movies\A_VIEW_TO_A_KILL_t05.mkv


But sadly GPT being gpt, it hallucinates answers, and none of it's deeper automation code scripts were working when it made the scripts for a .ps1 script file.


And as i find most of the docs quite overwhelming, i need help to simplify what i need. As i learn best when i get explained what i currently try to do, and not every variable ffmpeg can do.


what i want the script to do is :


1 : convert movies with AV1_QSV with "veryslow", as that's apparently from what i've read up being the best it can do


2 : Global quality as close to 50 as possible (smaller, the better), as 20-6 gave the same range of percentage of 97% VMAF score, 22 gave 95%, so 20 is the largest number i can go, as VMAF via NMKODER reported any higher number was sub 97%.


3 : Give it a main folder for movies and shows to scan, and convert all the media in there to their respective subfolders to a designated output folder.


2 : Automatic crop detection, as some crops it to a 21:9 ratio, others has very small letterboxes. As GPT's code for that attempt for some reason used cpu instead of arc's quicksync.


As this will be ran from powershell, and it's to replace my plex library, by transcoding all movies and shows, starting with the least watched ones/shows that my family has seen, as then those will be unavailable for them until unraid 7 is out of beta to read intel arc for av1.