mpeg-4

FFmpeg, how to embed cover art (image) to .m4a

假装没事ソ 提交于 2020-04-08 05:44:40
问题 Is there any way to embed cover art to m4a files? This one works well for mp3 but doesn't work for m4a ffmpeg -i tests/in.m4a -i cover.jpg -map 0:0 -map 1:0 -acodec copy \ -id3v2_version 3 tests/out.m4a 回答1: FFmpeg has an open issue on this functionality. In the meantime, covers can be added with the TagEditor project. To add: tageditor -s cover=ju.jpg --max-padding 100000 -f ki.m4a To remove: tageditor -s cover= --max-padding 100000 -f ki.m4a 回答2: mp4art from mp4v2 can also do this: mp4art -

FFmpeg, how to embed cover art (image) to .m4a

风流意气都作罢 提交于 2020-04-08 05:43:47
问题 Is there any way to embed cover art to m4a files? This one works well for mp3 but doesn't work for m4a ffmpeg -i tests/in.m4a -i cover.jpg -map 0:0 -map 1:0 -acodec copy \ -id3v2_version 3 tests/out.m4a 回答1: FFmpeg has an open issue on this functionality. In the meantime, covers can be added with the TagEditor project. To add: tageditor -s cover=ju.jpg --max-padding 100000 -f ki.m4a To remove: tageditor -s cover= --max-padding 100000 -f ki.m4a 回答2: mp4art from mp4v2 can also do this: mp4art -

How to create mpeg video from images in java [duplicate]

て烟熏妆下的殇ゞ 提交于 2020-01-03 05:49:13
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Java: How do I create a movie from an array of images? I have set of images in JPEG format that I want to convert into MPEG video with Java. How can it be done? 回答1: Look at Xuggler project: http://www.xuggle.com/xuggler/ 来源: https://stackoverflow.com/questions/11985706/how-to-create-mpeg-video-from-images-in-java

Android: mpeg4/H.264 packetization example

让人想犯罪 __ 提交于 2020-01-02 09:59:36
问题 I need to split mpeg4 video stream (actually from android video camera) to send it through RTP. The specification is little large for quick reference. I wonder if there any example/open source code for mpeg4 packetization? Thanks for any help ! 回答1: Mpeg4 file format is also called ISO/IEC 14496-14. Google it any you will find specifications. However, what you are trying to do (RTP publisher) will be hard for the following reasons: Mpeg4 has header at the end of the file. Which means header

MPEG4 extract from RTP payload

穿精又带淫゛_ 提交于 2020-01-02 09:19:37
问题 I'm trying to extract mpeg4 from an rtp payload , format of the rtsp media (video) is MP4V-ES but I'm not able to extract the mp4 from the payload . when I dump the extract into a raw file and use ffmpeg to convert it into .avi or .mpg its not working. I don't know what I'm missing here. the code is written in java. I want to extract each video frame from the rtp and save that in a file or retransmit it. Thanks Question UPDATED..... Thanks for the inputs, actually I'm able to extract bytes

MPEG4 AVC header size?

一笑奈何 提交于 2020-01-02 07:19:11
问题 Just one question : what is the size in bytes of the header of a .mp4 file ? The goal is to fuzz just this header. Thanks Karl 回答1: It depends. ISO media container format (.mp4) uses a strusture of elements called atoms . It depends on the number of tracks, the H.264 encoding properties, the muxers also like to put their names in the file in a free atom. Expect it to be at least 1 kByte. Anything over 4k is not very likely. If you encounter the string mdat (header of the movie data atom), the

Can you find key frame (I-frame) in h264 video without decoding? i.e. is it in packet?

萝らか妹 提交于 2020-01-02 07:04:36
问题 I need to know if I can find a I-frame without having to decode it first. I would like there to be some flag in AVPacket, but I can't see that there is one. Thanks. 回答1: You can certainly find location of I frame by looking up appropriate header code. If you parse the sequence you can find it from the start code. The H.264 bitstream is broken into sections called NAL units. These units have the 24 bit code 0x000001 preceding them for synchronization. After this there will be a unique start

Save rtsp stream into avi file with gstreamer

孤街浪徒 提交于 2019-12-24 09:48:44
问题 I have a video server which gives me a video & audio streams over rtsp. I can see it using gstreamer tool gst-launch with command: gst-launch-1.0 uridecodebin uri=rtsp://path/to/source ! autovideosink Now I need to store that video stream into file for subsequent playback in any popular video player (VLC, Windows Media Player and so on). I tried simply replace autovideosink with filesink location=file.avi and add -e option like recommended in that answer. File created but I think it's no in

GStreamer: status of Python bindings and encoding video with mixed audio

别说谁变了你拦得住时间么 提交于 2019-12-24 05:23:07
问题 I am hoping to find a way to write generated video (non-real time) from Python and mix it with external audio file (MP3) simultaneously. What's the current status of GStreamer Python bindings, are they up-to-date? Would it be possible to write MPEG-4 output with GStreamer and feed raw image frames from Python Is it possible to construct pipeline so that GStreamer would also read MP3 audio and mix it into the container, so that I do not need to reprocess the resulting video track with ffmpeg

silverlight mpeg-4

余生颓废 提交于 2019-12-23 18:45:55
问题 im currently working on a project, where I need to create a web video player. At the current state, my app plays recordings provided by client as motion JPEG and H264/AVC. The thing is, he also wants MPEG-4 part 2 (Visual), which i call mp4v. According to this page, mp4v is supported, but i can't get any sample to work with Silverlight. Even if this encoding is not supported by Silverlight, can I get my app to display this recordings without converting them? Is there any way to get this to