
Recherche avancée
Autres articles (46)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Submit bugs and patches
13 avril 2011Unfortunately 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 (7097)
-
Changing container using FFMPEG produces NAL unit error
28 avril 2015, par MazzeBackground :
My current videofile is put in a Linux based system that streams content (RTP) to other users. I’m filming and sending the content to the server after I change the and make sure the encoding is correct I stumble upon issues.
I’ve tried doing this using
ffmpeg
, however the system I’m injecting this file in won’t recognize it and stream it to another device.I’m doing all the transcoding and such on a Windows system
C:\Users\mazdak\Documents\Projects\ffmpeg\bin>ffmpeg -y -i input.mp4 -pix_fmt yuv420p -c:v libx264 -profile:v main -level:v 4.1 -color_range 0 -colorspace bt709 -x264opts colorprim=bt709:transfer=bt709:bframes=1 -an output.mkv
Error :
What I’m getting isStreamMedia exception ry: Unexpected NAL unit type: 9
(...)
StreamMedia exception ry: First media frame must be sync pointMaybe I’m not preparing it for RTSP ? Is that the issue. Cause what I see is that the files that are able to stream are encoded using Gstreamer
So I thought.. perhaps
ffmpeg
does not do that ? well let’s givegst-launch
a try.
I need pointers as to how to go about this.What I have :
- OSSBuild of GStreamer
ffmpeg utils
input.mp4
- H264 Main profile L3.1 - Pixel format yuvj420p- Audio in container
What I need (probably) :
-
output.mkv
- H264 Main profile L4.1 - Pixel format yuv420p - RTP prepared (rtph264pay module) -
Audio removed
I have
h264_analyze
output from both the movie I filmed. From the movie that is successfully streamed, and the movies from my attempts withffmpeg
-
Piping stdout on windows to docker container running linux
13 avril 2015, par kolpaxI need to pipe the output of a program that only runs on Windows, to another program that only runs on Linux. (The programs are very similar to FFMPEG in functionality so for testing I’m piping FFMPEG stdout on Windows to FFMPEG stdin on Linux.)
I am using Docker to run a Linux container on Windows. Docker supports piping data from the host to the Docker container like this :
ffmpeg -i <input /> -c:a copy -v:a copy -f mpegts - | docker run ffmpeg-container -f mpegts -i - -c:a copy -c:v copy <output>
</output>But Docker on Windows runs in a virtual machine and doesn’t have a native client, which means I can’t pipe directly to the container. So far I haven’t been able to find any examples or discussions about piping data through the virtual machine on Windows.
I have tried alternative solutions like using
netcat
for piping but it has a much too slow throughput :Windows :
ffmpeg -i <input /> -c:a copy -v:a copy -f mpegts - | ncat <ip address="address"> <port>
</port></ip>Linux :
nc -l <ip address="address"> <port> | ffmpeg -f mpegts -i - -c:a copy -c:v copy <output>
</output></port></ip>Transcoding purely in Windows yields about 100 FPS, while the netcat solution runs at 0.1 FPS. I am hoping that piping directly will give a better result.
Other solutions I’ve tried involve streaming the data from FFMPEG to FFMPEG using UDP - just to have the output come out of stdout, but the data was corrupted during the transfer. I suspect the problem was in the packets arriving out of order.
Any solutions similar to these will be greatly appreciated. The content is video data so solutions that uses FFMPEG to get the data across are acceptable.
-
How to convert raw H.264 stream from video call to mp4 file
30 mars 2015, par DanielI have captured a SIP point to point video call using wireshark and I used the program ’videosnarf’ on Ubuntu 12.04 to extract the raw H.264 stream from the PCAP. I am having some problems with ffmpeg when trying to convert it to MP4. Below is the ffprobe output :
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
codec_type=video
codec_time_base=1/2400000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=704
height=396
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=51
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/1200000
start_time=N/A
duration=N/A
[/STREAM]Here is the command I used to generate the MP4 :
ffmpeg -f h264 -i H264-media-3.264 -vcodec copy output.mp4
When I transfer the file to my Windows PC, I can’t open the file in VLC. When opening in Windows Media Player (not sure the version but it’s on Windows 8) it plays but very quickly (almost as if it’s playing in fast forward. I also tried with :
ffmpeg -f h264 -i H264-media-3.264 -vcodec copy -r 25 output.mp4
I am able to play the raw H.264 stream using "MPC-HC" on Windows but I need it in MP4 format.