
Recherche avancée
Autres articles (44)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8004)
-
M2tS ffmpeg command
27 août 2020, par pixbyeI try to use a ffmpeg command to convert via shell an TS stream to m2ts stream


I use :


ffmpeg -i "D:\assets\data1-1.ts" -vcodec copy -r 29.97 -acodec ac3 out_data1.m2ts
pause



But the result mediainfo result is :


General
ID : 1 (0x1)
Complete name : D:\analzye\ffmpeg\out\out_data1.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 413 MiB
Duration : 10 min 3 s
Overall bit rate mode : Variable
Overall bit rate : 5 751 kb/s

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 1 frame
Format settings, GOP : M=1, N=15
Codec ID : 27
Duration : 10 min 3 s
Bit rate : 5 322 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Stream size : 383 MiB (93%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 10 min 3 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : 32 ms
Stream size : 13.8 MiB (3%)
Service kind : Complete Main

Menu
ID : 256 (0x100)
Menu ID : 1 (0x1)
Duration : 10 min 3 s
List : 4113 (0x1011) (AVC) / 4352 (0x1100) (AC-3)
Service name : Service01
Service provider : FFmpeg
Service type : digital television



So, no FPS info in Video. How to avoid the menu stream and get the FPS to the video stream ?
I tried to find it here on stackoverflow and google but git no success. Is it needed to encode video new to get the framerate well ? I thought it is a muxing issue.


-
ffmpeg - libx264 + slideshow produces smeared output [duplicate]
22 septembre 2020, par epilitimusI recently upgraded to ffmpeg version 4.3.1 with libx264.


When I use it to generate a single image slideshow


ffmpeg -y -loop 1 -i shapes.jpg -t 0:0:5 -vcodec libx264 output.mp4


I get a smeared image that looks like a technicolor waterfall (I know the -vcodec is redundant here).If I force use of the mpeg4 codec


ffmpeg -y -loop 1 -i shapes.jpg -t 0:0:5 -vcodec mpeg4 output.mp4


everything works fine.


I have tried several different input images but for example :
https://cdn4.vectorstock.com/i/1000x1000/84/48/simple-geometric-shape-vector-13698448.jpg


produces this :
technicolor waterfall


I think this is a bug but I just want to check and make sure I'm not doing something DUH ! worthy before I report it.


I can use the libx264 codec for other things like converting formats and it works fine. I only see this when converting an image to a video.


-
How to I convert all audio tracks to eac3 and keep all subtitles ?
10 novembre 2023, par Kushal Sai GunturiI'm not familiar with ffmpeg, but came across this script that takes in the file and creates an output with eac3 audio.


#!/bin/sh

echo "Dolby Digital Plus Muxer"
echo "Developed by @kdcloudy, not affiliated with Dolby Laboratories"
echo "Enter the file name to be converted: "
read filepath
if [! -d $filepath]
then
exit $err
fi

ffmpeg -i $filepath -vn ddp.eac3
ffmpeg -i $filepath -i ddp.eac3 -vcodec copy -c:a eac3 -map 0:s -map 0:v:0 -map 1:a:0 output.mp4
rm ddp.eac3



I'd like to know what to modify in this code to ensure all the subtitles are copied from the original file and all the available audio tracks are converted to eac3 and added to the output.mp4 file.
For the subtitles copying I tried -map but couldn't get it to work. Thanks for the help !