
Recherche avancée
Autres articles (44)
-
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 (...) -
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 (8621)
-
FFMPEG Growing Input files [closed]
12 novembre 2024, par user726720I'm having issues with piping the ffmpeg out to the ffmpeg input. I have tried as below


ffmpeg -i "y:\3000012936-TXMHD.mxf" -vcodec copy -acodec copy -f mpegts pipe:1 | ffmpeg -re -i pipe:0 -pix_fmt yuv420p -vsync 1 -map 0:v:0 -map 0:a:0 -c:a aac -c:v libx264 -use_template 1 -use_timeline 1 -init_seg_name "init-stream$RepresentationID$-$Bandwidth$.mp4" -media_seg_name "chunk-stream$RepresentationID$-$Number%05d$.$ext$" -b:v 1500k -b:a 128k -ac 2 -profile:v main -level:v 3.0 -s 1920x1080 -r 25 -vsync passthrough -increment_tc 1 -adaptation_sets "id=0,streams=v id=1,streams=a" -g 100 -keyint_min 100 -seg_duration 5 -frag_duration 5 -dash_segment_type auto -f dash "stream.mpd"



But I'm getting an error :




Conversion failed ! av_interleaved_write_frame() : Broken pipe Error
writing trailer of pipe:1 : Broken pipe




The input file is MXF, and output is going to be MPEG DASH. The reason to do the piping is because the input file is a growing mxf file. If i do it without piping the ffmpeg just closes before the mxf file is written completely.


-
Error compiling and building DashEncoder code and how to play the .mpd file when generated [closed]
11 avril 2013, par niuuI'm trying to build the DashEncoder code which I downloaded from github https://github.com/slederer/DASHEncoder. Well, I followed all the instructions given in the how to compile dash file. installed Gpac n X264 and compiled both successfully. Then did make of Dashencoder and ran it as ./Dashencoder. But I found some issues in it. Got this log :
==========DASH ENCODER===============
Unknown option in resourcefile : sql-pw :
current encoder x264
YES
x264 encoding @ 300 kbps : Pass 1
x264 : x264 —profile baseline —preset slow —verbose —fps 24 —vbv-maxrate 300 —vbv-bufsize 600 —scenecut 0 —keyint 48 —output /opt/lampp/htdocs/tests_updates/sintel_trailer_2k_480p24_300kbit.h264 /home/niu/sintel_trailer_2k_480p24.y4m >out.txt 2>&1
mkdir : cannot create directory/opt/lampp/htdocs/tests_updates/sintel_300kbit': File exists
cp: omitting directory/opt/lampp/htdocs/tests_updates/'
copy audio : cp /opt/lampp/htdocs/tests_updates/ /opt/lampp/htdocs/tests_updates/sintel_300kbit/MP4Box multiplexing Video : /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264
mp4box : MP4Box -add /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264 /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
AVC-H264 import - frame size 854 x 480 at 24.000 FPS
AVC Import results : 1253 samples - Slices : 27 I 1226 P 0 B - 1 SEI - 27 IDR
Saving to /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4 : 0.500 secs Interleaving
MP4Box multiplexing Audio :/opt/lampp/htdocs/tests_updates/sintel_300kbit/
mp4box : MP4Box -add /opt/lampp/htdocs/tests_updates/sintel_300kbit/ /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
Unknown input file type
Unknown input file type
Error importing /opt/lampp/htdocs/tests_updates/sintel_300kbit/ : Bad Parameter
MP4Box Cleaning ...
mp4box : MP4Box -no-sys /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
Saving /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4 : 0.500 secs Interleaving
MP4Box segmentation : /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264
mp4box : MP4Box -frag 2000 -dash 2000 -rap -segment-name /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
DASH-ing file : 2.00s segments 2.00s fragments single sidx per segment
Spliting segments at GOP boundaries
[DASH] Generating MPD at time 2013-03-16T16:40:03Z
DASHing file /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
terminate called after throwing an instance of 'std::out_of_range'
what() : basic_string::substr
Error : Unable to open MPD file !Aborted
Why is this error at the end ? and also one folder got created in my /opt/lampp/htdocs/tests_updates/sintel_300kbit. which has two types of files : 27 files of .m4s extension 1 file -sintelinit.mp4 1 file- sintel_trailer_2k_480p24_300kbit.mp4 , which when played in vlc player played the video bt no audio ! &1 file- sintel_trailer_2k_480p24_300kbit.h264 which cannot be opened.
No .mpd file was created.
Also I want to know aft creating that .mpd file how will i be able to test it on my android client say media player.
I am damn confused with all this happening. Please help
-
Get audio (M4A or MP3) file links directly from YouTube
10 mars 2018, par AlexI am developing a PHP script that obtains video download links from YouTube. The ones I am grabbing are MP4 (720p) and MP4 (360p) (no-DASH format).
My script is similar to this PHP class : https://github.com/Athlon1600/youtube-downloader
It allows me to download any YouTube video that I want, no matter if it has copyright or not. It handles everything with signature ciphering and deciphering included.
However, apart from videos, I would like to obtain audio download links from YouTube videos as well, either in MP3 or M4A.
(M4A files are provided by YouTube, but they are in DASH format, which means, it’s not a complete file, but a collection of files that need to be merged together)
Is there a way to obtain MP3 audio download links directly from YouTube ?
I would like to avoid using FFMPEG library as it requires a lot of resources.
In the case that using a library like that is the only option, what’s the most optimal way to convert MP4 files to MP3 files ?
Is there any more efficient alternative than FFMPEG ?
PLEASE avoid comments regarding YouTube TOS