Re: [FFmpeg-user] Convert to 96000 Hz DCA spdif not supported?

2018-05-05 Thread Nomis101 
Am 05.05.18 um 23:45 schrieb Lou Logan:
> Both, kind of. I assume the following commit from today fixed the segfault 
> you experienced:
> https://git.videolan.org/?p=ffmpeg.git;a=commit;h=c1b282dc74d801f943db282e89f7729e90897669

Yes it does. 4.0 with patch:


$ ffmpeg -i Alchemy_edit.flac -strict -2 -acodec dts -ar 96000 -f spdif
Alchemy_96edit.spdif
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
  configuration: --pkg-config-flags=--static --enable-fontconfig
--enable-gpl --enable-libass --enable-libbluray --enable-libfreetype
--enable-libsoxr --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libwavpack --disable-ffplay
--enable-libx264 --enable-libx265 --enable-libxvid --enable-version3
--enable-nonfree --enable-libfdk-aac --enable-librtmp --enable-opencl
--enable-libssh --enable-openssl --enable-bsf=aac_adtstoasc
--extra-cflags='-fPIE -pie -fstack-protector-strong -march=native
-mtune=native -fvectorize -ffast-math -fslp-vectorize
-D_FORTIFY_SOURCE=2 -mfpmath=sse'
--extra-cxxflags='-fstack-protector-strong -march=native -mtune=native
-fvectorize -ffast-math -fslp-vectorize -D_FORTIFY_SOURCE=2
-mfpmath=sse' --extra-ldflags=-L/opt/local/lib --extra-ldexeflags='-fPIE
-pie -fstack-protector-strong -D_FORTIFY_SOURCE=2'
  libavutil  56. 14.100 / 56. 14.100
  libavcodec 58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter 7. 16.100 /  7. 16.100
  libswscale  5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, flac, from 'Alchemy_edit.flac':
  Duration: 01:30:07.91, start: 0.00, bitrate: 8246 kb/s
    Stream #0:0: Audio: flac, 96000 Hz, 5.1(side), s32 (24 bit)
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> dts (dca))
Press [q] to stop, [?] for help
[dca @ 0x7fb6d380ea00] Specified sample rate 96000 is not supported
Error initializing output stream 0:0 -- Error while opening encoder for
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height
Conversion failed!

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert to 96000 Hz DCA spdif not supported?

2018-05-05 Thread Nomis101 
Am 05.05.18 um 23:45 schrieb Lou Logan:
> Both, kind of. I assume the following commit from today fixed the segfault 
> you experienced:
> https://git.videolan.org/?p=ffmpeg.git;a=commit;h=c1b282dc74d801f943db282e89f7729e90897669
>
> But the encoder does not support 96000:
> $ ffmpeg -h encoder=dts
> ...
> Supported sample rates: 8000 16000 32000 11025 22050 44100 12000 24000 48000

OK, thanks. I did not know, that it is possible to look up the supported
sample rates like this. Are there any known plans to support 96000 in
the future?

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert to 96000 Hz DCA spdif not supported?

2018-05-05 Thread Lou Logan
On Sat, May 5, 2018, at 7:57 AM, Nomis101  wrote:
> I do have a 96000 Hz FLAC file which I would like to convert to DTS and
> preserve the sample rate. But it seems only 41000 and 48000 is supported.
[...]
> Is this a bug or is this really not supported? 41000 and 48000 workes fine.

Both, kind of. I assume the following commit from today fixed the segfault you 
experienced:
https://git.videolan.org/?p=ffmpeg.git;a=commit;h=c1b282dc74d801f943db282e89f7729e90897669

But the encoder does not support 96000:
$ ffmpeg -h encoder=dts
...
Supported sample rates: 8000 16000 32000 11025 22050 44100 12000 24000 48000
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] audio video sync and drift

2018-05-05 Thread John Smith
> > So is there anything I can do or change, to get this to work? Is there no
> > way to record audio and video from different sources, and just use "wall
> > time" or "time elapsed since executing ffmpeg" to sync up the audio /
> > video?
>
> You can try to use wallclock time for the network input, v4l
> already uses wallclock timestamps.
>
>
Thanks Carl; I switched my project to use pulse audio everywhere (instead
of alsa) and now it appears that the audio from pulse and video from v4l
stays in sync. I didn't force pulse to use wallclock, I just told it to use
pulse for audio and now it seems to stay in sync. So I'm not 100% sure what
"wallclock" is compared to "non wallclock"; but in this case v4l and pulse
are in sync now.

However, I would really like to know if there is anything I can do to make
"tcp" stay in sync as well? So here was the old command (pre switchover to
pulse):

ffmpeg -y -f video4linux2 -pix_fmt yuv420p -framerate 25 -i /dev/video1 \
-f s16le -ar 44100 -ac 2 -i tcp://localhost:5 \
-ar 44100 -af "aresample=async=1000" -c:v libx264 -vf
"fps=25,format=yuv420p" -g 60 -crf 23 -preset superfast /data/
13202a7ec918dd43e280a9aeb7063f01.mp4 \
-ar 44100 /data/13202a7ec918dd43e280a9aeb7063f01.mp3

I don't see anything on the ffmpeg website that shows how to use "s16le" /
"tcp" (I must have found that example on the net long time ago), and
certainly nothing that would suggest how to make it use wallclock time?

Kind of lost here. I _can_ use pulse, but the problem with that is that I
lose my ability to mix audio in my project, since now the recording and
streaming only comes from one source in pulse audio; with tcp, I can load
up 5 audio sources into my project, mix them as needed, then send the final
output to tcp where ffmpeg is listening and recording audio.

Thanks for your help!
John
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Convert to 96000 Hz DCA spdif not supported?

2018-05-05 Thread Nomis101 
I do have a 96000 Hz FLAC file which I would like to convert to DTS and
preserve the sample rate. But it seems only 41000 and 48000 is supported.


$ ffmpeg -i Alchemy_edit.flac -strict -2 -acodec dts -ar 96000 -f spdif
Alchemy_96edit.spdif
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
  configuration: --pkg-config-flags=--static --enable-fontconfig
--enable-gpl --enable-libass --enable-libbluray --enable-libfreetype
--enable-libsoxr --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libwavpack --disable-ffplay
--enable-libx264 --enable-libx265 --enable-libxvid --enable-version3
--enable-nonfree --enable-libfdk-aac --enable-librtmp --enable-opencl
--enable-libssh --enable-openssl --enable-bsf=aac_adtstoasc
--extra-cflags='-fPIE -pie -fstack-protector-strong -march=native
-mtune=native -fvectorize -fslp-vectorize -D_FORTIFY_SOURCE=2
-mfpmath=sse' --extra-cxxflags='-fstack-protector-strong -march=native
-mtune=native -fvectorize -fslp-vectorize -D_FORTIFY_SOURCE=2
-mfpmath=sse' --extra-ldflags=-L/opt/local/lib --extra-ldexeflags='-fPIE
-pie -fstack-protector-strong -D_FORTIFY_SOURCE=2'
  libavutil  56. 14.100 / 56. 14.100
  libavcodec 58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter 7. 16.100 /  7. 16.100
  libswscale  5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, flac, from 'Alchemy_edit.flac':
  Duration: 01:30:07.91, start: 0.00, bitrate: 8246 kb/s
    Stream #0:0: Audio: flac, 96000 Hz, 5.1(side), s32 (24 bit)
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> dts (dca))
Press [q] to stop, [?] for help
[dca @ 0x7fcb5a80cc00] Specified sample rate 96000 is not supported
ffmpeg(3319,0x7fffa40ce380) malloc: *** error for object
0xfff0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6


Is this a bug or is this really not supported? 41000 and 48000 workes fine.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Erik Dobberkau
Coming back to the original question (using the original link posted)

C:\FFMPEG>set SDL_AUDIODRIVER=directsound

C:\FFMPEG>ffplay
http://hindiabp-lh.akamaihd.net/i/hindiabp1new_1@192103/index_300_av-b.m3u8


works for me. Which is to say I get video and audio output.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Reindl Harald


Am 05.05.2018 um 16:33 schrieb swades:
> As i said i don't want to play the stored file. i want to play live tv
> through m3u8. but i am not able to hear the audio. live video is playing but
> no audio is coming

god damned post your fucking input line *and* the whole output of ffplay
and learn to quote - if you don#t provide informations you don't get
help, it's that easy

again: read http://www.catb.org/esr/faqs/smart-questions.html#beprecise
and stop wasting others time
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread swades
As i said i don't want to play the stored file. i want to play live tv
through m3u8. but i am not able to hear the audio. live video is playing but
no audio is coming. 



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Reindl Harald


Am 05.05.2018 um 15:43 schrieb swades:
> I play a live tv through ffplay i am not getting audio file. i am only
> getting video. that's the point Respected

how does that chnage the fact that you should post complete input and
output - in text form!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Reindl Harald


Am 05.05.2018 um 15:36 schrieb swades:
> I did this which you tell. but still not able to hear the audio
> 
> https://s17.postimg.cc/cnvaju7nz/ffply_3.jpg
> https://s17.postimg.cc/8g0ianye7/ffplay_4.jpg

besides that you even on window scan copy from the terminal - just
right-click in the window

your second screenshot clearly shows you didn't specifiy a file to play
and so i don't get so whats the purpose of both screenshots
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread swades
I did this which you tell. but still not able to hear the audio

https://s17.postimg.cc/cnvaju7nz/ffply_3.jpg
https://s17.postimg.cc/8g0ianye7/ffplay_4.jpg



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Gyan Doshi



On 5/5/2018 6:48 PM, swades wrote:

Hello Respected i can't get. can you please type the command here. it ll be
help for me. Thanks for previous help


C:\>set SDL_AUDIODRIVER=directsound

C:\>ffplay file
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread swades
Hello Respected i can't get. can you please type the command here. it ll be
help for me. Thanks for previous help



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Simon Brown
No. Type in the set command, press enter. Then type in the ffplay command.

On Sat, 5 May 2018, 13:49 swades,  wrote:

> Hello Respected's I really apologize.  i run this command but still not
> able
> to hear audio * set SDL_AUDIODRIVER=directsound*
>
> https://postimg.cc/image/y2mo4c0ej/
>
> please look
>
>
>
> --
> Sent from: http://www.ffmpeg-archive.org/
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread swades
Hello Respected's I really apologize.  i run this command but still not able
to hear audio * set SDL_AUDIODRIVER=directsound*

https://postimg.cc/image/y2mo4c0ej/

please look 



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Get started with FFmpeg

2018-05-05 Thread Moritz Barsnick
On Thu, May 03, 2018 at 16:46:47 -0300, Jamenson Ferreira Espindula de Almeida 
Melo wrote:
> I would like to get some tutorials about FFmpeg. The official
> documentation seems to me very abstract.

That may be so. But do take a look at the contributions in the Wiki as
well:
https://trac.ffmpeg.org/wiki#CommunityContributedDocumentation

There are guides there for quite a lot of problems.

I'd like to recommend some other guides, but since I never use them, I
don't know if they're appropriate for you. I quickly looked for some,
and didn't find them to be very good. But the official docs can be
improved, with good feddback!

> some files from vob format to a file in mp4 format, but it did not
> work. It seems converting vob files to mp4 files is very very complex.

If you have a particular issue which "should work, but didn't", you are
welcome to post it on this list. You should learn the basics of ffmpeg
command lines first though, obviously.

But I seriously ask you not to write "it did not work", but give a good
description of what you are trying to achieve, what you attempted
(incl. the ffmpeg command line), what the result was (incl, ffmpeg's
complete console output and other descriptions of why you think it was
wrong), and what you actually expected.

> Do you want to help me?

That's what we're here for!

Cheers,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Moritz Barsnick
On Fri, May 04, 2018 at 23:45:27 -0700, swades wrote:
> Please help me waiting for help. its been 24 hours I am waiting for replies.
> I am noob i want little help
> 
> * i don't know how to Run this. i mean where do i run 
> this set SDL_AUDIODRIVER=directsound Please also teach how to set at  system
> start-up. 
> *

Gyan already wrote how to do this. Assuming you launched ffplay from a
Windows CMD window (which is what we assume from your screenshot), you
need to type his quoted command line into that window *before* running
ffplay.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread swades
Please help me waiting for help. its been 24 hours I am waiting for replies.
I am noob i want little help

* i don't know how to Run this. i mean where do i run 
this set SDL_AUDIODRIVER=directsound Please also teach how to set at  system
start-up. 
*



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Asking for help about FFmpeg

2018-05-05 Thread mohammed bey ahmed khernache
Thank you for your reply.
Yes, I don't need an output video. I just want to decode a video at 25 fps
and then calculate the miss rate. So I don't want to skip anything.


​
___

Mohammed BEY AHMED KHERNACHE
PhD student at Lab-STICC
  Université Bretagne Sud, Lorient, France
 mohammed.bey-ahmed-kherna...@univ-ubs.fr

 mohbeyi...@gmail.com

___

On Sat, May 5, 2018 at 1:39 AM, Carl Eugen Hoyos  wrote:

> 2018-05-04 20:02 GMT+02:00, mohammed bey ahmed khernache <
> mohbeyi...@gmail.com>:
>
> > When I try to decode a video which is encoded with HEVC
> > (using ffmpeg) at a certain  fps (e.g fps=25), the result is a
> > decoded video but at a different fps.
>
> This sounds as if your problem is that your output video
> has a different fps than your input video.
>
> > How can I decode a video at exactly 25 fps, even if I get
> > high miss rate ?
> > I am using this command for decoding:
> > ffmpeg -benchmark -i ​ -f null out.null
>
> But this command does not produce an output video...
>
> Or are you only discussing the decoding speed?
> FFmpeg generally decodes as fast as possible,
> depending on your hardware (and video resolution), it
> is possible that real-time decoding is not possible.
>
> There are options to skip the loopfilter, skip B-frames
> and even skip P-frames to speed up decoding:
> -skip_loop_filter all
> -skip_frame bidir / -skip_frame noref
> -skip_frame nokey
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".