Re: [FFmpeg-user] mp4 opus invalid extradata size (missing header)

2019-09-23 Thread Juan Navarro
. 2019 um 18:39 Uhr schrieb Juan Navarro : I'm trying to record a plain RTP stream, both with GStreamer and with FFmpeg, with either H.264 or VP8 video codecs, and OPUS audio in all cases. I got this working for VP8+OPUS (WEBM) with GStreamer and FFmpeg, and H.264+OPUS (MP4) with GStreamer

Re: [FFmpeg-user] mp4 opus invalid extradata size (missing header)

2019-09-19 Thread Juan Navarro
On 3/9/19 18:38, Juan Navarro wrote: Hi, I'm trying to record a plain RTP stream, both with GStreamer and with FFmpeg, with either H.264 or VP8 video codecs, and OPUS audio in all cases. I got this working for VP8+OPUS (WEBM) with GStreamer and FFmpeg, and H.264+OPUS (MP4) with GStreamer

Re: [FFmpeg-user] mp4 opus invalid extradata size (missing header)

2019-09-19 Thread Juan Navarro
Hi, could anyone shed a bit of light here? I'm pretty sure it should be possible to receive an H.264 RTP stream and store as-is into an MP4 file, given that gst-launch is being able to do it. Maybe I need something akin to the "h264parse" element that's used in the GStreamer pipeline? Does

[FFmpeg-user] mp4 opus invalid extradata size (missing header)

2019-09-03 Thread Juan Navarro
Hi, I'm trying to record a plain RTP stream, both with GStreamer and with FFmpeg, with either H.264 or VP8 video codecs, and OPUS audio in all cases. I got this working for VP8+OPUS (WEBM) with GStreamer and FFmpeg, and H.264+OPUS (MP4) with GStreamer, but _not_ FFmpeg. After some testing I was

Re: [FFmpeg-user] Unable to record VP8+Opus from RTP+SDP

2019-09-03 Thread Juan Navarro
Thanks for the comments; in case anyone ends up having a similar issue, it all turned out to be an issue in VLC itself; version 2.2.2 (from Ubuntu 16.04 "Xenial") won't play OPUS audio correctly, at least not in the WEBM and MP4 sample files I have been able to record with GStreamer. However,

Re: [FFmpeg-user] Unable to record VP8+Opus from RTP+SDP

2019-08-14 Thread Juan Navarro
>> So I’m not sure how ffmpeg parses SDP files or if it uses a library but when you step back and take a look, you haven’t put in any specifics for either codec besides from maybe their names. >> >>   v=0 >>   o=- 0 0 IN IP4 127.0.0.1 >>   s=- >>   c=IN IP4 127.0.0.1 >>   t=0 0 >>   m=audio 5006

Re: [FFmpeg-user] Unable to record VP8+Opus from RTP+SDP

2019-08-13 Thread Juan Navarro
Some updates: recording video actually works fine in both cases of only video and video+audio. A mistake in the video router was channeling audio frames to what should have been the video stream. However, the issue persists when trying to record Opus audio; it is just not possible to play it

[FFmpeg-user] Unable to record VP8+Opus from RTP+SDP

2019-08-12 Thread Juan Navarro
Hi, I'd like to record an RTP stream with one VP8 video and one OPUS audio; these are originated from Chrome and then distributed as plain RTP streams. I've written a basic SDP file to use as input for ffmpeg, but my results have been mixed: 1) Recording only the video works fine with a WEBM