Re: [FFmpeg-user] Decode h.264 to YUV on GPU

2019-01-24 Thread Mahmood Naderan
>Your question is very difficult to understand:
>Are you surprised that the values for the utilization are different?
>Or do you find them too high? Or too low?

Different and low.
The example is given in the Nvidia website.

Regards,
Mahmood
___
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] Issue while merge large .wav file into .webm file

2019-01-24 Thread Kieran O Leary
On Fri, 25 Jan 2019, 05:45 AMIT KUMAR  Hi,
> Dear Team,
> I am using ffmpeg to merge Audio and video making Mp4 file.
>
Please post your command line and the complete terminal output.

While we merge small size of file it creates perfect Mp4 file but, while we
> use large file to create mp4 it not works.
>

How does it not work? Is this an error that FFmpeg throws up or is the
error when playing back the file?

-Kieran

whereas  file extension we used .wav and .webm merge both create .mp4.
> So, can you help me in this.
>
> Thanks & Regards
> Amit kumar
> ___
> 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".

[FFmpeg-user] Issue while merge large .wav file into .webm file

2019-01-24 Thread AMIT KUMAR
Hi,
Dear Team,
I am using ffmpeg to merge Audio and video making Mp4 file.
While we merge small size of file it creates perfect Mp4 file but, while we
use large file to create mp4 it not works.
whereas  file extension we used .wav and .webm merge both create .mp4.
So, can you help me in this.

Thanks & Regards
Amit kumar
___
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] Decode h.264 to YUV on GPU

2019-01-24 Thread Carl Eugen Hoyos
2019-01-24 22:25 GMT+01:00, Mahmood Naderan :

> ./ffmpeg -vsync 0 -c:v h264_cuvid -i in.mp4 -f rawvideo out.mp4
>
> and two input files
> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
> 1920x1080 [SAR 1:1 DAR 16:9], 8239 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
> 59.94 tbc (default)
>
> Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
> 3840x2160 [SAR 1:1 DAR 16:9], 32482 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
> 59.94 tbc (default)
>
> I see that GPU utilization for the first is less than 5% while for the
> second is about 12%.
>
> The difference is (High) and (Main). Do you think that is normal?

Your question is very difficult to understand:
Are you surprised that the values for the utilization are different?
Or do you find them too high? Or too low?

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] Decode h.264 to YUV on GPU

2019-01-24 Thread Mahmood Naderan
Hi,
For this command

an input with this specification

./ffmpeg -vsync 0 -c:v h264_cuvid -i in.mp4 -f rawvideo out.mp4

and two input files
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 8239 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
59.94 tbc (default)

Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
3840x2160 [SAR 1:1 DAR 16:9], 32482 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
59.94 tbc (default)



I see that GPU utilization for the first is less than 5% while for the
second is about 12%.

The difference is (High) and (Main). Do you think that is normal?


Regards,
Mahmood
___
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] Color Difference on ffmpeg Outputs

2019-01-24 Thread Carl Eugen Hoyos
2019-01-24 20:05 GMT+01:00, Mark Scott :
> I noticed a color difference between my master video file and the
> output file from ffmpeg. My master file is Apple ProRes 422 HQ .mov. I
> converted it to Apple ProRes 422 (not HQ).mov, using ffmpeg. There is
> a significant color difference on the converted file that is
> noticeable in the graphics.
> The RGB values are: Master file: R:221 G:49 B:42  Converted file:
> R:202 G:24 B:32. All lower numbers on the converted file. I'm
> attaching a screenshot to show the difference. Is there a filter or
> something that I can add to this command line to solve this?
>
> mkdir outputs
> for f in *.mov; do ffmpeg -i "$f" -c:v prores -c:a pcm_s24le
> "outputs/${f%.*}.mov"; done

Please provide the actual command line that you tested (without
variables) together with the complete, uncut console output and
please remember that only current FFmpeg git head is
supported here.

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] Color Difference on ffmpeg Outputs

2019-01-24 Thread Mark Scott
I noticed a color difference between my master video file and the
output file from ffmpeg. My master file is Apple ProRes 422 HQ .mov. I
converted it to Apple ProRes 422 (not HQ).mov, using ffmpeg. There is
a significant color difference on the converted file that is
noticeable in the graphics.
The RGB values are: Master file: R:221 G:49 B:42  Converted file:
R:202 G:24 B:32. All lower numbers on the converted file. I'm
attaching a screenshot to show the difference. Is there a filter or
something that I can add to this command line to solve this?

mkdir outputs
for f in *.mov; do ffmpeg -i "$f" -c:v prores -c:a pcm_s24le
"outputs/${f%.*}.mov"; done


mark scott | video distribution

1722 routh street
suite 204
dallas, tx 75201
214-922-9222


charlieuniformtango.com
___
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] "missing picture in access unit" error

2019-01-24 Thread Mohammed Bey Ahmed Khernache
I have installed the lastest version of ffmpeg on another ubuntu machine.
It doesn't output the error message posted before. Rather, I got this
message: "Unknown HEVC profile: 0", and the decoding is successful.
What does this message mean, please?
This is the output (only ffmpeg):
- ffmpeg output

root@odroid:~/bin# ./ffmpeg -i AMP_A_Samsung_6.bit.bin -f null /dev/null
ffmpeg version git-2019-01-19-32fb83e Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 5.4.0 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) 20160609
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs='-lpthread -lm'
--bindir=/root/bin --enable-gpl --enable-libass --enable-libfreetype
--enable-libtheora --arch=arm --enable-neon --enable-thumb
--enable-optimizations --enable-pthreads --enable-gray --enable-version3
--enable-postproc --enable-libxcb --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-x86asm --enable-nonfree
  libavutil  56. 26.100 / 56. 26.100
  libavcodec 58. 44.100 / 58. 44.100
  libavformat58. 26.100 / 58. 26.100
  libavdevice58.  6.101 / 58.  6.101
  libavfilter 7. 48.100 /  7. 48.100
  libswscale  5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc55.  4.100 / 55.  4.100
[hevc @ 0x14bd940] Unknown HEVC profile: 0
Last message repeated 5 times
Input #0, hevc, from 'AMP_A_Samsung_6.bit.bin':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: hevc (Main 10), yuv420p(tv), 2560x1600, 25 fps, 25
tbr, 1200k tbn, 25 tbc
[hevc @ 0x14befb0] Unknown HEVC profile: 0
Last message repeated 1 times
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[hevc @ 0x14befb0] Unknown HEVC profile: 0
Last message repeated 1 times
Output #0, null, to '/dev/null':
  Metadata:
encoder : Lavf58.26.100
Stream #0:0: Video: wrapped_avframe, yuv420p, 2560x1600, q=2-31, 200
kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
  encoder : Lavc58.44.100 wrapped_avframe
frame=   60 fps= 30 q=-0.0 Lsize=N/A time=00:00:02.40 bitrate=N/A speed=
1.2x
video:24kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown


Best regards
___
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] "missing picture in access unit" error

2019-01-24 Thread Carl Eugen Hoyos
2019-01-24 14:58 GMT+01:00, Mohammed Bey Ahmed Khernache :
> I have installed the lastest version of ffmpeg on another ubuntu machine.
> It doesn't output the error message posted before. Rather, I got this
> message: "Unknown HEVC profile: 0", and the decoding is successful.
> What does this message mean, please?

That the stream was encoded before profiles were defined (in
this specific case) or that the encoder is broken and doesn't
know about valid HEVC profiles (in the general case).

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".

Re: [FFmpeg-user] "missing picture in access unit" error

2019-01-24 Thread Carl Eugen Hoyos
2019-01-24 14:37 GMT+01:00, Mohammed Bey Ahmed Khernache :

> I am trying to decode an HEVC video content with ffmpeg and ffplay
> on Windows and I got the following error messages.
> Could someone explain to me what is it about?

> ffmpeg.exe -i jctvc/AMP_A_Samsung_6.bit.bin -f null out.null
> ffmpeg version N-90264-g80798e3857 Copyright (c) 2000-2018

Please test current FFmpeg git head.

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] "missing picture in access unit" error

2019-01-24 Thread Mohammed Bey Ahmed Khernache
Hello,
I am trying to decode an HEVC video content with ffmpeg and ffplay on
Windows and I got the following error messages.
Could someone explain to me what is it about?
--- output of ffmpeg
---
D:\Tools\FFMPEG\Windows\ffmpeg-20180307-80798e3-win64-static\bin>ffmpeg.exe
-i jctvc/AMP_A_Samsung_6.bit.bin -f null out.null
ffmpeg version N-90264-g80798e3857 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx
--enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil  56.  8.100 / 56.  8.100
  libavcodec 58. 14.100 / 58. 14.100
  libavformat58. 10.100 / 58. 10.100
  libavdevice58.  2.100 / 58.  2.100
  libavfilter 7. 12.100 /  7. 12.100
  libswscale  5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc55.  0.100 / 55.  0.100
[hevc @ 00395300] Unknown HEVC profile: 0
Last message repeated 5 times
[hevc @ 00395300] missing picture in access unit
Input #0, hevc, from 'jctvc/AMP_A_Samsung_6.bit.bin':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: hevc (Main 10), yuv420p(tv), 2560x1600, 25 fps, 25
tbr, 1200k tbn, 25 tbc
[hevc @ 02bdf580] Unknown HEVC profile: 0
Last message repeated 1 times
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[hevc @ 02bdf580] Unknown HEVC profile: 0
Last message repeated 1 times
Output #0, null, to 'out.null':
  Metadata:
encoder : Lavf58.10.100
Stream #0:0: Video: wrapped_avframe, yuv420p, 2560x1600, q=2-31, 200
kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
  encoder : Lavc58.14.100 wrapped_avframe
frame=   60 fps= 58 q=-0.0 Lsize=N/A time=00:00:02.40 bitrate=N/A
speed=2.32x
video:31kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown

--- output of ffplay
--
D:\Tools\FFMPEG\Windows\ffmpeg-20180307-80798e3-win64-static\bin>ffplay.exe
-autoexit -i jctvc/AMP_A_Samsung_6.bit.bin
ffplay version N-90264-g80798e3857 Copyright (c) 2003-2018 the FFmpeg
developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx
--enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil  56.  8.100 / 56.  8.100
  libavcodec 58. 14.100 / 58. 14.100
  libavformat58. 10.100 / 58. 10.100
  libavdevice58.  2.100 / 58.  2.100
  libavfilter 7. 12.100 /  7. 12.100
  libswscale  5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc55.  0.100 / 55.  0.100
[hevc @ 00384c00] Unknown HEVC profile: 0 sq=0B f=0/0
Last message repeated 3 times
[hevc @ 00384c00] Unknown HEVC profile: 0 sq=0B f=0/0
Last message repeated 1 times
[hevc @ 00384c00] missing picture in access unit
Input #0, hevc, from 'jctvc/AMP_A_Samsung_6.bit.bin':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: hevc (Main 10), yuv420p(tv), 2560x1600, 25 fps, 25
tbr, 1200k tbn, 25 tbc
[hevc @ 003f0a40] Unknown HEVC profile: 0
Last message repeated 3 times
nan M-V:nan fd=   0 aq=0KB vq=0KB sq=0B f=0/0

Best Regards
___
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 

[FFmpeg-user] Usage of scte35 attributes in ext-x-daterange tag

2019-01-24 Thread kumar vikram
Hi,

I have come across some issues while working with EXT-X-DATERANGE tag. Date
range tag has some attributes SCTE35-CMD, SCTE35-OUT, SCTE35-IN which are
related to splicing.

If I understand correctly, splicing is used in TS streams for inserting
transport streams on transport packet boundaries; So from hls point of
view, do you think we need to take any explicit action which may be
required by demutiplexer/decoder(e.g. SCTE35-CMD attr value)?

Moreover I believe that in case EXT-X-DATERANGE tag is encountered, hls
needs to specify discontinuity to continue the playback of ads. But in
case  EXT-X-DATERANGE tag with SCTE35 attributes, since the stream is
already prepared in such a way using splicing that it is more like a
continuous bitstream, even discontinuity is not needed. Correct me if I am
wrong.

Can you please sugegst what can be the usage for SCTE35-CMD, SCTE35-OUT,
SCTE35-IN attributes in HLS?
Thanking you in advance

Regards,
Vikram
___
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".