[FFmpeg-user] Stream relay fails after running some time

2018-08-22 Thread Nick Bright
I'm using ffmpeg to relay video streams to YouTube as an event. It's working, but after some time (between minutes to several hours) the streams will stop. Any suggestions appreciated. Below is output and version information: av_interleaved_write_frame(): End of filekB time=05:24:48.41 bitrat

Re: [FFmpeg-user] transcoding example outdated?

2018-08-22 Thread Jeroen Ooms
On Wed, Aug 22, 2018 at 9:08 PM, Carl Eugen Hoyos wrote: > 2018-08-22 17:57 GMT+02:00, Jeroen Ooms : >> I'm trying to write a small C program to convert a set of png files >> into a video, but I'm having a hard time finding the right apis. >> >> I had a look at doc/examples/transcoding.c (ignoring

Re: [FFmpeg-user] transcoding example outdated?

2018-08-22 Thread Carl Eugen Hoyos
2018-08-22 17:57 GMT+02:00, Jeroen Ooms : > I'm trying to write a small C program to convert a set of png files > into a video, but I'm having a hard time finding the right apis. > > I had a look at doc/examples/transcoding.c (ignoring the audio stuff) > but when I compile this example I get deprec

Re: [FFmpeg-user] Decoding g726 audio

2018-08-22 Thread איל חסון
Indeed! I updated my ffmpeg and now it works. Thanks a lot. -Original Message- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Paul B Mahol Sent: Wednesday, August 22, 2018 7:49 PM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Decoding g726 audio On 8/22/18

Re: [FFmpeg-user] Decoding g726 audio

2018-08-22 Thread Paul B Mahol
On 8/22/18, #J+L+ X+S+W+N% wrote: > I get: Unknown input format: 'g726' Then your ffmpeg is too old. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-us

Re: [FFmpeg-user] Decoding g726 audio

2018-08-22 Thread איל חסון
I get: Unknown input format: 'g726' -Original Message- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Paul B Mahol Sent: Wednesday, August 22, 2018 7:08 PM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Decoding g726 audio On 8/22/18, #J+L+ X+S+W+N% wrote:

Re: [FFmpeg-user] Decoding g726 audio

2018-08-22 Thread Paul B Mahol
On 8/22/18, #J+L+ X+S+W+N% wrote: > Tried: ffmpeg -acodec g726 -ac 1 -ar 8000 -i > 7011-20171231-073835-Mitzvah5.g726 -f wav -y test.wav > Got: Invalid data found when processing input > > Tried: ffmpeg -f s8 -acodec g726 -ac 1 -ar 8000 -i > 7011-20171231-073835-Mitzvah5.g726 -f wav -y test.wav >

Re: [FFmpeg-user] Decoding g726 audio

2018-08-22 Thread איל חסון
Tried: ffmpeg -acodec g726 -ac 1 -ar 8000 -i 7011-20171231-073835-Mitzvah5.g726 -f wav -y test.wav Got: Invalid data found when processing input Tried: ffmpeg -f s8 -acodec g726 -ac 1 -ar 8000 -i 7011-20171231-073835-Mitzvah5.g726 -f wav -y test.wav Got: Invalid number of bits 8 Tried: ffmpeg -

[FFmpeg-user] transcoding example outdated?

2018-08-22 Thread Jeroen Ooms
I'm trying to write a small C program to convert a set of png files into a video, but I'm having a hard time finding the right apis. I had a look at doc/examples/transcoding.c (ignoring the audio stuff) but when I compile this example I get deprecation warnings for avcodec_encode_video2 and avcode

Re: [FFmpeg-user] Decoding g726 audio

2018-08-22 Thread Carl Eugen Hoyos
2018-08-22 15:28 GMT+02:00, איל חסון : > Can anyone show me a working example of how to decode a g726 file? What did you try? Command line and complete, uncut console output missing. > As there is no “g726” format, only codecs, all formats I tried > give errors when used with the g726 files. FFm

[FFmpeg-user] Decoing problem for aac to wav using api's code

2018-08-22 Thread Amir Raza
Hi experts, This is my first mail to ffmpeg , apologies if make some mistakes. I tried many online example codes for decoding aac audio to wav file. including example codes which is for MP2 codec. below is one such example code , it doubles the decoded file size (.wav) but not playable. Can any one

[FFmpeg-user] Decoding g726 audio

2018-08-22 Thread איל חסון
Can anyone show me a working example of how to decode a g726 file? As there is no “g726” format, only codecs, all formats I tried give errors when used with the g726 files. Thanks, Eyal Hasson. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http:/

Re: [FFmpeg-user] Remux to matroska an h264 track without timestamps

2018-08-22 Thread Carl Eugen Hoyos
2018-08-22 12:59 GMT+02:00, Gabriele Greco : > I have some input TS with H264 payload that do not have timestamps > correctly set in the video streams (or at least ffmpeg complains about it), Yes, FFmpeg has known deficiencies with H.264 timestamps, this is difficult to fix. > Any information her

[FFmpeg-user] Remux to matroska an h264 track without timestamps

2018-08-22 Thread Gabriele Greco
I have some input TS with H264 payload that do not have timestamps correctly set in the video streams (or at least ffmpeg complains about it), this cause no problem if I extract the video track as ts: ffmpeg -i input.ts -c copy -an test.ts completes with the warning: [mpegts @ 0x7f87d2021a00] Tim

Re: [FFmpeg-user] concat demuxer and 'strange' mp4s with wrong TBN

2018-08-22 Thread Gyan Doshi
On 22-08-2018 12:51 PM, Gabriele Greco wrote: file1.mp4 has the following video track: Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 5000 kb/s, 30 fps, 30 tbr, 600 tbn, 30 tbc (default) file2.mp4 has the following video track:

[FFmpeg-user] concat demuxer and 'strange' mp4s with wrong TBN

2018-08-22 Thread Gabriele Greco
I have problems to concatenate with the concat demuxer two mp4, that individually play fine but the second one has wrong time base information in the context: I tried both with 3.4.1 version of ffmpeg and the SVN one. Extracting relevant infos with ffprobe I found that: file1.mp4 has the followi