mp4

webRTC convert webm to mp4 with ffmpeg.js

北城以北 提交于 2019-12-03 08:26:44
问题 I am trying to convert webM files to mp4 with ffmpeg.js. I am recording a video from canvas(overlayer with some information) and recording the audio data from the video. stream = new MediaStream(); var videoElem = document.getElementById('video'); var videoStream = videoElem.captureStream(); stream.addTrack(videoStream.getAudioTracks()[0]); stream.addTrack(canvas.captureStream().getVideoTracks()[0]); var options = {mimeType: 'video/webm'}; recordedBlobs = []; mediaRecorder = new MediaRecorder

existing swf mp4 player? [closed]

南楼画角 提交于 2019-12-03 08:02:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I have a mp4 file put in my website, say http://example.com/a.mp4, I want a swf player that can be embedded into my html, and play the mp4 file. I don't know how to write actionscript so I just want to have an existing swf file. Requirement: small, fancy, full function, ad free. Thanks. 回答1: There are plenty of

ffmpeg screen blending mode makes transparent png pink

佐手、 提交于 2019-12-03 07:29:52
I have a sequence of PNG files with transparency - I'd like screen-blend them on top of a video ffmpeg -i video.mp4 -i "Images/%03d.png" -filter_complex "blend=all_mode='screen':all_opacity=0.7" output.mp4 the images are indeed merged on top of the video but with a pink overlay ?! I also tried to add "-vcodec png" and "-vcodec libx264" and to try a .mov video but got the same result. ffmpeg version N-58061-g5231eec Copyright (c) 2000-2013 the FFmpeg developers built on Nov 14 2013 05:35:15 with gcc 4.6 (Debian 4.6.3-1) configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root

How to stream live video in HTML5?

我与影子孤独终老i 提交于 2019-12-03 07:12:00
问题 I'm looking for a way to broadcast a live video taken from a webcam or camera rooted to a PC. The broadcast should be displayed in a HTML5 page using the tag (which support rtp, and rtsp I think). The user viewing the stream should not have to install any plug-in or video player such as QuickTime. I need the video to be in mp4 format such as: rtsp://www.mywebsite/streaming/video.mp4 This would be the link I'd put as the src of the html 5 video tag. So I'd like to know if it's possible, what

Playing MP4 files in Firefox using HTML5 video

两盒软妹~` 提交于 2019-12-03 05:41:47
I have searched around quite a bit but have not solved my problem. I have a video tag running as follows: <video class="ne" src="{{ page | video_url }}" muted="true" volume="0" controls width="720" height="480" poster="{{ page | video_poster_image_url }}" type="video/mp4"> </video> I am using Jekyll for the URLs. They work fine. The site is live at switzerlandllc.com . Click any video in FF and it shows an image and an X. Chrome and other browsers work fine. If you grab the source of a video and load it in a new tab it plays fine. At least it does for me. I have added: AddType video/ogg .ogv

Real Time Streaming to HTML5 (with out webrtc) just using video tag

柔情痞子 提交于 2019-12-03 05:09:08
问题 I would like to wrap real time encoded data to webm or ogv and send it to an html5 browser. Can webm or ogv do this, Mp4 can not do this due to its MDAT atoms. (one can not wrap h264 and mp3 in real time and wrap it and send it to the client) Say I am feeding the input from my webcam and audio from my built in mic. Fragmented mp4 can handle this but its an hassle to find libs to do that). I need to do this cuz I do not want to send audio and video separably. If I did send it separably,

Can't Download from youtube

折月煮酒 提交于 2019-12-03 04:49:37
I have a script that downloads mp4 files from youtube. What it does is to generate link of the form http://youtube.com/get_video?video_id= *VIDEO_ID*&&t=*THE_TOKEN*=&fmt=18&asv=2, but it doesn't work anymore (noticed it today). What do you think? jhartz Instead of trying to use get_video to get the video, try parsing fmt_url_map (format-url map) instead. You should be able to find the fmt_url_map in the same place you found the token (like in the flashvars of the YouTube flash video player or inside the YouTube page somewhere). If you can't find it, send a request to http://www.youtube.com/get

Stream video with rtmp and videojs

寵の児 提交于 2019-12-03 04:18:15
I looking for a way to stream play videos with rtmp. I use video-js but it doesn't work. Firebug return an error : L'attribut « type » spécifié sur « video/flash » n'est pas géré. Le chargement de la ressource média rtmp://server.com/vod/mp4:foo/bar/my_video.mp4 a échoué. VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this video. MediaError { code=4, message="No compatible source was found for this video." HTML code : <!doctype html> <html lang="fr" class="no-js"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />

Save continuous RTSP stream to 5-10 minute long mp4 files

时间秒杀一切 提交于 2019-12-03 03:17:43
问题 How can I keep the flow (protocol rtsp, codec h264) in file (container mp4)? That is, on inputting an endless stream (with CCTV camera), and the output files in mp4 format size of 5-10 minutes of recording time. OS: debian, ubuntu Software: vlc, ffmpeg (avconv) Currently this scheme is used: cvlc rtsp://admin:admin@10.1.1.1:554/ch1-s1 --sout=file/ts:stream.ts ffmpeg -i stream.ts -vcodec copy -f mp4 stream.mp4 But it can not record video continuously (between restarts vlc loses about 10

Convert compressed swf to mp4

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm looking for a batch script to convert swf to mp4, lossless. I tried using both ffmpeg and handbrake, but apparently swf is compressed and I can't convert them this way. ffmpeg -i input -c:v libx264 -preset ultrafast -qp 0 output.mkv HandBrakeCLI -i source -o destination I know I acn use a tool like xilisoft, but I've more than 3000 videos and would need to run this automatically. Is there a script/ algorithm that can help me automate this process? 回答1: Get gnash: git clone git://git.sv.gnu.org/gnash.git You'll need a bunch of