Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)
On 26/07/15 11:27, Carl Eugen Hoyos wrote: MrNice wxcvbn2006 at iol.ie writes: I tried -ts abs then -ts mono2abs, (wallclock is the same as abs) Duration: N/A, start: 1437900701.356327 Duration: N/A, start: 1437900702.504357 This looks correct to me... Carl Eugen But the error messages are still here: Past duration 0.802895 too large *** dropping frame 10 from stream 0 at ts 8 Cliping frame in rate conversion by ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -i alsa_input.pci-_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -c:v ffv1 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv ffmpeg version N-73832-g736a386 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --enable-libpulse --enable-gpl --enable-libx264 libavutil 54. 28.100 / 54. 28.100 libavcodec 56. 49.101 / 56. 49.101 libavformat56. 40.101 / 56. 40.101 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 25.100 / 5. 25.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc53. 3.100 / 53. 3.100 matched as AVOption 'debug' with argument '1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'pulse'. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'. Reading option '-channel_layout' ... matched as option 'channel_layout' (set channel layout) with argument 'stereo'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'. Reading option '-i' ... matched as input file with argument 'alsa_input.pci-_00_14.2.analog-stereo'. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'. Reading option '-ts' ... matched as AVOption 'ts' with argument 'mono2abs'. Reading option '-channel' ... matched as AVOption 'channel' with argument '1'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuyv422'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'. Reading option '-i' ... matched as input file with argument '/dev/video0'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p'. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'. Reading option '/Store3/Test/t_20150726_0953.mkv' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Successfully parsed a group of options. Parsing a group of options: input file alsa_input.pci-_00_14.2.analog-stereo. Applying option f (force format) with argument pulse. Applying option ar (set audio sampling rate (in Hz)) with argument 44100. Applying option ac (set number of audio channels) with argument 2. Applying option channel_layout (set channel layout) with argument stereo. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512. Successfully parsed a group of options. Opening an input file: alsa_input.pci-_00_14.2.analog-stereo. [pulse @ 0x34d3200] All info found Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo': Duration: N/A, start: 1437900797.180740, bitrate: 1411 kb/s Stream #0:0, 1, 1/100: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Successfully opened the file. Parsing a group of options: input file /dev/video0. Applying option f (force format) with argument v4l2. Applying option pix_fmt (set pixel format) with argument yuyv422. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512. Successfully parsed a group of options. Opening an input file: /dev/video0. [video4linux2,v4l2 @ 0x34ebfc0] fd:6 capabilities:85220001 [video4linux2,v4l2 @ 0x34ebfc0] Selecting input_channel: 1 [video4linux2,v4l2 @ 0x34ebfc0] Current input_channel: 1, input_name: S-Video, input_std: ff [video4linux2,v4l2 @ 0x34ebfc0] Querying the device for the current frame size [video4linux2,v4l2 @ 0x34ebfc0] Setting frame size to 720x576 [video4linux2,v4l2 @ 0x34ebfc0] The V4L2 driver is using the interlaced mode [video4linux2,v4l2 @ 0x34ebfc0] Current standard: PAL, id: ff, frameperiod: 1/25 [video4linux2,v4l2 @ 0x34ebfc0] Detected monotonic timestamps, converting [video4linux2,v4l2 @ 0x34ebfc0] All info found Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1437900798.315291, bitrate: 165888 kb/s Stream #1:0, 1,
Re: [FFmpeg-user] taking audio and video inputs from different devices
Ricardo Kleemann ricardo at americasnet.com writes: Input #0, avfoundation, from 'none:1': Duration: N/A, start: 28853.224036 Input #1, decklink, from 'UltraStudio Mini Recorder at 9': Duration: N/A, start: 0.00 The different start times are an issue. Does it work if you only record audio? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Inserting Seekable Offsets in m4a Audio File
Hi, first post here and as will be apparent I am not a coder so please forgive naivity. I have a number of audio files downloaded from Radio 3 using GiP which I have been told contain only 1 offset: the offset of the start of the audio track within the file (after all the metadata) and therefore the seek mechanism of the player I am using does not work. The files are mostly over 2 hours playing time in good quality stereo but it would be good to be able to stop and resume rather than have to play from the beginning each time. I believe it should be possible to use ffmpeg to remux these files and insert offsets but a simple command ffmpeg -i inputfile.mp4 -c:a copy outputfile.m4a did not work. Please could somebody help me understand how to fix this and hopefully preserve the metadata as well. It would be good also if somebody could explain how I could find out for myself about how to examine the file and the offsets. I am running 64 bit openSUSE 13.2 with KDE desktop. Regards, Budgie2 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] How to consider bitrate, -maxrate and -bufsize
I am using ffmpeg to encode my videos. Saw this post https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9/ about using ffmpeg. And didn't quite get it. I wanted to know how to consider bitrate of a video. Suppose I have a video of size 70 MB. And the Duration is 4 minutes. Now how would I consider the value for these flags : -b:v, -maxrate and -bufsize, in this command? ffmpeg -i input -codec:v libx264 -profile:v main -preset slow -b:v *?* -maxrate *?* -bufsize *?* -vf scale=720:trunc(ow/a/2)*2 -threads 0 -codec:a libfdk_aac -movflags +faststart output I would really appreciate your help and guidance. Thank you. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)
MrNice wxcvbn2006 at iol.ie writes: I tried -ts abs then -ts mono2abs, (wallclock is the same as abs) Duration: N/A, start: 1437900701.356327 Duration: N/A, start: 1437900702.504357 This looks correct to me... Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] taking audio and video inputs from different devices
On Jul 26, 2015, at 3:28 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Ricardo Kleemann ricardo at americasnet.com writes: Input #0, avfoundation, from 'none:1': Duration: N/A, start: 28853.224036 Input #1, decklink, from 'UltraStudio Mini Recorder at 9': Duration: N/A, start: 0.00 The different start times are an issue. Does it work if you only record audio? I’m not sure where the crazy start time comes from, but yes, the audio works fine if done separately. Maybe I need to do something differently to mix the audio and video? $ ffmpeg -f avfoundation -i none:1 -ac 2 -vn audio.mp4 ffmpeg version N-73104-g7604358 Copyright (c) 2000-2015 the FFmpeg developers built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) configuration: --prefix=/usr/local --enable-gpl --enable-nonfree --enable-ffplay --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-decklink --extra-cflags=-I/Users/ptl/blackmagicsdk/Mac/include --extra-ldflags=-L/Users/ptl/blackmagicsdk/Mac/include libavutil 54. 27.100 / 54. 27.100 libavcodec 56. 44.100 / 56. 44.100 libavformat56. 38.100 / 56. 38.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 17.100 / 5. 17.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.100 / 1. 2.100 libpostproc53. 3.100 / 53. 3.100 Input #0, avfoundation, from 'none:1': Duration: N/A, start: 66610.243492, bitrate: 2822 kb/s Stream #0:0: Audio: pcm_f32le, 44100 Hz, stereo, flt, 2822 kb/s Output #0, mp4, to 'audio.mp4': Metadata: encoder : Lavf56.38.100 Stream #0:0: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s Metadata: encoder : Lavc56.44.100 libfdk_aac Stream mapping: Stream #0:0 - #0:0 (pcm_f32le (native) - aac (libfdk_aac)) Press [q] to stop, [?] for help size= 330kB time=00:00:20.81 bitrate= 129.9kbits/s video:0kB audio:326kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.301418% Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Test Message to List
Please ignore this message. Budgie2 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] taking audio and video inputs from different devices
Ricardo Kleemann ricardo at americasnet.com writes: Does it work if you only record audio? I’m not sure where the crazy start time comes from, but yes, the audio works fine if done separately. Does -vsync 0 help? Did you explain which hardware device this is? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Cropping small portion of input video while rescaling
Kieran O'Leary kieran.oleary at irishfilm.ie writes: Carl Eugen Hoyos writes: This should be -framerate 24 Is this because I'm using an image sequence? Yes, you should only use the input option -r if you have a reason (changing the speed of the input stream). -r 24 Remove this one unless there is a (specific) reason. Do you mean that I don't need to specify the framerate of the ouput as I've declared it for the input? Imo, you should only declare it if you want another frame rate for output than for input (= if you explicitely want frames to be dropped or copied). this command be ok? I cannot really comment on your command but it looks saner to me than the first one. Thanks for your help, Carl. I've tried to fix my quoting (manually). While I also do it sometimes, it's better to fix your mailer. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] multiple fade out slow down encoding about two to three times
On Sat, 25 Jul 2015 22:23:07 +0200, Tomáš Hnyk tomash...@gmail.com wrote: On Sat, 25 Jul 2015 22:18:43 +0200, Paul B Mahol one...@gmail.com wrote: Dana 25. 7. 2015. 20:31 osoba Tomáš Hnyk tomash...@gmail.com napisala je: It encodes in roughly 14 fps. But fade ins and outs occur only at the very beginning (in the first 11 seconds), yet the slow down is preserved (I also run the compilation for about five minuts). Is this a performance bug? What ffmpeg version you are using? Fade filter can use multiple cores to speed up filtering. What fps speed you want? The version is: ffmpeg version 2.5.7-0ubuntu0.15.04.1 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13) All my 4 cores were used to the fullest. I want the same fps as without the fade filter in the parts of the video where there is no fading. The video is 105 minutes long. Fade ins and outs are all in the first eleven seconds. I do not mind if these first eleven seconds are rendered super-slowly, but why does the whole encoding process (for the whole 105-minute-long video) take about 2.5 as long as without the fade filter? Tomas In the end, it seems I was biting myself in the foot, much more efficient version that accomplishes the same (well, my original version with fadeins and outs did not work for fade ins but only for fade outs for some reason) is this: ffmpeg \ -loop 1 -i a/01.png \ -loop 1 -i a/02.png \ -loop 1 -i a/03.png \ -loop 1 -i a/04.png \ -loop 1 -i a/05.png \ -loop 1 -i a/06.png \ -loop 1 -i a/07.png \ -loop 1 -i a/08.png \ -loop 1 -i a/09.png \ -i in.mov \ -filter_complex \ [0:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad0]; \ [1:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad1]; \ [2:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad2]; \ [3:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad3]; \ [4:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad4]; \ [5:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad5]; \ [6:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad6]; \ [7:v]trim=duration=1.2,fade=in:st=0:d=0.2,fade=out:st=0.8:d=0.2[fad7]; \ [8:v]trim=duration=1.5,fade=in:st=0:d=0.2,fade=out:st=1.3:d=0.2[fad8]; \ [fad0][fad1][fad2][fad3][fad4][fad5][fad6][fad7][fad8]concat=n=9:v=1:a=0,format=yuv420p[tit]; \ [9:v][tit]overlay=0:0:enable='between(t,0,11.1)'[v]; \ [v]ass=a.ass[outv] \ -map [outv] -map 9:a \ -c libx264 -preset slow -profile:v high -crf 19 \ -strict -2 -c:a aac -b:a 192k \ -f mov -y final.mov It is running at 15 fps right now (which is a bit faster then the previous version without fadeouts/ins). Regards, Tomas ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Inserting Seekable Offsets in m4a Audio File
Budgie ajebay at errichel.co.uk writes: therefore the seek mechanism of the player I am using does not work. Does seeking in the original file works with ffplay? (Does it work with -vn?) If yes, you should probably write to the author of the player you are using. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS
On 07/25/2015 01:50 AM, Peter Rabbitson wrote: Hello! I have a Logitech C920 affected by a know-yet-wontfix kernel uvc-video bug[1]. Given That I need a relatively recent kernel and it looks like the problematic patch in 3.17+ will not be reverted, I am hoping that ffmpeg can somehow help me with a workaround. For the sake of archives - there is apparently no way to do this via ffmpeg without recoding. Back to running an old kernel for now :/ ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)
On 25/07/15 16:21, Carl Eugen Hoyos wrote: MrNice wxcvbn2006 at iol.ie writes: Input #0, pulse, from 'alsa_input.pci-_00_14.2.analog-stereo': Duration: N/A, start: 1437724175.042321 Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1349.084272 This is a major issue, you may try options like the following that may fix it: -ts abs -ts mono2abs -wallclock 0 (And it is of course possible that this issue disappears with alsa, I don't know...) Carl Eugen Really I have no luck: For months I try to find fix for ffmpeg with alsa, as I got statics in the audio. Ubuntu, Ubuntu studio, Mint, Centos, Stella, Fedora, have the same issue (New OS install on a spare HD for each of them). This month, I found out that with pulse, audio is good. I was happy. Now I have an error with Duration... I tried -ts abs then -ts mono2abs, (wallclock is the same as abs) Duration: N/A, start: 1437900701.356327 Duration: N/A, start: 1437900702.504357 ... Cliping frame in rate conversion by 0.08 Cliping frame in rate conversion by 0.199486 ... Past duration 0.600685 too large I even tried -force_key_frames 00:00:00.000 (found in another forum), same issue. Same issue with alsa (+ statics) So, I am a bit hopeless, and it's raining again outside. :-( I am sorry, I don't want to take advantage of your kindness, Carl, Moritz, but I'll need your help again. So, what do you want I do? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Cropping small portion of input video while rescaling
Carl Eugen Hoyos writes: This should be -framerate 24 Is this because I'm using an image sequence? I don't see much info re -framerate in the ffmpeg documentation. What's the main difference between -framerate and -r? -r 24 Remove this one unless there is a (specific) reason. Do you mean that I don't need to specify the framerate of the ouput as I've declared it for the input? Would this command be ok? ffmpeg -start_number 867116 -framerate 24 -i /Volumes/Stardom/glitch\ tests/untitled\ folder/%06d.dpx -vf scale=720:576, crop=in_w:in_h-32 -c:v v210 /Volumes/Stardom/glitch\ tests/untitled\ folder/ffmpegv210reseiz24cro32pxcrope.mov Thanks for your help, Carl. I've tried to fix my quoting (manually). -- This email has been scanned for spam and malware by The Email Laundry. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Copy-capturing h264 input while force-rewriting the PTS
Peter Rabbitson rabbit+list at rabbit.us writes: I have a Logitech C920 affected by a know-yet-wontfix kernel uvc-video bug[1]. Given That I need a relatively recent kernel and it looks like the problematic patch in 3.17+ will not be reverted, I am hoping that ffmpeg can somehow help me with a workaround. For the sake of archives - there is apparently no way to do this via ffmpeg without recoding. What did you test? (It is supposed to work afaict.) Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] [prores] Why a little color difference by converting from ProRes 422 to MPEG-2
Hi, I get a .mov file and its video format is ProRes 422, 24 fps, 1920x1080, BT.709. Using ffmpeg to convert it to MPEG-2: ffmpeg -i my.mov -c:v mpeg2video -b:v 30M -pix_fmt yuv420p my.m2v I compared them by previewing my.mov and my.m2v in Edius and I found there is a little color difference: my.mov seems to be a small little brighter than my.m2v and the color in my.m2v seems to be a little more saturate. I used ffmpeg -i input -c:v rawvideo -pix_fmt yuv420p output in yuv to check the yuv ouput of both mov/m2v files. I am sured that the yuv output of both are almost the same. Why is a little color diffence between the two files? Thanks for help! linxsy ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] How to capture an RTMP stream
Deron deron at pagestream.org writes: I would have to get ffmpeg to work to begin with to test that. Should I try ffmpeg without librtmp? That would be a good idea imo. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Inserting Seekable Offsets in m4a Audio File
Budgie ajebay at errichel.co.uk writes: Does seeking in the original file works with ffplay? I cannot answer your question because I do not know how to try seeking from a console. (I don't understand what you are saying here.) Did you try playing your input file with ffplay? Does it play? Did you try to seek? Did you try to wildly click into the window that opened? (Did a window open?) Did you try to press all buttons on your keyboard that might make sense when trying to seek? I am assuming here that you are using a desktop system that allows ffplay to open a window. If this is not the case, you can try to seek with ffmpeg: $ ffmpeg -ss 10 -i input out.wav Please fix your quoting / please trim your quotes, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] [prores] Why a little color difference by converting from ProRes 422 to MPEG-2
linxs linxsy at gmail.com writes: -color_primaries 1 Is this really a valid option? (I thought it is not.) Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] [prores] Why a little color difference by converting from ProRes 422 to MPEG-2
In Sequence display extension of MPEG-2, color_primaries =1 means ITU 709, 5 means ITU 470(seems to be ITU 601). I have tried color_primaries =1 and color_primaries =5 and it did work to change the bit in mpeg-2 bitstream. 2015-07-27 8:04 GMT+08:00 Carl Eugen Hoyos ceho...@ag.or.at: linxs linxsy at gmail.com writes: -color_primaries 1 Is this really a valid option? (I thought it is not.) Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Inserting Seekable Offsets in m4a Audio File
On 26/07/15 17:56, Carl Eugen Hoyos wrote: Budgie ajebay at errichel.co.uk writes: therefore the seek mechanism of the player I am using does not work. Does seeking in the original file works with ffplay? (Does it work with -vn?) If yes, you should probably write to the author of the player you are using. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user Hi Carl, Many thanks for the reply. I cannot answer your question because I do not know how to try seeking from a console. Using smplayer the thumbnail appears on the screen and the progress button moves over time. I can slide the progress button and this advances through the file. I have already taken this problem up with the device manufacturer, Linn. Having sent them a sample of a file which has this problem this was their reply:- Thank you for providing us with a test file to investigate this issue. AAC files store data about the media stream they contain within their outer MPEG4 container. Seekable AAC files will also provide a collection of offsets allowing an AAC decoder to jump to a variety of points in the media stream, enabling seeking. The file you provided us with appears to contain only 1 offset: the offset of the start of the audio track within the file (after all the metadata). Therefore, there are no further offsets that can allow our AAC decoder to safely move to another point within the stream. As a solution to this, we would recommend using a ripper (e.g. dbpoweramp) to transcode the track to another format for use with the DS. I had assumed the advice they gave was correct and that ffmpeg would be the choice if I had to remux. I do not think transcoding is necessary. Grateful for your views on Linn's advice and if there is any more I can do. Regards, Budge ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] [prores] Why a little color difference by converting from ProRes 422 to MPEG-2
This is the command and its log: F:\testhqmpd:\mytools\ffmpeg -loglevel debug -i proress_hq.mov -c:v mpeg2video -seq_disp_ext 1 -b:v 50M -pix_fmt yuv420p -colorspace bt709 -color_primaries 1 -color_trc 1 hq_mp2_dispext.m2v ffmpeg version N-72939-g5b0f55a Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e nable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable- libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena ble-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable- libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-lib vo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-li bwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --e nable-libxvid --enable-lzma --enable-decklink --enable-zlib libavutil 54. 27.100 / 54. 27.100 libavcodec 56. 41.100 / 56. 41.100 libavformat56. 36.100 / 56. 36.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 17.100 / 5. 17.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.100 / 1. 2.100 libpostproc53. 3.100 / 53. 3.100 Splitting the commandline. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Reading option '-i' ... matched as input file with argument 'proress_hq.mov'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'mpeg 2video'. Reading option '-seq_disp_ext' ... matched as AVOption 'seq_disp_ext' with argum ent '1'. Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v) ) with argument '50M'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) wit h argument 'yuv420p'. Reading option '-colorspace' ... matched as AVOption 'colorspace' with argument 'bt709'. Reading option '-color_primaries' ... matched as AVOption 'color_primaries' with argument '1'. Reading option '-color_trc' ... matched as AVOption 'color_trc' with argument '1 '. Reading option 'hq_mp2_dispext.m2v' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument debug. Successfully parsed a group of options. Parsing a group of options: input file proress_hq.mov. Successfully parsed a group of options. Opening an input file: proress_hq.mov. [mov,mp4,m4a,3gp,3g2,mj2 @ 00612880] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 00612880] Before avformat_find_stream_info() pos: 942 080 bytes read:83968 seeks:1 [mov,mp4,m4a,3gp,3g2,mj2 @ 00612880] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 00612880] After avformat_find_stream_info() pos: 9173 60 bytes read:993136 seeks:2 frames:1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'proress_hq.mov': Metadata: creation_time : 2015-07-23 06:40:56 timecode: 00:00:14:20 Duration: 00:00:00.04, start: 0.00, bitrate: 180877 kb/s Stream #0:0(eng), 1, 1/24: Video: prores, 1 reference frame (apch / 0x686370 61), yuv422p10le(bt709), 1920x1080, 1/24, 174560 kb/s, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 24 tbn, 24 tbc (default) Metadata: creation_time : 2015-07-23 06:40:56 handler_name: Apple Alias Data Handler encoder : Apple ProRes 422 (HQ) Stream #0:1(eng), 0, 1/24: Data: none (tmcd / 0x64636D74), 1/24, 0 kb/s (def ault) Metadata: creation_time : 2015-07-23 06:40:56 handler_name: Apple Alias Data Handler reel_name : Unnamed timecode: 00:00:14:20 Successfully opened the file. Parsing a group of options: output file hq_mp2_dispext.m2v. Applying option c:v (codec name) with argument mpeg2video. Applying option b:v (video bitrate (please use -b:v)) with argument 50M. Applying option pix_fmt (set pixel format) with argument yuv420p. Successfully parsed a group of options. Opening an output file: hq_mp2_dispext.m2v. File 'hq_mp2_dispext.m2v' already exists. Overwrite ? [y/N] y Successfully opened the file. detected 4 logical cores [graph 0 input from stream 0:0 @ 005f0d20] Setting 'video_size' to value '1920x1 080' [graph 0 input from stream 0:0 @ 005f0d20] Setting 'pix_fmt' to value '74' [graph 0 input from stream 0:0 @ 005f0d20] Setting 'time_base' to value '1/24' [graph 0 input from stream 0:0 @ 005f0d20] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 005f0d20] Setting 'sws_param' to value 'flags=2 ' [graph 0 input from stream 0:0 @ 005f0d20] Setting 'frame_rate' to value '24/1' [graph 0 input from stream 0:0 @ 005f0d20]