
Recherche avancée
Autres articles (35)
-
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 -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6789)
-
Cannot play audio with FFPLAY
2 avril 2020, par Javier UrrestarazuI am trying to stream the sound of a Linux machine via UDP to a Windows 7 64 bit machine. The command for streaming the audio is :



./ffmpeg -f oss -i /dev/dsp -f mpegts udp://192.168.99.35:11222




It seems to work well. However, when I try to play the audio with the following command :



ffplay -fflags nobuffer udp://127.0.0.1:11222




I get the following error : No more combinations to try audio open failed



And nothing plays. I have no clue where the issue is coming from.


-
How to use ffmpeg faststart flag programmatically ?
18 mars 2020, par Evgeniy KharchenkoI try to convert videos for playback on Android using H264, AAC codecs and mp4 container. Video plays normaly with non-system players. But system player shows error "Can't play this video".
I found out that the problem is in moov atom, which is writed in the end of the file.
When I use "-movflags +faststart" ffmeg flag to convert video, it plays normal, but when I try to do that programmatically, it gives no result. I use following code :



av_dict_set( &dict, "movflags", "faststart", 0 );
ret = avformat_write_header( ofmt_ctx, &dict );



-
Destreamer (FFMPEG / Youtube-DL) - Can't download video, Invalid DTS, Invalid timestamps message
1er avril 2020, par toprun91I'm using Destreamer a program that essentially lets you download microsoft stream videos by passing a key URL with a cookie down to Youtube-dl which then calls into ffmpeg.



Whenever I try to download a video using this program I get tons of repeating lines of text (errors ?) like this :



[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56400120, dts=56402820, size=6081
[mp4 @ 0000024876f525c0] Invalid DTS: 53717850 PTS: 53715150 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56406060, dts=56412090, size=6145
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56412090, dts=56414880, size=6515
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56406060, dts=56412090, size=6145
[mp4 @ 0000024876f525c0] Invalid DTS: 53727120 PTS: 53721090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56412090, dts=56414880, size=6515
[mp4 @ 0000024876f525c0] Invalid DTS: 53729910 PTS: 53727120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56418030, dts=56420820, size=6780
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56418030, dts=56420820, size=6780
[mp4 @ 0000024876f525c0] Invalid DTS: 53735850 PTS: 53733060 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56424060, dts=56430090, size=6668
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56430090, dts=56432880, size=6995
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56424060, dts=56430090, size=6668
[mp4 @ 0000024876f525c0] Invalid DTS: 53745120 PTS: 53739090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56430090, dts=56432880, size=6995
[mp4 @ 0000024876f525c0] Invalid DTS: 53747910 PTS: 53745120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56436120, dts=56442060, size=6342
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56442060, dts=56444850, size=6110
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56436120, dts=56442060, size=6342
[mp4 @ 0000024876f525c0] Invalid DTS: 53757090 PTS: 53751150 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56442060, dts=56444850, size=6110
[mp4 @ 0000024876f525c0] Invalid DTS: 53759880 PTS: 53757090 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56448090, dts=56454030, size=5750
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56454030, dts=56456820, size=6514
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56448090, dts=56454030, size=5750
[mp4 @ 0000024876f525c0] Invalid DTS: 53769060 PTS: 53763120 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56454030, dts=56456820, size=6514
[mp4 @ 0000024876f525c0] Invalid DTS: 53771850 PTS: 53769060 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56460060, dts=56466090, size=6843
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56466090, dts=56468880, size=7053
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56460060, dts=56466090, size=6843
[mp4 @ 0000024876f525c0] Invalid DTS: 53781120 PTS: 53775090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56466090, dts=56468880, size=7053
[mp4 @ 0000024876f525c0] Invalid DTS: 53783910 PTS: 53781120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56472120, dts=56478060, size=6297
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56478060, dts=56480850, size=6633
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56472120, dts=56478060, size=6297
[mp4 @ 0000024876f525c0] Invalid DTS: 53793090 PTS: 53787150 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56478060, dts=56480850, size=6633
[mp4 @ 0000024876f525c0] Invalid DTS: 53795880 PTS: 53793090 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56484090, dts=56490120, size=6026
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56490120, dts=56492820, size=6428
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56484090, dts=56490120, size=6026
[mp4 @ 0000024876f525c0] Invalid DTS: 53805150 PTS: 53799120 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56490120, dts=56492820, size=6428
[mp4 @ 0000024876f525c0] Invalid DTS: 53807850 PTS: 53805150 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56496060, dts=56502090, size=5738
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56502090, dts=56504880, size=5911
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56496060, dts=56502090, size=5738
[mp4 @ 0000024876f525c0] Invalid DTS: 53817120 PTS: 53811090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56502090, dts=56504880, size=5911
[mp4 @ 0000024876f525c0] Invalid DTS: 53819910 PTS: 53817120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56508030, dts=56514060, size=5860
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56514060, dts=56516850, size=6851
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56508030, dts=56514060, size=5860
[mp4 @ 0000024876f525c0] Invalid DTS: 53829090 PTS: 53823060 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56514060, dts=56516850, size=6851
[mp4 @ 0000024876f525c0] Invalid DTS: 53831880 PTS: 53829090 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56520090, dts=56526120, size=7342
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56526120, dts=56528820, size=7951
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56520090, dts=56526120, size=7342
[mp4 @ 0000024876f525c0] Invalid DTS: 53841150 PTS: 53835120 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56526120, dts=56528820, size=7951
[mp4 @ 0000024876f525c0] Invalid DTS: 53843850 PTS: 53841150 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56532060, dts=56538090, size=7998
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56538090, dts=56540790, size=8181
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56532060, dts=56538090, size=7998
[mp4 @ 0000024876f525c0] Invalid DTS: 53853120 PTS: 53847090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56538090, dts=56540790, size=8181
[mp4 @ 0000024876f525c0] Invalid DTS: 53855820 PTS: 53853120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56544030, dts=56550060, size=8707
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56550060, dts=56552850, size=8878
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56544030, dts=56550060, size=8707
[mp4 @ 0000024876f525c0] Invalid DTS: 53865090 PTS: 53859060 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56550060, dts=56552850, size=8878
[mp4 @ 0000024876f525c0] Invalid DTS: 53867880 PTS: 53865090 in output stream 0:0, replacing by guess




This continues to fill the screen and scroll with the same type of lines of text and then after a couple of hours it does eventually download the video but without sound.



I am trying to work out why this is happening and why the video downloads without sound.



Some key information :



- 

- I am using windows + powershell but also experience the same thing on
Linux (Kubuntu)
- I am using the latest versions of FFMPEG, youtube-dl node.js
- The program (destreamer) brings up a chromium window to authenticate.
In the Chromium window the video doesn't actually play properly and
gives Error code 0x20400003 The video plays fine in all other
browsers I have including Edge, Chrome, and Firefox









Thanks for your help !