
Recherche avancée
Autres articles (34)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6133)
-
How do I skip audio 1 and transcode audio 2 to aac with ffmpg ? [closed]
25 septembre 2024, par CA OpaI have videos with 2 audio tracks. Track 1 is ac3 foreign and track 2 is flac English. I only want to transcode the English track 2. When I use ffmpg to map track 2 and transcode to aac the result is vorbis.


Here is my code :


"ffmpeg.exe" -i "U:\infile.mkv" -map 0:v:0 -c:v:0 copy -map 0:a:1 -c:a:1 aac -ac:a:1 2 -b:a:1 192000 -map 0:s:0 -c:s copy "U:\Outfile.mkv"



This is what happens :


Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709/unknown/unknown, progressive), 1278x720 [SAR 1:1 DAR 71:40], 23.98 fps, 23.98 tbr, 1k tbn (default)
 Stream #0:1(rus): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
 Metadata:
 title : Многоголосый закадровый, студия "Селена Интернешнл"
 Stream #0:2(eng): Audio: flac, 48000 Hz, stereo, s16
 Stream #0:3(eng): Subtitle: subrip (srt)
[out#0/matroska @ 000001b979895440] Codec AVOption b:a:1 (set bitrate (in bits/s)) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:2 -> #0:1 (flac (native) -> vorbis (libvorbis))
 Stream #0:3 -> #0:2 (copy)
Press [q] to stop, [?] for help
Output #0, matroska, to 'U:\Outfile.mkv':
 Metadata:
 encoder : Lavf61.5.101
 Chapters:
 Chapter #0:0: start 0.000000, end 180.000000
 Metadata:
 title : On a Cold Night...
 Stream #0:0(eng): Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709/unknown/unknown, progressive), 1278x720 [SAR 1:1 DAR 71:40], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn (default)
 Stream #0:1(eng): Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp
 Metadata:
 encoder : Lavc61.11.100 libvorbis
 Stream #0:2(eng): Subtitle: subrip
[out#0/matroska @ 000001b979895440] video:174005KiB audio:1635KiB subtitle:1KiB other streams:0KiB global headers:4KiB muxing overhead: 0.059971%



If I transcode both audio tracks it succeeds.


"ffmpeg.exe" -i "infile.mkv" -map 0:v:0 -c:v:0 copy -map 0:a:0 -c:a:0 aac -ac:a:0 2 -b:a:0 192000 -map 0:a:1 -c:a:1 aac -ac:a:1 2 -b:a:1 192000 -map 0:s:0 -c:s copy "Outfile.mkv"



If I just transcoding track 1 it works. Why does it fail when I only map audio track 2 ?


-
How to create a DASH VOD for Chromecast with ffmpeg ?
19 novembre 2020, par Oleg YablokovI need to serve long videos ( 2 hours) from a web server to mobile clients and the clients should be able to play the videos via
Chromecast
. I have chosenmpeg-dash
for this purpose : video encoder ish.264
(level 4.1), audio isaac
(although I've tried diffrent ones).

I've tried
ffmpeg
,MP4Box
and some other tools to generate videos ; most of the time I succeeded playing them on VLC or on a mobile client (locally), but not with Chromecast.

I've tried Amazon's
Elastic Transcoder
and it worked, but it gave me one big file whereas I need many small segments.

CORS are set.


Chromecast remote debugging didn't help much.


Do you know how to do this ?


-
ffmpeg.c what are pts and dts ? what does this code block do in ffmpeg.c ?
19 février 2014, par Aditya P- In simple terms what are pts and dts values ?
- Why are they important while transcoding [decode-encode] videos ?
What does this code bit do in ffmpeg.c , what is its purpose ?
01562 ist->next_pts = ist->pts = picture.best_effort_timestamp;
01563 if (ist->st->codec->time_base.num != 0) {
01564 int ticks= ist->st->parser ? ist->st->parser->repeat_pict+1 : ist->st->codec->ticks_per_frame;
01565 ist->next_pts += ((int64_t)AV_TIME_BASE *
01566 ist->st->codec->time_base.num * ticks) /
01567 ist->st->codec->time_base.den;
01568 }