Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (108)

Sur d’autres sites (14596)

  • How to stream videos from nodejs server

    14 mars 2018, par Jerkoco

    I’m currently streaming video directly via html video tag so I can only stream videos with browser supported formats (mp4 and webm).

    I want to allow streaming of .AVI, .MKV videos.
    My server runs Nodejs.

    How can I achieve that ?

  • Has Anyone concatenated two videos using ffmpeg

    22 juillet 2015, par vikram thakur

    I am a newbie to android development and my app is like vine app , but i am not able to concatenate two videos using ffmpeg libs . Can anyone provide a sample code or some reference

  • Merging 2 Mp4 videos Using FFMPEG [writing minds]

    17 mai 2018, par g7pro

    I’m trying to concatenate multiple videos[Different Source] on Android. I have already used ffmpeg for other needs,Its working fine.But here when am trying to merge videos[diff codecs in audio and video and resolution] it merges and give an output but The video output we get is corrupted after 5-10 seconds and cannot be played further.works fine if all videos are from same source. i can provide the videos i have used .

    This is the code i have used

    ffmpeg -i video1.avi -i video2.mp4 -i video3.webm -filter complex “[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]” -map “[v]” -map “[a]” output_video.mp4

    also i tried using

    -f concat -i " + path + "list.txt -c copy " + path + mergedVideoName + ".mp4

    All the videos used here are run under these command for making video resolution audio sample rate and video codecs same

    ffmpeg -i 2_NVW3BCYHFNZC4K09.mp4   -vf scale=1280:720,setsar=16:9  -ar 44100 test4.mp4 -hide_banner

    Gradle dependency used :

    compile 'com.writingminds:FFmpegAndroid:0.3.2'

    THIS CODE WORKS FINE WITH ANY VIDEOS IN SYSTEM[PC] AND NOT IN ANDROID DEVICE

    Thanks in advance