Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (33)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une 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, par

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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (5191)

  • Cannot convert .ogg file to .mp3 or other file formats

    15 août 2020, par mancgain

    I am trying to convert ogg audio file to mp3 or other audio file formats that can be played in ios devices But ogg files are not being converted into other formats like mp3 and caf. I am testing the conversion in android device.

    


    This is my ffmpeg command arguments :

    


    Command: "ffmpeg -y -i $inputFilePath -c:a copy $outputFilePath"
Both input and output filenames were surrounded with quotations

 [-y, -i, /data/user/0/com.musicapp/files/composer_audios/testtt ogg file.ogg, -c:a, copy, /storage/emulated/0/Android/data/com.musicapp/files/ball.mp3]


    


    When I try to convert into mp3 . this error is thrown :

    


     FFmpeg exited with rc: 1
 [mp3 @ 0x73f7b36a00] Invalid audio stream. Exactly one MP3 audio stream is required.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


    


    When I try to convert into .caf file this error is thrown :

    


    
FFmpeg exited with rc: 1
 [caf @ 0x73f7b36a00] unsupported codec
 Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input



    


    But if I try to convert mp3 file to formats like caf, mkv, mp4, no error is thrown.

    


  • ffmpeg command to get master manifest file in hls where all renditions are pointed to a single m3u8 file [closed]

    28 décembre 2023, par user2975644

    ffmpeg command to get master manifest file in hls where all renditions are pointed to a single m3u8 file.The video reolutions are 360p,540p,720p and 1080p.

    


    I have tried with the below command but unable to get the desired output :

    


    ffmpeg -i Test_video.mp4

    


    -c:v libx264 -g 48 -keyint_min 48 -sc_threshold 0 -c:a aac -b:a 64k

    


    -vf "scale=640:360" -b:v 500k -maxrate 100k -bufsize 1000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 360p%03d.ts 360p.m3u8

    


    -vf "scale=960:540" -b:v 800k -maxrate 1600k -bufsize 1000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 540p%03d.ts 540p.m3u8

    


    -vf "scale=1280:720" -b:v 1500k -maxrate 3000k -bufsize 3000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 720p%03d.ts 720p.m3u8

    


    -vf "scale=1920:1080" -b:v 3000k -maxrate 6000k -bufsize 6000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 1080p%03d.ts 1080p.m3u8

    


    hls_playlist_type vod -master_pl_name master.m3u8

    


  • Converting .3gp file into mp4 file in android using ffmpeg

    8 août 2013, par user2171513

    I want to convert .3gp file into .mp4 file with resolution modified in Android using ffmpeg.
    I want to increase the resolution of the video from its standard resolution to 1920x1080.

    So far I have been successful in
    1) extracting .h264 video file from .3gp file and increase its resolution
    2) extracting .aac audio file from .3gp file.

    Now I want to combine them back into .mp4 file. The commands that I have used to extract this .h264 and .aac files are :

    ./ffmpeg -i 1.3gp -vbsf h264_mp4toannexb -s 1920x1080 1.h264
    ./ffmpeg -i 1.3gp -ab 160k -ac 2 -ar 48000 -vn -strict -2  1.aac

    The command that I have tried to merge them back is

    ./ffmpeg -i 1.h264 -i 1.aac -map 0:0 -map 1:0 -strict -2 1.mp4

    The 1.mp4 that gets generated at the end basically has audio only at few sync frames of video. (Thats what I feel , because the audio is present at specific intervals within the video)

    Can anyone please help in figuring out what am I missing here.

    EDIT :
    So basically I want to concat 4 different videos of 4 different resolution and type.

    1)

    ./ffmpeg -i 1.mp4
    Video: h264 (High), yuv420p, 1920x1080, 16959 kb/s, 29.85 fps, 90k tbr, 90k tbn, 180k tbc
    Audio: aac, 48000 Hz, stereo, s16, 106 kb/s

    2)

    ffmpeg -i 2.mp4
    Video: h264 (Constrained Baseline), yuv420p, 640x480, 3102 kb/s, 29.99 fps, 90k tbr, 90k tbn, 180k tbc
    Audio: aac, 48000 Hz, stereo, s16, 93 kb/s

    3)

    ffmpeg -i 3.3gp
    Video: h263, yuv420p, 1408x1152 [PAR 12:11 DAR 4:3], 2920 kb/s, 15 fps, 15 tbr, 15360 tbn, 29.97 tbc
    Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s

    4)

    ffmpeg -i 4.3gp
    Video: h264 (High), yuv420p, 352x288 [PAR 12:11 DAR 4:3], 216 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
    Audio: aac, 44100 Hz, stereo, s16, 92 kb/s

    So I am converting them to mpegts using following commands

    ./ffmpeg -i 1.mp4 -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 1.ts
    ./ffmpeg -i 2.mp4 -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 2.ts
    ./ffmpeg -i 3.3gp -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 3.ts
    ./ffmpeg -i 4.3gp -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 4.ts

    then concatenating the .ts files into f.ts and then creating a final .mp4 file from it using

    cat 1.ts 2.ts 3.ts 4.ts > f.ts
    ./ffmpeg -i f.ts -c copy -bsf:a aac_adtstoasc output.mp4

    But my f.ts also doesnt seem to play correctly in VLC on linux, it plays first 2 mp4's video + audio and it plays last .3gp's audio only.(Same for output.mp4 too) Could you please help me in figuring out what am I missing ?

    Thanks