
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
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 -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
De près ou de loin...
29 avril 2011, parIls ne le savent pas forcément mais sont indispensables
MediaSPIP est un logiciel open-source, il se base sur d’autres logiciels, et d’autres logiciels lui sont également nécessaires pour fonctionner ... Les personnes ici listées ne savent pas forcément qu’elles ont un rôle important dans le développement, elles ont apporté leur connaissances dans le cadre de la création d’une partie de ces éléments nécessaires ou ont écrit des articles permettant de comprendre certaines choses... il semble indispensable (...)
Sur d’autres sites (2631)
-
How to remove tx3g stream from m4a file [closed]
12 novembre 2023, par KWottrichI have an audiobook that I'm trying to play on my phone. My audio app of choice is struggling with the file, and I think it's because there's an additional stream in the file that it can't handle. VLC for Android plays the file without issue, but I'd rather use my audio app of choice.


When I open the m4a file in VLC for Windows, I see two streams :




I want to get rid of the tx3g stream, and just keep the audio stream. So I turned to ffmpeg to try to copy over only the audio stream. However, no matter what I try, the tx3g stream seems to come along for the ride. I referred to this post to figure out how to remove the tx3g stream, but so far I've been unsuccessful. Can anyone help me figure out how to remove just the tx3g track ? Ideally, I'd like to keep the metadata and album art as well.


I tried to run
ffmpeg -i input.m4a -map 0:a:0 -sn -dn -c copy output.m4a
, but the tx3g stream is still there. Here is the command output :

ffmpeg version 2021-12-06-git-ef00d40e32-essentials_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 11.2.0 (Rev2, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
 libavutil 57. 10.101 / 57. 10.101
 libavcodec 59. 14.100 / 59. 14.100
 libavformat 59. 9.102 / 59. 9.102
 libavdevice 59. 0.101 / 59. 0.101
 libavfilter 8. 19.100 / 8. 19.100
 libswscale 6. 1.101 / 6. 1.101
 libswresample 4. 0.100 / 4. 0.100
 libpostproc 56. 0.100 / 56. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002773b2db200] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '.\input.m4a':
 Metadata:
 major_brand : M4A
 minor_version : 512
 compatible_brands: isomiso2
 artist : [removed]
 title : [removed]
 album : [removed]
 date : 2020
 genre : Audiobook
 track : 1/22
 disc : 1/1
 comment : [removed]
 copyright : [removed]
 encoder : Lavf58.29.100
 Duration: 00:01:45.14, start: 0.000000, bitrate: 132 kb/s
 Chapters:
 Chapter #0:0: start 0.000000, end 105.000000
 Metadata:
 title : [removed]
 Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](und): Data: bin_data (text / 0x74786574), 0 kb/s
 Metadata:
 creation_time : 2021-11-29T16:23:41.000000Z
 Stream #0:2[0x0]: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic)
Output #0, ipod, to 'output.m4a':
 Metadata:
 major_brand : M4A
 minor_version : 512
 compatible_brands: isomiso2
 artist : [removed]
 title : [removed]
 album : [removed]
 date : 2020
 genre : Audiobook
 track : 1/22
 disc : 1/1
 comment : [removed]
 copyright : [removed]
 encoder : Lavf59.9.102
 Chapters:
 Chapter #0:0: start 0.000000, end 105.000000
 Metadata:
 title : [removed]
 Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 1632kB time=00:01:45.11 bitrate= 127.2kbits/s speed=1.48e+04x
video:0kB audio:1612kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.233040%



-
Cannot extract audio tracks from video using ffmpeg
29 juillet 2021, par MentosI tried to extract and transcode audio tracks from video, but I got an error :
Filter split:output1 has an unconnected output
. How to fix this problem ?

ffmpeg command :


ffmpeg -i video.mp4 -filter_complex [0]split=2[s0][s1] -map [s0] -c:a aac -dn -map -0:v? -map 0:1 -map_chapters -1 -map_metadata -1 -sn video-0.aac -map [s1] -ac 2 -c:a aac -dn -map -0:v? -map 0:2 -map_chapters -1 -map_metadata -1 -sn video-1.aac -y



fprobe full output (strip information about chapters) :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 title : SomeTitle
 encoder : Lavf58.45.100
 Duration: 00:21:35.58, start: 0.000000, bitrate: 10591 kb/s
 Chapters:
 Chapter #0:0: start 0.000000, end 70.000000
 Metadata:
 title : Chapter 1
...
...
 Chapter #0:20: start 1278.000000, end 1295.584000
 Metadata:
 title : Last Chapter
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 9754 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1(rus): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Side data:
 audio service type: main
 Stream #0:2(eng): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 640 kb/s
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Side data:
 audio service type: main
 Stream #0:3(eng): Data: bin_data (text / 0x74786574), 0 kb/s
 Metadata:
 handler_name : SubtitleHandler



-
ffmpeg timing metadata values differ from the ffprobe output
17 mai 2021, par loretoparisiWhen printing the
ffmetadata
metadata of an audio file with theffmpeg
command :

ffmpeg -i INPUT.mp4 -f ffmetadata FFMETADATAFILE



the approximation of the timing values fields
start
andend
in the[CHAPTER]
object :

[CHAPTER]
TIMEBASE=1/1000
START=533975
END=586975
title=Meltdown/Spectre patched



is different from the same timing metadata, obtained using the
JSON
output withffprobe
the command :

ffprobe -i INPUT.mp4 -show_chapters -print_format json



that is


{
 "id": 2,
 "time_base": "1/1000",
 "start": 534000,
 "start_time": "534.000000",
 "end": 587000,
 "end_time": "587.000000",
 "tags": {
 "title": "Meltdown/Spectre patched"
 }
 }



where
start_time
isstart
andend_time
isend
of theffmpeg
output. Is there a way to handle the timing info theffprobe
metadata output ?