
Recherche avancée
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (12882)
-
FFmpeg and QuickTime Player dimensions of video do not match [duplicate]
31 mai 2020, par GRSI have a
video.mp4
, which I scaled using FFmpeg to getout.mp4
. The new video has the following probe :


{'streams': [{'index': 0,
 'codec_name': 'h264',
 'codec_long_name': 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
 'profile': 'High',
 'codec_type': 'video',
 'codec_time_base': '1/50',
 'codec_tag_string': 'avc1',
 'codec_tag': '0x31637661',
 'width': 886,
 'height': 1920,
 'coded_width': 896,
 'coded_height': 1920,
 'has_b_frames': 2,
 'sample_aspect_ratio': '5120:1329',
 'display_aspect_ratio': '16:9',
 'pix_fmt': 'yuv420p',
 'level': 40,
 'chroma_location': 'left',
 'refs': 1,
 'is_avc': 'true',
 'nal_length_size': '4',
 'r_frame_rate': '25/1',
 'avg_frame_rate': '25/1',
 'time_base': '1/12800',
 'start_pts': 0,
 'start_time': '0.000000',
 'duration_ts': 384512,
 'duration': '30.040000',
 'bit_rate': '490832',
 'bits_per_raw_sample': '8',
 'nb_frames': '751',
 'disposition': {'default': 1,
 'dub': 0,
 'original': 0,
 'comment': 0,
 'lyrics': 0,
 'karaoke': 0,
 'forced': 0,
 'hearing_impaired': 0,
 'visual_impaired': 0,
 'clean_effects': 0,
 'attached_pic': 0,
 'timed_thumbnails': 0},
 'tags': {'language': 'und', 'handler_name': 'VideoHandler'}}],
 'format': {'filename': 'out.mp4',
 'nb_streams': 1,
 'nb_programs': 0,
 'format_name': 'mov,mp4,m4a,3gp,3g2,mj2',
 'format_long_name': 'QuickTime / MOV',
 'start_time': '0.000000',
 'duration': '30.040000',
 'size': '1852948',
 'bit_rate': '493461',
 'probe_score': 100,
 'tags': {'major_brand': 'isom',
 'minor_version': '512',
 'compatible_brands': 'isomiso2avc1mp41',
 'encoder': 'Lavf58.20.100'}}}




I am expecting my video player to say the video is 886 x 1920, however, it is 3413:1920.




What could be the error ? I am using
pix_frmt=yuva420p
andcodec=libx264
to create the video.


The error is that my ascpect ratio remains 16:9, which is the original input video, when it should automatically change to 9:19. E.g.
3413 = 1920 * 16 / 9
. So why isn't the ascpect ratio changed when the video is scaled ?

-
swscale/aarch64/range_convert : saturate output instead of limiting input
24 septembre 2024, par Ramiro Pollaswscale/aarch64/range_convert : saturate output instead of limiting input
aarch64 A55 :
chrRangeFromJpeg8_1920_c : 28836.2 (1.00x)
chrRangeFromJpeg8_1920_neon : 5312.6 (5.43x) 5313.9 (5.43x)
chrRangeToJpeg8_1920_c : 44196.2 (1.00x)
chrRangeToJpeg8_1920_neon : 6034.6 (7.32x) 5551.3 (7.96x)
lumRangeFromJpeg8_1920_c : 15388.5 (1.00x)
lumRangeFromJpeg8_1920_neon : 3150.7 (4.88x) 3152.3 (4.88x)
lumRangeToJpeg8_1920_c : 23069.7 (1.00x)
lumRangeToJpeg8_1920_neon : 3873.2 (5.96x) 3628.7 (6.36x)aarch64 A76 :
chrRangeFromJpeg8_1920_c : 6334.7 (1.00x)
chrRangeFromJpeg8_1920_neon : 2264.5 (2.80x) 2344.5 (2.70x)
chrRangeToJpeg8_1920_c : 11474.5 (1.00x)
chrRangeToJpeg8_1920_neon : 2646.5 (4.34x) 2824.2 (4.06x)
lumRangeFromJpeg8_1920_c : 4453.2 (1.00x)
lumRangeFromJpeg8_1920_neon : 1104.8 (4.03x) 1104.5 (4.03x)
lumRangeToJpeg8_1920_c : 6645.0 (1.00x)
lumRangeToJpeg8_1920_neon : 1310.5 (5.07x) 1329.8 (5.00x) -
exec.Command not formating input correctly ?
20 mai 2016, par nadermxI’m having a bizzar issue. I have a ffmpeg I run as a subprocess
ffmpeg = exec.Command("nice", "-n", "10",
"ffmpeg",
"-http_proxy", RandomProxyAddress(),
"-i", fmt.Sprintf(`%s`, vi.GetUrl()),
"-acodec", "libmp3lame",
"-metadata", fmt.Sprintf(`title=%s`, vi.GetTitle()),
"-b:a", fmt.Sprintf("%s", vi.GetAudioQuality()),
"-threads", "0",
"-f", "mp3",
"-")But when I run this command I get
Server returned 403 Forbidden (access denied)
but when I run the command outside of go it functions correctly.
ffmpeg -http_proxy http://user:user@123.123.123.123:29842 -i 'https://r5---sn-uqx2-aphl.googlevideo.com/videoplayback?fexp=9405981%2C9414672%2C9416126%2C9416891%2C9422342%2C9422596%2C9423965%2C9425077%2C9428398%2C9431012%2C9432564%2C9433096%2C9433946%2C9434085%2C9435697%2C9435736%2C9435876%2C9437285%2C9437344&clen=3716608&itag=140&ipbits=0&upn=QpGXy0IIxmU&key=yt6&expire=1463728239&id=o-AIlDlUBTmu9UXu0yMp77VXR502YekQi98e6JpvbSzjo0&ms=au&gcr=pe&mv=m&source=youtube&mm=31&mn=sn-uqx2-aphl&pl=24&requiressl=yes&ip=190.234.105.134&mime=audio%2Fmp4&mt=1463706418&sparams=clen%2Cdur%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&lmt=1458211566542818&gir=yes&keepalive=yes&sver=3&dur=233.964&initcwndbps=563750&signature=53A8732F8841FC6AC6D6737B35B4EF6FC000F2F0.59E11FB2D3DF96F4C00CE8D84C28D3A546E04F78&ratebypass=yes' -acodec 'libmp3lame' -metadata 'title=This awesome song' -b:a '128k' -threads '0' -f 'mp3' test.mp3
Does it have something to do with my string formatting or quotations in the exec.Command ?
Edit :
fmt.Print output
nice-n10ffmpeg-http_proxyhttp://user:user@1.1.1.1:29842-ihttps://r17---sn-q4f7snes.googlevideo.com/videoplayback?pl=21&source=youtube&sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&upn=mwBuBq7HijI&keepalive=yes&nh=IgpwcjAzLmRmdzA2KgkxMjcuMC4wLjE&expire=1462445495&id=o-ADXLtGoWBQDEKqNcD9aFNT4IFc8EZ8gu_TwZfCshkmjs&lmt=1453349484731934&ip=142.91.200.197&sver=3&dur=264.382&mv=u&mt=1462423294&ms=au&mn=sn-q4f7snes&signature=6DD5ED6A89A2FB8A30DD7EBAA87333EDDFF1D832.B5D0C233EA672891006D2993A745E7224F29BF02&mm=31&itag=140&gir=yes&clen=4199716&mime=audio%2Fmp4&ipbits=0&requiressl=yes&key=yt6&fexp=9416126%2C9416891%2C9422596%2C9428398%2C9431012%2C9433096%2C9433946&ratebypass=yes-acodeclibmp3lame-ss0-metadatatitle=Khong Duong no sugar Music Video-b:a128k-threads0-fmp3-&{/usr/bin/nice [nice -n 10 ffmpeg -http_proxy http://user:user@1.1.1.1:29842 -i https://r17---sn-q4f7snes.googlevideo.com/videoplayback?pl=21&source=youtube&sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&upn=mwBuBq7HijI&keepalive=yes&nh=IgpwcjAzLmRmdzA2KgkxMjcuMC4wLjE&expire=1462445495&id=o-ADXLtGoWBQDEKqNcD9aFNT4IFc8EZ8gu_TwZfCshkmjs&lmt=1453349484731934&ip=142.91.200.197&sver=3&dur=264.382&mv=u&mt=1462423294&ms=au&mn=sn-q4f7snes&signature=6DD5ED6A89A2FB8A30DD7EBAA87333EDDFF1D832.B5D0C233EA672891006D2993A745E7224F29BF02&mm=31&itag=140&gir=yes&clen=4199716&mime=audio%2Fmp4&ipbits=0&requiressl=yes&key=yt6&fexp=9416126%2C9416891%2C9422596%2C9428398%2C9431012%2C9433096%2C9433946&ratebypass=yes -acodec libmp3lame -metadata title=Khong Duong no sugar Music Video -b:a 128k -threads 0 -f mp3 -] [] <nil> <nil> <nil> [] <nil> <nil> <nil> <nil> false [] [] [] [] <nil>}
</nil></nil></nil></nil></nil></nil></nil></nil>