[FFmpeg-user] After demuxing 50i = 50p (...I think...)
Hornung, Bastian
bastian.hornung at wur.nl
Wed May 4 14:21:30 CEST 2016
Sorry everyone, I'm trying to reply to a message which I had not gotten (because I was not subscribed), and I don't know how to set the in-reply-to header manually in outlook, so I hope the right person will still see it, it's a reply to:
https://www.mail-archive.com/ffmpeg-user@ffmpeg.org/msg09475.html
(sorry for the mess)
First: Thanks Carl :).
I cloned the latest git version, and did the conversion again.
Funnily I get now "100" fps instead of the already wrong 50 fps (should be 25 fps), and it also shows the same behaviour in Adobe Premiere (video running now 4 times as fast while still having only enough frames for 25fps, sound being on the right speed, and therefore video and audio not in sync).
I see that the tbn parameter changes in the output (from 25 in the input to 100 in the output), but I don't have an idea why this would happen.
Apparently manually controlling it is also not possible ( https://ffmpeg.org/pipermail/ffmpeg-user/2012-November/011391.html )
Could this be a bug instead of me being incapable?
Full console output:
bastian at SSB13002 ~/Tools/ffmpeg 13:44:59$ ./ffmpeg -i /2tb-internal-2/data/film-SSB/PRIVATE-23-06/SONY/BPAV/CLPR/F131_1873_01/F131_1873_01.MP4 -c:v copy -map 0 -c:a wmav2 /2tb-internal-2/data/film-SSB/PRIVATE-23-06/SONY/BPAV/CLPR/F131_1873_01/F131_1873_01_converted_video_copy_audio_wmav2_default_latest.avi
ffmpeg version N-79754-g66eb5b8 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
configuration:
libavutil 55. 23.100 / 55. 23.100
libavcodec 57. 38.100 / 57. 38.100
libavformat 57. 36.100 / 57. 36.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 44.100 / 6. 44.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/2tb-internal-2/data/film-SSB/PRIVATE-23-06/SONY/BPAV/CLPR/F131_1873_01/F131_1873_01.MP4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42
creation_time : 2014-06-23 13:22:33
Duration: 00:02:16.88, start: 0.000000, bitrate: 38036 kb/s
Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 34962 kb/s, 25 fps, 25 tbr, 25k tbn (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Video Media Handler
Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
Stream #0:2(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
Stream #0:3(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
Stream #0:4(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 1 channels, s16, 768 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
[avi @ 0x348c380] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 4 times
Output #0, avi, to '/2tb-internal-2/data/film-SSB/PRIVATE-23-06/SONY/BPAV/CLPR/F131_1873_01/F131_1873_01_converted_video_copy_audio_wmav2_default_latest.avi':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42
ISFT : Lavf57.36.100
Stream #0:0(eng): Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 34962 kb/s, 25 fps, 25 tbr, 100 tbn (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Video Media Handler
Stream #0:1(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono, fltp, 128 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
encoder : Lavc57.38.100 wmav2
Stream #0:2(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono, fltp, 128 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
encoder : Lavc57.38.100 wmav2
Stream #0:3(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono, fltp, 128 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
encoder : Lavc57.38.100 wmav2
Stream #0:4(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono, fltp, 128 kb/s (default)
Metadata:
creation_time : 2014-06-23 13:22:33
handler_name : Sound Media Handler
encoder : Lavc57.38.100 wmav2
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (pcm_s16be (native) -> wmav2 (native))
Stream #0:2 -> #0:2 (pcm_s16be (native) -> wmav2 (native))
Stream #0:3 -> #0:3 (pcm_s16be (native) -> wmav2 (native))
Stream #0:4 -> #0:4 (pcm_s16be (native) -> wmav2 (native))
Press [q] to stop, [?] for help
frame= 3422 fps=393 q=-1.0 Lsize= 593377kB time=00:02:16.87 bitrate=35513.8kbits/s speed=15.7x
video:584182kB audio:8549kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.108934%
Any further help would still be appreciated :).
Thanks,
Bastian
More information about the ffmpeg-user
mailing list