[FFmpeg-user] mjpeg stream

2019-01-16 Thread Gabriel Zachmann
I would love to get some insights.

I have a video that contains 3 streams (see below for the full output of 
ffprobe).
This is causing me a bit of a headache.

My questions are:
-  what is Stream #0.2 ? is it the same video footage as Stream #0.0, except in 
a different codec ? why is it there?
-  can I just delete it, or is it necessary to view the video as a whole?
-  when converting the video (as a whole) , should I convert it , too, or just 
copy it? or can I safely omit it?
-  Can I assume that if there is a second video stream in a file, then it is 
usually not really needed?
-  If yes, can I assume that the second video stream is usually the one that 
could be omitted?
-  in Quicktime Player 7, I can see only one video track - why don't I see two 
tracks?

I would greatly appreciated all kinds of insights - I am not an expert in video 
formats.

IF you would like to look at the video for yourself, here it is:
   
https://www.dropbox.com/s/f2ili147h1pn80v/Immersive%20Virtual%20Reality%20Anatomy%20Atlas%20V01.mp4?dl=0

Thanks a lot in advance.
Best regards, Gabriel


% ffprobe Immersive\ Virtual\ Reality\ Anatomy\ Atlas\ V01.mp4 
ffprobe version 4.1 Copyright (c) 2007-2018 the FFmpeg developers
  built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter 
--enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus 
--enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug 
--enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass 
--enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig 
--enable-libfreetype --enable-libfribidi --disable-libjack 
--disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb 
--disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack 
--enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox 
--enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man 
--enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --enable-version3 --enable-libsmbclient 
--enable-nonfree --enable-libfdk-aac
  libavutil  56. 22.100 / 56. 22.100
  libavcodec 58. 35.100 / 58. 35.100
  libavformat58. 20.100 / 58. 20.100
  libavdevice58.  5.100 / 58.  5.100
  libavfilter 7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale  5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc55.  3.100 / 55.  3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa5ef80cc00] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Immersive Virtual Reality Anatomy 
Atlas V01.mp4':
  Metadata:
major_brand : M4V 
minor_version   : 512
compatible_brands: isomiso2avc1
encoder : Lavf56.36.100
  Duration: 00:01:10.47, start: 0.00, bitrate: 3649 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, 
bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3502 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 
59.94 tbc (default)
Metadata:
  handler_name: VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 127 kb/s (default)
Metadata:
  handler_name: SoundHandler
Stream #0:2: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 960x536 
[SAR 144:144 DAR 120:67], 90k tbr, 90k tbn, 90k tbc




___
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] Could not find tag for codec hevc in stream

2019-01-15 Thread Gabriel Zachmann
I am trying to convert an H264 video to H265.
I am working on the command line on macOS 10.12.6 (High Sierra).

However, I have a video for which ffmpeg (version 4.0.2) fails with this error 
message:

[mp4 @ 0x7f843f00c600] Could not find tag for codec hevc in stream #2, codec 
not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): 
Invalid argument
Error initializing output stream 0:0 -- 

You can find the complete command and the output of ffmpeg and ffprobe enclosed 
below.
You can also get the video file here:  
  
https://www.dropbox.com/s/f2ili147h1pn80v/Immersive%20Virtual%20Reality%20Anatomy%20Atlas%20V01.mp4?dl=0

The output of ffprobe on the video is 

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fded800cc00] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Immersive Virtual Reality Anatomy 
Atlas V01.mp4':
  Metadata:
major_brand : M4V 
minor_version   : 512
compatible_brands: isomiso2avc1
encoder : Lavf56.36.100
  Duration: 00:01:10.47, start: 0.00, bitrate: 3649 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, 
bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3502 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 
59.94 tbc (default)
Metadata:
  handler_name: VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 127 kb/s (default)
Metadata:
  handler_name: SoundHandler
Stream #0:2: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 960x536 
[SAR 144:144 DAR 120:67], 90k tbr, 90k tbn, 90k tbc


I am suspecting that the problem arises from Stream #0:2.
I don't even know why it is there.
And I am not sure I need it at all.

Most importantly , I would like to understand if and how I can solve this 
problem, i.e., still convert it to H265 (HEVC).

Any help and hints or pointers will be highly appreciated.

Best regards, Gabriel



Complete Command line  for  ffmpeg:

% /opt/local/bin/ffmpeg -loglevel error -hide_banner -nostats -nostdin -i 
'Immersive Virtual Reality Anatomy Atlas V01.mp4' -map 0 -c:s copy 
-map_metadata 0 -map_metadata:s:v 0:s:v -dn -map_metadata:s:a 0:s:a -c:a aac 
-b:a 128k -filter:v 'crop=in_w-mod(in_w\,2):in_h-mod(in_h\,2)' -codec:v hevc 
-tag:v hvc1 -max_muxing_queue_size 1024 -vf format=yuv420p -preset faster -crf 
29 -x265-params 
me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1
 -ignore_unknown -f mp4 'Immersive Virtual Reality Anatomy Atlas V01.h265.mp4'

x265 [warning]: Source height < 720p; disabling lookahead-slices
[mp4 @ 0x7fcc27819a00] Could not find tag for codec hevc in stream #2, codec 
not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): 
Invalid argument
Error initializing output stream 0:0 -- 



Complete output of ffmpeg -version:

% /opt/local/bin/ffmpeg -version
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter 
--enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus 
--enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug 
--enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass 
--enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig 
--enable-libfreetype --enable-libfribidi --disable-libjack 
--disable-libopencore-amrnb --disable-libopencore-amrwb --disable-indev=jack 
--enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox 
--enable-sdl2 --mandir=/opt/local/share/man --enable-shared --enable-pthreads 
--cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl 
--enable-postproc --enable-libx264 --enable-libxvid
libavutil  56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat58. 12.100 / 58. 12.100
libavdevice58.  3.100 / 58.  3.100
libavfilter 7. 16.100 /  7. 16.100
libavresample   4.  0.  0 /  4.  0.  0
libswscale  5.  1.100 /  5.  1.100
libswresample   3.  1.100 /  3.  1.100
libpostproc55.  1.100 / 55.  1.100



Complete output of ffprobe on the video file:

% /opt/local/bin/ffprobe Immersive\ Virtual\ Reality\ Anatomy\ Atlas\ V01.mp4 
ffprobe version 4.0.2 Copyright (c) 2007-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter 
--enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus 
--enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug 
--enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass 
--enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig 
--enable-libfreetype --enable-libfribidi --disable-libjack 
--disable-libopencore-amrnb --disable-libopencore-amrwb --disable-indev=jack 
--enable-opencl --disable-outdev=xv 

Re: [FFmpeg-user] Tag mp4s incompatible with output codec ?

2018-06-03 Thread Gabriel Zachmann
> 
> You do (from around Oct 12 2017), but that's not the point, I believe.

Maybe not.. Anyways I downloaded the latest version (I believe).

I ran the original command line (w/o "-dn"), same error message.
(BTW:  why does it say "Tag mp4s incompatible with output codec id '0'" ?
I don't see where I am setting a tag 'mp4s'.)

Then I ran the command again, with "-dn" .  This seems to work.

Complete command line below.


One question regarding option "-dn":
I checked the manual and it says "Disable data recording".
So what is "data recording"? Are subtitles also a kind of data?
What about meta data, will that be killed by "-dn" ?

Thanks a lot in advance.

Best regards, Gabriel




% ffmpeg -i "Neuroscience of VR, Congruency, pain distraction, presence, 
Enfacement effect, rubber hand, tools as part of the body, redirected walking - 
Bruno Herbelin, CERN, 2017.mp4" -map 0 -c:s copy -map_metadata 0 
-map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c:a aac -b:a 128k -codec:v 
hevc -tag:v hvc1 -dn -preset faster -crf 25 -profile:v main -x265-params 
"me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1"
 -f mp4 "Neuroscience of VR, Congruency, pain distraction, presence, Enfacement 
effect, rubber hand, tools as part of the body, redirected walking - Bruno 
Herbelin, CERN, 2017.mp4_converting"
ffmpeg version N-91200-g1616b1be5a-tessus Copyright (c) 2000-2018 the FFmpeg 
developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg 
--extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl 
--enable-libaom --enable-libass --enable-libbluray --enable-libfreetype 
--enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus 
--enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack 
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid 
--enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 
--pkg-config-flags=--static --disable-ffplay
  libavutil  56. 18.102 / 56. 18.102
  libavcodec 58. 19.104 / 58. 19.104
  libavformat58. 17.100 / 58. 17.100
  libavdevice58.  4.100 / 58.  4.100
  libavfilter 7. 24.100 /  7. 24.100
  libswscale  5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc55.  2.100 / 55.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4':
  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: mp42isomavc1
creation_time   : 2017-11-09T15:56:49.00Z
compilation : 0
encoder : Sorenson Squeeze
  Duration: 00:26:06.00, start: 0.00, bitrate: 5280 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 96 kb/s (default)
Metadata:
  creation_time   : 2017-11-09T15:56:49.00Z
  handler_name: soun
Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, 
bt709/bt709/unknown), 1920x1080, 5002 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc 
(default)
Metadata:
  creation_time   : 2017-11-09T15:56:49.00Z
  handler_name: vide
  encoder : AVC Coding
Stream #0:2(und): Data: none (mp4s / 0x7334706D) (default)
Metadata:
  creation_time   : 2017-11-09T15:56:58.00Z
  handler_name: sdsm
Stream #0:3(und): Data: none (mp4s / 0x7334706D) (default)
Metadata:
  creation_time   : 2017-11-09T15:56:58.00Z
  handler_name: odsm
Stream #0:4(eng): Data: none (rtp  / 0x20707472), 13 kb/s
Metadata:
  creation_time   : 2017-11-10T15:56:58.00Z
Stream #0:5(eng): Data: none (rtp  / 0x20707472), 162 kb/s
Metadata:
  creation_time   : 2017-11-10T15:57:00.00Z
File 'Neuroscience of VR, Congruency, pain distraction, presence, Enfacement 
effect, rubber hand, tools as part of the body, redirected walking - Bruno 
Herbelin, CERN, 2017.mp4_converting' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> aac (native))
  Stream #0:1 -> #0:1 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
Output #0, mp4, to 'Neuroscience of VR, Congruency, pain distraction, presence, 
Enfacement effect, rubber hand, tools as part of the body, redirected walking - 
Bruno Herbelin, CERN, 2017.mp4_converting':
  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: mp42isomavc1
creation_time   : 2017-11-09T15:56:49.00Z
compilation : 0
encoder : Lavf58.17.100
Stream #0:0(eng): Audio: aac (LC) (mp4a / 

Re: [FFmpeg-user] Tag mp4s incompatible with output codec ?

2018-06-01 Thread Gabriel Zachmann
Thanks a lot for your response.

>> Could that have any negative side effects when I try to convert some other 
>> movies?
> 
> It depends. If video editing was simple, it wouldn't require complex
> tools. ;-)
> 
> In your case, my guess is that ffmpeg is unable to mux all the data
> streams. If you use "map 0 -sn", ffmpeg should omit them.

I have just checked; IIUC, -sn would omit the subtitles in the output - is that 
correct?

OTOH, as far as I can see, the video does not have any subtitles.


cgvr-8: zach/Downloads% ffprobe Neuroscience\ of\ VR,\ Congruency,\ pain\ 
distraction,\ presence,\ Enfacement\ effect,\ rubber\ hand,\ tools\ as\ part\ 
of\ the\ body,\ redirected\ walking\ -\ Bruno\ Herbelin,\ CERN,\ 2017.mp4
ffprobe version N-87824-g25bd2f4 Copyright (c) 2007-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.37)
  configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework 
CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework 
CoreVideo'
  libavutil  55. 79.100 / 55. 79.100
  libavcodec 57.108.100 / 57.108.100
  libavformat57. 84.100 / 57. 84.100
  libavdevice57. 11.100 / 57. 11.100
  libavfilter 6.108.100 /  6.108.100
  libavresample   3.  8.  0 /  3.  8.  0
  libswscale  4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc54.  8.100 / 54.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4':
  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: mp42isomavc1
creation_time   : 2017-11-09T15:56:49.00Z
compilation : 0
encoder : Sorenson Squeeze
  Duration: 00:26:06.00, start: 0.00, bitrate: 5280 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 96 kb/s (default)
Metadata:
  creation_time   : 2017-11-09T15:56:49.00Z
  handler_name: soun
Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, 
bt709/bt709/unknown), 1920x1080, 5002 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc 
(default)
Metadata:
  creation_time   : 2017-11-09T15:56:49.00Z
  handler_name: vide
  encoder : AVC Coding
Stream #0:2(und): Data: none (mp4s / 0x7334706D) (default)
Metadata:
  creation_time   : 2017-11-09T15:56:58.00Z
  handler_name: sdsm
Stream #0:3(und): Data: none (mp4s / 0x7334706D) (default)
Metadata:
  creation_time   : 2017-11-09T15:56:58.00Z
  handler_name: odsm
Stream #0:4(eng): Data: none (rtp  / 0x20707472), 13 kb/s
Metadata:
  creation_time   : 2017-11-10T15:56:58.00Z
Stream #0:5(eng): Data: none (rtp  / 0x20707472), 162 kb/s
Metadata:
  creation_time   : 2017-11-10T15:57:00.00Z
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
Unsupported codec with id 0 for input stream 4
Unsupported codec with id 0 for input stream 5


I have also tried your suggestions, like this:

% ffmpeg -nostats -nostdin -i "Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4" -map 0 -ns -c:s copy 
-map_metadata 0 -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c:a aac -b:a 
128k -codec:v hevc -tag:v hvc1 -preset faster -crf 25 -ns -x265-params 
"profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1"
 -f mp4 "Neuroscience of VR, Congruency, pain distraction, presence, Enfacement 
effect, rubber hand, tools as part of the body, redirected walking - Bruno 
Herbelin, CERN, 2017.mp4_converting"
ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.37)
  configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv 

Re: [FFmpeg-user] Tag mp4s incompatible with output codec ?

2018-06-01 Thread Gabriel Zachmann
Thanks a lot for your response.

>> Could that have any negative side effects when I try to convert some other 
>> movies?
> 
> It depends. If video editing was simple, it wouldn't require complex
> tools. ;-)
> 
> In your case, my guess is that ffmpeg is unable to mux all the data
> streams. If you use "map 0 -sn", ffmpeg should omit them.

I have just checked; IIUC, -sn would omit the subtitles in the output - is that 
correct?

OTOH, as far as I can see, the video does not have any subtitles.


cgvr-8: zach/Downloads% ffprobe Neuroscience\ of\ VR,\ Congruency,\ pain\ 
distraction,\ presence,\ Enfacement\ effect,\ rubber\ hand,\ tools\ as\ part\ 
of\ the\ body,\ redirected\ walking\ -\ Bruno\ Herbelin,\ CERN,\ 2017.mp4
ffprobe version N-87824-g25bd2f4 Copyright (c) 2007-2017 the FFmpeg developers
 built with Apple LLVM version 9.0.0 (clang-900.0.37)
 configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework 
CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework 
CoreVideo'
 libavutil  55. 79.100 / 55. 79.100
 libavcodec 57.108.100 / 57.108.100
 libavformat57. 84.100 / 57. 84.100
 libavdevice57. 11.100 / 57. 11.100
 libavfilter 6.108.100 /  6.108.100
 libavresample   3.  8.  0 /  3.  8.  0
 libswscale  4.  9.100 /  4.  9.100
 libswresample   2. 10.100 /  2. 10.100
 libpostproc54.  8.100 / 54.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4':
 Metadata:
   major_brand : mp42
   minor_version   : 0
   compatible_brands: mp42isomavc1
   creation_time   : 2017-11-09T15:56:49.00Z
   compilation : 0
   encoder : Sorenson Squeeze
 Duration: 00:26:06.00, start: 0.00, bitrate: 5280 kb/s
   Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 96 kb/s (default)
   Metadata:
 creation_time   : 2017-11-09T15:56:49.00Z
 handler_name: soun
   Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, 
bt709/bt709/unknown), 1920x1080, 5002 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc 
(default)
   Metadata:
 creation_time   : 2017-11-09T15:56:49.00Z
 handler_name: vide
 encoder : AVC Coding
   Stream #0:2(und): Data: none (mp4s / 0x7334706D) (default)
   Metadata:
 creation_time   : 2017-11-09T15:56:58.00Z
 handler_name: sdsm
   Stream #0:3(und): Data: none (mp4s / 0x7334706D) (default)
   Metadata:
 creation_time   : 2017-11-09T15:56:58.00Z
 handler_name: odsm
   Stream #0:4(eng): Data: none (rtp  / 0x20707472), 13 kb/s
   Metadata:
 creation_time   : 2017-11-10T15:56:58.00Z
   Stream #0:5(eng): Data: none (rtp  / 0x20707472), 162 kb/s
   Metadata:
 creation_time   : 2017-11-10T15:57:00.00Z
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
Unsupported codec with id 0 for input stream 4
Unsupported codec with id 0 for input stream 5


I have also tried your suggestions, like this:

% ffmpeg -nostats -nostdin -i "Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4" -map 0 -ns -c:s copy 
-map_metadata 0 -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c:a aac -b:a 
128k -codec:v hevc -tag:v hvc1 -preset faster -crf 25 -ns -x265-params 
"profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1"
 -f mp4 "Neuroscience of VR, Congruency, pain distraction, presence, Enfacement 
effect, rubber hand, tools as part of the body, redirected walking - Bruno 
Herbelin, CERN, 2017.mp4_converting"
ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
 built with Apple LLVM version 9.0.0 (clang-900.0.37)
 configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared 

Re: [FFmpeg-user] Tag mp4s incompatible with output codec ?

2018-05-30 Thread Gabriel Zachmann
Sorry about that.

Here is the full command line and the output:

% ffmpeg -nostats -nostdin -i "Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4" -map 0 -c:s copy 
-map_metadata 0 -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c:a aac -b:a 
128k -codec:v hevc -tag:v hvc1 -preset faster -crf 25 -x265-params 
"profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1"
 -f mp4 "Neuroscience of VR, Congruency, pain distraction, presence, Enfacement 
effect, rubber hand, tools as part of the body, redirected walking - Bruno 
Herbelin, CERN, 2017.mp4_converting"
ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.37)
  configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework 
CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework 
CoreVideo'
  libavutil  55. 79.100 / 55. 79.100
  libavcodec 57.108.100 / 57.108.100
  libavformat57. 84.100 / 57. 84.100
  libavdevice57. 11.100 / 57. 11.100
  libavfilter 6.108.100 /  6.108.100
  libavresample   3.  8.  0 /  3.  8.  0
  libswscale  4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc54.  8.100 / 54.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4':
  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: mp42isomavc1
creation_time   : 2017-11-09T15:56:49.00Z
compilation : 0
encoder : Sorenson Squeeze
  Duration: 00:26:06.00, start: 0.00, bitrate: 5280 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 96 kb/s (default)
Metadata:
  creation_time   : 2017-11-09T15:56:49.00Z
  handler_name: soun
Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, 
bt709/bt709/unknown), 1920x1080, 5002 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc 
(default)
Metadata:
  creation_time   : 2017-11-09T15:56:49.00Z
  handler_name: vide
  encoder : AVC Coding
Stream #0:2(und): Data: none (mp4s / 0x7334706D) (default)
Metadata:
  creation_time   : 2017-11-09T15:56:58.00Z
  handler_name: sdsm
Stream #0:3(und): Data: none (mp4s / 0x7334706D) (default)
Metadata:
  creation_time   : 2017-11-09T15:56:58.00Z
  handler_name: odsm
Stream #0:4(eng): Data: none (rtp  / 0x20707472), 13 kb/s
Metadata:
  creation_time   : 2017-11-10T15:56:58.00Z
Stream #0:5(eng): Data: none (rtp  / 0x20707472), 162 kb/s
Metadata:
  creation_time   : 2017-11-10T15:57:00.00Z
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> aac (native))
  Stream #0:1 -> #0:1 (h264 (native) -> hevc (libx265))
  Stream #0:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
  Stream #0:5 -> #0:5 (copy)
[libx265 @ 0x7fef4901c800] Unknown option: profile.
[mp4 @ 0x7fef4901a400] Tag mp4s incompatible with output codec id '0' 
([0][0][0][0])
Could not write header for output file #0 (incorrect codec parameters ?): 
Invalid data found when processing input
Error initializing output stream 0:1 -- 
[aac @ 0x7fef4901b600] Qavg: 9753.293
[aac @ 0x7fef4901b600] 2 frames left in the queue on closing
Conversion failed!


Any ideas?


Best regards, Gabriel






> On 30. May 2018, at 15:07, Carl Eugen Hoyos  wrote:
> 
> 2018-05-30 13:05 GMT+02:00, Gabriel Zachmann :
> 
>> (Full output below)
> 
> Unfortunately not...
> 
> Please provide the command line you tested together
> with the complete, uncut console output, remove the
> options -hide_banner and -loglevel if you need support.
> 
> (The version you tested is old.)
> 
> 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] Tag mp4s incompatible with output codec ?

2018-05-30 Thread Gabriel Zachmann
> 
> Either remove -map 0 as some data streams cannot be written

Could that have any negative side effects when I try to convert some other 
movies?

(I would like to have a generic script for converting all my movies into H265.)

Also, I am curious as to why ffmpeg could not write some streams, and which 
ones.


Best regards, Gabriel


> by FFmpeg or try current FFmpeg git head as I believe some
> changes in this regard were made.
> 
> Please do not top-post 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 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] Tag mp4s incompatible with output codec ?

2018-05-30 Thread Gabriel Zachmann
> 
> Either remove -map 0 as some data streams cannot be written

Could that have any negative side effects when I try to convert some other 
movies?

(I would like to have a generic script for converting all my movies into H265.)

Also, I am curious as to why ffmpeg could not write some streams, and which 
ones.


Best regards, Gabriel


> by FFmpeg or try current FFmpeg git head as I believe some
> changes in this regard were made.
> 
> Please do not top-post 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 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] Tag mp4s incompatible with output codec ?

2018-05-30 Thread Gabriel Zachmann
Sorry about that.

Here is the full command line and the output:

% ffmpeg -nostats -nostdin -i "Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4" -map 0 -c:s copy 
-map_metadata 0 -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a -c:a aac -b:a 
128k -codec:v hevc -tag:v hvc1 -preset faster -crf 25 -x265-params 
"profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1"
 -f mp4 "Neuroscience of VR, Congruency, pain distraction, presence, Enfacement 
effect, rubber hand, tools as part of the body, redirected walking - Bruno 
Herbelin, CERN, 2017.mp4_converting"
ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
 built with Apple LLVM version 9.0.0 (clang-900.0.37)
 configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework 
CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework 
CoreVideo'
 libavutil  55. 79.100 / 55. 79.100
 libavcodec 57.108.100 / 57.108.100
 libavformat57. 84.100 / 57. 84.100
 libavdevice57. 11.100 / 57. 11.100
 libavfilter 6.108.100 /  6.108.100
 libavresample   3.  8.  0 /  3.  8.  0
 libswscale  4.  9.100 /  4.  9.100
 libswresample   2. 10.100 /  2. 10.100
 libpostproc54.  8.100 / 54.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Neuroscience of VR, Congruency, pain 
distraction, presence, Enfacement effect, rubber hand, tools as part of the 
body, redirected walking - Bruno Herbelin, CERN, 2017.mp4':
 Metadata:
   major_brand : mp42
   minor_version   : 0
   compatible_brands: mp42isomavc1
   creation_time   : 2017-11-09T15:56:49.00Z
   compilation : 0
   encoder : Sorenson Squeeze
 Duration: 00:26:06.00, start: 0.00, bitrate: 5280 kb/s
   Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 96 kb/s (default)
   Metadata:
 creation_time   : 2017-11-09T15:56:49.00Z
 handler_name: soun
   Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, 
bt709/bt709/unknown), 1920x1080, 5002 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc 
(default)
   Metadata:
 creation_time   : 2017-11-09T15:56:49.00Z
 handler_name: vide
 encoder : AVC Coding
   Stream #0:2(und): Data: none (mp4s / 0x7334706D) (default)
   Metadata:
 creation_time   : 2017-11-09T15:56:58.00Z
 handler_name: sdsm
   Stream #0:3(und): Data: none (mp4s / 0x7334706D) (default)
   Metadata:
 creation_time   : 2017-11-09T15:56:58.00Z
 handler_name: odsm
   Stream #0:4(eng): Data: none (rtp  / 0x20707472), 13 kb/s
   Metadata:
 creation_time   : 2017-11-10T15:56:58.00Z
   Stream #0:5(eng): Data: none (rtp  / 0x20707472), 162 kb/s
   Metadata:
 creation_time   : 2017-11-10T15:57:00.00Z
Stream mapping:
 Stream #0:0 -> #0:0 (aac (native) -> aac (native))
 Stream #0:1 -> #0:1 (h264 (native) -> hevc (libx265))
 Stream #0:2 -> #0:2 (copy)
 Stream #0:3 -> #0:3 (copy)
 Stream #0:4 -> #0:4 (copy)
 Stream #0:5 -> #0:5 (copy)
[libx265 @ 0x7fef4901c800] Unknown option: profile.
[mp4 @ 0x7fef4901a400] Tag mp4s incompatible with output codec id '0' 
([0][0][0][0])
Could not write header for output file #0 (incorrect codec parameters ?): 
Invalid data found when processing input
Error initializing output stream 0:1 -- 
[aac @ 0x7fef4901b600] Qavg: 9753.293
[aac @ 0x7fef4901b600] 2 frames left in the queue on closing
Conversion failed!


Any ideas?


Best regards, Gabriel






> On 30. May 2018, at 15:07, Carl Eugen Hoyos  <mailto:ceffm...@gmail.com>> wrote:
> 
> 2018-05-30 13:05 GMT+02:00, Gabriel Zachmann  <mailto:z...@cs.uni-bremen.de>>:
> 
>> (Full output below)
> 
> Unfortunately not...
> 
> Please provide the command line you tested together
> with the complete, uncut console output, remove the
> options -hide_banner and -loglevel if you need support.
> 
> (The version you tested is old.)
> 
> 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] Tag mp4s incompatible with output codec ?

2018-05-30 Thread Gabriel Zachmann
I convert a video using 

ffmpeg -loglevel error -hide_banner -nostats -nostdin \
-i "input.mp4" \
-map 0 -c:s copy -map_metadata 0 -map_metadata:s:v 0:s:v 
-map_metadata:s:a 0:s:a \
-c:a aac -b:a 128k \
-codec:v hevc -tag:v hvc1 \
-preset faster -crf 25 \
-x265-params 
"profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1"
 \
-f mp4 "output.mp4_converting"

( I am running this under macOS 10.13.4, High Sierra,  see below for ffmpeg 
version)

I get this error message :

   Tag mp4s incompatible with output codec id '0'

(Full output below)

If you want to try it for yourself, here is the video (1GB):

https://www.dropbox.com/s/160hng6ziwhs0xr/Neuroscience%20of%20VR%2C%20Congruency%2C%20pain%20distraction%2C%20presence%2C%20Enfacement%20effect%2C%20rubber%20hand%2C%20tools%20as%20part%20of%20the%20body%2C%20redirected%20walking%20-%20Bruno%20Herbelin%2C%20CERN%2C%202017.mp4?dl=0

Can anyone please explain to me what the error message means?
And perhaps suggest a solution?

Thanks a lot in advance.

Best regards, Gabriel


Full output of the error message:

[mp4 @ 0x7fd166813c00] Tag mp4s incompatible with output codec id '0' 
([0][0][0][0])
Could not write header for output file #0 (incorrect codec parameters ?): 
Invalid data found when processing input
Error initializing output stream 0:1 -- 


ffmpeg version:

ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.37)
configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework 
CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework 
CoreVideo'
libavutil  55. 79.100 / 55. 79.100
libavcodec 57.108.100 / 57.108.100
libavformat57. 84.100 / 57. 84.100
libavdevice57. 11.100 / 57. 11.100
libavfilter 6.108.100 /  6.108.100
libavresample   3.  8.  0 /  3.  8.  0
libswscale  4.  9.100 /  4.  9.100
libswresample   2. 10.100 /  2. 10.100
libpostproc54.  8.100 / 54.  8.100


___
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] How to get rid of X265 info output

2018-05-22 Thread Gabriel Zachmann
I invoke ffmpeg like this:

/usr/local/bin/ffmpeg -loglevel error -hide_banner -nostats -nostdin -i 
'in.mpg' -map 0 -c:s copy -map_metadata 0 -map_metadata:s:v 0:s:v 
-map_metadata:s:a 0:s:a -c:a aac -b:a 128k -codec:v hevc -tag:v hvc1 -preset 
faster -crf 25 -x265-params 
profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6
 -f mp4 'out.mp4'

I wold like to get rid of the "x265 [info]" lines (full output at the end).

Is this possible?

Best regards, Gabriel


Enc.: output of the ffmpeg command

x265 [info]: HEVC encoder version 2.5
x265 [info]: build info [Mac OS X][clang 9.0.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 
BMI2 AVX2
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices  : 1
x265 [info]: frame threads / pool features   : 3 / wpp(9 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : umh / 57 / 5 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt: 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb   : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress: CRF-25.0 / 0.60
x265 [info]: tools: rd=6 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
x265 [info]: frame I: 21, Avg QP:23.93  kb/s: 3742.51 
x265 [info]: frame P:996, Avg QP:26.27  kb/s: 454.08  
x265 [info]: frame B:   4061, Avg QP:32.50  kb/s: 40.63   
x265 [info]: Weighted P-Frames: Y:0.8% UV:0.0%
x265 [info]: consecutive B-frames: 0.1% 0.1% 0.0% 0.0% 99.8% 

___
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] H265 conversion hardware ?

2018-05-20 Thread Gabriel Zachmann
Thanks a lot for the link - unfortunately , this is outside my budget.

Best regards, Gabriel


> 
> AJA Corvid HEVC
> https://www.aja.com/products/developer/corvid-hevc
> 
> I've used it extensively under Linux and they do support MAC
> This being said, I never tried it under MAC.
> 
>  (none of this is ffmpeg related though)
> 
> I hope this helps.
> 
> Louis

___
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] H265 conversion hardware ?

2018-05-18 Thread Gabriel Zachmann
Does anybody know of any hardware that would work with my MacBook Pro and speed 
up conversion to H265 (HEVC) ?

I already googled about that , but could not find anything.

Best regards, Gabriel

___
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] How to copy Photos.app metadata over?

2018-05-17 Thread Gabriel Zachmann
I need to convert a number of movies that I have stored in the Photos app on my 
mac (OSX 10.13, high sierra).

So, I export the movies from Photos, then convert them using ffmpeg, then 
import them back into Photos.

This is the ffmpeg command I use (version is attached below):

/usr/local/bin/ffmpeg -loglevel error -hide_banner -nostats -nostdin -i 
MIRU.mp4 -map 0 -c:s copy -map_metadata 0 -map_metadata:s:v 0:s:v 
-map_metadata:s:a 0:s:a -c:a aac -b:a 128k -f mp4 -codec:v hevc -tag:v hvc1 
-preset faster -crf 25 -x265-params 
profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6
 MIRU.h265.mp4

Problem is: after importing the new movie into Photos, all meta info is gone, 
especially the GPS location, date of recording, etc.

I tried to display the tags for both files using exiftool, and from that output 
it looks like all metadata has been copied over all right.
Except that those data does not contain the desired information.
(Below you'll find the output of exiftool)

I have also tried 'exiftool -tagsFromFile MIRU.mp4 MIRU.h265.mp4' , to no avail.

Does anyone have an idea , how I can transfer all the metadata from the 
originals to the converted movie files?
Especially date of recording, GPS, camera info.

Thanks a lot in advance for all kinds of insights and hints.


Best regards, Gabriel




ffmpeg version:

% /usr/local/bin/ffmpeg -version
ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.37)
configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework 
CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework 
CoreVideo'
libavutil  55. 79.100 / 55. 79.100
libavcodec 57.108.100 / 57.108.100
libavformat57. 84.100 / 57. 84.100
libavdevice57. 11.100 / 57. 11.100
libavfilter 6.108.100 /  6.108.100
libavresample   3.  8.  0 /  3.  8.  0
libswscale  4.  9.100 /  4.  9.100
libswresample   2. 10.100 /  2. 10.100
libpostproc54.  8.100 / 54.  8.100





Output of exiftool:


 MIRU.h265.mp4
ExifTool Version Number : 10.96
File Name   : MIRU.h265.mp4
Directory   : .
File Size   : 19 MB
File Modification Date/Time : 2018:05:15 18:43:56+02:00
File Access Date/Time   : 2018:05:17 10:33:46+02:00
File Inode Change Date/Time : 2018:05:17 10:37:31+02:00
File Permissions: rw-r-
File Type   : MP4
File Type Extension : mp4
MIME Type   : video/mp4
Major Brand : MP4  Base Media v1 [IS0 14496-12:2003]
Minor Version   : 0.2.0
Compatible Brands   : isom, iso2, mp41
Movie Data Size : 19400360
Movie Data Offset   : 44
Movie Header Version: 0
Create Date : 2018:05:15 16:42:39
Modify Date : 2018:05:15 16:42:39
Time Scale  : 1000
Duration: 0:01:04
Preferred Rate  : 1
Preferred Volume: 100.00%
Preview Time: 0 s
Preview Duration: 0 s
Poster Time : 0 s
Selection Time  : 0 s
Selection Duration  : 0 s
Current Time: 0 s
Next Track ID   : 3
Track Header Version: 0
Track Create Date   : 2018:05:15 16:42:39
Track Modify Date   : 2018:05:15 16:42:39
Track ID: 1
Track Duration  : 0:01:04
Track Layer : 0
Track Volume: 100.00%
Balance : 0
Audio Format: mp4a
Audio Channels  : 2
Audio Bits Per Sample   : 16
Audio Sample Rate   : 48000
Matrix Structure: 1 0 0 0 1 0 0 0 1
Image Width : 1280
Image Height: 720
Media Header Version: 0
Media Create Date   : 2018:05:15 16:42:39
Media Modify Date   : 2018:05:15 16:42:39
Media Time Scale: 15360
Media Duration  : 0:01:04
Media Language Code : und
Handler Description : VideoHandler
Graphics Mode   : srcCopy
Op Color   

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-04 Thread Gabriel Zachmann
Thanks to all, I consider the issue solved.

The solution is: I either have to 
- use the MOV container, in which case I can copy the mp3 stream to the output; 
or,
- use the MP4 container, in which case I have to convert audio to AAC.

Best regards, Gabriel


> On 3. Jan 2018, at 18:52, Gyan Doshi  wrote:
> 
> On 1/3/2018 10:49 PM, Erik Dobberkau wrote:
>> Regardless whether it is or not, there is some spec in QuickTime Player
>> which requires .mp4 containers to have h.264 (and obviously now also h.265)
>> video, and aac audio. OTOH I can't remember where I got this from, it's
>> quite some years back...
> 
> As per the ref below, audio in MP4 can only be AAC.
> 
> https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/CoreAudioOverview/SupportedAudioFormatsMacOSX/SupportedAudioFormatsMacOSX.html
> 
> 
> Regards,
> Gyan
> ___
> 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] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
n / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt: 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb   : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 2 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress: CRF-24.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
Output #0, mp4, to 'Die Frau des Bäckers (La femme du boulanger) - Marcel 
Pagnol (1938, frz, deu sub).h265.mp4':
  Metadata:
major_brand : qt  
minor_version   : 537199360
compatible_brands: qt  
creation_time   : 2018-01-02T10:23:23.00Z
com.apple.quicktime.displayname: Die Frau des Bäckers
com.apple.quicktime.comment: Spielfilm Frankreich 1938 In einem kleinen 
Dorf der Provence ist die Ankunft des neuen Bäckers Aimable Castanier ein 
großes Ereignis. Es wird zu einer wahren Sensation, als die Bewohner die junge 
und sehr hübsche Frau des Bäckers, Aurélie, zu Gesicht
com.apple.quicktime.software: Lavf54.17.100
com.apple.quicktime.player.movie.audio.gain: 1.00
com.apple.quicktime.player.movie.audio.treble: 0.00
com.apple.quicktime.player.movie.audio.bass: 0.00
com.apple.quicktime.player.movie.audio.balance: 0.00
com.apple.quicktime.player.movie.audio.pitchshift: 0.00
com.apple.quicktime.player.movie.audio.mute: 
com.apple.quicktime.player.movie.visual.brightness: 0.00
com.apple.quicktime.player.movie.visual.color: 1.00
com.apple.quicktime.player.movie.visual.tint: 0.00
com.apple.quicktime.player.movie.visual.contrast: 1.00
com.apple.quicktime.player.version: 7.6.6 (7.6.6)
com.apple.quicktime.version: 7.7.3 (3014) 0x7738000 (Mac OS X, 10.13.2, 
17C88)
encoder : Lavf57.84.100
Stream #0:0(eng): Video: hevc (libx265) (hvc1 / 0x31637668), yuv420p, 
720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
  creation_time   : 2018-01-02T10:23:23.00Z
  handler_name: Apple Alias Data Handler
  encoder : Lavc57.108.100 libx265
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, 
fltp, 128 kb/s (default)
Metadata:
  creation_time   : 2018-01-02T10:23:23.00Z
  handler_name: Apple Alias Data Handler
  encoder : Lavc57.108.100 aac
frame= 3000 fps=210 q=-0.0 Lsize=5125kB time=00:02:00.00 bitrate= 
349.8kbits/s dup=2 drop=0 speed=8.39x
video:3151kB audio:1886kB subtitle:0kB other streams:0kB global headers:2kB 
muxing overhead: 1.746495%
x265 [info]: frame I: 13, Avg QP:20.27  kb/s: 2882.54 
x265 [info]: frame P:589, Avg QP:22.73  kb/s: 730.86  
x265 [info]: frame B:   2398, Avg QP:29.65  kb/s: 72.95   
x265 [info]: Weighted P-Frames: Y:27.7% UV:0.7%
x265 [info]: consecutive B-frames: 0.3% 0.0% 0.0% 0.3% 99.3% 

encoded 3000 frames in 14.25s (210.59 fps), 214.30 kb/s, Avg QP:28.25
[aac @ 0x7fa8f4027800] Qavg: 648.095




> On 3. Jan 2018, at 14:06, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 
> 2018-01-03 11:39 GMT+01:00 Gabriel Zachmann <z...@cs.uni-bremen.de>:
> 
>>   Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 
>> 192 kb/s (default)
> 
> Please do not cut excerpts of console output, always provide
> the ffmpeg command line you tested together with the complete,
> uncut console output (do not use ffprobe to show issues that
> can be reproduced with ffmpeg).
> (I cannot reproduce.)
> 
> 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".

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
> 
> Why are you not choosing .mov as output format if your target
> is QuickTime for which mov was invented?

I tried it , to no avail.  Stil no sound in Quicktime Player (macOS 10.13.2). 

It seems to me that macOS does not recognize the audio stream.

VLC reports 2 streams;
stream 0: type = video, codec = MPEG-H Part 2 / HEVC (H.265) (hevc)
stream 1: type = audio, codec = MPEG Audio layer 1/2 (mp4a) 

ffprobe also reports 2 streams:

Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, 
progressive), 720x576 [SAR 64:45 DAR 16:9], 215 kb/s, 25 fps, 25 tbr, 12800 
tbn, 25 tbc (default)
Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 
192 kb/s (default)

But Quicktime Player seems to see only 1 stream: the info I get is 
Source: 
Format: HEVC, 720x576
FPS: 25
Data Size: ..
Data Rate: ..
Current Size:

Nothing else.


Best regards, Gabriel


___
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 not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
 Funny thing is, when I convert to "mov" container, the audio plays fine.
>>> 
>>> (Why "funny", I thought this is expected.)
>> 
>> I don't know very much about container format.
>> I always assumed that MOV can contain mp3 as well as aac.
> 
> That is exactly what your tests confirmed.

Sorry, I wanted to say that I always assumed that MP4 can contain mp3 as well 
as aac audio tracks.

Best regards, Gabriel

___
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 not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
>> Funny thing is, when I convert to "mov" container, the audio plays fine.
> 
> (Why "funny", I thought this is expected.)

I don't know very much about container format. 
I always assumed that MOV can contain mp3 as well as aac.

Is that assumption wrong?

Best regards, Gabriel

___
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 not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
rences / ref-limit  cu / depth  : 2 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress: CRF-24.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
Output #0, mp4, to 'Die Frau des Bäckers (La femme du boulanger) - Marcel 
Pagnol (1938, frz, deu sub).h265.mp4':
 Metadata:
   major_brand : qt  
   minor_version   : 537199360
   compatible_brands: qt  
   creation_time   : 2018-01-02T10:23:23.00Z
   com.apple.quicktime.displayname: Die Frau des Bäckers
   com.apple.quicktime.comment: Spielfilm Frankreich 1938 In einem kleinen Dorf 
der Provence ist die Ankunft des neuen Bäckers Aimable Castanier ein großes 
Ereignis. Es wird zu einer wahren Sensation, als die Bewohner die junge und 
sehr hübsche Frau des Bäckers, Aurélie, zu Gesicht
   com.apple.quicktime.software: Lavf54.17.100
   com.apple.quicktime.player.movie.audio.gain: 1.00
   com.apple.quicktime.player.movie.audio.treble: 0.00
   com.apple.quicktime.player.movie.audio.bass: 0.00
   com.apple.quicktime.player.movie.audio.balance: 0.00
   com.apple.quicktime.player.movie.audio.pitchshift: 0.00
   com.apple.quicktime.player.movie.audio.mute: 
   com.apple.quicktime.player.movie.visual.brightness: 0.00
   com.apple.quicktime.player.movie.visual.color: 1.00
   com.apple.quicktime.player.movie.visual.tint: 0.00
   com.apple.quicktime.player.movie.visual.contrast: 1.00
   com.apple.quicktime.player.version: 7.6.6 (7.6.6)
   com.apple.quicktime.version: 7.7.3 (3014) 0x7738000 (Mac OS X, 10.13.2, 
17C88)
   encoder : Lavf57.84.100
   Stream #0:0(eng): Video: hevc (libx265) (hvc1 / 0x31637668), yuv420p, 
720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 12800 tbn, 25 tbc (default)
   Metadata:
 creation_time   : 2018-01-02T10:23:23.00Z
 handler_name: Apple Alias Data Handler
 encoder : Lavc57.108.100 libx265
   Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, 
fltp, 128 kb/s (default)
   Metadata:
 creation_time   : 2018-01-02T10:23:23.00Z
 handler_name: Apple Alias Data Handler
 encoder : Lavc57.108.100 aac
frame= 3000 fps=210 q=-0.0 Lsize=5125kB time=00:02:00.00 bitrate= 
349.8kbits/s dup=2 drop=0 speed=8.39x
video:3151kB audio:1886kB subtitle:0kB other streams:0kB global headers:2kB 
muxing overhead: 1.746495%
x265 [info]: frame I: 13, Avg QP:20.27  kb/s: 2882.54 
x265 [info]: frame P:589, Avg QP:22.73  kb/s: 730.86  
x265 [info]: frame B:   2398, Avg QP:29.65  kb/s: 72.95   
x265 [info]: Weighted P-Frames: Y:27.7% UV:0.7%
x265 [info]: consecutive B-frames: 0.3% 0.0% 0.0% 0.3% 99.3% 

encoded 3000 frames in 14.25s (210.59 fps), 214.30 kb/s, Avg QP:28.25
[aac @ 0x7fa8f4027800] Qavg: 648.095




> On 3. Jan 2018, at 14:06, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 
> 2018-01-03 11:39 GMT+01:00 Gabriel Zachmann <z...@cs.uni-bremen.de>:
> 
>>  Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 
>> 192 kb/s (default)
> 
> Please do not cut excerpts of console output, always provide
> the ffmpeg command line you tested together with the complete,
> uncut console output (do not use ffprobe to show issues that
> can be reproduced with ffmpeg).
> (I cannot reproduce.)
> 
> 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".

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
> 
> Why are you not choosing .mov as output format if your target
> is QuickTime for which mov was invented?

I tried it , to no avail.  Stil no sound in Quicktime Player (macOS 10.13.2). 

It seems to me that macOS does not recognize the audio stream.

VLC reports 2 streams;
stream 0: type = video, codec = MPEG-H Part 2 / HEVC (H.265) (hevc)
stream 1: type = audio, codec = MPEG Audio layer 1/2 (mp4a) 

ffprobe also reports 2 streams:

   Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, 
progressive), 720x576 [SAR 64:45 DAR 16:9], 215 kb/s, 25 fps, 25 tbr, 12800 
tbn, 25 tbc (default)
   Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 
192 kb/s (default)

But Quicktime Player seems to see only 1 stream: the info I get is 
Source: 
Format: HEVC, 720x576
FPS: 25
Data Size: ..
Data Rate: ..
Current Size:

Nothing else.


Best regards, Gabriel


___
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 not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
>> I am converting a video , but when I play the output in Quicktime
>> Player on macOS, then the audio seems to be gone.
> 
> Why are you not choosing .mov as output format if your target
> is QuickTime for which mov was invented?

IIRC, I read somewhere that mp4 is the "standard" format for H265 - but I will 
try mov, too.

Best regards, Gabriel

___
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 not playing in Quicktime Player

2018-01-02 Thread Gabriel Zachmann
ime   : 2018-01-02T10:23:23.00Z
com.apple.quicktime.displayname: Die Frau des Bäckers
com.apple.quicktime.comment: Spielfilm Frankreich 1938 In einem kleinen 
Dorf der Provence ist die Ankunft des neuen Bäckers Aimable Castanier ein 
großes Ereignis. Es wird zu einer wahren Sensation, als die Bewohner die junge 
und sehr hübsche Frau des Bäckers, Aurélie, zu Gesicht
com.apple.quicktime.software: Lavf54.17.100
com.apple.quicktime.player.movie.audio.gain: 1.00
com.apple.quicktime.player.movie.audio.treble: 0.00
com.apple.quicktime.player.movie.audio.bass: 0.00
com.apple.quicktime.player.movie.audio.balance: 0.00
com.apple.quicktime.player.movie.audio.pitchshift: 0.00
com.apple.quicktime.player.movie.audio.mute: 
com.apple.quicktime.player.movie.visual.brightness: 0.00
com.apple.quicktime.player.movie.visual.color: 1.00
com.apple.quicktime.player.movie.visual.tint: 0.00
com.apple.quicktime.player.movie.visual.contrast: 1.00
com.apple.quicktime.player.version: 7.6.6 (7.6.6)
com.apple.quicktime.version: 7.7.3 (3014) 0x7738000 (Mac OS X, 10.13.2, 
17C88)
encoder : Lavf57.84.100
Stream #0:0(eng): Video: hevc (libx265) (hvc1 / 0x31637668), yuv420p, 
720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
  creation_time   : 2018-01-02T10:23:23.00Z
  handler_name: Apple Alias Data Handler
  encoder : Lavc57.108.100 libx265
Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 
192 kb/s (default)
Metadata:
  creation_time   : 2018-01-02T10:23:23.00Z
  handler_name: Apple Alias Data Handler
frame=192541 fps=135 q=-0.0 Lsize=  504307kB time=02:08:21.60 bitrate= 
536.4kbits/s dup=2 drop=1 speed=5.39x
video:318829kB audio:180507kB subtitle:0kB other streams:0kB global headers:2kB 
muxing overhead: 0.995591%
x265 [info]: frame I:873, Avg QP:21.26  kb/s: 4457.34 
x265 [info]: frame P:  37882, Avg QP:23.54  kb/s: 1090.99 
x265 [info]: frame B: 153786, Avg QP:30.79  kb/s: 129.54  
x265 [info]: Weighted P-Frames: Y:4.6% UV:0.2%
x265 [info]: consecutive B-frames: 0.6% 0.1% 0.2% 0.1% 99.0% 

encoded 192541 frames in 1429.52s (134.69 fps), 338.33 kb/s, Avg QP:29.32





> On 2. Jan 2018, at 16:16, Dave Rice <d...@dericed.com> wrote:
> 
>> 
>> On Jan 2, 2018, at 9:44 AM, Gabriel Zachmann <z...@cs.uni-bremen.de> wrote:
>> 
>> I am converting a video , but when I play the output in Quicktime Player on 
>> macOS, then the audio seems to be gone.
>> However, when I play the output video using VLC, everything is fine, I can 
>> hear the audio.
>> The images in the video play fine in both Quicktime Player and VLC.
>> 
>> Does anybody have an idea what I might be doing wrong?
>> 
>> Here are more details.
>> 
>> The command line for conversion:
>> 
>> /usr/local/bin/ffmpeg -i "$input" \
>>   -map 0 -c:s copy -c:a copy -map_metadata 0 \
>>   -f mp4 -codec:v hevc -tag:v hvc1 \
>>   -preset faster -crf 24 -x265-params \
>>   "aq-mode=3:psy-rd=1.6:psy-rdoq=5.0:rdoq-level=1" \
>>   "$output"
>> 
>> I am living under macOS 10.13.2 (High Sierra).
>> 
>> The self-report of ffmpeg is:
>> 
>> ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
>> built with Apple LLVM version 9.0.0 (clang-900.0.37)
>> configuration: --enable-swscale --enable-avfilter --enable-avresample 
>> --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
>> --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
>> --enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
>> --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
>> --disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
>> --enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
>> --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
>> --enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib 
>> -framework CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ 
>> -framework CoreVideo'
>> libavutil  55. 79.100 / 55. 79.100
>> libavcodec 57.108.100 / 57.108.100
>> libavformat57. 84.100 / 57. 84.100
>> libavdevice57. 11.100 / 57. 11.100
>> libavfilter 6.108.100 /  6.108.100
>> libavresample   3.  8.  0 /  3.  8.  0
>> libswscale  4.  9.100 /  4.  9.100
>> libswresample   2. 10.100 /  2. 10.100
>> libpostproc54.  8.100 / 54.  8.100
>> 
>> 
>> Any hints and suggestions will be highly appreciated.
>

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-02 Thread Gabriel Zachmann
3:23.00Z
   com.apple.quicktime.displayname: Die Frau des Bäckers
   com.apple.quicktime.comment: Spielfilm Frankreich 1938 In einem kleinen Dorf 
der Provence ist die Ankunft des neuen Bäckers Aimable Castanier ein großes 
Ereignis. Es wird zu einer wahren Sensation, als die Bewohner die junge und 
sehr hübsche Frau des Bäckers, Aurélie, zu Gesicht
   com.apple.quicktime.software: Lavf54.17.100
   com.apple.quicktime.player.movie.audio.gain: 1.00
   com.apple.quicktime.player.movie.audio.treble: 0.00
   com.apple.quicktime.player.movie.audio.bass: 0.00
   com.apple.quicktime.player.movie.audio.balance: 0.00
   com.apple.quicktime.player.movie.audio.pitchshift: 0.00
   com.apple.quicktime.player.movie.audio.mute: 
   com.apple.quicktime.player.movie.visual.brightness: 0.00
   com.apple.quicktime.player.movie.visual.color: 1.00
   com.apple.quicktime.player.movie.visual.tint: 0.00
   com.apple.quicktime.player.movie.visual.contrast: 1.00
   com.apple.quicktime.player.version: 7.6.6 (7.6.6)
   com.apple.quicktime.version: 7.7.3 (3014) 0x7738000 (Mac OS X, 10.13.2, 
17C88)
   encoder : Lavf57.84.100
   Stream #0:0(eng): Video: hevc (libx265) (hvc1 / 0x31637668), yuv420p, 
720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 12800 tbn, 25 tbc (default)
   Metadata:
 creation_time   : 2018-01-02T10:23:23.00Z
 handler_name: Apple Alias Data Handler
 encoder : Lavc57.108.100 libx265
   Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 
192 kb/s (default)
   Metadata:
 creation_time   : 2018-01-02T10:23:23.00Z
 handler_name: Apple Alias Data Handler
frame=192541 fps=135 q=-0.0 Lsize=  504307kB time=02:08:21.60 bitrate= 
536.4kbits/s dup=2 drop=1 speed=5.39x
video:318829kB audio:180507kB subtitle:0kB other streams:0kB global headers:2kB 
muxing overhead: 0.995591%
x265 [info]: frame I:873, Avg QP:21.26  kb/s: 4457.34 
x265 [info]: frame P:  37882, Avg QP:23.54  kb/s: 1090.99 
x265 [info]: frame B: 153786, Avg QP:30.79  kb/s: 129.54  
x265 [info]: Weighted P-Frames: Y:4.6% UV:0.2%
x265 [info]: consecutive B-frames: 0.6% 0.1% 0.2% 0.1% 99.0% 

encoded 192541 frames in 1429.52s (134.69 fps), 338.33 kb/s, Avg QP:29.32





> On 2. Jan 2018, at 16:16, Dave Rice <d...@dericed.com 
> <mailto:d...@dericed.com>> wrote:
> 
>> 
>> On Jan 2, 2018, at 9:44 AM, Gabriel Zachmann <z...@cs.uni-bremen.de> wrote:
>> 
>> I am converting a video , but when I play the output in Quicktime Player on 
>> macOS, then the audio seems to be gone.
>> However, when I play the output video using VLC, everything is fine, I can 
>> hear the audio.
>> The images in the video play fine in both Quicktime Player and VLC.
>> 
>> Does anybody have an idea what I might be doing wrong?
>> 
>> Here are more details.
>> 
>> The command line for conversion:
>> 
>> /usr/local/bin/ffmpeg -i "$input" \
>>  -map 0 -c:s copy -c:a copy -map_metadata 0 \
>>  -f mp4 -codec:v hevc -tag:v hvc1 \
>>  -preset faster -crf 24 -x265-params \
>>  "aq-mode=3:psy-rd=1.6:psy-rdoq=5.0:rdoq-level=1" \
>>  "$output"
>> 
>> I am living under macOS 10.13.2 (High Sierra).
>> 
>> The self-report of ffmpeg is:
>> 
>> ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
>> built with Apple LLVM version 9.0.0 (clang-900.0.37)
>> configuration: --enable-swscale --enable-avfilter --enable-avresample 
>> --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
>> --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
>> --enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
>> --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
>> --disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
>> --enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
>> --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
>> --enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib 
>> -framework CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ 
>> -framework CoreVideo'
>> libavutil  55. 79.100 / 55. 79.100
>> libavcodec 57.108.100 / 57.108.100
>> libavformat57. 84.100 / 57. 84.100
>> libavdevice57. 11.100 / 57. 11.100
>> libavfilter 6.108.100 /  6.108.100
>> libavresample   3.  8.  0 /  3.  8.  0
>> libswscale  4.  9.100 /  4.  9.100
>> libswresample   2. 10.100 /  2. 10.100
>> libpostproc54.  8.100 / 54.  8.100
>> 
>> 
>> Any hints and suggestions will be highly appreciated.
> 
> Could you share the full terminal output rather than only this 

[FFmpeg-user] Audio not playing in Quicktime Player

2018-01-02 Thread Gabriel Zachmann
I am converting a video , but when I play the output in Quicktime Player on 
macOS, then the audio seems to be gone.
However, when I play the output video using VLC, everything is fine, I can hear 
the audio.
The images in the video play fine in both Quicktime Player and VLC.

Does anybody have an idea what I might be doing wrong?

Here are more details.

The command line for conversion:

/usr/local/bin/ffmpeg -i "$input" \
-map 0 -c:s copy -c:a copy -map_metadata 0 \
-f mp4 -codec:v hevc -tag:v hvc1 \
-preset faster -crf 24 -x265-params \
"aq-mode=3:psy-rd=1.6:psy-rdoq=5.0:rdoq-level=1" \
"$output"

I am living under macOS 10.13.2 (High Sierra).

The self-report of ffmpeg is:

ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.37)
  configuration: --enable-swscale --enable-avfilter --enable-avresample 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora 
--enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr 
--enable-libspeex --enable-libass --enable-libbluray --enable-lzma 
--enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi 
--disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 
--enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 
--enable-x86asm --enable-libx265 --enable-gpl --enable-postproc 
--enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework 
CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework 
CoreVideo'
  libavutil  55. 79.100 / 55. 79.100
  libavcodec 57.108.100 / 57.108.100
  libavformat57. 84.100 / 57. 84.100
  libavdevice57. 11.100 / 57. 11.100
  libavfilter 6.108.100 /  6.108.100
  libavresample   3.  8.  0 /  3.  8.  0
  libswscale  4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc54.  8.100 / 54.  8.100


Any hints and suggestions will be highly appreciated.

Best regards, Gabriel


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