
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (71)
-
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (11067)
-
Debugging FFMPEG Code (libavformat files breakpoint)
17 octobre 2024, par Holy_diverI tried setting up ffmpeg for debugging, a partial success. Been able to setup debug points in top level code but not inside libavformat code files. Any idea how to compile to be able to do so.


Setup :


./configure --enable-debug=3 --disable-optimizations --disable-decoder=vp9 --disable-decoder=hevc --enable-nvenc --enable-nvdec --enable-cuda --enable-cuvid --enable-nonfree --enable-gpl --extra-cflags="-I/usr/local/cuda/include" --extra-ldflags="-L/usr/local/cuda/lib64" --enable-shared --enable-libx264 --enable-gpl --disable-stripping

make clean

make -j8



VS CODE SETUP


{
 "name": "(gdb) Launch",
 "type": "cppdbg",
 "request": "launch",
 "program": "${workspaceFolder}/ffmpeg_master/FFmpeg/ffmpeg_g",
 "args": ["-loglevel","trace","-i", "/home/ubuntu/ffmpeg_test/testfiles/LiveOff.HEIC" ,"-map", "0","out%d.png"],
 "stopAtEntry": false,
 "cwd": "${workspaceFolder}/ffmpeg_master/FFmpeg",
 "environment": [],
 "externalConsole": false,
 "MIMode": "gdb",
 "setupCommands": [
 {
 "description": "Enable pretty-printing for gdb",
 "text": "-enable-pretty-printing",
 "ignoreFailures": true
 },
 {
 "description": "Set Disassembly Flavor to Intel",
 "text": "-gdb-set disassembly-flavor intel",
 "ignoreFailures": true
 }
 ]
 } {
 "name": "(gdb) Launch",
 "type": "cppdbg",
 "request": "launch",
 "program": "${workspaceFolder}/ffmpeg_master/FFmpeg/ffmpeg_g",
 "args": ["-loglevel","trace","-i", "/home/ubuntu/ffmpeg_test/testfiles/LiveOff.HEIC" ,"-map", "0","out%d.png"],
 "stopAtEntry": false,
 "cwd": "${workspaceFolder}/ffmpeg_master/FFmpeg",
 "environment": [],
 "externalConsole": false,
 "MIMode": "gdb",
 "setupCommands": [
 {
 "description": "Enable pretty-printing for gdb",
 "text": "-enable-pretty-printing",
 "ignoreFailures": true
 },
 {
 "description": "Set Disassembly Flavor to Intel",
 "text": "-gdb-set disassembly-flavor intel",
 "ignoreFailures": true
 }
 ]
 }



-
libavcodec : vp8 neon optimizations for aarch64
31 janvier 2019, par Magnus Rööslibavcodec : vp8 neon optimizations for aarch64
Partial port of the ARM Neon for aarch64.
Benchmarks from fate :
benchmarking with Linux Perf Monitoring API
nop : 58.6
checkasm : using random seed 1760970128
NEON :
- vp8dsp.idct [OK]
- vp8dsp.mc [OK]
- vp8dsp.loopfilter [OK]
checkasm : all 21 tests passed
vp8_idct_add_c : 201.6
vp8_idct_add_neon : 83.1
vp8_idct_dc_add_c : 107.6
vp8_idct_dc_add_neon : 33.8
vp8_idct_dc_add4y_c : 426.4
vp8_idct_dc_add4y_neon : 59.4
vp8_loop_filter8uv_h_c : 688.1
vp8_loop_filter8uv_h_neon : 216.3
vp8_loop_filter8uv_inner_h_c : 649.3
vp8_loop_filter8uv_inner_h_neon : 195.3
vp8_loop_filter8uv_inner_v_c : 544.8
vp8_loop_filter8uv_inner_v_neon : 131.3
vp8_loop_filter8uv_v_c : 706.1
vp8_loop_filter8uv_v_neon : 141.1
vp8_loop_filter16y_h_c : 668.8
vp8_loop_filter16y_h_neon : 242.8
vp8_loop_filter16y_inner_h_c : 647.3
vp8_loop_filter16y_inner_h_neon : 224.6
vp8_loop_filter16y_inner_v_c : 647.8
vp8_loop_filter16y_inner_v_neon : 128.8
vp8_loop_filter16y_v_c : 721.8
vp8_loop_filter16y_v_neon : 154.3
vp8_loop_filter_simple_h_c : 387.8
vp8_loop_filter_simple_h_neon : 187.6
vp8_loop_filter_simple_v_c : 384.1
vp8_loop_filter_simple_v_neon : 78.6
vp8_put_epel8_h4v4_c : 3971.1
vp8_put_epel8_h4v4_neon : 855.1
vp8_put_epel8_h4v6_c : 5060.1
vp8_put_epel8_h4v6_neon : 989.6
vp8_put_epel8_h6v4_c : 4320.8
vp8_put_epel8_h6v4_neon : 1007.3
vp8_put_epel8_h6v6_c : 5449.3
vp8_put_epel8_h6v6_neon : 1158.1
vp8_put_epel16_h6_c : 6683.8
vp8_put_epel16_h6_neon : 831.8
vp8_put_epel16_h6v6_c : 11110.8
vp8_put_epel16_h6v6_neon : 2214.8
vp8_put_epel16_v6_c : 7024.8
vp8_put_epel16_v6_neon : 799.6
vp8_put_pixels8_c : 112.8
vp8_put_pixels8_neon : 78.1
vp8_put_pixels16_c : 131.3
vp8_put_pixels16_neon : 129.8Signed-off-by : Magnus Röös <mla2.roos@gmail.com>
-
How to debug "Error in pull function & Input buffer exhausted" ?
15 septembre 2021, par user16909319Introduction :


I'm working on a Discord Music Bot for personal use only. Basically, when I play a 2min song with the bot, it plays the song for 1min 30secs, then skips it and plays the next one in the queue. The error is shown below :




Error in Pull Function

IO error : Error number -10054 occurred

[mov,mp4,m4a,3gp,3g2,mj2 @ 0000018f86a6f4c0] Packet corrupt (stream = 0, dts = 11154432).

Input buffer exhausted before END element found

Invalid Data found when processing Input

[mov,mp4,m4a,3gp,3g2,mj2 @ 0000018f86a6f4c0] stream 0, offset 0x3e805c : partial file



The code block which I think is causing the problem :


Search song method


async def search_song(self, amount, song, get_url=False):
 info = await self.bot.loop.run_in_executor(None, lambda: youtube_dl.YoutubeDL(ytdl_format_options).extract_info(
 f"ytsearch{amount}:{song}", download=False, ie_key="YoutubeSearch"))
 if len(info["entries"]) == 0: return None

 return [entry["webpage_url"] for entry in info["entries"]] if get_url else info



Play_song method


async def play_song(self, ctx, song):
 url = pafy.new(song).getbestaudio().url
 ctx.voice_client.play(discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(url, executable="C:/ffmpeg/bin/ffmpeg.exe")),
 after=lambda error: self.bot.loop.create_task(self.check_queue(ctx)))
 ctx.voice_client.source.volume = 0.5



Formatting Options I provided :


ytdl_format_options = {
 'format': 'bestaudio/best',
 'outtmpl': '%(extractor)s-%(id)s-%(title)s.%(ext)s',
 'restrictfilenames': True,
 'noplaylist': True,
 'nocheckcertificate': True,
 'ignoreerrors': True,
 'logtostderr': False,
 'quiet': True,
 'no_warnings': True,
 'default_search': 'auto',
 'source_address': '0.0.0.0'
}



Solutions that I've tried :


- 

- Running it on both Replit and locally.
- Redownloading FFmpeg
- Ensuring FFmpeg, pafy, and youtube_dl are all up to date.








Things to Note :


- 

- Playing a 2mins song, it stops after 1min 30 seconds and displays the error above. (75% of the song)
- Playing a 1hr song, it still continues after 10 minutes.






I do not have much experience in this yet so I'm not entirely sure where in my code is actually causing this issue or other ways which I can use to test and fix the issue.