Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (105)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (8561)

  • FFMPEG+video+video.js dont show up the video

    18 avril 2013, par user1843970

    I have a video content type where I want to show the video to the user. I downloaded video module and video.js for this purpose. I have successfully installed ffmpeg transcoder in apache serventer image description here

    Now I go to admin/config/media/video. Withing players tab I select HTML5 player for mp4 video and video.js to run HTML5 video like below :-

    enter image description here

    Now I go to Video Content Type and add Video field with Video Upload as its type and save it.The video is successfully converted but after clicking on play button nothing happens.

    enter image description here

    Need your help in this.

  • Show portrait video to landscape on Videojs player as HLS ffmpeg Laravel

    11 décembre 2020, par TwistCode

    I am currently using the ffmpeg library through laravel sdk. For the landscape videos I have no problem with the scaling filters application, but with the portrait videos I need the video to look like the thumbnail below :

    


    enter image description here

    


    But when I play the video, the player is distorted.

    


    enter image description here

    


    Note : It should be noted that when I work with horizontal scales, the player looks good, but the video is distorted.

    


    enter image description here

    


    enter image description here

    


    this is my PHP Laravel code implementation

    


                FFMpeg::FromDisk('local')->open($this->media)
            ->exportForHLS()
            ->setSegmentLength(6) // optional
            /*
            ->addFormat($lowBitrate, function ($media) {
                $media->addFilter(function ($filters, $in, $out) {
                    $filters->custom($in, 'scale=854x480,setsar=1,setdar=16:9', $out); // $in, $parameters, $out

                });
            })*/
            // Portrait test
            ->addFormat($lowBitrate, function ($media) { 
                $media->addFilter(function ($filters, $in, $out) {
                    // $filters->custom($in, "scale='w=min(720,trunc((480*33/40*dar)/2+0.5)*2):h=min(480,trunc((704*40/33/dar)/2+0.5)*2)',pad='w=720:h=480:x=(ow-iw)/2:y=(oh-ih)/2',setsar='r=40/33'", $out); // $in, $parameters, $out
                    $filters->custom($in, "scale=239:-1", $out); // $in, $parameters, $out
                });
            })
            /*
            ->addFormat($midBitrate, function ($media) {
                $media->scale(1280, 720);
            })
            ->addFormat($highBitrate, function ($media) {
                $media->scale(1920, 1080);
            })*/
            ->save("public/hls/$video->id/$video->hash_name.m3u8");


    


    This is the command that runs at the server level for portrait videos.

    


    


    [2020-12-10 17:48:17] local.INFO : ffmpeg running command
'/usr/bin/ffmpeg' '-y' '-threads' '12' '-i'
'/home/vagrant/homesteadprojects/maquillate/storage/app/videos_directory/pexels-cottonbro-6054875.mp4'
'-filter_complex' '[0]scale=640 :-2[v0]' '-map' '[v0]' '-vcodec'
'libx264' '-b:v' '1200k' '-g' '48' '-hls_playlist_type' 'vod'
'-hls_time' '6' '-hls_segment_filename'
'/home/vagrant/homesteadprojects/maquillate/storage/app/public/hls/35/NXp9waz4AO5Q14Lu6T3JbjSRY496RrtiPGIz6IOJ_0_1200_%05d.ts'
'-acodec' 'aac' '-b:a' '128k'
'/home/vagrant/homesteadprojects/maquillate/storage/app/public/hls/35/NXp9waz4AO5Q14Lu6T3JbjSRY496RrtiPGIz6IOJ_0_1200.m3u8'

    


    


    I don't really know if my problem is at the server or frontend level, but I would greatly appreciate any contribution.

    


  • Using ffmpeg with libfdk-aac, encoding HE-AAC v1 and mono actually, but in decoding ffmpeg show HE-AAC v2 and stereo [closed]

    13 novembre 2024, par olojzyg

    ffmpeg encode command :

    


    


    ffmpeg -i aac_128000_f32le_22050_1.wav -c:a libfdk_aac -profile:a
aac_he -b:a 64k -channels 1 test.aac

    


    


    output :

    


    [aist#0:0/pcm_s16le @ 000001d38ecfe340] Guessed Channel Layout: mono
  Input #0, wav, from 'aac_128000_f32le_22050_1.wav':   Duration: 00:00:06.48, bitrate: 359 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 352 kb/s
  Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (libfdk_aac)) 
  Press [q] to stop, [?] for help Output #0, adts, to 'test.aac':
  Metadata:
        encoder         : Lavf61.7.100   
        Stream #0:0: Audio: aac (HE-AAC), 22050 Hz, mono, s16, 64 kb/s
          Metadata:
            encoder         : Lavc61.19.100 libfdk_aac 
[out#0/adts @ 000001d38ecf8680] video:0KiB audio:53KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.000000%
 size=      53KiB time=00:00:06.47 bitrate=  67.0kbits/s speed= 296x


    


    but decode this test.aac, I think HE-AAC and mono is corrent, but it show HE-AAC v2 and stereo, why ?
decode command :

    


    


    ffmpeg -i test.aac -f null -

    


    


    decode output :

    


    [aac @ 0000020ffcab3d40] Estimating duration from bitrate, this may be inaccurate
 Input #0, aac, from 'test.aac':   Duration: 00:00:06.78, bitrate: 63 kb/s
 Stream #0:0: Audio: aac (HE-AACv2), 22050 Hz, stereo, fltp, 63 kb/s
 Stream mapping:
 Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help Output
#0, null, to 'pipe:':
   Metadata:
    encoder         : Lavf61.7.100
   Stream #0:0: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s
      Metadata:
        encoder         : Lavc61.19.100 pcm_s16le
[out#0/null @ 0000020ffcac8bc0] video:0KiB audio:584KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
size=N/A time=00:00:06.78 bitrate=N/A speed=1.6e+03x


    


    what happened ? test.aac is also displayed as 2 channels in Audition. But 1 channel is displayed in MediaInfo, and ADTS header is corrent :

    


    


    channel_configuration : 1 (0x1) - (3 bits)