
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (49)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (5861)
-
ffmpeg : packet size 2073600 expected frame_size 4147200
11 novembre 2015, par mranaI have total 96 videos. I have converted most of videos using ffmpeg,
but for some videos its giving me some error.
As a first step I deinterlaced the video using the following command :ffmpeg -video_size 1920x1080 -r 25 -pixel_format yuv422p -i stockholm.yuv -vf yadif stockholm_deInt.yuv
And I am getting the following error :
[rawvideo @ 0x7fa144008c00] Invalid buffer size, packet size 2073600 < expected frame_size 4147200
Error while decoding stream #0:0 : Invalid argument
frame= 187 fps=3.7 q=-0.0 Lsize= 757350kB time=00:00:07.48 bitrate=829440.0kbits/s
video:757350kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.000000%When I try to get the info about the video (
ffprobe stockholm.yuv
) I get the following :[IMGUTILS @ 0x7fff5bac8140] Picture size 0x0 is invalid
[IMGUTILS @ 0x7fff5bac8150] Picture size 0x0 is invalid
[rawvideo @ 0x7fbcb200da00] Could not find codec parameters for stream 0 (Video : rawvideo (I420 / 0x30323449), yuv420p, -4 kb/s) : unspecified size
Consider increasing the value for the ’analyzeduration’ and ’probesize’ options
stockholm.yuv : Operation not permitted`Does anyone have any idea ?
-
ffmpeg : packet size 2073600 expected frame_size 4147200
18 avril 2020, par mranaI have total 96 videos. I have converted most of videos using ffmpeg, 
but for some videos its giving me some error. 
As a first step I deinterlaced the video using the following command :



ffmpeg -video_size 1920x1080 -r 25 -pixel_format yuv422p -i stockholm.yuv -vf yadif stockholm_deInt.yuv




And I am getting the following error :





[rawvideo @ 0x7fa144008c00] Invalid buffer size, packet size 2073600 < expected frame_size 4147200

 Error while decoding stream #0:0 : Invalid argument
 frame= 187 fps=3.7 q=-0.0 Lsize= 757350kB time=00:00:07.48 bitrate=829440.0kbits/s

 video:757350kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.000000%




When I try to get the info about the video (
ffprobe stockholm.yuv
) I get the following :




[IMGUTILS @ 0x7fff5bac8140] Picture size 0x0 is invalid

 [IMGUTILS @ 0x7fff5bac8150] Picture size 0x0 is invalid

 [rawvideo @ 0x7fbcb200da00] Could not find codec parameters for stream 0 (Video : rawvideo (I420 / 0x30323449), yuv420p, -4 kb/s) : unspecified size

 Consider increasing the value for the 'analyzeduration' and 'probesize' options
 stockholm.yuv : Operation not permitted`




Does anyone have any idea ?


-
Subprocess doesn't return expected result
8 avril 2023, par Gren ManSubprocess doesn't return expected result


I have been trying getting info from video files using ffprobe


But I stumbled upon unexpected results, here are some test I've done


First test


# ffprobe -v error -select_streams v:0 -show_entries stream=height,width -of csv=s=x:p=0 
proc = subprocess.Popen(['ffprobe', '-v', 'error', '-select_streams', 'v:0', '-show_entries', 
 'stream=height,width', '-of', 'csv=s=x:p=0 ', video_path],
 stdout=subprocess.PIPE, stdin=subprocess.PIPE)

# proc.stdout.read() Returns b'widthXheightt\r\n'
v_resolution = proc.stdout.read().decode('utf-8').replace('\r', '').replace('\n', '')
# Result 'widthXheight'



First test was successful.


Second test


# ffprobe -v error -select_streams v:0 -show_entries stream=display_aspect_ratio -of default=noprint_wrappers=1:nokey=1
proc = subprocess.Popen(['ffprobe', '-v', 'error', '-select_streams', 'v:0', '-show_entries',
 'stream=display_aspect_ratio','-of default=noprint_wrappers=1:nokey=1', video_path],
 stdout=subprocess.PIPE, stdin=subprocess.PIPE)

# proc.stdout.read() Returns b''
a_r = proc.stdout.read().decode('utf-8').replace('\r', '').replace('\n', '')
# Result ''



Hmm, this doesn't sounds right I thought result should be e.g. 16:9


I tried putting code to CMD which returned aforementioned result


Third test


# ffprobe -v error -select_streams v -of default=noprint_wrappers=1:nokey=1 -show_entries stream=r_frame_rate
proc = subprocess.Popen(['ffprobe', '-v', 'error', '-select_streams', 'v', '-of',
 'default=noprint_wrappers=1:nokey=1','-show_entries', 'stream=r_frame_rate',
 video_path], stdout=subprocess.PIPE, stdin=subprocess.PIPE)

# proc.stdout.read() Returns b'30/1'
fps = proc.stdout.read().decode('utf-8').replace('\r', '').replace('\n', '') + ' fps'
# Result 30/1 fps



Just as expected this returned subarashi result


But what happened in a second test ? Can somebody explain it to me ? I used stderr which returned :


Failed to set value 'foo.mp4' for option 'of default=noprint_wrappers=1:nokey=1': Option not found



Result of python code